@animalabs/agent-framework 0.26.2 → 0.28.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 (371) hide show
  1. package/README.md +99 -8
  2. package/dist/src/agent.d.ts +291 -23
  3. package/dist/src/agent.d.ts.map +1 -1
  4. package/dist/src/agent.js +596 -61
  5. package/dist/src/agent.js.map +1 -1
  6. package/dist/src/api/server.d.ts.map +1 -1
  7. package/dist/src/api/server.js +5 -4
  8. package/dist/src/api/server.js.map +1 -1
  9. package/dist/src/auto-continue.d.ts +34 -0
  10. package/dist/src/auto-continue.d.ts.map +1 -0
  11. package/dist/src/auto-continue.js +36 -0
  12. package/dist/src/auto-continue.js.map +1 -0
  13. package/dist/src/code-execution/isolate/scripts.d.ts +11 -0
  14. package/dist/src/code-execution/isolate/scripts.d.ts.map +1 -1
  15. package/dist/src/code-execution/isolate/scripts.js +5 -1
  16. package/dist/src/code-execution/isolate/scripts.js.map +1 -1
  17. package/dist/src/cut-off-round.d.ts +24 -0
  18. package/dist/src/cut-off-round.d.ts.map +1 -0
  19. package/dist/src/cut-off-round.js +87 -0
  20. package/dist/src/cut-off-round.js.map +1 -0
  21. package/dist/src/framework.d.ts +1038 -193
  22. package/dist/src/framework.d.ts.map +1 -1
  23. package/dist/src/framework.js +5967 -1514
  24. package/dist/src/framework.js.map +1 -1
  25. package/dist/src/gate/event-gate.d.ts +405 -46
  26. package/dist/src/gate/event-gate.d.ts.map +1 -1
  27. package/dist/src/gate/event-gate.js +2646 -399
  28. package/dist/src/gate/event-gate.js.map +1 -1
  29. package/dist/src/gate/index.d.ts +3 -2
  30. package/dist/src/gate/index.d.ts.map +1 -1
  31. package/dist/src/gate/index.js +2 -1
  32. package/dist/src/gate/index.js.map +1 -1
  33. package/dist/src/gate/recipe-reconcile.d.ts +103 -0
  34. package/dist/src/gate/recipe-reconcile.d.ts.map +1 -0
  35. package/dist/src/gate/recipe-reconcile.js +325 -0
  36. package/dist/src/gate/recipe-reconcile.js.map +1 -0
  37. package/dist/src/gate/reply-judge.d.ts +116 -0
  38. package/dist/src/gate/reply-judge.d.ts.map +1 -0
  39. package/dist/src/gate/reply-judge.js +467 -0
  40. package/dist/src/gate/reply-judge.js.map +1 -0
  41. package/dist/src/gate/types.d.ts +229 -8
  42. package/dist/src/gate/types.d.ts.map +1 -1
  43. package/dist/src/heartbeat/heartbeat.d.ts +184 -0
  44. package/dist/src/heartbeat/heartbeat.d.ts.map +1 -0
  45. package/dist/src/heartbeat/heartbeat.js +752 -0
  46. package/dist/src/heartbeat/heartbeat.js.map +1 -0
  47. package/dist/src/heartbeat/reminder-time.d.ts +5 -0
  48. package/dist/src/heartbeat/reminder-time.d.ts.map +1 -0
  49. package/dist/src/heartbeat/reminder-time.js +107 -0
  50. package/dist/src/heartbeat/reminder-time.js.map +1 -0
  51. package/dist/src/index.d.ts +10 -4
  52. package/dist/src/index.d.ts.map +1 -1
  53. package/dist/src/index.js +7 -2
  54. package/dist/src/index.js.map +1 -1
  55. package/dist/src/mcpl/capability-mask.d.ts.map +1 -1
  56. package/dist/src/mcpl/capability-mask.js +3 -2
  57. package/dist/src/mcpl/capability-mask.js.map +1 -1
  58. package/dist/src/mcpl/channel-registry.d.ts +433 -113
  59. package/dist/src/mcpl/channel-registry.d.ts.map +1 -1
  60. package/dist/src/mcpl/channel-registry.js +1154 -435
  61. package/dist/src/mcpl/channel-registry.js.map +1 -1
  62. package/dist/src/mcpl/conversation-router.d.ts +16 -8
  63. package/dist/src/mcpl/conversation-router.d.ts.map +1 -1
  64. package/dist/src/mcpl/conversation-router.js +29 -15
  65. package/dist/src/mcpl/conversation-router.js.map +1 -1
  66. package/dist/src/mcpl/convert-block.d.ts.map +1 -1
  67. package/dist/src/mcpl/convert-block.js +14 -2
  68. package/dist/src/mcpl/convert-block.js.map +1 -1
  69. package/dist/src/mcpl/hook-orchestrator.d.ts +7 -1
  70. package/dist/src/mcpl/hook-orchestrator.d.ts.map +1 -1
  71. package/dist/src/mcpl/hook-orchestrator.js +32 -7
  72. package/dist/src/mcpl/hook-orchestrator.js.map +1 -1
  73. package/dist/src/mcpl/inbound-source.d.ts +26 -10
  74. package/dist/src/mcpl/inbound-source.d.ts.map +1 -1
  75. package/dist/src/mcpl/inbound-source.js +40 -69
  76. package/dist/src/mcpl/inbound-source.js.map +1 -1
  77. package/dist/src/mcpl/index.d.ts +5 -1
  78. package/dist/src/mcpl/index.d.ts.map +1 -1
  79. package/dist/src/mcpl/index.js +4 -0
  80. package/dist/src/mcpl/index.js.map +1 -1
  81. package/dist/src/mcpl/inference-router.d.ts +14 -2
  82. package/dist/src/mcpl/inference-router.d.ts.map +1 -1
  83. package/dist/src/mcpl/inference-router.js +73 -28
  84. package/dist/src/mcpl/inference-router.js.map +1 -1
  85. package/dist/src/mcpl/prose-grammar.d.ts +4 -0
  86. package/dist/src/mcpl/prose-grammar.d.ts.map +1 -1
  87. package/dist/src/mcpl/prose-grammar.js +6 -0
  88. package/dist/src/mcpl/prose-grammar.js.map +1 -1
  89. package/dist/src/mcpl/protocol-family.d.ts.map +1 -1
  90. package/dist/src/mcpl/protocol-family.js +3 -0
  91. package/dist/src/mcpl/protocol-family.js.map +1 -1
  92. package/dist/src/mcpl/push-coalescer.d.ts +20 -2
  93. package/dist/src/mcpl/push-coalescer.d.ts.map +1 -1
  94. package/dist/src/mcpl/push-coalescer.js +33 -11
  95. package/dist/src/mcpl/push-coalescer.js.map +1 -1
  96. package/dist/src/mcpl/reference-fetcher.d.ts +63 -42
  97. package/dist/src/mcpl/reference-fetcher.d.ts.map +1 -1
  98. package/dist/src/mcpl/reference-fetcher.js +177 -145
  99. package/dist/src/mcpl/reference-fetcher.js.map +1 -1
  100. package/dist/src/mcpl/references.d.ts +380 -46
  101. package/dist/src/mcpl/references.d.ts.map +1 -1
  102. package/dist/src/mcpl/references.js +736 -77
  103. package/dist/src/mcpl/references.js.map +1 -1
  104. package/dist/src/mcpl/server-connection.d.ts +93 -4
  105. package/dist/src/mcpl/server-connection.d.ts.map +1 -1
  106. package/dist/src/mcpl/server-connection.js +176 -11
  107. package/dist/src/mcpl/server-connection.js.map +1 -1
  108. package/dist/src/mcpl/tags.d.ts +9 -2
  109. package/dist/src/mcpl/tags.d.ts.map +1 -1
  110. package/dist/src/mcpl/tags.js +12 -2
  111. package/dist/src/mcpl/tags.js.map +1 -1
  112. package/dist/src/mcpl/tool-lifecycle.d.ts +11 -0
  113. package/dist/src/mcpl/tool-lifecycle.d.ts.map +1 -1
  114. package/dist/src/mcpl/tool-lifecycle.js +21 -0
  115. package/dist/src/mcpl/tool-lifecycle.js.map +1 -1
  116. package/dist/src/mcpl/tool-presence.d.ts +311 -0
  117. package/dist/src/mcpl/tool-presence.d.ts.map +1 -0
  118. package/dist/src/mcpl/tool-presence.js +697 -0
  119. package/dist/src/mcpl/tool-presence.js.map +1 -0
  120. package/dist/src/mcpl/tool-result-normalize.d.ts +9 -3
  121. package/dist/src/mcpl/tool-result-normalize.d.ts.map +1 -1
  122. package/dist/src/mcpl/tool-result-normalize.js +14 -6
  123. package/dist/src/mcpl/tool-result-normalize.js.map +1 -1
  124. package/dist/src/mcpl/tool-signature.d.ts +46 -0
  125. package/dist/src/mcpl/tool-signature.d.ts.map +1 -0
  126. package/dist/src/mcpl/tool-signature.js +321 -0
  127. package/dist/src/mcpl/tool-signature.js.map +1 -0
  128. package/dist/src/mcpl/toolset-host.d.ts +251 -0
  129. package/dist/src/mcpl/toolset-host.d.ts.map +1 -0
  130. package/dist/src/mcpl/toolset-host.js +720 -0
  131. package/dist/src/mcpl/toolset-host.js.map +1 -0
  132. package/dist/src/mcpl/toolsets-module.d.ts +83 -0
  133. package/dist/src/mcpl/toolsets-module.d.ts.map +1 -0
  134. package/dist/src/mcpl/toolsets-module.js +523 -0
  135. package/dist/src/mcpl/toolsets-module.js.map +1 -0
  136. package/dist/src/mcpl/transport.d.ts +2 -2
  137. package/dist/src/mcpl/transport.d.ts.map +1 -1
  138. package/dist/src/mcpl/transport.js +3 -2
  139. package/dist/src/mcpl/transport.js.map +1 -1
  140. package/dist/src/mcpl/types.d.ts +24 -2
  141. package/dist/src/mcpl/types.d.ts.map +1 -1
  142. package/dist/src/mcpl/types.js.map +1 -1
  143. package/dist/src/mcpl/visible-content.d.ts +7 -9
  144. package/dist/src/mcpl/visible-content.d.ts.map +1 -1
  145. package/dist/src/mcpl/visible-content.js +21 -9
  146. package/dist/src/mcpl/visible-content.js.map +1 -1
  147. package/dist/src/module-registry.d.ts +27 -9
  148. package/dist/src/module-registry.d.ts.map +1 -1
  149. package/dist/src/module-registry.js +77 -17
  150. package/dist/src/module-registry.js.map +1 -1
  151. package/dist/src/modules/discord/index.js +1 -1
  152. package/dist/src/modules/discord/index.js.map +1 -1
  153. package/dist/src/modules/history/index.d.ts +2 -1
  154. package/dist/src/modules/history/index.d.ts.map +1 -1
  155. package/dist/src/modules/history/index.js +73 -28
  156. package/dist/src/modules/history/index.js.map +1 -1
  157. package/dist/src/modules/history/semantic.d.ts +108 -6
  158. package/dist/src/modules/history/semantic.d.ts.map +1 -1
  159. package/dist/src/modules/history/semantic.js +273 -57
  160. package/dist/src/modules/history/semantic.js.map +1 -1
  161. package/dist/src/modules/workspace/answers.d.ts +22 -0
  162. package/dist/src/modules/workspace/answers.d.ts.map +1 -0
  163. package/dist/src/modules/workspace/answers.js +123 -0
  164. package/dist/src/modules/workspace/answers.js.map +1 -0
  165. package/dist/src/modules/workspace/branch-intent.d.ts +5 -3
  166. package/dist/src/modules/workspace/branch-intent.d.ts.map +1 -1
  167. package/dist/src/modules/workspace/branch-intent.js +6 -2
  168. package/dist/src/modules/workspace/branch-intent.js.map +1 -1
  169. package/dist/src/modules/workspace/direct-write.d.ts +184 -0
  170. package/dist/src/modules/workspace/direct-write.d.ts.map +1 -0
  171. package/dist/src/modules/workspace/direct-write.js +417 -0
  172. package/dist/src/modules/workspace/direct-write.js.map +1 -0
  173. package/dist/src/modules/workspace/disk-agreement.d.ts +33 -11
  174. package/dist/src/modules/workspace/disk-agreement.d.ts.map +1 -1
  175. package/dist/src/modules/workspace/disk-agreement.js +48 -17
  176. package/dist/src/modules/workspace/disk-agreement.js.map +1 -1
  177. package/dist/src/modules/workspace/edit-text.d.ts +27 -12
  178. package/dist/src/modules/workspace/edit-text.d.ts.map +1 -1
  179. package/dist/src/modules/workspace/edit-text.js +61 -29
  180. package/dist/src/modules/workspace/edit-text.js.map +1 -1
  181. package/dist/src/modules/workspace/effects.d.ts +10 -0
  182. package/dist/src/modules/workspace/effects.d.ts.map +1 -1
  183. package/dist/src/modules/workspace/effects.js +21 -14
  184. package/dist/src/modules/workspace/effects.js.map +1 -1
  185. package/dist/src/modules/workspace/index.d.ts +308 -78
  186. package/dist/src/modules/workspace/index.d.ts.map +1 -1
  187. package/dist/src/modules/workspace/index.js +2103 -720
  188. package/dist/src/modules/workspace/index.js.map +1 -1
  189. package/dist/src/modules/workspace/observe.d.ts +75 -63
  190. package/dist/src/modules/workspace/observe.d.ts.map +1 -1
  191. package/dist/src/modules/workspace/observe.js +366 -180
  192. package/dist/src/modules/workspace/observe.js.map +1 -1
  193. package/dist/src/modules/workspace/read-page.d.ts +41 -0
  194. package/dist/src/modules/workspace/read-page.d.ts.map +1 -0
  195. package/dist/src/modules/workspace/read-page.js +219 -0
  196. package/dist/src/modules/workspace/read-page.js.map +1 -0
  197. package/dist/src/modules/workspace/reconcile.d.ts.map +1 -1
  198. package/dist/src/modules/workspace/reconcile.js +26 -16
  199. package/dist/src/modules/workspace/reconcile.js.map +1 -1
  200. package/dist/src/modules/workspace/result-text.d.ts +68 -0
  201. package/dist/src/modules/workspace/result-text.d.ts.map +1 -0
  202. package/dist/src/modules/workspace/result-text.js +94 -0
  203. package/dist/src/modules/workspace/result-text.js.map +1 -0
  204. package/dist/src/modules/workspace/sync.d.ts +9 -0
  205. package/dist/src/modules/workspace/sync.d.ts.map +1 -1
  206. package/dist/src/modules/workspace/sync.js +14 -0
  207. package/dist/src/modules/workspace/sync.js.map +1 -1
  208. package/dist/src/modules/workspace/text.d.ts +29 -12
  209. package/dist/src/modules/workspace/text.d.ts.map +1 -1
  210. package/dist/src/modules/workspace/text.js +35 -33
  211. package/dist/src/modules/workspace/text.js.map +1 -1
  212. package/dist/src/modules/workspace/types.d.ts +137 -60
  213. package/dist/src/modules/workspace/types.d.ts.map +1 -1
  214. package/dist/src/modules/workspace/types.js.map +1 -1
  215. package/dist/src/modules/workspace/watcher.d.ts.map +1 -1
  216. package/dist/src/modules/workspace/watcher.js +8 -3
  217. package/dist/src/modules/workspace/watcher.js.map +1 -1
  218. package/dist/src/prose-drafts.d.ts +4 -3
  219. package/dist/src/prose-drafts.d.ts.map +1 -1
  220. package/dist/src/prose-drafts.js +3 -2
  221. package/dist/src/prose-drafts.js.map +1 -1
  222. package/dist/src/reasoning-loss-notice.d.ts +23 -0
  223. package/dist/src/reasoning-loss-notice.d.ts.map +1 -0
  224. package/dist/src/reasoning-loss-notice.js +50 -0
  225. package/dist/src/reasoning-loss-notice.js.map +1 -0
  226. package/dist/src/reasoning-loss.d.ts +24 -0
  227. package/dist/src/reasoning-loss.d.ts.map +1 -0
  228. package/dist/src/reasoning-loss.js +102 -0
  229. package/dist/src/reasoning-loss.js.map +1 -0
  230. package/dist/src/send-tools.d.ts +3 -2
  231. package/dist/src/send-tools.d.ts.map +1 -1
  232. package/dist/src/send-tools.js +3 -2
  233. package/dist/src/send-tools.js.map +1 -1
  234. package/dist/src/sent-rows.d.ts +59 -0
  235. package/dist/src/sent-rows.d.ts.map +1 -0
  236. package/dist/src/sent-rows.js +145 -0
  237. package/dist/src/sent-rows.js.map +1 -0
  238. package/dist/src/silent-heartbeat.d.ts +17 -10
  239. package/dist/src/silent-heartbeat.d.ts.map +1 -1
  240. package/dist/src/silent-heartbeat.js.map +1 -1
  241. package/dist/src/stable-hash.d.ts +3 -0
  242. package/dist/src/stable-hash.d.ts.map +1 -0
  243. package/dist/src/stable-hash.js +15 -0
  244. package/dist/src/stable-hash.js.map +1 -0
  245. package/dist/src/stored-injections.d.ts +99 -0
  246. package/dist/src/stored-injections.d.ts.map +1 -0
  247. package/dist/src/stored-injections.js +106 -0
  248. package/dist/src/stored-injections.js.map +1 -0
  249. package/dist/src/text-as-stored.d.ts +4 -3
  250. package/dist/src/text-as-stored.d.ts.map +1 -1
  251. package/dist/src/text-as-stored.js +4 -3
  252. package/dist/src/text-as-stored.js.map +1 -1
  253. package/dist/src/thinking-drops.d.ts +74 -0
  254. package/dist/src/thinking-drops.d.ts.map +1 -0
  255. package/dist/src/thinking-drops.js +96 -0
  256. package/dist/src/thinking-drops.js.map +1 -0
  257. package/dist/src/tool-args.d.ts +12 -0
  258. package/dist/src/tool-args.d.ts.map +1 -1
  259. package/dist/src/tool-args.js +35 -1
  260. package/dist/src/tool-args.js.map +1 -1
  261. package/dist/src/tool-image-ledger.d.ts +9 -8
  262. package/dist/src/tool-image-ledger.d.ts.map +1 -1
  263. package/dist/src/tool-image-ledger.js +9 -8
  264. package/dist/src/tool-image-ledger.js.map +1 -1
  265. package/dist/src/tool-presentation.d.ts.map +1 -1
  266. package/dist/src/tool-presentation.js +3 -1
  267. package/dist/src/tool-presentation.js.map +1 -1
  268. package/dist/src/tool-result-guard.d.ts +12 -6
  269. package/dist/src/tool-result-guard.d.ts.map +1 -1
  270. package/dist/src/tool-result-guard.js +44 -17
  271. package/dist/src/tool-result-guard.js.map +1 -1
  272. package/dist/src/tool-result-history.d.ts +176 -24
  273. package/dist/src/tool-result-history.d.ts.map +1 -1
  274. package/dist/src/tool-result-history.js +411 -91
  275. package/dist/src/tool-result-history.js.map +1 -1
  276. package/dist/src/tune-out/coordinator.d.ts +17 -9
  277. package/dist/src/tune-out/coordinator.d.ts.map +1 -1
  278. package/dist/src/tune-out/coordinator.js +84 -37
  279. package/dist/src/tune-out/coordinator.js.map +1 -1
  280. package/dist/src/tune-out/tools.d.ts +4 -1
  281. package/dist/src/tune-out/tools.d.ts.map +1 -1
  282. package/dist/src/types/agent.d.ts +217 -7
  283. package/dist/src/types/agent.d.ts.map +1 -1
  284. package/dist/src/types/events.d.ts +33 -9
  285. package/dist/src/types/events.d.ts.map +1 -1
  286. package/dist/src/types/framework.d.ts +39 -3
  287. package/dist/src/types/framework.d.ts.map +1 -1
  288. package/dist/src/types/module.d.ts +95 -9
  289. package/dist/src/types/module.d.ts.map +1 -1
  290. package/dist/src/types/trace.d.ts +91 -3
  291. package/dist/src/types/trace.d.ts.map +1 -1
  292. package/package.json +5 -4
  293. package/src/agent.ts +661 -67
  294. package/src/api/server.ts +5 -4
  295. package/src/auto-continue.ts +43 -0
  296. package/src/code-execution/isolate/scripts.ts +11 -3
  297. package/src/cut-off-round.ts +98 -0
  298. package/src/framework.ts +6168 -1540
  299. package/src/gate/event-gate.ts +2895 -405
  300. package/src/gate/index.ts +10 -1
  301. package/src/gate/recipe-reconcile.ts +355 -0
  302. package/src/gate/reply-judge.ts +512 -0
  303. package/src/gate/types.ts +234 -9
  304. package/src/heartbeat/heartbeat.ts +804 -0
  305. package/src/heartbeat/reminder-time.ts +107 -0
  306. package/src/index.ts +11 -4
  307. package/src/mcpl/capability-mask.ts +3 -2
  308. package/src/mcpl/channel-registry.ts +1222 -468
  309. package/src/mcpl/conversation-router.ts +34 -16
  310. package/src/mcpl/convert-block.ts +14 -1
  311. package/src/mcpl/hook-orchestrator.ts +33 -6
  312. package/src/mcpl/inbound-source.ts +42 -69
  313. package/src/mcpl/index.ts +6 -1
  314. package/src/mcpl/inference-router.ts +79 -34
  315. package/src/mcpl/prose-grammar.ts +7 -0
  316. package/src/mcpl/protocol-family.ts +2 -0
  317. package/src/mcpl/push-coalescer.ts +51 -13
  318. package/src/mcpl/reference-fetcher.ts +201 -162
  319. package/src/mcpl/references.ts +851 -77
  320. package/src/mcpl/server-connection.ts +189 -11
  321. package/src/mcpl/tags.ts +13 -2
  322. package/src/mcpl/tool-lifecycle.ts +21 -0
  323. package/src/mcpl/tool-presence.ts +716 -0
  324. package/src/mcpl/tool-result-normalize.ts +18 -6
  325. package/src/mcpl/tool-signature.ts +316 -0
  326. package/src/mcpl/toolset-host.ts +727 -0
  327. package/src/mcpl/toolsets-module.ts +545 -0
  328. package/src/mcpl/transport.ts +3 -2
  329. package/src/mcpl/types.ts +25 -2
  330. package/src/mcpl/visible-content.ts +22 -9
  331. package/src/module-registry.ts +85 -26
  332. package/src/modules/discord/index.ts +1 -1
  333. package/src/modules/history/index.ts +70 -30
  334. package/src/modules/history/semantic.ts +308 -54
  335. package/src/modules/workspace/answers.ts +133 -0
  336. package/src/modules/workspace/branch-intent.ts +10 -5
  337. package/src/modules/workspace/direct-write.ts +460 -0
  338. package/src/modules/workspace/disk-agreement.ts +52 -21
  339. package/src/modules/workspace/edit-text.ts +84 -35
  340. package/src/modules/workspace/effects.ts +22 -13
  341. package/src/modules/workspace/index.ts +2142 -723
  342. package/src/modules/workspace/observe.ts +381 -177
  343. package/src/modules/workspace/read-page.ts +228 -0
  344. package/src/modules/workspace/reconcile.ts +27 -15
  345. package/src/modules/workspace/result-text.ts +121 -0
  346. package/src/modules/workspace/sync.ts +16 -0
  347. package/src/modules/workspace/text.ts +58 -32
  348. package/src/modules/workspace/types.ts +137 -60
  349. package/src/modules/workspace/watcher.ts +8 -3
  350. package/src/prose-drafts.ts +4 -3
  351. package/src/reasoning-loss-notice.ts +62 -0
  352. package/src/reasoning-loss.ts +120 -0
  353. package/src/send-tools.ts +3 -2
  354. package/src/sent-rows.ts +162 -0
  355. package/src/silent-heartbeat.ts +17 -10
  356. package/src/stable-hash.ts +14 -0
  357. package/src/stored-injections.ts +131 -0
  358. package/src/text-as-stored.ts +4 -3
  359. package/src/thinking-drops.ts +135 -0
  360. package/src/tool-args.ts +34 -1
  361. package/src/tool-image-ledger.ts +9 -8
  362. package/src/tool-presentation.ts +3 -1
  363. package/src/tool-result-guard.ts +45 -17
  364. package/src/tool-result-history.ts +471 -90
  365. package/src/tune-out/coordinator.ts +80 -37
  366. package/src/tune-out/tools.ts +4 -1
  367. package/src/types/agent.ts +220 -7
  368. package/src/types/events.ts +33 -9
  369. package/src/types/framework.ts +36 -3
  370. package/src/types/module.ts +91 -9
  371. package/src/types/trace.ts +94 -3
@@ -2,8 +2,26 @@ import type { ContentBlock, YieldingStream } from '@animalabs/membrane';
2
2
  import type { ContextStrategy } from '@animalabs/context-manager';
3
3
  import type { ToolCallId, ToolResult, ToolCall } from './events.js';
4
4
  import type { SilentHeartbeatTick } from '../silent-heartbeat.js';
5
+ import type { WakeLine } from '../gate/types.js';
5
6
  export type SameRoundThinkTextPolicy = 'public' | 'private';
6
7
  export type SameRoundThinkTextPolicySource = 'runtime_override' | 'recipe' | 'compatibility_default';
8
+ /** What a continuation's `[continue]` row says (InferenceRequest.autoContinueRun). */
9
+ export interface AutoContinueRun {
10
+ /** How the agent stops, as the row puts it ("call skip_reply"). */
11
+ stop: string;
12
+ /** The turn before ended in words some or all of which were held, not
13
+ * sent, because a send in it may already have posted where they were
14
+ * going. */
15
+ heldAfterSend?: boolean;
16
+ /** Set by the scheduler: the continuation is the turn's only cause. */
17
+ sole?: boolean;
18
+ }
19
+ /** `AgentConfig.autoContinue` as an object (`true` means `{}`). */
20
+ export interface AutoContinueConfig {
21
+ /** Continuations in a row before the agent waits for the next event:
22
+ * a whole number, 1 to 20. Default 3. */
23
+ maxConsecutive?: number;
24
+ }
7
25
  /**
8
26
  * Configuration for an agent.
9
27
  */
@@ -49,7 +67,11 @@ export interface AgentConfig {
49
67
  /** Temperature for inference */
50
68
  temperature?: number;
51
69
  /** Max input tokens before framework breaks a yielding stream and
52
- * restarts with recompiled (compressed) context. Default: 150000. */
70
+ * restarts with recompiled (compressed) context. Default: 150000. Not
71
+ * checked mid-turn for an agent whose model binds its thinking
72
+ * (`thinkingBinding.binds`) with `physicalWindowTokens` set: a new stream
73
+ * there would take the turn's own earlier reasoning out of the request, and
74
+ * the window projection still guards the provider's hard cap. */
53
75
  maxStreamTokens?: number;
54
76
  /**
55
77
  * The model's PHYSICAL context window (provider hard cap, e.g. 200000).
@@ -61,7 +83,9 @@ export interface AgentConfig {
61
83
  * request the provider will 400 (issue #92: a legal compile can walk past
62
84
  * the physical window mid-turn). The projection runs once a call on the
63
85
  * stream has reported its prompt. Unset → no projection; only the
64
- * maxStreamTokens restart applies.
86
+ * maxStreamTokens restart applies. A value is converted to a number as a
87
+ * comparison converts it, so a string such as "200000" reads as its number;
88
+ * one whose number isn't finite, such as null, reads as unset.
65
89
  */
66
90
  physicalWindowTokens?: number;
67
91
  /** Per-agent context compile budget (input tokens). When unset, the
@@ -114,7 +138,9 @@ export interface AgentConfig {
114
138
  * Extended thinking config. When `enabled: true`, the agent runs with
115
139
  * Anthropic's native extended thinking; responses include `thinking` blocks
116
140
  * with cryptographic signatures, and the API enforces `temperature: 1`
117
- * (Membrane handles this). Omit or set `enabled: false` to disable.
141
+ * (Membrane handles this). Omit or set `enabled: false` to disable, except
142
+ * on a model whose thinking is always on (Fable, Mythos), which thinks
143
+ * whatever this says.
118
144
  */
119
145
  thinking?: {
120
146
  enabled: boolean;
@@ -124,10 +150,109 @@ export interface AgentConfig {
124
150
  /**
125
151
  * How thinking content is returned: 'summarized' (readable summary) or
126
152
  * 'omitted' (empty thinking field, signature only). Fable 5 / Opus 4.7+
127
- * default to 'omitted' — set 'summarized' to receive thinking text.
153
+ * default to 'omitted' — set 'summarized' to receive thinking text. A
154
+ * model whose thinking is always on (Fable, Mythos) is sent a thinking
155
+ * config only to carry `thinkingBinding.dropBlock`, so this reaches it
156
+ * only with that set.
128
157
  */
129
158
  display?: 'summarized' | 'omitted';
130
159
  };
160
+ /**
161
+ * How the provider binds this agent's signed thinking to the conversation
162
+ * before it. A host sets it from what it knows of the agent's model and
163
+ * route.
164
+ */
165
+ thinkingBinding?: {
166
+ /**
167
+ * Ask the provider to drop a signed thinking block whose earlier
168
+ * conversation has changed, as a fold changes it, rather than refuse the
169
+ * request. An account that enforces the binding otherwise answers such a
170
+ * request with a 400. One that doesn't decides for itself: the four
171
+ * accounts tried on 2026-10-18 dropped such blocks silently, so there the
172
+ * model sees nothing different and the report is what's new, and one
173
+ * that would show such a block to the model is asked to drop it instead.
174
+ *
175
+ * It's sent as `thinking.block_binding.prefix_mismatch_behavior:
176
+ * "drop_block"` with the `thinking-binding-controls-2026-08-01` beta,
177
+ * which membrane's Anthropic and Bedrock adapters carry (Bedrock's
178
+ * acceptance of the beta hasn't been tried). On any other adapter it does
179
+ * nothing, so a host should refuse it there. A thinking config the host
180
+ * sends itself, through `request.extra` or as `thinking` in
181
+ * `providerParams`, replaces the one membrane builds, control included.
182
+ *
183
+ * On a model whose thinking is always on (Fable, Mythos), membrane
184
+ * carries it in an adaptive thinking config whatever `thinking.enabled`
185
+ * says, with `thinking.display` when that's set, so such an agent's
186
+ * `display` takes effect only with this setting. On any other model, it
187
+ * goes only in the thinking config membrane sends while thinking is on.
188
+ * Membrane tells the first kind by its id, which names `fable` or
189
+ * `mythos`. Opus 5.5, Haiku 5.5, Sonnet 5.5, Sonnet 5, Fable 5 and Fable
190
+ * 5.1 accepted the config on 2026-10-18. Mythos hasn't been tried, and
191
+ * membrane notes that the family has refused thinking configs with a 400
192
+ * before, so for a Mythos model the setting may fail every request.
193
+ *
194
+ * On a framework turn, each call's report of the blocks the provider
195
+ * dropped goes to its `inference:usage` trace, and neither that call nor
196
+ * its stream's later calls feed the context strategy's calibration, since
197
+ * the provider doesn't bill a block it dropped and the strategy still
198
+ * counts it. After a fold, each block after the stretch it rewrote is
199
+ * bound to a conversation the request no longer holds. Where the context
200
+ * strategy still sends such a block, the provider drops it on every call
201
+ * until a later fold takes it out of the context, and while such blocks
202
+ * are sent, no stream gives a sample and the calibration keeps the value
203
+ * it had. A strategy that leaves that thinking out at the fold sends none
204
+ * to drop. The direct API carries the control too, but reads no report: it
205
+ * traces no usage and feeds no calibration.
206
+ *
207
+ * Default false: nothing is sent, and the account's default applies.
208
+ */
209
+ dropBlock?: boolean;
210
+ /**
211
+ * Whether this agent's model binds its signed thinking to the
212
+ * conversation before it, as the host knows from its own model records.
213
+ * A context manager that keeps a record of what each branch sent can
214
+ * then leave out thinking whose earlier conversation changed before the
215
+ * provider sees it. Set:
216
+ * - each compile the agent sends tells the context manager so
217
+ * (`thinkingBinding`: `binds`, `dropBlock` as set here, and the agent's
218
+ * name as the `participant` whose replies are its own), with digests
219
+ * of what the request carries ahead of its messages (`identity`: the
220
+ * system text with its system-position injections, the tools in the
221
+ * order sent, the model, and the thinking config, `maxTokens`,
222
+ * `providerParams` and `prefillUserMessage`);
223
+ * - each framework stream tells the context manager which stored rows
224
+ * its later rounds and its last reply carried as stored
225
+ * (`noteRequestSent`), naming the compile it was built from, so their
226
+ * thinking is kept at the next compile. The direct API
227
+ * (`runInference`) notes nothing, so each of its replies' thinking is
228
+ * left out at the compile after it's stored;
229
+ * - with `physicalWindowTokens` set too, `maxStreamTokens` no longer
230
+ * starts a new stream mid-turn, since the new stream's compile can take
231
+ * the turn's earlier reasoning out of the request;
232
+ * - with `dropBlock` set too, where a compile reports where the branch's
233
+ * record began (`thinkingRecordedAfter`), a block the provider drops
234
+ * that the record doesn't account for raises the
235
+ * `thinking-binding-loss` ops alert, once per incident and again if a
236
+ * call drops more. The provider reports drops only on a request that
237
+ * carries the drop control; without it, such a block is refused;
238
+ * - the agent is told, in a `[reasoning] <agent>:` system notice of kind
239
+ * `reasoning-loss` stored for it as the framework's other notices are,
240
+ * when a committing compile leaves out a stored reply's reasoning at a
241
+ * change of the request's head, at a branch's first compile, or in a
242
+ * fold or other change to an earlier message that takes a reply of the
243
+ * current turn, and, with `dropBlock` set too, when the provider drops
244
+ * blocks it can place as the agent's stored replies or the stream's
245
+ * rounds, once per incident and again when a call drops more. The
246
+ * framework hears compiles through `Agent.onThinkingStrip` from the
247
+ * agent's first stream on, unless a host has set its own, so an agent
248
+ * driven only through the direct API is never told.
249
+ * The record and the notes
250
+ * vouch for requests as agent-framework hands them to membrane, so a
251
+ * membrane `beforeRequest` hook that changes a request must change every
252
+ * request alike. Default false: compiles and streams are as they were.
253
+ */
254
+ binds?: boolean;
255
+ };
131
256
  /**
132
257
  * How to handle a model content-policy refusal (`stop_reason: refusal`).
133
258
  * When `autoRewind` is on, a refused turn triggers an automatic rewind: the
@@ -196,6 +321,33 @@ export interface AgentConfig {
196
321
  * content-free system receipt is stored instead. Default false.
197
322
  */
198
323
  toolWrapperProseGuard?: boolean;
324
+ /**
325
+ * Continue on the agent's own turn ending (off when left out): a turn the
326
+ * model ends itself (stop reason `end_turn` or `stop_sequence`), whether
327
+ * its last response is prose or empty, is followed by another turn,
328
+ * instead of a pause until the next event. A turn ended through
329
+ * `skip_reply` (or another tool that ends the turn, such as `sleep`), or
330
+ * whose last prose envelope is `>>skip_reply` (explicit) or `>>>skip_reply`
331
+ * (hybrid), pauses as usual. So does one whose closing prose bounced (the
332
+ * bounce and its cap answer it), and an agent offered no way to stop
333
+ * (locus or disabled mode without an offered `skip_reply`).
334
+ *
335
+ * As the next turn starts, a short `[continue]` system row naming the agent
336
+ * joins the window: another turn starts, how to stop, and that unmarked
337
+ * words are sent as usual; on the last continuation of a run, that the
338
+ * agent waits for the next event after it. It's written only when the
339
+ * continuation is that turn's whole cause: a message batched with it makes
340
+ * it that message's turn, with no row, in the message's channel. Otherwise
341
+ * the next turn keeps the turn's locus (locus and hybrid modes). At most
342
+ * `maxConsecutive` (default 3) continuations run in a row: the count
343
+ * starts again when a turn starts with a cause of its own (a message, a
344
+ * timer, a heartbeat that isn't a silent tick) or a tool ends one. Silent
345
+ * heartbeat ticks, refusals, `max_tokens` cut-offs, the stall guard's
346
+ * ends, ephemeral runs, conversation forks and a quiesce never continue. A
347
+ * ` !` continuation the turn asked for runs instead, and counts toward
348
+ * nothing. See docs/auto-continue.md.
349
+ */
350
+ autoContinue?: boolean | AutoContinueConfig;
199
351
  /**
200
352
  * Clock rows (off when left out): when a boundary of this interval on the
201
353
  * agent's local wall clock (counted from local midnight, in the
@@ -382,10 +534,22 @@ export interface InferenceRequest {
382
534
  * all of them without materializing content, the turn has no cause left
383
535
  * and does not run. */
384
536
  coalescingBatchSubjects?: string[];
385
- /** Host-owned: this wake's sole cause is reading this deferred write, a
386
- * coalesced render placed in its agent's queue (wakeToRead). Once the
387
- * agent has read the write, or it was removed, the wake starts no turn. */
537
+ /** Host-owned: this wake's sole cause is this write, deferred for its
538
+ * agent while a turn was alive: a coalesced render placed in its queue
539
+ * (wakeToRead), or a message, notice or event whose wake was queued with
540
+ * it. Once a request that carried the write was answered and, for a wake
541
+ * that carries a channel and isn't marked `ambient`, the agent has since
542
+ * published into that channel having read it, or once the write is in
543
+ * neither the agent's queue nor its store's current branch, the wake
544
+ * starts no turn. */
388
545
  readsDeferredWrite?: string;
546
+ /** Host-owned: this wake's sole cause is this message, stored in its
547
+ * agent's store as it arrived, not deferred (its row's id). Once a
548
+ * request that carried the message was answered and, for a wake that
549
+ * carries a channel and isn't marked `ambient`, the agent has since
550
+ * published into that channel having read it, or once the message isn't
551
+ * on its store's current branch, the wake starts no turn. */
552
+ readsStoredMessage?: string;
389
553
  agentName: string;
390
554
  reason: string;
391
555
  source: string;
@@ -401,6 +565,25 @@ export interface InferenceRequest {
401
565
  * ephemeral run's (a subagent's), which takes no global fallback.
402
566
  */
403
567
  channelId?: string;
568
+ /**
569
+ * The server of `channelId`'s channel. MCPL requires a channel id to be
570
+ * unique only within one server's connection (§14.2), so where two
571
+ * servers register the same id only the pair names one channel. The
572
+ * framework's own wakes set it beside `channelId`. A host's request that
573
+ * gives `channelId` alone names the one channel that id, or its
574
+ * server-qualified name (`serverId:channelId`), means; one that two
575
+ * servers' channels answer to names none, and the turn's speech has no
576
+ * channel of its own.
577
+ */
578
+ channelServerId?: string;
579
+ /**
580
+ * Framework-set: this wake carries an autoContinue continuation
581
+ * (AgentConfig.autoContinue), with what its `[continue]` row says. The
582
+ * scheduler keeps the mark on the turn's trigger only when the
583
+ * continuation is that turn's whole cause, and the turn writes the row as
584
+ * it starts. Hosts don't set it.
585
+ */
586
+ autoContinueRun?: AutoContinueRun;
404
587
  /**
405
588
  * True when the triggering message explicitly addressed the agent (mention,
406
589
  * reply-to-bot, DM — `chat:addressed` in MCPL RFC-001 terms). When a wake
@@ -409,6 +592,27 @@ export interface InferenceRequest {
409
592
  * not capture the agent's voice just by being newest.
410
593
  */
411
594
  addressed?: boolean;
595
+ /**
596
+ * Host-owned: true when the triggering message's server marked it ambient
597
+ * (`chat:ambient`). A coalesced push's wake carries it only to read a
598
+ * render, and only when every notice the render stands for was. Such a
599
+ * message asked nothing of the agent, so a wake for it that carries
600
+ * `readsDeferredWrite` or `readsStoredMessage` is dropped once a request
601
+ * that carried the message was answered, with no publish asked of the
602
+ * agent. A message with neither tag is in doubt, and is judged as an
603
+ * addressed one.
604
+ */
605
+ ambient?: true;
606
+ /**
607
+ * Host-owned: true when the triggering message's server marked it a
608
+ * `chat:system` notice (RFC-001 rev 3): an event about the place, such as
609
+ * a join or the weather changing, not something anyone said. Such a wake
610
+ * names no channel for its turn's plain speech, though it carries
611
+ * `channelId`: a turn it starts alone resolves its locus as a heartbeat's
612
+ * does. Like an ambient one, a wake to read it is done once read. Never
613
+ * set on a coalesced render's wake, which may fold messages too.
614
+ */
615
+ systemNotice?: true;
412
616
  /**
413
617
  * Who spoke the message that triggered this inference, as an adapter-
414
618
  * namespaced opaque id (`<serverId>:user:<authorId>`) — never a display
@@ -429,6 +633,12 @@ export interface InferenceRequest {
429
633
  wakeChannelId?: string;
430
634
  /** Timestamp of the event the wake provenance was taken from (ms). */
431
635
  wakeAt?: number;
636
+ /** Batched-wake lines the gate handed to this wake rather than wrote
637
+ * (WakeLine), decided by a fresh start of its turn as WakeLine says: each
638
+ * written once into the window it names, or left for a later fresh start
639
+ * of the same wake. A retry, or a start that resumes a logical turn,
640
+ * decides none. */
641
+ wakeLines?: WakeLine[];
432
642
  /** Suppress every automatic plain-prose delivery for this logical turn.
433
643
  * Explicit tool calls remain available. Used by authenticated silent wakes. */
434
644
  suppressProse?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":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E,MAAM,EAAE,CAAC;IACnC;;;;;;;0BAOsB;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;;kEAK8D;IAC9D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;;;;OASG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC;IACf;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sEAAsE;IACtE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;wBAIoB;IACpB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB;mFAC+E;IAC/E,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;6DAIyD;IACzD,eAAe,CAAC,EAAE,mBAAmB,CAAC;CACvC"}
@@ -166,19 +166,34 @@ export interface ToolResult {
166
166
  * it reads the result's error text, if any.
167
167
  */
168
168
  data?: unknown;
169
+ /**
170
+ * Whether `data` is a protocol result's content: an array in which every
171
+ * element is a content block, of a type this host can show or not. The
172
+ * framework sets it on an MCPL tool's result, and a module that returns a
173
+ * content array can set it too. When it's set, each element reaches the
174
+ * model as itself, as a reference's stub, or as a marker saying what it was
175
+ * and why it isn't shown, never as JSON. When it isn't, an array counts as
176
+ * content only when every element is a block of one of MCP's types (text,
177
+ * image, audio, resource, resource_link), and any other array is data,
178
+ * written as JSON.
179
+ */
180
+ dataIsContent?: boolean;
169
181
  /** Error message (if failure) */
170
182
  error?: string;
171
183
  /** Whether this was an error (for LLM) */
172
184
  isError?: boolean;
173
185
  /**
174
- * The dispatcher refused the call before it opened, RFC-007's refusal, so
175
- * nothing ran and the call certainly had no effect. Only the dispatcher's
176
- * path, the model's calls and a script's, sets it: the caller may not use
177
- * the tool (allowedTools), a `skip_reply` wake was refused, the call's MCPL
178
- * server is absent or still connecting, the host's policy for that server
179
- * denies the tool, or a fork reached outside its channel. RFC-007's
180
- * lifecycle refuses the call from the same place, so observers see no
181
- * events for it. A check made after the call opened, such as a module's
186
+ * The call was refused before it opened, RFC-007's refusal, so nothing ran
187
+ * and the call certainly had no effect. The dispatcher's path, the model's
188
+ * calls and a script's, sets it: the caller may not use the tool
189
+ * (allowedTools), a `skip_reply` wake was refused, the call's MCPL server is
190
+ * absent or still connecting, the host's policy for that server denies the
191
+ * tool, or a fork reached outside its channel. RFC-007's lifecycle refuses
192
+ * the call from the same place, so observers see no events for it. The
193
+ * framework also sets it on the result it stores for each call in the last
194
+ * round of a response the output limit cut off: such a call was never
195
+ * dispatched or opened, and its result goes into the context with the reply,
196
+ * not through a tool-result event. A check made after the call opened, such as a module's
182
197
  * answer for a name it has no tool for or arguments that don't fit a
183
198
  * schema, is a failure whose text says nothing was done, as is an MCPL
184
199
  * request that couldn't be written. A programmatic call (`executeToolCall`,
@@ -229,6 +244,13 @@ export interface ToolCall {
229
244
  name: string;
230
245
  /** Tool input */
231
246
  input: unknown;
247
+ /**
248
+ * membrane's marker (ToolUseContent.unparseableInput), present when `input`
249
+ * isn't the model's arguments. The framework refuses such a call without
250
+ * running it, except one whose text is JSON `null`, which runs as a call
251
+ * with no arguments.
252
+ */
253
+ unparseableInput?: string;
232
254
  /** The agent that made this tool call. Set by the framework dispatch layer. */
233
255
  callerAgentName?: string;
234
256
  /**
@@ -282,7 +304,9 @@ export interface ToolCall {
282
304
  * read_image tool passes a model's call to the workspace without it; and a
283
305
  * utility run through `utils` carries what its `utils` call carried.
284
306
  * Without it, a module holds its answer to a bound of its own, if any: the
285
- * workspace's is the house default, 24,000.
307
+ * workspace's `edit` and `edit_many` answers hold to the house default,
308
+ * 24,000, and a `read` holds its page to its line limit alone, with every
309
+ * line whole, since such a caller takes the data itself.
286
310
  */
287
311
  resultMaxChars?: number;
288
312
  }
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/types/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,IAAI,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,sBAAsB,CAAC;AAEpD;;;;;;;GAOG;AACH,MAAM,MAAM,YAAY,GACpB,oBAAoB,GACpB,aAAa,GACb,eAAe,GACf,eAAe,GACf,qBAAqB,GACrB,kBAAkB,GAClB,mBAAmB,GACnB,WAAW,GACX,eAAe,GACf,wBAAwB,GACxB,aAAa,GACb,wBAAwB,GACxB,WAAW,CAAC;AAEhB;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,uBAAuB,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,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AAM,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,uBAAuB,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACrC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -13,6 +13,16 @@ export type { TraceEvent, TraceEventListener } from './trace.js';
13
13
  export interface ModuleProcessResponse {
14
14
  moduleName: string;
15
15
  response: EventResponse;
16
+ /**
17
+ * Set when applying the response threw: the operation it threw at, such
18
+ * as `the edit of <id>`, and the error's message. What the response asked
19
+ * for before that was applied, that operation may have taken effect in
20
+ * part or whole, and the rest of it wasn't (EventResponse).
21
+ */
22
+ threw?: {
23
+ at: string;
24
+ error: string;
25
+ };
16
26
  }
17
27
  /**
18
28
  * Configuration for process event logging.
@@ -211,8 +221,9 @@ export interface FrameworkConfig {
211
221
  * workspace file under `tool-results/` (deterministic `<date>-<callId>.txt`
212
222
  * name, overwritten on collision, retained until the workspace owner
213
223
  * deletes it — never auto-GC'd) and replaced inline by a bounded preview
214
- * plus the file reference; with no writable mount without an include, the
215
- * fallback is explicit plain truncation. Default 24000 (house-safe; issue #89). Must be
224
+ * plus the file reference; with no writable mount without an include that
225
+ * keeps its files in the store (not configured direct), the fallback is
226
+ * explicit plain truncation. Default 24000 (house-safe; issue #89). Must be
216
227
  * >= 1000. A resident's own agent_settings value
217
228
  * `tool_result_inline_max_chars` (durable, persisted in framework state)
218
229
  * takes precedence over this for that agent; the EFFECTIVE cap for every
@@ -243,10 +254,35 @@ export interface FrameworkConfig {
243
254
  * class comes from an override or their server's `_meta["mcpl/class"]`.
244
255
  */
245
256
  hostToolClasses?: Record<string, string[]>;
246
- /** Inference routing policy for server-initiated inference (optional). */
257
+ /**
258
+ * Inference routing policy for server-initiated inference (optional): the
259
+ * model an MCPL server's inference/request runs on. Without one, each such
260
+ * request is refused with -32603 and a message naming this setting; the
261
+ * framework doesn't choose a model for a server. A server's effective
262
+ * grant can still list `inferenceRequest` then, since the grant comes from
263
+ * what the server advertises and `enabledCapabilities`, not from this
264
+ * policy. A policy that names no model for a request's feature set (no
265
+ * override, byFeature or wildcards entry that names one, and an empty
266
+ * `default`) refuses that request the same way, naming the feature set.
267
+ */
247
268
  inferenceRouting?: InferenceRoutingPolicy;
248
269
  /** EventGate config. If omitted, all events trigger inference (unchanged default). */
249
270
  gate?: GateOptions;
271
+ /**
272
+ * The heartbeat: the agent's own periodic check-in and reminders, kept by
273
+ * the framework (src/heartbeat/heartbeat.ts), with the tools
274
+ * `heartbeat--heartbeat_status`, `heartbeat--heartbeat_configure`,
275
+ * `heartbeat--heartbeat_trigger`, `heartbeat--reminder_add`,
276
+ * `heartbeat--reminder_list` and `heartbeat--reminder_cancel`. `true` turns it
277
+ * on with its defaults; `false`, null or leaving it out leaves it off. Its
278
+ * wakes go to the gate as heartbeat-mcpl's pushes did, from the server id
279
+ * `heartbeat`, so the agent's rules decide them and a sleep lets them
280
+ * through. It replaces the heartbeat-mcpl server, which is refused beside it
281
+ * (by its id, a heartbeat tool prefix, or its command), at create and at a
282
+ * runtime connect: both would wake the agent. `importFrom` brings that
283
+ * server's schedule and reminders along.
284
+ */
285
+ heartbeat?: boolean | null | import('../heartbeat/heartbeat.js').HeartbeatOptions;
250
286
  /**
251
287
  * Liveness watchdog: fail hard (and let the supervisor restart) if the main
252
288
  * thread wedges — a synchronous infinite loop or microtask flood that would
@@ -1 +1 @@
1
- {"version":3,"file":"framework.d.ts","sourceRoot":"","sources":["../../../src/types/framework.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AACjF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGpD,YAAY,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,aAAa,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,yDAAyD;IACzD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,mBAAmB;IAClC;;gCAE4B;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB;6EACyE;IACzE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;8BAC0B;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;6EACyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;uBACmB;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;4EACwE;IACxE,iBAAiB,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