@lmzhen/dsh-evolution-preset 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 +26 -0
- package/cordis.patch.yml +78 -0
- package/cordis.yml +83 -0
- package/lib/index.js +1 -0
- package/lib/invariant.js +8 -0
- package/lib/types/index.d.ts +8 -0
- package/lib/types/invariant.d.ts +5 -0
- package/package.json +79 -0
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# @deepseek-ai/dsh-evolution-preset
|
|
2
|
+
|
|
3
|
+
Compatibility one-click bundle for the dsh-evolution plugin family
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Model Experience
|
|
7
|
+
|
|
8
|
+
### Indirect model surface
|
|
9
|
+
|
|
10
|
+
#### What the model sees
|
|
11
|
+
|
|
12
|
+
`@deepseek-ai/dsh-evolution-preset` 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
|
+
- - Compatibility one-click bundle exposes model tools profile-wide. Prefer the layered host/agent install for stricter session control.
|
|
26
|
+
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Recommended native dsh-evolution composition (bundle patch form).
|
|
2
|
+
#
|
|
3
|
+
# This file is a DSH bundle PATCH: it inserts the evolution rows into the
|
|
4
|
+
# profile's empty root composition and therefore uses the loader's
|
|
5
|
+
# `- insert:` patch vocabulary, not the top-level entry list of cordis.yml.
|
|
6
|
+
#
|
|
7
|
+
# The storage stack (`storage`, `storage-json`, `storage-domain`) is
|
|
8
|
+
# HOST-plane in DSH, exactly like session persistence and the native approval
|
|
9
|
+
# stack. A preset must not own it. `evolution-state-domain` below joins the
|
|
10
|
+
# host's storage-domain facility when present; `evolution-state-json` remains
|
|
11
|
+
# the portable fallback and audit provider.
|
|
12
|
+
- insert:
|
|
13
|
+
# ── control plane ───────────────────────────────────────────────────────
|
|
14
|
+
- id: evolution-policy
|
|
15
|
+
name: '@lmzhen/dsh-evolution-policy'
|
|
16
|
+
|
|
17
|
+
# ── IO seam: one registry, one node:fs provider ─────────────────────────
|
|
18
|
+
- id: evolution-io
|
|
19
|
+
name: '@lmzhen/dsh-evolution-io'
|
|
20
|
+
- id: evolution-io-node
|
|
21
|
+
name: '@lmzhen/dsh-evolution-io-node'
|
|
22
|
+
|
|
23
|
+
# ── durable state: storage-domain KV first, portable JSON fallback ──────
|
|
24
|
+
- id: evolution-state-storage
|
|
25
|
+
name: '@lmzhen/dsh-evolution-state-storage'
|
|
26
|
+
- id: evolution-state-domain
|
|
27
|
+
name: '@lmzhen/dsh-evolution-state-domain'
|
|
28
|
+
# The storage-domain facility is host-plane. On hosts that do not mount
|
|
29
|
+
# it, keep this row dormant so the JSON provider remains the active
|
|
30
|
+
# state backend instead of turning the whole tree into a pending entry.
|
|
31
|
+
disabled: !!js ctx.get('storageDomain') === undefined
|
|
32
|
+
- id: evolution-state-json
|
|
33
|
+
name: '@lmzhen/dsh-evolution-state-json'
|
|
34
|
+
- id: evolution-state
|
|
35
|
+
name: '@lmzhen/dsh-evolution-state'
|
|
36
|
+
|
|
37
|
+
# ── memory: registry, provider, model-facing tool ───────────────────────
|
|
38
|
+
- id: memory
|
|
39
|
+
name: '@lmzhen/dsh-memory'
|
|
40
|
+
- id: memory-files
|
|
41
|
+
name: '@lmzhen/dsh-memory-files'
|
|
42
|
+
- id: tool-memory
|
|
43
|
+
name: '@lmzhen/dsh-tool-memory'
|
|
44
|
+
|
|
45
|
+
# ── skills: usage telemetry, model-facing management tool ───────────────
|
|
46
|
+
- id: skill-usage
|
|
47
|
+
name: '@lmzhen/dsh-skill-usage'
|
|
48
|
+
- id: tool-skill-manage
|
|
49
|
+
name: '@lmzhen/dsh-tool-skill-manage'
|
|
50
|
+
- id: evolution-skill-catalog
|
|
51
|
+
name: '@lmzhen/dsh-evolution-skill-catalog'
|
|
52
|
+
|
|
53
|
+
# ── write admission: staged approval (off by default) + threat guard ────
|
|
54
|
+
- id: evolution-approval
|
|
55
|
+
name: '@lmzhen/dsh-evolution-approval'
|
|
56
|
+
config:
|
|
57
|
+
enabled: false
|
|
58
|
+
stageForeground: true
|
|
59
|
+
- id: evolution-capability
|
|
60
|
+
name: '@lmzhen/dsh-evolution-capability'
|
|
61
|
+
- id: evolution-threat
|
|
62
|
+
name: '@lmzhen/dsh-evolution-threat'
|
|
63
|
+
|
|
64
|
+
# ── review / curator / observability / human controls ───────────────────
|
|
65
|
+
- id: evolution-review
|
|
66
|
+
name: '@lmzhen/dsh-evolution-review'
|
|
67
|
+
- id: evolution-curator
|
|
68
|
+
name: '@lmzhen/dsh-evolution-curator'
|
|
69
|
+
- id: evolution-commands
|
|
70
|
+
name: '@lmzhen/dsh-evolution-commands'
|
|
71
|
+
- id: evolution-activity
|
|
72
|
+
name: '@lmzhen/dsh-evolution-activity'
|
|
73
|
+
- id: evolution-feedback
|
|
74
|
+
name: '@lmzhen/dsh-evolution-feedback'
|
|
75
|
+
- id: evolution-learning-graph
|
|
76
|
+
name: '@lmzhen/dsh-evolution-learning-graph'
|
|
77
|
+
- id: evolution-replay
|
|
78
|
+
name: '@lmzhen/dsh-evolution-replay'
|
package/cordis.yml
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Recommended composition for the native dsh-evolution family.
|
|
2
|
+
#
|
|
3
|
+
# Every medium dependency is behind a provider seam:
|
|
4
|
+
# ctx.evolutionIo -> node:fs provider (evolution-io-node)
|
|
5
|
+
# ctx.evolutionStateStorage -> storage-domain KV provider, with a JSON
|
|
6
|
+
# provider mounted as fallback/portable audit
|
|
7
|
+
#
|
|
8
|
+
# The legacy `@lmzhen/dsh-evolution` facade is NOT mounted here. It stays
|
|
9
|
+
# available as a one-row compatibility plugin; this composition uses the
|
|
10
|
+
# smaller native packages instead.
|
|
11
|
+
|
|
12
|
+
# ── control plane (immutable policy, deterministic plan validation) ────────
|
|
13
|
+
- id: evolution-policy
|
|
14
|
+
name: '@lmzhen/dsh-evolution-policy'
|
|
15
|
+
|
|
16
|
+
# ── IO seam: one registry, one node:fs provider ─────────────────────────────
|
|
17
|
+
- id: evolution-io
|
|
18
|
+
name: '@lmzhen/dsh-evolution-io'
|
|
19
|
+
- id: evolution-io-node
|
|
20
|
+
name: '@lmzhen/dsh-evolution-io-node'
|
|
21
|
+
|
|
22
|
+
# ── durable state: DSH storage-domain KV is the primary provider ────────────
|
|
23
|
+
- id: storage
|
|
24
|
+
name: '@deepseek-ai/dsh-storage'
|
|
25
|
+
- id: storage-json
|
|
26
|
+
name: '@deepseek-ai/dsh-storage-json'
|
|
27
|
+
config:
|
|
28
|
+
root: !!js dshHomePath('evolution', 'storage')
|
|
29
|
+
- id: storage-domain
|
|
30
|
+
name: '@deepseek-ai/dsh-storage-domain'
|
|
31
|
+
config:
|
|
32
|
+
backend: json
|
|
33
|
+
- id: evolution-state-storage
|
|
34
|
+
name: '@lmzhen/dsh-evolution-state-storage'
|
|
35
|
+
- id: evolution-state-domain
|
|
36
|
+
name: '@lmzhen/dsh-evolution-state-domain'
|
|
37
|
+
- id: evolution-state-json
|
|
38
|
+
name: '@lmzhen/dsh-evolution-state-json'
|
|
39
|
+
- id: evolution-state
|
|
40
|
+
name: '@lmzhen/dsh-evolution-state'
|
|
41
|
+
|
|
42
|
+
# ── memory: registry, provider, model-facing tool ───────────────────────────
|
|
43
|
+
- id: memory
|
|
44
|
+
name: '@lmzhen/dsh-memory'
|
|
45
|
+
- id: memory-files
|
|
46
|
+
name: '@lmzhen/dsh-memory-files'
|
|
47
|
+
- id: tool-memory
|
|
48
|
+
name: '@lmzhen/dsh-tool-memory'
|
|
49
|
+
|
|
50
|
+
# ── skills: usage telemetry, model-facing management tool ───────────────────
|
|
51
|
+
- id: skill-usage
|
|
52
|
+
name: '@lmzhen/dsh-skill-usage'
|
|
53
|
+
- id: tool-skill-manage
|
|
54
|
+
name: '@lmzhen/dsh-tool-skill-manage'
|
|
55
|
+
- id: evolution-skill-catalog
|
|
56
|
+
name: '@lmzhen/dsh-evolution-skill-catalog'
|
|
57
|
+
|
|
58
|
+
# ── write admission: staged approval (off by default) + threat guard ────────
|
|
59
|
+
- id: evolution-approval
|
|
60
|
+
name: '@lmzhen/dsh-evolution-approval'
|
|
61
|
+
config:
|
|
62
|
+
enabled: false
|
|
63
|
+
stageForeground: true
|
|
64
|
+
- id: evolution-capability
|
|
65
|
+
name: '@lmzhen/dsh-evolution-capability'
|
|
66
|
+
- id: evolution-threat
|
|
67
|
+
name: '@lmzhen/dsh-evolution-threat'
|
|
68
|
+
|
|
69
|
+
# ── review / curator / observability / human controls ───────────────────────
|
|
70
|
+
- id: evolution-review
|
|
71
|
+
name: '@lmzhen/dsh-evolution-review'
|
|
72
|
+
- id: evolution-curator
|
|
73
|
+
name: '@lmzhen/dsh-evolution-curator'
|
|
74
|
+
- id: evolution-commands
|
|
75
|
+
name: '@lmzhen/dsh-evolution-commands'
|
|
76
|
+
- id: evolution-activity
|
|
77
|
+
name: '@lmzhen/dsh-evolution-activity'
|
|
78
|
+
- id: evolution-feedback
|
|
79
|
+
name: '@lmzhen/dsh-evolution-feedback'
|
|
80
|
+
- id: evolution-learning-graph
|
|
81
|
+
name: '@lmzhen/dsh-evolution-learning-graph'
|
|
82
|
+
- id: evolution-replay
|
|
83
|
+
name: '@lmzhen/dsh-evolution-replay'
|
package/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/invariant.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region lib/types/invariant.js
|
|
2
|
+
const PACKAGE_NAME = "@deepseek-ai/dsh-evolution-preset";
|
|
3
|
+
const name = "dsh-evolution-preset-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-preset — 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-preset
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lmzhen/dsh-evolution-preset",
|
|
3
|
+
"description": "Compatibility one-click bundle for the dsh-evolution plugin family (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-preset"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "lib/index.js",
|
|
15
|
+
"files": [
|
|
16
|
+
"cordis.yml",
|
|
17
|
+
"cordis.patch.yml",
|
|
18
|
+
"package.json",
|
|
19
|
+
"lib/invariant.js",
|
|
20
|
+
"lib/types/invariant.d.ts",
|
|
21
|
+
"lib/index.js",
|
|
22
|
+
"lib/types/index.d.ts"
|
|
23
|
+
],
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"dsh": {
|
|
26
|
+
"bundle": {
|
|
27
|
+
"patch": "./cordis.patch.yml"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@deepseek-ai/dsh-storage": "^0.1.0-rc.6",
|
|
32
|
+
"@deepseek-ai/dsh-storage-json": "^0.1.0-rc.6",
|
|
33
|
+
"@deepseek-ai/dsh-storage-domain": "^0.1.0-rc.6",
|
|
34
|
+
"@lmzhen/dsh-evolution-io": "^0.1.0-rc.1",
|
|
35
|
+
"@lmzhen/dsh-evolution-io-node": "^0.1.0-rc.1",
|
|
36
|
+
"@lmzhen/dsh-evolution-state-storage": "^0.1.0-rc.1",
|
|
37
|
+
"@lmzhen/dsh-evolution-state-domain": "^0.1.0-rc.1",
|
|
38
|
+
"@lmzhen/dsh-evolution-state-json": "^0.1.0-rc.1",
|
|
39
|
+
"@lmzhen/dsh-memory": "^0.1.0-rc.1",
|
|
40
|
+
"@lmzhen/dsh-memory-files": "^0.1.0-rc.1",
|
|
41
|
+
"@lmzhen/dsh-tool-memory": "^0.1.0-rc.1",
|
|
42
|
+
"@lmzhen/dsh-skill-usage": "^0.1.0-rc.1",
|
|
43
|
+
"@lmzhen/dsh-tool-skill-manage": "^0.1.0-rc.1",
|
|
44
|
+
"@lmzhen/dsh-evolution-policy": "^0.1.0-rc.1",
|
|
45
|
+
"@lmzhen/dsh-evolution-approval": "^0.1.0-rc.1",
|
|
46
|
+
"@lmzhen/dsh-evolution-threat": "^0.1.0-rc.1",
|
|
47
|
+
"@lmzhen/dsh-evolution-review": "^0.1.0-rc.1",
|
|
48
|
+
"@lmzhen/dsh-evolution-curator": "^0.1.0-rc.1",
|
|
49
|
+
"@lmzhen/dsh-evolution-commands": "^0.1.0-rc.1",
|
|
50
|
+
"@lmzhen/dsh-evolution-activity": "^0.1.0-rc.1",
|
|
51
|
+
"@lmzhen/dsh-evolution-feedback": "^0.1.0-rc.1",
|
|
52
|
+
"@lmzhen/dsh-evolution-learning-graph": "^0.1.0-rc.1",
|
|
53
|
+
"@lmzhen/dsh-evolution-replay": "^0.1.0-rc.1",
|
|
54
|
+
"@lmzhen/dsh-evolution-skill-catalog": "^0.1.0-rc.1",
|
|
55
|
+
"@lmzhen/dsh-evolution-capability": "^0.1.0-rc.1"
|
|
56
|
+
},
|
|
57
|
+
"exports": {
|
|
58
|
+
"./invariant": {
|
|
59
|
+
"types": "./lib/types/invariant.d.ts",
|
|
60
|
+
"default": "./lib/invariant.js"
|
|
61
|
+
},
|
|
62
|
+
".": {
|
|
63
|
+
"types": "./lib/types/index.d.ts",
|
|
64
|
+
"default": "./lib/index.js"
|
|
65
|
+
},
|
|
66
|
+
"./cordis.yml": "./cordis.yml",
|
|
67
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
68
|
+
"./package.json": "./package.json"
|
|
69
|
+
},
|
|
70
|
+
"peerDependencies": {
|
|
71
|
+
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
|
|
72
|
+
"@deepseek-ai/cordis": "^4.0.1"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
|
|
76
|
+
"@deepseek-ai/cordis": "^4.0.1"
|
|
77
|
+
},
|
|
78
|
+
"types": "lib/types/index.d.ts"
|
|
79
|
+
}
|