Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/worktree-agent-handle' into worktree-bash-owner-token

Tianyi Cui 3 mesi fa
parent
commit
fd9ecdce40

File diff suppressed because it is too large
+ 0 - 0
AGENTS.md


+ 1 - 1
packages/acp/tests/dispose.spec.ts

@@ -85,7 +85,7 @@ describe('acp bridge — disposal & HMR safety', () => {
 
   it('a client disconnect mid-prompt disposes the session (no registered agent left)', async () => {
     // The ACP transport closes (editor quits) while a turn runs. The bridge must
-    // settle the in-flight prompt cancelled and DISPOSE the agent (PR D's
+    // settle the in-flight prompt cancelled and DISPOSE the agent (the session's
     // per-agent AgentHandle teardown) rather than leaving an orphaned running —
     // or even idled-but-still-registered — agent whose updates are swallowed.
     const harness = await makeBridgeHarness({ storageDir, script: ['hang'] })

+ 1 - 1
packages/agent-loop/tests/cancel.spec.ts

@@ -1,5 +1,5 @@
 /**
- * Tests for the queue-aware `Agent.cancel()` primitive (PR C). `cancel()` is the
+ * Tests for the queue-aware `Agent.cancel()` primitive. `cancel()` is the
  * broad verb — it clears queued + steering work, aborts an in-flight step, and
  * drops a turn about to start — whereas `abort()` kills only the current step.
  * These tests exercise every window where a cancel can land (idle, pre-step,

+ 2 - 3
packages/session-persistence/tests/coordinator-contract.ts

@@ -20,9 +20,8 @@
  * write path — never the storage primitives directly — so it runs unchanged for
  * every backend (memory / jsonl / sqlite).
  *
- * Each scenario here was previously DUPLICATED in `jsonl.spec.ts` and
- * `sqlite.spec.ts`; it now lives once and runs once per backend through the
- * fixture. The per-backend specs keep ONLY their storage-mechanics tests.
+ * Each scenario lives here once and runs once per backend through the fixture;
+ * the per-backend specs keep ONLY their storage-mechanics tests.
  *
  * @module @deepseek-ai/dsh-session-persistence/tests/coordinator-contract
  */

Some files were not shown because too many files changed in this diff