@try-works/dsh-memory 0.1.0 → 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/STATUS.md CHANGED
@@ -154,6 +154,24 @@ Kept because the pattern matters more than the list: every one of these was foun
154
154
  | A gate that proved nothing | it asserted guidance present only when a backfill is in the batch |
155
155
  | `memory_recover` returned invalid JSON | the harness rejected it; the tests called `execute()` directly and never checked the shape |
156
156
  | A test edit silently discarded | my own script re-read and overwrote the file before writing |
157
+ ## Published
158
+
159
+ **`@try-works/dsh-memory@0.1.0`** on npm. The unscoped name `dsh-memory` was already taken by an
160
+ unrelated DeepSeek Harness memory plugin, so the package publishes under the existing `@try-works`
161
+ scope.
162
+
163
+ What did NOT change, deliberately: the Cordis plugin name (`export const name = 'dsh-memory'`) and
164
+ the bundle row id (`id: dsh-memory`). Config is addressed by ROW ID, so an existing profile's
165
+ `memoryRoot` row survives the rename untouched. Only the package name and the module specifier in
166
+ `cordis.patch.yml` moved.
167
+
168
+ Verified after publishing: a clean install in a temp directory resolves 0.1.0, ships 49 files and
169
+ 42 src modules with no test directory, and the installed entry exports `name`, `inject`, `apply`,
170
+ `Config` and `hostExtras`.
171
+
172
+ Note for a first publish of any new name: npm creates a `0.0.0-stage` placeholder while the real
173
+ version is staged, so an immediate registry check 404s. It took about three minutes to appear.
174
+
157
175
  ## Layout
158
176
 
159
177
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@try-works/dsh-memory",
3
- "version": "0.1.0",
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",
@@ -37,10 +37,9 @@
37
37
  "check": "node scripts/check-package.mjs"
38
38
  },
39
39
  "peerDependencies": {
40
- "@deepseek-ai/cordis": "*",
41
- "@deepseek-ai/schemastery": "*",
42
- "@deepseek-ai/dsh-tools": "*",
43
- "@deepseek-ai/dsh-llm": "*"
40
+ "@deepseek-ai/cordis": "^4.0.1",
41
+ "@deepseek-ai/dsh-tools": "^0.2.0-rc.2",
42
+ "@deepseek-ai/dsh-llm": "^0.2.0-rc.2"
44
43
  },
45
44
  "dsh": {
46
45
  "bundle": {
@@ -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:')