@cabane/companion 0.6.98 → 0.6.99
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 +8 -0
- package/dist/runtime.js +8 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -9097,6 +9097,14 @@ var TurnExecution = class {
|
|
|
9097
9097
|
bootId,
|
|
9098
9098
|
// CT1380: the durable record that this turn resumed, and from where.
|
|
9099
9099
|
...this.resumedFromSeq !== void 0 ? { resumedFromSeq: this.resumedFromSeq } : {},
|
|
9100
|
+
// CT1454: the issuance the context THIS attempt runs on came from. Read
|
|
9101
|
+
// off `this.turnContext`, which is the fetch that composed this request —
|
|
9102
|
+
// so a retransmitted start echoes the same id and reuses the same record,
|
|
9103
|
+
// and a resumed attempt echoes its own, newer one. The post-admission
|
|
9104
|
+
// fresh-session recompose (`freshRequest`) deliberately does not touch it:
|
|
9105
|
+
// it adopts only the prompt, never the run-config, so its issuance must
|
|
9106
|
+
// not become this attempt's evidence.
|
|
9107
|
+
...this.turnContext.issuanceId ? { issuanceId: this.turnContext.issuanceId } : {},
|
|
9100
9108
|
// CT33: hand the server this turn's id so the new-run chokepoint's
|
|
9101
9109
|
// `closeAbandonedTurns` sweep excludes it. The prepare hook may have
|
|
9102
9110
|
// already emitted a "preparing" activity row for this turn above (it
|
package/dist/runtime.js
CHANGED
|
@@ -8594,6 +8594,14 @@ var TurnExecution = class {
|
|
|
8594
8594
|
bootId,
|
|
8595
8595
|
// CT1380: the durable record that this turn resumed, and from where.
|
|
8596
8596
|
...this.resumedFromSeq !== void 0 ? { resumedFromSeq: this.resumedFromSeq } : {},
|
|
8597
|
+
// CT1454: the issuance the context THIS attempt runs on came from. Read
|
|
8598
|
+
// off `this.turnContext`, which is the fetch that composed this request —
|
|
8599
|
+
// so a retransmitted start echoes the same id and reuses the same record,
|
|
8600
|
+
// and a resumed attempt echoes its own, newer one. The post-admission
|
|
8601
|
+
// fresh-session recompose (`freshRequest`) deliberately does not touch it:
|
|
8602
|
+
// it adopts only the prompt, never the run-config, so its issuance must
|
|
8603
|
+
// not become this attempt's evidence.
|
|
8604
|
+
...this.turnContext.issuanceId ? { issuanceId: this.turnContext.issuanceId } : {},
|
|
8597
8605
|
// CT33: hand the server this turn's id so the new-run chokepoint's
|
|
8598
8606
|
// `closeAbandonedTurns` sweep excludes it. The prepare hook may have
|
|
8599
8607
|
// already emitted a "preparing" activity row for this turn above (it
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabane/companion",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.99",
|
|
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",
|