@cabane/companion 0.6.60 → 0.6.61
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/dist/cli.js +5 -3
- package/dist/runtime.js +5 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2430,8 +2430,9 @@ var CabaneApi = class {
|
|
|
2430
2430
|
// companion PAT — so the spawn carries the same authority as the agent's other
|
|
2431
2431
|
// cabane calls this turn (mirrors build-options' `turnToken ?? agentPat`);
|
|
2432
2432
|
// - the `x-cabane-active-conversation` header naming the caller's turn, which
|
|
2433
|
-
// the server verifies against the live run to resolve the caller pair for
|
|
2434
|
-
//
|
|
2433
|
+
// the server verifies against the live run to resolve the caller pair for
|
|
2434
|
+
// the explicit child's birth subscription (the same origin that stamps
|
|
2435
|
+
// provenance).
|
|
2435
2436
|
// Single-shot (no outbox/retry): a `sub_agent` spawn is a live, user-visible
|
|
2436
2437
|
// action, and its result is returned to the agent immediately. Returns
|
|
2437
2438
|
// `{ status, body }` un-thrown so the caller maps validation errors
|
|
@@ -8478,7 +8479,8 @@ ${reason}`,
|
|
|
8478
8479
|
...args.title ? { title: args.title } : {},
|
|
8479
8480
|
body: args.prompt,
|
|
8480
8481
|
dispatch: dispatchTarget,
|
|
8481
|
-
dispatchAsk: true
|
|
8482
|
+
dispatchAsk: true,
|
|
8483
|
+
parentConversationId: payload.conversationId
|
|
8482
8484
|
}
|
|
8483
8485
|
);
|
|
8484
8486
|
if (status2 >= 400) return { ok: false, error: describeSubAgentError(status2, body) };
|
package/dist/runtime.js
CHANGED
|
@@ -1850,8 +1850,9 @@ var CabaneApi = class {
|
|
|
1850
1850
|
// companion PAT — so the spawn carries the same authority as the agent's other
|
|
1851
1851
|
// cabane calls this turn (mirrors build-options' `turnToken ?? agentPat`);
|
|
1852
1852
|
// - the `x-cabane-active-conversation` header naming the caller's turn, which
|
|
1853
|
-
// the server verifies against the live run to resolve the caller pair for
|
|
1854
|
-
//
|
|
1853
|
+
// the server verifies against the live run to resolve the caller pair for
|
|
1854
|
+
// the explicit child's birth subscription (the same origin that stamps
|
|
1855
|
+
// provenance).
|
|
1855
1856
|
// Single-shot (no outbox/retry): a `sub_agent` spawn is a live, user-visible
|
|
1856
1857
|
// action, and its result is returned to the agent immediately. Returns
|
|
1857
1858
|
// `{ status, body }` un-thrown so the caller maps validation errors
|
|
@@ -7977,7 +7978,8 @@ ${reason}`,
|
|
|
7977
7978
|
...args.title ? { title: args.title } : {},
|
|
7978
7979
|
body: args.prompt,
|
|
7979
7980
|
dispatch: dispatchTarget,
|
|
7980
|
-
dispatchAsk: true
|
|
7981
|
+
dispatchAsk: true,
|
|
7982
|
+
parentConversationId: payload.conversationId
|
|
7981
7983
|
}
|
|
7982
7984
|
);
|
|
7983
7985
|
if (status >= 400) return { ok: false, error: describeSubAgentError(status, body) };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabane/companion",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.61",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The Cabane Companion (headless): connect a coding agent on your machine to your Cabane workspace as a responder — drive work against your own codebase, files, and MCP servers without putting any of it in Cabane.",
|
|
6
6
|
"license": "UNLICENSED",
|