@sparkelf/dsh-patch-subagent-settings-presets 0.1.0-rc.10

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 DeepSeek
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,6 @@
1
+ # Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
2
+ # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
+ # after editing either side, bring the other along and re-record with:
4
+ # pnpm run verify-translation-pairing --write patches/npm/subagent-settings-presets/README.md
5
+ README.md: c8005840106527c8c61de91e7c86d1d289c5f1bc
6
+ README.zh.md: 920f203601455f1395909fc12d845f8a8a89c241
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # @sparkelf/dsh-patch-subagent-settings-presets
2
+
3
+ English | [中文](README.zh.md)
4
+
5
+ This data-only package routes the two built-in delegation rows in each official shipped Agent preset to `@sparkelf/dsh-plugin-subagent-settings`. The continuous row reads `subagent`; the one-shot fork row reads `subagent-fork`. Disabled Codex and Claude Code provider rows remain official and unchanged.
6
+
7
+ The target is the exact official source base `cd5ef8148158c3a752a658978873241fdf8e2bbc`. The Plus apply command verifies the base ancestry and payload before applying it. This package has no JavaScript entry, Cordis lifecycle, install script, or capability implementation.
8
+
9
+ Retire this package when official Agent presets expose a deployment overlay for shipped row replacement or ship equivalent settings-backed rows.
package/README.zh.md ADDED
@@ -0,0 +1,9 @@
1
+ # @sparkelf/dsh-patch-subagent-settings-presets
2
+
3
+ [English](README.md) | 中文
4
+
5
+ 该data-only package把每个official shipped Agent preset中的两条built-in delegation rows路由到`@sparkelf/dsh-plugin-subagent-settings`。continuous row读取`subagent`,one-shot fork row读取`subagent-fork`。disabled Codex与Claude Code provider rows保持official且不变。
6
+
7
+ target是exact official source base `cd5ef8148158c3a752a658978873241fdf8e2bbc`。Plus apply command在应用前验证base ancestry与payload。本package没有JavaScript entry、Cordis lifecycle、install script或capability implementation。
8
+
9
+ official Agent presets提供可替换shipped rows的deployment overlay,或直接发布等价settings-backed rows后,retire本package。
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "description": "Data-only exact official-source patch routing built-in shipped preset delegation rows to the Plus settings capability",
3
+ "dshPatch": {
4
+ "formatVersion": 1,
5
+ "variants": [
6
+ {
7
+ "dsh": ">=0.1.2-alpha.1",
8
+ "file": "./patches/subagent-settings-presets.patch",
9
+ "id": "subagent-settings-preset-routing",
10
+ "target": {
11
+ "baseRevision": "cd5ef8148158c3a752a658978873241fdf8e2bbc",
12
+ "kind": "dsh-source",
13
+ "paths": [
14
+ "packages/preset/agent-presets/presets/"
15
+ ]
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ "files": [
21
+ "patches/*.patch"
22
+ ],
23
+ "license": "MIT",
24
+ "name": "@sparkelf/dsh-patch-subagent-settings-presets",
25
+ "publishConfig": {
26
+ "access": "public"
27
+ },
28
+ "repository": {
29
+ "directory": "patches/npm/subagent-settings-presets",
30
+ "type": "git",
31
+ "url": "git+https://github.com/SparkElf/deepseek-harness-plus.git"
32
+ },
33
+ "type": "module",
34
+ "version": "0.1.0-rc.10"
35
+ }
@@ -0,0 +1,102 @@
1
+ diff --git a/packages/preset/agent-presets/presets/cordis/agent.cordis.yml b/packages/preset/agent-presets/presets/cordis/agent.cordis.yml
2
+ index 96cd7e6b09..8c2d176a33 100644
3
+ --- a/packages/preset/agent-presets/presets/cordis/agent.cordis.yml
4
+ +++ b/packages/preset/agent-presets/presets/cordis/agent.cordis.yml
5
+ @@ -172,23 +172,21 @@
6
+ name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
7
+
8
+ - id: tool-subagent
9
+ - name: '@deepseek-ai/dsh-tool-subagent'
10
+ + name: '@sparkelf/dsh-plugin-subagent-settings'
11
+ config:
12
+ provider: spawn
13
+ + settingsNamespace: subagent
14
+ toolName: subagent
15
+ - modelSelectionSettings: true
16
+ backgroundMode: continuable
17
+
18
+ - # Fork omits model selection so provider/model stay equal to the parent and
19
+ - # the inherited history remains eligible for KV Cache reuse. This preset
20
+ - # keeps fork continuable and accepts its child-scoped `report` additions invalidating
21
+ - # that prefix; issue #2124 tracks cache-preserving continuable fork.
22
+ + # One-shot fork preserves inherited history and reads its own settings namespace.
23
+ - id: tool-subagent-fork
24
+ - name: '@deepseek-ai/dsh-tool-subagent'
25
+ + name: '@sparkelf/dsh-plugin-subagent-settings'
26
+ config:
27
+ provider: fork
28
+ + settingsNamespace: subagent-fork
29
+ toolName: subagent_fork
30
+ - backgroundMode: continuable
31
+ + backgroundMode: one-shot
32
+
33
+ # Production dsh does not install these optional providers. Install the
34
+ # matching Bundle in this Profile and restart the Host, then copy this
35
+ diff --git a/packages/preset/agent-presets/presets/ptc/agent.cordis.yml b/packages/preset/agent-presets/presets/ptc/agent.cordis.yml
36
+ index 3c8406f907..65c4e48bea 100644
37
+ --- a/packages/preset/agent-presets/presets/ptc/agent.cordis.yml
38
+ +++ b/packages/preset/agent-presets/presets/ptc/agent.cordis.yml
39
+ @@ -185,23 +185,21 @@
40
+ name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
41
+
42
+ - id: tool-subagent
43
+ - name: '@deepseek-ai/dsh-tool-subagent'
44
+ + name: '@sparkelf/dsh-plugin-subagent-settings'
45
+ config:
46
+ provider: spawn
47
+ + settingsNamespace: subagent
48
+ toolName: subagent
49
+ - modelSelectionSettings: true
50
+ backgroundMode: continuable
51
+
52
+ - # Fork omits model selection so provider/model stay equal to the parent and
53
+ - # the inherited history remains eligible for KV Cache reuse. This preset
54
+ - # keeps fork continuable and accepts its child-scoped `report` additions invalidating
55
+ - # that prefix; issue #2124 tracks cache-preserving continuable fork.
56
+ + # One-shot fork preserves inherited history and reads its own settings namespace.
57
+ - id: tool-subagent-fork
58
+ - name: '@deepseek-ai/dsh-tool-subagent'
59
+ + name: '@sparkelf/dsh-plugin-subagent-settings'
60
+ config:
61
+ provider: fork
62
+ + settingsNamespace: subagent-fork
63
+ toolName: subagent_fork
64
+ - backgroundMode: continuable
65
+ + backgroundMode: one-shot
66
+
67
+ # Production dsh does not install these optional providers. Install the
68
+ # matching Bundle in this Profile and restart the Host, then copy this
69
+ diff --git a/packages/preset/agent-presets/presets/standard/agent.cordis.yml b/packages/preset/agent-presets/presets/standard/agent.cordis.yml
70
+ index 3916d6bf3e..2943d851c9 100644
71
+ --- a/packages/preset/agent-presets/presets/standard/agent.cordis.yml
72
+ +++ b/packages/preset/agent-presets/presets/standard/agent.cordis.yml
73
+ @@ -184,23 +184,21 @@
74
+ name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
75
+
76
+ - id: tool-subagent
77
+ - name: '@deepseek-ai/dsh-tool-subagent'
78
+ + name: '@sparkelf/dsh-plugin-subagent-settings'
79
+ config:
80
+ provider: spawn
81
+ + settingsNamespace: subagent
82
+ toolName: subagent
83
+ - modelSelectionSettings: true
84
+ backgroundMode: continuable
85
+
86
+ - # Fork omits model selection so provider/model stay equal to the parent and
87
+ - # the inherited history remains eligible for KV Cache reuse. This preset
88
+ - # keeps fork continuable and accepts its child-scoped `report` additions invalidating
89
+ - # that prefix; issue #2124 tracks cache-preserving continuable fork.
90
+ + # One-shot fork preserves inherited history and reads its own settings namespace.
91
+ - id: tool-subagent-fork
92
+ - name: '@deepseek-ai/dsh-tool-subagent'
93
+ + name: '@sparkelf/dsh-plugin-subagent-settings'
94
+ config:
95
+ provider: fork
96
+ + settingsNamespace: subagent-fork
97
+ toolName: subagent_fork
98
+ - backgroundMode: continuable
99
+ + backgroundMode: one-shot
100
+
101
+ # Production dsh does not install these optional providers. Install the
102
+ # matching Bundle in this Profile and restart the Host, then copy this