@lmzhen/dsh-evolution-host 0.1.0-rc.1

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/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # @deepseek-ai/dsh-evolution-host
2
+
3
+ Host-plane self-evolution infrastructure bundle for DeepSeek Harness
4
+
5
+
6
+ ## Model Experience
7
+
8
+ ### Indirect model surface
9
+
10
+ #### What the model sees
11
+
12
+ `@deepseek-ai/dsh-evolution-host` registers no direct prompt or tool schema itself. Model-visible effects are owned by the packages that consume this service.
13
+
14
+ #### Token effect
15
+
16
+ Zero direct token effect from this package; consumers add any model-visible tokens.
17
+
18
+ #### KV Cache effect
19
+
20
+ Independent of request-prefix construction. This package does not alter the assembled prompt or tool list.
21
+
22
+ ## Known Limitations and Deferred Work
23
+
24
+
25
+ - - Host-only by design. It provides no model-facing tools; pair it with the Evolution agent preset to expose `memory`/`skill_manage`.
26
+
@@ -0,0 +1,74 @@
1
+ # Host-plane evolution bundle.
2
+ #
3
+ # This layer owns the shared self-evolution INFRASTRUCTURE: registries,
4
+ # providers, control plane, background review/curator, and observability.
5
+ # It deliberately registers NO model-facing tools. Model tools are the
6
+ # agent-preset layer (see ../evolution-agent/agent.cordis.yml), so a profile
7
+ # can run evolution automation without exposing `memory`/`skill_manage` to
8
+ # every session.
9
+ - insert:
10
+ # ── control plane ───────────────────────────────────────────────────────
11
+ - id: evolution-policy
12
+ name: '@lmzhen/dsh-evolution-policy'
13
+
14
+ # ── IO seam: one registry, one node:fs provider ─────────────────────────
15
+ - id: evolution-io
16
+ name: '@lmzhen/dsh-evolution-io'
17
+ - id: evolution-io-node
18
+ name: '@lmzhen/dsh-evolution-io-node'
19
+
20
+ # ── durable state: storage-domain KV first, portable JSON fallback ──────
21
+ - id: evolution-state-storage
22
+ name: '@lmzhen/dsh-evolution-state-storage'
23
+ - id: evolution-state-domain
24
+ name: '@lmzhen/dsh-evolution-state-domain'
25
+ # The storage-domain facility is host-plane. On hosts that do not mount
26
+ # it, keep this row dormant so the JSON provider remains the active
27
+ # state backend instead of turning the whole tree into a pending entry.
28
+ disabled: !!js ctx.get('storageDomain') === undefined
29
+ - id: evolution-state-json
30
+ name: '@lmzhen/dsh-evolution-state-json'
31
+ - id: evolution-state
32
+ name: '@lmzhen/dsh-evolution-state'
33
+
34
+ # ── memory seam: registry and provider, no model tool ───────────────────
35
+ - id: memory
36
+ name: '@lmzhen/dsh-memory'
37
+ - id: memory-files
38
+ name: '@lmzhen/dsh-memory-files'
39
+
40
+ # ── skill telemetry (skill catalog/writer live in agent presets) ────────
41
+ - id: skill-usage
42
+ name: '@lmzhen/dsh-skill-usage'
43
+
44
+ # ── write admission: staged approval (off by default) + threat guard ────
45
+ - id: evolution-approval
46
+ name: '@lmzhen/dsh-evolution-approval'
47
+ config:
48
+ enabled: false
49
+ stageForeground: true
50
+ - id: evolution-capability
51
+ name: '@lmzhen/dsh-evolution-capability'
52
+ - id: evolution-threat
53
+ name: '@lmzhen/dsh-evolution-threat'
54
+
55
+ # ── review / curator / observability / human controls ───────────────────
56
+ - id: evolution-review
57
+ name: '@lmzhen/dsh-evolution-review'
58
+ config:
59
+ # Anchored Standard hides the plain `skill` tool behind discovery
60
+ # tools; allow all three so review subagents can still find and load
61
+ # skills under that preset family.
62
+ reviewToolAllow: [skill, skill_search, skill_load]
63
+ - id: evolution-curator
64
+ name: '@lmzhen/dsh-evolution-curator'
65
+ - id: evolution-commands
66
+ name: '@lmzhen/dsh-evolution-commands'
67
+ - id: evolution-activity
68
+ name: '@lmzhen/dsh-evolution-activity'
69
+ - id: evolution-feedback
70
+ name: '@lmzhen/dsh-evolution-feedback'
71
+ - id: evolution-learning-graph
72
+ name: '@lmzhen/dsh-evolution-learning-graph'
73
+ - id: evolution-replay
74
+ name: '@lmzhen/dsh-evolution-replay'
package/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ //#region lib/types/invariant.js
2
+ const PACKAGE_NAME = "@deepseek-ai/dsh-evolution-host";
3
+ const name = "evolution-host-invariant";
4
+ const inject = ["invariants"];
5
+ const install = () => {};
6
+ const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
7
+ //#endregion
8
+ export { apply, inject, name };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @deepseek-ai/dsh-evolution-host — composition package.
3
+ * The package's substance is its YAML composition files declared through the
4
+ * package manifest; this module carries no runtime API.
5
+ * @module @deepseek-ai/dsh-evolution-host
6
+ */
7
+ export {};
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,5 @@
1
+ import type { Context } from '@deepseek-ai/cordis';
2
+ export declare const name = "evolution-host-invariant";
3
+ export declare const inject: string[];
4
+ export declare const apply: (ctx: Context) => Promise<() => void>;
5
+ //# sourceMappingURL=invariant.d.ts.map
package/package.json ADDED
@@ -0,0 +1,77 @@
1
+ {
2
+ "name": "@lmzhen/dsh-evolution-host",
3
+ "description": "Host-plane self-evolution infrastructure bundle for DeepSeek Harness (community build)",
4
+ "version": "0.1.0-rc.1",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/lmzhen/dsh-evolution.git",
11
+ "directory": "packages/dsh-evolution-host"
12
+ },
13
+ "type": "module",
14
+ "files": [
15
+ "cordis.patch.yml",
16
+ "package.json",
17
+ "lib/invariant.js",
18
+ "lib/types/invariant.d.ts",
19
+ "lib/index.js",
20
+ "lib/types/index.d.ts"
21
+ ],
22
+ "license": "MIT",
23
+ "dsh": {
24
+ "bundle": {
25
+ "patch": "./cordis.patch.yml"
26
+ }
27
+ },
28
+ "dependencies": {
29
+ "@lmzhen/dsh-evolution-policy": "^0.1.0-rc.1",
30
+ "@lmzhen/dsh-evolution-io": "^0.1.0-rc.1",
31
+ "@lmzhen/dsh-evolution-io-node": "^0.1.0-rc.1",
32
+ "@lmzhen/dsh-evolution-state-storage": "^0.1.0-rc.1",
33
+ "@lmzhen/dsh-evolution-state-domain": "^0.1.0-rc.1",
34
+ "@lmzhen/dsh-evolution-state-json": "^0.1.0-rc.1",
35
+ "@lmzhen/dsh-evolution-state": "^0.1.0-rc.1",
36
+ "@lmzhen/dsh-memory": "^0.1.0-rc.1",
37
+ "@lmzhen/dsh-memory-files": "^0.1.0-rc.1",
38
+ "@lmzhen/dsh-skill-usage": "^0.1.0-rc.1",
39
+ "@lmzhen/dsh-evolution-approval": "^0.1.0-rc.1",
40
+ "@lmzhen/dsh-evolution-threat": "^0.1.0-rc.1",
41
+ "@lmzhen/dsh-evolution-review": "^0.1.0-rc.1",
42
+ "@lmzhen/dsh-evolution-curator": "^0.1.0-rc.1",
43
+ "@lmzhen/dsh-evolution-commands": "^0.1.0-rc.1",
44
+ "@lmzhen/dsh-evolution-activity": "^0.1.0-rc.1",
45
+ "@lmzhen/dsh-evolution-feedback": "^0.1.0-rc.1",
46
+ "@lmzhen/dsh-evolution-learning-graph": "^0.1.0-rc.1",
47
+ "@lmzhen/dsh-evolution-replay": "^0.1.0-rc.1",
48
+ "@lmzhen/dsh-evolution-capability": "^0.1.0-rc.1"
49
+ },
50
+ "devDependencies": {
51
+ "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.0-rc.6",
52
+ "@deepseek-ai/dsh-skill": "^0.1.0-rc.6",
53
+ "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
54
+ "@deepseek-ai/cordis": "^4.0.1",
55
+ "@lmzhen/dsh-tool-memory": "^0.1.0-rc.1",
56
+ "@lmzhen/dsh-tool-skill-manage": "^0.1.0-rc.1",
57
+ "@lmzhen/dsh-evolution-skill-catalog": "^0.1.0-rc.1"
58
+ },
59
+ "exports": {
60
+ "./invariant": {
61
+ "types": "./lib/types/invariant.d.ts",
62
+ "default": "./lib/invariant.js"
63
+ },
64
+ ".": {
65
+ "types": "./lib/types/index.d.ts",
66
+ "default": "./lib/index.js"
67
+ },
68
+ "./cordis.patch.yml": "./cordis.patch.yml",
69
+ "./package.json": "./package.json"
70
+ },
71
+ "peerDependencies": {
72
+ "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
73
+ "@deepseek-ai/cordis": "^4.0.1"
74
+ },
75
+ "main": "lib/index.js",
76
+ "types": "lib/types/index.d.ts"
77
+ }