@agent-deck/backend 2.4.0 → 2.5.0

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.
Files changed (74) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/agent-run/adapter.d.ts +14 -10
  3. package/dist/agent-run/adapter.d.ts.map +1 -1
  4. package/dist/agent-run/adapter.js +8 -4
  5. package/dist/agent-run/adapter.js.map +1 -1
  6. package/dist/agent-run/claude.d.ts +23 -21
  7. package/dist/agent-run/claude.d.ts.map +1 -1
  8. package/dist/agent-run/claude.js +25 -18
  9. package/dist/agent-run/claude.js.map +1 -1
  10. package/dist/agent-run/codex.d.ts +29 -12
  11. package/dist/agent-run/codex.d.ts.map +1 -1
  12. package/dist/agent-run/codex.js +37 -20
  13. package/dist/agent-run/codex.js.map +1 -1
  14. package/dist/mcp-server.d.ts +107 -1
  15. package/dist/mcp-server.d.ts.map +1 -1
  16. package/dist/mcp-server.js +491 -55
  17. package/dist/mcp-server.js.map +1 -1
  18. package/dist/mcp-session-binding.d.ts +15 -0
  19. package/dist/mcp-session-binding.d.ts.map +1 -1
  20. package/dist/mcp-session-binding.js +20 -0
  21. package/dist/mcp-session-binding.js.map +1 -1
  22. package/package.json +2 -2
  23. package/dist/execution-authority/bearer.d.ts +0 -15
  24. package/dist/execution-authority/bearer.d.ts.map +0 -1
  25. package/dist/execution-authority/bearer.js +0 -35
  26. package/dist/execution-authority/bearer.js.map +0 -1
  27. package/dist/execution-authority/index.d.ts +0 -6
  28. package/dist/execution-authority/index.d.ts.map +0 -1
  29. package/dist/execution-authority/index.js +0 -8
  30. package/dist/execution-authority/index.js.map +0 -1
  31. package/dist/execution-authority/ledger.d.ts +0 -85
  32. package/dist/execution-authority/ledger.d.ts.map +0 -1
  33. package/dist/execution-authority/ledger.js +0 -507
  34. package/dist/execution-authority/ledger.js.map +0 -1
  35. package/dist/execution-authority/store.d.ts +0 -55
  36. package/dist/execution-authority/store.d.ts.map +0 -1
  37. package/dist/execution-authority/store.js +0 -256
  38. package/dist/execution-authority/store.js.map +0 -1
  39. package/dist/execution-authority/types.d.ts +0 -119
  40. package/dist/execution-authority/types.d.ts.map +0 -1
  41. package/dist/execution-authority/types.js +0 -9
  42. package/dist/execution-authority/types.js.map +0 -1
  43. package/dist/lib/execution-authority-http.d.ts +0 -23
  44. package/dist/lib/execution-authority-http.d.ts.map +0 -1
  45. package/dist/lib/execution-authority-http.js +0 -101
  46. package/dist/lib/execution-authority-http.js.map +0 -1
  47. package/dist/mcp-stdio.d.ts +0 -2
  48. package/dist/mcp-stdio.d.ts.map +0 -1
  49. package/dist/mcp-stdio.js.map +0 -1
  50. package/dist/playbooks/playbook-parser.d.ts +0 -8
  51. package/dist/playbooks/playbook-parser.d.ts.map +0 -1
  52. package/dist/playbooks/playbook-parser.js +0 -76
  53. package/dist/playbooks/playbook-parser.js.map +0 -1
  54. package/dist/playbooks/playbook-service.d.ts +0 -9
  55. package/dist/playbooks/playbook-service.d.ts.map +0 -1
  56. package/dist/playbooks/playbook-service.js +0 -107
  57. package/dist/playbooks/playbook-service.js.map +0 -1
  58. package/dist/routes/execution-authority.d.ts +0 -8
  59. package/dist/routes/execution-authority.d.ts.map +0 -1
  60. package/dist/routes/execution-authority.js +0 -498
  61. package/dist/routes/execution-authority.js.map +0 -1
  62. package/dist/scope/bindings-sidecar.d.ts +0 -9
  63. package/dist/scope/bindings-sidecar.d.ts.map +0 -1
  64. package/dist/scope/bindings-sidecar.js +0 -57
  65. package/dist/scope/bindings-sidecar.js.map +0 -1
  66. package/dist/scope/repo-deck.d.ts +0 -10
  67. package/dist/scope/repo-deck.d.ts.map +0 -1
  68. package/dist/scope/repo-deck.js +0 -63
  69. package/dist/scope/repo-deck.js.map +0 -1
  70. package/dist/test-local-mcp-e2e.d.ts +0 -3
  71. package/dist/test-local-mcp-e2e.d.ts.map +0 -1
  72. package/dist/test-local-mcp-e2e.js +0 -104
  73. package/dist/test-local-mcp-e2e.js.map +0 -1
  74. package/static-ui/favicon.png +0 -0
@@ -119,8 +119,21 @@ export declare class AgentDeckMCPServer {
119
119
  private readonly instanceId;
120
120
  private readonly startedAt;
121
121
  private staleSessionCount;
122
- /** Pre-restart session id → whether its client has since re-initialized. */
122
+ /**
123
+ * Pre-restart session id → whether its client has since come back: by
124
+ * re-initializing (our bridge names the session it lost on the replayed
125
+ * handshake) or by server-side recovery from rebindable headers (NOT-569).
126
+ */
123
127
  private staleSessionsById;
128
+ /**
129
+ * NOT-569: stale pre-restart session id → live recovered session id.
130
+ * Hosts that never re-initialize after a 404 (observed: Cursor, Muse)
131
+ * keep sending the old id; once a request on it is recovered from
132
+ * deck-resolving headers, the alias keeps serving later requests on that
133
+ * id. Bounded with the same oldest-first discipline as the stale tally
134
+ * and the closed set — diagnostics/routing, not a ledger.
135
+ */
136
+ private recoveredSessionAlias;
124
137
  /**
125
138
  * Sessions this process issued and then closed. A late request on one of them is
126
139
  * an ordinary end-of-session race, not a client left behind by a restart, and
@@ -332,12 +345,36 @@ export declare class AgentDeckMCPServer {
332
345
  * `Mcp-Session-Id`, and that a client seeing 404 MUST re-initialize. The old
333
346
  * 400 "Bad Request: No valid session ID provided" was indistinguishable from a
334
347
  * malformed request, so bridges parked on it forever instead of reconnecting.
348
+ *
349
+ * Narrow exception (NOT-569): the POST handler tries
350
+ * `tryRecoverStaleSession` before reaching here. A non-initialize request
351
+ * whose headers rebind the folder's deck exactly as an initialize would is
352
+ * served on a recovered session instead — for hosts that never
353
+ * re-initialize (observed: Cursor, Muse). Everything this method still
354
+ * sees keeps the 404 behavior exactly.
335
355
  */
336
356
  private sendSessionNotFound;
337
357
  /** The wire half of a 404: the same answer whether or not the session was tallied. */
338
358
  private sendSessionExpired;
339
359
  /** Remember a session we closed ourselves, keeping the set bounded like the tally. */
340
360
  private rememberClosedSession;
361
+ /**
362
+ * NOT-569: remember a stale → recovered alias, evicting the oldest alias
363
+ * first when full — the same size discipline as the stale tally and the
364
+ * closed set. Eviction drops routing only; the underlying live session
365
+ * keeps its normal idle-TTL retention, and a later request on the evicted
366
+ * stale id simply recovers again.
367
+ */
368
+ private rememberRecoveryAlias;
369
+ /**
370
+ * NOT-569: count a stale id recovered from headers as recovered in the
371
+ * tally, so `/health` (and `agent-deck status`) stop warning for hosts
372
+ * that recover this way. Mirrors `markStaleSessionRecovered` without
373
+ * needing a replayed handshake: a known entry flips to recovered, an
374
+ * unknown one is recorded as recovered within the same bound. The request
375
+ * counter is untouched — the request was served, not answered 404.
376
+ */
377
+ private markStaleSessionRecoveredById;
341
378
  private refreshRuntimeSession;
342
379
  private sendDeckRequired;
343
380
  /**
@@ -381,6 +418,11 @@ export declare class AgentDeckMCPServer {
381
418
  * follow-up request. Read once, at initial launch authentication.
382
419
  */
383
420
  private readLaunchExecutionWorkspace;
421
+ /**
422
+ * NOT-562: `deckIdOverride` carries a deck resolved somewhere other than
423
+ * the deck header — the folder assignment for workspace-header-only hosts.
424
+ * Omitted callers behave exactly as before (header or GRANT_REQUIRED).
425
+ */
384
426
  private authenticateLaunchDeck;
385
427
  private disconnectTrustedSession;
386
428
  /**
@@ -392,6 +434,14 @@ export declare class AgentDeckMCPServer {
392
434
  */
393
435
  private requireFollowUpDeckHeader;
394
436
  private sendLaunchDeckInvalid;
437
+ /**
438
+ * Resolve the deck a bearer-free request binds (NOT-562, shared by the
439
+ * initialize path and NOT-569 recovery so the two resolve identically):
440
+ * an explicit deck header wins, else the folder assignment from
441
+ * `<workspace>/.agent-deck/use.json`. Anything else is not a deck —
442
+ * recovery refuses it and initialize takes the unassigned flow.
443
+ */
444
+ private resolveHeaderDeck;
395
445
  /**
396
446
  * NOT-318: initialize with a bearer grant. Authenticates before
397
447
  * advertising any `mcp-session-id`: failure answers the uniform 401
@@ -400,7 +450,63 @@ export declare class AgentDeckMCPServer {
400
450
  * out-of-grant header → 403, no session).
401
451
  */
402
452
  private handleGrantInitialize;
453
+ /**
454
+ * Serve one follow-up request on a live session. `presentedSessionId` is
455
+ * the id the client sent when it differs from the live session id (a
456
+ * NOT-569 recovery alias): the headers are translated so the transport
457
+ * validates and answers under the live id while the client keeps seeing
458
+ * the id it sent.
459
+ */
460
+ private serveFollowUp;
461
+ /**
462
+ * NOT-569: run `serve` with the wire session id translated. The request
463
+ * header is rewritten to the live id so the transport's own session
464
+ * validation passes, and every response header write is translated back
465
+ * so the client keeps seeing the id it sent. Both `setHeader` and
466
+ * `writeHead` are covered — the Hono Node adapter answers JSON
467
+ * responses through `writeHead` — and `rawHeaders` is translated too,
468
+ * because that same adapter rebuilds the request headers from the raw
469
+ * pairs without ever reading the parsed `headers` object: without the
470
+ * raw rewrite the transport validates the stale id and answers 404.
471
+ */
472
+ private withPresentedSessionId;
403
473
  private handleMcpPost;
474
+ /**
475
+ * NOT-569: narrow exception to the NOT-101 404 rule. In local
476
+ * (non-hosted, bearer-free) mode only, a non-initialize request that
477
+ * carries an unknown session id plus headers resolving to a deck exactly
478
+ * as an initialize would is served on a fresh recovered session instead
479
+ * of answered 404 — for hosts that never re-initialize (observed:
480
+ * Cursor, Muse). Returns whether the request was served; anything
481
+ * refused (no deck-resolving header, unresolvable workspace, an id this
482
+ * process closed itself, any bearer/hosted/grant request, a bind or
483
+ * handshake failure) keeps the NOT-101 404 at the call site.
484
+ *
485
+ * Recovery mints a fresh transport session for the deck, remembers a
486
+ * bounded stale → live alias, performs the MCP initialize handshake on
487
+ * the host's behalf, and serves the request with the wire id translated
488
+ * back to the id the client sent — the client needs no change, and
489
+ * later requests on the same stale id serve from the alias. A bind
490
+ * failure answers 404, never a new 401 surface on follow-up requests.
491
+ */
492
+ private tryRecoverStaleSession;
493
+ /**
494
+ * NOT-569: serve one request from an installed recovery alias. Returns
495
+ * whether an alias served the request; a dead alias is dropped so the
496
+ * caller re-recovers from headers instead of sticking to it.
497
+ */
498
+ private serveFromRecoveryAlias;
499
+ /**
500
+ * NOT-569: perform the MCP initialize handshake on the host's behalf so
501
+ * the recovered transport is initialized before it serves the request.
502
+ * The host's original handshake died with the previous process, so the
503
+ * client identity is synthetic and marked as such (`agent-deck-recovery`
504
+ * with empty capabilities — form elicitation degrades to the browser
505
+ * fallback on recovered sessions); the protocol version reuses the
506
+ * client's when it sent one. Runs entirely in memory — the host never
507
+ * sees this exchange.
508
+ */
509
+ private performRecoveryHandshake;
404
510
  /**
405
511
  * Shared transport handshake tail: create the per-session MCP server,
406
512
  * connect the streamable transport, and register the live session. Runs
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-server.d.ts","sourceRoot":"","sources":["../src/mcp-server.ts"],"names":[],"mappings":"AAgBA,OAAO,OAA8B,MAAM,SAAS,CAAC;AAQrD,OAAO,EACL,gBAAgB,EAIjB,MAAM,sBAAsB,CAAC;AAY9B,OAAO,EAAE,cAAc,EAAyB,MAAM,qBAAqB,CAAC;AAc5E,OAAO,EAAE,UAAU,EAAoC,MAAM,eAAe,CAAC;AAmE7E;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B,kCAAkC,CAAC;AAC1E,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAC5C,eAAO,MAAM,6BAA6B,QAAS,CAAC;AAEpD,wBAAgB,qBAAqB,CAAC,GAAG,GAAE,MAAM,GAAG,SAAmD,GAAG,OAAO,CAEhH;AAaD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,+BAA+B,QAAa,CAAC;AAC1D,eAAO,MAAM,4BAA4B,2CAA2C,CAAC;AAErF;;;;;;;;GAQG;AACH,eAAO,MAAM,6BAA6B,QAAmB,CAAC;AAC9D,2CAA2C;AAC3C,eAAO,MAAM,mCAAmC,QAAS,CAAC;AAC1D;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAEhD,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAa5F;AA0BD,qBAAa,kBAAkB;IAC7B,oFAAoF;IACpF,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,0BAA0B,CA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