devez-vibe 1.6.7 → 1.6.9
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/bin/dvz.exe +0 -0
- package/bridge/claude-agent-sdk-bridge.mjs +23 -0
- package/package.json +1 -1
package/bin/dvz.exe
CHANGED
|
Binary file
|
|
@@ -3524,6 +3524,29 @@ async function runSelfTest() {
|
|
|
3524
3524
|
throw new Error("Claude structured task notification did not remove a failed subagent");
|
|
3525
3525
|
}
|
|
3526
3526
|
|
|
3527
|
+
for (const status of ["completed", "failed", "killed"]) {
|
|
3528
|
+
const taskId = `agent-updated-${status}`;
|
|
3529
|
+
const toolUseId = `toolu_updated_${status}`;
|
|
3530
|
+
processSubagentSystemMessage(structuredSession, {
|
|
3531
|
+
type: "system",
|
|
3532
|
+
subtype: "task_started",
|
|
3533
|
+
task_id: taskId,
|
|
3534
|
+
tool_use_id: toolUseId,
|
|
3535
|
+
task_type: "agent",
|
|
3536
|
+
subagent_type: "Explore",
|
|
3537
|
+
});
|
|
3538
|
+
processSubagentSystemMessage(structuredSession, {
|
|
3539
|
+
type: "system",
|
|
3540
|
+
subtype: "task_updated",
|
|
3541
|
+
task_id: taskId,
|
|
3542
|
+
tool_use_id: toolUseId,
|
|
3543
|
+
patch: { status, error: status === "completed" ? undefined : `Agent ${status}` },
|
|
3544
|
+
});
|
|
3545
|
+
if (structuredSession.subagents.size !== 0) {
|
|
3546
|
+
throw new Error(`Claude task_updated ${status} did not remove the subagent`);
|
|
3547
|
+
}
|
|
3548
|
+
}
|
|
3549
|
+
|
|
3527
3550
|
structuredSession.subagents.set("expired", {
|
|
3528
3551
|
id: "expired",
|
|
3529
3552
|
taskId: "agent-expired",
|