@koda-sl/baker-bridge 0.160.0 → 0.161.0-dev.ca062bbeb

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/README.md CHANGED
@@ -993,6 +993,9 @@ or path is data, not a second command; anything it cannot parse is refused.
993
993
  Transport failures never abort.
994
994
  - The session registry evicts entries idle for >24h to bound memory.
995
995
  - Convex dispatches include a bounded rendered current-thread history snapshot.
996
+ A clean turn's boundary is the end of its own session, not its last reply:
997
+ a subagent's completion notice can be absorbed after that reply, and a resume
998
+ cut short of it makes the CLI report the subagent as failed in a turn of its own.
996
999
  The bridge uses a local clean Claude session boundary when valid, but falls
997
1000
  back to this persisted transcript when the session boundary is missing or
998
1001
  invalid; invalid resume is retried at most once before surfacing an error.
@@ -924,7 +924,7 @@ describe("BridgeJobExecutor", () => {
924
924
  kind: "completed",
925
925
  costUsd: 0.1,
926
926
  model: "claude-test",
927
- cleanBoundary: { version: 2, sessionId: "session_next", resumeSessionAt: "assistant_next", updatedAtMs: 1234 },
927
+ cleanBoundary: { version: 2, sessionId: "session_next", updatedAtMs: 1234 },
928
928
  });
929
929
  expect(savedBoundaries).toEqual([]);
930
930
  });