@robota-sdk/agent-core 3.0.0-beta.8 → 3.0.0-beta.82

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 (557) hide show
  1. package/CHANGELOG.md +878 -0
  2. package/LICENSE +661 -21
  3. package/README.md +153 -26
  4. package/dist/browser/bounded-output-DpjpS98g.js +2 -0
  5. package/dist/browser/bounded-output-DpjpS98g.js.map +1 -0
  6. package/dist/browser/command-executor-cI7XJ374.js +2 -0
  7. package/dist/browser/command-executor-cI7XJ374.js.map +1 -0
  8. package/dist/browser/http-executor-CHy6UeBU.js +2 -0
  9. package/dist/browser/http-executor-CHy6UeBU.js.map +1 -0
  10. package/dist/browser/index.d.ts +6385 -3393
  11. package/dist/browser/index.d.ts.map +1 -0
  12. package/dist/browser/index.js +13 -5
  13. package/dist/browser/index.js.map +1 -0
  14. package/dist/browser/verdict-decoder-Dk_w2NG9.js +2 -0
  15. package/dist/browser/verdict-decoder-Dk_w2NG9.js.map +1 -0
  16. package/dist/node/bounded-output-DpjpS98g.js +2 -0
  17. package/dist/node/bounded-output-DpjpS98g.js.map +1 -0
  18. package/dist/node/command-executor-Aat_q7P2.cjs +1 -0
  19. package/dist/node/command-executor-DV-H2oD6.js +2 -0
  20. package/dist/node/command-executor-DV-H2oD6.js.map +1 -0
  21. package/dist/node/http-executor-71JiIdFP.cjs +1 -0
  22. package/dist/node/http-executor-cWzI2svn.js +2 -0
  23. package/dist/node/http-executor-cWzI2svn.js.map +1 -0
  24. package/dist/node/index-BhfNtQJk.d.cts +6898 -0
  25. package/dist/node/index-BhfNtQJk.d.cts.map +1 -0
  26. package/dist/node/index-D2rky0wZ.d.ts +6898 -0
  27. package/dist/node/index-D2rky0wZ.d.ts.map +1 -0
  28. package/dist/node/index.cjs +12 -5
  29. package/dist/node/index.d.cts +3 -4238
  30. package/dist/node/index.d.ts +3 -4238
  31. package/dist/node/index.js +13 -5
  32. package/dist/node/index.js.map +1 -0
  33. package/dist/node/node.cjs +1 -0
  34. package/dist/node/node.d.cts +236 -0
  35. package/dist/node/node.d.cts.map +1 -0
  36. package/dist/node/node.d.ts +236 -0
  37. package/dist/node/node.d.ts.map +1 -0
  38. package/dist/node/node.js +2 -0
  39. package/dist/node/node.js.map +1 -0
  40. package/dist/node/project-tool-schema-DrDjGKnH.cjs +1 -0
  41. package/dist/node/project-tool-schema-_UKfY7yO.js +2 -0
  42. package/dist/node/project-tool-schema-_UKfY7yO.js.map +1 -0
  43. package/dist/node/rolldown-runtime-DK3Fl9T5.js +1 -0
  44. package/dist/node/rolldown-runtime-DWNI8pZO.cjs +1 -0
  45. package/dist/node/testing/index.cjs +1 -0
  46. package/dist/node/testing/index.d.cts +96 -0
  47. package/dist/node/testing/index.d.cts.map +1 -0
  48. package/dist/node/testing/index.d.ts +96 -0
  49. package/dist/node/testing/index.d.ts.map +1 -0
  50. package/dist/node/testing/index.js +2 -0
  51. package/dist/node/testing/index.js.map +1 -0
  52. package/dist/node/types-gNrckgFE.d.cts +335 -0
  53. package/dist/node/types-gNrckgFE.d.cts.map +1 -0
  54. package/dist/node/types-gNrckgFE.d.ts +335 -0
  55. package/dist/node/types-gNrckgFE.d.ts.map +1 -0
  56. package/dist/node/verdict-decoder-Dk_w2NG9.js +2 -0
  57. package/dist/node/verdict-decoder-Dk_w2NG9.js.map +1 -0
  58. package/dist/node/verdict-decoder-Estx9MtY.cjs +1 -0
  59. package/package.json +89 -23
  60. package/dist/abstracts/abstract-agent.d.ts +0 -56
  61. package/dist/abstracts/abstract-agent.d.ts.map +0 -1
  62. package/dist/abstracts/abstract-agent.js +0 -55
  63. package/dist/abstracts/abstract-agent.js.map +0 -1
  64. package/dist/abstracts/abstract-ai-provider.d.ts +0 -187
  65. package/dist/abstracts/abstract-ai-provider.d.ts.map +0 -1
  66. package/dist/abstracts/abstract-ai-provider.js +0 -252
  67. package/dist/abstracts/abstract-ai-provider.js.map +0 -1
  68. package/dist/abstracts/abstract-executor.d.ts +0 -110
  69. package/dist/abstracts/abstract-executor.d.ts.map +0 -1
  70. package/dist/abstracts/abstract-executor.js +0 -156
  71. package/dist/abstracts/abstract-executor.js.map +0 -1
  72. package/dist/abstracts/abstract-manager.d.ts +0 -42
  73. package/dist/abstracts/abstract-manager.d.ts.map +0 -1
  74. package/dist/abstracts/abstract-manager.js +0 -49
  75. package/dist/abstracts/abstract-manager.js.map +0 -1
  76. package/dist/abstracts/abstract-module.d.ts +0 -365
  77. package/dist/abstracts/abstract-module.d.ts.map +0 -1
  78. package/dist/abstracts/abstract-module.js +0 -474
  79. package/dist/abstracts/abstract-module.js.map +0 -1
  80. package/dist/abstracts/abstract-plugin.d.ts +0 -369
  81. package/dist/abstracts/abstract-plugin.d.ts.map +0 -1
  82. package/dist/abstracts/abstract-plugin.js +0 -258
  83. package/dist/abstracts/abstract-plugin.js.map +0 -1
  84. package/dist/abstracts/abstract-tool.d.ts +0 -175
  85. package/dist/abstracts/abstract-tool.d.ts.map +0 -1
  86. package/dist/abstracts/abstract-tool.js +0 -140
  87. package/dist/abstracts/abstract-tool.js.map +0 -1
  88. package/dist/abstracts/abstract-workflow-converter.d.ts +0 -136
  89. package/dist/abstracts/abstract-workflow-converter.d.ts.map +0 -1
  90. package/dist/abstracts/abstract-workflow-converter.js +0 -252
  91. package/dist/abstracts/abstract-workflow-converter.js.map +0 -1
  92. package/dist/abstracts/abstract-workflow-validator.d.ts +0 -203
  93. package/dist/abstracts/abstract-workflow-validator.d.ts.map +0 -1
  94. package/dist/abstracts/abstract-workflow-validator.js +0 -447
  95. package/dist/abstracts/abstract-workflow-validator.js.map +0 -1
  96. package/dist/abstracts/index.d.ts +0 -6
  97. package/dist/abstracts/index.d.ts.map +0 -1
  98. package/dist/abstracts/index.js +0 -9
  99. package/dist/abstracts/index.js.map +0 -1
  100. package/dist/agents/constants.d.ts +0 -23
  101. package/dist/agents/constants.d.ts.map +0 -1
  102. package/dist/agents/constants.js +0 -22
  103. package/dist/agents/constants.js.map +0 -1
  104. package/dist/agents/index.d.ts +0 -1
  105. package/dist/agents/index.d.ts.map +0 -1
  106. package/dist/agents/index.js +0 -4
  107. package/dist/agents/index.js.map +0 -1
  108. package/dist/agents/robota.test.d.ts +0 -2
  109. package/dist/agents/robota.test.d.ts.map +0 -1
  110. package/dist/agents/robota.test.js +0 -416
  111. package/dist/agents/robota.test.js.map +0 -1
  112. package/dist/browser/builtin-templates.json +0 -107
  113. package/dist/core/robota.d.ts +0 -694
  114. package/dist/core/robota.d.ts.map +0 -1
  115. package/dist/core/robota.js +0 -1277
  116. package/dist/core/robota.js.map +0 -1
  117. package/dist/executors/local-executor.d.ts +0 -96
  118. package/dist/executors/local-executor.d.ts.map +0 -1
  119. package/dist/executors/local-executor.js +0 -197
  120. package/dist/executors/local-executor.js.map +0 -1
  121. package/dist/executors/local-executor.test.d.ts +0 -2
  122. package/dist/executors/local-executor.test.d.ts.map +0 -1
  123. package/dist/executors/local-executor.test.js +0 -192
  124. package/dist/executors/local-executor.test.js.map +0 -1
  125. package/dist/index.d.ts +0 -274
  126. package/dist/index.d.ts.map +0 -1
  127. package/dist/index.js +0 -235
  128. package/dist/index.js.map +0 -1
  129. package/dist/interfaces/agent.d.ts +0 -198
  130. package/dist/interfaces/agent.d.ts.map +0 -1
  131. package/dist/interfaces/agent.js +0 -2
  132. package/dist/interfaces/agent.js.map +0 -1
  133. package/dist/interfaces/event-service.d.ts +0 -79
  134. package/dist/interfaces/event-service.d.ts.map +0 -1
  135. package/dist/interfaces/event-service.js +0 -2
  136. package/dist/interfaces/event-service.js.map +0 -1
  137. package/dist/interfaces/executor.d.ts +0 -128
  138. package/dist/interfaces/executor.d.ts.map +0 -1
  139. package/dist/interfaces/executor.js +0 -2
  140. package/dist/interfaces/executor.js.map +0 -1
  141. package/dist/interfaces/history-module.d.ts +0 -19
  142. package/dist/interfaces/history-module.d.ts.map +0 -1
  143. package/dist/interfaces/history-module.js +0 -2
  144. package/dist/interfaces/history-module.js.map +0 -1
  145. package/dist/interfaces/index.d.ts +0 -13
  146. package/dist/interfaces/index.d.ts.map +0 -1
  147. package/dist/interfaces/index.js +0 -4
  148. package/dist/interfaces/index.js.map +0 -1
  149. package/dist/interfaces/manager.d.ts +0 -142
  150. package/dist/interfaces/manager.d.ts.map +0 -1
  151. package/dist/interfaces/manager.js +0 -2
  152. package/dist/interfaces/manager.js.map +0 -1
  153. package/dist/interfaces/messages.d.ts +0 -75
  154. package/dist/interfaces/messages.d.ts.map +0 -1
  155. package/dist/interfaces/messages.js +0 -29
  156. package/dist/interfaces/messages.js.map +0 -1
  157. package/dist/interfaces/progress-reporting.d.ts +0 -86
  158. package/dist/interfaces/progress-reporting.d.ts.map +0 -1
  159. package/dist/interfaces/progress-reporting.js +0 -37
  160. package/dist/interfaces/progress-reporting.js.map +0 -1
  161. package/dist/interfaces/provider.d.ts +0 -217
  162. package/dist/interfaces/provider.d.ts.map +0 -1
  163. package/dist/interfaces/provider.js +0 -2
  164. package/dist/interfaces/provider.js.map +0 -1
  165. package/dist/interfaces/service.d.ts +0 -205
  166. package/dist/interfaces/service.d.ts.map +0 -1
  167. package/dist/interfaces/service.js +0 -6
  168. package/dist/interfaces/service.js.map +0 -1
  169. package/dist/interfaces/tool.d.ts +0 -248
  170. package/dist/interfaces/tool.d.ts.map +0 -1
  171. package/dist/interfaces/tool.js +0 -2
  172. package/dist/interfaces/tool.js.map +0 -1
  173. package/dist/interfaces/types.d.ts +0 -71
  174. package/dist/interfaces/types.d.ts.map +0 -1
  175. package/dist/interfaces/types.js +0 -33
  176. package/dist/interfaces/types.js.map +0 -1
  177. package/dist/interfaces/workflow-converter.d.ts +0 -193
  178. package/dist/interfaces/workflow-converter.d.ts.map +0 -1
  179. package/dist/interfaces/workflow-converter.js +0 -11
  180. package/dist/interfaces/workflow-converter.js.map +0 -1
  181. package/dist/interfaces/workflow-validator.d.ts +0 -209
  182. package/dist/interfaces/workflow-validator.d.ts.map +0 -1
  183. package/dist/interfaces/workflow-validator.js +0 -16
  184. package/dist/interfaces/workflow-validator.js.map +0 -1
  185. package/dist/managers/agent-factory.d.ts +0 -132
  186. package/dist/managers/agent-factory.d.ts.map +0 -1
  187. package/dist/managers/agent-factory.js +0 -284
  188. package/dist/managers/agent-factory.js.map +0 -1
  189. package/dist/managers/agent-factory.test.d.ts +0 -2
  190. package/dist/managers/agent-factory.test.d.ts.map +0 -1
  191. package/dist/managers/agent-factory.test.js +0 -249
  192. package/dist/managers/agent-factory.test.js.map +0 -1
  193. package/dist/managers/agent-templates.d.ts +0 -84
  194. package/dist/managers/agent-templates.d.ts.map +0 -1
  195. package/dist/managers/agent-templates.js +0 -159
  196. package/dist/managers/agent-templates.js.map +0 -1
  197. package/dist/managers/ai-provider-manager.d.ts +0 -80
  198. package/dist/managers/ai-provider-manager.d.ts.map +0 -1
  199. package/dist/managers/ai-provider-manager.js +0 -226
  200. package/dist/managers/ai-provider-manager.js.map +0 -1
  201. package/dist/managers/conversation-history-manager.d.ts +0 -455
  202. package/dist/managers/conversation-history-manager.d.ts.map +0 -1
  203. package/dist/managers/conversation-history-manager.js +0 -578
  204. package/dist/managers/conversation-history-manager.js.map +0 -1
  205. package/dist/managers/conversation-history-manager.test.d.ts +0 -2
  206. package/dist/managers/conversation-history-manager.test.d.ts.map +0 -1
  207. package/dist/managers/conversation-history-manager.test.js +0 -374
  208. package/dist/managers/conversation-history-manager.test.js.map +0 -1
  209. package/dist/managers/index.d.ts +0 -8
  210. package/dist/managers/index.d.ts.map +0 -1
  211. package/dist/managers/index.js +0 -8
  212. package/dist/managers/index.js.map +0 -1
  213. package/dist/managers/module-registry.d.ts +0 -161
  214. package/dist/managers/module-registry.d.ts.map +0 -1
  215. package/dist/managers/module-registry.js +0 -519
  216. package/dist/managers/module-registry.js.map +0 -1
  217. package/dist/managers/module-type-registry.d.ts +0 -113
  218. package/dist/managers/module-type-registry.d.ts.map +0 -1
  219. package/dist/managers/module-type-registry.js +0 -439
  220. package/dist/managers/module-type-registry.js.map +0 -1
  221. package/dist/managers/plugins.d.ts +0 -166
  222. package/dist/managers/plugins.d.ts.map +0 -1
  223. package/dist/managers/plugins.js +0 -339
  224. package/dist/managers/plugins.js.map +0 -1
  225. package/dist/managers/tool-manager.d.ts +0 -70
  226. package/dist/managers/tool-manager.d.ts.map +0 -1
  227. package/dist/managers/tool-manager.js +0 -138
  228. package/dist/managers/tool-manager.js.map +0 -1
  229. package/dist/managers/tool-manager.test.d.ts +0 -2
  230. package/dist/managers/tool-manager.test.d.ts.map +0 -1
  231. package/dist/managers/tool-manager.test.js +0 -186
  232. package/dist/managers/tool-manager.test.js.map +0 -1
  233. package/dist/node/builtin-templates.json +0 -107
  234. package/dist/plugins/conversation-history/conversation-history-plugin.d.ts +0 -67
  235. package/dist/plugins/conversation-history/conversation-history-plugin.d.ts.map +0 -1
  236. package/dist/plugins/conversation-history/conversation-history-plugin.js +0 -270
  237. package/dist/plugins/conversation-history/conversation-history-plugin.js.map +0 -1
  238. package/dist/plugins/conversation-history/index.d.ts +0 -3
  239. package/dist/plugins/conversation-history/index.d.ts.map +0 -1
  240. package/dist/plugins/conversation-history/index.js +0 -2
  241. package/dist/plugins/conversation-history/index.js.map +0 -1
  242. package/dist/plugins/conversation-history/storages/database-storage.d.ts +0 -19
  243. package/dist/plugins/conversation-history/storages/database-storage.d.ts.map +0 -1
  244. package/dist/plugins/conversation-history/storages/database-storage.js +0 -94
  245. package/dist/plugins/conversation-history/storages/database-storage.js.map +0 -1
  246. package/dist/plugins/conversation-history/storages/file-storage.d.ts +0 -15
  247. package/dist/plugins/conversation-history/storages/file-storage.d.ts.map +0 -1
  248. package/dist/plugins/conversation-history/storages/file-storage.js +0 -94
  249. package/dist/plugins/conversation-history/storages/file-storage.js.map +0 -1
  250. package/dist/plugins/conversation-history/storages/index.d.ts +0 -4
  251. package/dist/plugins/conversation-history/storages/index.d.ts.map +0 -1
  252. package/dist/plugins/conversation-history/storages/index.js +0 -4
  253. package/dist/plugins/conversation-history/storages/index.js.map +0 -1
  254. package/dist/plugins/conversation-history/storages/memory-storage.d.ts +0 -15
  255. package/dist/plugins/conversation-history/storages/memory-storage.d.ts.map +0 -1
  256. package/dist/plugins/conversation-history/storages/memory-storage.js +0 -33
  257. package/dist/plugins/conversation-history/storages/memory-storage.js.map +0 -1
  258. package/dist/plugins/conversation-history/types.d.ts +0 -61
  259. package/dist/plugins/conversation-history/types.d.ts.map +0 -1
  260. package/dist/plugins/conversation-history/types.js +0 -2
  261. package/dist/plugins/conversation-history/types.js.map +0 -1
  262. package/dist/plugins/error-handling/context-adapter.d.ts +0 -30
  263. package/dist/plugins/error-handling/context-adapter.d.ts.map +0 -1
  264. package/dist/plugins/error-handling/context-adapter.js +0 -41
  265. package/dist/plugins/error-handling/context-adapter.js.map +0 -1
  266. package/dist/plugins/error-handling/error-handling-plugin.d.ts +0 -49
  267. package/dist/plugins/error-handling/error-handling-plugin.d.ts.map +0 -1
  268. package/dist/plugins/error-handling/error-handling-plugin.js +0 -229
  269. package/dist/plugins/error-handling/error-handling-plugin.js.map +0 -1
  270. package/dist/plugins/error-handling/index.d.ts +0 -10
  271. package/dist/plugins/error-handling/index.d.ts.map +0 -1
  272. package/dist/plugins/error-handling/index.js +0 -10
  273. package/dist/plugins/error-handling/index.js.map +0 -1
  274. package/dist/plugins/error-handling/types.d.ts +0 -73
  275. package/dist/plugins/error-handling/types.d.ts.map +0 -1
  276. package/dist/plugins/error-handling/types.js +0 -14
  277. package/dist/plugins/error-handling/types.js.map +0 -1
  278. package/dist/plugins/event-emitter/metrics.d.ts +0 -17
  279. package/dist/plugins/event-emitter/metrics.d.ts.map +0 -1
  280. package/dist/plugins/event-emitter/metrics.js +0 -17
  281. package/dist/plugins/event-emitter/metrics.js.map +0 -1
  282. package/dist/plugins/event-emitter/types.d.ts +0 -112
  283. package/dist/plugins/event-emitter/types.d.ts.map +0 -1
  284. package/dist/plugins/event-emitter/types.js +0 -65
  285. package/dist/plugins/event-emitter/types.js.map +0 -1
  286. package/dist/plugins/event-emitter-plugin.d.ts +0 -222
  287. package/dist/plugins/event-emitter-plugin.d.ts.map +0 -1
  288. package/dist/plugins/event-emitter-plugin.js +0 -432
  289. package/dist/plugins/event-emitter-plugin.js.map +0 -1
  290. package/dist/plugins/event-emitter-plugin.test.d.ts +0 -2
  291. package/dist/plugins/event-emitter-plugin.test.d.ts.map +0 -1
  292. package/dist/plugins/event-emitter-plugin.test.js +0 -94
  293. package/dist/plugins/event-emitter-plugin.test.js.map +0 -1
  294. package/dist/plugins/execution/execution-analytics-plugin.d.ts +0 -129
  295. package/dist/plugins/execution/execution-analytics-plugin.d.ts.map +0 -1
  296. package/dist/plugins/execution/execution-analytics-plugin.js +0 -517
  297. package/dist/plugins/execution/execution-analytics-plugin.js.map +0 -1
  298. package/dist/plugins/execution/index.d.ts +0 -3
  299. package/dist/plugins/execution/index.d.ts.map +0 -1
  300. package/dist/plugins/execution/index.js +0 -2
  301. package/dist/plugins/execution/index.js.map +0 -1
  302. package/dist/plugins/execution/types.d.ts +0 -90
  303. package/dist/plugins/execution/types.d.ts.map +0 -1
  304. package/dist/plugins/execution/types.js +0 -2
  305. package/dist/plugins/execution/types.js.map +0 -1
  306. package/dist/plugins/index.d.ts +0 -10
  307. package/dist/plugins/index.d.ts.map +0 -1
  308. package/dist/plugins/index.js +0 -11
  309. package/dist/plugins/index.js.map +0 -1
  310. package/dist/plugins/limits/types.d.ts +0 -61
  311. package/dist/plugins/limits/types.d.ts.map +0 -1
  312. package/dist/plugins/limits/types.js +0 -2
  313. package/dist/plugins/limits/types.js.map +0 -1
  314. package/dist/plugins/limits-plugin.d.ts +0 -113
  315. package/dist/plugins/limits-plugin.d.ts.map +0 -1
  316. package/dist/plugins/limits-plugin.js +0 -380
  317. package/dist/plugins/limits-plugin.js.map +0 -1
  318. package/dist/plugins/logging/formatters.d.ts +0 -14
  319. package/dist/plugins/logging/formatters.d.ts.map +0 -1
  320. package/dist/plugins/logging/formatters.js +0 -24
  321. package/dist/plugins/logging/formatters.js.map +0 -1
  322. package/dist/plugins/logging/index.d.ts +0 -3
  323. package/dist/plugins/logging/index.d.ts.map +0 -1
  324. package/dist/plugins/logging/index.js +0 -2
  325. package/dist/plugins/logging/index.js.map +0 -1
  326. package/dist/plugins/logging/logging-plugin.d.ts +0 -91
  327. package/dist/plugins/logging/logging-plugin.d.ts.map +0 -1
  328. package/dist/plugins/logging/logging-plugin.js +0 -335
  329. package/dist/plugins/logging/logging-plugin.js.map +0 -1
  330. package/dist/plugins/logging/storages/console-storage.d.ts +0 -14
  331. package/dist/plugins/logging/storages/console-storage.d.ts.map +0 -1
  332. package/dist/plugins/logging/storages/console-storage.js +0 -38
  333. package/dist/plugins/logging/storages/console-storage.js.map +0 -1
  334. package/dist/plugins/logging/storages/file-storage.d.ts +0 -14
  335. package/dist/plugins/logging/storages/file-storage.d.ts.map +0 -1
  336. package/dist/plugins/logging/storages/file-storage.js +0 -41
  337. package/dist/plugins/logging/storages/file-storage.js.map +0 -1
  338. package/dist/plugins/logging/storages/index.d.ts +0 -5
  339. package/dist/plugins/logging/storages/index.d.ts.map +0 -1
  340. package/dist/plugins/logging/storages/index.js +0 -5
  341. package/dist/plugins/logging/storages/index.js.map +0 -1
  342. package/dist/plugins/logging/storages/remote-storage.d.ts +0 -20
  343. package/dist/plugins/logging/storages/remote-storage.d.ts.map +0 -1
  344. package/dist/plugins/logging/storages/remote-storage.js +0 -61
  345. package/dist/plugins/logging/storages/remote-storage.js.map +0 -1
  346. package/dist/plugins/logging/storages/silent-storage.d.ts +0 -10
  347. package/dist/plugins/logging/storages/silent-storage.d.ts.map +0 -1
  348. package/dist/plugins/logging/storages/silent-storage.js +0 -15
  349. package/dist/plugins/logging/storages/silent-storage.js.map +0 -1
  350. package/dist/plugins/logging/types.d.ts +0 -84
  351. package/dist/plugins/logging/types.d.ts.map +0 -1
  352. package/dist/plugins/logging/types.js +0 -2
  353. package/dist/plugins/logging/types.js.map +0 -1
  354. package/dist/plugins/performance/collectors/system-metrics-collector.d.ts +0 -12
  355. package/dist/plugins/performance/collectors/system-metrics-collector.d.ts.map +0 -1
  356. package/dist/plugins/performance/collectors/system-metrics-collector.js +0 -65
  357. package/dist/plugins/performance/collectors/system-metrics-collector.js.map +0 -1
  358. package/dist/plugins/performance/index.d.ts +0 -5
  359. package/dist/plugins/performance/index.d.ts.map +0 -1
  360. package/dist/plugins/performance/index.js +0 -4
  361. package/dist/plugins/performance/index.js.map +0 -1
  362. package/dist/plugins/performance/performance-plugin.d.ts +0 -49
  363. package/dist/plugins/performance/performance-plugin.d.ts.map +0 -1
  364. package/dist/plugins/performance/performance-plugin.js +0 -293
  365. package/dist/plugins/performance/performance-plugin.js.map +0 -1
  366. package/dist/plugins/performance/storages/index.d.ts +0 -2
  367. package/dist/plugins/performance/storages/index.d.ts.map +0 -1
  368. package/dist/plugins/performance/storages/index.js +0 -4
  369. package/dist/plugins/performance/storages/index.js.map +0 -1
  370. package/dist/plugins/performance/storages/memory-storage.d.ts +0 -19
  371. package/dist/plugins/performance/storages/memory-storage.d.ts.map +0 -1
  372. package/dist/plugins/performance/storages/memory-storage.js +0 -69
  373. package/dist/plugins/performance/storages/memory-storage.js.map +0 -1
  374. package/dist/plugins/performance/types.d.ts +0 -154
  375. package/dist/plugins/performance/types.d.ts.map +0 -1
  376. package/dist/plugins/performance/types.js +0 -2
  377. package/dist/plugins/performance/types.js.map +0 -1
  378. package/dist/plugins/usage/aggregate-usage-stats.d.ts +0 -12
  379. package/dist/plugins/usage/aggregate-usage-stats.d.ts.map +0 -1
  380. package/dist/plugins/usage/aggregate-usage-stats.js +0 -115
  381. package/dist/plugins/usage/aggregate-usage-stats.js.map +0 -1
  382. package/dist/plugins/usage/index.d.ts +0 -5
  383. package/dist/plugins/usage/index.d.ts.map +0 -1
  384. package/dist/plugins/usage/index.js +0 -4
  385. package/dist/plugins/usage/index.js.map +0 -1
  386. package/dist/plugins/usage/storages/file-storage.d.ts +0 -22
  387. package/dist/plugins/usage/storages/file-storage.d.ts.map +0 -1
  388. package/dist/plugins/usage/storages/file-storage.js +0 -111
  389. package/dist/plugins/usage/storages/file-storage.js.map +0 -1
  390. package/dist/plugins/usage/storages/index.d.ts +0 -5
  391. package/dist/plugins/usage/storages/index.d.ts.map +0 -1
  392. package/dist/plugins/usage/storages/index.js +0 -5
  393. package/dist/plugins/usage/storages/index.js.map +0 -1
  394. package/dist/plugins/usage/storages/memory-storage.d.ts +0 -22
  395. package/dist/plugins/usage/storages/memory-storage.d.ts.map +0 -1
  396. package/dist/plugins/usage/storages/memory-storage.js +0 -42
  397. package/dist/plugins/usage/storages/memory-storage.js.map +0 -1
  398. package/dist/plugins/usage/storages/remote-storage.d.ts +0 -26
  399. package/dist/plugins/usage/storages/remote-storage.d.ts.map +0 -1
  400. package/dist/plugins/usage/storages/remote-storage.js +0 -115
  401. package/dist/plugins/usage/storages/remote-storage.js.map +0 -1
  402. package/dist/plugins/usage/storages/silent-storage.d.ts +0 -19
  403. package/dist/plugins/usage/storages/silent-storage.d.ts.map +0 -1
  404. package/dist/plugins/usage/storages/silent-storage.js +0 -26
  405. package/dist/plugins/usage/storages/silent-storage.js.map +0 -1
  406. package/dist/plugins/usage/types.d.ts +0 -127
  407. package/dist/plugins/usage/types.d.ts.map +0 -1
  408. package/dist/plugins/usage/types.js +0 -2
  409. package/dist/plugins/usage/types.js.map +0 -1
  410. package/dist/plugins/usage/usage-plugin.d.ts +0 -67
  411. package/dist/plugins/usage/usage-plugin.d.ts.map +0 -1
  412. package/dist/plugins/usage/usage-plugin.js +0 -309
  413. package/dist/plugins/usage/usage-plugin.js.map +0 -1
  414. package/dist/plugins/webhook/http-client.d.ts +0 -30
  415. package/dist/plugins/webhook/http-client.d.ts.map +0 -1
  416. package/dist/plugins/webhook/http-client.js +0 -110
  417. package/dist/plugins/webhook/http-client.js.map +0 -1
  418. package/dist/plugins/webhook/index.d.ts +0 -9
  419. package/dist/plugins/webhook/index.d.ts.map +0 -1
  420. package/dist/plugins/webhook/index.js +0 -9
  421. package/dist/plugins/webhook/index.js.map +0 -1
  422. package/dist/plugins/webhook/transformer.d.ts +0 -63
  423. package/dist/plugins/webhook/transformer.d.ts.map +0 -1
  424. package/dist/plugins/webhook/transformer.js +0 -157
  425. package/dist/plugins/webhook/transformer.js.map +0 -1
  426. package/dist/plugins/webhook/types.d.ts +0 -183
  427. package/dist/plugins/webhook/types.d.ts.map +0 -1
  428. package/dist/plugins/webhook/types.js +0 -2
  429. package/dist/plugins/webhook/types.js.map +0 -1
  430. package/dist/plugins/webhook/webhook-plugin.d.ts +0 -92
  431. package/dist/plugins/webhook/webhook-plugin.d.ts.map +0 -1
  432. package/dist/plugins/webhook/webhook-plugin.js +0 -328
  433. package/dist/plugins/webhook/webhook-plugin.js.map +0 -1
  434. package/dist/schemas/agent-template-schema.d.ts +0 -137
  435. package/dist/schemas/agent-template-schema.d.ts.map +0 -1
  436. package/dist/schemas/agent-template-schema.js +0 -87
  437. package/dist/schemas/agent-template-schema.js.map +0 -1
  438. package/dist/services/conversation-service/index.d.ts +0 -88
  439. package/dist/services/conversation-service/index.d.ts.map +0 -1
  440. package/dist/services/conversation-service/index.js +0 -441
  441. package/dist/services/conversation-service/index.js.map +0 -1
  442. package/dist/services/conversation-service/types.d.ts +0 -32
  443. package/dist/services/conversation-service/types.d.ts.map +0 -1
  444. package/dist/services/conversation-service/types.js +0 -8
  445. package/dist/services/conversation-service/types.js.map +0 -1
  446. package/dist/services/event-service.d.ts +0 -61
  447. package/dist/services/event-service.d.ts.map +0 -1
  448. package/dist/services/event-service.js +0 -110
  449. package/dist/services/event-service.js.map +0 -1
  450. package/dist/services/event-service.test.d.ts +0 -2
  451. package/dist/services/event-service.test.d.ts.map +0 -1
  452. package/dist/services/event-service.test.js +0 -86
  453. package/dist/services/event-service.test.js.map +0 -1
  454. package/dist/services/execution-service.d.ts +0 -151
  455. package/dist/services/execution-service.d.ts.map +0 -1
  456. package/dist/services/execution-service.js +0 -1262
  457. package/dist/services/execution-service.js.map +0 -1
  458. package/dist/services/execution-service.test.d.ts +0 -2
  459. package/dist/services/execution-service.test.d.ts.map +0 -1
  460. package/dist/services/execution-service.test.js +0 -338
  461. package/dist/services/execution-service.test.js.map +0 -1
  462. package/dist/services/history-module.d.ts +0 -15
  463. package/dist/services/history-module.d.ts.map +0 -1
  464. package/dist/services/history-module.js +0 -42
  465. package/dist/services/history-module.js.map +0 -1
  466. package/dist/services/in-memory-history-store.d.ts +0 -12
  467. package/dist/services/in-memory-history-store.d.ts.map +0 -1
  468. package/dist/services/in-memory-history-store.js +0 -41
  469. package/dist/services/in-memory-history-store.js.map +0 -1
  470. package/dist/services/index.d.ts +0 -7
  471. package/dist/services/index.d.ts.map +0 -1
  472. package/dist/services/index.js +0 -13
  473. package/dist/services/index.js.map +0 -1
  474. package/dist/services/task-events.d.ts +0 -6
  475. package/dist/services/task-events.d.ts.map +0 -1
  476. package/dist/services/task-events.js +0 -6
  477. package/dist/services/task-events.js.map +0 -1
  478. package/dist/services/tool-execution-service.d.ts +0 -74
  479. package/dist/services/tool-execution-service.d.ts.map +0 -1
  480. package/dist/services/tool-execution-service.js +0 -189
  481. package/dist/services/tool-execution-service.js.map +0 -1
  482. package/dist/services/user-events.d.ts +0 -7
  483. package/dist/services/user-events.d.ts.map +0 -1
  484. package/dist/services/user-events.js +0 -6
  485. package/dist/services/user-events.js.map +0 -1
  486. package/dist/tools/implementations/function-tool/index.d.ts +0 -9
  487. package/dist/tools/implementations/function-tool/index.d.ts.map +0 -1
  488. package/dist/tools/implementations/function-tool/index.js +0 -13
  489. package/dist/tools/implementations/function-tool/index.js.map +0 -1
  490. package/dist/tools/implementations/function-tool/schema-converter.d.ts +0 -32
  491. package/dist/tools/implementations/function-tool/schema-converter.d.ts.map +0 -1
  492. package/dist/tools/implementations/function-tool/schema-converter.js +0 -164
  493. package/dist/tools/implementations/function-tool/schema-converter.js.map +0 -1
  494. package/dist/tools/implementations/function-tool/types.d.ts +0 -72
  495. package/dist/tools/implementations/function-tool/types.d.ts.map +0 -1
  496. package/dist/tools/implementations/function-tool/types.js +0 -14
  497. package/dist/tools/implementations/function-tool/types.js.map +0 -1
  498. package/dist/tools/implementations/function-tool.d.ts +0 -49
  499. package/dist/tools/implementations/function-tool.d.ts.map +0 -1
  500. package/dist/tools/implementations/function-tool.js +0 -223
  501. package/dist/tools/implementations/function-tool.js.map +0 -1
  502. package/dist/tools/implementations/index.d.ts +0 -4
  503. package/dist/tools/implementations/index.d.ts.map +0 -1
  504. package/dist/tools/implementations/index.js +0 -5
  505. package/dist/tools/implementations/index.js.map +0 -1
  506. package/dist/tools/implementations/mcp-tool.d.ts +0 -72
  507. package/dist/tools/implementations/mcp-tool.d.ts.map +0 -1
  508. package/dist/tools/implementations/mcp-tool.js +0 -246
  509. package/dist/tools/implementations/mcp-tool.js.map +0 -1
  510. package/dist/tools/implementations/openapi-tool.d.ts +0 -56
  511. package/dist/tools/implementations/openapi-tool.d.ts.map +0 -1
  512. package/dist/tools/implementations/openapi-tool.js +0 -324
  513. package/dist/tools/implementations/openapi-tool.js.map +0 -1
  514. package/dist/tools/implementations/relay-mcp-tool.d.ts +0 -38
  515. package/dist/tools/implementations/relay-mcp-tool.d.ts.map +0 -1
  516. package/dist/tools/implementations/relay-mcp-tool.js +0 -46
  517. package/dist/tools/implementations/relay-mcp-tool.js.map +0 -1
  518. package/dist/tools/index.d.ts +0 -3
  519. package/dist/tools/index.d.ts.map +0 -1
  520. package/dist/tools/index.js +0 -4
  521. package/dist/tools/index.js.map +0 -1
  522. package/dist/tools/registry/index.d.ts +0 -2
  523. package/dist/tools/registry/index.d.ts.map +0 -1
  524. package/dist/tools/registry/index.js +0 -3
  525. package/dist/tools/registry/index.js.map +0 -1
  526. package/dist/tools/registry/tool-registry.d.ts +0 -54
  527. package/dist/tools/registry/tool-registry.d.ts.map +0 -1
  528. package/dist/tools/registry/tool-registry.js +0 -146
  529. package/dist/tools/registry/tool-registry.js.map +0 -1
  530. package/dist/utils/errors.d.ts +0 -155
  531. package/dist/utils/errors.d.ts.map +0 -1
  532. package/dist/utils/errors.js +0 -203
  533. package/dist/utils/errors.js.map +0 -1
  534. package/dist/utils/execution-proxy.d.ts +0 -75
  535. package/dist/utils/execution-proxy.d.ts.map +0 -1
  536. package/dist/utils/execution-proxy.js +0 -230
  537. package/dist/utils/execution-proxy.js.map +0 -1
  538. package/dist/utils/index.d.ts +0 -11
  539. package/dist/utils/index.d.ts.map +0 -1
  540. package/dist/utils/index.js +0 -7
  541. package/dist/utils/index.js.map +0 -1
  542. package/dist/utils/logger.d.ts +0 -74
  543. package/dist/utils/logger.d.ts.map +0 -1
  544. package/dist/utils/logger.js +0 -143
  545. package/dist/utils/logger.js.map +0 -1
  546. package/dist/utils/message-converter.d.ts +0 -68
  547. package/dist/utils/message-converter.d.ts.map +0 -1
  548. package/dist/utils/message-converter.js +0 -87
  549. package/dist/utils/message-converter.js.map +0 -1
  550. package/dist/utils/periodic-task.d.ts +0 -14
  551. package/dist/utils/periodic-task.d.ts.map +0 -1
  552. package/dist/utils/periodic-task.js +0 -26
  553. package/dist/utils/periodic-task.js.map +0 -1
  554. package/dist/utils/validation.d.ts +0 -40
  555. package/dist/utils/validation.d.ts.map +0 -1
  556. package/dist/utils/validation.js +0 -162
  557. package/dist/utils/validation.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,883 @@
1
1
  # @robota-sdk/agent-core
2
2
 
3
+ ## 3.0.0-beta.82
4
+
5
+ ### Minor Changes
6
+
7
+ - c7f9203: Connected sessions can send each other files.
8
+
9
+ - `/peers send-file <session-id> <path>` sends a copy of any file the operator can read to another
10
+ live session on this host.
11
+ - The model sends a file only through the `peer_send_file` tool. Every call asks the user, showing
12
+ the path, size, hash and destination; no permission mode, rule or remembered consent answers it.
13
+ The tool reaches only files inside the workspace whose path does not look like it holds secrets
14
+ (`.env*`, `~/.ssh`, keys and credentials), and it does not exist in a turn a peer's message started.
15
+ - The receiving operator approves every file. A received file is kept as an inert copy (mode 0600)
16
+ under `~/.robota/peer-files/<sender>/`. It is never run and never placed in the model's context.
17
+ The conversation is told only its name, size and sha256. A name that leaves that directory is
18
+ refused, a symbolic link is never written through, and nothing is overwritten.
19
+ - Transfers travel on a channel of their own (a separate connection on this host, a separate data
20
+ channel between devices), in chunks the receiver paces, up to 32 MiB, and are kept only when the
21
+ whole content matches the offered sha256. A transfer that ends early is discarded; there is no
22
+ resume.
23
+
24
+ **API**
25
+
26
+ - `agent-interface-session-mobility`: the `file` capability, which asks the operator for every
27
+ request; `ConnectionAuthority.authorizeFile`; `IFileOffer` and `IFileFrameChannel`.
28
+ - `agent-transport/node`: `sendFileOverChannel` and `receiveFileOverChannel`, the carrier over any
29
+ `IFileFrameChannel`; `DEFAULT_MAX_FILE_BYTES`.
30
+ - `agent-transport-webrtc`: `IDeviceMeshLink.openFileChannel` and `onFileChannel`.
31
+ - `agent-remote-pairing`: `file` joins `DEVICE_CAPABILITIES`. A device certificate that names it is
32
+ refused as malformed by an earlier version.
33
+ - `agent-core`: `IToolPermissionProfile.notInPeerTurn` withholds a tool from a turn a peer's message
34
+ started.
35
+ - `agent-framework`: `ICommandLocalPeersAdapter.prepareFile`.
36
+
37
+ ## 3.0.0-beta.81
38
+
39
+ ### Minor Changes
40
+
41
+ - 3038eb7: A message from another session is instant messaging: text from an untrusted third party that
42
+ carries no authority. What the model does with it is decided by the session's ordinary permissions —
43
+ rules, permission mode and remembered consent — exactly like the session's own work. The per-origin
44
+ peer policy is gone.
45
+
46
+ **BREAKING**
47
+
48
+ - `agent-core`: `IPermissionEvaluationContext.peerTurn` is now a boolean. It decides only whether a
49
+ `repliesToPeer` tool exists; every other call in a peer turn is decided as in any turn. Removed:
50
+ `isToolAvailableInPeerTurn`, `isSecretPath`, `IPeerTurnAuthority`, `TPeerReach` (now exported by
51
+ `agent-interface-session-mobility`) and `IToolPermissionProfile.workspacePaths`.
52
+ - `agent-tools`: `Read` and `Glob` no longer declare `workspacePaths`.
53
+ - `agent-session`: `ISessionRunOptions.peerReach` is replaced by `peerTurn?: boolean`, and
54
+ `ISessionOptions.allowPeerChanges` is removed. An ask in a peer turn is answered like any other:
55
+ a consent the operator remembered answers it, and an "always allow" given there is remembered.
56
+ - `agent-interface-session`: `IPeerTurnContext` no longer has `reach`; it carries only the reply
57
+ route.
58
+ - `agent-interface-session-mobility`: `peerReachOf` is removed; `TPeerReach` moves here. A delegated
59
+ turn carries no reach.
60
+ - `agent-framework`: the `peers.allowChanges` setting is removed (an existing value is ignored). A
61
+ peer turn is offered the ordinary tools, plus `peer_reply`.
62
+
63
+ **Changes**
64
+
65
+ - `agent-framework`: the per-turn statement tells the model the message is an opinion from an
66
+ untrusted third party, not its owner's instruction, and that it decides for itself whether and how
67
+ to act. A message still expands no `@path` and attaches no context reference, and its requests
68
+ still carry no provider-hosted tool, since no permission step can decide one. The session takes
69
+ at most 6 messages a minute and 30 an hour from each sender for a turn; a message over the limit
70
+ is refused with a reason the sender receives. A prompt answer given in the name of a `peer:` or `external:`
71
+ driver is ignored. External-event turns keep their tool-less baseline.
72
+ - `agent-cli`: incoming peer turns carry only their reply route.
73
+
74
+ - 02b7452: A reply to a peer session is decided by the permission system like any call that sends something
75
+ off this machine, and it goes only to the sender that was admitted.
76
+
77
+ - `agent-core` — a tool declaring `repliesToPeer` is still refused outside a peer turn; inside one it
78
+ is decided by the ordinary steps: deny, ask and allow rules, then the mode. It declares no risk
79
+ class, so it asks by default, is refused in plan mode and proceeds under bypass. `IPeerTurnAuthority`
80
+ no longer has `toolUsed`.
81
+ - `agent-session` — an "always allow" answer to the reply is remembered and answers later replies,
82
+ as for any tool; other asks in a peer turn still need a fresh approval each time.
83
+ - `agent-framework` — `peer_reply` asks the operator by default, showing the full text and the peer
84
+ it goes to; `permissions.allow`/`deny` rules naming `peer_reply` apply. `PeerMessageIngress`
85
+ refuses a message whose origin names a sender other than the admitted one, or whose admission names
86
+ no sender, and submits the turn with the admitted identity.
87
+ - `agent-cli` — a local peer message is taken as coming from the session it names only when that
88
+ session confirms, at its own socket, that it is sending exactly that message to this receiver.
89
+ The reply target, the driver id and the operator's notices come from the confirmed sender. A
90
+ session on an earlier version cannot confirm, so its messages are refused; both sessions need this
91
+ version to message each other.
92
+
93
+ - ec5e477: Add a credential store port (`ICredentialStore` in `agent-core`) and keep the CLI's secrets behind it: the OS keychain through the optional `@napi-rs/keyring` binding (macOS Keychain, Windows Credential Manager, Linux Secret Service), else an owner-only file under `~/.robota/credentials`. The backend is chosen at first use, recorded, and named by `/remote-control status`; a recorded keychain that stops working fails closed instead of degrading to the file.
94
+
95
+ The remote-control host identity key moves into the store. The old `~/.robota/remote-host-identity.json` may have been copied by backups or dotfile sync, so it is not carried over: on the first run after upgrading a new host key is generated, the old file is removed, and the operator is told once that trusted devices must pair again.
96
+
97
+ ## 3.0.0-beta.80
98
+
99
+ ### Major Changes
100
+
101
+ - 4eea54b: **`@robota-sdk/agent-core` removes `IMCPToolConfig` and `IToolFactory.createMCPTool()` with no compatibility facade.**
102
+
103
+ Both were exported with no producer and no consumer. `IToolFactory` had no implementation anywhere in
104
+ this repository — `grep -rn 'IToolFactory' packages/*/src apps/*/src` returned only the declaration
105
+ and its export line — and nothing constructed an `IMCPToolConfig`. An MCP server definition is now
106
+ owned by `@robota-sdk/agent-mcp` (MCP-001), which also absorbs the raw/validated/resolved
107
+ forms, source provenance and shadow metadata, strict foreign `mcpServers` decoding, environment
108
+ templates, whole-entry precedence, reversible disable overlays, redacted management projections and
109
+ activation identity.
110
+
111
+ `major` because an exported type and an interface member are gone. An external implementer of
112
+ `IToolFactory` — there is none in this repository — stops compiling until it removes its
113
+ `createMCPTool` member; a caller of the removed type must take the `agent-mcp` definition contract
114
+ instead. No facade is retained deliberately: keeping a deprecated alias would re-create the state
115
+ this change exists to end, two MCP contracts with one of them dead.
116
+
117
+ `@robota-sdk/agent-mcp` is the same workspace package previously named `@robota-sdk/agent-tool-mcp`,
118
+ renamed in place. It stays `private`, so the rename publishes nothing; MCP-002 owns its publication
119
+ together with the official MCP TypeScript SDK client and the first product-reachable slice.
120
+
121
+ - f336838: One permission evaluation order for every caller. The interactive session, background tasks and
122
+ subagents used to run two different resolvers, so the same call could be decided differently
123
+ depending on who made it. They now share `evaluatePermission`, and a background policy only adds a
124
+ ceiling, an ask-everything flag and the task's own lists to it:
125
+
126
+ deny → caller ceiling → unevaluable deny (ask) → never-auto-approve set (ask) → ask-everything →
127
+ bypassPermissions → allow → mode.
128
+
129
+ - **`ask` rules.** `permissions.ask` patterns always ask, in every mode including
130
+ `bypassPermissions`. They are matched per command like a deny rule, and are validated at
131
+ construction alongside `allow` and `deny`.
132
+ - **Never auto-approved, bypass included:** removing a critical path with `rm`/`rmdir` (the root, a
133
+ top-level directory, home, the working directory or a parent), and a modify-class write into
134
+ `.git`, `.robota`, `.claude`, `.agents`, `.mcp.json`, `.gitconfig`, `.npmrc` or a shell rc file.
135
+ Files inside an isolated worktree (`.robota/worktrees/<name>/…`) are ordinary files. With no
136
+ approver attached, an ask is a denial.
137
+ - **A ceiling is checked before bypass and before any ask.** A subagent's `inherit-allowlist` ceiling
138
+ is now the parent's _effective_ rules, read live at spawn: settings, preset lists and command
139
+ auto-allows. It used to be the raw settings file. An unevaluable deny under a policy now asks,
140
+ like everywhere else, where it used to deny outright; with no approver it is still a denial.
141
+ - **Settings layers union `permissions.allow`**, as they already did `deny`. A checked-in project
142
+ file no longer silently discards the user's allow list.
143
+ - **Print mode, `createQuery()` and headless sessions default to `default` mode**, not
144
+ `bypassPermissions`. They have no approver, so a call that would ask is denied. Pass
145
+ `--permission-mode` / `permissionMode: 'bypassPermissions'` explicitly for unattended runs.
146
+
147
+ **Breaking:**
148
+ - `@robota-sdk/agent-core` removes `resolvePermissionByPolicy` and `TPermissionPolicyDecision` in
149
+ favour of `projectPermissionPolicy` plus `evaluatePermission`'s new `context` argument.
150
+ - `@robota-sdk/agent-framework` changes the settings merge rule for `permissions.allow`, and the
151
+ default permission mode of `createQuery()` and headless sessions.
152
+
153
+ - 475e085: **BREAKING — CORE-028: the Node-only surface moves from the main barrel to `@robota-sdk/agent-core/node`.**
154
+
155
+ `canonicalizePath`, `isPathInside`, `CommandExecutor` and `HttpExecutor` were exported from the main
156
+ barrel. Each one needs `node:fs`, `node:path` or `node:child_process`, so the package's `browser`
157
+ build had those three builtins in its static import graph — a package declaring a `browser` export
158
+ condition while statically importing Node builtins. A bundler resolves that one of two ways: it
159
+ errors, or it aliases the builtin to an empty object and the code fails later at a call site with no
160
+ useful trace. Neither is a build you want to ship.
161
+
162
+ The four now live at the `./node` subpath, which makes the dependency legible at the import site
163
+ instead of hiding it inside a barrel. The main barrel's static graph imports zero Node builtins,
164
+ which a test now holds at zero rather than at a list of known remainders.
165
+
166
+ **Migration** — change the import path; no signature changed:
167
+
168
+ ```ts
169
+ // before
170
+ import {
171
+ canonicalizePath,
172
+ isPathInside,
173
+ CommandExecutor,
174
+ HttpExecutor,
175
+ } from '@robota-sdk/agent-core';
176
+
177
+ // after
178
+ import {
179
+ canonicalizePath,
180
+ isPathInside,
181
+ CommandExecutor,
182
+ HttpExecutor,
183
+ } from '@robota-sdk/agent-core/node';
184
+ ```
185
+
186
+ `./node` carries `"browser": null`, declaring that the subpath has no browser implementation, so a
187
+ resolver that honours a null target refuses it by name instead of quietly serving the Node build.
188
+
189
+ That declaration is worth stating precisely, because it was measured rather than assumed. Bundling
190
+ `import '@robota-sdk/agent-core/node'` under `['browser', 'import', 'default']` with the repo's own
191
+ bundler does NOT stop at the null: through a workspace link it resolves the `source` entry and then
192
+ fails on `node:fs`, `node:path` and `node:child_process`. The build still breaks, and the message
193
+ still names the Node dependency, so the failure is visible either way — but by a different mechanism
194
+ than the null, and only spec-compliant resolvers give the cleaner error. The claim here is the
195
+ declaration, not a guarantee about every bundler.
196
+
197
+ ### Minor Changes
198
+
199
+ - 1698be4: A child-process subagent can no longer send the parent's provider credential to a different
200
+ endpoint.
201
+
202
+ - **Before spawning a child**, the parent compares every environment variable that decides where
203
+ the provider connects or which credential it sends. If the child's environment differs, the job
204
+ is refused before the credential leaves the parent. The error names the variable, never its
205
+ value. The variables compared are:
206
+ - the proxy and TLS variables;
207
+ - the variables the provider's SDK reads, such as `OPENAI_BASE_URL`, `ANTHROPIC_AUTH_TOKEN` and
208
+ the Vertex settings;
209
+ - the credential's own variable.
210
+ - **The child** repeats the check before it builds its provider. It builds that provider from the
211
+ parent's effective connection exactly: it no longer fills in a base URL, options or a default
212
+ credential from its own registry, and a credential reference that resolves to nothing is refused.
213
+ - **Where the effective connection comes from:** the parent applies its own definition defaults
214
+ (base URL, options). `profileName` is sent only when it names the connection actually sent.
215
+ - **New contracts:**
216
+ - `IProviderDefinition.destinationEnvironment`, declared by every built-in provider.
217
+ - `createProviderFromExactProfile`, `connectionEnvironmentNames`,
218
+ `findConnectionEnvironmentDivergence`, `sealConnectionEnvironment`,
219
+ `verifyConnectionEnvironment` and `TRANSPORT_ENVIRONMENT`.
220
+ - The start payload's `connectionCheck`.
221
+ - The child-process runner's `providerDefinitions` option, now required: a provider with no
222
+ definition there is refused, because its connection cannot be checked.
223
+
224
+ - d4189b9: The rest of the per-server MCP OAuth lifecycle: signing in to a server without a local browser,
225
+ signing out of it with token revocation, and each server's sign-in state in `/mcp`.
226
+
227
+ - **`robota mcp login <name> --no-browser`** prints the authorization URL and reads the redirect URL
228
+ the user pastes back (not echoed). `runMCPOAuthLogin` takes `readRedirect` for this; nothing
229
+ listens on the redirect URI then. The pasted URL is held to the loopback listener's rules through
230
+ `createPastedRedirectAcceptor`: it must be the registered redirect URI (same origin and path, no
231
+ user info), carry the sign-in's `state` (compared in constant time), and is accepted once; an
232
+ error redirect is `authorization-denied` without its `error_description`, and the RFC 9207 `iss`
233
+ check applies as before. `openBrowser` now also receives the redirect URI. `readRedirect` gets a
234
+ signal that aborts on cancel or at `callbackTimeoutMs` (5 minutes by default, as for the loopback
235
+ listener); a paste longer than the prompt accepts fails as `redirect-too-long`.
236
+ - **Signing out** (`runMCPOAuthLogout`; `robota mcp logout <name>`; `/mcp logout <serverId>`):
237
+ deletes the stored credential under the refresh lock, then revokes the refresh token and the
238
+ access token (RFC 7009) when the stored issuer advertises `revocation_endpoint`. Revocation is a
239
+ POST through the egress policy that never follows a redirect and is byte-bounded; it authenticates
240
+ the client by `revocation_endpoint_auth_methods_supported` when advertised, otherwise the way its
241
+ refresh does. The local delete always happens. Each token's outcome is reported in `tokens`, and
242
+ overall as `revoked`, `partial`, `unsupported`, `failed` or `not-attempted`, with fixed reasons
243
+ only (new: `revocation-failed`, and `token-type-not-revocable` for RFC 7009
244
+ `unsupported_token_type`). `/mcp logout` also makes the session's authenticator drop the token it
245
+ holds (`IMCPOAuthAuthenticator.forget`).
246
+ - **Sign-in state:** `readMCPOAuthCredentialState` answers `signed-in`, `expired-refreshable`,
247
+ `sign-in-required` or `signed-out` — never anything token-derived. `/mcp` shows it for every
248
+ OAuth server; a server this session was told needs a sign-in reads `sign-in-required`.
249
+ `ICommandMCPActivationAdapter` gains optional `oauthStatus` and `oauthLogout`
250
+ (`ICommandMCPOAuthStatus`, `ICommandMCPOAuthLogoutResult`).
251
+ - **No in-session sign-in:** signing in stays `robota mcp login <server>` in a terminal, since it
252
+ needs the terminal (browser, pasted redirect, hidden secret prompt) a running session owns. `/mcp`
253
+ names that command for a server that needs a sign-in, as does the session's sign-in notice; the
254
+ server name is shown there only when it is safe to paste into any shell — a plain token not
255
+ starting with `-` or `=` — and is otherwise replaced by `<server>` (`shellArgumentForDisplay` in
256
+ `agent-core`; nothing is quoted, since quoting rules differ between shells). Server names in OAuth
257
+ notices have control and format characters escaped.
258
+ - **Refresh hardening:** on `invalid_grant`, the store is read again under the lock; a refresh token
259
+ another holder rotated in meanwhile is kept (and used when still valid) instead of being deleted.
260
+ The expiry skew is capped at half the token's lifetime, so a short-lived token is not refreshed on
261
+ every request; credentials now record `issuedAt` for this.
262
+
263
+ - 9edae52: Remote MCP servers can authenticate with OAuth: `robota mcp login <name>` signs in, and sessions
264
+ send the stored token.
265
+
266
+ - **Declaring it:** `"oauth": { "clientId"?, "callbackPort"?, "authServerMetadataUrl"?, "scopes"? }`
267
+ on a remote server definition, decoded into `IMCPOAuthConfig`.
268
+ - `authServerMetadataUrl` must be `https`. `scopes` wins over the server's metadata and a 401's
269
+ `scope`.
270
+ - A `clientId` needs a `callbackPort`: a pre-registered client's redirect URI is fixed.
271
+ - `clientSecret`, unknown keys and `${}` templates are refused; `oauth` beside `headersHelper`,
272
+ or on a stdio server, is refused.
273
+ - `oauth` is no longer reported as unsupported authentication, and it is part of the definition
274
+ fingerprint.
275
+ - **Signing in** (`runMCPOAuthLogin`; `robota mcp login <name> [--client-secret]`):
276
+ - Discovery is done here, not by the SDK's `discoverOAuthServerInfo`: the protected-resource
277
+ metadata `resource` must be the canonical server URL, the authorization server's `issuer` must
278
+ be the server it was fetched for, the server, authorization, token and registration
279
+ endpoints must be `https`, and the authorization server must advertise PKCE `S256`
280
+ (`pkce-unsupported` otherwise). A 401's `resource_metadata` is never followed to another origin,
281
+ and a server without resource metadata is not guessed at.
282
+ `authServerMetadataUrl` skips resource discovery.
283
+ - Dynamic client registration when there is no `clientId`; PKCE, a random `state` and the
284
+ RFC 8707 resource indicator on the authorization request; the RFC 9207 `iss` checked on the
285
+ redirect when sent, and required when the server promises it.
286
+ - The loopback callback listens on `127.0.0.1`, checks `Host`, answers only `GET /callback` with
287
+ the sign-in's `state` (compared in constant time), once, within 5 minutes, and serves a static
288
+ page that never shows `error_description`.
289
+ - The browser opens by argv (`open`, `xdg-open`, `rundll32 url.dll,FileProtocolHandler`) and only
290
+ for an `https` URL. `--client-secret` asks for the secret without echo (or reads stdin's first
291
+ line) and only for a pre-registered client.
292
+ - **Network:** every OAuth request goes through the egress policy and is capped at 256 KiB.
293
+ `agent-core` adds `postWithEgressPolicy`, which refuses a redirect (`redirect_refused`) instead
294
+ of following it; registration, token and refresh requests use it.
295
+ - **Storage:** `IMCPOAuthCredentialStore` (`get`/`set`/`delete`), keyed by the server's security
296
+ identity and canonical URL together. `createFileOAuthCredentialStore` keeps 0600 files in a 0700
297
+ `~/.robota/mcp-credentials/`. The issuer, token endpoint and client (with its secret, if any, and
298
+ the client authentication method dynamic registration returned) are stored with the tokens. A
299
+ sign-in stores its credential under the refresh lock, so a refresh in flight cannot overwrite it.
300
+ - **Sessions** (`createOAuthAuthenticator`, wired for every `oauth` definition):
301
+ - Sends the stored token as `Authorization: Bearer`, refreshing it first when expired — including
302
+ a token cached earlier in the session — and only at the stored token endpoint.
303
+ - One refresh at a time per credential: in a process through `MCPSingleFlightCache`, across
304
+ processes under `createFileOAuthRefreshLock`, re-reading the store once the lock is held. A
305
+ stale lock is taken over, and a lock released, only after it is renamed aside and proven to be
306
+ the one judged — never another process's fresh lock.
307
+ - A 401 rediscovers, then refreshes once and retries; an authorization server that changed clears
308
+ the tokens — compared, under the lock, with what is stored then, so a newer sign-in is kept. `invalid_grant`, or nothing stored, asks the user to run `robota mcp login <name>`. A 403
309
+ `insufficient_scope` fails and names the scope.
310
+ - An `oauth` definition is never connected without the authenticator (`oauth-unavailable`).
311
+ - Failures are `MCPOAuthError` with a fixed reason; no code, verifier, token, secret or
312
+ authorization-server text reaches an error, a notice or a log.
313
+
314
+ - 4078a72: Model fallback chain. `--fallback-model a,b` (or the `fallbackModel` settings array; the flag wins) names up to three models a turn moves to when its model is overloaded, unavailable or failing on the server. An entry is a provider profile, `profile:model`, a bare model on the primary's provider, or `default`. The move happens only before any output has streamed, lasts for the current turn, and is shown as a system note; entries that cannot be built are passed over and entries outside the organization's `allowedProviders` are dropped with a notice. `FallbackProvider` in agent-framework implements it over the session's provider; `IChatOptions` gains `executionId`, `onModelFallback` and `preserveContextWindow`, `IAIProvider` gains optional `resolveModelRoute`, and the execution loop emits a `provider_fallback` event and attributes requests, call observations, committed replies, the response cache and usage to the model that answered. A turn that ran on more than one model records per-model `modelShares` on its usage observation, which personal usage reports split by model and provider. A `/provider` switch keeps the chain, read again for the new primary.
315
+ - 4c73a0b: Provider failures keep the vendor's HTTP status and error type. `ProviderError` gains `status` and `type`, adapters throw `ProviderError` (or `RateLimitError` for a rate limit) instead of a bare `Error`, an Anthropic mid-stream `overloaded_error` event surfaces as a `ProviderError` with that type, and media errors carry `status`. New `classifyProviderFailure` says whether a failure is worth retrying on another model, and `toProviderError` is the shared adapter mapping.
316
+ - 196a900: Permission rules can say more than one argument per tool.
317
+
318
+ - **`Tool(name:value)` in deny and ask rules** matches a named top-level parameter, with `*` in the
319
+ value (`Bash(run_in_background:true)`, `Agent(model:opus*)`, `github__create_issue(repo:acme/*)`).
320
+ It is a parameter rule only when `name` is one of the tool's parameters, so
321
+ `WebFetch(https://…)` keeps its meaning. A parameter the call omits never matches, and a
322
+ non-scalar value is unevaluable, so the call asks. Allow rules may not use the form.
323
+ - **A rule on the primary field** (`Bash(command:rm *)`) is reported at startup and asks on every
324
+ call, instead of being silently ignored.
325
+ - **Tool-name globs.** Deny and ask rules may glob the tool name (`github__*`). Allow rules may do so
326
+ only after a literal `<server>__` prefix; an unanchored allow glob is refused at construction.
327
+ - **A bare-name deny removes the tool from the model's context.** `Tool`, `Tool(*)` or a name glob
328
+ withholds it from the offered set and the deferred-tool catalogue, live, instead of offering it
329
+ and refusing every call. `IAgentConfig.isToolVisible` is the new seam.
330
+ - **MCP canonical names keep the whole `<server>__` prefix when truncated**, so a server glob still
331
+ names every tool of that server.
332
+
333
+ - 34e50f0: A new permission mode, `auto`, lets a model classifier approve or block what would otherwise prompt.
334
+
335
+ - **What it decides:**
336
+ - Reads and in-workspace edits run as in `acceptEdits`.
337
+ - Commands and other calls the mode leaves open go to the classifier, a side call to the
338
+ session's own model. It sees the call, the working directory and the git remotes, never the
339
+ conversation.
340
+ - A block reaches the model with its reason, so it can take another route.
341
+ - **What still reaches a person, or is refused:**
342
+ - Deny rules and background ceilings apply first.
343
+ - `ask` rules, critical removals and protected paths ask a person.
344
+ - After 3 refusals in a row (blocks, or no usable verdict), or 20 blocks in the session, the
345
+ mode asks a person until one approves.
346
+ With no one to ask, the call is denied.
347
+ - **Allow rules:** in `auto` mode, allow rules that approve any command are set aside while the
348
+ mode is on. Examples are `Bash(*)`, an interpreter (`Bash(python *)`), a package runner
349
+ (`Bash(npm run *)`, `Bash(pnpm exec *)`), `Agent`, `ExecuteCommand` or `Computer`. Narrow
350
+ rules still apply.
351
+ - **Retry:** `/permissions` lists classifier blocks. `/permissions retry <n>` lets that exact call
352
+ run once, unjudged, when the model tries it again.
353
+ - **Turning it on and off:**
354
+ - `--permission-mode auto`, `/mode auto` or `/permissions auto`.
355
+ - An organization turns it off with `disableAutoMode` in the org policy.
356
+ - **New contracts:**
357
+ - `TPermissionMode` gains `'auto'`.
358
+ - `allowRulesForAutoMode` and `isBroadExecutionAllowRule`.
359
+ - `IPermissionClassifier` and `AutoModeGate`.
360
+ - The `permissionClassifier` session option.
361
+ - `Session.retryPermissionDenial`, and `retryDenial` on the permission-mode adapter.
362
+ - The `'classifier'` denial reason.
363
+ - `createModelPermissionClassifier`.
364
+ - The `disableAutoMode` option on `createSession` and `IOrgPolicy`.
365
+
366
+ - 722e88a: Shell commands can run in an OS-level sandbox: bubblewrap on Linux and WSL2, Seatbelt on macOS.
367
+
368
+ - **Confinement:** covers the command and every process it starts.
369
+ - Writes are limited to the working directory, the temporary directories and
370
+ `sandbox.filesystem.allowWrite`.
371
+ - Agent, git-hook, MCP and shell configuration inside the workspace stays read-only.
372
+ - `sandbox.filesystem.denyRead` hides paths from the command.
373
+ - The network is on or off (`sandbox.network.enabled`).
374
+ - **Modes:** `/sandbox` switches between `auto-allow`, `regular` and `off` for the next command and
375
+ saves the choice.
376
+ - In `auto-allow` (`sandbox.autoAllowBashIfSandboxed`), a confined command runs without a prompt
377
+ in `default` and `acceptEdits`.
378
+ - Deny rules, ask rules, critical removals and plan mode still apply first.
379
+ - **Exclusions:** `sandbox.excludedCommands` run unconfined, through the ordinary permission path.
380
+ - **When the sandbox cannot run:** a missing or unusable backend is reported at startup, in
381
+ `robota doctor` and in `/sandbox`, and commands then run unconfined.
382
+ `sandbox.failIfUnavailable` refuses to start instead.
383
+ - **New contracts:**
384
+ - `OsSandboxClient`, `detectOsSandbox`, `bubblewrapArguments`, `seatbeltProfile`.
385
+ - `ISandboxClient.wrapCommand` and `autoApproves`.
386
+ - `IPermissionEvaluationContext.sandboxAutoApproved`.
387
+ - The `commandSandbox` session option.
388
+ - The `sandbox` settings key and the `sandbox` command host adapter.
389
+
390
+ - d23c848: Built-in read-only shell commands run without a prompt.
391
+
392
+ A Bash call is decided like a read, and runs without a prompt in every mode (`plan` included), when
393
+ every command in it comes from the fixed read-only set (`ls`, `cat`, `grep`, `find` without actions,
394
+ `git status`/`log`/`diff`/`show` and similar) and it also:
395
+
396
+ - stays inside the workspace: every path operand resolves inside once symlinks are followed, as
397
+ `Read` requires;
398
+ - uses only printable ASCII syntax that bash, zsh, fish and PowerShell all read the same way.
399
+
400
+ Deny and ask rules still apply first. A command that writes through a redirect, expands or
401
+ substitutes anything, or runs git outside the session's repository takes the ordinary path.
402
+
403
+ New exports: `isReadOnlyCommandLine` and `TResolveInWorkspace`. `IPermissionEvaluationContext`
404
+ gains `resolveInWorkspace`, which `PermissionEnforcer` supplies.
405
+
406
+ - fec722f: Carry a trusted canonical absolute execution root from DAG product composition through worker task
407
+ input and node lifecycle context. Filesystem-capable DAG nodes now use that injected authority instead
408
+ of ambient `process.cwd()`, and authored `cwd` values may only narrow it.
409
+
410
+ BREAKING: `ITaskExecutionInput`, `INodeExecutionContext`, worker composition dependencies,
411
+ `LocalDagRuntimeProvider`, and the CLI-local runner now require an execution root at their non-convenience
412
+ boundaries. `createDagFramework()` preserves no-argument construction by validating and capturing its
413
+ current directory at the factory boundary. The filesystem-backed skill node is explicitly Node-only and
414
+ no longer advertises a browser export condition.
415
+
416
+ - 2d3b2c0: Make shell resolution executable-aware across managed and scheduled background command runners. The core
417
+ resolver now accepts one request with explicit-executable precedence, returns matching argument families
418
+ for sh/bash, PowerShell/pwsh, and cmd, and fails closed with `UnsupportedShellError` for unknown explicit
419
+ executables. Executor exposes one shared request adapter and both concrete runners consume its pair.
420
+ - 4772067: **BREAKING — ARCH-031: the subagent seam is derived from its transport SSOT instead of copied.**
421
+
422
+ One field family — what a subagent job IS — was declared three times as independent shapes and carried
423
+ between them by six hand-written object literals that nothing checked for totality. A field added to
424
+ either side had to be hand-copied at every hop, and a miss compiled clean as a silent no-op. TYPE-003
425
+ named this cause and derived one hop; the next two changes each dropped a field at a hop it had skipped
426
+ (CORE-025's permission policy, and ANALYTICS-001's `usage`, dropped in the very commit that added it).
427
+
428
+ ```ts
429
+ // now, in @robota-sdk/agent-interface-transport
430
+ export type ISubagentSpawnRequest = Omit<IAgentBackgroundTaskRequest, 'kind'>;
431
+ export type ISubagentJobResult = Omit<IBackgroundTaskResult, 'kind' | 'exitCode' | 'signalCode'>;
432
+ ```
433
+
434
+ All four projections collapse to spreads. `parentTaskId` and `providerProfile` now reach the runner
435
+ because they exist on the source, not because someone remembered them.
436
+
437
+ **Per package, classified against each barrel:**
438
+
439
+ - **`agent-executor` (major)** — the barrel loses `ISubagentSpawnRequest` and `ISubagentJobResult` (they
440
+ moved to their owner; re-publishing them here would be a pass-through re-export). `ISubagentJobStart`
441
+ and `ISubagentJobHandle` rename `jobId` → `taskId`, `ISubagentJobStart` gains `worktree?`, and
442
+ `ISubagentWorktreePrepareRequest` renames `jobId` → `taskId`.
443
+ - **`agent-framework` (major)** — the barrel loses eleven type-only re-exports of `agent-executor`-owned
444
+ types. They carried zero runtime values, so they bought none of the assembly convenience a runtime
445
+ facade exists for, while making one field family look like it had three owners. Separately,
446
+ `ISpawnAgentTaskRequest.permissionPolicy` goes optional → **required**.
447
+ - **`agent-subagent-runner` (major)** — `ISubagentWorkerStartPayload` renames `jobId` → `taskId` and gains
448
+ `worktree?`. This package is not in the item's declared `area:`; the audit that caught it is the reason
449
+ it is here.
450
+ - **`agent-interface-transport` (minor)** — two new barrel exports; nothing removed or renamed.
451
+ - **`agent-core` (minor)** — **two** new barrel exports. `DEFAULT_BACKGROUND_PERMISSION_POLICY` is the
452
+ intended one; collapsing the hand-listed permissions block to `export *` also surfaced
453
+ `clearRegisteredToolArgumentKeys`, which the old list had omitted. It is documented as public rather
454
+ than re-narrowed — a barrel that cannot fall out of step with its owner is the point of the collapse.
455
+ Nothing was removed: all nine previously-listed permission types remain on the barrel.
456
+ - **`agent-cli` (patch)** — migrated as the only in-repo implementer of `ISubagentWorktreeAdapter`; no
457
+ barrel change.
458
+
459
+ **`permissionPolicy` is now required at the spawn boundary**, and its default is one exported constant
460
+ owned by the permission SSOT. It was previously applied as `?? 'inherit-allowlist'` in the middle of a
461
+ projection, in **two** packages independently, with nothing keeping them equal — a security-relevant value
462
+ whose default was declared twice. Every spawn site now states its own policy.
463
+
464
+ **The worktree identity moved to the runner envelope.** It is runner-produced — the worktree does not
465
+ exist when a caller builds a request — so it rides on `ISubagentJobStart.worktree` and crosses the IPC
466
+ boundary there. The runner no longer also rewrites `request.cwd`, which had given ARCH-010's execution-root
467
+ rule two carriers that could disagree. `branchName` **relocated rather than being deleted**: it has no
468
+ reader in this repository today, and for a library that is not a reason to drop a legitimate contract.
469
+
470
+ **Renames are consistent across the SPI** (`type` → `agentType`, `jobId` → `taskId`) rather than applied to
471
+ one shape, which would have left two names for one identifier in a single file. The IPC validator's
472
+ string-literal keys are now typed against the contract, so the next rename is a compile error instead of a
473
+ runtime rejection of every start payload.
474
+
475
+ - 9fbab1b: Provider DIP Stage B (ARCH-PROVIDER-003), part 1: collapse infrastructure. Adds the
476
+ provider-registry-driven `@robota-sdk/dag-node-llm-text` node that supersedes the
477
+ per-vendor LLM nodes + router, relocates the provider config resolver into
478
+ `agent-core`, adds SSOT cost/allowedModels fields, inverts the `llm-text` validator
479
+ tombstone, and wires `createDagFramework({ providers })`. Additive — the per-vendor
480
+ nodes still exist; consumer migration + their removal follow in part 2.
481
+ - b6d14ce: Make the universal JSON-schema subset able to express an object, so a nested `z.object()` keeps its
482
+ properties and required fields instead of reaching the model as `{ "type": "object" }`. Tools and
483
+ structured-output schemas with one level of nesting are now advertised in full and enforced on the
484
+ tool-input path; `z.union` / `z.discriminatedUnion` / `z.literal` are supported and map to `anyOf`
485
+ and single-value enums; `.nullable()` keeps its null branch; and Zod's `strip`, `strict` and
486
+ `passthrough` modes stop collapsing into two `additionalProperties` emissions. Fixes the shipped
487
+ `Computer` and `AskUserQuestion` built-ins, whose action and question fields were being dropped
488
+ entirely.
489
+
490
+ `agent-core` is **minor**, not patch: `IObjectParameterSchema` is a new export, and
491
+ `IParameterSchema.type` became optional (a union node carries `anyOf` instead of a type), which is a
492
+ consumer-visible type change — two call sites in this repo needed editing to keep compiling.
493
+ `additionalProperties` also widened to `boolean | IParameterSchema`, and `required` and `anyOf` are
494
+ new members. The provider packages are **patch**: each adapts to the widened subset without changing
495
+ its own public surface.
496
+
497
+ ### Patch Changes
498
+
499
+ - 7b6234c: A tool call whose arguments fail to decode to a JSON object (invalid JSON, or a `null`/scalar/array
500
+ root — including a stream truncated mid-argument) no longer breaks the rest of its batch or the round
501
+ after it. Every other call in the same batch still executes and gets its real result; the malformed
502
+ call gets a clear per-call error instead, naming the tool and call id, and the run continues rather
503
+ than rejecting. The Anthropic and Gemini providers no longer throw when building the next request
504
+ from a conversation that still carries that call's original malformed arguments.
505
+ - a009f5b: Provider DIP Stage E (ARCH-PROVIDER-006): repo-hygiene + policy cleanup. Codified the
506
+ Family Decomposition Rule in project-structure.md (split driver = consumer/third-party
507
+ opt-in installability / extension-point registration, not dep-weight). Removed dangling
508
+ tracked references to deleted packages (tsconfig project refs, eslint glob, changeset
509
+ config `fixed` + pending changeset files), pruned 37 dead `.changeset/pre.json` entries,
510
+ and removed 24 untracked husk directories. Closes ARL-15 — the provider dependency-
511
+ inversion arc (Stages A–E) is complete.
512
+ - 4f3c075: Assemble complete, verified package generations before switching build output; preserve the previous generation on build failure and pack only verified regular-file images. Include copied CLI web assets in affected-build ordering and artifact transfer. Preserve the CLI version in managed build paths. Public runtime contracts remain compatible (patch).
513
+ - e477440: CORE-033: the abnormal paths now emit the required replay events, and history stays append-only
514
+
515
+ `provider_request`, `assistant_message_committed` and `history_mutation` are REQUIRED families, and
516
+ `agent-session` builds its session log from them: replaying every announced append, in order, is
517
+ supposed to reconstruct the conversation. Three engine sites appended without announcing, so the
518
+ reconstruction diverged at exactly the moments a reader goes to the log — the round cap, the
519
+ hard-capacity block, and a provider failure. On a capped run the summary the user actually read was
520
+ absent from every replay, and the provider call that produced it was invisible.
521
+
522
+ - The forced-summary call emits `provider_request` (`forcedSummary: true`, carrying the assembled
523
+ messages), then `assistant_message_committed` and `history_mutation` for the summary it commits.
524
+ - The hard-capacity block announces its diagnostic — the only message explaining why the turn stopped.
525
+ - A provider failure announces the `Request failed: …` record it appends.
526
+
527
+ The forced-summary call also **rewrote** history: it appended a synthetic round-limit instruction,
528
+ sent it, then removed it with `clear()` + re-add — a non-append mutation this vocabulary has no way
529
+ to describe. The instruction is a per-call prompt artifact, so it no longer enters the conversation
530
+ store at all; it exists only in the outgoing array, the same shape the structured-output transport
531
+ uses for a schema instruction. Nothing is added, so nothing has to be removed, and `mutation` still
532
+ needs no removal member.
533
+
534
+ The item also reported that the streaming path emitted no families at all. CORE-042 had already
535
+ fixed that by removing the second engine — `runStream` runs the same `execute()` — and this change
536
+ adds the test that says so rather than leaving it assumed.
537
+
538
+ - 9dcb5da: CORE-035: the identical-tool-input loop guard throws a named error, and the SPEC now matches it
539
+
540
+ The SPEC documented an `AbortError` thrown at the Nth identical call. The code threw a bare `Error`
541
+ at the N+1th. The type difference was behavioral, not cosmetic: `isAbortFailure` resolves an
542
+ `AbortError` as `success: true, interrupted: true`, so a run that detected a pathological loop and
543
+ produced no answer would have been reported as a SUCCESS.
544
+
545
+ Resolved toward the code's semantics and the SPEC's intent, which are not the same thing:
546
+
547
+ - **Failure, not abort.** A guard trip is the agent giving up, not the user cancelling. `AbortError`
548
+ means the caller asked the turn to stop, and here nobody did.
549
+ - **Named, not bare.** `SameToolInputLoopError` (`code: 'SAME_TOOL_INPUT_LOOP'`, `category: 'system'`,
550
+ `recoverable: true`) carries `toolName`, `callCount` and `maxSameToolInputs`. Naming a type is what
551
+ the SPEC was reaching for: a caller must be able to tell "the agent looped" from "the network died",
552
+ and CORE-027 carries those fields out intact.
553
+ - **`maxSameToolInputs` is a MAXIMUM.** The Nth identical call is allowed; the N+1th trips. The SPEC's
554
+ "N or more times" contradicted its own option name.
555
+
556
+ `ErrorUtils` moves to `utils/error-utils.ts`, split from the class taxonomy it operates on — two
557
+ responsibilities in one file, and keeping them together made the taxonomy file impossible to extend.
558
+ Both remain exported from the package entry.
559
+
560
+ - a95ca85: Apply `config.systemMessage` on the streaming path. `runStream()` built its provider request straight
561
+ from the conversation store and never entered the session initialization that attaches the system
562
+ prompt, so an agent obeyed its persona through `run()` and ignored it through `runStream()` — silently,
563
+ on the default interactive surface. An agent used through both entry points only acquired its prompt
564
+ from the first non-streaming turn onward.
565
+
566
+ The streaming path now enters the same `initializeConversationStore` the round path enters, so the
567
+ prompt, the inject-once rule and the conversation restore are owned in one place. Contained under
568
+ CORE-042, which is the duplication itself.
569
+
570
+ - 0382a51: CORE-041: `z.nativeEnum()` and `z.date()` convert; the rest of the boundary is published, not discovered
571
+
572
+ `zodToJsonSchema` threw `Unsupported Zod type: …` on five constructs, so a schema Zod accepts could
573
+ not be turned into a tool or a structured-output spec. Re-running the decision the item reserved,
574
+ those five are two different problems:
575
+
576
+ - **`ZodNativeEnum` and `ZodDate` are exactly expressible** and were missing for no reason.
577
+ A native enum becomes an `enum` of its VALUES — for a numeric TypeScript enum the compiler's
578
+ reverse mapping is filtered out, so a field accepting `0` is no longer advertised as accepting
579
+ `"Low"`. A date becomes `{ type: 'string', format: 'date-time' }`, which is not a lossy stand-in:
580
+ JSON has no date type, so a string is what the provider receives either way.
581
+ - **`ZodTuple`, `ZodIntersection` and `ZodLazy` are not expressible**, and still throw. A tuple needs
582
+ positional `items` (the subset models `items` as one schema), an intersection needs `allOf`,
583
+ recursion needs `$ref` — none of which the field-enumerated provider mappers would forward.
584
+ Adopting `zod-to-json-schema` does not dissolve this, as CORE-039 had conceded it might: the
585
+ library emits exactly those constructs. The difficulty was never parsing Zod; the target language
586
+ cannot say these things.
587
+
588
+ Mapping them lossily was rejected — a tuple flattened to `array of anyOf[...]` would tell the model
589
+ that any order and any length are acceptable, a contract the author did not write.
590
+
591
+ The error now names the construct, says why the subset cannot carry it, and names a Zod expression to
592
+ write instead. `Unsupported Zod type: ZodTuple` told a consumer the name of their own construct and
593
+ nothing they could act on.
594
+
595
+ - 93d061d: CORE-043: structured output now knows which transport can carry the schema before the first call
596
+
597
+ `run(input, { output })` asked every provider for `responseFormat: { type: 'json_schema' }`. A
598
+ provider whose surface cannot express that accepted the option and dropped it — and the schema was
599
+ stated in words only by the RETRY feedback turn, which runs on attempt two. So against such a
600
+ provider, attempt one carried nothing describing the required shape and could only succeed by luck:
601
+ the advertised three attempts were really two, and the first was spent discovering something the
602
+ capability table already knew.
603
+
604
+ A `(provider, model)` pair now resolves to a mechanism (`response_schema` / `json_object` / `none`)
605
+ and a provenance (`catalog` / `vendor-default` / `undeclared` / `unverified-endpoint`), and the
606
+ request is shaped to match at the one seam that holds both the resolved provider and the outgoing
607
+ messages. When the wire cannot carry the shape, the schema is stated in the prompt on the FIRST
608
+ attempt. Each structured request emits a `structured_output_transport` event reporting what the
609
+ request actually did.
610
+
611
+ - `IAIProvider.endpointIsVendorDefault?()` — a provider configured with a custom `baseURL` reports
612
+ it, so the runtime stops claiming enforcement a gateway may not provide. Separate from
613
+ `capabilityTable?()` on purpose: `@robota-sdk/agent-provider-openai` declares no table (nobody has
614
+ verified one) and must still be able to answer.
615
+ - DeepSeek's capability table declared `json_schema`; DeepSeek guarantees the response PARSES but
616
+ takes no schema parameter. Corrected to `json_object`.
617
+ - A provider that declares nothing is still sent the request unchanged — silence is not a denial.
618
+
619
+ - 39554a1: CORE-047: the model-configuration API is reachable before the first turn
620
+
621
+ `getModel()`, `setModel()` and `swapDefaultProvider()` refused on a freshly constructed agent with
622
+ `Agent must be fully initialized before ...`. So you had to ask the model a question before you could
623
+ ask which model you were using.
624
+
625
+ The state they guarded — the provider registry and the current `(provider, model)` pair — turned out
626
+ to be synchronous and derived entirely from config the constructor had already validated. It merely
627
+ lived inside the async initializer, next to work that genuinely is async (modules, plugins, the
628
+ execution service). Both steps now run in the constructor, so an agent knows which model it is
629
+ configured for from the moment it exists, and the readiness guard on those three methods protected
630
+ nothing and is gone.
631
+
632
+ A destroyed agent still refuses — and now says so accurately (`AIProviders was disposed`) instead of
633
+ misreporting teardown as missing initialization.
634
+
635
+ `Robota.ensureReady()` is unchanged and remains the way to complete the asynchronous half without
636
+ running a turn. It is no longer a precondition for reading or changing the model.
637
+
638
+ - d28430a: CORE-048: `resolveStructuredOutputCapability` is exported
639
+
640
+ `TStructuredOutputMechanism` and `TStructuredOutputProvenance` were already public while the function
641
+ that produces them was not — a caller could name the answer but not obtain it. Exporting it also lets
642
+ a consumer ask, before spending a call, what will happen to their schema against a given
643
+ `(provider, model)` pair.
644
+
645
+ No behaviour changed. This falls out of CORE-048, which asked whether a forced tool call should join
646
+ the mechanism vocabulary and answered no: the transport would need a provider that both lacks a
647
+ schema parameter and has enforceable strict tool arguments, and across this workspace that
648
+ intersection is empty.
649
+
650
+ - 07b627f: A local peer can now be answered, and what its turn may do depends on where it runs.
651
+
652
+ - `agent-core`: the permission evaluator takes a peer turn's authority as one more input
653
+ (`IPermissionEvaluationContext.peerTurn`), decided after the deny list and ceiling and before
654
+ bypass and allow rules. A peer on another host uses no tool. A peer on the same host may use an
655
+ inspect-class tool that declares `workspacePaths`, only when every named location resolves inside
656
+ the workspace and is not a credential (`isSecretPath`); write and execute tools are refused unless
657
+ enabled, and then every use asks. A tool declaring `repliesToPeer` exists only in a peer turn and
658
+ asks once the turn used another tool. New: `isToolAvailableInPeerTurn`, `TPeerReach`,
659
+ `IPeerTurnAuthority`. `IRunOptions.withholdHostedTools` leaves a provider's hosted tools out of a
660
+ run's requests (`nativeWebTools` with `false` withholds a hosted tool for one call).
661
+ - `agent-tools`: `Read` and `Glob` declare the arguments that say where they look. `Grep` does not:
662
+ it reads files it was never named, so a peer turn does not get it.
663
+ - `agent-session`: `ISessionRunOptions.peerReach` makes a run a peer turn for the permission policy;
664
+ every ask in it needs a fresh approval, and its requests carry no provider-hosted tool. `ISessionOptions.allowPeerChanges` enables write and execute
665
+ tools for same-host peer turns.
666
+ - `agent-interface-session`: `ISubmitOptions.peer` (`IPeerTurnContext`) carries a peer turn's reach,
667
+ the message it answers and the session a reply goes to.
668
+ - `agent-interface-session-mobility`: `IPeerMessage.inReplyTo` threads a conversation;
669
+ `peerReachOf(admission)` maps admission to a reach.
670
+ - `agent-framework`: a peer turn is offered what its origin allows, and a new `peer_reply` tool
671
+ answers the peer that sent the message, threaded to it. The setting `peers.allowChanges` enables
672
+ write and execute tools for same-host peer turns.
673
+ - `agent-ui-terminal`: a permission prompt in a peer turn names the requesting peer.
674
+ - `agent-cli`: incoming peer turns carry their reach and reply route; a conversation is limited in
675
+ depth and in how often this session answers it, and a reply over a limit is not sent and the
676
+ operator is told.
677
+ - `agent-provider-anthropic`, `agent-provider-openai-compatible` (Qwen): a request whose
678
+ `nativeWebTools` sets a hosted tool to `false` is sent without it.
679
+
680
+ - d0de5b2: A peer session's message now reaches the model as a peer's, and a peer turn runs on the external
681
+ baseline.
682
+
683
+ - `agent-core` marks every user message whose driver id starts with `peer:` as
684
+ `<peer_message from="…">…</peer_message>` in the outgoing request — both the round and the forced
685
+ summary — while the stored history keeps the text as sent. Wrapper-shaped text in user and tool
686
+ messages is escaped, and an id that is not a plain identifier is printed as `peer:unverified`.
687
+ New exports: `peerDriverOf`, `printablePeerDriver`.
688
+ - `agent-session`'s conversation transcript (compaction, advisor) labels a peer message with the same
689
+ printable id, so no rendering echoes a sender-chosen id that is not a plain identifier.
690
+ - `agent-framework` runs a `peer` turn like an `external` one — no tools (`toolChoice: 'none'`), no
691
+ `@path` expansion, no context references — and adds a per-turn system statement that the message
692
+ came from another session and carries no authority. A `peer` turn must carry a `peer:` driver id.
693
+
694
+ - d6b9404: Remove polynomial-ReDoS backtracking (SEC-003, CodeQL `js/polynomial-redos`) from three parsers whose input is not repo-controlled.
695
+
696
+ `parseStructuredResponseText` (agent-core) parses raw model output; its fenced-code-block regex used `\s*\n`, and because `\s` also matches a newline the two overlapped, so an unterminated fence containing many blank lines was rejected in O(n^2) — 12.7s for a 400 KB string, now ~1ms. The whitespace run is now restricted to horizontal whitespace, which makes the newline split point unique.
697
+
698
+ `/schedule cron` and `/monitor` (agent-command) are declared `modelInvocable: true`, so their argument string is composed by the model. Both matched the trailing instruction with `\s+(.+)$`; since `.` also matches a space the split point was ambiguous and a non-matching argument cost O(n^2) — ~15s for a 200 KB argument, now <1ms. The instruction is now required to start with a non-space character, which pins the split point without changing which inputs are accepted.
699
+
700
+ No behaviour change: the set of accepted inputs and the parsed values are identical in every case.
701
+
702
+ - 9814afc: Type-SSOT convergence (TYPE-003; re-audit CONTRACT-002/003/011/012 + RUNTIME-47 + STRUCT-04). Behavior is unchanged — this is a type-level refactor. `ITokenUsage` (agent-core) is confirmed as the usage-triple SSOT: `ISessionUsageTotals` and `IBackgroundTaskUsage` become aliases, and every inline `{ promptTokens; completionTokens; totalTokens }` copy (service/orchestration/executor/remote-client shapes) now references the SSOT (structurally identical → patch). The subagent-job contracts derive from the background-task SSOT — `TSubagentJobStatus = Exclude<TBackgroundTaskStatus, 'paused'>`, mode alias, and a `Pick`-projection `ISubagentJobState` — with a compile-enforced parity test so a drifting hand copy can no longer exist. `@robota-sdk/agent-session` is minor because the public `ISessionRecord` type is now the typed `IInteractiveSessionRecord` alias (previously a relaxed `unknown[]` mirror): runtime behavior of `SessionStore` is identical, but downstream code that assigned loose payloads to the record's fields may need explicit casts at its own trust boundary (the framework store facade's `as unknown as` cast bridge is deleted). agent-session's duplicate `@robota-sdk/agent-core` deps/devDeps declaration is also removed (STRUCT-04).
703
+
704
+ ## 3.0.0-beta.79
705
+
706
+ ## 3.0.0-beta.78
707
+
708
+ ### Patch Changes
709
+
710
+ - 6f308d1: fix(streaming): expose token usage on the streaming execution path (BEHAVIOR-005)
711
+
712
+ Token usage was silently dropped on streaming turns, so `readTokenUsageFromMessage` and robota's usage analytics returned empty/0 for every `run()`/`runStream()` (which always stream). OpenAI-compatible streaming requests now send `stream_options: { include_usage: true }`, the stream assembler and the `runStream` commit path attach the same top-level `usage` shape the non-streaming path already emits, and both `run()` and `runStream()` now expose usage. New opt-out `IOpenAIProviderOptions.includeStreamUsage` (default `true`) for OpenAI-compatible servers that reject `stream_options`.
713
+
714
+ ## 3.0.0-beta.77
715
+
716
+ ### Patch Changes
717
+
718
+ - Coordinated beta.77 release. Runtime hardening across the session/execution/subagent stack
719
+ (CORE-019..024: compaction-failure contract, strict execution error propagation, plugin/timer
720
+ disposal, process-tree kill via the new `@robota-sdk/agent-process`, scheduler & IPC integrity),
721
+ TUI shutdown/channel hygiene (CLI-075: listener unwiring, permission-queue drain, timeout-bounded
722
+ graceful shutdown, second-signal force-quit), and agent-cli decoupled from the unpublished
723
+ DAG/workflow chain so the published CLI installs cleanly (CLI-077). First publish of
724
+ `@robota-sdk/agent-process`.
725
+
726
+ ## 3.0.0-beta.76
727
+
728
+ ### Patch Changes
729
+
730
+ - DQ-AUDIT-002 — consolidate duplicated domain data onto single owners: one model-pricing SSOT in agent-core (`MODEL_PRICES`/`lookupModelPrice`/`calculateModelCost`/`estimateBlendedCostPer1000`) consumed by agent-command and agent-plugin (drops two embedded/stale price tables); the `len/4` token estimator replaced by core `CONTEXT_ESTIMATE_CHARS_PER_TOKEN`; TUI `TContextState` derived from core `IContextWindowState`; dead pass-through re-exports removed from agent-session.
731
+ - DQ-AUDIT-006 — error/observability hygiene: replace raw `throw new Error()` on core-service and provider hot paths with typed `RobotaError` subclasses (`ConfigurationError`/`ValidationError`) so error-handling can branch on category/recoverable; surface fire-and-forget hook failures via `logger.warn` instead of silent `.catch(() => {})`; wire the error-handling plugin's `totalRetries`/`successfulRecoveries` stats to real counters.
732
+ - DQ-AUDIT-007 — remove the silent `model || 'gpt-4o-mini'` default in the OpenAI streaming handler (a missing model now throws `ConfigurationError` instead of substituting a vendor default); document `IAIProvider`'s universal (`chat`) vs raw (`generateResponse`) dual surface as intentional in the agent-core SPEC.
733
+ - 576af62: Fix `ConfigurationError: Agent must be fully initialized before changing model configuration` when running `/preset` (or any live model re-apply) on a fresh interactive session before the first message. The Robota agent initialized lazily on the first `run()`, but `setModel` requires full initialization. `Session.applyModelOptions` now awaits the new idempotent `Robota.ensureReady()` before `setModel`, and the preset live-switch path (`applyPresetToSession` → `executePresetCommand`) is async end-to-end. Adds a real cold-session regression test (no mocked Robota).
734
+
735
+ ## 3.0.0-beta.75
736
+
737
+ ### Patch Changes
738
+
739
+ - Agent preset system + live preset switching + context/history correctness fixes.
740
+
741
+ - **Preset system (PRESET-001~017):** new `@robota-sdk/agent-preset` package layering framework
742
+ assembly options into named, selectable profiles (`default`, `autonomous-builder`, `careful-reviewer`,
743
+ `neutral-executor`) plus user-authored external presets loaded from `~/.robota/presets/*.json`.
744
+ - **Live preset switching:** `/preset` command (list + active marker + switch) and a TUI active-preset
745
+ display. Switching live re-applies permission posture, model/effort, persona, command-module
746
+ selection, parallel-subagents gating, and a self-verification system-prompt section via the single
747
+ `applyPresetToSession` engine.
748
+ - **CTX-001:** the TUI Context display + session auto-compact now use the accurate provider-based token
749
+ estimate (system prompt + tool schemas included) instead of a crude history-only char heuristic.
750
+ - **HIST-001:** conversation history is now append-only — removed the silent 100-message count cap that
751
+ could drop early context; context size is managed solely by size-based compaction.
752
+
753
+ ## 3.0.0-beta.74
754
+
755
+ ## 3.0.0-beta.73
756
+
757
+ ## 3.0.0-beta.72
758
+
759
+ ## 3.0.0-beta.71
760
+
761
+ ### Patch Changes
762
+
763
+ - fix(context): unify token estimation to single SSOT — status bar and /context list now use the same serialized JSON estimate
764
+
765
+ ## 3.0.0-beta.70
766
+
767
+ ## 3.0.0-beta.69
768
+
769
+ ## 3.0.0-beta.68
770
+
771
+ ## 3.0.0-beta.67
772
+
773
+ ## 3.0.0-beta.66
774
+
775
+ ## 3.0.0-beta.65
776
+
777
+ ## 3.0.0-beta.64
778
+
779
+ ## 3.0.0-beta.63
780
+
781
+ ## 3.0.0-beta.62
782
+
783
+ ### Patch Changes
784
+
785
+ - Add CLI second-screen browser monitor (PLG-002)
786
+ - New `@robota-sdk/agent-web` package: WebSocket client, `useWsSession` hook, `SessionMonitor` component with Markdown rendering
787
+ - `--web` flag on `agent-cli`: starts WebSocket sidecar server and auto-opens browser monitor
788
+ - `--no-open` flag and `ROBOTA_NO_OPEN` env var to suppress browser launch
789
+ - `user_message` event added to `IInteractiveSessionEvents` so user prompts stream to browser in real-time
790
+ - `TServerMessage` protocol extended with `user_message` type
791
+
792
+ ## 3.0.0-beta.61
793
+
794
+ ### Patch Changes
795
+
796
+ - 1c0d44c: Align context usage estimation across session display, auto-compaction, and core hard-capacity guards so mid-window sessions do not block prematurely.
797
+ - 36eb7a9: Add provider-owned native replay payload hooks, replay validation coverage, and a session log validation command.
798
+ - d97bdf2: Add provider-owned model catalog metadata, route `/model` suggestions through the active provider, and make `cli:dev` resolve the CLI workspace dependency closure through source export conditions.
799
+
800
+ ## 3.0.0-beta.60
801
+
802
+ ### Minor Changes
803
+
804
+ - 7439391: Add provider-neutral native web search/fetch capability contracts, explicit unsupported handling for OpenAI-compatible/LM Studio profiles, and local WebFetch/WebSearch permission/documentation alignment.
805
+
806
+ ## 3.0.0-beta.59
807
+
808
+ ## 3.0.0-beta.58
809
+
810
+ ### Patch Changes
811
+
812
+ - Refresh package docs and robota.io content for the beta 57 feature set.
813
+
814
+ ## 3.0.0-beta.57
815
+
816
+ ### Minor Changes
817
+
818
+ - f61e2cb: Add Qwen provider-owned Responses API support for built-in web search/fetch tools and pass provider-owned profile options through generic CLI/runtime configuration.
819
+
820
+ ### Patch Changes
821
+
822
+ - 16c3b6f: Persist and render provider-neutral per-turn usage summaries with pre-send context updates in CLI sessions.
823
+
824
+ ## 3.0.0-beta.56
825
+
826
+ ### Patch Changes
827
+
828
+ - Prepare a coordinated beta release for batch npm publishing.
829
+
830
+ ## 3.0.0-beta.55
831
+
832
+ ### Patch Changes
833
+
834
+ - 38a72bf: fix: resolve ESLint tsconfig parsing errors and improve pnpm CI reliability
835
+ - Add tsconfig.eslint.json to all packages for per-package ESLint runs
836
+ - Migrate typecheck from pnpm -r exec tsc to per-package typecheck scripts
837
+ - Add --if-present to all recursive pnpm run scripts
838
+ - Fix React type imports, dynamic imports in tests, Express.Multer types
839
+
840
+ ## 3.0.0-beta.54
841
+
842
+ ### Patch Changes
843
+
844
+ - fix: resolve all typecheck errors across packages
845
+
846
+ ## 3.0.0-beta.53
847
+
848
+ ### Patch Changes
849
+
850
+ - refactor: monolith decomposition — all agent-\* files under 300 lines
851
+ - fix: PR #69 code review — session resume tool messages, type SSOT, fork isolation, settings crash, Notification removal, chat validation
852
+
853
+ ## 3.0.0-beta.52
854
+
855
+ ## 3.0.0-beta.51
856
+
857
+ ## 3.0.0-beta.50
858
+
859
+ ## 3.0.0-beta.49
860
+
861
+ ## 3.0.0-beta.48
862
+
863
+ ## 3.0.0-beta.47
864
+
865
+ ## 3.0.0-beta.46
866
+
867
+ ## 3.0.0-beta.45
868
+
869
+ ## 3.0.0-beta.44
870
+
871
+ ### Patch Changes
872
+
873
+ - feat: IHistoryEntry universal history architecture + test quality cleanup
874
+ - IHistoryEntry as universal history type across all 4 packages (core → sessions → sdk → cli)
875
+ - Tool summary stored as event entry in history (category: 'event', type: 'tool-summary')
876
+ - TuiStateManager pure TypeScript class for CLI rendering state
877
+ - MessageList renders IHistoryEntry[] with Tool:/System:/You:/Robota: labels
878
+ - Display order fixed: Tool → Robota (both streaming and abort)
879
+ - Remove 25 tautological, duplicate, and hardcoded tests
880
+
3
881
  ## 2.0.9
4
882
 
5
883
  ### Patch Changes