@geminixiang/mikan 1.0.0-beta.6 → 1.0.0-beta.61

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 (799) hide show
  1. package/CHANGELOG.md +948 -0
  2. package/README.md +95 -37
  3. package/dist/adapter.d.ts +11 -1
  4. package/dist/adapter.d.ts.map +1 -1
  5. package/dist/adapter.js +18 -1
  6. package/dist/adapter.js.map +1 -1
  7. package/dist/adapters/commands/admin.d.ts.map +1 -0
  8. package/dist/{commands → adapters/commands}/admin.js +11 -8
  9. package/dist/adapters/commands/admin.js.map +1 -0
  10. package/dist/{commands → adapters/commands}/auto-reply.d.ts +0 -3
  11. package/dist/adapters/commands/auto-reply.d.ts.map +1 -0
  12. package/dist/adapters/commands/auto-reply.js +38 -0
  13. package/dist/adapters/commands/auto-reply.js.map +1 -0
  14. package/dist/adapters/commands/login.d.ts +6 -0
  15. package/dist/adapters/commands/login.d.ts.map +1 -0
  16. package/dist/adapters/commands/login.js +166 -0
  17. package/dist/adapters/commands/login.js.map +1 -0
  18. package/dist/adapters/commands/manifest.d.ts +37 -0
  19. package/dist/adapters/commands/manifest.d.ts.map +1 -0
  20. package/dist/adapters/commands/manifest.js +155 -0
  21. package/dist/adapters/commands/manifest.js.map +1 -0
  22. package/dist/adapters/commands/model.d.ts +15 -0
  23. package/dist/adapters/commands/model.d.ts.map +1 -0
  24. package/dist/adapters/commands/model.js +153 -0
  25. package/dist/adapters/commands/model.js.map +1 -0
  26. package/dist/adapters/commands/new.d.ts.map +1 -0
  27. package/dist/adapters/commands/new.js +41 -0
  28. package/dist/adapters/commands/new.js.map +1 -0
  29. package/dist/adapters/commands/registry.d.ts +5 -0
  30. package/dist/adapters/commands/registry.d.ts.map +1 -0
  31. package/dist/adapters/commands/registry.js +43 -0
  32. package/dist/adapters/commands/registry.js.map +1 -0
  33. package/dist/adapters/commands/sandbox.d.ts.map +1 -0
  34. package/dist/adapters/commands/sandbox.js +148 -0
  35. package/dist/adapters/commands/sandbox.js.map +1 -0
  36. package/dist/adapters/commands/session-view.d.ts.map +1 -0
  37. package/dist/{commands → adapters/commands}/session-view.js +23 -16
  38. package/dist/adapters/commands/session-view.js.map +1 -0
  39. package/dist/adapters/commands/types.d.ts +145 -0
  40. package/dist/adapters/commands/types.d.ts.map +1 -0
  41. package/dist/adapters/commands/types.js.map +1 -0
  42. package/dist/adapters/commands/utils.d.ts +14 -0
  43. package/dist/adapters/commands/utils.d.ts.map +1 -0
  44. package/dist/{commands → adapters/commands}/utils.js +18 -1
  45. package/dist/adapters/commands/utils.js.map +1 -0
  46. package/dist/adapters/discord/bot.d.ts +11 -8
  47. package/dist/adapters/discord/bot.d.ts.map +1 -1
  48. package/dist/adapters/discord/bot.js +218 -252
  49. package/dist/adapters/discord/bot.js.map +1 -1
  50. package/dist/adapters/discord/components.d.ts +28 -0
  51. package/dist/adapters/discord/components.d.ts.map +1 -0
  52. package/dist/adapters/discord/components.js +32 -0
  53. package/dist/adapters/discord/components.js.map +1 -0
  54. package/dist/adapters/discord/context.d.ts +2 -6
  55. package/dist/adapters/discord/context.d.ts.map +1 -1
  56. package/dist/adapters/discord/context.js +63 -218
  57. package/dist/adapters/discord/context.js.map +1 -1
  58. package/dist/adapters/discord/format.d.ts +3 -0
  59. package/dist/adapters/discord/format.d.ts.map +1 -0
  60. package/dist/adapters/discord/format.js +84 -0
  61. package/dist/adapters/discord/format.js.map +1 -0
  62. package/dist/adapters/discord/types.d.ts +7 -0
  63. package/dist/adapters/discord/types.d.ts.map +1 -1
  64. package/dist/adapters/discord/types.js.map +1 -1
  65. package/dist/adapters/github/bot.d.ts +102 -0
  66. package/dist/adapters/github/bot.d.ts.map +1 -0
  67. package/dist/adapters/github/bot.js +720 -0
  68. package/dist/adapters/github/bot.js.map +1 -0
  69. package/dist/adapters/github/client.d.ts +122 -0
  70. package/dist/adapters/github/client.d.ts.map +1 -0
  71. package/dist/adapters/github/client.js +301 -0
  72. package/dist/adapters/github/client.js.map +1 -0
  73. package/dist/adapters/github/context.d.ts +5 -0
  74. package/dist/adapters/github/context.d.ts.map +1 -0
  75. package/dist/adapters/github/context.js +101 -0
  76. package/dist/adapters/github/context.js.map +1 -0
  77. package/dist/adapters/github/github-ops.d.ts +78 -0
  78. package/dist/adapters/github/github-ops.d.ts.map +1 -0
  79. package/dist/adapters/github/github-ops.js +337 -0
  80. package/dist/adapters/github/github-ops.js.map +1 -0
  81. package/dist/adapters/github/ids.d.ts +34 -0
  82. package/dist/adapters/github/ids.d.ts.map +1 -0
  83. package/dist/adapters/github/ids.js +57 -0
  84. package/dist/adapters/github/ids.js.map +1 -0
  85. package/dist/adapters/github/repo.d.ts +33 -0
  86. package/dist/adapters/github/repo.d.ts.map +1 -0
  87. package/dist/adapters/github/repo.js +141 -0
  88. package/dist/adapters/github/repo.js.map +1 -0
  89. package/dist/adapters/github/tool-pack.d.ts +14 -0
  90. package/dist/adapters/github/tool-pack.d.ts.map +1 -0
  91. package/dist/adapters/github/tool-pack.js +55 -0
  92. package/dist/adapters/github/tool-pack.js.map +1 -0
  93. package/dist/adapters/github/tools/checks.d.ts +18 -0
  94. package/dist/adapters/github/tools/checks.d.ts.map +1 -0
  95. package/dist/adapters/github/tools/checks.js +86 -0
  96. package/dist/adapters/github/tools/checks.js.map +1 -0
  97. package/dist/adapters/github/tools/issue.d.ts +21 -0
  98. package/dist/adapters/github/tools/issue.d.ts.map +1 -0
  99. package/dist/adapters/github/tools/issue.js +48 -0
  100. package/dist/adapters/github/tools/issue.js.map +1 -0
  101. package/dist/adapters/github/tools/pr.d.ts +22 -0
  102. package/dist/adapters/github/tools/pr.d.ts.map +1 -0
  103. package/dist/adapters/github/tools/pr.js +48 -0
  104. package/dist/adapters/github/tools/pr.js.map +1 -0
  105. package/dist/adapters/github/tools/read.d.ts +21 -0
  106. package/dist/adapters/github/tools/read.d.ts.map +1 -0
  107. package/dist/adapters/github/tools/read.js +141 -0
  108. package/dist/adapters/github/tools/read.js.map +1 -0
  109. package/dist/adapters/github/tools/review-reply.d.ts +17 -0
  110. package/dist/adapters/github/tools/review-reply.d.ts.map +1 -0
  111. package/dist/adapters/github/tools/review-reply.js +38 -0
  112. package/dist/adapters/github/tools/review-reply.js.map +1 -0
  113. package/dist/adapters/github/tools/sync.d.ts +17 -0
  114. package/dist/adapters/github/tools/sync.d.ts.map +1 -0
  115. package/dist/adapters/github/tools/sync.js +34 -0
  116. package/dist/adapters/github/tools/sync.js.map +1 -0
  117. package/dist/adapters/github/types.d.ts +345 -0
  118. package/dist/adapters/github/types.d.ts.map +1 -0
  119. package/dist/adapters/github/types.js.map +1 -0
  120. package/dist/adapters/github/webhook.d.ts +20 -0
  121. package/dist/adapters/github/webhook.d.ts.map +1 -0
  122. package/dist/adapters/github/webhook.js +78 -0
  123. package/dist/adapters/github/webhook.js.map +1 -0
  124. package/dist/adapters/intake.d.ts +16 -5
  125. package/dist/adapters/intake.d.ts.map +1 -1
  126. package/dist/adapters/intake.js +96 -27
  127. package/dist/adapters/intake.js.map +1 -1
  128. package/dist/adapters/markdown-tables.d.ts +19 -0
  129. package/dist/adapters/markdown-tables.d.ts.map +1 -0
  130. package/dist/adapters/markdown-tables.js +152 -0
  131. package/dist/adapters/markdown-tables.js.map +1 -0
  132. package/dist/adapters/progressive-renderer.d.ts +7 -0
  133. package/dist/adapters/progressive-renderer.d.ts.map +1 -0
  134. package/dist/adapters/progressive-renderer.js +443 -0
  135. package/dist/adapters/progressive-renderer.js.map +1 -0
  136. package/dist/adapters/shared.d.ts +35 -11
  137. package/dist/adapters/shared.d.ts.map +1 -1
  138. package/dist/adapters/shared.js +105 -24
  139. package/dist/adapters/shared.js.map +1 -1
  140. package/dist/adapters/slack/assistant.d.ts +73 -0
  141. package/dist/adapters/slack/assistant.d.ts.map +1 -0
  142. package/dist/adapters/slack/assistant.js +205 -0
  143. package/dist/adapters/slack/assistant.js.map +1 -0
  144. package/dist/adapters/slack/blocks.d.ts +14 -0
  145. package/dist/adapters/slack/blocks.d.ts.map +1 -1
  146. package/dist/adapters/slack/blocks.js +104 -148
  147. package/dist/adapters/slack/blocks.js.map +1 -1
  148. package/dist/adapters/slack/bot.d.ts +118 -18
  149. package/dist/adapters/slack/bot.d.ts.map +1 -1
  150. package/dist/adapters/slack/bot.js +883 -468
  151. package/dist/adapters/slack/bot.js.map +1 -1
  152. package/dist/adapters/slack/context.d.ts +2 -6
  153. package/dist/adapters/slack/context.d.ts.map +1 -1
  154. package/dist/adapters/slack/context.js +11 -17
  155. package/dist/adapters/slack/context.js.map +1 -1
  156. package/dist/adapters/slack/markdown.d.ts +3 -0
  157. package/dist/adapters/slack/markdown.d.ts.map +1 -0
  158. package/dist/adapters/slack/markdown.js +48 -0
  159. package/dist/adapters/slack/markdown.js.map +1 -0
  160. package/dist/adapters/slack/response-lifecycle.d.ts.map +1 -1
  161. package/dist/adapters/slack/response-lifecycle.js +240 -345
  162. package/dist/adapters/slack/response-lifecycle.js.map +1 -1
  163. package/dist/adapters/slack/session.d.ts.map +1 -1
  164. package/dist/adapters/slack/session.js +7 -11
  165. package/dist/adapters/slack/session.js.map +1 -1
  166. package/dist/adapters/slack/stream-limits.d.ts +35 -0
  167. package/dist/adapters/slack/stream-limits.d.ts.map +1 -0
  168. package/dist/adapters/slack/stream-limits.js +56 -0
  169. package/dist/adapters/slack/stream-limits.js.map +1 -0
  170. package/dist/adapters/slack/task-status.d.ts +7 -0
  171. package/dist/adapters/slack/task-status.d.ts.map +1 -0
  172. package/dist/adapters/slack/task-status.js +101 -0
  173. package/dist/adapters/slack/task-status.js.map +1 -0
  174. package/dist/adapters/slack/tool-pack.d.ts +11 -0
  175. package/dist/adapters/slack/tool-pack.d.ts.map +1 -0
  176. package/dist/adapters/slack/tool-pack.js +45 -0
  177. package/dist/adapters/slack/tool-pack.js.map +1 -0
  178. package/dist/adapters/slack/tools/blockkit.d.ts +14 -0
  179. package/dist/adapters/slack/tools/blockkit.d.ts.map +1 -0
  180. package/dist/adapters/slack/tools/blockkit.js +106 -0
  181. package/dist/adapters/slack/tools/blockkit.js.map +1 -0
  182. package/dist/adapters/slack/types.d.ts +73 -2
  183. package/dist/adapters/slack/types.d.ts.map +1 -1
  184. package/dist/adapters/slack/types.js.map +1 -1
  185. package/dist/adapters/slack/update-diagnostics.d.ts +14 -0
  186. package/dist/adapters/slack/update-diagnostics.d.ts.map +1 -0
  187. package/dist/adapters/slack/update-diagnostics.js +134 -0
  188. package/dist/adapters/slack/update-diagnostics.js.map +1 -0
  189. package/dist/adapters/telegram/bot.d.ts +10 -9
  190. package/dist/adapters/telegram/bot.d.ts.map +1 -1
  191. package/dist/adapters/telegram/bot.js +129 -198
  192. package/dist/adapters/telegram/bot.js.map +1 -1
  193. package/dist/adapters/telegram/context.d.ts +2 -6
  194. package/dist/adapters/telegram/context.d.ts.map +1 -1
  195. package/dist/adapters/telegram/context.js +52 -190
  196. package/dist/adapters/telegram/context.js.map +1 -1
  197. package/dist/adapters/types.d.ts +144 -13
  198. package/dist/adapters/types.d.ts.map +1 -1
  199. package/dist/adapters/types.js.map +1 -1
  200. package/dist/adapters/web/admin/portal.d.ts +44 -0
  201. package/dist/adapters/web/admin/portal.d.ts.map +1 -0
  202. package/dist/adapters/web/admin/portal.js +3284 -0
  203. package/dist/adapters/web/admin/portal.js.map +1 -0
  204. package/dist/{web → adapters/web}/admin/provider-models.d.ts +1 -1
  205. package/dist/adapters/web/admin/provider-models.d.ts.map +1 -0
  206. package/dist/{web → adapters/web}/admin/provider-models.js +1 -1
  207. package/dist/adapters/web/admin/provider-models.js.map +1 -0
  208. package/dist/adapters/web/admin/types.d.ts +50 -0
  209. package/dist/adapters/web/admin/types.d.ts.map +1 -0
  210. package/dist/adapters/web/admin/types.js.map +1 -0
  211. package/dist/adapters/web/login/oauth.d.ts +5 -0
  212. package/dist/adapters/web/login/oauth.d.ts.map +1 -0
  213. package/dist/{web → adapters/web}/login/oauth.js +50 -85
  214. package/dist/adapters/web/login/oauth.js.map +1 -0
  215. package/dist/{web → adapters/web}/login/portal.d.ts +9 -3
  216. package/dist/adapters/web/login/portal.d.ts.map +1 -0
  217. package/dist/{web → adapters/web}/login/portal.js +161 -119
  218. package/dist/adapters/web/login/portal.js.map +1 -0
  219. package/dist/{web → adapters/web}/login/types.d.ts +1 -12
  220. package/dist/adapters/web/login/types.d.ts.map +1 -0
  221. package/dist/adapters/web/login/types.js.map +1 -0
  222. package/dist/adapters/web/portal-shell.d.ts +22 -0
  223. package/dist/adapters/web/portal-shell.d.ts.map +1 -0
  224. package/dist/{portal-shell.js → adapters/web/portal-shell.js} +78 -2
  225. package/dist/adapters/web/portal-shell.js.map +1 -0
  226. package/dist/{web → adapters/web}/server.d.ts +11 -8
  227. package/dist/adapters/web/server.d.ts.map +1 -0
  228. package/dist/{web → adapters/web}/server.js +16 -7
  229. package/dist/adapters/web/server.js.map +1 -0
  230. package/dist/adapters/web/session-view/portal.d.ts +20 -0
  231. package/dist/adapters/web/session-view/portal.d.ts.map +1 -0
  232. package/dist/{web → adapters/web}/session-view/portal.js +633 -162
  233. package/dist/adapters/web/session-view/portal.js.map +1 -0
  234. package/dist/{web → adapters/web}/session-view/types.d.ts +11 -6
  235. package/dist/adapters/web/session-view/types.d.ts.map +1 -0
  236. package/dist/adapters/web/session-view/types.js.map +1 -0
  237. package/dist/adapters/web/token-store.d.ts.map +1 -0
  238. package/dist/{web → adapters/web}/token-store.js +1 -1
  239. package/dist/adapters/web/token-store.js.map +1 -0
  240. package/dist/adapters/web/types.d.ts.map +1 -0
  241. package/dist/adapters/web/types.js.map +1 -0
  242. package/dist/cli/arg-grammar.d.ts +11 -0
  243. package/dist/cli/arg-grammar.d.ts.map +1 -0
  244. package/dist/cli/arg-grammar.js +50 -0
  245. package/dist/cli/arg-grammar.js.map +1 -0
  246. package/dist/cli/boot.d.ts +5 -0
  247. package/dist/cli/boot.d.ts.map +1 -0
  248. package/dist/cli/boot.js +90 -0
  249. package/dist/cli/boot.js.map +1 -0
  250. package/dist/cli/download.d.ts.map +1 -0
  251. package/dist/cli/download.js +88 -0
  252. package/dist/cli/download.js.map +1 -0
  253. package/dist/cli/office.d.ts +2 -0
  254. package/dist/cli/office.d.ts.map +1 -0
  255. package/dist/cli/office.js +83 -0
  256. package/dist/cli/office.js.map +1 -0
  257. package/dist/cli/onboard.d.ts +10 -0
  258. package/dist/cli/onboard.d.ts.map +1 -0
  259. package/dist/cli/onboard.js +225 -0
  260. package/dist/cli/onboard.js.map +1 -0
  261. package/dist/cli/sessions.d.ts +2 -0
  262. package/dist/cli/sessions.d.ts.map +1 -0
  263. package/dist/cli/sessions.js +88 -0
  264. package/dist/cli/sessions.js.map +1 -0
  265. package/dist/cli/types.d.ts +25 -0
  266. package/dist/cli/types.d.ts.map +1 -0
  267. package/dist/cli/types.js.map +1 -0
  268. package/dist/config.d.ts +38 -39
  269. package/dist/config.d.ts.map +1 -1
  270. package/dist/config.js +256 -215
  271. package/dist/config.js.map +1 -1
  272. package/dist/dream/index.d.ts +20 -0
  273. package/dist/dream/index.d.ts.map +1 -0
  274. package/dist/dream/index.js +264 -0
  275. package/dist/dream/index.js.map +1 -0
  276. package/dist/dream/types.d.ts +30 -0
  277. package/dist/dream/types.d.ts.map +1 -0
  278. package/dist/dream/types.js +2 -0
  279. package/dist/dream/types.js.map +1 -0
  280. package/dist/env-manifest.d.ts +32 -0
  281. package/dist/env-manifest.d.ts.map +1 -0
  282. package/dist/env-manifest.js +244 -0
  283. package/dist/env-manifest.js.map +1 -0
  284. package/dist/events/index.d.ts +150 -0
  285. package/dist/events/index.d.ts.map +1 -0
  286. package/dist/events/index.js +249 -0
  287. package/dist/events/index.js.map +1 -0
  288. package/dist/{events.d.ts → events/watcher.d.ts} +4 -4
  289. package/dist/events/watcher.d.ts.map +1 -0
  290. package/dist/{events.js → events/watcher.js} +23 -84
  291. package/dist/events/watcher.js.map +1 -0
  292. package/dist/{utils/file-guards.d.ts → file-guards.d.ts} +9 -0
  293. package/dist/file-guards.d.ts.map +1 -0
  294. package/dist/{utils/file-guards.js → file-guards.js} +44 -1
  295. package/dist/file-guards.js.map +1 -0
  296. package/dist/harness/execution-env.d.ts +19 -0
  297. package/dist/harness/execution-env.d.ts.map +1 -0
  298. package/dist/harness/execution-env.js +262 -0
  299. package/dist/harness/execution-env.js.map +1 -0
  300. package/dist/harness/execution-resolver.d.ts +25 -0
  301. package/dist/harness/execution-resolver.d.ts.map +1 -0
  302. package/dist/harness/execution-resolver.js +156 -0
  303. package/dist/harness/execution-resolver.js.map +1 -0
  304. package/dist/harness/index.d.ts +17 -13
  305. package/dist/harness/index.d.ts.map +1 -1
  306. package/dist/harness/index.js +10 -11
  307. package/dist/harness/index.js.map +1 -1
  308. package/dist/harness/mcp.d.ts +38 -0
  309. package/dist/harness/mcp.d.ts.map +1 -0
  310. package/dist/harness/mcp.js +306 -0
  311. package/dist/harness/mcp.js.map +1 -0
  312. package/dist/harness/models.d.ts +7 -4
  313. package/dist/harness/models.d.ts.map +1 -1
  314. package/dist/harness/models.js +54 -55
  315. package/dist/harness/models.js.map +1 -1
  316. package/dist/harness/open-connector.d.ts +14 -0
  317. package/dist/harness/open-connector.d.ts.map +1 -0
  318. package/dist/harness/open-connector.js +204 -0
  319. package/dist/harness/open-connector.js.map +1 -0
  320. package/dist/harness/presenter.d.ts +31 -0
  321. package/dist/harness/presenter.d.ts.map +1 -0
  322. package/dist/harness/presenter.js +832 -0
  323. package/dist/harness/presenter.js.map +1 -0
  324. package/dist/harness/prompt.d.ts +30 -0
  325. package/dist/harness/prompt.d.ts.map +1 -0
  326. package/dist/harness/prompt.js +431 -0
  327. package/dist/harness/prompt.js.map +1 -0
  328. package/dist/harness/runner.d.ts +2 -123
  329. package/dist/harness/runner.d.ts.map +1 -1
  330. package/dist/harness/runner.js +537 -417
  331. package/dist/harness/runner.js.map +1 -1
  332. package/dist/harness/session.d.ts +122 -0
  333. package/dist/harness/session.d.ts.map +1 -0
  334. package/dist/harness/session.js +581 -0
  335. package/dist/harness/session.js.map +1 -0
  336. package/dist/harness/skills.d.ts +17 -28
  337. package/dist/harness/skills.d.ts.map +1 -1
  338. package/dist/harness/skills.js +104 -39
  339. package/dist/harness/skills.js.map +1 -1
  340. package/dist/harness/subagent-profiles.d.ts +8 -0
  341. package/dist/harness/subagent-profiles.d.ts.map +1 -0
  342. package/dist/harness/subagent-profiles.js +284 -0
  343. package/dist/harness/subagent-profiles.js.map +1 -0
  344. package/dist/harness/subagent.d.ts +64 -0
  345. package/dist/harness/subagent.d.ts.map +1 -0
  346. package/dist/harness/subagent.js +687 -0
  347. package/dist/harness/subagent.js.map +1 -0
  348. package/dist/harness/tools/attach.d.ts.map +1 -0
  349. package/dist/{adapters/slack → harness}/tools/attach.js +1 -1
  350. package/dist/harness/tools/attach.js.map +1 -0
  351. package/dist/{tools → harness/tools}/event.d.ts +3 -32
  352. package/dist/harness/tools/event.d.ts.map +1 -0
  353. package/dist/harness/tools/event.js +178 -0
  354. package/dist/harness/tools/event.js.map +1 -0
  355. package/dist/harness/tools/generate-image.d.ts +23 -0
  356. package/dist/harness/tools/generate-image.d.ts.map +1 -0
  357. package/dist/harness/tools/generate-image.js +65 -0
  358. package/dist/harness/tools/generate-image.js.map +1 -0
  359. package/dist/harness/tools/host-fn-tool.d.ts +21 -0
  360. package/dist/harness/tools/host-fn-tool.d.ts.map +1 -0
  361. package/dist/harness/tools/host-fn-tool.js +32 -0
  362. package/dist/harness/tools/host-fn-tool.js.map +1 -0
  363. package/dist/harness/tools/index.d.ts +40 -0
  364. package/dist/harness/tools/index.d.ts.map +1 -0
  365. package/dist/harness/tools/index.js +49 -0
  366. package/dist/harness/tools/index.js.map +1 -0
  367. package/dist/harness/tools/pi-tools.d.ts +18 -0
  368. package/dist/harness/tools/pi-tools.d.ts.map +1 -0
  369. package/dist/harness/tools/pi-tools.js +84 -0
  370. package/dist/harness/tools/pi-tools.js.map +1 -0
  371. package/dist/harness/tools/react.d.ts.map +1 -0
  372. package/dist/{tools → harness/tools}/react.js +6 -17
  373. package/dist/harness/tools/react.js.map +1 -0
  374. package/dist/{tools → harness/tools}/sandbox.d.ts +4 -4
  375. package/dist/harness/tools/sandbox.d.ts.map +1 -0
  376. package/dist/{tools → harness/tools}/sandbox.js +12 -8
  377. package/dist/harness/tools/sandbox.js.map +1 -0
  378. package/dist/harness/tools/subagent.d.ts +88 -0
  379. package/dist/harness/tools/subagent.d.ts.map +1 -0
  380. package/dist/harness/tools/subagent.js +681 -0
  381. package/dist/harness/tools/subagent.js.map +1 -0
  382. package/dist/harness/tools/task.d.ts +20 -0
  383. package/dist/harness/tools/task.d.ts.map +1 -0
  384. package/dist/harness/tools/task.js +79 -0
  385. package/dist/harness/tools/task.js.map +1 -0
  386. package/dist/harness/tools/types.d.ts +29 -0
  387. package/dist/harness/tools/types.d.ts.map +1 -0
  388. package/dist/harness/tools/types.js +2 -0
  389. package/dist/harness/tools/types.js.map +1 -0
  390. package/dist/harness/types.d.ts +384 -25
  391. package/dist/harness/types.d.ts.map +1 -1
  392. package/dist/harness/types.js +1 -1
  393. package/dist/harness/types.js.map +1 -1
  394. package/dist/index.d.ts +33 -9
  395. package/dist/index.d.ts.map +1 -1
  396. package/dist/index.js +19 -6
  397. package/dist/index.js.map +1 -1
  398. package/dist/main.js +344 -188
  399. package/dist/main.js.map +1 -1
  400. package/dist/observability/index.d.ts +33 -0
  401. package/dist/observability/index.d.ts.map +1 -0
  402. package/dist/observability/index.js +257 -0
  403. package/dist/observability/index.js.map +1 -0
  404. package/dist/observability/instrument.js +14 -6
  405. package/dist/observability/instrument.js.map +1 -1
  406. package/dist/observability/otel.d.ts +10 -0
  407. package/dist/observability/otel.d.ts.map +1 -0
  408. package/dist/observability/otel.js +183 -0
  409. package/dist/observability/otel.js.map +1 -0
  410. package/dist/observability/sentry.d.ts +40 -7
  411. package/dist/observability/sentry.d.ts.map +1 -1
  412. package/dist/observability/sentry.js +176 -32
  413. package/dist/observability/sentry.js.map +1 -1
  414. package/dist/observability/types.d.ts +24 -3
  415. package/dist/observability/types.d.ts.map +1 -1
  416. package/dist/observability/types.js.map +1 -1
  417. package/dist/office/index.d.ts +138 -0
  418. package/dist/office/index.d.ts.map +1 -0
  419. package/dist/office/index.js +1084 -0
  420. package/dist/office/index.js.map +1 -0
  421. package/dist/office/projection.d.ts +22 -0
  422. package/dist/office/projection.d.ts.map +1 -0
  423. package/dist/office/projection.js +208 -0
  424. package/dist/office/projection.js.map +1 -0
  425. package/dist/office/types.d.ts +116 -0
  426. package/dist/office/types.d.ts.map +1 -0
  427. package/dist/office/types.js +2 -0
  428. package/dist/office/types.js.map +1 -0
  429. package/dist/platform-messages.d.ts +1 -0
  430. package/dist/platform-messages.d.ts.map +1 -1
  431. package/dist/platform-messages.js +3 -0
  432. package/dist/platform-messages.js.map +1 -1
  433. package/dist/process-lifecycle.d.ts +19 -0
  434. package/dist/process-lifecycle.d.ts.map +1 -0
  435. package/dist/process-lifecycle.js +67 -0
  436. package/dist/process-lifecycle.js.map +1 -0
  437. package/dist/runtime/conversation-runtime.d.ts +1 -1
  438. package/dist/runtime/conversation-runtime.d.ts.map +1 -1
  439. package/dist/runtime/conversation-runtime.js +422 -152
  440. package/dist/runtime/conversation-runtime.js.map +1 -1
  441. package/dist/runtime/session-lifecycle.d.ts +76 -0
  442. package/dist/runtime/session-lifecycle.d.ts.map +1 -0
  443. package/dist/runtime/session-lifecycle.js +404 -0
  444. package/dist/runtime/session-lifecycle.js.map +1 -0
  445. package/dist/runtime/types.d.ts +60 -15
  446. package/dist/runtime/types.d.ts.map +1 -1
  447. package/dist/runtime/types.js.map +1 -1
  448. package/dist/sandbox/cloudflare.d.ts +4 -0
  449. package/dist/sandbox/cloudflare.d.ts.map +1 -1
  450. package/dist/sandbox/cloudflare.js +54 -52
  451. package/dist/sandbox/cloudflare.js.map +1 -1
  452. package/dist/sandbox/container.d.ts +3 -0
  453. package/dist/sandbox/container.d.ts.map +1 -1
  454. package/dist/sandbox/container.js +19 -7
  455. package/dist/sandbox/container.js.map +1 -1
  456. package/dist/sandbox/host.d.ts +3 -0
  457. package/dist/sandbox/host.d.ts.map +1 -1
  458. package/dist/sandbox/host.js +44 -35
  459. package/dist/sandbox/host.js.map +1 -1
  460. package/dist/sandbox/identity.d.ts +42 -0
  461. package/dist/sandbox/identity.d.ts.map +1 -0
  462. package/dist/sandbox/identity.js +77 -0
  463. package/dist/sandbox/identity.js.map +1 -0
  464. package/dist/sandbox/index.d.ts +16 -6
  465. package/dist/sandbox/index.d.ts.map +1 -1
  466. package/dist/sandbox/index.js +73 -17
  467. package/dist/sandbox/index.js.map +1 -1
  468. package/dist/sandbox/provisioner.d.ts +121 -0
  469. package/dist/sandbox/provisioner.d.ts.map +1 -0
  470. package/dist/{provisioner.js → sandbox/provisioner.js} +352 -20
  471. package/dist/sandbox/provisioner.js.map +1 -0
  472. package/dist/sandbox/types.d.ts +43 -9
  473. package/dist/sandbox/types.d.ts.map +1 -1
  474. package/dist/sandbox/types.js.map +1 -1
  475. package/dist/sandbox/utils.d.ts +24 -0
  476. package/dist/sandbox/utils.d.ts.map +1 -1
  477. package/dist/sandbox/utils.js +92 -1
  478. package/dist/sandbox/utils.js.map +1 -1
  479. package/dist/sessions/chat-history-sync.d.ts +23 -0
  480. package/dist/sessions/chat-history-sync.d.ts.map +1 -0
  481. package/dist/sessions/{agent-memory-file-manager.js → chat-history-sync.js} +239 -175
  482. package/dist/sessions/chat-history-sync.js.map +1 -0
  483. package/dist/sessions/history-line.d.ts +29 -0
  484. package/dist/sessions/history-line.d.ts.map +1 -0
  485. package/dist/sessions/history-line.js +45 -0
  486. package/dist/sessions/history-line.js.map +1 -0
  487. package/dist/sessions/migrate-common.d.ts +43 -0
  488. package/dist/sessions/migrate-common.d.ts.map +1 -0
  489. package/dist/sessions/migrate-common.js +99 -0
  490. package/dist/sessions/migrate-common.js.map +1 -0
  491. package/dist/sessions/migrate-pi-084.d.ts +8 -0
  492. package/dist/sessions/migrate-pi-084.d.ts.map +1 -0
  493. package/dist/sessions/migrate-pi-084.js +302 -0
  494. package/dist/sessions/migrate-pi-084.js.map +1 -0
  495. package/dist/sessions/migrate-v3.d.ts +15 -0
  496. package/dist/sessions/migrate-v3.d.ts.map +1 -0
  497. package/dist/sessions/migrate-v3.js +419 -0
  498. package/dist/sessions/migrate-v3.js.map +1 -0
  499. package/dist/sessions/session-key.d.ts +33 -0
  500. package/dist/sessions/session-key.d.ts.map +1 -0
  501. package/dist/sessions/session-key.js +115 -0
  502. package/dist/sessions/session-key.js.map +1 -0
  503. package/dist/sessions/session-store.d.ts +59 -0
  504. package/dist/sessions/session-store.d.ts.map +1 -0
  505. package/dist/sessions/session-store.js +683 -0
  506. package/dist/sessions/session-store.js.map +1 -0
  507. package/dist/sessions/store.d.ts +17 -10
  508. package/dist/sessions/store.d.ts.map +1 -1
  509. package/dist/sessions/store.js +182 -47
  510. package/dist/sessions/store.js.map +1 -1
  511. package/dist/sessions/types.d.ts +73 -7
  512. package/dist/sessions/types.d.ts.map +1 -1
  513. package/dist/sessions/types.js +1 -1
  514. package/dist/sessions/types.js.map +1 -1
  515. package/dist/settings-mutation.d.ts +40 -0
  516. package/dist/settings-mutation.d.ts.map +1 -0
  517. package/dist/settings-mutation.js +66 -0
  518. package/dist/settings-mutation.js.map +1 -0
  519. package/dist/types.d.ts +350 -140
  520. package/dist/types.d.ts.map +1 -1
  521. package/dist/types.js +2 -2
  522. package/dist/types.js.map +1 -1
  523. package/dist/vault/index.d.ts +52 -2
  524. package/dist/vault/index.d.ts.map +1 -1
  525. package/dist/vault/index.js +218 -86
  526. package/dist/vault/index.js.map +1 -1
  527. package/dist/vault/types.d.ts +6 -2
  528. package/dist/vault/types.d.ts.map +1 -1
  529. package/dist/vault/types.js.map +1 -1
  530. package/package.json +77 -39
  531. package/dist/adapters/slack/tools/attach.d.ts.map +0 -1
  532. package/dist/adapters/slack/tools/attach.js.map +0 -1
  533. package/dist/adapters/streaming.d.ts +0 -18
  534. package/dist/adapters/streaming.d.ts.map +0 -1
  535. package/dist/adapters/streaming.js +0 -44
  536. package/dist/adapters/streaming.js.map +0 -1
  537. package/dist/adapters/telegram/html.d.ts +0 -3
  538. package/dist/adapters/telegram/html.d.ts.map +0 -1
  539. package/dist/adapters/telegram/html.js +0 -98
  540. package/dist/adapters/telegram/html.js.map +0 -1
  541. package/dist/agent-events.d.ts +0 -5
  542. package/dist/agent-events.d.ts.map +0 -1
  543. package/dist/agent-events.js +0 -26
  544. package/dist/agent-events.js.map +0 -1
  545. package/dist/agent.d.ts +0 -39
  546. package/dist/agent.d.ts.map +0 -1
  547. package/dist/agent.js +0 -1291
  548. package/dist/agent.js.map +0 -1
  549. package/dist/commands/admin.d.ts.map +0 -1
  550. package/dist/commands/admin.js.map +0 -1
  551. package/dist/commands/auto-reply.d.ts.map +0 -1
  552. package/dist/commands/auto-reply.js +0 -76
  553. package/dist/commands/auto-reply.js.map +0 -1
  554. package/dist/commands/extensions.d.ts +0 -14
  555. package/dist/commands/extensions.d.ts.map +0 -1
  556. package/dist/commands/extensions.js +0 -55
  557. package/dist/commands/extensions.js.map +0 -1
  558. package/dist/commands/login.d.ts +0 -5
  559. package/dist/commands/login.d.ts.map +0 -1
  560. package/dist/commands/login.js +0 -115
  561. package/dist/commands/login.js.map +0 -1
  562. package/dist/commands/model.d.ts +0 -10
  563. package/dist/commands/model.d.ts.map +0 -1
  564. package/dist/commands/model.js +0 -102
  565. package/dist/commands/model.js.map +0 -1
  566. package/dist/commands/new.d.ts.map +0 -1
  567. package/dist/commands/new.js +0 -25
  568. package/dist/commands/new.js.map +0 -1
  569. package/dist/commands/parse.d.ts +0 -7
  570. package/dist/commands/parse.d.ts.map +0 -1
  571. package/dist/commands/parse.js +0 -14
  572. package/dist/commands/parse.js.map +0 -1
  573. package/dist/commands/registry.d.ts +0 -5
  574. package/dist/commands/registry.d.ts.map +0 -1
  575. package/dist/commands/registry.js +0 -31
  576. package/dist/commands/registry.js.map +0 -1
  577. package/dist/commands/sandbox.d.ts.map +0 -1
  578. package/dist/commands/sandbox.js +0 -78
  579. package/dist/commands/sandbox.js.map +0 -1
  580. package/dist/commands/session-view.d.ts.map +0 -1
  581. package/dist/commands/session-view.js.map +0 -1
  582. package/dist/commands/types.d.ts +0 -66
  583. package/dist/commands/types.d.ts.map +0 -1
  584. package/dist/commands/types.js.map +0 -1
  585. package/dist/commands/utils.d.ts +0 -11
  586. package/dist/commands/utils.d.ts.map +0 -1
  587. package/dist/commands/utils.js.map +0 -1
  588. package/dist/download.d.ts.map +0 -1
  589. package/dist/download.js +0 -89
  590. package/dist/download.js.map +0 -1
  591. package/dist/events.d.ts.map +0 -1
  592. package/dist/events.js.map +0 -1
  593. package/dist/execution-resolver.d.ts +0 -21
  594. package/dist/execution-resolver.d.ts.map +0 -1
  595. package/dist/execution-resolver.js +0 -170
  596. package/dist/execution-resolver.js.map +0 -1
  597. package/dist/harness/auth.d.ts +0 -16
  598. package/dist/harness/auth.d.ts.map +0 -1
  599. package/dist/harness/auth.js +0 -86
  600. package/dist/harness/auth.js.map +0 -1
  601. package/dist/harness/extensions/loader.d.ts +0 -62
  602. package/dist/harness/extensions/loader.d.ts.map +0 -1
  603. package/dist/harness/extensions/loader.js +0 -374
  604. package/dist/harness/extensions/loader.js.map +0 -1
  605. package/dist/harness/extensions/registry.d.ts +0 -23
  606. package/dist/harness/extensions/registry.d.ts.map +0 -1
  607. package/dist/harness/extensions/registry.js +0 -45
  608. package/dist/harness/extensions/registry.js.map +0 -1
  609. package/dist/harness/extensions/types.d.ts +0 -248
  610. package/dist/harness/extensions/types.d.ts.map +0 -1
  611. package/dist/harness/extensions/types.js.map +0 -1
  612. package/dist/harness/session-store.d.ts +0 -77
  613. package/dist/harness/session-store.d.ts.map +0 -1
  614. package/dist/harness/session-store.js +0 -248
  615. package/dist/harness/session-store.js.map +0 -1
  616. package/dist/harness/settings.d.ts +0 -47
  617. package/dist/harness/settings.d.ts.map +0 -1
  618. package/dist/harness/settings.js +0 -29
  619. package/dist/harness/settings.js.map +0 -1
  620. package/dist/model-registry.d.ts +0 -4
  621. package/dist/model-registry.d.ts.map +0 -1
  622. package/dist/model-registry.js +0 -7
  623. package/dist/model-registry.js.map +0 -1
  624. package/dist/portal-shell.d.ts +0 -4
  625. package/dist/portal-shell.d.ts.map +0 -1
  626. package/dist/portal-shell.js.map +0 -1
  627. package/dist/provisioner.d.ts +0 -61
  628. package/dist/provisioner.d.ts.map +0 -1
  629. package/dist/provisioner.js.map +0 -1
  630. package/dist/runtime/agent-run-controller.d.ts +0 -31
  631. package/dist/runtime/agent-run-controller.d.ts.map +0 -1
  632. package/dist/runtime/agent-run-controller.js +0 -195
  633. package/dist/runtime/agent-run-controller.js.map +0 -1
  634. package/dist/sandbox/errors.d.ts +0 -6
  635. package/dist/sandbox/errors.d.ts.map +0 -1
  636. package/dist/sandbox/errors.js +0 -11
  637. package/dist/sandbox/errors.js.map +0 -1
  638. package/dist/sandbox/firecracker.d.ts +0 -15
  639. package/dist/sandbox/firecracker.d.ts.map +0 -1
  640. package/dist/sandbox/firecracker.js +0 -212
  641. package/dist/sandbox/firecracker.js.map +0 -1
  642. package/dist/sandbox/image.d.ts +0 -3
  643. package/dist/sandbox/image.d.ts.map +0 -1
  644. package/dist/sandbox/image.js +0 -27
  645. package/dist/sandbox/image.js.map +0 -1
  646. package/dist/sandbox/path-context.d.ts +0 -3
  647. package/dist/sandbox/path-context.d.ts.map +0 -1
  648. package/dist/sandbox/path-context.js +0 -20
  649. package/dist/sandbox/path-context.js.map +0 -1
  650. package/dist/sessions/agent-memory-file-manager.d.ts +0 -19
  651. package/dist/sessions/agent-memory-file-manager.d.ts.map +0 -1
  652. package/dist/sessions/agent-memory-file-manager.js.map +0 -1
  653. package/dist/sessions/metadata.d.ts +0 -3
  654. package/dist/sessions/metadata.d.ts.map +0 -1
  655. package/dist/sessions/metadata.js +0 -11
  656. package/dist/sessions/metadata.js.map +0 -1
  657. package/dist/sessions/policy.d.ts +0 -6
  658. package/dist/sessions/policy.d.ts.map +0 -1
  659. package/dist/sessions/policy.js +0 -23
  660. package/dist/sessions/policy.js.map +0 -1
  661. package/dist/store.d.ts +0 -46
  662. package/dist/store.d.ts.map +0 -1
  663. package/dist/store.js +0 -177
  664. package/dist/store.js.map +0 -1
  665. package/dist/tools/bash.d.ts +0 -10
  666. package/dist/tools/bash.d.ts.map +0 -1
  667. package/dist/tools/bash.js +0 -80
  668. package/dist/tools/bash.js.map +0 -1
  669. package/dist/tools/edit.d.ts +0 -11
  670. package/dist/tools/edit.d.ts.map +0 -1
  671. package/dist/tools/edit.js +0 -131
  672. package/dist/tools/edit.js.map +0 -1
  673. package/dist/tools/event.d.ts.map +0 -1
  674. package/dist/tools/event.js +0 -252
  675. package/dist/tools/event.js.map +0 -1
  676. package/dist/tools/index.d.ts +0 -24
  677. package/dist/tools/index.d.ts.map +0 -1
  678. package/dist/tools/index.js +0 -31
  679. package/dist/tools/index.js.map +0 -1
  680. package/dist/tools/react.d.ts.map +0 -1
  681. package/dist/tools/react.js.map +0 -1
  682. package/dist/tools/read.d.ts +0 -11
  683. package/dist/tools/read.d.ts.map +0 -1
  684. package/dist/tools/read.js +0 -134
  685. package/dist/tools/read.js.map +0 -1
  686. package/dist/tools/sandbox.d.ts.map +0 -1
  687. package/dist/tools/sandbox.js.map +0 -1
  688. package/dist/tools/truncate.d.ts +0 -33
  689. package/dist/tools/truncate.d.ts.map +0 -1
  690. package/dist/tools/truncate.js +0 -184
  691. package/dist/tools/truncate.js.map +0 -1
  692. package/dist/tools/types.d.ts +0 -54
  693. package/dist/tools/types.d.ts.map +0 -1
  694. package/dist/tools/types.js.map +0 -1
  695. package/dist/tools/write.d.ts +0 -10
  696. package/dist/tools/write.d.ts.map +0 -1
  697. package/dist/tools/write.js +0 -29
  698. package/dist/tools/write.js.map +0 -1
  699. package/dist/trigger.d.ts +0 -22
  700. package/dist/trigger.d.ts.map +0 -1
  701. package/dist/trigger.js +0 -100
  702. package/dist/trigger.js.map +0 -1
  703. package/dist/utils/date.d.ts +0 -10
  704. package/dist/utils/date.d.ts.map +0 -1
  705. package/dist/utils/date.js +0 -23
  706. package/dist/utils/date.js.map +0 -1
  707. package/dist/utils/env.d.ts +0 -3
  708. package/dist/utils/env.d.ts.map +0 -1
  709. package/dist/utils/env.js +0 -12
  710. package/dist/utils/env.js.map +0 -1
  711. package/dist/utils/file-guards.d.ts.map +0 -1
  712. package/dist/utils/file-guards.js.map +0 -1
  713. package/dist/utils/fs-atomic.d.ts +0 -10
  714. package/dist/utils/fs-atomic.d.ts.map +0 -1
  715. package/dist/utils/fs-atomic.js +0 -45
  716. package/dist/utils/fs-atomic.js.map +0 -1
  717. package/dist/utils/html.d.ts +0 -2
  718. package/dist/utils/html.d.ts.map +0 -1
  719. package/dist/utils/html.js +0 -4
  720. package/dist/utils/html.js.map +0 -1
  721. package/dist/utils/http-body.d.ts +0 -10
  722. package/dist/utils/http-body.d.ts.map +0 -1
  723. package/dist/utils/http-body.js +0 -34
  724. package/dist/utils/http-body.js.map +0 -1
  725. package/dist/vault/routing.d.ts +0 -3
  726. package/dist/vault/routing.d.ts.map +0 -1
  727. package/dist/vault/routing.js +0 -13
  728. package/dist/vault/routing.js.map +0 -1
  729. package/dist/web/admin/portal.d.ts +0 -5
  730. package/dist/web/admin/portal.d.ts.map +0 -1
  731. package/dist/web/admin/portal.js +0 -2572
  732. package/dist/web/admin/portal.js.map +0 -1
  733. package/dist/web/admin/provider-models.d.ts.map +0 -1
  734. package/dist/web/admin/provider-models.js.map +0 -1
  735. package/dist/web/admin/store.d.ts +0 -13
  736. package/dist/web/admin/store.d.ts.map +0 -1
  737. package/dist/web/admin/store.js +0 -14
  738. package/dist/web/admin/store.js.map +0 -1
  739. package/dist/web/admin/types.d.ts +0 -30
  740. package/dist/web/admin/types.d.ts.map +0 -1
  741. package/dist/web/admin/types.js.map +0 -1
  742. package/dist/web/agent-events/portal.d.ts +0 -3
  743. package/dist/web/agent-events/portal.d.ts.map +0 -1
  744. package/dist/web/agent-events/portal.js +0 -18
  745. package/dist/web/agent-events/portal.js.map +0 -1
  746. package/dist/web/login/oauth.d.ts +0 -6
  747. package/dist/web/login/oauth.d.ts.map +0 -1
  748. package/dist/web/login/oauth.js.map +0 -1
  749. package/dist/web/login/portal.d.ts.map +0 -1
  750. package/dist/web/login/portal.js.map +0 -1
  751. package/dist/web/login/store.d.ts +0 -8
  752. package/dist/web/login/store.d.ts.map +0 -1
  753. package/dist/web/login/store.js +0 -15
  754. package/dist/web/login/store.js.map +0 -1
  755. package/dist/web/login/types.d.ts.map +0 -1
  756. package/dist/web/login/types.js.map +0 -1
  757. package/dist/web/request.d.ts +0 -3
  758. package/dist/web/request.d.ts.map +0 -1
  759. package/dist/web/request.js +0 -13
  760. package/dist/web/request.js.map +0 -1
  761. package/dist/web/server.d.ts.map +0 -1
  762. package/dist/web/server.js.map +0 -1
  763. package/dist/web/session-view/command.d.ts +0 -4
  764. package/dist/web/session-view/command.d.ts.map +0 -1
  765. package/dist/web/session-view/command.js +0 -7
  766. package/dist/web/session-view/command.js.map +0 -1
  767. package/dist/web/session-view/portal.d.ts +0 -13
  768. package/dist/web/session-view/portal.d.ts.map +0 -1
  769. package/dist/web/session-view/portal.js.map +0 -1
  770. package/dist/web/session-view/service.d.ts +0 -6
  771. package/dist/web/session-view/service.d.ts.map +0 -1
  772. package/dist/web/session-view/service.js +0 -498
  773. package/dist/web/session-view/service.js.map +0 -1
  774. package/dist/web/session-view/store.d.ts +0 -8
  775. package/dist/web/session-view/store.d.ts.map +0 -1
  776. package/dist/web/session-view/store.js +0 -15
  777. package/dist/web/session-view/store.js.map +0 -1
  778. package/dist/web/session-view/types.d.ts.map +0 -1
  779. package/dist/web/session-view/types.js.map +0 -1
  780. package/dist/web/token-store.d.ts.map +0 -1
  781. package/dist/web/token-store.js.map +0 -1
  782. package/dist/web/types.d.ts.map +0 -1
  783. package/dist/web/types.js.map +0 -1
  784. /package/dist/{commands → adapters/commands}/admin.d.ts +0 -0
  785. /package/dist/{commands → adapters/commands}/new.d.ts +0 -0
  786. /package/dist/{commands → adapters/commands}/sandbox.d.ts +0 -0
  787. /package/dist/{commands → adapters/commands}/session-view.d.ts +0 -0
  788. /package/dist/{commands → adapters/commands}/types.js +0 -0
  789. /package/dist/{harness/extensions → adapters/github}/types.js +0 -0
  790. /package/dist/{tools → adapters/web/admin}/types.js +0 -0
  791. /package/dist/{web/admin → adapters/web/login}/types.js +0 -0
  792. /package/dist/{web/login → adapters/web/session-view}/types.js +0 -0
  793. /package/dist/{web → adapters/web}/token-store.d.ts +0 -0
  794. /package/dist/{web → adapters/web}/types.d.ts +0 -0
  795. /package/dist/{web/session-view → adapters/web}/types.js +0 -0
  796. /package/dist/{download.d.ts → cli/download.d.ts} +0 -0
  797. /package/dist/{web → cli}/types.js +0 -0
  798. /package/dist/{adapters/slack → harness}/tools/attach.d.ts +0 -0
  799. /package/dist/{tools → harness/tools}/react.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,954 @@ any release.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [1.0.0-beta.61]
13
+
14
+ ### Added
15
+
16
+ - Ground Slack DM progress replies in runtime/v4 task observations; common task-thread status queries no longer steer work, and ordinary followups do not repeat completion mentions.
17
+ - Slack DM task handoff: independent task threads keep the main conversation free, with text steering in active task threads and continuation after stopping.
18
+
19
+ ### Fixed
20
+
21
+ - Keep thread stop acknowledgements in the source thread, including shared-channel unmentioned stop controls.
22
+ - Notify Slack DM task requesters with a fresh in-thread mention after normal completion.
23
+ - Finalize stop acknowledgements that arrive after the cancelled run has already settled.
24
+ - Propagate final response delivery failures so rejected updates do not trigger completion notifications.
25
+ - Honor stop during runner preparation and keep older active tasks visible in status queries.
26
+ - Report task admission, asynchronous startup, and status inspection failures through the existing Sentry/OTLP observability path.
27
+
28
+ ### Changed
29
+
30
+ - Publish the already built and verified npm package without rerunning build and repository setup lifecycle scripts.
31
+ - Keep the documented and CI coverage commands as stable entry points while maintaining their shared Vitest invocation in one place.
32
+ - Validate debug Session View selections from their path and header, leaving full parsing to consumers that load session content instead of inspecting the same file twice.
33
+
34
+ ## [1.0.0-beta.60]
35
+
36
+ ### Fixed
37
+
38
+ - Separate CJK-adjacent bold dollar amounts for Slack's Markdown parser while preserving code and link destinations.
39
+ - Validate Session View selections through read-only inspection so active and repeatedly selected historical sessions do not conflict with writer ownership or appear corrupted.
40
+
41
+ ## [1.0.0-beta.59]
42
+
43
+ ### Fixed
44
+
45
+ - Keep Slack's working indicator in its own paragraph so progressive heading and table updates can replace existing rich-text messages without `block_mismatch`.
46
+ - Pace failed progressive redraws as well as successful ones, retaining accumulated text for recovery instead of retrying on every delta.
47
+
48
+ ### Changed
49
+
50
+ - Use Commander for CLI option parsing, subcommand validation, and generated help.
51
+ - Guide interactive onboarding with arrow-key selections, masked credentials, and a final confirmation before saving. Cancel without writing settings.
52
+ - Refuse custom-provider onboarding when models.json already exists, without printing credentials or writing partial settings.
53
+
54
+ ## [1.0.0-beta.58]
55
+
56
+ ### Added
57
+
58
+ - Restore Slack `/pi-auto-reply on|off` with the original per-conversation marker files, without judge models or rules.
59
+ - Expose the admin portal command on Discord and Telegram.
60
+
61
+ ### Changed
62
+
63
+ - Collapse conversation sections in the Admin portal, load their data only when opened, remember their open state, and open Vault and Session View links in new tabs.
64
+
65
+ ## [1.0.0-beta.57]
66
+
67
+ ### Changed
68
+
69
+ - Export raw platform conversation, channel, session, thread, message, and user identifiers so Sentry traces can be mapped directly back to their source while continuing to exclude human-readable names and conversation or tool content.
70
+
71
+ ### Removed
72
+
73
+ - Remove telemetry identifier hashing and the `TELEMETRY_HASH_KEY` deployment setting.
74
+
75
+ ## [1.0.0-beta.56]
76
+
77
+ ### Added
78
+
79
+ - Add content-free agent diagnostics for actual model IDs, token and cost totals, first-token latency, context utilization, message and attachment counts, payload sizes, tool categories and status, and retry, compaction, and budget summaries.
80
+
81
+ ### Security
82
+
83
+ - Replace raw conversation, session, message, thread, and user telemetry identifiers with stable opaque values, support deployment-specific HMACs through `TELEMETRY_HASH_KEY`, and stop sending usernames to Sentry.
84
+
85
+ ## [1.0.0-beta.55]
86
+
87
+ ### Added
88
+
89
+ - Export explicitly configured, content-free traces and metrics over standard OTLP HTTP/protobuf, including GenAI and OpenInference attribution for Arize Phoenix. Sentry remains available for sanitized issues and legacy metric fallback without duplicate spans; zero configuration remains network-free.
90
+ - Add a guided Admin dialog for configuring MCP servers, with structured fields or pasted standard `mcpServers` JSON and card-based installed-server management.
91
+
92
+ ### Changed
93
+
94
+ - Delegate the agent run loop, retries, compaction, persistence, cancellation, and the native `read`, `write`, `edit`, and `bash` tools to Pi's `AgentHarness` and execution-tool implementations. mikan retains budgets, platform presentation, authorization, and sandbox-backed execution routing.
95
+ - Upgrade `pi-agent-core` and `pi-ai` to 0.85.1, including GPT-6 Astra catalog entries and the 30-minute prompt-cache TTL for GPT-5.6+ Responses models.
96
+ - Consolidate harness, office, session, sandbox, web-adapter, and shared-command ownership without changing the published root exports.
97
+
98
+ ### Removed
99
+
100
+ - Remove managed skill packages and their Admin/package materialization surfaces. Workspace and conversation skills remain supported.
101
+ - Remove the auto-reply judge, command, configuration, and UI; explicit platform triggers remain supported.
102
+ - Remove the unused `/api/agent-events/stream` SSE mirror, its token setting, and supporting event types. The authenticated session viewer continues to use `/session/stream`.
103
+
104
+ ### Fixed
105
+
106
+ - Preserve Pi's native optional tool schemas, require an explicit authorized execution environment for native file/shell tools, and keep container working directories inside the guest instead of applying them to the host Docker process.
107
+
108
+ ## [1.0.0-beta.54]
109
+
110
+ ### Changed
111
+
112
+ - Admin portal: MCP servers are added by pasting the server's standard `mcpServers` JSON (Claude Desktop / Cursor shape), stored as-is; the old name / target / `KEY=value` form is gone. Every add and preset install is followed by a real connection check, and the response shows the tool count or the server's own error; a per-server **Test** button re-checks an installed entry. Query-string values in listed URLs are redacted. stdio entries now run their command on the host at save time.
113
+
114
+ ## [1.0.0-beta.53]
115
+
116
+ ### Changed
117
+
118
+ - Graceful shutdown drains in-flight runs for up to five minutes (was 30 seconds) after stopping intake; runs still open at the deadline are aborted and their conversations receive a restart notice instead of silence. The pm2 template `kill_timeout` is now six minutes; update your `ecosystem.config.cjs` to match. Shutdown failures now log every nested step error.
119
+
120
+ ### Added
121
+
122
+ - Send the run user (id and username) with Sentry events instead of stripping it, so Conversations show who sent each message; email and IP stay dropped.
123
+ - Set the Sentry conversation id to the session key on every agent run so Agent Monitoring groups gen_ai spans per thread.
124
+ - Report subagent outcomes to Sentry from the subagent tool: `agent.subagent.runs` / `agent.subagent.duration` metrics and a lifecycle breadcrumb for every status; a Sentry error under `error_domain=subagent` for `failed` and `invalid_output` (fingerprinted by error class) and for launch failures. `budget_exceeded`, `timeout`, `cancelled`, and `skipped` stay metrics-only. Reports carry run metrics, never task text or labels.
125
+
126
+ ## [1.0.0-beta.52]
127
+
128
+ ### Removed
129
+
130
+ - Remove the subagent `requiredTools` / `required_tools` mechanism: the post-run "every listed tool was invoked" check was a proxy for evidence that never held and failed only after the budget was spent. Callers that want evidence can read `toolCallCounts`.
131
+
132
+ ## [1.0.0-beta.51]
133
+
134
+ ### Fixed
135
+
136
+ - Drop `requiredTools` from built-in subagent profiles; requiring both `read` and `bash` discarded finished answers from tasks that needed only one of them.
137
+ - Keep a caller's `requiredTools` when the request also names a profile.
138
+ - Stop dropping the retained assistant message when an overflow retry rebuilds context from the store.
139
+
140
+ ### Changed
141
+
142
+ - Read mikan session metadata through Pi's `session.getValue` in `open`/`inspect`; compare `fstat` fields instead of hashing the file for pending-session materialization.
143
+
144
+ ## [1.0.0-beta.50]
145
+
146
+ ### Fixed
147
+
148
+ - Tolerate byte-identical duplicate Dream session files while rejecting divergent same-ID files.
149
+
150
+ ## [1.0.0-beta.49]
151
+
152
+ ### Changed
153
+
154
+ - Configure OpenConnector only at startup with `OPENCONNECTOR_ENDPOINT` and `OPENCONNECTOR_ADMIN_TOKEN`; ignore settings overrides of the reserved server, and reduce the Admin MCP Marketplace to the Metabase preset.
155
+
156
+ ## [1.0.0-beta.48]
157
+
158
+ ### Added
159
+
160
+ - Add an offline session migration for Pi 0.84-generation v4 JSONL files, with verified atomic replacement and preserved `*.pi-084.bak` originals.
161
+
162
+ ### Changed
163
+
164
+ - Upgrade `pi-agent-core` and `pi-ai` to 0.85.0 and persist sessions with the current `v: 4`, `storageVersion: 1` schema.
165
+ - Extend `mikan sessions migrate` to convert both legacy mikan v3 and Pi 0.84-generation v4 sessions while the daemon is stopped.
166
+
167
+ ## [1.0.0-beta.47]
168
+
169
+ ### Added
170
+
171
+ - Integrate OpenConnector as a host-side MCP gateway: Slack Conversation offices receive scoped runtime identities, while provider OAuth connections remain in the gateway and execution audit stays attributable to the originating conversation.
172
+ - Preserve operating guidance supplied during MCP initialization and present it to the agent with explicit system-prompt and user-intent boundaries.
173
+ - Add automatic selection of a sole OpenConnector provider connection when an action omits `connectionName`; retain explicit selection when multiple accounts exist.
174
+
175
+ ### Changed
176
+
177
+ - Gate MCP tools by the platform trust model and enforce the untrusted package boundary.
178
+ - Make platform shutdown cleanup bounded and strengthen runner/session lifecycle rollback handling.
179
+
180
+ ### Fixed
181
+
182
+ - Isolate Slack DM and thread E2E context and bound event-delivery waits.
183
+
184
+ ### Tests
185
+
186
+ - Add coverage for OpenConnector token provisioning, MCP instruction propagation, connection selection, trust gating, lifecycle cleanup, and Slack isolation.
187
+
188
+ ## [1.0.0-beta.46]
189
+
190
+ ### Added
191
+
192
+ - Add an interactive `mikan onboard` wizard that configures one chat adapter, an LLM provider, and the sandbox, writing private environment and settings files while retaining non-interactive template generation.
193
+ - Derive shared workspace visibility from platform channel privacy: Slack public channels can update shared memory, private channels receive it read-only, and DMs, external channels, unknown kinds, and other platforms stay isolated unless explicitly overridden.
194
+ - Schedule Dream maintenance for Conversation-office memory with durable evidence checkpoints.
195
+ - Add an Admin MCP Marketplace with reviewed GitHub, Context7, Playwright, Sequential Thinking, and Metabase presets; Metabase installations accept an instance endpoint and API key.
196
+
197
+ ### Changed
198
+
199
+ - Remove the executable extension system and its CLI/chat management surfaces; packages remain the supported path for deploying read-only skills.
200
+ - Remove the harness `auth.json` credential store; configure provider credentials through environment variables, onboarding, or the conversation vault.
201
+ - Remove Gondolin, Firecracker, and GitHub Cloud Build log integrations from the supported runtime surface.
202
+ - Fail closed when a sandbox backend cannot enforce an isolated office or read-only shared workspace memory; use `image:*` or explicitly select a trusted read-write projection.
203
+ - Consolidate runtime, session, adapter, web, and configuration ownership to reduce duplicate lifecycle and parsing rules.
204
+
205
+ ### Fixed
206
+
207
+ - Preserve streamed UTF-8 output when host sandbox chunks split multi-byte characters.
208
+ - Re-aim migrated session lanes at the nearest surviving ancestor when the newest v3 entry contains facts but no v4 message.
209
+
210
+ ### Tests
211
+
212
+ - Move CI action runtimes to Node 24 and strengthen runtime, presenter, workspace-projection, MCP marketplace, and session migration coverage.
213
+
214
+ ## [1.0.0-beta.45]
215
+
216
+ ### Fixed
217
+
218
+ - Session migration now collapses crash-duplicated v3 lines (a retried append writing the same header and entry twice) the way the v3 reader did, instead of failing v4 verification on the duplicate id. Found rehearsing the migration against 5,446 production session files; after the fix all migrate and reopen cleanly.
219
+
220
+ ## [1.0.0-beta.44]
221
+
222
+ ### Added
223
+
224
+ - Connect MCP (Model Context Protocol) servers via `mcpServers` settings and expose their tools to the agent as `mcp__<server>__<tool>`; stdio and streamable-HTTP transports, per-server failures isolated, credentials held host-side in server config out of the model's reach.
225
+ - Manage MCP servers from the admin portal: per-conversation and global panels with add, enable/disable, and remove; credential values are redacted to key names in the UI.
226
+ - Migrate sessions to pi's v4 format with a `mikan sessions migrate` CLI; pi upgraded to 0.84.3.
227
+ - Extensions can declare required host capabilities in `package.json` (`mikan.requires`); activation checks them before importing the module and `mikan ext validate` reports them.
228
+
229
+ ### Changed
230
+
231
+ - Split the agent module into five authority modules (catalog, prompt, runner, subagent-runner, types); the runtime now owns session rotation decisions and per-event chat-history sync.
232
+ - Derive all platform command registration and routing from the single command manifest.
233
+ - Adopt pi-ai's retryable-error classifier instead of a local copy.
234
+ - Conversation runtimes are keyed by office key, fixing cross-conversation runner reuse after ID changes.
235
+
236
+ ### Fixed
237
+
238
+ - Session files enforce single-writer ownership, surviving inode reuse and stale writer claims.
239
+ - Failed extension activations roll back cleanly; duplicate tool names are rejected.
240
+ - Slack slash commands in threads carry the thread session key instead of falling back to the top-level session.
241
+ - GitHub first-contact stop no longer creates participation state.
242
+ - Subagent deadlines are enforced by a single wall-clock timer; `before_agent_start` hooks run before auth and pre-turn compaction.
243
+ - Sandbox container removal failures no longer clear ownership, preventing orphaned containers.
244
+ - Run outcomes settle from the final message and run state is released on throw.
245
+
246
+ ## [1.0.0-beta.43]
247
+
248
+ ### Added
249
+
250
+ - Add an optional authenticated GitHub webhook endpoint that wakes polling immediately for lower-latency issue and pull-request handling.
251
+ - Add a machine-readable architecture index and generated system architecture documentation for repository-wide module boundaries and flows.
252
+
253
+ ### Changed
254
+
255
+ - Run manual and automatic Session Dreams in the background while preserving session rotation and conversation maintenance boundaries.
256
+
257
+ ### Fixed
258
+
259
+ - Wait for final Slack thread responses in isolation coverage instead of accepting provisional native-stream text.
260
+
261
+ ### Tests
262
+
263
+ - Add regression coverage for GitHub webhook authentication and dispatch, background Session Dream lifecycle behavior, and final Slack stream settlement.
264
+
265
+ ## [1.0.0-beta.42]
266
+
267
+ ### Changed
268
+
269
+ - Dispatch Slack extension commands when users type the command name without a leading slash, so documented Agent Project Manager commands work in ordinary messages.
270
+ - Update `@earendil-works/pi-agent-core` and `@earendil-works/pi-ai` to 0.83.0.
271
+ - Clarify Agent Project Manager onboarding, initial behavior, and the distinction between commands and natural-language tasks across all translated guides.
272
+
273
+ ### Fixed
274
+
275
+ - Stabilize Slack end-to-end coverage for extension command dispatch, Agent Project Manager, and long-message threads.
276
+
277
+ ### Tests
278
+
279
+ - Add regression coverage for slashless extension command routing and conversation runtime dispatch.
280
+
281
+ ## [1.0.0-beta.41]
282
+
283
+ ### Added
284
+
285
+ - Add Slack App and Agent manifests plus support for `assistant_view` and `agent_view` lifecycle events, including thread-aware assistant context and optional socket-event tracing.
286
+ - Add Discord Components V2 responses with native sections, separators, containers, and markdown-table rendering suited to Discord's width model.
287
+ - Add rich Telegram responses through platform-native formatting.
288
+ - Show the current activity of running subagents in progress dashboards.
289
+ - Add an end-user Agent Project Manager guide in English, Japanese, Simplified Chinese, and Traditional Chinese.
290
+
291
+ ### Changed
292
+
293
+ - Pace progressive redraws by elapsed time instead of response volume, and edit overflow messages rather than repeatedly posting replacements.
294
+ - Split Slack streamed text at the 12,000-character API limit, decline unsupported native streams before starting them, and hand off a truncated final tail exactly once.
295
+ - Report package-installed extensions in `/extensions` and return a clear compatibility error when an extension requires a newer mikan version.
296
+
297
+ ### Fixed
298
+
299
+ - Preserve final-source preparation during progressive replacement and cut truncated Slack messages at line boundaries.
300
+ - Distinguish Slack length-limit failures from other send errors instead of treating every failure as oversized content.
301
+ - Prevent desktop automation helpers from sending into a Slack thread's main composer.
302
+
303
+ ### Tests
304
+
305
+ - Add coverage for Slack assistant lifecycle and stream limits, Discord Components V2 and table formatting, progressive overflow editing, rich Telegram context, subagent activity reporting, and extension compatibility reporting.
306
+
307
+ ## [1.0.0-beta.40]
308
+
309
+ ### Added
310
+
311
+ - Add deterministic extension callback schedules that run host-side without an agent run, model call, or token spend; schedules persist across restarts and use host-authoritative storage.
312
+ - Add extension APIs for reading conversation or thread history, listing active platform users, opening direct-message conversations, and posting threaded notifications.
313
+ - Add declarative extension secrets with activation-time validation, CLI visibility, admin portal provisioning, and purge support.
314
+ - Add a production-ready agent project manager example built as an Event → Workflow → Task pipeline with SQLite persistence, scheduled heartbeats, threaded polling, delivery tracking, and Slack end-to-end coverage.
315
+
316
+ ### Changed
317
+
318
+ - Make proactive extension messaging default to the conversation's platform, removing ambiguity in multi-platform deployments.
319
+ - Make `api.notify` return the posted message ID and allow `api.fetchHistory` to read replies beneath that message, enabling poll-only follow-up workflows without webhooks.
320
+ - Make `mikan ext remove --purge` sweep an extension's schedules, secrets, data directories, and optional workspace event files while reporting leftovers for non-purge removals.
321
+ - Enable stricter TypeScript and lint enforcement for indexed access, type-only imports, Node.js import protocols, dependency cycles, explicit `any`, nesting depth, function size, and parameter count.
322
+ - Consolidate duplicated authorities and thin wrappers into their owning modules, and refresh repository documentation for the office architecture.
323
+
324
+ ### Tests
325
+
326
+ - Add coverage for callback schedule persistence and dispatch, extension secrets, platform reads, threaded notifications, purge behavior, and the agent project manager pipeline.
327
+
328
+ ## [1.0.0-beta.39]
329
+
330
+ ### Fixed
331
+
332
+ - Slack mentions now actually notify people: the adapter resolves response-source `<@userName>` (and display-name) mentions to Slack's native `<@U…>` id form on every outgoing path, including streamed responses. Previously mentions rendered as literal text and never pinged anyone; scheduled-event texts that hard-require raw user ids as a workaround can go back to plain `<@userName>`. The system prompt now also names the Users table as the one source of mention handles and forbids borrowing handles from other platforms (a GitHub username is not a Slack mention).
333
+ - Discord slash commands register again: the `/sandbox` option description had grown past Discord's 100-character limit, which made Discord reject the whole registration batch at startup. A manifest test now enforces the budget for every command, argument, and Telegram menu description.
334
+ - Fix `generate_image` losing its generated file at the upload step (`sh: … cannot open /workspace/<file>: No such file`): the tool wrote the image host-side into the workspace base and then handed a bare filename to the attach upload path, which reads through the sandbox — where the base is no longer mounted since the office layout migration. The image is now written into the conversation's own office directory (guest-visible) and uploaded directly by host path, with no sandbox round-trip, under every door policy. Image-generation provider errors now also name the model id that was sent.
335
+ - The Slack e2e workflow works again after the door-policy and office-key changes: the runner's settings opt into the trusted door policy explicitly (host mode is refused under the isolated default by design), local-delivery verification reads the office-key log path, and one recall prompt was disambiguated.
336
+
337
+ ### Changed
338
+
339
+ - The Conversation office is now a first-class module: `src/office/` owns identity, the Workspace/Office layout values, the registry journal, and the boot migration. Option bags across the runtime carry one `office` value instead of parallel address/directory fields, the attachment convention has a single owner on the shared adapter surface, and `ChannelStore` is gone. No behavior or on-disk layout change.
340
+ - Embedders can now construct the runtime from the public surface: `createWorkspace`, `createOfficeAddress`, and `officeKey` (plus the `Office`/`Workspace` types) are exported, and `createConversationRuntime` takes a `workspace` value in place of the `workingDir` string.
341
+ - Repository layout for contributors: run-it assets live under `deploy/` (pm2, docker, examples), the test suite lives at `src/test/`, and tool configs live in `.config/` (root keeps `package.json` and `tsconfig.json`). The build config moved to `src/tsconfig.build.json`.
342
+
343
+ ## [1.0.0-beta.38]
344
+
345
+ ### Fixed
346
+
347
+ - Align the conversation-skill symlink guard with what the host actually reads: symlinked entries are skipped per skill — with the skipped paths named in the host log and surfaced to the agent in its prompt — instead of one symlink anywhere disqualifying the whole tree, and symlinks inside vendored `node_modules` or dot directories (which the loader never reads) no longer disqualify anything. Offices whose skills vanished because a skill vendored npm dependencies (`.bin` symlinks) get them back.
348
+
349
+ ## [1.0.0-beta.37]
350
+
351
+ ### Fixed
352
+
353
+ - Stop discarding preserved container contents on mount drift: a drifted managed container is now committed and re-created from its snapshot with the desired mounts — writable layer intact — instead of being rebuilt from the base image. This closes the gap that recreated layout-migrated containers from scratch on their first message after upgrade (stored mount signatures went stale as shared sources changed overnight). `MIKAN_SKIP_CONTAINER_PRESERVATION=1` restores plain recreation.
354
+ - Stop treating ordinary directory activity as mount drift: directory mount sources are now fingerprinted by identity (a replacement directory is drift) instead of size and mtime, so event-file churn and children being created no longer force container rebuilds. File sources keep content fingerprints — atomic replacement leaves a stale inode in the container and must recreate it.
355
+ - Door-policy changes now preserve container contents through the rebuild; the portal and `/pi-sandbox door` copy no longer warn about a reset.
356
+
357
+ ## [1.0.0-beta.36]
358
+
359
+ ### Added
360
+
361
+ - Make the office door policy configurable: the Admin portal gains a per-office selector (global default / isolated / trusted shared-support / trusted full) plus a global-default selector, and the existing `/pi-sandbox` command gains `door <default|isolated|shared|full>` — both write the explicit `sandbox.workspace` settings and retire the legacy `image.workspaceMount` key on save.
362
+ - Door-policy changes follow the same clear-or-refuse contract as model changes (the system prompt bakes the workspace projection), and the sandbox container is rebuilt with the new mounts on the office's next message.
363
+
364
+ ## [1.0.0-beta.35]
365
+
366
+ Completes the office storage migration introduced in 1.0.0-beta.34: sandbox containers now survive it with everything installed inside them intact. Upgrading directly from 1.0.0-beta.33 or earlier to this release keeps container contents; deployments that already booted 1.0.0-beta.34 had their containers recreated by that release.
367
+
368
+ ### Added
369
+
370
+ - Preserve managed sandbox containers through the office layout migration: each container still mounting legacy paths is committed to a snapshot and re-created with translated workspace, state, and vault mounts, keeping its writable layer — software installed inside survives the upgrade.
371
+ - Migrate containers off the boot path: on demand before a conversation's next message and via a background sweep after the platforms start, so boot stays fast and nothing blocks on the one-time cost.
372
+ - Resume interrupted container migrations safely: the pre-removal mounts ride on the snapshot image, a crash at any point resumes without data loss, and snapshots are reclaimed once a container naturally returns to the base image.
373
+ - Add the `MIKAN_SKIP_CONTAINER_PRESERVATION` escape hatch to fall back to plain container removal.
374
+
375
+ ### Tests
376
+
377
+ - Cover translate, no-op, resume, orphan-resume, snapshot reclamation, and disarmed paths on a stateful docker mock, plus bind-translator unit tests; rehearsed against real docker including the crash-resume path.
378
+
379
+ ## [1.0.0-beta.34]
380
+
381
+ **One-way storage migration.** On first boot this release renames every conversation's workspace directory, credential vault, and host state tree to platform-scoped office keys, journaled with crash recovery. Back up the state dir and workspace before upgrading; earlier versions cannot read the migrated layout, so there is no downgrade. Managed sandbox containers for migrated conversations are recreated, which resets software installed inside them once (a preservation path is planned for a follow-up release).
382
+
383
+ ### Added
384
+
385
+ - Isolate every conversation as an office keyed by platform and conversation id, ending all cross-platform collisions on shared raw ids: runtime state, workspace files, chat logs, attachments, credential vaults, settings, extension data, and scheduled-event scoping are now platform-scoped.
386
+ - Migrate legacy directories automatically at boot: ownership is verified against each enabled platform's id format, ambiguous or unrecognized directories fail closed as needs-owner, and repositories or build output sitting in a trusted workspace root are skipped in place.
387
+ - Add the `mikan office` CLI: `list` shows the office inventory and pending migrations; `claim` assigns an owner platform to a legacy directory the format check cannot decide.
388
+ - Record every office in a host-only registry at creation, giving Admin and CLI surfaces a durable raw-id ↔ office mapping.
389
+
390
+ ### Changed
391
+
392
+ - Scope the Admin portal by office: conversation lists show platforms, cross-platform targets name theirs explicitly, and all paths, settings, projections, and vault links resolve from the full office address.
393
+ - Show office-key paths (`/workspace/v1-slack-…`) in agent prompts and workspace listings; transcripts from before the upgrade may reference old paths until the agent re-lists.
394
+ - Breaking for embedders: `createRunner`, `MessagingEventHandler`, settings, package, and extension APIs now carry an `OfficeAddress`.
395
+
396
+ ### Fixed
397
+
398
+ - Preserve Session Dream memory writes after the migration; the write grant previously derived the memory path from the raw conversation id and would have refused every dream.
399
+ - Stop `mikan ext` from resolving conversation state against the wrong state dir when `--state-dir` differs from the environment default.
400
+ - Keep thread sessions anchored to their main-session lineage via `parentSessionId`.
401
+
402
+ ### Tests
403
+
404
+ - Add migration-engine coverage for claiming, crash recovery, ambiguity, reappeared directories, vault and state-tree moves, and format verification; rehearsed end-to-end against a production-shaped 327-entry workspace (285 offices migrated in ~2.4s, zero manual claims, checksums identical).
405
+ - Keep state-writing tests out of the developer's real `~/.mikan` with a suite-wide temporary state dir.
406
+
407
+ ## [1.0.0-beta.33]
408
+
409
+ ### Changed
410
+
411
+ - Give every built-in subagent profile a 100,000-token allowance and honor larger token budgets requested by the parent model.
412
+
413
+ ### Fixed
414
+
415
+ - Disable Sentry's faulty OpenAI integration to prevent instrumentation failures in model-provider requests.
416
+
417
+ ### Tests
418
+
419
+ - Add regression coverage for subagent profile token defaults, model-requested increases, tool schema behavior, and disabled OpenAI instrumentation.
420
+
421
+ ## [1.0.0-beta.32]
422
+
423
+ ### Changed
424
+
425
+ - Raise the autonomous event and trigger run cost stop-loss from $2 to $10 while retaining the 10-minute and 50-call limits.
426
+ - Allow session memory dreams to make up to 10 LLM calls and remove their fixed cost cap while retaining the two-minute limit.
427
+
428
+ ### Fixed
429
+
430
+ - Prevent large conversations from becoming permanently unable to reset or rotate when preserving memory necessarily exceeds a fixed cost threshold.
431
+
432
+ ## [1.0.0-beta.31]
433
+
434
+ ### Changed
435
+
436
+ - Allow attachments to use each sandbox executor's standard file reader while retaining workspace path containment.
437
+
438
+ ### Fixed
439
+
440
+ - Restore HTML, image, and document uploads from managed sandboxes that cannot provide atomic symlink-free traversal.
441
+
442
+ ### Tests
443
+
444
+ - Add end-to-end regression coverage for staging and uploading workspace files through the regular executor transport.
445
+
446
+ ## [1.0.0-beta.30]
447
+
448
+ ### Added
449
+
450
+ - Add role-based subagent profiles for software engineering, DevOps, data science, account management, business development, creative production, advertising operations, and bounded general work.
451
+ - Add a generated cross-module hardening report covering module boundaries, coupling, and verification evidence.
452
+
453
+ ### Changed
454
+
455
+ - Stabilize exported module interfaces and route executor-dependent file staging through the active execution transport.
456
+ - Deepen progressive response rendering and keep Slack E2E turns bound to the runner lifecycle.
457
+
458
+ ### Fixed
459
+
460
+ - Prevent extension packages, attachment bridges, vault keys, sandbox paths, and event inputs from escaping their intended boundaries.
461
+ - Close runner construction, cached-runner invalidation, Gondolin projection, and automatic Session Dream settlement races.
462
+ - Validate model identifiers, event timezones, package refreshes, and shared-history watermarks consistently.
463
+ - Keep reset history bounded by reset time and exclude queued future turns from session history.
464
+ - Prevent Slack from posting bare working-indicator updates.
465
+
466
+ ### Security
467
+
468
+ - Harden Git package materialization, extension subpaths, filesystem bridges, and sandbox path validation against traversal and symlink escapes.
469
+
470
+ ### Tests
471
+
472
+ - Add regression coverage for declaration surfaces, session history boundaries, runtime races, event validation, package materialization, and Slack runner integration.
473
+
474
+ ## [1.0.0-beta.29]
475
+
476
+ ### Added
477
+
478
+ - Add Git-sourced extension packages with global and conversation scopes, package mount resolution, CLI inspection, and admin portal management.
479
+ - Add native Slack markdown-block responses and the `slack_blockkit` tool for interactive Block Kit messages.
480
+ - Add interactive Block Kit APIs for extensions, with a poll extension example.
481
+ - Add named subagent profiles, built-in workflow specialists, per-profile tool grants, and a bounded Slack progress dashboard.
482
+ - Preserve durable memory with Session Dream before biweekly shared-channel session rotation, using the same conversation-scoped maintenance path as `/new`.
483
+
484
+ ### Changed
485
+
486
+ - Run Gondolin runtimes inside the mikan process instead of detached workers. Restarts now boot fresh VMs on demand, and shutdown closes every VM so projected files sync back first.
487
+ - Remove Gondolin runtime inventories, worker heartbeats, and the `stateDir` argument from `configureGondolinRuntime`.
488
+ - Render standard GFM response prose as native Slack markdown blocks while keeping progressive response updates behind a single lifecycle.
489
+
490
+ ### Fixed
491
+
492
+ - Keep the current session active and preserve saved memory when Session Dream cannot finish.
493
+ - Bound subagent cancellation, invocation modes, profile labels, and Block Kit payloads; clamp long labels with an ellipsis instead of rejecting calls.
494
+ - Show the selected subagent profile and its tool grant consistently in progress output.
495
+ - Render the Slack subagent dashboard as a response source rather than escaped mrkdwn.
496
+ - Isolate Git test fixtures from an ambient `GIT_DIR`.
497
+
498
+ ### Tests
499
+
500
+ - Add coverage for extension packages, extension Block Kit APIs, native Slack rendering, subagent profiles and progress, Session Dream rotation, and in-process Gondolin lifecycle behavior.
501
+
502
+ ## [1.0.0-beta.28]
503
+
504
+ ### Removed
505
+
506
+ - Remove Gondolin remote-worker and fleet support. `sandbox.gondolin.remote`, `gondolin:remote`, and `--worker-token` are no longer supported; use the local `gondolin:default` sandbox instead.
507
+
508
+ ### Fixed
509
+
510
+ - Preserve Slack mrkdwn links whose labels contain spaces when rendering Block Kit responses.
511
+ - Reuse the existing Slack progress message when streaming the final response, preventing duplicate or partially completed bot messages.
512
+
513
+ ## [1.0.0-beta.27]
514
+
515
+ ### Added
516
+
517
+ - Preserve concrete long-term memory before `/new` creates a fresh DM session, while keeping transient context and pre-reset platform history out of the new model context.
518
+
519
+ ### Changed
520
+
521
+ - Serialize workspace-mutating tools and memory-maintenance runs so file updates, resets, and incoming messages have deterministic ordering.
522
+ - Align extension context and message hooks with the active agent lifecycle, including per-run system prompt rewrites that preserve dynamically rebuilt memory, skills, and sandbox context.
523
+
524
+ ### Fixed
525
+
526
+ - Keep extension-rewritten messages consistent across tool execution, persistence, provider context, and lifecycle events.
527
+ - Account for compaction model usage in run budgets and reject corrupted session trees instead of silently accepting broken history.
528
+ - Wait for active runs before resetting sessions, and prevent old runs from writing after `/new`.
529
+ - Keep long Slack continuations in their thread and preserve mrkdwn links when rendering Block Kit text.
530
+
531
+ ### Tests
532
+
533
+ - Add real Slack coverage for memory-preserving `/pi-new`, long threaded responses, and Block Kit markdown links.
534
+ - Add regression coverage for harness message identity, dynamic prompts, compaction budgets, session integrity, runtime settlement, and mutation-tool ordering.
535
+
536
+ ## [1.0.0-beta.26]
537
+
538
+ ### Fixed
539
+
540
+ - Make the subagent tool schema compatible with OpenAI by exposing an object at the function parameter root.
541
+
542
+ ### Tests
543
+
544
+ - Add regression coverage for OpenAI-compatible subagent function schemas.
545
+
546
+ ## [1.0.0-beta.25]
547
+
548
+ ### Changed
549
+
550
+ - Temporarily remove the Agent Sandbox runtime, SDK, Kubernetes client, Helm deployment, runtime images, and related release workflow from the npm release.
551
+ - Restore the Gondolin, Gondolin remote-worker, and Firecracker sandbox implementations while Agent Sandbox packaging is redesigned separately.
552
+
553
+ ### Fixed
554
+
555
+ - Restore global npm installation and CLI startup after the broken Agent Sandbox dependencies in `1.0.0-beta.23` and `1.0.0-beta.24`.
556
+
557
+ ### Tests
558
+
559
+ - Add a real `npm install -g --prefix` smoke test for the packed tarball, enforce a 2 MiB size ceiling, and gate CI and npm publishing on the result.
560
+
561
+ ## [1.0.0-beta.24]
562
+
563
+ ### Fixed
564
+
565
+ - Bundle the vendored Agent Sandbox SDK in the npm package so global installs no longer fail on a missing repository-local tarball.
566
+ - Reuse mikan's direct Kubernetes client dependency as an SDK peer instead of recursively bundling a duplicate dependency tree, keeping the published tarball under 1 MiB.
567
+
568
+ ### Tests
569
+
570
+ - Add a pack-install smoke test that imports the bundled SDK, runs the packed CLI, enforces a 2 MiB size ceiling, and gates both CI and npm publishing.
571
+
572
+ ## [1.0.0-beta.23]
573
+
574
+ ### Added
575
+
576
+ - Add Kubernetes Agent Sandbox execution with mandatory `kata-qemu` isolation, a pinned TypeScript client, managed idle cleanup, and shared workspace support.
577
+ - Add a Helm chart with GKE Standard, Linux k3s, Colima, and router-only profiles; GKE supports Filestore CSI on an explicitly configured VPC.
578
+ - Publish mikan, the Agent Sandbox runtime, and the pinned router source build to GHCR through a release-aware image workflow.
579
+ - Expose detailed subagent input, output, cache, reasoning, and cost usage while retaining the existing summary aliases.
580
+
581
+ ### Changed
582
+
583
+ - Replace Gondolin and Firecracker sandbox modes with `agent-sandbox:<warm-pool>`.
584
+ - Make Helm the supported Kubernetes deployment interface; the default and Colima profiles use host execution, while GKE and k3s profiles require Kata and RWX storage.
585
+ - Include delegated subagent usage in parent run statistics and budget accounting.
586
+
587
+ ### Removed
588
+
589
+ - Remove the standalone `mikan-worker`, remote worker fleet, dial-home gateway, Gondolin runtime, Firecracker executor, worker CI, and worker release binaries. Existing Gondolin deployments must move to the Agent Sandbox Helm deployment; no automatic deployment or state migration is provided.
590
+
591
+ ### Security
592
+
593
+ - Require Kata rather than silently falling back to runc, restrict the optional router to the configured mikan namespace with a NetworkPolicy, and keep generated PVCs by default on Helm uninstall.
594
+ - Update transitive `js-yaml` to 4.3.0 to address the merge-key chain denial-of-service advisory.
595
+
596
+ ### Tests
597
+
598
+ - Add Agent Sandbox unit coverage, Helm profile assertions, pinned router image builds, and full GKE validation covering Kata, Filestore RWX, browser recording, aborts, recovery, Slack, and LLM tool execution.
599
+ - Add coverage for detailed subagent usage, compatibility aliases, failure paths, extension results, and parent budget accounting.
600
+
601
+ ## [1.0.0-beta.22]
602
+
603
+ ### Added
604
+
605
+ - Let subagents opt into a normalized reference snapshot of the active parent conversation with `parentContext`, while keeping fresh isolated context as the default.
606
+
607
+ ### Changed
608
+
609
+ - Raise default subagent limits from 8 to 100 turns, $0.50 to $10, and 2 to 10 minutes; return concrete budget or timeout reasons.
610
+ - Apply the process-wide subagent concurrency ceiling to both tool- and extension-initiated runs, with cancellation while queued and usage attribution only to the active parent run.
611
+ - Use collision-safe hashed keys for credential authorization and runtime resources. Exact legacy host and shared-container credentials remain readable, but users of ambiguous legacy managed-sandbox keys may need to run `/login` again.
612
+ - Reject unsupported vault file mounts and mounts that overlap workspace or other credential targets.
613
+ - Extract workspace projection and session lifecycle responsibilities into focused modules without intended runtime behavior changes.
614
+
615
+ ### Fixed
616
+
617
+ - Reject session keys belonging to another conversation and unsafe conversation or thread identifiers.
618
+ - Prevent session pointers and thread files from escaping their owning directory or resolving through symlinks.
619
+ - Process Slack messages posted by known human users through user tokens even when Slack includes the posting app's `bot_id`; bot-authored messages remain ignored.
620
+ - Clearly report subagent budget exhaustion instead of returning a generic incomplete status.
621
+
622
+ ### Tests
623
+
624
+ - Add Slack E2E coverage for DMs, idle stop, thread isolation, busy queues, images, and multi-file uploads.
625
+ - Add unit coverage for session identity and path safety, collision-safe sandbox identities, vault mount policy, session lifecycle, normalized subagent context, shared slots, cancellation, and budget reporting.
626
+
627
+ ## [1.0.0-beta.21]
628
+
629
+ ### Added
630
+
631
+ - Fold each subagent's tokens and cost into the parent run's tally (`MikanAgentSession.recordExternalUsage`), so delegated spend counts against the parent run's budget instead of staying invisible to it.
632
+ - Add a process-wide subagent fan-out ceiling shared across conversations.
633
+ - Add `mikan --help` and a generated `mikan env` inventory from the daemon environment manifest.
634
+ - Make the working-directory argument optional, defaulting to `<state-dir>/workspace`.
635
+ - Add a public Gondolin runtime bootstrap seam for embedders.
636
+
637
+ ### Changed
638
+
639
+ - Subagent runs never reject: request validation failures (unknown tools, invalid budgets, empty tasks, nested runs) now resolve to `failed` results, so one bad request in a `tasks`/`dag` batch can no longer orphan in-flight sibling subagents.
640
+ - Cap parallel `tasks[]` batches at 4 concurrent subagents (the same limit as DAG mode) and run DAG waves through a slot pool instead of chunk barriers.
641
+ - Report a subagent final response with no text as `failed` instead of `completed` with empty output.
642
+ - Enforce parent budgets immediately when subagent usage is folded into the parent run.
643
+ - Apply one state-directory precedence rule across boot, extensions, Sentry, and runtime readers.
644
+ - Refuse model and sandbox settings updates while a conversation is busy, and invalidate affected cached runners consistently.
645
+ - Drive PM2 environment configuration from `~/.mikan/mikan.env` instead of inline secrets.
646
+
647
+ ### Fixed
648
+
649
+ - Harden Gondolin dial-home reconnects after transport failures and stale sessions.
650
+ - Reject invalid one-shot event timestamps consistently across all event writers.
651
+ - Apply global model settings to idle conversations and report busy conversations as stale.
652
+
653
+ ### Security
654
+
655
+ - Keep PM2 secrets in an owner-only file outside repository trees and make the PM2 template supervision-only.
656
+
657
+ ### Tests
658
+
659
+ - Add coverage for subagent accounting and concurrency, CLI and environment manifests, settings mutation, Gondolin reconnects and contracts, event formatting, and worker state layout.
660
+
661
+ ## [1.0.0-beta.20]
662
+
663
+ ### Fixed
664
+
665
+ - Validate subagent `outputSchema` correctly when it arrives as plain JSON Schema (the only form tool calls can carry), instead of throwing `ValueCheckUnknownTypeError` because it lacks TypeBox's `Kind` metadata.
666
+
667
+ ### Tests
668
+
669
+ - Add coverage for plain JSON Schema hydration, nested objects, arrays, unions, and validation failures.
670
+
671
+ ## [1.0.0-beta.19]
672
+
673
+ ### Added
674
+
675
+ - Add fresh in-memory subagents for the main agent and extensions, with explicit tools, budgets, structured output, parallel batches, and bounded DAG orchestration.
676
+ - Stream debounced subagent node progress through the shared Slack, Discord, and Telegram response lifecycle.
677
+
678
+ ### Changed
679
+
680
+ - Let final responses at the LLM-call cap complete without tripping the run budget when no continuation is required.
681
+
682
+ ### Fixed
683
+
684
+ - Install worker binaries from the newest GitHub release that contains a matching asset, including prereleases.
685
+ - Restore generic Google Workspace CLI credential mounts in sandbox vaults.
686
+
687
+ ### Tests
688
+
689
+ - Add coverage for subagent isolation, recursion guards, budgets, structured output, parallel execution, DAG validation and dependency flow, and platform-neutral progress rendering.
690
+
691
+ ## [1.0.0-beta.18]
692
+
693
+ ### Added
694
+
695
+ - Add an idempotent Debian and Ubuntu worker-host initialization script.
696
+ - Add persistent `mikan-worker` installation as a delegated systemd service.
697
+ - Add NFS export detection with OS-specific setup guidance for `gondolin:remote` workspaces.
698
+ - Ship host-side vault credential files securely to remote workers without placing them in the shared workspace.
699
+ - Add bounded shared-workspace health probes and worker degradation reporting.
700
+
701
+ ### Changed
702
+
703
+ - Require each Gondolin remote gateway and static worker to declare its shared `workspaceRoot`.
704
+ - Exclude workers with unhealthy shared workspaces from new placements and restore them after a healthy heartbeat.
705
+
706
+ ### Fixed
707
+
708
+ - Fail remote execution with actionable diagnostics instead of hanging on dead shared-workspace mounts.
709
+ - Create runtime cgroups beneath the worker's delegated cgroup and report missing `Delegate=yes` configuration.
710
+ - Verify downloaded worker binaries against the matching release checksum filename.
711
+ - Validate `gondolin:remote` only after gateway and worker transports are configured.
712
+
713
+ ### Security
714
+
715
+ - Materialize remote credential files as owner-only, read-only runtime files outside shared workspaces.
716
+
717
+ ### Tests
718
+
719
+ - Add coverage for worker host services, cgroup delegation, workspace health, credential delivery, NFS advice, remote validation, and idle execution deadlines.
720
+
721
+ ## [1.0.0-beta.17]
722
+
723
+ ### Added
724
+
725
+ - Add `gondolin:remote` for scheduling sandbox runtimes across a fleet of Linux/KVM workers.
726
+ - Add a standalone `mikan-worker` daemon with mutual TLS, fenced leases, crash recovery, capacity-aware placement, draining, and sticky conversation assignment.
727
+ - Add dial-home worker enrollment through one-time join tokens and a mikan-hosted gateway.
728
+ - Add private workspace projection, vault injection, resource limits, lifecycle reconciliation, and drift recovery to Gondolin runtimes.
729
+ - Add worker installation, enrollment, operations, and remote quickstart documentation with a one-command end-to-end smoke test.
730
+ - Publish `mikan-worker` binaries and checksums with GitHub releases.
731
+
732
+ ### Changed
733
+
734
+ - Rename the preview sandbox mode from `microvm:default` to `gondolin:default` and the image build command to `npm run gondolin:image:build`.
735
+
736
+ ### Fixed
737
+
738
+ - Project mounted files correctly into Gondolin guests.
739
+ - Refresh rotated credentials when Gondolin runtimes are recreated.
740
+
741
+ ### Security
742
+
743
+ - Authenticate remote workers with mutual TLS and fence stale workers through expiring leases.
744
+ - Keep enrollment tokens one-time and store worker credentials privately.
745
+
746
+ ### Tests
747
+
748
+ - Add coverage for Gondolin lifecycle, workspace isolation, vaults, resource controls, fleet scheduling, gateways, enrollment, workers, leases, and remote execution.
749
+
750
+ ## [1.0.0-beta.16]
751
+
752
+ ### Added
753
+
754
+ - Add a preview `gondolin:default` sandbox backed by Gondolin and QEMU.
755
+ - Add a curated microVM guest image build with Node.js, Python, uv, Git, ripgrep, fd, jq, SSH, and build tools.
756
+ - Manage one process-local microVM per conversation with idle shutdown and recreation on demand.
757
+
758
+ ### Changed
759
+
760
+ - Broaden the coverage gate across all source modules.
761
+
762
+ ### Fixed
763
+
764
+ - Keep top-level Slack file uploads out of threads.
765
+
766
+ ### Tests
767
+
768
+ - Add coverage for microVM execution and lifecycle, events, logging, disabled vaults, channel storage, and core file and shell tools.
769
+
770
+ ## [1.0.0-beta.15]
771
+
772
+ ### Added
773
+
774
+ - Add native image generation with automatic upload through the active model provider.
775
+ - Add extension chat commands via `api.registerCommand`: deterministic `/name` dispatch with no model call; built-ins and first registrations win.
776
+ - Add an extension disposal lifecycle (`api.onDispose` or an `activate` return value), run when a harness instance is discarded (`/pi-new`, idle eviction, session rotation).
777
+ - Add `api.triggerRun(text)` to fire an immediate autonomous agent run, `api.uploadFile(path, title)` for proactive file uploads, and an explicit `conversationId` option on `api.notify` for cross-conversation posting.
778
+ - Add `agent_error` and `budget_exceeded` extension hooks so monitoring extensions see failed turns and tripped run budgets.
779
+ - Pass a `RunOrigin` (platform, triggering message id, user identity, attachments) to extension hook events, making `api.react` and per-user extension policy usable.
780
+ - Let `before_agent_start` extensions rewrite the user prompt or block the turn before the model runs; blocked turns leave no trace in the transcript or session store.
781
+ - Let `tool_result` extensions rewrite tool output (content and error flag) before the model and the session store see it, enabling secret redaction and output truncation.
782
+
783
+ ### Changed
784
+
785
+ - Dispatch `before_agent_start` and `tool_result` hooks with chaining semantics (each handler sees earlier handlers' rewrites; any `block` wins) instead of first-result-wins.
786
+
787
+ ### Fixed
788
+
789
+ - Dispose cached runners when models switch or environment credentials refresh.
790
+
791
+ ### Tests
792
+
793
+ - Add coverage for image generation, extension lifecycle and hook rewrites, and runner disposal.
794
+
795
+ ## [1.0.0-beta.14]
796
+
797
+ ### Added
798
+
799
+ - Add GitHub inline review-thread intake and a `github_review_reply` tool.
800
+ - Add `github_sync`, `github_read`, and `github_issue` tools for repository refresh and issue or pull request operations.
801
+ - Add host-side Cloud Build log retrieval using GCP ADC or Workload Identity Federation.
802
+ - Add a minimal embedder example that runs without portal services.
803
+
804
+ ### Changed
805
+
806
+ - Update eligible GitHub pull request head branches in place instead of opening duplicate pull requests.
807
+ - Drive platform command registration and routing from a shared command manifest.
808
+ - Use one cross-platform stop grammar, including `/stop` in GitHub conversations.
809
+ - Route sandbox file reads and writes through executors with staged, shell-safe transport.
810
+ - Keep sandbox settings nested through configuration resolution and updates.
811
+
812
+ ### Fixed
813
+
814
+ - Preserve raw session keys when using Slack's Force Stop button.
815
+ - Spill large bash output into the runtime workspace so sandboxed agents can read it.
816
+ - Keep malformed event files visible in the admin portal for deletion.
817
+ - Unify platform formatting guidance across adapter and conversation contexts.
818
+
819
+ ### Security
820
+
821
+ - Keep Cloud Build credentials host-side and outside agent sandboxes.
822
+ - Centralize runtime identity and sandbox path sanitization.
823
+
824
+ ### Tests
825
+
826
+ - Add coverage for GitHub tool operations, review threads, Cloud Build logs, executor file transport, command manifests, runtime embedding, and session serialization.
827
+
828
+ ## [1.0.0-beta.13]
829
+
830
+ ### Added
831
+
832
+ - Add the `max` thinking level to commands, configuration, and the admin portal.
833
+ - Add quickstart and extension development guides across all supported locales.
834
+
835
+ ### Changed
836
+
837
+ - Update pi agent dependencies to 0.80.6.
838
+ - Load platform-specific tool packs only for their configured adapters.
839
+ - Improve `github_checks` output and guidance for external CI providers.
840
+ - Synchronize configuration, platform, sandbox, session, skill, event, portal, and deployment documentation across locales.
841
+
842
+ ### Fixed
843
+
844
+ - Fix broken CLI tables and dead documentation links across locales.
845
+
846
+ ### Security
847
+
848
+ - Derive ambient shared-vault access from each platform's declared trust model and sandbox topology.
849
+
850
+ ### Tests
851
+
852
+ - Add coverage for platform tool-pack isolation, external CI checks, and vault trust policy.
853
+
854
+ ## [1.0.0-beta.12]
855
+
856
+ ### Added
857
+
858
+ - Let `github_checks` fetch the log tail for a failing GitHub Actions job by job ID.
859
+
860
+ ### Changed
861
+
862
+ - Require GitHub App Actions read permission for job log inspection.
863
+
864
+ ### Fixed
865
+
866
+ - Treat skipped and neutral GitHub checks separately from failures in check summaries.
867
+
868
+ ### Tests
869
+
870
+ - Add coverage for job log retrieval and check conclusion classification.
871
+ - Use collision-resistant temporary directories across parallel tests.
872
+
873
+ ## [1.0.0-beta.11]
874
+
875
+ ### Added
876
+
877
+ - Add a read-only `github_checks` tool for inspecting branch and pull request check runs.
878
+
879
+ ### Changed
880
+
881
+ - Make `github_pr` idempotent so pushing an existing branch updates its open pull request.
882
+ - Teach the GitHub agent workflow to inspect CI, fix failures, and push updates.
883
+ - Require GitHub App Checks read permission for CI inspection.
884
+
885
+ ### Tests
886
+
887
+ - Add coverage for GitHub check summaries and existing pull request updates.
888
+
889
+ ## [1.0.0-beta.10]
890
+
891
+ ### Fixed
892
+
893
+ - Retry cloning a GitHub repository on later triggers when the conversation clone is missing.
894
+
895
+ ### Security
896
+
897
+ - Stop applying the ambient default shared vault to GitHub conversations while preserving explicit conversation vault grants.
898
+ - Document the platform, shared machine, and personal credential trust boundaries.
899
+
900
+ ### Tests
901
+
902
+ - Add coverage for GitHub clone retries and platform-gated default vault resolution.
903
+
904
+ ## [1.0.0-beta.9]
905
+
906
+ ### Added
907
+
908
+ - Clone GitHub repositories into conversation workspaces and check out pull request heads.
909
+ - Add a `github_pr` tool that pushes agent changes from `pi/*` branches and opens pull requests.
910
+
911
+ ### Changed
912
+
913
+ - Require GitHub App Contents read and write permission for repository automation.
914
+ - Post completed GitHub responses as single comments instead of streaming edits.
915
+
916
+ ### Fixed
917
+
918
+ - Keep GitHub issue context inside the history recency window.
919
+
920
+ ### Security
921
+
922
+ - Require commenters to have repository write permission or higher before triggering the agent.
923
+ - Keep installation tokens out of sandboxes and restrict agent pushes to non-force `pi/*` branches.
924
+
925
+ ### Tests
926
+
927
+ - Add coverage for GitHub repository checkout, permission gating, pull request creation, and branch restrictions.
928
+
929
+ ## [1.0.0-beta.8]
930
+
931
+ ### Added
932
+
933
+ - Add a GitHub messaging adapter where each issue or pull request is an independent conversation.
934
+ - Add GitHub App authentication, mention and participation triggers, persisted polling cursors, and downtime replay.
935
+ - Add GitHub adapter deployment configuration and documentation.
936
+
937
+ ### Tests
938
+
939
+ - Add coverage for GitHub polling, authentication, conversation context, triggers, and responses.
940
+
941
+ ## [1.0.0-beta.7]
942
+
943
+ ### Added
944
+
945
+ - Add TypeScript and npm-package extensions with `package.json` entrypoints and runtime dependencies.
946
+ - Add `mikan ext install`, `validate`, `list`, and `remove` commands.
947
+ - Add extension installation from Git sources and repository subpaths.
948
+
949
+ ### Changed
950
+
951
+ - Treat reinstalling an extension as an update while preserving its data directory.
952
+ - Use `package.json` as the primary extension metadata source with `manifest.json` as a fallback.
953
+ - Convert the agent project manager example to TypeScript with a typed extension API.
954
+ - Add the Slack `reactions:write` scope and missing slash commands to the manifests and setup guides.
955
+
956
+ ### Tests
957
+
958
+ - Add coverage for TypeScript loading, package metadata, extension CLI operations, and Git installation.
959
+
12
960
  ## [1.0.0-beta.6]
13
961
 
14
962
  ### Added