@lmzhen/dsh-evolution-state-json 0.3.15 → 0.3.16

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -25
  2. package/package.json +5 -5
package/lib/index.js CHANGED
@@ -17,31 +17,7 @@ async function transactIo(io, path, task) {
17
17
  if (next === null) await io.remove(path);
18
18
  else await io.writeText(path, next);
19
19
  }
20
- //#endregion
21
- //#region ../evolution-core/src/prompts.ts
22
- /**
23
- * Review and curation prompts adapted from Hermes Agent
24
- * `agent/background_review.py`, `agent/curator.py`, and
25
- * `agent/learn_prompt.py`, with tool names translated to the DSH-native
26
- * catalog (`memory`, `skill_manage`, `skill`, `bash`, `str_replace_editor`).
27
- *
28
- * Alignment policy (2026-08-29): the OPERATIONAL steps and instructions the
29
- * model follows mirror the Hermes originals structurally (signal list,
30
- * preference order, support-file taxonomy, curator package integrity,
31
- * consolidated/pruned reporting block). Tool and platform differences are
32
- * DSH-adapted (native tool names, pinned-within-review semantics, this
33
- * platform's index cap), and DSH-only additions are marked as such.
34
- *
35
- * Every prompt is pinned in a versioned bundle. Review workers verify the
36
- * bundle digest before spending a model call, so a partially-patched
37
- * deployment fails closed instead of silently running a truncated prompt.
38
- */
39
- /**
40
- * Prompt bundle identity. Bump both id and version whenever a prompt's text
41
- * changes semantically: the bundle digest is the fail-closed signal for
42
- * review workers, so a stale id across deployments must be distinguishable.
43
- */
44
- const PROMPT_BUNDLE_ID = "dsh-evolution@13";
20
+ const PROMPT_BUNDLE_ID = `dsh-evolution@13`;
45
21
  const MEMORY_REVIEW_PROMPT = `[Auto-review — Memory]
46
22
  Review the conversation above and consider saving to memory if appropriate.
47
23
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-state-json",
3
3
  "description": "JSON-file evolution state provider over the IO seam (community build)",
4
- "version": "0.3.15",
4
+ "version": "0.3.16",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -37,12 +37,12 @@
37
37
  "peerDependencies": {
38
38
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
39
39
  "@deepseek-ai/cordis": "^4.0.1",
40
- "@lmzhen/dsh-evolution-io": "^0.3.15",
41
- "@lmzhen/dsh-evolution-state-storage": "^0.3.15"
40
+ "@lmzhen/dsh-evolution-io": "^0.3.16",
41
+ "@lmzhen/dsh-evolution-state-storage": "^0.3.16"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
45
- "@lmzhen/dsh-evolution-io": "^0.3.15",
46
- "@lmzhen/dsh-evolution-state-storage": "^0.3.15"
45
+ "@lmzhen/dsh-evolution-io": "^0.3.16",
46
+ "@lmzhen/dsh-evolution-state-storage": "^0.3.16"
47
47
  }
48
48
  }