dsh-plugin-subagent-bridge 0.12.0 → 0.12.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/index.js +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -888,7 +888,9 @@ export function createApi(ctx, state, settings) {
|
|
|
888
888
|
} catch {
|
|
889
889
|
/* Cancelling is best effort: the send below still delivers the message. */
|
|
890
890
|
}
|
|
891
|
-
|
|
891
|
+
/* The abort closes the *current* turn, so accept that number: waiting for a
|
|
892
|
+
* strictly newer turn burned the whole grace period before every send. */
|
|
893
|
+
await waitForTurnEnd(ctx, targetId, Math.max(0, turnBefore - 1), 15000)
|
|
892
894
|
}
|
|
893
895
|
|
|
894
896
|
/* A steered message is absorbed by the turn that is already running, so waiting for
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-subagent-bridge",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Subagent bridge: lets Codex delegate a task to DeepSeek Harness the way it would spawn a subagent (one call, waits for the answer), plus a codex_dispatch tool for the reverse direction.",
|
|
6
6
|
"keywords": [
|