@proofoftech/flowsafe 0.21.0 → 0.23.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 (77) hide show
  1. package/CHANGELOG.md +73 -0
  2. package/README.md +25 -12
  3. package/dist/agent-host/catalog.d.ts.map +1 -1
  4. package/dist/agent-host/catalog.js +5 -2
  5. package/dist/agent-host/catalog.js.map +1 -1
  6. package/dist/agent-host/thread-host.d.ts +16 -0
  7. package/dist/agent-host/thread-host.d.ts.map +1 -1
  8. package/dist/agent-host/thread-host.js +108 -58
  9. package/dist/agent-host/thread-host.js.map +1 -1
  10. package/dist/agent-host/thread-topology.d.ts.map +1 -1
  11. package/dist/agent-host/thread-topology.js +11 -9
  12. package/dist/agent-host/thread-topology.js.map +1 -1
  13. package/dist/agent-runner/durable-agent-runner.d.ts +134 -96
  14. package/dist/agent-runner/durable-agent-runner.d.ts.map +1 -1
  15. package/dist/agent-runner/durable-agent-runner.js +424 -282
  16. package/dist/agent-runner/durable-agent-runner.js.map +1 -1
  17. package/dist/approval-api/actor-context.js +3 -3
  18. package/dist/approval-api/actor-context.js.map +1 -1
  19. package/dist/approval-api/service.d.ts +6 -9
  20. package/dist/approval-api/service.d.ts.map +1 -1
  21. package/dist/approval-api/service.js +6 -9
  22. package/dist/approval-api/service.js.map +1 -1
  23. package/dist/background-tasks/d1-storage.js +1 -1
  24. package/dist/background-tasks/d1-storage.js.map +1 -1
  25. package/dist/background-tasks/host.d.ts.map +1 -1
  26. package/dist/background-tasks/host.js +3 -2
  27. package/dist/background-tasks/host.js.map +1 -1
  28. package/dist/do-runner/d1-storage.d.ts +4 -2
  29. package/dist/do-runner/d1-storage.d.ts.map +1 -1
  30. package/dist/do-runner/d1-storage.js +4 -2
  31. package/dist/do-runner/d1-storage.js.map +1 -1
  32. package/dist/do-runner/durable-object.d.ts.map +1 -1
  33. package/dist/do-runner/durable-object.js +22 -22
  34. package/dist/do-runner/durable-object.js.map +1 -1
  35. package/dist/do-runner/execution-context.d.ts +5 -1
  36. package/dist/do-runner/execution-context.d.ts.map +1 -1
  37. package/dist/do-runner/execution-context.js +5 -1
  38. package/dist/do-runner/execution-context.js.map +1 -1
  39. package/dist/do-runner/execution-fence.js +2 -2
  40. package/dist/do-runner/execution-fence.js.map +1 -1
  41. package/dist/do-runner/run-lifecycle.js +6 -6
  42. package/dist/do-runner/run-lifecycle.js.map +1 -1
  43. package/dist/do-runner/runtime.d.ts +23 -47
  44. package/dist/do-runner/runtime.d.ts.map +1 -1
  45. package/dist/do-runner/runtime.js +61 -68
  46. package/dist/do-runner/runtime.js.map +1 -1
  47. package/dist/do-runner/start-idempotency.js +4 -4
  48. package/dist/do-runner/start-idempotency.js.map +1 -1
  49. package/dist/host-kit/approval-bridge.d.ts +8 -8
  50. package/dist/host-kit/approval-bridge.js +8 -8
  51. package/dist/host-kit/flowsafe-worker.d.ts.map +1 -1
  52. package/dist/host-kit/flowsafe-worker.js +5 -0
  53. package/dist/host-kit/flowsafe-worker.js.map +1 -1
  54. package/dist/schedules/schedules-d1.js +1 -1
  55. package/dist/schedules/tick.d.ts +1 -8
  56. package/dist/schedules/tick.d.ts.map +1 -1
  57. package/dist/schedules/tick.js +8 -19
  58. package/dist/schedules/tick.js.map +1 -1
  59. package/dist/signals/client.d.ts +7 -4
  60. package/dist/signals/client.d.ts.map +1 -1
  61. package/dist/signals/client.js +9 -7
  62. package/dist/signals/client.js.map +1 -1
  63. package/dist/signals/d1-shared.js +1 -1
  64. package/dist/signals/index.d.ts +1 -1
  65. package/dist/signals/index.d.ts.map +1 -1
  66. package/dist/signals/index.js.map +1 -1
  67. package/dist/signals/notification-dispatch.d.ts +1 -12
  68. package/dist/signals/notification-dispatch.d.ts.map +1 -1
  69. package/dist/signals/notification-dispatch.js +0 -53
  70. package/dist/signals/notification-dispatch.js.map +1 -1
  71. package/dist/signals/thread-do-routes.d.ts +48 -9
  72. package/dist/signals/thread-do-routes.d.ts.map +1 -1
  73. package/dist/signals/thread-do-routes.js +411 -230
  74. package/dist/signals/thread-do-routes.js.map +1 -1
  75. package/package.json +14 -9
  76. package/scripts/seed-deployment-identity.mjs +25 -11
  77. package/patches/@mastra__core@1.53.0.patch +0 -54
@@ -44,41 +44,41 @@ export interface AgentStartAuthority {
44
44
  export declare const DURABLE_AGENTIC_LOOP_WORKFLOW_ID = "durable-agentic-loop";
45
45
  /**
46
46
  * @internal Metadata key that prevents a route delivery from being terminally
47
- * persisted. Deliberately deep-imported by `signals/thread-do-routes.ts` and
48
- * kept off `./index.js`.
47
+ * persisted. Kept off `./index.js`.
49
48
  */
50
49
  export declare const FLOWSAFE_PERSISTENCE_FORBIDDEN = "flowsafe.persistence-forbidden";
51
50
  interface BreakwaterGuardedAgentHostProtocol {
52
51
  readonly version: 1;
53
52
  readonly supportsDurableStructuredOutput: false;
54
53
  }
55
- /** @internal Shared with the guarded agent catalog's compatibility check. */
54
+ /** @internal */
56
55
  export declare function breakwaterGuardedAgentHostProtocol(agent: unknown): BreakwaterGuardedAgentHostProtocol | undefined;
57
56
  /**
58
- * Why each blocked entry point is refused, keyed by method name. The SINGLE
59
- * source: every override throws `unavailableRunEntry(name,
60
- * BLOCKED_RUN_ENTRIES[name])`, and durable-agent-surface.test.ts derives both
61
- * its blocked-member partition and its per-method message assertions from these
62
- * keys — so a new blocked entry cannot ship with an unexercised refusal, and a
63
- * reason cannot drift between the throw and the test.
57
+ * @internal Why the runner refuses to wrap `agent`, or `undefined` when it
58
+ * accepts it.
59
+ */
60
+ export declare function unwrappableAgentReason(agent: Pick<Agent, 'durable' | 'getChannels' | 'getDeclaredSchedules'>): string | undefined;
61
+ /**
62
+ * Why each blocked entry point is refused, keyed by method name: the SINGLE
63
+ * source of those reasons.
64
64
  *
65
- * Four grounds. The module comment walks the same members by PROVENANCE
66
- * section (the durable surface, then the Agent surface) rather than by ground,
67
- * so its numbering is not this list's:
65
+ * The grounds:
68
66
  * 1. re-drives a persisted run below `executeWorkflow`, where there is no
69
67
  * RunnerRuntime — no run ownership, no per-leg grant, no snapshot
70
68
  * provenance;
71
- * 2. unscoped run discovery that bypasses the host topology's per-principal
72
- * run-ownership checks and returns ids the caller does not own;
69
+ * 2. unscoped run or thread identity discovery that bypasses the host
70
+ * topology's per-principal ownership checks and returns identities the
71
+ * caller does not own;
73
72
  * 3. snapshot deletion owned by deployment-scoped retention;
74
- * 4. a SECOND execution surface that runs the agent outside RunnerRuntime
75
- * entirely, or that mints a run id below the caller — the network loop's
76
- * own workflow, the legacy handler, the thread runtime's tool-approval
77
- * continuation, and the setter that installs a different agent as the
78
- * thread runtime's execution target.
73
+ * 4. a SECOND execution surface outside RunnerRuntime, whether the call runs
74
+ * it or installs something that later does, or that mints a run id below
75
+ * the caller;
76
+ * 5. installs a runtime service — a Mastra, memory or pub/sub — after
77
+ * construction;
78
+ * 6. cancels a run outside RunnerRuntime's terminal lifecycle.
79
79
  *
80
- * Deliberately NOT re-exported from `./index.js` (a named-exports-only barrel),
81
- * so this stays off the public `@proofoftech/flowsafe/agent-runner` subpath.
80
+ * NOT re-exported from `./index.js` (a named-exports-only barrel), so this
81
+ * stays off the public `@proofoftech/flowsafe/agent-runner` subpath.
82
82
  */
83
83
  export declare const BLOCKED_RUN_ENTRIES: {
84
84
  readonly recover: "re-driving a persisted run bypasses run ownership, per-leg grant minting and the fail-closed registry rehydration";
@@ -93,6 +93,7 @@ export declare const BLOCKED_RUN_ENTRIES: {
93
93
  readonly listActiveRuns: "core scopes the running-run listing by agentId plus the caller's own optional thread and resource ids, never by per-principal ownership, so it bypasses the host topology's run-ownership checks and returns run, thread and resource ids the caller does not own";
94
94
  readonly listSuspendedRuns: "core scopes the suspended-run listing by agentId plus the caller's own optional thread and resource ids, never by per-principal ownership, so it bypasses the host topology's run-ownership checks and returns run, thread and resource ids the caller does not own";
95
95
  readonly listActiveThreadRuns: "core scopes the active thread-run listing by nothing at all: it takes no arguments and returns the run, thread and resource ids of every thread on the pubsub instance with a run in flight, which core keys by pubsub instance rather than by agent, so it enumerates ids across every principal AND every agent that shares the instance";
96
+ readonly discoverThreadPeers: "it takes no caller-named thread or principal and returns the agent, resource, thread and source identities every peer on the pub/sub advertises";
96
97
  readonly deleteRunSnapshots: "durable-agent snapshot rows are retained until deployment-scoped retention purge removes them";
97
98
  readonly network: "the multi-agent network loop compiles its own workflow and drives it with createRun plus run.stream/run.resumeStream on the default engine, outside RunnerRuntime, so no leg is run-owned, grant-derived or snapshot-provenanced — and under autoResumeSuspendedTools it additionally recovers a suspended run id from thread memory and re-drives that run, and it mints an unowned run id when the caller omits one";
98
99
  readonly resumeNetwork: "the multi-agent network loop compiles its own workflow and drives it with createRun plus run.stream/run.resumeStream on the default engine, outside RunnerRuntime, so no leg is run-owned, grant-derived or snapshot-provenanced — and under autoResumeSuspendedTools it additionally recovers a suspended run id from thread memory and re-drives that run";
@@ -102,16 +103,18 @@ export declare const BLOCKED_RUN_ENTRIES: {
102
103
  readonly streamLegacy: "the AI SDK v4 legacy handler is a second execution surface that converts and runs the agent's tools outside RunnerRuntime, mints its own run id when the caller omits one, and skips the authorization gate every supported entry calls (requireAgentExecutionFGA)";
103
104
  readonly sendToolApproval: "the messages-plus-approved branch does not resume at all: it hands the thread runtime a continuation whose run id falls back to randomUUID() when the caller names none, then starts a run under that id — path-safe, so the host-owned run-id guard cannot tell it from a caller-minted one — and its no-active-run branch reaches the equally unscoped suspended-run discovery";
104
105
  readonly __setThreadRuntimeAgent: "it installs the agent the thread-runtime paths resolve their target through — on @mastra/core 1.67.0 these are subscribeToThread, claimThreadOwnership, sendMessage, queueMessage, sendStateSignal, sendNotificationSignal and sendSignal, which read the field it writes — so one call moves every run those paths start, and subscribeToThread's replay target with them, onto an agent that carries none of this class's overrides: no caller-minted run id, no executeWorkflow, and no terminal refusal for a run the host start seam never registered";
106
+ readonly setChannels: "it forwards the channels it is given to the wrapped agent, which becomes their dispatch target, so a plain AgentChannels delivers inbound messages to the wrapped agent's sendMessage, and channel approvals and declines to its approveToolCall and declineToolCall, outside RunnerRuntime; an AgentControllerChannels dispatches through its controller instead, and is refused as well because a controller over this class cannot install its runtime services or register this wrapper on its Mastra";
107
+ readonly __setDeclaredSchedules: "it forwards the schedules it is given to the wrapped agent, and the schedule worker of a Mastra that registers that agent and runs startWorkers() fires each of them through the wrapped agent's sendSignal or generate, outside RunnerRuntime";
108
+ readonly __setMastra: "it binds the runner and its wrapped agent to a Mastra the runtime did not build, so every later leg is prepared against that Mastra; registered through Mastra.addAgent once the runtime has built its own Mastra, it also repoints the runtime's loop workflow, and with it run state, to that Mastra's storage";
109
+ readonly __registerMastra: "it binds the runner and its wrapped agent to a Mastra the runtime did not build, so every later leg is prepared against that Mastra; registered through Mastra.addAgent once the runtime has built its own Mastra, it also repoints the runtime's loop workflow, and with it run state, to that Mastra's storage";
110
+ readonly __setMemory: "it installs memory or pub/sub after construction and forwards it to the wrapped agent; the wrapper's pub/sub is fixed at construction because thread state, signal delivery and the run's drain share it";
111
+ readonly __setPubSub: "it installs memory or pub/sub after construction and forwards it to the wrapped agent; the wrapper's pub/sub is fixed at construction because thread state, signal delivery and the run's drain share it";
112
+ readonly abortRunStream: "a direct abort bypasses the terminate route's ownership check and disputed-settlement refusal, stops running tools, and can reach another thread's run in the isolate through core's global run registry; cancel through the terminate route";
113
+ readonly abortThreadStream: "a direct abort bypasses the terminate route's ownership check and disputed-settlement refusal, stops running tools, and can reach another thread's run in the isolate through core's global run registry; cancel through the terminate route";
105
114
  };
106
115
  /**
107
116
  * Brand marking an agent as runtime-driven. The thread Durable Object requires
108
- * it before its message, signal, schedule, or notification-dispatch wake seam
109
- * may start a run. Queue and state persist rather than wake on idle. Non-owner
110
- * notifications are recorded for the trusted dispatcher and never send a
111
- * signal directly. An unbranded agent reports
112
- * `degraded: 'not-runtime-driven'` on state and owner-notification responses
113
- * that reach the sender, regardless of thread state. Skipped state and
114
- * `memory-unavailable` responses return earlier and carry no marker.
117
+ * it before a wake seam may start a run.
115
118
  *
116
119
  * Direct core sender calls that mint a run still reach the durable runner,
117
120
  * which fails them terminally without executing. Structural so a test double
@@ -145,17 +148,19 @@ export interface FlowsafeDurableAgentOptions<TAgentId extends string = string, T
145
148
  /** Resumable-stream cache — see createDurableAgent's `cache`. */
146
149
  cache?: DurableAgentConfig<TAgentId, TTools, TOutput>['cache'];
147
150
  /**
148
- * PubSub for the agent's own stream events (observe()/onChunk). DEFAULTS to
149
- * `runtime.pubsub` (the host Durable Object's single identity) when omitted, so the
150
- * run's events and the agent's observe()/emitError feed agree without the host
151
- * wiring it twice — a mismatched pubsub would leave observe() replaying an
152
- * empty feed. Pass an explicit instance only to override that default.
151
+ * Stream and agent-level pub/sub. Uses `pubsub ?? runtime.pubsub`, or the
152
+ * wrapper's stream bus when both are absent. Thread state, signal delivery,
153
+ * and the run's drain share this identity. Construction refuses a wrapped
154
+ * agent with a different pub/sub of its own. The wrapped agent's pub/sub
155
+ * follows the last wrapper constructed over it.
153
156
  */
154
157
  pubsub?: DurableAgentConfig<TAgentId, TTools, TOutput>['pubsub'];
155
158
  /**
156
- * Public Mastra thread runtime (`mastra.agentThreadStreamRuntime`). When
157
- * present, started and rehydrated outputs are registered on the same pubsub
158
- * identity so active-thread signals join the durable loop.
159
+ * Public Mastra thread runtime (`mastra.agentThreadStreamRuntime`). Core
160
+ * registers started runs itself. When present, a run resumed through
161
+ * `resumeViaRuntime()` registers on the agent's pub/sub so active-thread
162
+ * signals join it. Without it, resumed runs are absent from thread state and
163
+ * signals sent while they run are not delivered into them.
159
164
  */
160
165
  threadRuntime?: Mastra['agentThreadStreamRuntime'];
161
166
  /** Max steps for the agentic loop (bakes into the shared loop's isTaskComplete step). */
@@ -206,12 +211,11 @@ export declare class FlowsafeDurableAgent<TAgentId extends string = string, TToo
206
211
  /**
207
212
  * The idempotency key the thread topology already RESERVED for this run.
208
213
  *
209
- * It travels down here for one job: the execution fence's proof-only state
214
+ * It travels down here because the execution fence's proof-only state
210
215
  * admits exactly the start whose key matches its nominated proof key, and
211
216
  * `RunnerRuntime.start` is where that comparison happens. It buys no
212
217
  * exactly-once property at this layer — the reservation above already did —
213
- * so nothing here validates it beyond passing it on, and a run started
214
- * without one behaves exactly as before.
218
+ * so nothing here validates it beyond passing it on.
215
219
  *
216
220
  * Parked per-runId beside the attempt token rather than threaded through
217
221
  * core, because core owns the call between `stream()` and
@@ -228,17 +232,15 @@ export declare class FlowsafeDurableAgent<TAgentId extends string = string, TToo
228
232
  /**
229
233
  * The same host-owned run-ID guard as {@link FlowsafeDurableAgent.stream}.
230
234
  * `prepare()`
231
- * is the third inherited minting entry point: it forwards `options?.runId` into
232
- * core's `prepareForDurableExecution` (agent/durable/index.js:5980), which mints
233
- * an unowned `crypto.randomUUID()` when it is absent
234
- * (agent/durable/index.js:589) AND REGISTERS a run under that id
235
- * (agent/durable/index.js:5984 — all three are 1.50.0-vintage offsets, since
236
- * that file is a re-export shim from 1.53.0) — so a later
235
+ * is an inherited minting entry point: it forwards `options?.runId` into
236
+ * core's `prepareForDurableExecution` (create-durable-agent-DFHwqN2K.js:7882),
237
+ * which mints an unowned `crypto.randomUUID()` when it is absent
238
+ * (create-durable-agent-DFHwqN2K.js:1211) AND REGISTERS a run under that id
239
+ * (create-durable-agent-DFHwqN2K.js:7890) — so a later
237
240
  * `resume(runId)`/`executeWorkflow` sees a bare UUID `PATH_SAFE_ID_PATTERN`
238
241
  * already accepts, past every downstream guard. Enforce the caller-minted ID
239
242
  * here, while "absent" is still visible. A prepared id remains live until core
240
- * cleans up the run, so later `stream()`, `generate()`, `prepare()`, and
241
- * `streamUntilPersisted()` calls carrying that id are refused.
243
+ * cleans up the run.
242
244
  */
243
245
  prepare(messages: Parameters<DurableAgent<TAgentId, TTools, TOutput>['prepare']>[0], options?: Parameters<DurableAgent<TAgentId, TTools, TOutput>['prepare']>[1]): Promise<Awaited<ReturnType<DurableAgent<TAgentId, TTools, TOutput>['prepare']>>>;
244
246
  /**
@@ -254,9 +256,9 @@ export declare class FlowsafeDurableAgent<TAgentId extends string = string, TToo
254
256
  * Refuse core's bulk recovery. `recoverActiveRuns()` is
255
257
  * {@link FlowsafeDurableAgent.listActiveRuns} plus a `recover()` per row, and
256
258
  * it is what `Mastra.recoverAllDurableAgents()` calls on every registered
257
- * durable agent — so this is the one blocked entry point a host can reach
258
- * without a FlowSafe call site, by opting into `recovery: { durableAgents:
259
- * 'auto' }`. That loop isolates each agent in its own try/catch, so this
259
+ * durable agent — so a host reaches this blocked entry point without a
260
+ * FlowSafe call site by opting into `recovery: { durableAgents: 'auto' }`.
261
+ * That loop isolates each agent in its own try/catch, so this
260
262
  * refusal is logged there rather than failing boot. Refuse with an explicit
261
263
  * `runId` too: a single target is still a re-drive off RunnerRuntime.
262
264
  */
@@ -280,30 +282,31 @@ export declare class FlowsafeDurableAgent<TAgentId extends string = string, TToo
280
282
  * — and narrows by `agentId` plus the optional `threadId`/`resourceId`
281
283
  * filters the CALLER supplies, the same scoping `listActiveRuns()` applies.
282
284
  * Same ground too: an unfiltered call returns run, thread and resource ids
283
- * across every principal that shares the agent. It is the one direct
284
- * data-returning discovery member the base `Agent` surface adds; the other
285
- * additions funnel through `this.resumeStream()` and so fail closed on that
286
- * override.
285
+ * across every principal that shares the agent.
287
286
  */
288
287
  listSuspendedRuns(_options?: Parameters<Agent<TAgentId, TTools, TOutput>['listSuspendedRuns']>[0]): Promise<never>;
289
288
  /**
290
- * Refuse the thread-level run enumerator newer cores add.
289
+ * Refuse the thread-level run enumerator.
291
290
  * `listActiveThreadRuns()` takes no arguments and returns a runId plus the
292
- * resourceId and threadId parsed out of the key for every thread on the
293
- * pubsub instance with a run in flight, and core keys that state by pubsub
294
- * instance rather than by agent — so it is the same discovery ground as
291
+ * resourceId and threadId parsed out of the key for every thread on the pubsub
292
+ * instance with a run in flight, and core keys that state by pubsub instance
293
+ * rather than by agent — so it is the same discovery ground as
295
294
  * {@link FlowsafeDurableAgent.listActiveRuns} with the last scoping gone.
296
295
  * The in-process sibling `getActiveThreadRunId()` stays inherited because it
297
296
  * makes the caller name the (resourceId, threadId) pair it confirms.
298
297
  *
299
298
  * Signature caveat, and the reason this one is not `async`: the base declares
300
- * it SYNCHRONOUS (`listActiveThreadRuns(): ActiveThreadRun[]`), so the
301
- * `async … Promise<never>` shape every other refusal here carries would not
302
- * be assignable to it. No `override` keyword either — the pinned 1.53.0
303
- * declares no such member, and `override` on a member the base lacks is a
304
- * type error. Both are re-checks for a peer bump.
299
+ * it SYNCHRONOUS (`listActiveThreadRuns(): ActiveThreadRun[]`), so an
300
+ * `async … Promise<never>` refusal would not be assignable to it. A re-check
301
+ * for a peer bump.
305
302
  */
306
303
  listActiveThreadRuns(): never;
304
+ /** Refuse unscoped thread identity discovery under the second ground. */
305
+ discoverThreadPeers(_options?: unknown): Promise<never>;
306
+ /** Refuse direct run cancellation under the sixth ground. */
307
+ abortRunStream(_runId: string): never;
308
+ /** Refuse direct thread cancellation under the sixth ground. */
309
+ abortThreadStream(_options: unknown): never;
307
310
  /**
308
311
  * Refuse the multi-agent network start. `network()` does not touch the
309
312
  * durable-agentic-loop at all: it compiles a SEPARATE workflow and drives it
@@ -342,7 +345,7 @@ export declare class FlowsafeDurableAgent<TAgentId extends string = string, TToo
342
345
  * omits one, and skips `requireAgentExecutionFGA` — the authorization gate
343
346
  * every SUPPORTED entry point calls, so this would run the agent without it.
344
347
  * (The network family skips that gate too; neither is unique in doing so.) It
345
- * persists no workflow run state, which is why it is refused on those two
348
+ * persists no workflow run state, which is why it is refused on those
346
349
  * grounds rather than as a re-drive.
347
350
  *
348
351
  * Signature caveat: overloaded and generic in OUTPUT on the base, so this
@@ -365,30 +368,68 @@ export declare class FlowsafeDurableAgent<TAgentId extends string = string, TToo
365
368
  * Signature caveat: the base method is generic in OUTPUT, which
366
369
  * `Parameters<>` instantiates to its `undefined` default and so types too
367
370
  * narrowly to satisfy the base. The options parameter is widened to
368
- * `unknown` — the one supertype that fits every instantiation. Re-check on
369
- * every peer bump.
371
+ * `unknown` so it fits each instantiation. Re-check on a peer bump.
370
372
  */
371
373
  sendToolApproval(_options: unknown): Promise<never>;
372
374
  /**
373
- * Refuse the thread-runtime target swap newer cores add. It sets one private
374
- * field that the thread-runtime paths resolve their target through, falling
375
- * back to `this`; the refusal in `BLOCKED_RUN_ENTRIES` names those paths,
376
- * for the core it is written against. So the containment those inherited
377
- * members rely on is virtual dispatch on `this`, and one call to this setter
378
- * moves every run they start, and their replay targets with them, onto an
379
- * agent with none of these overrides in the chain. That is the fourth ground
380
- * reached by installing a second execution surface rather than by calling
381
- * one.
375
+ * Refuse the thread-runtime target swap. It sets one private field that the
376
+ * thread-runtime paths resolve their target through, falling back to `this`;
377
+ * the refusal in `BLOCKED_RUN_ENTRIES` names those paths, for the core it is
378
+ * written against. So the containment those inherited members rely on is
379
+ * virtual dispatch on `this`, and one call to this setter moves every run they
380
+ * start, and their replay targets with them, onto an agent with none of these
381
+ * overrides in the chain. That is the fourth ground reached by installing a
382
+ * second execution surface rather than by calling one.
382
383
  *
383
384
  * Signature caveat: the parameter is `unknown` rather than core's
384
- * `Agent<any, any, any, any>` because the pinned 1.53.0 declares no such
385
- * member at all, while newest 1.x does — `unknown` is the one supertype of
386
- * core's parameter, so it satisfies that base without depending on method
387
- * bivariance, and it constrains nothing on the pin, where there is no base
388
- * member to satisfy. No `override` keyword, for the same reason as
389
- * {@link FlowsafeDurableAgent.listActiveThreadRuns}.
385
+ * `Agent<any, any, any, any>`. `unknown` satisfies that base without
386
+ * depending on method bivariance.
390
387
  */
391
388
  __setThreadRuntimeAgent(_agent: unknown): never;
389
+ /**
390
+ * Refuse binding channels. The base forwards them to the wrapped agent,
391
+ * which becomes their dispatch target outside RunnerRuntime: the fourth
392
+ * ground reached by installation.
393
+ */
394
+ setChannels(_agentChannels: unknown): never;
395
+ /**
396
+ * Refuse declaring schedules. The base forwards them to the wrapped agent,
397
+ * which a Mastra schedule worker fires outside RunnerRuntime: the fourth
398
+ * ground reached by installation.
399
+ *
400
+ * Signature caveat: the parameter is `unknown` rather than core's
401
+ * `DeclaredAgentSchedule[]`, which it satisfies without depending on method
402
+ * bivariance.
403
+ */
404
+ __setDeclaredSchedules(_schedules: unknown): never;
405
+ /**
406
+ * Refuse memory installation after construction under the fifth ground.
407
+ *
408
+ * Signature caveat: `unknown` accepts core's memory parameter without
409
+ * depending on method bivariance.
410
+ */
411
+ __setMemory(_memory: unknown): never;
412
+ /**
413
+ * Refuse pub/sub installation after construction under the fifth ground.
414
+ *
415
+ * Signature caveat: `unknown` accepts core's pub/sub parameter without
416
+ * depending on method bivariance.
417
+ */
418
+ __setPubSub(_pubsub: unknown): never;
419
+ /**
420
+ * Refuse Mastra registration. `Mastra.addAgent` calls this first, so the
421
+ * refusal throws before the registry write and before the loop workflow is
422
+ * added to that Mastra.
423
+ *
424
+ * Signature caveat: the parameter is `unknown` rather than core's `Mastra`,
425
+ * which it satisfies without depending on method bivariance.
426
+ */
427
+ __setMastra(_mastra: unknown): never;
428
+ /**
429
+ * The member {@link FlowsafeDurableAgent.__setMastra} forwards to, which
430
+ * `Agent.listAgents` calls directly on a static sub-agent.
431
+ */
432
+ __registerMastra(_mastra: unknown): never;
392
433
  /**
393
434
  * Refuse core's terminal snapshot cleanup. Its only call sites are the base
394
435
  * `executeWorkflow` (overridden here), the blocked `resume()` and the blocked
@@ -396,22 +437,19 @@ export declare class FlowsafeDurableAgent<TAgentId extends string = string, TToo
396
437
  * snapshot rows — which deployment-scoped retention purge owns — from being
397
438
  * dropped out from under that owner by a future internal caller.
398
439
  *
399
- * Note what this override buys beyond that call-site audit: the member
400
- * inventory in durable-agent-surface.test.ts sees a NEW member, never a new
401
- * core call site on an EXISTING one. So the override is the standing guard —
440
+ * Note what this override buys beyond that call-site audit: the override is
441
+ * the standing guard —
402
442
  * it converts core's best-effort cleanup into a throw the moment a future
403
- * release calls it on a path FlowSafe drives. None does at 1.53.0.
443
+ * release calls it on a path FlowSafe drives. None does at 1.67.0.
404
444
  */
405
445
  protected deleteRunSnapshots(_runId: string): Promise<never>;
406
446
  /**
407
- * Refuse core's durable resume. Until 1.53.0 this merely read the in-process
408
- * run registry, which is why it was left inherited-but-unwired; now a registry
409
- * MISS makes it load the persisted `durable-agentic-loop` snapshot, rehydrate
410
- * through `prepare()` with the full application processor chain, and re-drive
411
- * the run with `createRun + run.resume` — below `executeWorkflow`, so the leg
412
- * carries no minted grant and no snapshot provenance.
413
- * {@link FlowsafeDurableAgent.resumeViaRuntime} is the only resume path, and
414
- * it is reached from the approval decision, never from a client.
447
+ * Refuse core's durable resume. From 1.53.0 a registry MISS makes it load the
448
+ * persisted `durable-agentic-loop` snapshot, rehydrate through `prepare()`
449
+ * with the full application processor chain, and re-drive the run with
450
+ * `createRun + run.resume` — below `executeWorkflow`, so the leg carries no
451
+ * minted grant and no snapshot provenance. The runner's resume path is
452
+ * {@link FlowsafeDurableAgent.resumeViaRuntime}.
415
453
  */
416
454
  resume(_runId: Parameters<DurableAgent<TAgentId, TTools, TOutput>['resume']>[0], _resumeData: Parameters<DurableAgent<TAgentId, TTools, TOutput>['resume']>[1], _options?: Parameters<DurableAgent<TAgentId, TTools, TOutput>['resume']>[2]): Promise<never>;
417
455
  /**
@@ -435,11 +473,11 @@ export declare class FlowsafeDurableAgent<TAgentId extends string = string, TToo
435
473
  /** The decline half of {@link FlowsafeDurableAgent.approveToolCall}. */
436
474
  declineToolCall(_options: Parameters<DurableAgent<TAgentId, TTools, TOutput>['declineToolCall']>[0]): Promise<never>;
437
475
  /**
438
- * The 1.53.0 generate-shaped tool-approval pair. They funnel into
439
- * `resumeGenerate()` -> `resume()`, so they are the same entry point wearing a
476
+ * The 1.53.0 generate-shaped tool-approval entries. They funnel into
477
+ * `resumeGenerate()` -> `resume()`, so they are the same entry point with a
440
478
  * different return type.
441
479
  *
442
- * Signature caveat for both halves: the base method is GENERIC in its OUTPUT
480
+ * Signature caveat for each: the base method is GENERIC in its OUTPUT
443
481
  * type, which `Parameters<>` cannot carry, so the parameter type below is
444
482
  * hand-written rather than derived. Re-check it against the base on every
445
483
  * peer bump — nothing here fails if core changes the shape.
@@ -1 +1 @@
1
- {"version":3,"file":"durable-agent-runner.d.ts","sourceRoot":"","sources":["../../src/agent-runner/durable-agent-runner.ts"],"names":[],"mappings":"AA2RA,OAAO,EACL,KAAK,KAAK,EACV,KAAK,qBAAqB,EAI1B,KAAK,UAAU,EAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,YAAY,EACZ,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAG/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAIlD,OAAO,EACL,KAAK,sBAAsB,EAG5B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,sBAAsB,EAG3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EACnB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAGL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EACV,uBAAuB,EACvB,cAAc,EACd,aAAa,EACb,UAAU,EACV,eAAe,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,4CAA4C,CAAC;AAEpD,iFAAiF;AACjF,MAAM,MAAM,4BAA4B,GAAG,uBAAuB,GAAG;IACnE,QAAQ,CAAC,SAAS,EAAE,sBAAsB,CAAC;IAC3C,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,2EAA2E;AAC3E,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG;IACjD,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,wEAAwE;AACxE,qBAAa,6BAA8B,SAAQ,uBAAuB;gBAC5D,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAI9C;AAED,sEAAsE;AACtE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,gBA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;;;;;OAQG;cACsB,eAAe,CACtC,KAAK,EAAE,MAAM,EACb,aAAa,EAAE,2BAA2B,GACzC,OAAO,CAAC,IAAI,CAAC;CA6FjB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,0BAA0B,CACxC,QAAQ,SAAS,MAAM,GAAG,MAAM,EAChC,MAAM,SAAS,UAAU,GAAG,UAAU,EACtC,OAAO,GAAG,SAAS,EAEnB,OAAO,EAAE,2BAA2B,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,GAC9D,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAYjD"}
1
+ {"version":3,"file":"durable-agent-runner.d.ts","sourceRoot":"","sources":["../../src/agent-runner/durable-agent-runner.ts"],"names":[],"mappings":"AAgSA,OAAO,EACL,KAAK,KAAK,EACV,KAAK,qBAAqB,EAS1B,KAAK,UAAU,EAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,YAAY,EACZ,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAG/B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAIlD,OAAO,EACL,KAAK,sBAAsB,EAG5B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,sBAAsB,EAG3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EACnB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAGL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EACV,uBAAuB,EACvB,cAAc,EACd,aAAa,EACb,UAAU,EACV,eAAe,EAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,4CAA4C,CAAC;AAEpD,iFAAiF;AACjF,MAAM,MAAM,4BAA4B,GAAG,uBAAuB,GAAG;IACnE,QAAQ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