@try-works/dsh-memory 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@try-works/dsh-memory",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Git-backed, workspace-scoped memory for the DeepSeek Harness (global layer + per-workspace layers)",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -38,7 +38,6 @@
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@deepseek-ai/cordis": "^4.0.1",
41
- "@deepseek-ai/schemastery": "^3.18.1",
42
41
  "@deepseek-ai/dsh-tools": "^0.2.0-rc.2",
43
42
  "@deepseek-ai/dsh-llm": "^0.2.0-rc.2"
44
43
  },
@@ -56,5 +55,8 @@
56
55
  },
57
56
  "engines": {
58
57
  "node": ">=24.0.0"
58
+ },
59
+ "dependencies": {
60
+ "@deepseek-ai/schemastery": "^3.18.4"
59
61
  }
60
62
  }
@@ -57,9 +57,16 @@ note((manifest.files ?? []).includes('src'), 'files[] must ship src/')
57
57
  note(existsSync(join(root, 'src', 'SYSTEM.template.md')), 'src/SYSTEM.template.md must exist (rendered into every store)')
58
58
 
59
59
  // Peers: a missing declaration means an unresolvable import in a clean profile.
60
- for (const peer of ['@deepseek-ai/cordis', '@deepseek-ai/schemastery', '@deepseek-ai/dsh-tools', '@deepseek-ai/dsh-llm']) {
60
+ for (const peer of ['@deepseek-ai/cordis', '@deepseek-ai/dsh-tools', '@deepseek-ai/dsh-llm']) {
61
61
  note(Object.hasOwn(manifest.peerDependencies ?? {}, peer), 'peerDependencies must declare ' + peer)
62
62
  }
63
+ // schemastery is the exception, and it is deliberate: .volatile() exists only from 3.18.4, and a
64
+ // PEER lets the profile supply 3.18.1, which throws at module load. As a dependency the version
65
+ // is ours to pin. Declaring it as a peer is what broke the first registry install.
66
+ note(!Object.hasOwn(manifest.peerDependencies ?? {}, '@deepseek-ai/schemastery'), 'schemastery must NOT be a peer dependency')
67
+ note(/^\^3\.18\.[4-9]/.test((manifest.dependencies ?? {})['@deepseek-ai/schemastery'] ?? ''), 'schemastery must be a dependency pinned at 3.18.4 or newer, for .volatile()')
68
+ {
69
+ }
63
70
 
64
71
  if (problems.length > 0) {
65
72
  console.error('dsh-memory package check FAILED:')