dsh-pentester 6.4.0 → 6.5.0
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/lib/build-id.json +1 -1
- package/lib/client.js +1 -1
- package/lib/client.js.map +1 -1
- package/lib/generated/skill-search-aliases.json +1 -1
- package/lib/generated/skill-search-index.json +1 -1
- package/lib/index.js +12 -3
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/presets/pentester/preset.patch.yml +24 -0
package/lib/index.js
CHANGED
|
@@ -165,6 +165,9 @@ var DshClient = class {
|
|
|
165
165
|
* creation spec → create child Agent → submit initial prompt。
|
|
166
166
|
* resolve 时 child 已接受 prompt 但尚未开始执行 —— 不等于 Worker 已完成。
|
|
167
167
|
* childId 由 caller 预留(input.childId),官方 manager 跳过自身 UUID 分配。
|
|
168
|
+
*
|
|
169
|
+
* Harness 兼容:`startContinuable`(≤ 0.2.0-rc.2)与 `startActivation`
|
|
170
|
+
* (≥ 0.2.1,commit 390fbe8852 起)二选一,按运行期能力探测。
|
|
168
171
|
*/
|
|
169
172
|
async startContinuableWorker(input, parent, signal) {
|
|
170
173
|
if (!this.subagentAvailable) throw new Error(`subagent provider "${SUBAGENT_PROVIDER}" is unavailable`);
|
|
@@ -185,7 +188,13 @@ var DshClient = class {
|
|
|
185
188
|
},
|
|
186
189
|
signal
|
|
187
190
|
};
|
|
188
|
-
const
|
|
191
|
+
const subagents = this.ctx.subagents;
|
|
192
|
+
const start = typeof subagents.startActivation === "function" ? await subagents.startActivation({
|
|
193
|
+
...spec,
|
|
194
|
+
delivery: "parent"
|
|
195
|
+
}) : await subagents.startContinuable(spec);
|
|
196
|
+
if (start.messageId === void 0) throw new Error(`subagent provider "${SUBAGENT_PROVIDER}" accepted the child without an inbox message`);
|
|
197
|
+
if (start.result !== void 0) start.result.catch(() => void 0);
|
|
189
198
|
return {
|
|
190
199
|
childId: start.childId,
|
|
191
200
|
messageId: start.messageId
|
|
@@ -5322,7 +5331,7 @@ function readFrozenManifest(snapshotDir) {
|
|
|
5322
5331
|
* child Session (docs/plan.md §3, §26).
|
|
5323
5332
|
*
|
|
5324
5333
|
* Worker execution uses the DeepSeek Harness official Continuable Subagent seam
|
|
5325
|
-
* (`ctx.subagents.startContinuable()` → provider `spawn`). The child is a
|
|
5334
|
+
* (`ctx.subagents.startActivation()` / `startContinuable()` → provider `spawn`). The child is a
|
|
5326
5335
|
* durable Session that survives across turns and can accept followup messages
|
|
5327
5336
|
* from Root or user. The plugin only manages PTES domain state.
|
|
5328
5337
|
*
|
|
@@ -12179,7 +12188,7 @@ async function resolveBinding(deps, sessionId) {
|
|
|
12179
12188
|
*
|
|
12180
12189
|
* Format: version+shortSha
|
|
12181
12190
|
*/
|
|
12182
|
-
const BUILD_ID = "6.
|
|
12191
|
+
const BUILD_ID = "6.5.0+1c69c8e";
|
|
12183
12192
|
//#endregion
|
|
12184
12193
|
//#region src/ui-view/invocations.ts
|
|
12185
12194
|
/**
|