@animalabs/agent-framework 0.22.0 → 0.22.2

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 (418) hide show
  1. package/README.md +12 -5
  2. package/dist/src/agent.d.ts +192 -19
  3. package/dist/src/agent.d.ts.map +1 -1
  4. package/dist/src/agent.js +407 -66
  5. package/dist/src/agent.js.map +1 -1
  6. package/dist/src/api/mcp-server-core.d.ts +41 -0
  7. package/dist/src/api/mcp-server-core.d.ts.map +1 -0
  8. package/dist/src/api/mcp-server-core.js +593 -0
  9. package/dist/src/api/mcp-server-core.js.map +1 -0
  10. package/dist/src/api/mcp-server.d.ts +2 -36
  11. package/dist/src/api/mcp-server.d.ts.map +1 -1
  12. package/dist/src/api/mcp-server.js +15 -595
  13. package/dist/src/api/mcp-server.js.map +1 -1
  14. package/dist/src/api/server.d.ts +9 -1
  15. package/dist/src/api/server.d.ts.map +1 -1
  16. package/dist/src/api/server.js +84 -23
  17. package/dist/src/api/server.js.map +1 -1
  18. package/dist/src/api/types.d.ts +9 -1
  19. package/dist/src/api/types.d.ts.map +1 -1
  20. package/dist/src/code-execution/py-runner.d.ts.map +1 -1
  21. package/dist/src/code-execution/py-runner.js.map +1 -1
  22. package/dist/src/framework.d.ts +682 -103
  23. package/dist/src/framework.d.ts.map +1 -1
  24. package/dist/src/framework.js +3202 -718
  25. package/dist/src/framework.js.map +1 -1
  26. package/dist/src/gate/event-gate.d.ts.map +1 -1
  27. package/dist/src/gate/gate-script.d.ts.map +1 -1
  28. package/dist/src/gate/gate-script.js.map +1 -1
  29. package/dist/src/index.d.ts +4 -4
  30. package/dist/src/index.d.ts.map +1 -1
  31. package/dist/src/index.js +2 -2
  32. package/dist/src/index.js.map +1 -1
  33. package/dist/src/mcpl/capability-grant.d.ts.map +1 -1
  34. package/dist/src/mcpl/channel-registry.d.ts +26 -7
  35. package/dist/src/mcpl/channel-registry.d.ts.map +1 -1
  36. package/dist/src/mcpl/channel-registry.js +102 -22
  37. package/dist/src/mcpl/channel-registry.js.map +1 -1
  38. package/dist/src/mcpl/checkpoint-manager.d.ts.map +1 -1
  39. package/dist/src/mcpl/checkpoint-manager.js.map +1 -1
  40. package/dist/src/mcpl/conversation-router.d.ts.map +1 -1
  41. package/dist/src/mcpl/errors.js.map +1 -1
  42. package/dist/src/mcpl/feature-set-manager.d.ts.map +1 -1
  43. package/dist/src/mcpl/feature-set-manager.js +4 -3
  44. package/dist/src/mcpl/feature-set-manager.js.map +1 -1
  45. package/dist/src/mcpl/hook-orchestrator.d.ts.map +1 -1
  46. package/dist/src/mcpl/index.d.ts +2 -0
  47. package/dist/src/mcpl/index.d.ts.map +1 -1
  48. package/dist/src/mcpl/index.js.map +1 -1
  49. package/dist/src/mcpl/inference-router.d.ts.map +1 -1
  50. package/dist/src/mcpl/log-value.d.ts +54 -0
  51. package/dist/src/mcpl/log-value.d.ts.map +1 -0
  52. package/dist/src/mcpl/log-value.js +109 -0
  53. package/dist/src/mcpl/log-value.js.map +1 -0
  54. package/dist/src/mcpl/prose-stream-router.d.ts +6 -6
  55. package/dist/src/mcpl/prose-stream-router.d.ts.map +1 -1
  56. package/dist/src/mcpl/prose-stream-router.js +4 -4
  57. package/dist/src/mcpl/prose-stream-router.js.map +1 -1
  58. package/dist/src/mcpl/push-coalescer.d.ts +38 -3
  59. package/dist/src/mcpl/push-coalescer.d.ts.map +1 -1
  60. package/dist/src/mcpl/push-coalescer.js +81 -16
  61. package/dist/src/mcpl/push-coalescer.js.map +1 -1
  62. package/dist/src/mcpl/push-handler.d.ts +26 -3
  63. package/dist/src/mcpl/push-handler.d.ts.map +1 -1
  64. package/dist/src/mcpl/push-handler.js +87 -23
  65. package/dist/src/mcpl/push-handler.js.map +1 -1
  66. package/dist/src/mcpl/reference-fetcher.d.ts +2 -1
  67. package/dist/src/mcpl/reference-fetcher.d.ts.map +1 -1
  68. package/dist/src/mcpl/reference-fetcher.js +20 -9
  69. package/dist/src/mcpl/reference-fetcher.js.map +1 -1
  70. package/dist/src/mcpl/references.d.ts +29 -6
  71. package/dist/src/mcpl/references.d.ts.map +1 -1
  72. package/dist/src/mcpl/references.js +57 -16
  73. package/dist/src/mcpl/references.js.map +1 -1
  74. package/dist/src/mcpl/refusal-lines.d.ts +37 -0
  75. package/dist/src/mcpl/refusal-lines.d.ts.map +1 -0
  76. package/dist/src/mcpl/refusal-lines.js +61 -0
  77. package/dist/src/mcpl/refusal-lines.js.map +1 -0
  78. package/dist/src/mcpl/scope-manager.d.ts.map +1 -1
  79. package/dist/src/mcpl/server-connection.d.ts +46 -3
  80. package/dist/src/mcpl/server-connection.d.ts.map +1 -1
  81. package/dist/src/mcpl/server-connection.js +98 -15
  82. package/dist/src/mcpl/server-connection.js.map +1 -1
  83. package/dist/src/mcpl/server-registry.d.ts.map +1 -1
  84. package/dist/src/mcpl/tool-classes.d.ts +1 -1
  85. package/dist/src/mcpl/tool-classes.d.ts.map +1 -1
  86. package/dist/src/mcpl/tool-classes.js +3 -2
  87. package/dist/src/mcpl/tool-classes.js.map +1 -1
  88. package/dist/src/mcpl/tool-lifecycle.d.ts.map +1 -1
  89. package/dist/src/mcpl/tool-lifecycle.js.map +1 -1
  90. package/dist/src/mcpl/transport.d.ts +23 -5
  91. package/dist/src/mcpl/transport.d.ts.map +1 -1
  92. package/dist/src/mcpl/transport.js +103 -10
  93. package/dist/src/mcpl/transport.js.map +1 -1
  94. package/dist/src/mcpl/types.d.ts +30 -26
  95. package/dist/src/mcpl/types.d.ts.map +1 -1
  96. package/dist/src/mcpl/types.js.map +1 -1
  97. package/dist/src/module-registry.d.ts +9 -3
  98. package/dist/src/module-registry.d.ts.map +1 -1
  99. package/dist/src/module-registry.js +3 -2
  100. package/dist/src/module-registry.js.map +1 -1
  101. package/dist/src/modules/api/index.d.ts.map +1 -1
  102. package/dist/src/modules/discord/discord-js-client.d.ts.map +1 -1
  103. package/dist/src/modules/discord/discord-js-client.js.map +1 -1
  104. package/dist/src/modules/discord/index.d.ts.map +1 -1
  105. package/dist/src/modules/discord/index.js +4 -2
  106. package/dist/src/modules/discord/index.js.map +1 -1
  107. package/dist/src/modules/health/index.d.ts.map +1 -1
  108. package/dist/src/modules/health/index.js.map +1 -1
  109. package/dist/src/modules/history/index.d.ts.map +1 -1
  110. package/dist/src/modules/history/index.js.map +1 -1
  111. package/dist/src/modules/history/semantic.d.ts.map +1 -1
  112. package/dist/src/modules/history/semantic.js.map +1 -1
  113. package/dist/src/modules/workspace/branch-intent.d.ts.map +1 -1
  114. package/dist/src/modules/workspace/branch-intent.js.map +1 -1
  115. package/dist/src/modules/workspace/disk-agreement.d.ts +22 -4
  116. package/dist/src/modules/workspace/disk-agreement.d.ts.map +1 -1
  117. package/dist/src/modules/workspace/disk-agreement.js +63 -25
  118. package/dist/src/modules/workspace/disk-agreement.js.map +1 -1
  119. package/dist/src/modules/workspace/effects.d.ts.map +1 -1
  120. package/dist/src/modules/workspace/index.d.ts +8 -4
  121. package/dist/src/modules/workspace/index.d.ts.map +1 -1
  122. package/dist/src/modules/workspace/index.js +85 -16
  123. package/dist/src/modules/workspace/index.js.map +1 -1
  124. package/dist/src/modules/workspace/observe.d.ts +56 -11
  125. package/dist/src/modules/workspace/observe.d.ts.map +1 -1
  126. package/dist/src/modules/workspace/observe.js +288 -43
  127. package/dist/src/modules/workspace/observe.js.map +1 -1
  128. package/dist/src/modules/workspace/reconcile.d.ts +31 -1
  129. package/dist/src/modules/workspace/reconcile.d.ts.map +1 -1
  130. package/dist/src/modules/workspace/reconcile.js +63 -12
  131. package/dist/src/modules/workspace/reconcile.js.map +1 -1
  132. package/dist/src/modules/workspace/types.d.ts +27 -2
  133. package/dist/src/modules/workspace/types.d.ts.map +1 -1
  134. package/dist/src/modules/workspace/types.js.map +1 -1
  135. package/dist/src/modules/workspace/watcher.d.ts.map +1 -1
  136. package/dist/src/modules/workspace/watcher.js.map +1 -1
  137. package/dist/src/operator-log.d.ts +41 -0
  138. package/dist/src/operator-log.d.ts.map +1 -1
  139. package/dist/src/operator-log.js.map +1 -1
  140. package/dist/src/provider-waits.d.ts +216 -0
  141. package/dist/src/provider-waits.d.ts.map +1 -0
  142. package/dist/src/provider-waits.js +482 -0
  143. package/dist/src/provider-waits.js.map +1 -0
  144. package/dist/src/queue.d.ts.map +1 -1
  145. package/dist/src/record-journal.d.ts.map +1 -1
  146. package/dist/src/record-journal.js.map +1 -1
  147. package/dist/src/recovery/discord-awareness-outbox.d.ts.map +1 -1
  148. package/dist/src/recovery/discord-awareness-outbox.js.map +1 -1
  149. package/dist/src/recovery/offline-branch.d.ts.map +1 -1
  150. package/dist/src/recovery/offline-branch.js +29 -24
  151. package/dist/src/recovery/offline-branch.js.map +1 -1
  152. package/dist/src/recovery/recover-cli.js.map +1 -1
  153. package/dist/src/refusal-reactions.d.ts +14 -12
  154. package/dist/src/refusal-reactions.d.ts.map +1 -1
  155. package/dist/src/refusal-reactions.js +14 -12
  156. package/dist/src/refusal-reactions.js.map +1 -1
  157. package/dist/src/runtime/liveness-watchdog.d.ts.map +1 -1
  158. package/dist/src/runtime/liveness-watchdog.js.map +1 -1
  159. package/dist/src/shutdown.d.ts.map +1 -1
  160. package/dist/src/shutdown.js.map +1 -1
  161. package/dist/src/stored-removal.d.ts +73 -0
  162. package/dist/src/stored-removal.d.ts.map +1 -0
  163. package/dist/src/stored-removal.js +100 -0
  164. package/dist/src/stored-removal.js.map +1 -0
  165. package/dist/src/thinking-token-stamp.js.map +1 -1
  166. package/dist/src/tool-image-ledger.d.ts.map +1 -1
  167. package/dist/src/tool-image-ledger.js.map +1 -1
  168. package/dist/src/tool-presentation.d.ts.map +1 -1
  169. package/dist/src/tool-presentation.js.map +1 -1
  170. package/dist/src/tool-result-guard.d.ts +30 -13
  171. package/dist/src/tool-result-guard.d.ts.map +1 -1
  172. package/dist/src/tool-result-guard.js +71 -25
  173. package/dist/src/tool-result-guard.js.map +1 -1
  174. package/dist/src/tune-out/coordinator.d.ts.map +1 -1
  175. package/dist/src/tune-out/coordinator.js.map +1 -1
  176. package/dist/src/tune-out/tools.d.ts +1 -1
  177. package/dist/src/tune-out/tools.d.ts.map +1 -1
  178. package/dist/src/types/agent.d.ts +42 -6
  179. package/dist/src/types/agent.d.ts.map +1 -1
  180. package/dist/src/types/events.d.ts +12 -0
  181. package/dist/src/types/events.d.ts.map +1 -1
  182. package/dist/src/types/framework.d.ts +10 -0
  183. package/dist/src/types/framework.d.ts.map +1 -1
  184. package/dist/src/types/module.d.ts +20 -8
  185. package/dist/src/types/module.d.ts.map +1 -1
  186. package/dist/src/types/trace.d.ts +75 -13
  187. package/dist/src/types/trace.d.ts.map +1 -1
  188. package/dist/src/usage/usage-tracker.d.ts.map +1 -1
  189. package/dist/test/agent-runtime-settings.test.js +1139 -3
  190. package/dist/test/agent-runtime-settings.test.js.map +1 -1
  191. package/dist/test/batched-wake-locus.test.js.map +1 -1
  192. package/dist/test/channel-label-history.test.js.map +1 -1
  193. package/dist/test/code-execution.test.js.map +1 -1
  194. package/dist/test/conversation-fork-injection-scoping.test.js.map +1 -1
  195. package/dist/test/conversation-router.test.js.map +1 -1
  196. package/dist/test/conversation-routing.test.js +240 -6
  197. package/dist/test/conversation-routing.test.js.map +1 -1
  198. package/dist/test/discord-awareness-outbox.test.js +107 -0
  199. package/dist/test/discord-awareness-outbox.test.js.map +1 -1
  200. package/dist/test/discord-typing-keepalive.test.d.ts +2 -0
  201. package/dist/test/discord-typing-keepalive.test.d.ts.map +1 -0
  202. package/dist/test/discord-typing-keepalive.test.js +77 -0
  203. package/dist/test/discord-typing-keepalive.test.js.map +1 -0
  204. package/dist/test/ephemeral-settle.test.js.map +1 -1
  205. package/dist/test/event-gate-passthrough.test.js.map +1 -1
  206. package/dist/test/event-gate-policy-mutation.test.js.map +1 -1
  207. package/dist/test/event-gate-rate-limit.test.js.map +1 -1
  208. package/dist/test/event-gate-script.test.js.map +1 -1
  209. package/dist/test/event-gate-selfwake.test.js.map +1 -1
  210. package/dist/test/event-gate-tags.test.js.map +1 -1
  211. package/dist/test/event-gate.test.js.map +1 -1
  212. package/dist/test/explicit-prose-routing.test.js +363 -44
  213. package/dist/test/explicit-prose-routing.test.js.map +1 -1
  214. package/dist/test/framework.test.js +160 -1
  215. package/dist/test/framework.test.js.map +1 -1
  216. package/dist/test/helpers/coalescing-fixture.d.ts +2 -0
  217. package/dist/test/helpers/coalescing-fixture.d.ts.map +1 -1
  218. package/dist/test/helpers/coalescing-fixture.js +11 -4
  219. package/dist/test/helpers/coalescing-fixture.js.map +1 -1
  220. package/dist/test/helpers/mock-membrane.d.ts.map +1 -1
  221. package/dist/test/helpers/mock-membrane.js.map +1 -1
  222. package/dist/test/hide-then-turn.test.d.ts +2 -0
  223. package/dist/test/hide-then-turn.test.d.ts.map +1 -0
  224. package/dist/test/hide-then-turn.test.js +101 -0
  225. package/dist/test/hide-then-turn.test.js.map +1 -0
  226. package/dist/test/history-module-overview.test.js.map +1 -1
  227. package/dist/test/history-module-semantic.test.js.map +1 -1
  228. package/dist/test/history-module.test.js.map +1 -1
  229. package/dist/test/history-semantic-review-findings.test.js.map +1 -1
  230. package/dist/test/host-quiesce.test.js +125 -0
  231. package/dist/test/host-quiesce.test.js.map +1 -1
  232. package/dist/test/inference-exhaustion-rewind.test.js +220 -14
  233. package/dist/test/inference-exhaustion-rewind.test.js.map +1 -1
  234. package/dist/test/inference-failure-bounds.test.d.ts +2 -0
  235. package/dist/test/inference-failure-bounds.test.d.ts.map +1 -0
  236. package/dist/test/inference-failure-bounds.test.js +1202 -0
  237. package/dist/test/inference-failure-bounds.test.js.map +1 -0
  238. package/dist/test/kv-unified-open-flight-retry.test.js.map +1 -1
  239. package/dist/test/late-events-after-stop.test.d.ts +2 -0
  240. package/dist/test/late-events-after-stop.test.d.ts.map +1 -0
  241. package/dist/test/late-events-after-stop.test.js +122 -0
  242. package/dist/test/late-events-after-stop.test.js.map +1 -0
  243. package/dist/test/liveness-watchdog.test.js.map +1 -1
  244. package/dist/test/maintenance-timer.test.js +1564 -2
  245. package/dist/test/maintenance-timer.test.js.map +1 -1
  246. package/dist/test/mcp-server-bin.test.d.ts +2 -0
  247. package/dist/test/mcp-server-bin.test.d.ts.map +1 -0
  248. package/dist/test/mcp-server-bin.test.js +142 -0
  249. package/dist/test/mcp-server-bin.test.js.map +1 -0
  250. package/dist/test/mcpl-awareness-barrier.test.js +141 -0
  251. package/dist/test/mcpl-awareness-barrier.test.js.map +1 -1
  252. package/dist/test/mcpl-child-env.test.js +1 -1
  253. package/dist/test/mcpl-child-env.test.js.map +1 -1
  254. package/dist/test/mcpl-coalesced-content-parity.test.d.ts +2 -0
  255. package/dist/test/mcpl-coalesced-content-parity.test.d.ts.map +1 -0
  256. package/dist/test/mcpl-coalesced-content-parity.test.js +532 -0
  257. package/dist/test/mcpl-coalesced-content-parity.test.js.map +1 -0
  258. package/dist/test/mcpl-coalescing.test.js +78 -16
  259. package/dist/test/mcpl-coalescing.test.js.map +1 -1
  260. package/dist/test/mcpl-config-diagnostics.test.js +6 -3
  261. package/dist/test/mcpl-config-diagnostics.test.js.map +1 -1
  262. package/dist/test/mcpl-gate-roundtrip.test.js.map +1 -1
  263. package/dist/test/mcpl-manifest-changed.test.js +2 -1
  264. package/dist/test/mcpl-manifest-changed.test.js.map +1 -1
  265. package/dist/test/mcpl-reconnect-events.test.js.map +1 -1
  266. package/dist/test/mcpl-reconnect-reregistration.test.js +2 -0
  267. package/dist/test/mcpl-reconnect-reregistration.test.js.map +1 -1
  268. package/dist/test/mcpl-reference-fetcher.test.js +232 -4
  269. package/dist/test/mcpl-reference-fetcher.test.js.map +1 -1
  270. package/dist/test/mcpl-reference-fields.test.js +69 -2
  271. package/dist/test/mcpl-reference-fields.test.js.map +1 -1
  272. package/dist/test/mcpl-rejection-log-lines.test.d.ts +2 -0
  273. package/dist/test/mcpl-rejection-log-lines.test.d.ts.map +1 -0
  274. package/dist/test/mcpl-rejection-log-lines.test.js +349 -0
  275. package/dist/test/mcpl-rejection-log-lines.test.js.map +1 -0
  276. package/dist/test/mcpl-stderr-tail.test.d.ts +2 -0
  277. package/dist/test/mcpl-stderr-tail.test.d.ts.map +1 -0
  278. package/dist/test/mcpl-stderr-tail.test.js +210 -0
  279. package/dist/test/mcpl-stderr-tail.test.js.map +1 -0
  280. package/dist/test/mcpl-tool-lifecycle-e2e.test.js.map +1 -1
  281. package/dist/test/mcpl-tool-lifecycle-emitter.test.js.map +1 -1
  282. package/dist/test/mcpl-tool-lifecycle-script.test.js.map +1 -1
  283. package/dist/test/mcpl-tool-lifecycle.test.js.map +1 -1
  284. package/dist/test/mcpl-transport-close.test.d.ts +2 -0
  285. package/dist/test/mcpl-transport-close.test.d.ts.map +1 -0
  286. package/dist/test/mcpl-transport-close.test.js +373 -0
  287. package/dist/test/mcpl-transport-close.test.js.map +1 -0
  288. package/dist/test/mcpl-transport-spawn.test.d.ts +2 -0
  289. package/dist/test/mcpl-transport-spawn.test.d.ts.map +1 -0
  290. package/dist/test/mcpl-transport-spawn.test.js +58 -0
  291. package/dist/test/mcpl-transport-spawn.test.js.map +1 -0
  292. package/dist/test/mcpl-ws-transport.test.js +104 -0
  293. package/dist/test/mcpl-ws-transport.test.js.map +1 -1
  294. package/dist/test/offline-recovery-branch.test.js +344 -0
  295. package/dist/test/offline-recovery-branch.test.js.map +1 -1
  296. package/dist/test/operator-surgery.test.js +197 -0
  297. package/dist/test/operator-surgery.test.js.map +1 -1
  298. package/dist/test/ops-alert.test.js +2 -1
  299. package/dist/test/ops-alert.test.js.map +1 -1
  300. package/dist/test/overbudget-drain-breaker.test.js +1 -0
  301. package/dist/test/overbudget-drain-breaker.test.js.map +1 -1
  302. package/dist/test/pack-installs-alone.test.d.ts +2 -0
  303. package/dist/test/pack-installs-alone.test.d.ts.map +1 -0
  304. package/dist/test/pack-installs-alone.test.js +284 -0
  305. package/dist/test/pack-installs-alone.test.js.map +1 -0
  306. package/dist/test/physical-window-restart.test.d.ts +6 -4
  307. package/dist/test/physical-window-restart.test.d.ts.map +1 -1
  308. package/dist/test/physical-window-restart.test.js +275 -10
  309. package/dist/test/physical-window-restart.test.js.map +1 -1
  310. package/dist/test/placed-reaction-baseline.test.d.ts +2 -0
  311. package/dist/test/placed-reaction-baseline.test.d.ts.map +1 -0
  312. package/dist/test/placed-reaction-baseline.test.js +312 -0
  313. package/dist/test/placed-reaction-baseline.test.js.map +1 -0
  314. package/dist/test/present-while-acting.test.js +949 -6
  315. package/dist/test/present-while-acting.test.js.map +1 -1
  316. package/dist/test/provider-acceleration-cooldown.test.js +5 -1
  317. package/dist/test/provider-acceleration-cooldown.test.js.map +1 -1
  318. package/dist/test/provider-waits.test.d.ts +2 -0
  319. package/dist/test/provider-waits.test.d.ts.map +1 -0
  320. package/dist/test/provider-waits.test.js +2259 -0
  321. package/dist/test/provider-waits.test.js.map +1 -0
  322. package/dist/test/puppet-tool-call.test.js +2 -0
  323. package/dist/test/puppet-tool-call.test.js.map +1 -1
  324. package/dist/test/reaction-baseline-platform.test.d.ts +2 -0
  325. package/dist/test/reaction-baseline-platform.test.d.ts.map +1 -0
  326. package/dist/test/reaction-baseline-platform.test.js +124 -0
  327. package/dist/test/reaction-baseline-platform.test.js.map +1 -0
  328. package/dist/test/record-journal.test.js.map +1 -1
  329. package/dist/test/refusal-reaction-baseline.test.js +10 -3
  330. package/dist/test/refusal-reaction-baseline.test.js.map +1 -1
  331. package/dist/test/refusal-rewind.test.js +9 -0
  332. package/dist/test/refusal-rewind.test.js.map +1 -1
  333. package/dist/test/refusal-single-call.test.js.map +1 -1
  334. package/dist/test/release-bump.test.d.ts +2 -0
  335. package/dist/test/release-bump.test.d.ts.map +1 -0
  336. package/dist/test/release-bump.test.js +248 -0
  337. package/dist/test/release-bump.test.js.map +1 -0
  338. package/dist/test/release-changelog.test.js.map +1 -1
  339. package/dist/test/release-holds.test.d.ts +2 -0
  340. package/dist/test/release-holds.test.d.ts.map +1 -0
  341. package/dist/test/release-holds.test.js +456 -0
  342. package/dist/test/release-holds.test.js.map +1 -0
  343. package/dist/test/same-round-think-policy.test.js.map +1 -1
  344. package/dist/test/save-recent-image.test.js +138 -2
  345. package/dist/test/save-recent-image.test.js.map +1 -1
  346. package/dist/test/shutdown-errors.test.js.map +1 -1
  347. package/dist/test/silent-heartbeat-rows.test.js.map +1 -1
  348. package/dist/test/stop-with-host-operations.test.d.ts +20 -0
  349. package/dist/test/stop-with-host-operations.test.d.ts.map +1 -0
  350. package/dist/test/stop-with-host-operations.test.js +1174 -0
  351. package/dist/test/stop-with-host-operations.test.js.map +1 -0
  352. package/dist/test/stop-with-work-in-flight.test.js +162 -50
  353. package/dist/test/stop-with-work-in-flight.test.js.map +1 -1
  354. package/dist/test/surgery-marks-receipt.test.d.ts +2 -0
  355. package/dist/test/surgery-marks-receipt.test.d.ts.map +1 -0
  356. package/dist/test/surgery-marks-receipt.test.js +540 -0
  357. package/dist/test/surgery-marks-receipt.test.js.map +1 -0
  358. package/dist/test/tool-batch-hook.test.js.map +1 -1
  359. package/dist/test/tool-result-guard.test.js +352 -16
  360. package/dist/test/tool-result-guard.test.js.map +1 -1
  361. package/dist/test/tool-result-spill.test.js.map +1 -1
  362. package/dist/test/tool-wrapper-prose-guard-integration.test.js.map +1 -1
  363. package/dist/test/trunk-channel-routing.test.js +330 -7
  364. package/dist/test/trunk-channel-routing.test.js.map +1 -1
  365. package/dist/test/tune-out-e2e.test.js.map +1 -1
  366. package/dist/test/unconvertible-tool-result.test.js.map +1 -1
  367. package/dist/test/unsent-compiles.test.d.ts +2 -0
  368. package/dist/test/unsent-compiles.test.d.ts.map +1 -0
  369. package/dist/test/unsent-compiles.test.js +139 -0
  370. package/dist/test/unsent-compiles.test.js.map +1 -0
  371. package/dist/test/workspace-branch-continuation.test.js.map +1 -1
  372. package/dist/test/workspace-materialize-freshness.test.js.map +1 -1
  373. package/dist/test/workspace-read-text.test.js.map +1 -1
  374. package/dist/test/workspace-three-way.test.js +1022 -7
  375. package/dist/test/workspace-three-way.test.js.map +1 -1
  376. package/dist/test/workspace-watcher.test.js.map +1 -1
  377. package/dist/test/xml-round-persist.test.js.map +1 -1
  378. package/dist/tsconfig.tsbuildinfo +1 -1
  379. package/package.json +8 -6
  380. package/src/agent.ts +415 -67
  381. package/src/api/mcp-server-core.ts +681 -0
  382. package/src/api/mcp-server.ts +16 -685
  383. package/src/api/server.ts +87 -26
  384. package/src/api/types.ts +9 -1
  385. package/src/framework.ts +3389 -782
  386. package/src/index.ts +9 -4
  387. package/src/mcpl/channel-registry.ts +126 -31
  388. package/src/mcpl/feature-set-manager.ts +4 -3
  389. package/src/mcpl/index.ts +2 -0
  390. package/src/mcpl/log-value.ts +116 -0
  391. package/src/mcpl/prose-stream-router.ts +6 -6
  392. package/src/mcpl/push-coalescer.ts +76 -12
  393. package/src/mcpl/push-handler.ts +95 -23
  394. package/src/mcpl/reference-fetcher.ts +18 -8
  395. package/src/mcpl/references.ts +57 -13
  396. package/src/mcpl/refusal-lines.ts +59 -0
  397. package/src/mcpl/server-connection.ts +125 -15
  398. package/src/mcpl/tool-classes.ts +3 -2
  399. package/src/mcpl/transport.ts +105 -14
  400. package/src/mcpl/types.ts +5 -1
  401. package/src/module-registry.ts +17 -9
  402. package/src/modules/discord/index.ts +4 -2
  403. package/src/modules/workspace/disk-agreement.ts +74 -18
  404. package/src/modules/workspace/index.ts +85 -15
  405. package/src/modules/workspace/observe.ts +295 -43
  406. package/src/modules/workspace/reconcile.ts +90 -12
  407. package/src/modules/workspace/types.ts +26 -1
  408. package/src/operator-log.ts +30 -0
  409. package/src/provider-waits.ts +523 -0
  410. package/src/recovery/offline-branch.ts +32 -28
  411. package/src/refusal-reactions.ts +14 -12
  412. package/src/stored-removal.ts +126 -0
  413. package/src/tool-result-guard.ts +72 -24
  414. package/src/types/agent.ts +42 -6
  415. package/src/types/events.ts +12 -0
  416. package/src/types/framework.ts +10 -0
  417. package/src/types/module.ts +20 -8
  418. package/src/types/trace.ts +76 -14
package/README.md CHANGED
@@ -224,6 +224,10 @@ it with `discordAwarenessDeadlineMs` (default 10000ms, clamped to 50..60000ms).
224
224
  Configure the online marker with `discordAwarenessEmoji`; the offline CLI
225
225
  accepts `--emoji`.
226
226
 
227
+ For stdio MCPL children, the framework defaults `DISCORD_SUPPRESSED_REACTIONS_BASELINE` to the reactions it places: its refusal markers, the Discord adapter's default awareness marker, the configured awareness marker, and every retained outbox emoji. This covers later removals and replays after a configuration change. Suppression is by emoji, so members' own reactions with those emoji stop reaching the agent too. The default is derived at each spawn of a child (its first connect, each automatic reconnect, a restart), so the next child spawned gets the markers retained since the last spawn. When the awareness ledger exists but can't be read, a runtime connect reads it first and refuses before anything is registered or spawned (a startup connect, whose routing is staged beforehand, before anything spawns), and a restart refuses before it stops the running child. An automatic reconnect of a child that takes the default fails and retries rather than spawn it without the default. A value with tokens in the server's env (case-insensitive on Windows), or one intentionally inherited with `inheritEnv: true`, takes precedence, and the framework logs that it replaces the default. A value with no tokens, as discord-mcpl's parser reads them, counts as unset, since the adapter would read it as suppression off. The parser splits on commas and keeps a token only when its normalizer leaves something of it, after stripping U+FE0F, trimming, and stripping one leading and one trailing colon: so a blank value, commas alone, `:`, `::` or a lone U+FE0F (say from `${A},${B}` or `:${NAME}:` with the variables empty) has no tokens. The adapter's filters file and legacy operator env still take precedence over this variable, and they are where an operator turns suppression off.
228
+
229
+ `framework.getPlacedReactionBaseline()` returns a fresh snapshot of that default for other embeddings, including separately managed WebSocket adapters. It returns suppression tokens, with a custom emoji as its bare ID, not marker payloads for adding, removing or replaying a reaction. An unreadable awareness ledger throws instead of producing a partial snapshot. Hosts that previously supplied a refusal-only default must stop supplying it to adopt this framework-derived default; an explicit operator choice should remain intact.
230
+
227
231
  ### MCPL (MCP Live)
228
232
 
229
233
  Optional host-side implementation of the MCP Live protocol. External servers (game engines, dev tools, etc.) can:
@@ -338,9 +342,9 @@ const server = new ApiServer(framework, { port: 8765 });
338
342
  await server.start();
339
343
  ```
340
344
 
341
- **Commands:** `message.send`, `message.list`, `inference.request`, `inference.abort`, `branch.*`, `agent.*`, `module.*`, `store.*`, `inference.tail/inspect/search`, `events.*`, `host.quiesce/resume/status/maintenanceTick`
345
+ **Commands:** `message.send`, `message.list`, `inference.request`, `inference.abort`, `branch.*`, `agent.*`, `module.*`, `store.*`, `inference.tail/inspect/search`, `events.*`, `host.quiesce/resume/status/maintenanceTick`, `host.providerWaits/releaseProviderWait`
342
346
 
343
- Also available as an MCP server via the `agent-framework-mcp` binary.
347
+ Also available as an MCP server via the `agent-framework-mcp` binary (`npx -p @animalabs/agent-framework agent-framework-mcp` without installing it). It is a client of this API's WebSocket server, at `AGENT_FRAMEWORK_WS_URL` (default `ws://localhost:8765/ws`), and offers a subset of these commands as tools; its `tools/list` names them.
344
348
 
345
349
  ### Host quiesce / maintenance mode
346
350
 
@@ -359,9 +363,12 @@ await framework.resume(); // throws ResumeBlockedError if the layout
359
363
  Also reachable over HTTP (`POST /quiesce`, `POST /resume`,
360
364
  `POST /maintenance/tick`, `GET /hostmode`; options via query string) and as
361
365
  `host/command` verbs (`quiesce`, `resume`, `maintain`, `host-status`) from MCPL
362
- servers granted `allowHostCommands`. The HTTP host verbs accept an optional
363
- shared secret (`ApiServerConfig.adminToken`, sent as `x-admin-token`) for
364
- deployments that front the port with a proxy.
366
+ servers granted `allowHostCommands`. The same servers can lift a provider's
367
+ stated wait with `release-provider-wait` (`agentName`, optional `model`), as
368
+ `host.releaseProviderWait` does over the WebSocket API, and
369
+ `host.providerWaits` lists the waits that bind. The HTTP host verbs accept an
370
+ optional shared secret (`ApiServerConfig.adminToken`, sent as `x-admin-token`)
371
+ for deployments that front the port with a proxy.
365
372
 
366
373
  ## Observability
367
374
 
@@ -5,6 +5,9 @@ import { type SilentHeartbeatTick } from './silent-heartbeat.js';
5
5
  export interface ActivationRequestOptions {
6
6
  /** The silent heartbeat tick this request answers, if any. */
7
7
  silentHeartbeat?: SilentHeartbeatTick;
8
+ /** A request that will never be sent (a preview): compile it as a dry
9
+ * run (see `compileWithInjections` for what that leaves alone). */
10
+ dryRun?: boolean;
8
11
  }
9
12
  export interface StartStreamResult {
10
13
  stream: YieldingStream;
@@ -64,15 +67,38 @@ export declare class Agent {
64
67
  * closure) so the next activation can close whatever its predecessor left
65
68
  * open — see failOpenKvSubmissions. */
66
69
  private kvOpenQueue;
70
+ /** The current stream's fresh input so far, as membrane's usage event
71
+ * reports it (cumulative across the tool loop): what the maxStreamTokens
72
+ * budget checks. */
67
73
  lastStreamInputTokens: number;
68
- /** Real prefix size of the last usage event: fresh + cache creation +
69
- * cache read. THE window-shaped number — `lastStreamInputTokens` alone
70
- * omits cached tokens, which are most of a warm stream's window. */
74
+ /** Real prompt size of the stream's latest provider call that reported a
75
+ * prompt, which is what the provider billed it: fresh + cache creation +
76
+ * cache read. A call that reports none leaves it as it was (see
77
+ * lastStreamUnreportedTokens). Membrane's usage events are cumulative, so
78
+ * this is the call's share of its event (cumulativeDelta): the whole event
79
+ * for a stream's first call, and the event's own value where a counter
80
+ * went back. THE window-shaped number — `lastStreamInputTokens` alone
81
+ * omits cached tokens, which are most of a warm stream's window. 0 until a
82
+ * call on this stream reports a prompt, and the physical-window
83
+ * projection runs only once one has. */
71
84
  lastStreamRealInputTokens: number;
72
- /** Output tokens of the last usage event — the prior round's generated
73
- * thinking/text/tool_use, which becomes part of the NEXT round's input
74
- * and so belongs in the physical-window projection. */
85
+ /** Output tokens of the same call as lastStreamRealInputTokens, or
86
+ * maxTokens, the bound on them, when it reported none (a call that ends at
87
+ * a tool boundary wrote a tool_use, so a 0 is a count left unreported) —
88
+ * the prior round's generated thinking/text/tool_use, which becomes part
89
+ * of the NEXT round's input and so belongs in the physical-window
90
+ * projection. */
75
91
  lastStreamOutputTokens: number;
92
+ /** What the stream has grown by since the call lastStreamRealInputTokens
93
+ * describes, for the physical-window projection: the blocks appended at
94
+ * each boundary the stream continued past (counted only for an agent with
95
+ * physicalWindowTokens, whose projection is this field's one reader), and
96
+ * the output of each call that reported no prompt (its reported output,
97
+ * or maxTokens, the bound on it, when it reported none either). After
98
+ * calls that report no prompt, the next request holds the prompt and
99
+ * output of the call lastStreamRealInputTokens describes, plus this. 0 at
100
+ * stream start and whenever a call reports a prompt. */
101
+ lastStreamUnreportedTokens: number;
76
102
  maxStreamTokens: number;
77
103
  /** Provider hard context cap (see AgentConfig.physicalWindowTokens). */
78
104
  readonly physicalWindowTokens?: number;
@@ -86,6 +112,51 @@ export declare class Agent {
86
112
  private readonly configuredSameRoundThinkTextPolicy?;
87
113
  private contextBudgetTargetTokens?;
88
114
  private runtimeSettingsOverrides;
115
+ /**
116
+ * Counts changes of the live budget (an update, a reset, a restore, a
117
+ * settle). A compile speaks for the budget it planned at only if the live
118
+ * budget didn't change while it ran, and what it showed stands only until
119
+ * the next change.
120
+ */
121
+ private liveBudgetEpoch;
122
+ /**
123
+ * Counts changes of the descent (each arm of one, the same target included,
124
+ * a reset, a cancel, a settle). A settle proves its target only to a
125
+ * compile that began under that same descent.
126
+ */
127
+ private descentEpoch;
128
+ /** The live budget the last compile planned at, whether it fit, and the live budget's epoch then. */
129
+ private lastCompiledBudget?;
130
+ /** Counts compiles at the live budget as they start. */
131
+ private compilesStarted;
132
+ /** The start numbers of the compiles at the live budget still running. */
133
+ private readonly compilesRunning;
134
+ /**
135
+ * For each budget, the start of the latest-started compile that has ended
136
+ * there with a fit or a refusal, whether or not what it showed was
137
+ * credited. Of two compiles at one budget, the later-started one planned
138
+ * at the newer store, so an earlier-started one that ends after it is
139
+ * ignored. That rests on the context manager selecting at the start of
140
+ * `compile`, before anything it awaits, so start order is selection order;
141
+ * a context manager that awaits before its select breaks it. (Injections
142
+ * are added after the select, so compiles with and without them plan
143
+ * alike.) An entry is
144
+ * kept only while a compile that started before it is still running, the
145
+ * only kind it can turn away, so the map is empty whenever no compile
146
+ * runs.
147
+ */
148
+ private readonly latestEndedStart;
149
+ /** The last outcome the listener recorded; a failed record is told again, and so is any after a change. */
150
+ private recordedCompiledBudget?;
151
+ /**
152
+ * A boot restore applied a proven budget below the live one at once. Until
153
+ * the budget is next written (an update that carries one, or a reset of
154
+ * it) or a compile at it fits, a refusal of a compile at it restores it
155
+ * paced instead.
156
+ */
157
+ private restoredAtOnce;
158
+ /** Told when that changes (the framework records it beside the persisted budget). */
159
+ private compiledBudgetListener?;
89
160
  private contextManager;
90
161
  private membrane;
91
162
  constructor(config: AgentConfig, contextManager: ContextManager, membrane: Membrane);
@@ -130,6 +201,64 @@ export declare class Agent {
130
201
  private updateHotContextSettings;
131
202
  getRuntimeSettings(): AgentRuntimeSettingsSnapshot;
132
203
  getRuntimeSettingsOverrides(): AgentRuntimeSettingsOverrides;
204
+ /**
205
+ * Set (or clear) the one listener told when a compile at the live budget
206
+ * comes out differently from the last: it fit at a budget the last one
207
+ * didn't plan at (after a settle, the target), or the context manager
208
+ * refused a budget the last one fit at.
209
+ */
210
+ onContextBudgetCompiled(listener: ((budget: number, fit: boolean) => boolean) | undefined): void;
211
+ /**
212
+ * The live budget the last compile planned at and fit, if it fit and the
213
+ * live budget hasn't changed since.
214
+ */
215
+ getProvenContextBudgetTokens(): number | undefined;
216
+ /**
217
+ * Set the live budget and the descent target, counting a change of each.
218
+ * `armed` counts a descent armed here as a change even when its target is
219
+ * the one already set: a compile that began under the earlier arm isn't
220
+ * credited with this one's settle.
221
+ */
222
+ private setContextBudget;
223
+ /**
224
+ * Claim the place of the latest compile to end at `budget` for the one that
225
+ * started as the `started`th, and say whether it got it: a compile that
226
+ * started before one that has already ended there is ignored, whichever
227
+ * finishes last.
228
+ */
229
+ private claimLatestAt;
230
+ /**
231
+ * Note what a compile at `budget`, planned at the live budget's `epoch`,
232
+ * showed. It speaks for the live budget only if that hasn't changed since;
233
+ * the listener is told either way, so a refusal withdraws the record's
234
+ * marker for the budget it planned at whatever changed meanwhile.
235
+ */
236
+ private noteCompiledBudget;
237
+ /** Compile at the live budget (no explicit one), noting whether it fit. */
238
+ private compileAtLiveBudget;
239
+ /** The compile at the live budget that started as the `started`th, and what it showed. */
240
+ private compileAtLiveBudgetNoting;
241
+ /**
242
+ * The budget compiles plan at, the path a patch's budget takes from it, and
243
+ * whether a descent is in flight, from the agent's own state alone: what a
244
+ * runtime-settings preview can still say while the context manager refuses
245
+ * its queries.
246
+ * @internal For the framework's runtime-settings preview; not a host API.
247
+ */
248
+ runtimeBudgetPath(patch?: AgentRuntimeSettingsPatch): {
249
+ liveBudgetTokens: number;
250
+ path: 'immediate' | 'paced' | 'none';
251
+ transition: 'stable' | 'converging';
252
+ };
253
+ /**
254
+ * Whether the context manager answers its queries, as its readiness says.
255
+ * It refuses them while its strategy's initialization is pending or has
256
+ * failed, until a switchBranch or setStrategy succeeds, and a strategy can
257
+ * refuse its readiness on its own, as the autobiographical one does for a
258
+ * branch it hasn't reloaded.
259
+ * @internal For the framework's runtime-settings preview; not a host API.
260
+ */
261
+ contextManagerAnswers(): boolean;
133
262
  /**
134
263
  * Read-only mirror of `updateRuntimeSettings`' budget semantics: derive what
135
264
  * the next compile would actually plan at if `patch` were applied, WITHOUT
@@ -146,11 +275,17 @@ export declare class Agent {
146
275
  * - `path: 'none'` — patch absent or budget untouched.
147
276
  *
148
277
  * `overrides` uses strategy-config names (`recentWindowTokens`,
149
- * `kvStableReachTokens`) suitable for `previewContext`. `preparedWindowTokens`
150
- * is deliberately never mapped: it is strategy instance state, not config,
151
- * and cannot be simulated by a preview. A `kvStableReachTokens` override is
152
- * omitted while a prepared window is in flight — the live runtime pace
153
- * shadows the config value there, so the override would not be observed.
278
+ * `kvStableReachTokens`) suitable for `previewContext`. The reach is the one
279
+ * the next compile plans at (context-manager's kv-stable picker): a
280
+ * descent's pace while a window is prepared for it, one this patch arms (a
281
+ * paced decrease) or one in flight that it leaves alone (a patch without a
282
+ * budget), and the configured reach otherwise. Config is a preview's only
283
+ * lever: `preparedWindowTokens` and the live runtime pace are strategy
284
+ * instance state, which a preview can't set. So a preview taken during a
285
+ * descent plans under that descent's prepared window, and at its live pace
286
+ * whenever the strategy carries one, which the picker reads before the
287
+ * configured reach. A boot restore's preflight never meets this: a new
288
+ * strategy has no window.
154
289
  */
155
290
  planRuntimeSettings(patch?: AgentRuntimeSettingsPatch): {
156
291
  effectiveBudgetTokens: number;
@@ -167,8 +302,34 @@ export declare class Agent {
167
302
  updateRuntimeSettings(patch: AgentRuntimeSettingsPatch): AgentRuntimeSettingsSnapshot;
168
303
  resetRuntimeSettings(keys?: Array<keyof AgentRuntimeSettingsPatch>): AgentRuntimeSettingsSnapshot;
169
304
  cancelRuntimeSettingsTransition(): AgentRuntimeSettingsSnapshot;
170
- restoreRuntimeSettings(overrides: AgentRuntimeSettingsOverrides): AgentRuntimeSettingsSnapshot;
305
+ /**
306
+ * Apply persisted settings at construction. `provenBudget` is a budget the
307
+ * caller has shown fits (the framework, from the record and a preflight),
308
+ * applied at once: it stands as the last compile's until a compile here
309
+ * says otherwise. When it's below the live budget, where the proof is what
310
+ * took the restore off the paced path, a refusal of a compile at it
311
+ * restores it paced instead, until the budget is next written or a compile
312
+ * at it fits. At or above the live budget, the restore is at once either
313
+ * way, and a refusal has nothing to fall back to.
314
+ */
315
+ restoreRuntimeSettings(settings: AgentRuntimeSettingsPatch, opts?: {
316
+ provenBudget?: number;
317
+ }): AgentRuntimeSettingsSnapshot;
318
+ /**
319
+ * Keep a persisted budget, tail or pace that couldn't be applied at
320
+ * construction: it stays in the override map, unapplied, so a later
321
+ * persisting write keeps it in the record. A budget is reported as the one
322
+ * set (`contextBudgetTokens`) beside the one compiles plan at
323
+ * (`effectiveContextBudgetTokens`); a tail or pace stays the strategy's.
324
+ */
325
+ keepRuntimeSettings(settings: Pick<AgentRuntimeSettingsPatch, 'contextBudgetTokens' | 'tailTokens' | 'transitionPaceTokens'>): void;
171
326
  private validateRuntimeSettingsPatch;
327
+ /**
328
+ * The checks of a runtime-settings patch that need nothing from the context manager.
329
+ * @internal For the framework's runtime-settings preview; not a host API.
330
+ */
331
+ checkRuntimeSettingsPatch(patch: AgentRuntimeSettingsPatch): void;
332
+ /** Settle a converging budget once the window is prepared; true if it settled. */
172
333
  private settleRuntimeSettingsTransition;
173
334
  /**
174
335
  * RFC-006 consumed watermark: the newest stored message at the last compile
@@ -184,14 +345,23 @@ export declare class Agent {
184
345
  markContextConsumed(): void;
185
346
  /** The watermark a successful compile will establish (taken before, applied after). */
186
347
  private pendingWatermark;
348
+ /** A committing compile, as for a request that is sent: the context
349
+ * manager commits what it commits for one, the consumed watermark moves,
350
+ * and a prepared budget change settles. To inspect what the agent would
351
+ * see, use the framework's `previewActivation`, which compiles as a dry
352
+ * run. */
187
353
  compileContext(budget?: TokenBudget): Promise<CompileResult>;
188
354
  /**
189
- * Compile the context with injections.
190
- * Same as compileContext but forwards injections (e.g. from MCPL servers)
191
- * to the context manager so they are merged into the compiled messages.
355
+ * Compile the context with injections (e.g. from MCPL servers), which the
356
+ * context manager merges into the compiled messages. Without
357
+ * `opts.dryRun` it commits as `compileContext` does: the consumed
358
+ * watermark moves, and a compile at the live window settles a prepared
359
+ * budget change. With `opts.dryRun`, for a compile that will never be
360
+ * sent, it does neither (see below).
192
361
  */
193
362
  compileWithInjections(budget?: TokenBudget, injections?: ContextInjection[], opts?: {
194
363
  kvUnifiedImmutablePrefixHash?: string;
364
+ dryRun?: boolean;
195
365
  }): Promise<CompileResult>;
196
366
  /**
197
367
  * Run inference and return result with tool calls and speech content.
@@ -218,10 +388,13 @@ export declare class Agent {
218
388
  *
219
389
  * This is the single source of truth for request assembly, shared by the
220
390
  * real activation path (`startStreamWithInjections`) and debug/preview
221
- * tooling (`Framework.previewActivation`). It is pure and non-mutating:
222
- * it does not touch agent state and does not call the membrane, and
223
- * `ContextManager.compile` is itself side-effect-free (compression runs in
224
- * the background). Safe to call regardless of the agent's current status.
391
+ * tooling (`Framework.previewActivation`). It does not call the membrane.
392
+ * A compile that is sent commits what the context manager commits for it
393
+ * (fold resolutions, the compression its fold plan calls for, the consumed
394
+ * watermark); a preview passes `options.dryRun`, so its compile commits
395
+ * none of that (see `compileWithInjections` for what a dry run still
396
+ * leaves). Either way the context manager is handed the compression tool
397
+ * definitions. Safe to call regardless of the agent's current status.
225
398
  * It doesn't wait for the tool-result guard's annotations, so a preview
226
399
  * never waits on a workspace write (rollback, undo and redo report one), and
227
400
  * may show a withheld stub before its place is added; the activation waits
@@ -1 +1 @@
1
- {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAqB,iBAAiB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAGxH,OAAO,KAAK,EAAE,gBAAgB,EAAyB,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAIL,KAAK,mBAAmB,EAGzB,MAAM,uBAAuB,CAAC;AAO/B,MAAM,WAAW,wBAAwB;IACvC,8DAA8D;IAC9D,eAAe,CAAC,EAAE,mBAAmB,CAAC;CACvC;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,gBAAgB,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7F,oBAAoB,CAAC,EAAE,MAAM,MAAM,EAAE,CAAC;CACvC;AACD,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,aAAa,EAGb,eAAe,EAChB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACV,wBAAwB,EACxB,8BAA8B,EAG9B,UAAU,EACV,QAAQ,EACR,UAAU,EACV,cAAc,EACd,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,yBAAyB,EACzB,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,kBAAkB,CAAC;AAkB1B;;GAEG;AACH,qBAAa,KAAK;IAChB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,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