@lmzhen/dsh-evolution-agent-preset 0.16.1 → 0.17.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 -19
- package/agent.cordis.yml +2 -2
- package/bases.json +20 -4
- package/package.json +5 -13
- package/preset.cordis.yml +0 -3
- package/preset.minimal.yml +0 -3
- package/preset.ptc.yml +0 -3
- package/preset.yml +0 -3
package/README.md
CHANGED
|
@@ -12,25 +12,32 @@ Agent preset exposing memory and skill evolution tools to a session
|
|
|
12
12
|
|
|
13
13
|
`agent.cordis.yml` here is a DELTA: the four evolution model-tool rows and nothing else.
|
|
14
14
|
The installed preset is GENERATED at install time by `packages/scripts/install-layered.mjs`
|
|
15
|
-
(agent / layered modes)
|
|
16
|
-
and writes the result
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
| `
|
|
23
|
-
|
|
24
|
-
| `
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
15
|
+
(agent / layered modes) or by `/evolution preset install`, which prepends the RUNTIME platform
|
|
16
|
+
composition the `--base` names and writes the result as ONE `- insert:` row in the target
|
|
17
|
+
profile's own patch layer (`<home>/profiles/<profile>/cordis.patch.yml`). No platform row is
|
|
18
|
+
vendored — the preset follows whichever platform the user actually has. 0.2.x removed the preset
|
|
19
|
+
DIRECTORY: a preset is an ordinary composition row (`packages/preset/agent-preset/src/index.ts`),
|
|
20
|
+
so no `.agent-presets/` tree is produced any more.
|
|
21
|
+
|
|
22
|
+
| `--base` | Platform base patch (read verbatim) | Preset id | Row id | Display copy |
|
|
23
|
+
|---|---|---|---|---|
|
|
24
|
+
| `standard` (default) | `presets/standard.patch.yml` | `evolution` | `preset-evolution` | `Evolution` |
|
|
25
|
+
| `ptc` | `presets/ptc.patch.yml` | `evolution-ptc` | `preset-evolution-ptc` | `Evolution PTC` |
|
|
26
|
+
| `cordis` (`requires: dynamicCordisRunner`) | `presets/cordis.patch.yml` | `evolution-cordis` | `preset-evolution-cordis` | `Evolution Cordis` |
|
|
27
|
+
| `minimal` (unsupported) | — | `evolution-minimal` | `preset-evolution-minimal` | `Evolution Minimal` |
|
|
28
|
+
|
|
29
|
+
The base patches are the platform's own shipped presets
|
|
30
|
+
(`packages/bundle/web-app/presets/<base>.patch.yml`); inside the desktop app they live in
|
|
31
|
+
`resources/app.asar`, so `DSH_AGENT_PRESET_ROOT` can point at a same-version copy.
|
|
32
|
+
|
|
33
|
+
There is no metadata FILE any more. A declarative row carries its own display copy, and the
|
|
34
|
+
platform renders an id it did not ship from the row itself
|
|
35
|
+
(`packages/preset/agent-preset-registry/src/display.ts`), so both install paths write `name`,
|
|
36
|
+
`description` and `order` into the row out of `bases.json` `display` — a variant without them
|
|
37
|
+
shows the bare id. The four former `preset*.yml` files were deleted with the directory
|
|
38
|
+
mechanism.
|
|
39
|
+
|
|
40
|
+
`bases.json` in this package is the single table behind every column above: the installer
|
|
34
41
|
(`AGENT_PRESET_BASES`) and the host command (`/evolution preset install --base <name>`) both
|
|
35
42
|
read THIS file, so a base cannot be half-added (a directory one consumer knows about and
|
|
36
43
|
another does not) and the two install paths cannot disagree. It also carries `default`. A base whose
|
package/agent.cordis.yml
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
# This file is the incremental part of the Evolution preset, NOT a full
|
|
4
4
|
# composition. `install-layered.mjs` (agent/layered modes; V6-52, 0.3.37 —
|
|
5
5
|
# oneclick installs the preset BUNDLE row instead of writing this file)
|
|
6
|
-
# generates the installed preset
|
|
7
|
-
#
|
|
6
|
+
# generates the installed preset as ONE `- insert:` row inside the target profile's own patch
|
|
7
|
+
# (`<home>/profiles/<profile>/cordis.patch.yml`; 0.2.x removed the preset directory)
|
|
8
8
|
# by concatenating the RUNTIME platform's `standard` preset composition with
|
|
9
9
|
# this delta (rc.53): the standard rows come from the dsh being installed
|
|
10
10
|
# against, so the preset follows whatever platform version the user actually
|
package/bases.json
CHANGED
|
@@ -4,17 +4,29 @@
|
|
|
4
4
|
{
|
|
5
5
|
"name": "standard",
|
|
6
6
|
"id": "evolution",
|
|
7
|
-
"
|
|
7
|
+
"display": {
|
|
8
|
+
"name": "Evolution",
|
|
9
|
+
"description": "Standard coding agent plus durable memory and skill evolution tools.",
|
|
10
|
+
"order": 10
|
|
11
|
+
}
|
|
8
12
|
},
|
|
9
13
|
{
|
|
10
14
|
"name": "ptc",
|
|
11
15
|
"id": "evolution-ptc",
|
|
12
|
-
"
|
|
16
|
+
"display": {
|
|
17
|
+
"name": "Evolution PTC",
|
|
18
|
+
"description": "Based on the platform ptc preset plus the Evolution family rows - durable memory and skill evolution tools, with run_code as the model's composition surface.",
|
|
19
|
+
"order": 11
|
|
20
|
+
}
|
|
13
21
|
},
|
|
14
22
|
{
|
|
15
23
|
"name": "cordis",
|
|
16
24
|
"id": "evolution-cordis",
|
|
17
|
-
"
|
|
25
|
+
"display": {
|
|
26
|
+
"name": "Evolution Cordis",
|
|
27
|
+
"description": "Based on the platform cordis preset plus the Evolution family rows - the self-modification toolset with durable memory and skill evolution. Needs a deployment that provides dynamicCordisRunner (the web-app bundle).",
|
|
28
|
+
"order": 12
|
|
29
|
+
},
|
|
18
30
|
"requires": {
|
|
19
31
|
"service": "dynamicCordisRunner"
|
|
20
32
|
}
|
|
@@ -22,7 +34,11 @@
|
|
|
22
34
|
{
|
|
23
35
|
"name": "minimal",
|
|
24
36
|
"id": "evolution-minimal",
|
|
25
|
-
"
|
|
37
|
+
"display": {
|
|
38
|
+
"name": "Evolution Minimal",
|
|
39
|
+
"description": "Registered but UNSUPPORTED - the platform minimal composition carries no tool-skill row, so the family skill surface has nothing to attach to.",
|
|
40
|
+
"order": 13
|
|
41
|
+
},
|
|
26
42
|
"unsupported": "the platform minimal composition is only persona + persistent-shell: it carries no tool-skill row, so the family skill surface (and the 60-char cap injection) has nothing to attach to"
|
|
27
43
|
}
|
|
28
44
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-agent-preset",
|
|
3
3
|
"description": "Agent preset exposing memory and skill evolution tools to a session (community build)",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.17.0-rc.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -14,20 +14,16 @@
|
|
|
14
14
|
"files": [
|
|
15
15
|
"agent.cordis.yml",
|
|
16
16
|
"bases.json",
|
|
17
|
-
"preset.yml",
|
|
18
|
-
"preset.ptc.yml",
|
|
19
|
-
"preset.cordis.yml",
|
|
20
|
-
"preset.minimal.yml",
|
|
21
17
|
"package.json",
|
|
22
18
|
"lib/*.js",
|
|
23
19
|
"lib/types/**/*.d.ts"
|
|
24
20
|
],
|
|
25
21
|
"license": "MIT",
|
|
26
22
|
"dependencies": {
|
|
27
|
-
"@deepseek-ai/dsh-tool-session-query": "^0.
|
|
28
|
-
"@lmzhen/dsh-tool-memory": "^0.
|
|
29
|
-
"@lmzhen/dsh-tool-skill-manage": "^0.
|
|
30
|
-
"@lmzhen/dsh-evolution-skill-catalog": "^0.
|
|
23
|
+
"@deepseek-ai/dsh-tool-session-query": "^0.2.0-rc.1",
|
|
24
|
+
"@lmzhen/dsh-tool-memory": "^0.17.0-rc.1",
|
|
25
|
+
"@lmzhen/dsh-tool-skill-manage": "^0.17.0-rc.1",
|
|
26
|
+
"@lmzhen/dsh-evolution-skill-catalog": "^0.17.0-rc.1"
|
|
31
27
|
},
|
|
32
28
|
"exports": {
|
|
33
29
|
".": {
|
|
@@ -36,10 +32,6 @@
|
|
|
36
32
|
},
|
|
37
33
|
"./agent.cordis.yml": "./agent.cordis.yml",
|
|
38
34
|
"./bases.json": "./bases.json",
|
|
39
|
-
"./preset.yml": "./preset.yml",
|
|
40
|
-
"./preset.ptc.yml": "./preset.ptc.yml",
|
|
41
|
-
"./preset.cordis.yml": "./preset.cordis.yml",
|
|
42
|
-
"./preset.minimal.yml": "./preset.minimal.yml",
|
|
43
35
|
"./package.json": "./package.json"
|
|
44
36
|
},
|
|
45
37
|
"main": "lib/index.js",
|
package/preset.cordis.yml
DELETED
package/preset.minimal.yml
DELETED
package/preset.ptc.yml
DELETED
package/preset.yml
DELETED