@nomix-ai/nomix-harness 0.2.4 → 0.2.6

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 (1740) hide show
  1. package/README.md +2 -9
  2. package/dist/assets/web/assets/index-BnapMmQ_.css +1 -0
  3. package/dist/assets/web/assets/index-Dx7Ws_OC.js +96 -0
  4. package/dist/assets/web/assets/langs/{php-D-uCvoST.js → php-DDkx9sim.js} +2 -2
  5. package/dist/{kernel/web-frontend/dist/assets/langs/ruby-DEItuUFs.js → assets/web/assets/langs/ruby-DCxyoPen.js} +2 -2
  6. package/dist/assets/web/assets/{vendor-Cjbwl5VI.js → vendor-D22_Mp1f.js} +2 -2
  7. package/dist/assets/web/favicon.svg +8 -0
  8. package/dist/assets/web/index.html +5 -5
  9. package/dist/bundles/base/cordis.patch.yml +31 -6
  10. package/dist/bundles/web-app/cordis.patch.yml +27 -6
  11. package/dist/cli/bin.js +4 -5
  12. package/dist/cli/builtin-registry.js +44 -4
  13. package/dist/cli/{dump-config-d3ECray2.js → dump-config-BEj2GlJo.js} +1 -1
  14. package/dist/cli/{plugin-Bw9wgrmj.js → plugin-D_gLgCYL.js} +1 -1
  15. package/dist/cli/profile-boot-BSrYtiQI.js +2 -0
  16. package/dist/cli/{profile-boot-DFHdh9Xq.js → profile-boot-CByqUxLM.js} +0 -2
  17. package/dist/cli/profile-boot.d.ts +2 -2
  18. package/dist/cli/runtime.js +0 -2
  19. package/dist/config/agent-presets/code/agent.cordis.yml +4 -3
  20. package/dist/config/agent-presets/cordis/agent.cordis.yml +4 -3
  21. package/dist/config/agent-presets/cordis/skills/editing-cordis-compositions/SKILL.md +13 -2
  22. package/dist/config/agent-presets/minimal/agent.cordis.yml +27 -1
  23. package/dist/config/agent-presets/standard/agent.cordis.yml +4 -3
  24. package/dist/kernel/acp/lib/index.js +1 -1
  25. package/dist/kernel/acp/lib/types/content.d.ts +1 -1
  26. package/dist/kernel/acp/lib/types/index.d.ts +2 -2
  27. package/dist/kernel/acp/lib/types/index.js +1 -1
  28. package/dist/kernel/acp/lib/types/invariant.d.ts +1 -1
  29. package/dist/kernel/acp/package.json +1 -1
  30. package/dist/kernel/agent/lib/index.js +1 -1
  31. package/dist/kernel/agent/lib/types/dispatch.d.ts +1 -1
  32. package/dist/kernel/agent/lib/types/index.d.ts +1 -1
  33. package/dist/kernel/agent/lib/types/index.js +1 -1
  34. package/dist/kernel/agent/lib/types/invariant.d.ts +1 -1
  35. package/dist/kernel/agent/lib/types/model-selection.d.ts +1 -1
  36. package/dist/kernel/agent/lib/types/runtime-types.d.ts +1 -1
  37. package/dist/kernel/agent/package.json +1 -1
  38. package/dist/kernel/agent-default-model/lib/index.js +2 -2
  39. package/dist/kernel/agent-default-model/lib/types/index.d.ts +2 -2
  40. package/dist/kernel/agent-default-model/lib/types/index.js +2 -2
  41. package/dist/kernel/agent-default-model/lib/types/invariant.d.ts +1 -1
  42. package/dist/kernel/agent-default-model/package.json +1 -1
  43. package/dist/kernel/agent-instructions/lib/index.js +1 -1
  44. package/dist/kernel/agent-instructions/lib/types/config.d.ts +1 -1
  45. package/dist/kernel/agent-instructions/lib/types/config.js +1 -1
  46. package/dist/kernel/agent-instructions/lib/types/index.d.ts +1 -1
  47. package/dist/kernel/agent-instructions/lib/types/invariant.d.ts +1 -1
  48. package/dist/kernel/agent-instructions/package.json +1 -1
  49. package/dist/kernel/agent-loop/lib/index.js +35 -12
  50. package/dist/kernel/agent-loop/lib/types/agent.d.ts +1 -1
  51. package/dist/kernel/agent-loop/lib/types/agent.js +26 -6
  52. package/dist/kernel/agent-loop/lib/types/index.d.ts +2 -2
  53. package/dist/kernel/agent-loop/lib/types/index.js +2 -2
  54. package/dist/kernel/agent-loop/lib/types/invariant.d.ts +1 -1
  55. package/dist/kernel/agent-loop/lib/types/runtime-context.d.ts +1 -1
  56. package/dist/kernel/agent-loop/lib/types/tool-calls.d.ts +1 -1
  57. package/dist/kernel/agent-loop/package.json +1 -1
  58. package/dist/kernel/agent-presets/lib/index.js +3 -3
  59. package/dist/kernel/agent-presets/lib/invariant.js +3 -3
  60. package/dist/kernel/agent-presets/lib/types/discovery.js +1 -1
  61. package/dist/kernel/agent-presets/lib/types/index.d.ts +2 -2
  62. package/dist/kernel/agent-presets/lib/types/index.js +2 -2
  63. package/dist/kernel/agent-presets/lib/types/invariant.d.ts +1 -1
  64. package/dist/kernel/agent-presets/lib/types/mount.d.ts +2 -2
  65. package/dist/kernel/agent-presets/lib/types/mount.js +2 -2
  66. package/dist/kernel/agent-presets/package.json +1 -1
  67. package/dist/kernel/agent-tool-presentation/lib/index.js +1 -1
  68. package/dist/kernel/agent-tool-presentation/lib/types/index.d.ts +2 -2
  69. package/dist/kernel/agent-tool-presentation/lib/types/index.js +1 -1
  70. package/dist/kernel/agent-tool-presentation/lib/types/invariant.d.ts +1 -1
  71. package/dist/kernel/agent-tool-presentation/package.json +1 -1
  72. package/dist/kernel/anonymous-user-id/lib/types/invariant.d.ts +1 -1
  73. package/dist/kernel/anonymous-user-id/package.json +1 -1
  74. package/dist/kernel/api-gateway/lib/client.js +84 -55
  75. package/dist/kernel/api-gateway/lib/index.js +1 -1
  76. package/dist/kernel/api-gateway/lib/types/client/index.d.ts +1 -1
  77. package/dist/kernel/api-gateway/lib/types/client/index.js +94 -62
  78. package/dist/kernel/api-gateway/lib/types/index.d.ts +1 -1
  79. package/dist/kernel/api-gateway/lib/types/index.js +1 -1
  80. package/dist/kernel/api-gateway/lib/types/invariant.d.ts +1 -1
  81. package/dist/kernel/api-gateway/package.json +1 -1
  82. package/dist/kernel/api-remotes/lib/client.js +166 -27
  83. package/dist/kernel/api-remotes/lib/index.js +1 -1
  84. package/dist/kernel/api-remotes/lib/types/agent-lookup.d.ts +1 -1
  85. package/dist/kernel/api-remotes/lib/types/client/index.d.ts +5 -1
  86. package/dist/kernel/api-remotes/lib/types/client/index.js +4 -1
  87. package/dist/kernel/api-remotes/lib/types/invariant.d.ts +1 -1
  88. package/dist/kernel/api-remotes/lib/types/remote-events.d.ts +1 -1
  89. package/dist/kernel/api-remotes/lib/types/remote-events.js +1 -1
  90. package/dist/kernel/api-remotes/package.json +11 -7
  91. package/dist/kernel/app-boot/lib/index.js +23 -45
  92. package/dist/kernel/app-boot/lib/types/index.d.ts +3 -4
  93. package/dist/kernel/app-boot/lib/types/index.js +6 -7
  94. package/dist/kernel/app-boot/lib/types/invariant.d.ts +1 -1
  95. package/dist/kernel/app-boot/lib/types/profile.d.ts +17 -14
  96. package/dist/kernel/app-boot/lib/types/profile.js +17 -27
  97. package/dist/kernel/app-boot/package.json +1 -1
  98. package/dist/kernel/atomic-write/lib/index.js +36 -16
  99. package/dist/kernel/atomic-write/lib/types/index.d.ts +21 -5
  100. package/dist/kernel/atomic-write/lib/types/index.js +40 -16
  101. package/dist/kernel/atomic-write/lib/types/invariant.d.ts +1 -1
  102. package/dist/kernel/atomic-write/package.json +1 -1
  103. package/dist/kernel/attachment/lib/index.js +63 -4
  104. package/dist/kernel/attachment/lib/types/admission.d.ts +15 -0
  105. package/dist/kernel/attachment/lib/types/admission.js +33 -0
  106. package/dist/kernel/attachment/lib/types/brand.d.ts +8 -0
  107. package/dist/kernel/attachment/lib/types/brand.js +8 -0
  108. package/dist/kernel/attachment/lib/types/error.d.ts +2 -2
  109. package/dist/kernel/attachment/lib/types/error.js +1 -0
  110. package/dist/kernel/attachment/lib/types/index.d.ts +24 -6
  111. package/dist/kernel/attachment/lib/types/index.js +25 -3
  112. package/dist/kernel/attachment/lib/types/invariant.d.ts +1 -1
  113. package/dist/kernel/attachment/lib/types/types.d.ts +47 -2
  114. package/dist/kernel/attachment/package.json +3 -2
  115. package/dist/kernel/attachment-local/lib/index.js +641 -49
  116. package/dist/kernel/attachment-local/lib/types/compression-limiter.d.ts +18 -0
  117. package/dist/kernel/attachment-local/lib/types/compression-limiter.js +43 -0
  118. package/dist/kernel/attachment-local/lib/types/encoding.d.ts +23 -0
  119. package/dist/kernel/attachment-local/lib/types/encoding.js +33 -0
  120. package/dist/kernel/attachment-local/lib/types/image.d.ts +31 -2
  121. package/dist/kernel/attachment-local/lib/types/image.js +43 -4
  122. package/dist/kernel/attachment-local/lib/types/index.d.ts +47 -12
  123. package/dist/kernel/attachment-local/lib/types/index.js +141 -11
  124. package/dist/kernel/attachment-local/lib/types/invariant.d.ts +1 -1
  125. package/dist/kernel/attachment-local/lib/types/normalization.d.ts +44 -0
  126. package/dist/kernel/attachment-local/lib/types/normalization.js +148 -0
  127. package/dist/kernel/attachment-local/lib/types/request-image.d.ts +35 -0
  128. package/dist/kernel/attachment-local/lib/types/request-image.js +208 -0
  129. package/dist/kernel/attachment-local/lib/types/store.d.ts +36 -9
  130. package/dist/kernel/attachment-local/lib/types/store.js +60 -24
  131. package/dist/kernel/attachment-local/package.json +1 -1
  132. package/dist/kernel/authorization/lib/index.js +248 -0
  133. package/dist/kernel/authorization/lib/invariant.js +36 -0
  134. package/dist/kernel/authorization/lib/types/index.d.ts +223 -0
  135. package/dist/kernel/authorization/lib/types/index.js +299 -0
  136. package/dist/kernel/authorization/lib/types/invariant.d.ts +16 -0
  137. package/dist/kernel/authorization/lib/types/invariant.js +38 -0
  138. package/dist/kernel/authorization/lib/types/types.d.ts +83 -0
  139. package/dist/kernel/authorization/lib/types/types.js +8 -0
  140. package/dist/kernel/{client-web-react → authorization}/package.json +19 -16
  141. package/dist/kernel/base/cordis.patch.yml +31 -6
  142. package/dist/kernel/base/lib/types/invariant.d.ts +1 -1
  143. package/dist/kernel/base/package.json +3 -1
  144. package/dist/kernel/bash-local/lib/index.js +1 -1
  145. package/dist/kernel/bash-local/lib/types/index.d.ts +2 -2
  146. package/dist/kernel/bash-local/lib/types/index.js +1 -1
  147. package/dist/kernel/bash-local/lib/types/invariant.d.ts +1 -1
  148. package/dist/kernel/bash-local/package.json +1 -1
  149. package/dist/kernel/bash-sandbox/lib/types/index.d.ts +1 -1
  150. package/dist/kernel/bash-sandbox/lib/types/invariant.d.ts +1 -1
  151. package/dist/kernel/bash-sandbox/package.json +1 -1
  152. package/dist/kernel/brand/lib/types/invariant.d.ts +1 -1
  153. package/dist/kernel/brand/package.json +1 -1
  154. package/dist/kernel/client-connection/lib/client.js +148 -28
  155. package/dist/kernel/client-connection/lib/index.js +6 -6
  156. package/dist/kernel/client-connection/lib/types/client/fixture.js +112 -20
  157. package/dist/kernel/client-connection/lib/types/client/index.d.ts +22 -2
  158. package/dist/kernel/client-connection/lib/types/client/index.js +3 -2
  159. package/dist/kernel/client-connection/lib/types/client/rpc.d.ts +4 -1
  160. package/dist/kernel/client-connection/lib/types/client/rpc.js +4 -2
  161. package/dist/kernel/client-connection/lib/types/http-bridge.d.ts +2 -2
  162. package/dist/kernel/client-connection/lib/types/http-bridge.js +3 -3
  163. package/dist/kernel/client-connection/lib/types/index.d.ts +3 -3
  164. package/dist/kernel/client-connection/lib/types/index.js +1 -1
  165. package/dist/kernel/client-connection/lib/types/invariant.d.ts +1 -1
  166. package/dist/kernel/client-connection/lib/types/rpc-host.d.ts +1 -1
  167. package/dist/kernel/client-connection/lib/types/rpc-host.js +1 -1
  168. package/dist/kernel/client-connection/package.json +15 -9
  169. package/dist/kernel/client-hmr/lib/index.js +1 -1
  170. package/dist/kernel/client-hmr/lib/types/client/index.d.ts +1 -1
  171. package/dist/kernel/client-hmr/lib/types/index.d.ts +2 -2
  172. package/dist/kernel/client-hmr/lib/types/index.js +1 -1
  173. package/dist/kernel/client-hmr/lib/types/invariant.d.ts +1 -1
  174. package/dist/kernel/client-hmr/package.json +1 -1
  175. package/dist/kernel/client-locale/lib/client.js +49 -10
  176. package/dist/kernel/client-locale/lib/index.js +1 -1
  177. package/dist/kernel/client-locale/lib/types/client/index.d.ts +20 -4
  178. package/dist/kernel/client-locale/lib/types/client/index.js +48 -7
  179. package/dist/kernel/client-locale/lib/types/index.d.ts +1 -1
  180. package/dist/kernel/client-locale/lib/types/invariant.d.ts +1 -1
  181. package/dist/kernel/client-locale/lib/types/locale-settings.d.ts +1 -1
  182. package/dist/kernel/client-locale/lib/types/locale-settings.js +1 -1
  183. package/dist/kernel/client-locale/package.json +6 -6
  184. package/dist/kernel/client-modules/lib/client.js +188 -123
  185. package/dist/kernel/client-modules/lib/index.js +178 -32
  186. package/dist/kernel/client-modules/lib/types/client/index.d.ts +20 -9
  187. package/dist/kernel/client-modules/lib/types/client/index.js +25 -8
  188. package/dist/kernel/client-modules/lib/types/client/manifest.d.ts +90 -41
  189. package/dist/kernel/client-modules/lib/types/client/manifest.js +45 -12
  190. package/dist/kernel/client-modules/lib/types/client/system.d.ts +15 -17
  191. package/dist/kernel/client-modules/lib/types/client/system.js +85 -56
  192. package/dist/kernel/client-modules/lib/types/index.d.ts +30 -14
  193. package/dist/kernel/client-modules/lib/types/index.js +129 -35
  194. package/dist/kernel/client-modules/lib/types/invariant.d.ts +1 -1
  195. package/dist/kernel/client-modules/package.json +4 -2
  196. package/dist/kernel/client-runtime/lib/client.js +43 -8
  197. package/dist/kernel/client-runtime/lib/types/client/agents/scope.d.ts +1 -1
  198. package/dist/kernel/client-runtime/lib/types/client/agents/scope.js +1 -1
  199. package/dist/kernel/client-runtime/lib/types/client/contract/session.d.ts +1 -1
  200. package/dist/kernel/client-runtime/lib/types/client/contract/sessions.d.ts +1 -1
  201. package/dist/kernel/client-runtime/lib/types/client/contract/store.d.ts +1 -1
  202. package/dist/kernel/client-runtime/lib/types/client/contract/store.js +2 -2
  203. package/dist/kernel/client-runtime/lib/types/client/conversation/definition-registry.d.ts +1 -1
  204. package/dist/kernel/client-runtime/lib/types/client/conversation/definition-registry.js +1 -1
  205. package/dist/kernel/client-runtime/lib/types/client/conversation/event-registry.d.ts +1 -1
  206. package/dist/kernel/client-runtime/lib/types/client/conversation/view-registry.d.ts +1 -1
  207. package/dist/kernel/client-runtime/lib/types/client/index.d.ts +3 -3
  208. package/dist/kernel/client-runtime/lib/types/client/index.js +3 -3
  209. package/dist/kernel/client-runtime/lib/types/client/sessions/context-provenance.d.ts +8 -0
  210. package/dist/kernel/client-runtime/lib/types/client/sessions/context-provenance.js +13 -0
  211. package/dist/kernel/client-runtime/lib/types/client/sessions/conversation.d.ts +11 -7
  212. package/dist/kernel/client-runtime/lib/types/client/sessions/projection-store.d.ts +1 -1
  213. package/dist/kernel/client-runtime/lib/types/client/sessions/remotes.d.ts +1 -1
  214. package/dist/kernel/client-runtime/lib/types/client/sessions/service.d.ts +1 -1
  215. package/dist/kernel/client-runtime/lib/types/client/sessions/session.d.ts +2 -2
  216. package/dist/kernel/client-runtime/lib/types/client/sessions/session.js +4 -4
  217. package/dist/kernel/client-runtime/lib/types/client/slots.d.ts +3 -3
  218. package/dist/kernel/client-runtime/lib/types/client/slots.js +2 -2
  219. package/dist/kernel/client-runtime/lib/types/client/workspaces/path.d.ts +9 -0
  220. package/dist/kernel/client-runtime/lib/types/client/workspaces/path.js +27 -1
  221. package/dist/kernel/client-runtime/lib/types/client/workspaces/service.d.ts +1 -1
  222. package/dist/kernel/client-runtime/lib/types/invariant.d.ts +1 -1
  223. package/dist/kernel/client-runtime/package.json +25 -14
  224. package/dist/kernel/client-ui-agent-preset/lib/client.js +58 -58
  225. package/dist/kernel/client-ui-agent-preset/lib/types/client/index.js +2 -2
  226. package/dist/kernel/client-ui-agent-preset/lib/types/client/settings-store.d.ts +7 -1
  227. package/dist/kernel/client-ui-agent-preset/lib/types/client/settings-store.js +21 -20
  228. package/dist/kernel/client-ui-agent-preset/lib/types/invariant.d.ts +1 -1
  229. package/dist/kernel/client-ui-agent-preset/package.json +2 -7
  230. package/dist/kernel/client-ui-attachment/lib/client.js +782 -0
  231. package/dist/kernel/client-ui-attachment/lib/index.js +5 -505
  232. package/dist/kernel/client-ui-attachment/lib/invariant.js +2 -3
  233. package/dist/kernel/client-ui-attachment/lib/types/client/ComposerAttachments.d.ts +4 -0
  234. package/dist/kernel/client-ui-attachment/lib/types/client/ComposerAttachments.js +85 -0
  235. package/dist/kernel/client-ui-attachment/lib/types/client/MessageImages.d.ts +4 -0
  236. package/dist/kernel/client-ui-attachment/lib/types/client/MessageImages.js +8 -0
  237. package/dist/kernel/client-ui-attachment/lib/types/client/index.d.ts +7 -0
  238. package/dist/kernel/client-ui-attachment/lib/types/client/index.js +16 -0
  239. package/dist/kernel/client-ui-attachment/lib/types/client/labels.d.ts +35 -0
  240. package/dist/kernel/client-ui-attachment/lib/types/client/labels.js +52 -0
  241. package/dist/kernel/client-ui-attachment/lib/types/index.d.ts +3 -15
  242. package/dist/kernel/client-ui-attachment/lib/types/index.js +3 -11
  243. package/dist/kernel/client-ui-attachment/lib/types/invariant.d.ts +1 -1
  244. package/dist/kernel/client-ui-attachment/lib/types/invariant.js +2 -3
  245. package/dist/kernel/client-ui-attachment/package.json +32 -9
  246. package/dist/kernel/client-ui-brand-official/lib/client.js +50 -0
  247. package/dist/kernel/client-ui-brand-official/lib/index.js +9 -0
  248. package/dist/kernel/{client-web-react → client-ui-brand-official}/lib/invariant.js +6 -8
  249. package/dist/kernel/client-ui-brand-official/lib/types/client/Brand.d.ts +16 -0
  250. package/dist/kernel/client-ui-brand-official/lib/types/client/Brand.js +18 -0
  251. package/dist/kernel/client-ui-brand-official/lib/types/client/index.d.ts +10 -0
  252. package/dist/kernel/client-ui-brand-official/lib/types/client/index.js +17 -0
  253. package/dist/kernel/client-ui-brand-official/lib/types/index.d.ts +7 -0
  254. package/dist/kernel/client-ui-brand-official/lib/types/index.js +7 -0
  255. package/dist/kernel/client-ui-brand-official/lib/types/invariant.d.ts +16 -0
  256. package/dist/kernel/{client-web-react → client-ui-brand-official}/lib/types/invariant.js +6 -8
  257. package/dist/kernel/client-ui-brand-official/package.json +72 -0
  258. package/dist/kernel/client-ui-commands/lib/client.js +46 -17
  259. package/dist/kernel/client-ui-commands/lib/types/client/locales.d.ts +2 -0
  260. package/dist/kernel/client-ui-commands/lib/types/client/locales.js +2 -0
  261. package/dist/kernel/client-ui-commands/lib/types/client/service.d.ts +13 -3
  262. package/dist/kernel/client-ui-commands/lib/types/client/service.js +40 -8
  263. package/dist/kernel/client-ui-commands/lib/types/invariant.d.ts +1 -1
  264. package/dist/kernel/client-ui-commands/package.json +2 -5
  265. package/dist/kernel/client-ui-conversation/lib/client.js +952 -534
  266. package/dist/kernel/client-ui-conversation/lib/index.js +1 -1
  267. package/dist/kernel/client-ui-conversation/lib/types/client/apply.d.ts +1 -1
  268. package/dist/kernel/client-ui-conversation/lib/types/client/apply.js +6 -4
  269. package/dist/kernel/client-ui-conversation/lib/types/client/chat/AssistantMarkdown.d.ts +4 -5
  270. package/dist/kernel/client-ui-conversation/lib/types/client/chat/AssistantMarkdown.js +6 -6
  271. package/dist/kernel/client-ui-conversation/lib/types/client/chat/AssistantNodeView.d.ts +1 -1
  272. package/dist/kernel/client-ui-conversation/lib/types/client/chat/AssistantNodeView.js +2 -2
  273. package/dist/kernel/client-ui-conversation/lib/types/client/chat/ChatNodeSeat.d.ts +1 -1
  274. package/dist/kernel/client-ui-conversation/lib/types/client/chat/ChatNodeSeat.js +5 -3
  275. package/dist/kernel/client-ui-conversation/lib/types/client/chat/ChatView.js +53 -10
  276. package/dist/kernel/client-ui-conversation/lib/types/client/chat/ContextInjectionRow.js +4 -1
  277. package/dist/kernel/client-ui-conversation/lib/types/client/chat/MessageItem.d.ts +4 -5
  278. package/dist/kernel/client-ui-conversation/lib/types/client/chat/MessageItem.js +46 -16
  279. package/dist/kernel/client-ui-conversation/lib/types/client/chat/StatsLine.d.ts +5 -3
  280. package/dist/kernel/client-ui-conversation/lib/types/client/chat/StatsLine.js +54 -5
  281. package/dist/kernel/client-ui-conversation/lib/types/client/chat/register-node-renderers.d.ts +1 -1
  282. package/dist/kernel/client-ui-conversation/lib/types/client/contract/slots.d.ts +90 -8
  283. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/assistant.d.ts +1 -1
  284. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/assistant.js +1 -0
  285. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/chat-snapshot-builder.d.ts +2 -1
  286. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/chat-snapshot-builder.js +95 -6
  287. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/command.d.ts +1 -1
  288. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/compaction.d.ts +1 -1
  289. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/fallback.d.ts +1 -1
  290. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/inbox.d.ts +1 -1
  291. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/message.d.ts +12 -4
  292. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/register.d.ts +1 -1
  293. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/retry.d.ts +1 -1
  294. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/tool.d.ts +1 -1
  295. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/turn-error.d.ts +7 -4
  296. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/turn-error.js +10 -26
  297. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/turn-max-tokens.d.ts +1 -1
  298. package/dist/kernel/client-ui-conversation/lib/types/client/conversation-nodes/turn-tail.d.ts +1 -1
  299. package/dist/kernel/client-ui-conversation/lib/types/client/image-labels.d.ts +1 -33
  300. package/dist/kernel/client-ui-conversation/lib/types/client/image-labels.js +5 -54
  301. package/dist/kernel/client-ui-conversation/lib/types/client/index.d.ts +1 -1
  302. package/dist/kernel/client-ui-conversation/lib/types/client/input/contract.d.ts +17 -14
  303. package/dist/kernel/client-ui-conversation/lib/types/client/input/decorations.d.ts +13 -5
  304. package/dist/kernel/client-ui-conversation/lib/types/client/input/decorations.js +26 -10
  305. package/dist/kernel/client-ui-conversation/lib/types/client/input/facade.d.ts +34 -14
  306. package/dist/kernel/client-ui-conversation/lib/types/client/input/facade.js +116 -34
  307. package/dist/kernel/client-ui-conversation/lib/types/client/input/hub.d.ts +1 -1
  308. package/dist/kernel/client-ui-conversation/lib/types/client/input/hub.js +21 -19
  309. package/dist/kernel/client-ui-conversation/lib/types/client/input/machine.d.ts +35 -14
  310. package/dist/kernel/client-ui-conversation/lib/types/client/input/machine.js +71 -34
  311. package/dist/kernel/client-ui-conversation/lib/types/client/locales.d.ts +16 -0
  312. package/dist/kernel/client-ui-conversation/lib/types/client/locales.js +16 -0
  313. package/dist/kernel/client-ui-conversation/lib/types/client/queue/QueueDock.d.ts +1 -1
  314. package/dist/kernel/client-ui-conversation/lib/types/client/reference/ReferenceIcon.d.ts +16 -0
  315. package/dist/kernel/client-ui-conversation/lib/types/client/reference/ReferenceIcon.js +16 -0
  316. package/dist/kernel/client-ui-conversation/lib/types/client/service.d.ts +16 -3
  317. package/dist/kernel/client-ui-conversation/lib/types/client/service.js +27 -7
  318. package/dist/kernel/client-ui-conversation/lib/types/client/skeleton/ConversationRoot.js +1 -1
  319. package/dist/kernel/client-ui-conversation/lib/types/client/skeleton/ConversationSession.js +18 -3
  320. package/dist/kernel/client-ui-conversation/lib/types/client/skeleton/EmptyHero.d.ts +3 -1
  321. package/dist/kernel/client-ui-conversation/lib/types/client/skeleton/EmptyHero.js +4 -2
  322. package/dist/kernel/client-ui-conversation/lib/types/client/skeleton/InputBar.js +141 -126
  323. package/dist/kernel/client-ui-conversation/lib/types/client/skeleton/TodoPanel.d.ts +1 -1
  324. package/dist/kernel/client-ui-conversation/lib/types/index.d.ts +1 -1
  325. package/dist/kernel/client-ui-conversation/lib/types/invariant.d.ts +1 -1
  326. package/dist/kernel/client-ui-conversation/lib/types/submission-settings.d.ts +1 -1
  327. package/dist/kernel/client-ui-conversation/lib/types/submission-settings.js +1 -1
  328. package/dist/kernel/client-ui-conversation/package.json +9 -8
  329. package/dist/kernel/client-ui-cordis/lib/client.js +47 -47
  330. package/dist/kernel/client-ui-cordis/lib/types/invariant.d.ts +1 -1
  331. package/dist/kernel/client-ui-cordis/package.json +2 -5
  332. package/dist/kernel/client-ui-deliverables/lib/client.js +5 -5
  333. package/dist/kernel/client-ui-deliverables/lib/types/index.d.ts +1 -1
  334. package/dist/kernel/client-ui-deliverables/lib/types/invariant.d.ts +1 -1
  335. package/dist/kernel/client-ui-deliverables/package.json +4 -6
  336. package/dist/kernel/client-ui-directory-picker-browse/lib/client.js +29 -29
  337. package/dist/kernel/client-ui-directory-picker-browse/lib/types/invariant.d.ts +1 -1
  338. package/dist/kernel/client-ui-directory-picker-browse/package.json +2 -5
  339. package/dist/kernel/client-ui-directory-picker-native/lib/types/invariant.d.ts +1 -1
  340. package/dist/kernel/client-ui-directory-picker-native/package.json +2 -5
  341. package/dist/kernel/client-ui-goal/lib/client.js +9 -9
  342. package/dist/kernel/client-ui-goal/lib/types/invariant.d.ts +1 -1
  343. package/dist/kernel/client-ui-goal/package.json +6 -5
  344. package/dist/kernel/client-ui-input-trigger/lib/client.js +83 -27
  345. package/dist/kernel/client-ui-input-trigger/lib/types/client/MenuView.js +13 -9
  346. package/dist/kernel/client-ui-input-trigger/lib/types/client/controller.d.ts +5 -3
  347. package/dist/kernel/client-ui-input-trigger/lib/types/client/controller.js +19 -7
  348. package/dist/kernel/client-ui-input-trigger/lib/types/client/index.d.ts +1 -1
  349. package/dist/kernel/client-ui-input-trigger/lib/types/client/service.d.ts +2 -2
  350. package/dist/kernel/client-ui-input-trigger/lib/types/client/service.js +1 -1
  351. package/dist/kernel/client-ui-input-trigger/lib/types/core/contract.d.ts +7 -2
  352. package/dist/kernel/client-ui-input-trigger/lib/types/core/detect.d.ts +4 -4
  353. package/dist/kernel/client-ui-input-trigger/lib/types/core/detect.js +24 -6
  354. package/dist/kernel/client-ui-input-trigger/lib/types/core/menu.d.ts +15 -2
  355. package/dist/kernel/client-ui-input-trigger/lib/types/core/menu.js +13 -4
  356. package/dist/kernel/client-ui-input-trigger/lib/types/invariant.d.ts +1 -1
  357. package/dist/kernel/client-ui-input-trigger/lib/types/types.d.ts +52 -8
  358. package/dist/kernel/client-ui-input-trigger/package.json +4 -5
  359. package/dist/kernel/client-ui-jobs/lib/client.js +8 -8
  360. package/dist/kernel/client-ui-jobs/lib/types/invariant.d.ts +1 -1
  361. package/dist/kernel/client-ui-jobs/package.json +3 -7
  362. package/dist/kernel/client-ui-layout/lib/client.js +2 -2
  363. package/dist/kernel/client-ui-layout/lib/types/invariant.d.ts +1 -1
  364. package/dist/kernel/client-ui-layout/package.json +2 -4
  365. package/dist/kernel/client-ui-message-feedback/lib/client.js +174 -58
  366. package/dist/kernel/client-ui-message-feedback/lib/types/client/MessageFeedbackActions.d.ts +9 -3
  367. package/dist/kernel/client-ui-message-feedback/lib/types/client/MessageFeedbackActions.js +164 -25
  368. package/dist/kernel/client-ui-message-feedback/lib/types/client/locales.d.ts +2 -0
  369. package/dist/kernel/client-ui-message-feedback/lib/types/client/locales.js +2 -0
  370. package/dist/kernel/client-ui-message-feedback/lib/types/invariant.d.ts +1 -1
  371. package/dist/kernel/client-ui-message-feedback/package.json +3 -5
  372. package/dist/kernel/client-ui-model-selection/lib/client.js +19 -19
  373. package/dist/kernel/client-ui-model-selection/lib/types/client/service.d.ts +2 -2
  374. package/dist/kernel/client-ui-model-selection/lib/types/client/service.js +1 -1
  375. package/dist/kernel/client-ui-model-selection/lib/types/invariant.d.ts +1 -1
  376. package/dist/kernel/client-ui-model-selection/package.json +7 -9
  377. package/dist/kernel/client-ui-permission-presets/lib/client.js +98 -84
  378. package/dist/kernel/client-ui-permission-presets/lib/types/client/index.js +6 -19
  379. package/dist/kernel/client-ui-permission-presets/lib/types/client/settings-store.d.ts +27 -18
  380. package/dist/kernel/client-ui-permission-presets/lib/types/client/settings-store.js +95 -68
  381. package/dist/kernel/client-ui-permission-presets/lib/types/invariant.d.ts +1 -1
  382. package/dist/kernel/client-ui-permission-presets/package.json +2 -8
  383. package/dist/kernel/client-ui-plan/lib/client.js +3 -3
  384. package/dist/kernel/client-ui-plan/lib/types/client/index.js +1 -1
  385. package/dist/kernel/client-ui-plan/lib/types/invariant.d.ts +1 -1
  386. package/dist/kernel/client-ui-plan/package.json +2 -6
  387. package/dist/kernel/client-ui-primitives/lib/Button.module.css +79 -0
  388. package/dist/kernel/client-ui-primitives/lib/ConnectionBanner.module.css +13 -0
  389. package/dist/kernel/client-ui-primitives/lib/DiffBlock.module.css +107 -0
  390. package/dist/kernel/client-ui-primitives/lib/DisclosureRow.module.css +69 -0
  391. package/dist/kernel/client-ui-primitives/lib/HoverCard.module.css +54 -0
  392. package/dist/kernel/client-ui-primitives/lib/Input.module.css +38 -0
  393. package/dist/kernel/client-ui-primitives/lib/JsonTree.module.css +222 -0
  394. package/dist/kernel/client-ui-primitives/lib/Menu.module.css +242 -0
  395. package/dist/kernel/client-ui-primitives/lib/Modal.module.css +103 -0
  396. package/dist/kernel/client-ui-primitives/lib/OnboardingSurface.module.css +29 -0
  397. package/dist/kernel/client-ui-primitives/lib/Pill.module.css +27 -0
  398. package/dist/kernel/client-ui-primitives/lib/ReadBlock.module.css +117 -0
  399. package/dist/kernel/client-ui-primitives/lib/RiskConfirmation.module.css +73 -0
  400. package/dist/kernel/client-ui-primitives/lib/SearchBlock.module.css +120 -0
  401. package/dist/kernel/client-ui-primitives/lib/StateDot.module.css +65 -0
  402. package/dist/kernel/client-ui-primitives/lib/TerminalBlock.module.css +211 -0
  403. package/dist/kernel/client-ui-primitives/lib/Toast.module.css +70 -0
  404. package/dist/kernel/client-ui-primitives/lib/Tooltip.module.css +49 -0
  405. package/dist/kernel/client-ui-primitives/lib/WebBlock.module.css +130 -0
  406. package/dist/kernel/client-ui-primitives/lib/index.js +291 -261
  407. package/dist/kernel/client-ui-primitives/lib/invariant.js +2 -0
  408. package/dist/kernel/client-ui-primitives/lib/markdown/CodeBlock.module.css +96 -0
  409. package/dist/kernel/client-ui-primitives/lib/markdown/JsonBlock.module.css +32 -0
  410. package/dist/kernel/client-ui-primitives/lib/markdown/MarkdownText.module.css +304 -0
  411. package/dist/kernel/client-ui-primitives/lib/markdown/MessageText.module.css +9 -0
  412. package/dist/kernel/client-ui-primitives/lib/types/BrandWordmark.d.ts +7 -1
  413. package/dist/kernel/client-ui-primitives/lib/types/BrandWordmark.js +4 -2
  414. package/dist/kernel/client-ui-primitives/lib/types/index.d.ts +4 -1
  415. package/dist/kernel/client-ui-primitives/lib/types/index.js +2 -1
  416. package/dist/kernel/client-ui-primitives/lib/types/invariant.d.ts +1 -1
  417. package/dist/kernel/client-ui-primitives/lib/types/markdown/render.d.ts +2 -0
  418. package/dist/kernel/client-ui-primitives/lib/types/markdown/render.js +10 -2
  419. package/dist/kernel/client-ui-primitives/lib/types/useAnchoredPosition.d.ts +32 -0
  420. package/dist/kernel/client-ui-primitives/lib/types/useAnchoredPosition.js +69 -0
  421. package/dist/kernel/client-ui-primitives/package.json +2 -1
  422. package/dist/kernel/client-ui-reference/lib/client.js +149 -0
  423. package/dist/kernel/client-ui-reference/lib/index.js +11 -0
  424. package/dist/kernel/{client-schema-form → client-ui-reference}/lib/invariant.js +7 -8
  425. package/dist/kernel/client-ui-reference/lib/types/client/index.d.ts +9 -0
  426. package/dist/kernel/client-ui-reference/lib/types/client/index.js +106 -0
  427. package/dist/kernel/client-ui-reference/lib/types/client/locales.d.ts +30 -0
  428. package/dist/kernel/client-ui-reference/lib/types/client/locales.js +22 -0
  429. package/dist/kernel/client-ui-reference/lib/types/index.d.ts +9 -0
  430. package/dist/kernel/client-ui-reference/lib/types/index.js +9 -0
  431. package/dist/kernel/{client-schema-form → client-ui-reference}/lib/types/invariant.d.ts +4 -4
  432. package/dist/kernel/{client-schema-form → client-ui-reference}/lib/types/invariant.js +7 -8
  433. package/dist/kernel/client-ui-reference/package.json +77 -0
  434. package/dist/kernel/client-ui-renderer/lib/client.js +989 -0
  435. package/dist/kernel/client-ui-renderer/lib/index.js +6 -0
  436. package/dist/kernel/client-ui-renderer/lib/invariant.js +23 -0
  437. package/dist/kernel/{client-web/lib/types → client-ui-renderer/lib/types/client}/DocumentTitle.d.ts +4 -4
  438. package/dist/kernel/client-ui-renderer/lib/types/client/DocumentTitle.js +17 -0
  439. package/dist/kernel/client-ui-renderer/lib/types/client/app.d.ts +18 -0
  440. package/dist/kernel/{client-web/lib/types → client-ui-renderer/lib/types/client}/app.js +5 -5
  441. package/dist/kernel/{client-web-react/lib/types → client-ui-renderer/lib/types/client}/bind.d.ts +1 -1
  442. package/dist/kernel/client-ui-renderer/lib/types/client/index.d.ts +29 -0
  443. package/dist/kernel/client-ui-renderer/lib/types/client/index.js +51 -0
  444. package/dist/kernel/{client-web-react/lib/types → client-ui-renderer/lib/types/client}/scoped-slots.d.ts +1 -1
  445. package/dist/kernel/{client-web-react/lib/types → client-ui-renderer/lib/types/client}/scoped-slots.js +1 -1
  446. package/dist/kernel/{client-web-react/lib/types → client-ui-renderer/lib/types/client}/session-provider.d.ts +1 -1
  447. package/dist/kernel/client-ui-renderer/lib/types/index.d.ts +4 -0
  448. package/dist/kernel/client-ui-renderer/lib/types/index.js +4 -0
  449. package/dist/kernel/{client-web-react → client-ui-renderer}/lib/types/invariant.d.ts +4 -4
  450. package/dist/kernel/client-ui-renderer/lib/types/invariant.js +22 -0
  451. package/dist/kernel/client-ui-renderer/package.json +71 -0
  452. package/dist/kernel/client-ui-settings/lib/client.js +1177 -67
  453. package/dist/kernel/client-ui-settings/lib/types/client/index.d.ts +20 -12
  454. package/dist/kernel/client-ui-settings/lib/types/client/index.js +25 -6
  455. package/dist/kernel/client-ui-settings/lib/types/client/schema.d.ts +72 -0
  456. package/dist/kernel/client-ui-settings/lib/types/client/schema.js +152 -0
  457. package/dist/kernel/client-ui-settings/lib/types/client/settings-mirror.d.ts +118 -0
  458. package/dist/kernel/client-ui-settings/lib/types/client/settings-mirror.js +160 -0
  459. package/dist/kernel/client-ui-settings/lib/types/client/settings-scope.d.ts +53 -26
  460. package/dist/kernel/client-ui-settings/lib/types/client/settings-scope.js +89 -72
  461. package/dist/kernel/client-ui-settings/lib/types/invariant.d.ts +1 -1
  462. package/dist/kernel/client-ui-settings/package.json +7 -7
  463. package/dist/kernel/client-ui-settings-general/lib/client.js +58 -62
  464. package/dist/kernel/client-ui-settings-general/lib/index.js +1 -1
  465. package/dist/kernel/client-ui-settings-general/lib/types/client/SettingsDocumentAction.d.ts +7 -6
  466. package/dist/kernel/client-ui-settings-general/lib/types/client/index.js +10 -11
  467. package/dist/kernel/client-ui-settings-general/lib/types/client/settings-document-store.d.ts +13 -11
  468. package/dist/kernel/client-ui-settings-general/lib/types/client/settings-document-store.js +37 -40
  469. package/dist/kernel/client-ui-settings-general/lib/types/index.d.ts +1 -1
  470. package/dist/kernel/client-ui-settings-general/lib/types/index.js +1 -1
  471. package/dist/kernel/client-ui-settings-general/lib/types/invariant.d.ts +1 -1
  472. package/dist/kernel/client-ui-settings-general/package.json +4 -8
  473. package/dist/kernel/client-ui-settings-models/lib/client.js +279 -209
  474. package/dist/kernel/client-ui-settings-models/lib/types/client/DeepSeekOnboardingDialog.d.ts +3 -0
  475. package/dist/kernel/client-ui-settings-models/lib/types/client/DeepSeekOnboardingDialog.js +2 -2
  476. package/dist/kernel/client-ui-settings-models/lib/types/client/ModelListEditor.js +11 -1
  477. package/dist/kernel/client-ui-settings-models/lib/types/client/ModelsSection.d.ts +10 -5
  478. package/dist/kernel/client-ui-settings-models/lib/types/client/ModelsSection.js +9 -6
  479. package/dist/kernel/client-ui-settings-models/lib/types/client/ProviderEditor.d.ts +3 -0
  480. package/dist/kernel/client-ui-settings-models/lib/types/client/ProviderEditor.js +30 -29
  481. package/dist/kernel/client-ui-settings-models/lib/types/client/index.js +27 -22
  482. package/dist/kernel/client-ui-settings-models/lib/types/client/locales.d.ts +2 -0
  483. package/dist/kernel/client-ui-settings-models/lib/types/client/locales.js +4 -0
  484. package/dist/kernel/client-ui-settings-models/lib/types/client/schema-operations.d.ts +10 -0
  485. package/dist/kernel/client-ui-settings-models/lib/types/client/schema-operations.js +17 -0
  486. package/dist/kernel/client-ui-settings-models/lib/types/client/store.d.ts +15 -7
  487. package/dist/kernel/client-ui-settings-models/lib/types/client/store.js +30 -21
  488. package/dist/kernel/client-ui-settings-models/lib/types/client/welcome-store.d.ts +35 -18
  489. package/dist/kernel/client-ui-settings-models/lib/types/client/welcome-store.js +89 -82
  490. package/dist/kernel/client-ui-settings-models/lib/types/invariant.d.ts +1 -1
  491. package/dist/kernel/client-ui-settings-models/package.json +3 -8
  492. package/dist/kernel/client-ui-settings-plugin-inventory/lib/client.js +11 -11
  493. package/dist/kernel/client-ui-settings-plugin-inventory/lib/types/invariant.d.ts +1 -1
  494. package/dist/kernel/client-ui-settings-plugin-inventory/package.json +2 -5
  495. package/dist/kernel/client-ui-settings-plugins/lib/client.js +42 -65
  496. package/dist/kernel/client-ui-settings-plugins/lib/types/client/index.js +5 -8
  497. package/dist/kernel/client-ui-settings-plugins/lib/types/client/tab-store.d.ts +8 -17
  498. package/dist/kernel/client-ui-settings-plugins/lib/types/client/tab-store.js +22 -44
  499. package/dist/kernel/client-ui-settings-plugins/lib/types/invariant.d.ts +1 -1
  500. package/dist/kernel/client-ui-settings-plugins/package.json +2 -7
  501. package/dist/kernel/client-ui-sidebar/lib/client.js +50 -20
  502. package/dist/kernel/client-ui-sidebar/lib/types/client/SidebarRoot.js +7 -3
  503. package/dist/kernel/client-ui-sidebar/lib/types/client/contract/slots.d.ts +30 -1
  504. package/dist/kernel/client-ui-sidebar/lib/types/client/index.d.ts +1 -1
  505. package/dist/kernel/client-ui-sidebar/lib/types/client/index.js +2 -0
  506. package/dist/kernel/client-ui-sidebar/lib/types/invariant.d.ts +1 -1
  507. package/dist/kernel/client-ui-sidebar/package.json +2 -4
  508. package/dist/kernel/client-ui-skill/lib/client.js +12 -12
  509. package/dist/kernel/client-ui-skill/lib/types/invariant.d.ts +1 -1
  510. package/dist/kernel/client-ui-skill/package.json +2 -5
  511. package/dist/kernel/client-ui-slots/lib/index.js +2 -0
  512. package/dist/kernel/client-ui-slots/lib/invariant.js +2 -0
  513. package/dist/kernel/client-ui-slots/lib/types/invariant.d.ts +1 -1
  514. package/dist/kernel/client-ui-slots/lib/types/renderer.d.ts +1 -1
  515. package/dist/kernel/client-ui-slots/lib/types/store.d.ts +1 -1
  516. package/dist/kernel/client-ui-slots/package.json +1 -1
  517. package/dist/kernel/client-ui-subagent/lib/client.js +289 -157
  518. package/dist/kernel/client-ui-subagent/lib/types/client/SubagentHeaderLineage.d.ts +18 -0
  519. package/dist/kernel/client-ui-subagent/lib/types/client/{SubagentCatalogAction.js → SubagentHeaderLineage.js} +153 -25
  520. package/dist/kernel/client-ui-subagent/lib/types/client/index.d.ts +4 -16
  521. package/dist/kernel/client-ui-subagent/lib/types/client/index.js +7 -45
  522. package/dist/kernel/client-ui-subagent/lib/types/client/locales.d.ts +1 -0
  523. package/dist/kernel/client-ui-subagent/lib/types/client/locales.js +2 -0
  524. package/dist/kernel/client-ui-subagent/lib/types/invariant.d.ts +1 -1
  525. package/dist/kernel/client-ui-subagent/package.json +6 -8
  526. package/dist/kernel/client-ui-theme/lib/client.js +47 -4
  527. package/dist/kernel/client-ui-theme/lib/index.js +23 -24
  528. package/dist/kernel/client-ui-theme/lib/types/boot-theme.d.ts +9 -10
  529. package/dist/kernel/client-ui-theme/lib/types/boot-theme.js +12 -19
  530. package/dist/kernel/client-ui-theme/lib/types/client/index.d.ts +2 -2
  531. package/dist/kernel/client-ui-theme/lib/types/client/index.js +3 -1
  532. package/dist/kernel/client-ui-theme/lib/types/client/styles.d.ts +7 -0
  533. package/dist/kernel/client-ui-theme/lib/types/client/styles.js +32 -0
  534. package/dist/kernel/client-ui-theme/lib/types/index.d.ts +5 -4
  535. package/dist/kernel/client-ui-theme/lib/types/index.js +7 -6
  536. package/dist/kernel/client-ui-theme/lib/types/invariant.d.ts +1 -1
  537. package/dist/kernel/client-ui-theme/lib/types/theme-settings.d.ts +1 -1
  538. package/dist/kernel/client-ui-theme/lib/types/theme-settings.js +1 -1
  539. package/dist/kernel/client-ui-theme/package.json +4 -6
  540. package/dist/kernel/client-ui-tool/lib/client.js +100 -60
  541. package/dist/kernel/client-ui-tool/lib/types/client/apply.d.ts +1 -2
  542. package/dist/kernel/client-ui-tool/lib/types/client/apply.js +6 -2
  543. package/dist/kernel/client-ui-tool/lib/types/client/contract/slots.d.ts +13 -3
  544. package/dist/kernel/client-ui-tool/lib/types/client/index.d.ts +1 -1
  545. package/dist/kernel/client-ui-tool/lib/types/client/tool/ToolCallTree.d.ts +1 -1
  546. package/dist/kernel/client-ui-tool/lib/types/client/tool/ToolCallTree.js +8 -6
  547. package/dist/kernel/client-ui-tool/lib/types/client/tool/ToolDetails.d.ts +2 -9
  548. package/dist/kernel/client-ui-tool/lib/types/client/tool/ToolDetails.js +4 -3
  549. package/dist/kernel/client-ui-tool/lib/types/client/tool/models/read-card-model.d.ts +4 -18
  550. package/dist/kernel/client-ui-tool/lib/types/client/tool/models/read-card-model.js +21 -4
  551. package/dist/kernel/client-ui-tool/lib/types/client/tool/models/tool-call-model.d.ts +2 -9
  552. package/dist/kernel/client-ui-tool/lib/types/client/tool/models/tool-call-model.js +22 -2
  553. package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/GenericToolCard.d.ts +1 -1
  554. package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/GenericToolCard.js +3 -3
  555. package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/ask-question-row.d.ts +1 -1
  556. package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/bash-sample.d.ts +1 -1
  557. package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/file-mutation-row.d.ts +2 -2
  558. package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/file-mutation-row.js +2 -2
  559. package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/read-row.d.ts +2 -2
  560. package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/read-row.js +3 -3
  561. package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/search-row.d.ts +1 -1
  562. package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/todo-row.d.ts +1 -1
  563. package/dist/kernel/client-ui-tool/lib/types/client/tool/toolviews/web-row.d.ts +1 -1
  564. package/dist/kernel/client-ui-tool/lib/types/invariant.d.ts +1 -1
  565. package/dist/kernel/client-ui-tool/package.json +4 -6
  566. package/dist/kernel/client-ui-trajectory/lib/client.js +144 -143
  567. package/dist/kernel/client-ui-trajectory/lib/types/client/index.d.ts +1 -1
  568. package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-assistant-definition.d.ts +1 -1
  569. package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-assistant-definition.js +2 -1
  570. package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-compaction-definition.d.ts +1 -1
  571. package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-message-definitions.d.ts +1 -1
  572. package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-request-header-definition.d.ts +1 -1
  573. package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-snapshot-builder.d.ts +1 -1
  574. package/dist/kernel/client-ui-trajectory/lib/types/client/trajectory-tool-definition.d.ts +1 -1
  575. package/dist/kernel/client-ui-trajectory/lib/types/invariant.d.ts +1 -1
  576. package/dist/kernel/client-ui-trajectory/package.json +2 -4
  577. package/dist/kernel/client-ui-user-questions/lib/client.js +72 -35
  578. package/dist/kernel/client-ui-user-questions/lib/types/client/QuestionComposer.js +24 -6
  579. package/dist/kernel/client-ui-user-questions/lib/types/invariant.d.ts +1 -1
  580. package/dist/kernel/client-ui-user-questions/package.json +12 -10
  581. package/dist/kernel/client-ui-workflow-run/lib/client.js +259 -84
  582. package/dist/kernel/client-ui-workflow-run/lib/types/client/WorkflowRunPanel.js +162 -23
  583. package/dist/kernel/client-ui-workflow-run/lib/types/invariant.d.ts +1 -1
  584. package/dist/kernel/client-ui-workflow-run/package.json +3 -7
  585. package/dist/kernel/client-ui-workspace/lib/client.js +95 -59
  586. package/dist/kernel/client-ui-workspace/lib/types/client/WorkspaceBrowser.d.ts +1 -1
  587. package/dist/kernel/client-ui-workspace/lib/types/client/WorkspaceBrowser.js +38 -6
  588. package/dist/kernel/client-ui-workspace/lib/types/client/contract/slots.d.ts +9 -7
  589. package/dist/kernel/client-ui-workspace/lib/types/client/index.js +4 -2
  590. package/dist/kernel/client-ui-workspace/lib/types/client/rows/Rows.d.ts +4 -1
  591. package/dist/kernel/client-ui-workspace/lib/types/client/rows/Rows.js +5 -3
  592. package/dist/kernel/client-ui-workspace/lib/types/invariant.d.ts +1 -1
  593. package/dist/kernel/client-ui-workspace/package.json +6 -4
  594. package/dist/kernel/client-web/lib/base.css +41 -0
  595. package/dist/kernel/client-web/lib/boot-page.module.css +104 -0
  596. package/dist/kernel/client-web/lib/index.js +157 -311
  597. package/dist/kernel/client-web/lib/invariant.js +2 -0
  598. package/dist/kernel/client-web/lib/types/boot-page.d.ts +46 -0
  599. package/dist/kernel/client-web/lib/types/boot-page.js +93 -0
  600. package/dist/kernel/client-web/lib/types/boot.d.ts +20 -33
  601. package/dist/kernel/client-web/lib/types/boot.js +78 -151
  602. package/dist/kernel/client-web/lib/types/index.d.ts +5 -11
  603. package/dist/kernel/client-web/lib/types/index.js +4 -10
  604. package/dist/kernel/client-web/lib/types/invariant.d.ts +1 -1
  605. package/dist/kernel/client-web/lib/types/loader-status.d.ts +4 -52
  606. package/dist/kernel/client-web/lib/types/loader-status.js +0 -35
  607. package/dist/kernel/client-web/lib/types/platform.d.ts +3 -1
  608. package/dist/kernel/client-web/lib/types/platform.js +4 -3
  609. package/dist/kernel/client-web/lib/types/seed.js +1 -7
  610. package/dist/kernel/client-web/package.json +8 -15
  611. package/dist/kernel/cmdline/lib/types/index.d.ts +1 -1
  612. package/dist/kernel/cmdline/lib/types/invariant.d.ts +1 -1
  613. package/dist/kernel/cmdline/package.json +1 -1
  614. package/dist/kernel/code-runtime/lib/index.js +1 -1
  615. package/dist/kernel/code-runtime/lib/types/index.d.ts +1 -1
  616. package/dist/kernel/code-runtime/lib/types/index.js +1 -1
  617. package/dist/kernel/code-runtime/lib/types/invariant.d.ts +1 -1
  618. package/dist/kernel/code-runtime/package.json +1 -1
  619. package/dist/kernel/code-runtime-python/lib/index.js +413 -0
  620. package/dist/kernel/code-runtime-python/lib/invariant.js +24 -0
  621. package/dist/kernel/code-runtime-python/lib/types/index.d.ts +12 -0
  622. package/dist/kernel/code-runtime-python/lib/types/index.js +11 -0
  623. package/dist/kernel/code-runtime-python/lib/types/invariant.d.ts +16 -0
  624. package/dist/kernel/code-runtime-python/lib/types/invariant.js +23 -0
  625. package/dist/kernel/code-runtime-python/lib/types/protocol.d.ts +329 -0
  626. package/dist/kernel/code-runtime-python/lib/types/protocol.js +496 -0
  627. package/dist/kernel/{client-schema-form → code-runtime-python}/package.json +11 -14
  628. package/dist/kernel/code-runtime-python/py/protocol.py +138 -0
  629. package/dist/kernel/code-runtime-worker-thread/lib/index.js +1 -1
  630. package/dist/kernel/code-runtime-worker-thread/lib/types/index.d.ts +2 -2
  631. package/dist/kernel/code-runtime-worker-thread/lib/types/index.js +1 -1
  632. package/dist/kernel/code-runtime-worker-thread/lib/types/invariant.d.ts +1 -1
  633. package/dist/kernel/code-runtime-worker-thread/package.json +1 -1
  634. package/dist/kernel/command-compact/lib/types/index.d.ts +1 -1
  635. package/dist/kernel/command-compact/lib/types/invariant.d.ts +1 -1
  636. package/dist/kernel/command-compact/package.json +1 -1
  637. package/dist/kernel/command-feedback/lib/types/index.d.ts +1 -1
  638. package/dist/kernel/command-feedback/lib/types/invariant.d.ts +1 -1
  639. package/dist/kernel/command-feedback/package.json +1 -1
  640. package/dist/kernel/command-goal/lib/index.js +40 -6
  641. package/dist/kernel/command-goal/lib/types/index.d.ts +1 -1
  642. package/dist/kernel/command-goal/lib/types/index.js +35 -6
  643. package/dist/kernel/command-goal/lib/types/invariant.d.ts +1 -1
  644. package/dist/kernel/command-goal/package.json +2 -1
  645. package/dist/kernel/commands/lib/index.js +78 -21
  646. package/dist/kernel/commands/lib/typert.host.js +53 -9
  647. package/dist/kernel/commands/lib/typert.remote-client.d.ts +4 -3
  648. package/dist/kernel/commands/lib/typert.remote-client.js +18 -2
  649. package/dist/kernel/commands/lib/types/index.d.ts +21 -2
  650. package/dist/kernel/commands/lib/types/index.js +77 -20
  651. package/dist/kernel/commands/lib/types/invariant.d.ts +1 -1
  652. package/dist/kernel/commands/lib/types/types.d.ts +8 -0
  653. package/dist/kernel/commands/package.json +5 -1
  654. package/dist/kernel/compaction/lib/index.js +1 -1
  655. package/dist/kernel/compaction/lib/types/index.d.ts +1 -1
  656. package/dist/kernel/compaction/lib/types/index.js +1 -1
  657. package/dist/kernel/compaction/lib/types/invariant.d.ts +1 -1
  658. package/dist/kernel/compaction/package.json +1 -1
  659. package/dist/kernel/compaction-basic/lib/index.js +1 -1
  660. package/dist/kernel/compaction-basic/lib/types/index.d.ts +2 -2
  661. package/dist/kernel/compaction-basic/lib/types/index.js +1 -1
  662. package/dist/kernel/compaction-basic/lib/types/invariant.d.ts +1 -1
  663. package/dist/kernel/compaction-basic/lib/types/summarizer.d.ts +1 -1
  664. package/dist/kernel/compaction-basic/package.json +1 -1
  665. package/dist/kernel/compaction-tool-result-pruner/lib/index.js +2 -2
  666. package/dist/kernel/compaction-tool-result-pruner/lib/types/index.d.ts +2 -2
  667. package/dist/kernel/compaction-tool-result-pruner/lib/types/index.js +2 -2
  668. package/dist/kernel/compaction-tool-result-pruner/lib/types/invariant.d.ts +1 -1
  669. package/dist/kernel/compaction-tool-result-pruner/package.json +1 -1
  670. package/dist/kernel/cordis/bin.js +16 -0
  671. package/dist/kernel/cordis/lib/index.js +1828 -0
  672. package/dist/kernel/cordis/lib/types/context.d.ts +101 -0
  673. package/dist/kernel/cordis/lib/types/context.js +99 -0
  674. package/dist/kernel/cordis/lib/types/events.d.ts +240 -0
  675. package/dist/kernel/cordis/lib/types/events.js +199 -0
  676. package/dist/kernel/cordis/lib/types/fiber.d.ts +202 -0
  677. package/dist/kernel/cordis/lib/types/fiber.js +660 -0
  678. package/dist/kernel/cordis/lib/types/index.d.ts +15 -0
  679. package/dist/kernel/cordis/lib/types/index.js +15 -0
  680. package/dist/kernel/cordis/lib/types/logger.d.ts +105 -0
  681. package/dist/kernel/cordis/lib/types/logger.js +185 -0
  682. package/dist/kernel/cordis/lib/types/reflect.d.ts +186 -0
  683. package/dist/kernel/cordis/lib/types/reflect.js +310 -0
  684. package/dist/kernel/cordis/lib/types/registry.d.ts +201 -0
  685. package/dist/kernel/cordis/lib/types/registry.js +218 -0
  686. package/dist/kernel/cordis/lib/types/service.d.ts +55 -0
  687. package/dist/kernel/cordis/lib/types/service.js +113 -0
  688. package/dist/kernel/cordis/lib/types/utils.d.ts +62 -0
  689. package/dist/kernel/cordis/lib/types/utils.js +271 -0
  690. package/dist/kernel/cordis/package.json +51 -0
  691. package/dist/kernel/cordis-client-runner/lib/client.js +171 -37
  692. package/dist/kernel/cordis-client-runner/lib/types/client/api-catalog.js +3 -3
  693. package/dist/kernel/cordis-client-runner/lib/types/client/guard.d.ts +1 -1
  694. package/dist/kernel/cordis-client-runner/lib/types/client/guard.js +1 -1
  695. package/dist/kernel/cordis-client-runner/lib/types/client/index.d.ts +1 -1
  696. package/dist/kernel/cordis-client-runner/lib/types/client/inspect-registry.d.ts +1 -1
  697. package/dist/kernel/cordis-client-runner/lib/types/client/providers.d.ts +1 -1
  698. package/dist/kernel/cordis-client-runner/lib/types/client/runtime.d.ts +2 -2
  699. package/dist/kernel/cordis-client-runner/lib/types/client/slot-catalog.js +208 -30
  700. package/dist/kernel/cordis-client-runner/lib/types/client/timer.d.ts +2 -2
  701. package/dist/kernel/cordis-client-runner/lib/types/client/timer.js +1 -1
  702. package/dist/kernel/cordis-client-runner/lib/types/invariant.d.ts +1 -1
  703. package/dist/kernel/cordis-client-runner/package.json +2 -5
  704. package/dist/kernel/cordis-host-runner/lib/index.js +30 -7
  705. package/dist/kernel/cordis-host-runner/lib/typert.host.js +54 -6
  706. package/dist/kernel/cordis-host-runner/lib/types/guard.d.ts +2 -2
  707. package/dist/kernel/cordis-host-runner/lib/types/guard.js +1 -1
  708. package/dist/kernel/cordis-host-runner/lib/types/index.d.ts +3 -3
  709. package/dist/kernel/cordis-host-runner/lib/types/index.js +1 -1
  710. package/dist/kernel/cordis-host-runner/lib/types/inspect-registry.d.ts +2 -2
  711. package/dist/kernel/cordis-host-runner/lib/types/inspect-registry.js +1 -1
  712. package/dist/kernel/cordis-host-runner/lib/types/invariant.d.ts +1 -1
  713. package/dist/kernel/cordis-host-runner/lib/types/lifecycle.d.ts +1 -1
  714. package/dist/kernel/cordis-host-runner/lib/types/registry.d.ts +1 -1
  715. package/dist/kernel/cordis-host-runner/lib/types/sandbox.d.ts +9 -3
  716. package/dist/kernel/cordis-host-runner/lib/types/sandbox.js +34 -6
  717. package/dist/kernel/cordis-host-runner/package.json +1 -1
  718. package/dist/kernel/cordis-plugin-group/lib/index.js +5 -0
  719. package/dist/kernel/cordis-plugin-group/lib/types/index.d.ts +3 -0
  720. package/dist/kernel/cordis-plugin-group/lib/types/index.js +3 -0
  721. package/dist/kernel/cordis-plugin-group/package.json +36 -0
  722. package/dist/kernel/cordis-plugin-hmr/lib/index.js +452 -0
  723. package/dist/kernel/cordis-plugin-hmr/lib/types/error.d.ts +4 -0
  724. package/dist/kernel/cordis-plugin-hmr/lib/types/error.js +33 -0
  725. package/dist/kernel/cordis-plugin-hmr/lib/types/index.d.ts +87 -0
  726. package/dist/kernel/cordis-plugin-hmr/lib/types/index.js +525 -0
  727. package/dist/kernel/cordis-plugin-hmr/package.json +59 -0
  728. package/dist/kernel/cordis-plugin-include/lib/index.js +284 -0
  729. package/dist/kernel/cordis-plugin-include/lib/types/index.d.ts +99 -0
  730. package/dist/kernel/cordis-plugin-include/lib/types/index.js +331 -0
  731. package/dist/kernel/cordis-plugin-include/package.json +40 -0
  732. package/dist/kernel/cordis-plugin-loader/lib/index.js +744 -0
  733. package/dist/kernel/cordis-plugin-loader/lib/types/config/entry.d.ts +56 -0
  734. package/dist/kernel/cordis-plugin-loader/lib/types/config/entry.js +283 -0
  735. package/dist/kernel/cordis-plugin-loader/lib/types/config/group.d.ts +27 -0
  736. package/dist/kernel/cordis-plugin-loader/lib/types/config/group.js +139 -0
  737. package/dist/kernel/cordis-plugin-loader/lib/types/config/isolate.d.ts +35 -0
  738. package/dist/kernel/cordis-plugin-loader/lib/types/config/isolate.js +151 -0
  739. package/dist/kernel/cordis-plugin-loader/lib/types/config/tree.d.ts +38 -0
  740. package/dist/kernel/cordis-plugin-loader/lib/types/config/tree.js +169 -0
  741. package/dist/kernel/cordis-plugin-loader/lib/types/config/utils.d.ts +11 -0
  742. package/dist/kernel/cordis-plugin-loader/lib/types/config/utils.js +28 -0
  743. package/dist/kernel/cordis-plugin-loader/lib/types/index.d.ts +73 -0
  744. package/dist/kernel/cordis-plugin-loader/lib/types/index.js +154 -0
  745. package/dist/kernel/cordis-plugin-loader/lib/types/internal.d.ts +97 -0
  746. package/dist/kernel/cordis-plugin-loader/lib/types/internal.js +36 -0
  747. package/dist/kernel/cordis-plugin-loader/package.json +44 -0
  748. package/dist/kernel/cordis-plugin-logger-console/lib/browser.js +80 -0
  749. package/dist/kernel/cordis-plugin-logger-console/lib/index.js +95 -0
  750. package/dist/kernel/cordis-plugin-logger-console/lib/types/browser.d.ts +10 -0
  751. package/dist/kernel/cordis-plugin-logger-console/lib/types/browser.js +14 -0
  752. package/dist/kernel/cordis-plugin-logger-console/lib/types/index.d.ts +15 -0
  753. package/dist/kernel/cordis-plugin-logger-console/lib/types/index.js +23 -0
  754. package/dist/kernel/cordis-plugin-logger-console/lib/types/shared.d.ts +45 -0
  755. package/dist/kernel/cordis-plugin-logger-console/lib/types/shared.js +73 -0
  756. package/dist/kernel/cordis-plugin-logger-console/package.json +42 -0
  757. package/dist/kernel/cordis-plugin-timer/lib/index.js +152 -0
  758. package/dist/kernel/cordis-plugin-timer/lib/types/index.d.ts +30 -0
  759. package/dist/kernel/cordis-plugin-timer/lib/types/index.js +134 -0
  760. package/dist/kernel/cordis-plugin-timer/package.json +38 -0
  761. package/dist/kernel/cosmokit/lib/index.js +325 -0
  762. package/dist/kernel/cosmokit/lib/types/array.d.ts +15 -0
  763. package/dist/kernel/cosmokit/lib/types/array.js +37 -0
  764. package/dist/kernel/cosmokit/lib/types/index.d.ts +11 -0
  765. package/dist/kernel/cosmokit/lib/types/index.js +11 -0
  766. package/dist/kernel/cosmokit/lib/types/misc.d.ts +41 -0
  767. package/dist/kernel/cosmokit/lib/types/misc.js +50 -0
  768. package/dist/kernel/cosmokit/lib/types/string.d.ts +89 -0
  769. package/dist/kernel/cosmokit/lib/types/string.js +79 -0
  770. package/dist/kernel/cosmokit/lib/types/time.d.ts +19 -0
  771. package/dist/kernel/cosmokit/lib/types/time.js +101 -0
  772. package/dist/kernel/cosmokit/lib/types/types.d.ts +34 -0
  773. package/dist/kernel/cosmokit/lib/types/types.js +141 -0
  774. package/dist/kernel/cosmokit/package.json +32 -0
  775. package/dist/kernel/credentials/lib/index.js +105 -14
  776. package/dist/kernel/credentials/lib/invariant.js +3 -3
  777. package/dist/kernel/credentials/lib/types/index.d.ts +137 -8
  778. package/dist/kernel/credentials/lib/types/index.js +115 -16
  779. package/dist/kernel/credentials/lib/types/invariant.d.ts +1 -1
  780. package/dist/kernel/credentials/lib/types/invariant.js +3 -3
  781. package/dist/kernel/credentials/lib/types/types.d.ts +58 -5
  782. package/dist/kernel/credentials/lib/types/types.js +4 -4
  783. package/dist/kernel/credentials/package.json +1 -1
  784. package/dist/kernel/credentials-local/lib/index.js +389 -31
  785. package/dist/kernel/credentials-local/lib/invariant.js +1 -1
  786. package/dist/kernel/credentials-local/lib/types/index.d.ts +59 -14
  787. package/dist/kernel/credentials-local/lib/types/index.js +447 -32
  788. package/dist/kernel/credentials-local/lib/types/invariant.d.ts +1 -1
  789. package/dist/kernel/credentials-local/lib/types/invariant.js +1 -1
  790. package/dist/kernel/credentials-local/package.json +1 -1
  791. package/dist/kernel/e2b/lib/index.js +2 -2
  792. package/dist/kernel/e2b/lib/types/index.d.ts +2 -2
  793. package/dist/kernel/e2b/lib/types/index.js +2 -2
  794. package/dist/kernel/e2b/lib/types/invariant.d.ts +1 -1
  795. package/dist/kernel/e2b/package.json +1 -1
  796. package/dist/kernel/experimental-agent-team/lib/index.js +1728 -0
  797. package/dist/kernel/experimental-agent-team/lib/invariant.js +354 -0
  798. package/dist/kernel/experimental-agent-team/lib/types/activity.d.ts +23 -0
  799. package/dist/kernel/experimental-agent-team/lib/types/activity.js +85 -0
  800. package/dist/kernel/experimental-agent-team/lib/types/error.d.ts +13 -0
  801. package/dist/kernel/experimental-agent-team/lib/types/error.js +23 -0
  802. package/dist/kernel/experimental-agent-team/lib/types/fold.d.ts +44 -0
  803. package/dist/kernel/experimental-agent-team/lib/types/fold.js +243 -0
  804. package/dist/kernel/experimental-agent-team/lib/types/index.d.ts +115 -0
  805. package/dist/kernel/experimental-agent-team/lib/types/index.js +205 -0
  806. package/dist/kernel/experimental-agent-team/lib/types/invariant.d.ts +9 -0
  807. package/dist/kernel/experimental-agent-team/lib/types/invariant.js +29 -0
  808. package/dist/kernel/experimental-agent-team/lib/types/journal.d.ts +39 -0
  809. package/dist/kernel/experimental-agent-team/lib/types/journal.js +59 -0
  810. package/dist/kernel/experimental-agent-team/lib/types/lifecycle.d.ts +33 -0
  811. package/dist/kernel/experimental-agent-team/lib/types/lifecycle.js +85 -0
  812. package/dist/kernel/experimental-agent-team/lib/types/mailbox.d.ts +79 -0
  813. package/dist/kernel/experimental-agent-team/lib/types/mailbox.js +303 -0
  814. package/dist/kernel/experimental-agent-team/lib/types/roster.d.ts +113 -0
  815. package/dist/kernel/experimental-agent-team/lib/types/roster.js +445 -0
  816. package/dist/kernel/experimental-agent-team/lib/types/session-message.d.ts +11 -0
  817. package/dist/kernel/experimental-agent-team/lib/types/session-message.js +23 -0
  818. package/dist/kernel/experimental-agent-team/lib/types/task-board.d.ts +62 -0
  819. package/dist/kernel/experimental-agent-team/lib/types/task-board.js +275 -0
  820. package/dist/kernel/experimental-agent-team/lib/types/task-graph.d.ts +21 -0
  821. package/dist/kernel/experimental-agent-team/lib/types/task-graph.js +62 -0
  822. package/dist/kernel/experimental-agent-team/lib/types/types.d.ts +192 -0
  823. package/dist/kernel/experimental-agent-team/lib/types/types.js +26 -0
  824. package/dist/kernel/experimental-agent-team/lib/types/validation.d.ts +16 -0
  825. package/dist/kernel/experimental-agent-team/lib/types/validation.js +33 -0
  826. package/dist/kernel/experimental-agent-team/package.json +62 -0
  827. package/dist/kernel/experimental-tool-agent-team/lib/index.js +555 -0
  828. package/dist/kernel/experimental-tool-agent-team/lib/invariant.js +13 -0
  829. package/dist/kernel/experimental-tool-agent-team/lib/types/index.d.ts +19 -0
  830. package/dist/kernel/experimental-tool-agent-team/lib/types/index.js +379 -0
  831. package/dist/kernel/experimental-tool-agent-team/lib/types/invariant.d.ts +9 -0
  832. package/dist/kernel/experimental-tool-agent-team/lib/types/invariant.js +11 -0
  833. package/dist/kernel/experimental-tool-agent-team/package.json +61 -0
  834. package/dist/kernel/file-reference/lib/index.js +138 -0
  835. package/dist/kernel/file-reference/lib/invariant.js +23 -0
  836. package/dist/kernel/file-reference/lib/typert.host.d.ts +3 -0
  837. package/dist/kernel/file-reference/lib/typert.host.js +436 -0
  838. package/dist/kernel/file-reference/lib/typert.remote-client.d.ts +26 -0
  839. package/dist/kernel/file-reference/lib/typert.remote-client.js +59 -0
  840. package/dist/kernel/file-reference/lib/types/grammar.d.ts +33 -0
  841. package/dist/kernel/file-reference/lib/types/grammar.js +43 -0
  842. package/dist/kernel/file-reference/lib/types/index.d.ts +42 -0
  843. package/dist/kernel/file-reference/lib/types/index.js +75 -0
  844. package/dist/kernel/file-reference/lib/types/invariant.d.ts +16 -0
  845. package/dist/kernel/file-reference/lib/types/invariant.js +22 -0
  846. package/dist/kernel/file-reference/lib/types/types.d.ts +13 -0
  847. package/dist/kernel/file-reference/lib/types/types.js +7 -0
  848. package/dist/kernel/file-reference/package.json +70 -0
  849. package/dist/kernel/file-reference-local/lib/index.js +327 -0
  850. package/dist/kernel/file-reference-local/lib/invariant.js +23 -0
  851. package/dist/kernel/file-reference-local/lib/types/index.d.ts +35 -0
  852. package/dist/kernel/file-reference-local/lib/types/index.js +105 -0
  853. package/dist/kernel/file-reference-local/lib/types/invariant.d.ts +16 -0
  854. package/dist/kernel/file-reference-local/lib/types/invariant.js +22 -0
  855. package/dist/kernel/file-reference-local/lib/types/search.d.ts +52 -0
  856. package/dist/kernel/file-reference-local/lib/types/search.js +258 -0
  857. package/dist/kernel/file-reference-local/package.json +58 -0
  858. package/dist/kernel/fs/lib/index.js +1 -1
  859. package/dist/kernel/fs/lib/types/index.d.ts +1 -1
  860. package/dist/kernel/fs/lib/types/index.js +1 -1
  861. package/dist/kernel/fs/lib/types/invariant.d.ts +1 -1
  862. package/dist/kernel/fs/package.json +1 -1
  863. package/dist/kernel/fs-e2b/lib/types/invariant.d.ts +1 -1
  864. package/dist/kernel/fs-e2b/package.json +1 -1
  865. package/dist/kernel/fs-local/lib/index.js +1 -1
  866. package/dist/kernel/fs-local/lib/types/index.d.ts +2 -2
  867. package/dist/kernel/fs-local/lib/types/index.js +1 -1
  868. package/dist/kernel/fs-local/lib/types/invariant.d.ts +1 -1
  869. package/dist/kernel/fs-local/package.json +1 -1
  870. package/dist/kernel/fs-observation-policy/lib/types/index.d.ts +1 -1
  871. package/dist/kernel/fs-observation-policy/lib/types/invariant.d.ts +1 -1
  872. package/dist/kernel/fs-observation-policy/package.json +1 -1
  873. package/dist/kernel/fs-sandbox/lib/types/index.d.ts +1 -1
  874. package/dist/kernel/fs-sandbox/lib/types/invariant.d.ts +1 -1
  875. package/dist/kernel/fs-sandbox/package.json +1 -1
  876. package/dist/kernel/goal/lib/index.js +6 -3
  877. package/dist/kernel/goal/lib/typert.host.js +27 -3
  878. package/dist/kernel/goal/lib/types/index.d.ts +2 -2
  879. package/dist/kernel/goal/lib/types/index.js +3 -3
  880. package/dist/kernel/goal/lib/types/invariant.d.ts +1 -1
  881. package/dist/kernel/goal/lib/types/types.d.ts +3 -0
  882. package/dist/kernel/goal/package.json +1 -1
  883. package/dist/kernel/goal-round-driver/lib/types/index.d.ts +1 -1
  884. package/dist/kernel/goal-round-driver/lib/types/invariant.d.ts +1 -1
  885. package/dist/kernel/goal-round-driver/package.json +1 -1
  886. package/dist/kernel/headless/lib/index.js +1 -1
  887. package/dist/kernel/headless/lib/types/index.d.ts +2 -2
  888. package/dist/kernel/headless/lib/types/index.js +1 -1
  889. package/dist/kernel/headless/lib/types/invariant.d.ts +1 -1
  890. package/dist/kernel/headless/lib/types/startup.d.ts +1 -1
  891. package/dist/kernel/headless/package.json +1 -1
  892. package/dist/kernel/home-paths/lib/types/invariant.d.ts +1 -1
  893. package/dist/kernel/home-paths/package.json +1 -1
  894. package/dist/kernel/hook-protocol/lib/types/invariant.d.ts +1 -1
  895. package/dist/kernel/hook-protocol/package.json +1 -1
  896. package/dist/kernel/hooks-claude-code/lib/index.js +1 -1
  897. package/dist/kernel/hooks-claude-code/lib/types/index.d.ts +2 -2
  898. package/dist/kernel/hooks-claude-code/lib/types/index.js +1 -1
  899. package/dist/kernel/hooks-claude-code/lib/types/invariant.d.ts +1 -1
  900. package/dist/kernel/hooks-claude-code/package.json +1 -1
  901. package/dist/kernel/hooks-codex/lib/index.js +1 -1
  902. package/dist/kernel/hooks-codex/lib/types/index.d.ts +2 -2
  903. package/dist/kernel/hooks-codex/lib/types/index.js +1 -1
  904. package/dist/kernel/hooks-codex/lib/types/invariant.d.ts +1 -1
  905. package/dist/kernel/hooks-codex/package.json +1 -1
  906. package/dist/kernel/host-apiproxy/lib/index.js +27 -59
  907. package/dist/kernel/host-apiproxy/lib/types/api/host.d.ts +2 -0
  908. package/dist/kernel/host-apiproxy/lib/types/api/host.schema.d.ts +1 -0
  909. package/dist/kernel/host-apiproxy/lib/types/api/host.schema.js +1 -0
  910. package/dist/kernel/host-apiproxy/lib/types/api/sessions.d.ts +4 -0
  911. package/dist/kernel/host-apiproxy/lib/types/api/sessions.schema.js +1 -0
  912. package/dist/kernel/host-apiproxy/lib/types/api-proxy.d.ts +1 -1
  913. package/dist/kernel/host-apiproxy/lib/types/api-proxy.js +15 -53
  914. package/dist/kernel/host-apiproxy/lib/types/index.d.ts +2 -2
  915. package/dist/kernel/host-apiproxy/lib/types/index.js +2 -2
  916. package/dist/kernel/host-apiproxy/lib/types/invariant.d.ts +1 -1
  917. package/dist/kernel/host-apiproxy/lib/types/session-export.d.ts +1 -1
  918. package/dist/kernel/host-apiproxy/package.json +1 -1
  919. package/dist/kernel/host-directory-picker/lib/index.js +1 -1
  920. package/dist/kernel/host-directory-picker/lib/types/index.d.ts +1 -1
  921. package/dist/kernel/host-directory-picker/lib/types/index.js +1 -1
  922. package/dist/kernel/host-directory-picker/lib/types/invariant.d.ts +1 -1
  923. package/dist/kernel/host-directory-picker/package.json +1 -1
  924. package/dist/kernel/host-directory-picker-auto/lib/types/index.d.ts +1 -1
  925. package/dist/kernel/host-directory-picker-auto/lib/types/invariant.d.ts +1 -1
  926. package/dist/kernel/host-directory-picker-auto/package.json +1 -1
  927. package/dist/kernel/host-directory-picker-browse/lib/index.js +1 -1
  928. package/dist/kernel/host-directory-picker-browse/lib/types/index.d.ts +2 -2
  929. package/dist/kernel/host-directory-picker-browse/lib/types/index.js +1 -1
  930. package/dist/kernel/host-directory-picker-browse/lib/types/invariant.d.ts +1 -1
  931. package/dist/kernel/host-directory-picker-browse/package.json +1 -1
  932. package/dist/kernel/host-directory-picker-native/lib/types/invariant.d.ts +1 -1
  933. package/dist/kernel/host-directory-picker-native/package.json +1 -1
  934. package/dist/kernel/host-frontend-static/lib/index.js +35 -27
  935. package/dist/kernel/host-frontend-static/lib/types/index.d.ts +12 -12
  936. package/dist/kernel/host-frontend-static/lib/types/index.js +39 -28
  937. package/dist/kernel/host-frontend-static/lib/types/invariant.d.ts +1 -1
  938. package/dist/kernel/host-frontend-static/package.json +2 -2
  939. package/dist/kernel/host-plugin-inventory/lib/types/index.d.ts +1 -1
  940. package/dist/kernel/host-plugin-inventory/lib/types/invariant.d.ts +1 -1
  941. package/dist/kernel/host-plugin-inventory/package.json +1 -1
  942. package/dist/kernel/host-webserver/lib/index.js +104 -8
  943. package/dist/kernel/host-webserver/lib/types/index.d.ts +35 -7
  944. package/dist/kernel/host-webserver/lib/types/index.js +30 -7
  945. package/dist/kernel/host-webserver/lib/types/injections.d.ts +56 -0
  946. package/dist/kernel/host-webserver/lib/types/injections.js +82 -0
  947. package/dist/kernel/host-webserver/lib/types/invariant.d.ts +1 -1
  948. package/dist/kernel/host-webserver/package.json +1 -1
  949. package/dist/kernel/invariants/lib/index.js +2 -2
  950. package/dist/kernel/invariants/lib/types/index.d.ts +3 -3
  951. package/dist/kernel/invariants/lib/types/index.js +2 -2
  952. package/dist/kernel/invariants/lib/types/invariant.d.ts +1 -1
  953. package/dist/kernel/invariants/package.json +1 -1
  954. package/dist/kernel/jobs/lib/index.js +1 -1
  955. package/dist/kernel/jobs/lib/types/index.d.ts +1 -1
  956. package/dist/kernel/jobs/lib/types/index.js +1 -1
  957. package/dist/kernel/jobs/lib/types/invariant.d.ts +1 -1
  958. package/dist/kernel/jobs/package.json +1 -1
  959. package/dist/kernel/jobs-local/lib/index.js +1 -1
  960. package/dist/kernel/jobs-local/lib/types/index.d.ts +2 -2
  961. package/dist/kernel/jobs-local/lib/types/index.js +1 -1
  962. package/dist/kernel/jobs-local/lib/types/invariant.d.ts +1 -1
  963. package/dist/kernel/jobs-local/package.json +1 -1
  964. package/dist/kernel/launch-environment/lib/types/index.d.ts +1 -1
  965. package/dist/kernel/launch-environment/lib/types/invariant.d.ts +1 -1
  966. package/dist/kernel/launch-environment/package.json +1 -1
  967. package/dist/kernel/llm/lib/index.js +249 -27
  968. package/dist/kernel/llm/lib/types/assembler.d.ts +10 -1
  969. package/dist/kernel/llm/lib/types/assembler.js +20 -1
  970. package/dist/kernel/llm/lib/types/content.d.ts +59 -0
  971. package/dist/kernel/llm/lib/types/content.js +149 -0
  972. package/dist/kernel/llm/lib/types/index.d.ts +25 -2
  973. package/dist/kernel/llm/lib/types/index.js +62 -9
  974. package/dist/kernel/llm/lib/types/invariant.d.ts +1 -1
  975. package/dist/kernel/llm/lib/types/retry-policy.d.ts +2 -2
  976. package/dist/kernel/llm/lib/types/retry-policy.js +7 -3
  977. package/dist/kernel/llm/package.json +1 -1
  978. package/dist/kernel/llm-deepseek/lib/index.js +1101 -71
  979. package/dist/kernel/llm-deepseek/lib/types/adapter.d.ts +69 -1
  980. package/dist/kernel/llm-deepseek/lib/types/adapter.js +296 -60
  981. package/dist/kernel/llm-deepseek/lib/types/file-id.d.ts +19 -0
  982. package/dist/kernel/llm-deepseek/lib/types/file-id.js +18 -0
  983. package/dist/kernel/llm-deepseek/lib/types/file-store.d.ts +83 -0
  984. package/dist/kernel/llm-deepseek/lib/types/file-store.js +261 -0
  985. package/dist/kernel/llm-deepseek/lib/types/files-api.d.ts +103 -0
  986. package/dist/kernel/llm-deepseek/lib/types/files-api.js +206 -0
  987. package/dist/kernel/llm-deepseek/lib/types/index.d.ts +33 -5
  988. package/dist/kernel/llm-deepseek/lib/types/index.js +140 -4
  989. package/dist/kernel/llm-deepseek/lib/types/invariant.d.ts +1 -1
  990. package/dist/kernel/llm-deepseek/lib/types/serialize.d.ts +55 -6
  991. package/dist/kernel/llm-deepseek/lib/types/serialize.js +179 -23
  992. package/dist/kernel/llm-deepseek/lib/types/types.d.ts +28 -5
  993. package/dist/kernel/llm-deepseek/lib/types/upload-index.d.ts +68 -0
  994. package/dist/kernel/llm-deepseek/lib/types/upload-index.js +171 -0
  995. package/dist/kernel/llm-deepseek/package.json +9 -1
  996. package/dist/kernel/llm-pi-ai/lib/index.js +1758 -1171
  997. package/dist/kernel/llm-pi-ai/lib/types/adapter.d.ts +30 -5
  998. package/dist/kernel/llm-pi-ai/lib/types/adapter.js +43 -23
  999. package/dist/kernel/llm-pi-ai/lib/types/auth.d.ts +60 -0
  1000. package/dist/kernel/llm-pi-ai/lib/types/auth.js +196 -0
  1001. package/dist/kernel/llm-pi-ai/lib/types/catalog.d.ts +176 -38
  1002. package/dist/kernel/llm-pi-ai/lib/types/catalog.js +245 -50
  1003. package/dist/kernel/llm-pi-ai/lib/types/config.d.ts +38 -6
  1004. package/dist/kernel/llm-pi-ai/lib/types/config.js +68 -3
  1005. package/dist/kernel/llm-pi-ai/lib/types/context.d.ts +8 -3
  1006. package/dist/kernel/llm-pi-ai/lib/types/context.js +60 -16
  1007. package/dist/kernel/llm-pi-ai/lib/types/index.d.ts +2 -1
  1008. package/dist/kernel/llm-pi-ai/lib/types/index.js +21 -19
  1009. package/dist/kernel/llm-pi-ai/lib/types/invariant.d.ts +1 -1
  1010. package/dist/kernel/llm-pi-ai/lib/types/login.d.ts +21 -0
  1011. package/dist/kernel/llm-pi-ai/lib/types/login.js +154 -0
  1012. package/dist/kernel/llm-pi-ai/lib/types/stream.js +4 -0
  1013. package/dist/kernel/llm-pi-ai/package.json +3 -1
  1014. package/dist/kernel/llm-retry/lib/index.js +1 -1
  1015. package/dist/kernel/llm-retry/lib/types/index.d.ts +2 -2
  1016. package/dist/kernel/llm-retry/lib/types/index.js +1 -1
  1017. package/dist/kernel/llm-retry/lib/types/invariant.d.ts +1 -1
  1018. package/dist/kernel/llm-retry/package.json +1 -1
  1019. package/dist/kernel/lsp/lib/index.js +1 -1
  1020. package/dist/kernel/lsp/lib/types/index.d.ts +1 -1
  1021. package/dist/kernel/lsp/lib/types/index.js +1 -1
  1022. package/dist/kernel/lsp/lib/types/invariant.d.ts +1 -1
  1023. package/dist/kernel/lsp/package.json +1 -1
  1024. package/dist/kernel/lsp-stdio/lib/index.js +1 -1
  1025. package/dist/kernel/lsp-stdio/lib/types/index.d.ts +2 -2
  1026. package/dist/kernel/lsp-stdio/lib/types/index.js +1 -1
  1027. package/dist/kernel/lsp-stdio/lib/types/invariant.d.ts +1 -1
  1028. package/dist/kernel/lsp-stdio/package.json +1 -1
  1029. package/dist/kernel/manifest.json +21 -3
  1030. package/dist/kernel/mcp-client/lib/index.js +1 -1
  1031. package/dist/kernel/mcp-client/lib/types/connection.d.ts +1 -1
  1032. package/dist/kernel/mcp-client/lib/types/index.d.ts +2 -2
  1033. package/dist/kernel/mcp-client/lib/types/index.js +1 -1
  1034. package/dist/kernel/mcp-client/lib/types/invariant.d.ts +1 -1
  1035. package/dist/kernel/mcp-client/lib/types/tools.d.ts +1 -1
  1036. package/dist/kernel/mcp-client/package.json +1 -1
  1037. package/dist/kernel/message-feedback/lib/index.js +2 -2
  1038. package/dist/kernel/message-feedback/lib/types/index.d.ts +2 -2
  1039. package/dist/kernel/message-feedback/lib/types/index.js +2 -2
  1040. package/dist/kernel/message-feedback/lib/types/invariant.d.ts +1 -1
  1041. package/dist/kernel/message-feedback/package.json +1 -1
  1042. package/dist/kernel/native-command/lib/types/invariant.d.ts +1 -1
  1043. package/dist/kernel/native-command/package.json +1 -1
  1044. package/dist/kernel/node-addon-landlock-run/lib/index.d.ts +71 -0
  1045. package/dist/kernel/node-addon-landlock-run/lib/index.js +101 -0
  1046. package/dist/kernel/node-addon-landlock-run/package.json +41 -0
  1047. package/dist/kernel/output-retention/lib/types/invariant.d.ts +1 -1
  1048. package/dist/kernel/output-retention/package.json +1 -1
  1049. package/dist/kernel/permission-presets/lib/index.js +16 -4
  1050. package/dist/kernel/permission-presets/lib/types/index.d.ts +7 -2
  1051. package/dist/kernel/permission-presets/lib/types/index.js +13 -4
  1052. package/dist/kernel/permission-presets/lib/types/invariant.d.ts +1 -1
  1053. package/dist/kernel/permission-presets/package.json +1 -1
  1054. package/dist/kernel/persona/lib/index.js +1 -1
  1055. package/dist/kernel/persona/lib/types/index.d.ts +2 -2
  1056. package/dist/kernel/persona/lib/types/index.js +1 -1
  1057. package/dist/kernel/persona/lib/types/invariant.d.ts +1 -1
  1058. package/dist/kernel/persona/package.json +1 -1
  1059. package/dist/kernel/plan-mode/lib/index.js +50 -16
  1060. package/dist/kernel/plan-mode/lib/types/index.d.ts +23 -1
  1061. package/dist/kernel/plan-mode/lib/types/index.js +46 -20
  1062. package/dist/kernel/plan-mode/lib/types/invariant.d.ts +1 -1
  1063. package/dist/kernel/plan-mode/lib/types/types.d.ts +5 -4
  1064. package/dist/kernel/plan-mode/package.json +1 -1
  1065. package/dist/kernel/pwsh-local/lib/index.js +1 -1
  1066. package/dist/kernel/pwsh-local/lib/types/index.d.ts +2 -2
  1067. package/dist/kernel/pwsh-local/lib/types/index.js +1 -1
  1068. package/dist/kernel/pwsh-local/lib/types/invariant.d.ts +1 -1
  1069. package/dist/kernel/pwsh-local/package.json +1 -1
  1070. package/dist/kernel/pwsh-sandbox/lib/types/index.d.ts +1 -1
  1071. package/dist/kernel/pwsh-sandbox/lib/types/invariant.d.ts +1 -1
  1072. package/dist/kernel/pwsh-sandbox/package.json +1 -1
  1073. package/dist/kernel/repeat-tool-reminder/lib/index.js +3 -3
  1074. package/dist/kernel/repeat-tool-reminder/lib/types/index.d.ts +2 -2
  1075. package/dist/kernel/repeat-tool-reminder/lib/types/index.js +1 -1
  1076. package/dist/kernel/repeat-tool-reminder/lib/types/invariant.d.ts +1 -1
  1077. package/dist/kernel/repeat-tool-reminder/package.json +1 -1
  1078. package/dist/kernel/sandbox/lib/index.js +1 -1
  1079. package/dist/kernel/sandbox/lib/types/index.d.ts +1 -1
  1080. package/dist/kernel/sandbox/lib/types/index.js +1 -1
  1081. package/dist/kernel/sandbox/lib/types/invariant.d.ts +1 -1
  1082. package/dist/kernel/sandbox/package.json +1 -1
  1083. package/dist/kernel/sandbox-local/lib/index.js +10 -15
  1084. package/dist/kernel/sandbox-local/lib/types/index.d.ts +3 -5
  1085. package/dist/kernel/sandbox-local/lib/types/index.js +6 -9
  1086. package/dist/kernel/sandbox-local/lib/types/invariant.d.ts +1 -1
  1087. package/dist/kernel/sandbox-local/lib/types/profiles.js +2 -2
  1088. package/dist/kernel/sandbox-local/package.json +1 -1
  1089. package/dist/kernel/sandbox-policy/lib/index.js +2 -2
  1090. package/dist/kernel/sandbox-policy/lib/types/index.d.ts +2 -2
  1091. package/dist/kernel/sandbox-policy/lib/types/index.js +2 -2
  1092. package/dist/kernel/sandbox-policy/lib/types/invariant.d.ts +1 -1
  1093. package/dist/kernel/sandbox-policy/package.json +1 -1
  1094. package/dist/kernel/sandbox-windows-acl/lib/types/invariant.d.ts +1 -1
  1095. package/dist/kernel/sandbox-windows-acl/package.json +1 -1
  1096. package/dist/kernel/schedule/lib/types/index.d.ts +1 -1
  1097. package/dist/kernel/schedule/lib/types/invariant.d.ts +1 -1
  1098. package/dist/kernel/schedule/lib/types/persistence.d.ts +1 -1
  1099. package/dist/kernel/schedule/lib/types/runtime.d.ts +1 -1
  1100. package/dist/kernel/schedule/lib/types/tools.d.ts +1 -1
  1101. package/dist/kernel/schedule/package.json +1 -1
  1102. package/dist/kernel/schemastery/lib/index.cjs +596 -0
  1103. package/dist/kernel/schemastery/lib/index.mjs +596 -0
  1104. package/dist/kernel/schemastery/lib/types/index.d.ts +200 -0
  1105. package/dist/kernel/schemastery/lib/types/index.js +714 -0
  1106. package/dist/kernel/schemastery/package.json +39 -0
  1107. package/dist/kernel/scope/lib/index.js +1 -1
  1108. package/dist/kernel/scope/lib/types/index.d.ts +1 -1
  1109. package/dist/kernel/scope/lib/types/index.js +1 -1
  1110. package/dist/kernel/scope/lib/types/invariant.d.ts +1 -1
  1111. package/dist/kernel/scope/lib/types/store.d.ts +1 -1
  1112. package/dist/kernel/scope/package.json +1 -1
  1113. package/dist/kernel/sdk-client/lib/index.js +2 -2
  1114. package/dist/kernel/sdk-client/lib/types/api.js +2 -2
  1115. package/dist/kernel/sdk-client/lib/types/invariant.d.ts +1 -1
  1116. package/dist/kernel/sdk-client/lib/types/types.d.ts +4 -4
  1117. package/dist/kernel/sdk-client/package.json +1 -1
  1118. package/dist/kernel/sdk-jsonrpc-server/lib/index.js +13 -6
  1119. package/dist/kernel/sdk-jsonrpc-server/lib/types/index.d.ts +2 -2
  1120. package/dist/kernel/sdk-jsonrpc-server/lib/types/index.js +8 -1
  1121. package/dist/kernel/sdk-jsonrpc-server/lib/types/invariant.d.ts +1 -1
  1122. package/dist/kernel/sdk-jsonrpc-server/lib/types/server.d.ts +3 -2
  1123. package/dist/kernel/sdk-jsonrpc-server/lib/types/server.js +15 -6
  1124. package/dist/kernel/sdk-jsonrpc-server/package.json +2 -1
  1125. package/dist/kernel/sdk-protocol/lib/types/invariant.d.ts +1 -1
  1126. package/dist/kernel/sdk-protocol/package.json +1 -1
  1127. package/dist/kernel/session/lib/index.js +5 -1
  1128. package/dist/kernel/session/lib/types/index.d.ts +1 -1
  1129. package/dist/kernel/session/lib/types/index.js +1 -1
  1130. package/dist/kernel/session/lib/types/invariant.d.ts +1 -1
  1131. package/dist/kernel/session/lib/types/known-event-types.js +4 -0
  1132. package/dist/kernel/session/lib/types/types.d.ts +6 -1
  1133. package/dist/kernel/session/package.json +1 -1
  1134. package/dist/kernel/session-checkpoint-policy/lib/types/index.d.ts +1 -1
  1135. package/dist/kernel/session-checkpoint-policy/lib/types/invariant.d.ts +1 -1
  1136. package/dist/kernel/session-checkpoint-policy/package.json +1 -1
  1137. package/dist/kernel/session-log-export/lib/types/index.d.ts +1 -1
  1138. package/dist/kernel/session-log-export/lib/types/invariant.d.ts +1 -1
  1139. package/dist/kernel/session-log-export/package.json +2 -5
  1140. package/dist/kernel/session-persistence/lib/index.js +2 -2
  1141. package/dist/kernel/session-persistence/lib/types/coordinator.d.ts +1 -1
  1142. package/dist/kernel/session-persistence/lib/types/coordinator.js +2 -1
  1143. package/dist/kernel/session-persistence/lib/types/index.d.ts +1 -1
  1144. package/dist/kernel/session-persistence/lib/types/index.js +1 -1
  1145. package/dist/kernel/session-persistence/lib/types/invariant.d.ts +1 -1
  1146. package/dist/kernel/session-persistence/package.json +1 -1
  1147. package/dist/kernel/session-persistence-jsonl/lib/index.js +1 -1
  1148. package/dist/kernel/session-persistence-jsonl/lib/types/index.d.ts +2 -2
  1149. package/dist/kernel/session-persistence-jsonl/lib/types/index.js +1 -1
  1150. package/dist/kernel/session-persistence-jsonl/lib/types/invariant.d.ts +1 -1
  1151. package/dist/kernel/session-persistence-jsonl/package.json +1 -1
  1152. package/dist/kernel/session-persistence-sqlite/lib/index.js +1106 -376
  1153. package/dist/kernel/session-persistence-sqlite/lib/invariant.js +2 -2
  1154. package/dist/kernel/session-persistence-sqlite/lib/types/codec.d.ts +72 -0
  1155. package/dist/kernel/session-persistence-sqlite/lib/types/codec.js +304 -0
  1156. package/dist/kernel/session-persistence-sqlite/lib/types/compression.d.ts +46 -0
  1157. package/dist/kernel/session-persistence-sqlite/lib/types/compression.js +234 -0
  1158. package/dist/kernel/session-persistence-sqlite/lib/types/index.d.ts +23 -81
  1159. package/dist/kernel/session-persistence-sqlite/lib/types/index.js +28 -279
  1160. package/dist/kernel/session-persistence-sqlite/lib/types/invariant.d.ts +1 -1
  1161. package/dist/kernel/session-persistence-sqlite/lib/types/invariant.js +2 -2
  1162. package/dist/kernel/session-persistence-sqlite/lib/types/schema.d.ts +63 -85
  1163. package/dist/kernel/session-persistence-sqlite/lib/types/schema.js +293 -159
  1164. package/dist/kernel/session-persistence-sqlite/lib/types/sql.d.ts +15 -0
  1165. package/dist/kernel/session-persistence-sqlite/lib/types/sql.js +57 -0
  1166. package/dist/kernel/session-persistence-sqlite/lib/types/store.d.ts +66 -0
  1167. package/dist/kernel/session-persistence-sqlite/lib/types/store.js +394 -0
  1168. package/dist/kernel/session-persistence-sqlite/package.json +9 -3
  1169. package/dist/kernel/session-persistence-sqlite/resources/sql/begin-immediate.sql +1 -0
  1170. package/dist/kernel/session-persistence-sqlite/resources/sql/begin.sql +1 -0
  1171. package/dist/kernel/session-persistence-sqlite/resources/sql/commit.sql +1 -0
  1172. package/dist/kernel/session-persistence-sqlite/resources/sql/delete-events-from.sql +2 -0
  1173. package/dist/kernel/session-persistence-sqlite/resources/sql/foreign-keys-on.sql +1 -0
  1174. package/dist/kernel/session-persistence-sqlite/resources/sql/insert-event.sql +3 -0
  1175. package/dist/kernel/session-persistence-sqlite/resources/sql/insert-persistence-state.sql +2 -0
  1176. package/dist/kernel/session-persistence-sqlite/resources/sql/journal-mode-delete.sql +1 -0
  1177. package/dist/kernel/session-persistence-sqlite/resources/sql/journal-mode-persist.sql +1 -0
  1178. package/dist/kernel/session-persistence-sqlite/resources/sql/journal-mode-truncate.sql +1 -0
  1179. package/dist/kernel/session-persistence-sqlite/resources/sql/journal-mode-wal.sql +1 -0
  1180. package/dist/kernel/session-persistence-sqlite/resources/sql/mmap-off.sql +1 -0
  1181. package/dist/kernel/session-persistence-sqlite/resources/sql/rollback.sql +1 -0
  1182. package/dist/kernel/session-persistence-sqlite/resources/sql/schema.sql +30 -0
  1183. package/dist/kernel/session-persistence-sqlite/resources/sql/select-application-id.sql +1 -0
  1184. package/dist/kernel/session-persistence-sqlite/resources/sql/select-events-from.sql +4 -0
  1185. package/dist/kernel/session-persistence-sqlite/resources/sql/select-events.sql +4 -0
  1186. package/dist/kernel/session-persistence-sqlite/resources/sql/select-mmap-size.sql +1 -0
  1187. package/dist/kernel/session-persistence-sqlite/resources/sql/select-packed-predecessors.sql +6 -0
  1188. package/dist/kernel/session-persistence-sqlite/resources/sql/select-schema-objects.sql +4 -0
  1189. package/dist/kernel/session-persistence-sqlite/resources/sql/select-session.sql +4 -0
  1190. package/dist/kernel/session-persistence-sqlite/resources/sql/select-sessions.sql +3 -0
  1191. package/dist/kernel/session-persistence-sqlite/resources/sql/select-store-id.sql +3 -0
  1192. package/dist/kernel/session-persistence-sqlite/resources/sql/select-synchronous.sql +1 -0
  1193. package/dist/kernel/session-persistence-sqlite/resources/sql/select-tail-events.sql +5 -0
  1194. package/dist/kernel/session-persistence-sqlite/resources/sql/select-trusted-schema.sql +1 -0
  1195. package/dist/kernel/session-persistence-sqlite/resources/sql/select-user-object-count.sql +3 -0
  1196. package/dist/kernel/session-persistence-sqlite/resources/sql/select-user-version.sql +1 -0
  1197. package/dist/kernel/session-persistence-sqlite/resources/sql/set-application-id.sql +1 -0
  1198. package/dist/kernel/session-persistence-sqlite/resources/sql/set-user-version-17.sql +1 -0
  1199. package/dist/kernel/session-persistence-sqlite/resources/sql/synchronous-full.sql +1 -0
  1200. package/dist/kernel/session-persistence-sqlite/resources/sql/trusted-schema-off.sql +1 -0
  1201. package/dist/kernel/session-persistence-sqlite/resources/sql/update-session-revision.sql +3 -0
  1202. package/dist/kernel/session-persistence-sqlite/resources/sql/upsert-session.sql +13 -0
  1203. package/dist/kernel/session-projection/lib/index.js +56 -31
  1204. package/dist/kernel/session-projection/lib/types/index.d.ts +58 -35
  1205. package/dist/kernel/session-projection/lib/types/index.js +62 -37
  1206. package/dist/kernel/session-projection/lib/types/invariant.d.ts +1 -1
  1207. package/dist/kernel/session-projection/lib/types/types.d.ts +11 -4
  1208. package/dist/kernel/session-projection/package.json +1 -1
  1209. package/dist/kernel/session-projection-cache/lib/index.js +3 -3
  1210. package/dist/kernel/session-projection-cache/lib/types/index.d.ts +3 -3
  1211. package/dist/kernel/session-projection-cache/lib/types/index.js +6 -7
  1212. package/dist/kernel/session-projection-cache/lib/types/invariant.d.ts +1 -1
  1213. package/dist/kernel/session-projection-cache/package.json +1 -1
  1214. package/dist/kernel/session-query/lib/index.js +1 -1
  1215. package/dist/kernel/session-query/lib/types/corpus.d.ts +1 -1
  1216. package/dist/kernel/session-query/lib/types/index.d.ts +1 -1
  1217. package/dist/kernel/session-query/lib/types/index.js +1 -1
  1218. package/dist/kernel/session-query/lib/types/invariant.d.ts +1 -1
  1219. package/dist/kernel/session-query/package.json +1 -1
  1220. package/dist/kernel/session-query-sqlite/lib/index.js +2 -2
  1221. package/dist/kernel/session-query-sqlite/lib/types/index.d.ts +2 -2
  1222. package/dist/kernel/session-query-sqlite/lib/types/index.js +2 -2
  1223. package/dist/kernel/session-query-sqlite/lib/types/invariant.d.ts +1 -1
  1224. package/dist/kernel/session-query-sqlite/package.json +1 -1
  1225. package/dist/kernel/session-reference/lib/index.js +233 -111
  1226. package/dist/kernel/session-reference/lib/typert.host.d.ts +3 -0
  1227. package/dist/kernel/session-reference/lib/typert.host.js +458 -0
  1228. package/dist/kernel/session-reference/lib/typert.remote-client.d.ts +26 -0
  1229. package/dist/kernel/session-reference/lib/typert.remote-client.js +62 -0
  1230. package/dist/kernel/session-reference/lib/types/index.d.ts +26 -6
  1231. package/dist/kernel/session-reference/lib/types/index.js +231 -127
  1232. package/dist/kernel/session-reference/lib/types/invariant.d.ts +1 -1
  1233. package/dist/kernel/session-reference/lib/types/types.d.ts +14 -3
  1234. package/dist/kernel/session-reference/lib/types/types.js +6 -1
  1235. package/dist/kernel/session-reference/package.json +23 -3
  1236. package/dist/kernel/session-stats/lib/index.js +31 -12
  1237. package/dist/kernel/session-stats/lib/types/index.d.ts +1 -1
  1238. package/dist/kernel/session-stats/lib/types/invariant.d.ts +1 -1
  1239. package/dist/kernel/session-stats/lib/types/projection.d.ts +64 -2
  1240. package/dist/kernel/session-stats/lib/types/projection.js +31 -12
  1241. package/dist/kernel/session-stats/package.json +1 -1
  1242. package/dist/kernel/session-telemetry/lib/index.js +1 -1
  1243. package/dist/kernel/session-telemetry/lib/types/coordinator.d.ts +1 -1
  1244. package/dist/kernel/session-telemetry/lib/types/index.d.ts +1 -1
  1245. package/dist/kernel/session-telemetry/lib/types/index.js +1 -1
  1246. package/dist/kernel/session-telemetry/lib/types/invariant.d.ts +1 -1
  1247. package/dist/kernel/session-telemetry/package.json +1 -1
  1248. package/dist/kernel/session-telemetry-otel/lib/index.js +1 -1
  1249. package/dist/kernel/session-telemetry-otel/lib/types/index.d.ts +2 -2
  1250. package/dist/kernel/session-telemetry-otel/lib/types/index.js +1 -1
  1251. package/dist/kernel/session-telemetry-otel/lib/types/invariant.d.ts +1 -1
  1252. package/dist/kernel/session-telemetry-otel/package.json +1 -1
  1253. package/dist/kernel/session-title/lib/index.js +8 -4
  1254. package/dist/kernel/session-title/lib/types/index.d.ts +2 -2
  1255. package/dist/kernel/session-title/lib/types/index.js +5 -4
  1256. package/dist/kernel/session-title/lib/types/invariant.d.ts +1 -1
  1257. package/dist/kernel/session-title/lib/types/types.d.ts +3 -0
  1258. package/dist/kernel/session-title/package.json +1 -1
  1259. package/dist/kernel/session-title-all-prompts-llm/lib/index.js +1 -1
  1260. package/dist/kernel/session-title-all-prompts-llm/lib/types/index.d.ts +2 -2
  1261. package/dist/kernel/session-title-all-prompts-llm/lib/types/index.js +1 -1
  1262. package/dist/kernel/session-title-all-prompts-llm/lib/types/invariant.d.ts +1 -1
  1263. package/dist/kernel/session-title-all-prompts-llm/package.json +1 -1
  1264. package/dist/kernel/session-title-first-prompt-llm/lib/index.js +1 -1
  1265. package/dist/kernel/session-title-first-prompt-llm/lib/types/index.d.ts +2 -2
  1266. package/dist/kernel/session-title-first-prompt-llm/lib/types/index.js +1 -1
  1267. package/dist/kernel/session-title-first-prompt-llm/lib/types/invariant.d.ts +1 -1
  1268. package/dist/kernel/session-title-first-prompt-llm/package.json +1 -1
  1269. package/dist/kernel/session-title-llm/lib/index.js +1 -1
  1270. package/dist/kernel/session-title-llm/lib/types/index.d.ts +2 -2
  1271. package/dist/kernel/session-title-llm/lib/types/index.js +1 -1
  1272. package/dist/kernel/session-title-llm/lib/types/invariant.d.ts +1 -1
  1273. package/dist/kernel/session-title-llm/package.json +1 -1
  1274. package/dist/kernel/settings/lib/index.js +1 -1
  1275. package/dist/kernel/settings/lib/invariant.js +1 -1
  1276. package/dist/kernel/settings/lib/types/index.d.ts +2 -2
  1277. package/dist/kernel/settings/lib/types/index.js +1 -1
  1278. package/dist/kernel/settings/lib/types/invariant.d.ts +1 -1
  1279. package/dist/kernel/settings/lib/types/redact.d.ts +1 -1
  1280. package/dist/kernel/settings/package.json +1 -1
  1281. package/dist/kernel/settings-file/lib/index.js +2 -2
  1282. package/dist/kernel/settings-file/lib/types/index.d.ts +2 -2
  1283. package/dist/kernel/settings-file/lib/types/index.js +2 -2
  1284. package/dist/kernel/settings-file/lib/types/invariant.d.ts +1 -1
  1285. package/dist/kernel/settings-file/package.json +1 -1
  1286. package/dist/kernel/shell/lib/index.js +1 -1
  1287. package/dist/kernel/shell/lib/types/index.d.ts +1 -1
  1288. package/dist/kernel/shell/lib/types/index.js +1 -1
  1289. package/dist/kernel/shell/lib/types/invariant.d.ts +1 -1
  1290. package/dist/kernel/shell/package.json +1 -1
  1291. package/dist/kernel/shell-env/lib/index.js +2 -2
  1292. package/dist/kernel/shell-env/lib/types/index.d.ts +2 -2
  1293. package/dist/kernel/shell-env/lib/types/index.js +2 -2
  1294. package/dist/kernel/shell-env/lib/types/invariant.d.ts +1 -1
  1295. package/dist/kernel/shell-env/package.json +1 -1
  1296. package/dist/kernel/skill/lib/index.js +2 -2
  1297. package/dist/kernel/skill/lib/types/index.d.ts +2 -2
  1298. package/dist/kernel/skill/lib/types/index.js +2 -2
  1299. package/dist/kernel/skill/lib/types/invariant.d.ts +1 -1
  1300. package/dist/kernel/skill/package.json +1 -1
  1301. package/dist/kernel/skill-badge/assets/nomix-badge.md +6 -6
  1302. package/dist/kernel/skill-badge/assets/nomix-badge.png +0 -0
  1303. package/dist/kernel/skill-badge/lib/index.js +1 -1
  1304. package/dist/kernel/skill-badge/lib/types/index.d.ts +1 -1
  1305. package/dist/kernel/skill-badge/lib/types/index.js +1 -1
  1306. package/dist/kernel/skill-badge/lib/types/invariant.d.ts +1 -1
  1307. package/dist/kernel/skill-badge/package.json +1 -1
  1308. package/dist/kernel/skill-filesystem/lib/index.js +1 -1
  1309. package/dist/kernel/skill-filesystem/lib/types/index.d.ts +2 -2
  1310. package/dist/kernel/skill-filesystem/lib/types/index.js +1 -1
  1311. package/dist/kernel/skill-filesystem/lib/types/invariant.d.ts +1 -1
  1312. package/dist/kernel/skill-filesystem/package.json +1 -1
  1313. package/dist/kernel/spill/lib/index.js +1 -1
  1314. package/dist/kernel/spill/lib/types/index.d.ts +1 -1
  1315. package/dist/kernel/spill/lib/types/index.js +1 -1
  1316. package/dist/kernel/spill/lib/types/invariant.d.ts +1 -1
  1317. package/dist/kernel/spill/package.json +1 -1
  1318. package/dist/kernel/spill-local/lib/index.js +1 -1
  1319. package/dist/kernel/spill-local/lib/types/index.d.ts +2 -2
  1320. package/dist/kernel/spill-local/lib/types/index.js +1 -1
  1321. package/dist/kernel/spill-local/lib/types/invariant.d.ts +1 -1
  1322. package/dist/kernel/spill-local/package.json +1 -1
  1323. package/dist/kernel/spill-policy/lib/index.js +1 -1
  1324. package/dist/kernel/spill-policy/lib/types/index.d.ts +2 -2
  1325. package/dist/kernel/spill-policy/lib/types/index.js +1 -1
  1326. package/dist/kernel/spill-policy/lib/types/invariant.d.ts +1 -1
  1327. package/dist/kernel/spill-policy/package.json +1 -1
  1328. package/dist/kernel/storage/lib/index.js +1 -1
  1329. package/dist/kernel/storage/lib/types/index.d.ts +1 -1
  1330. package/dist/kernel/storage/lib/types/index.js +1 -1
  1331. package/dist/kernel/storage/lib/types/invariant.d.ts +1 -1
  1332. package/dist/kernel/storage/package.json +1 -1
  1333. package/dist/kernel/storage-domain/lib/index.js +1 -1
  1334. package/dist/kernel/storage-domain/lib/types/domain.d.ts +1 -1
  1335. package/dist/kernel/storage-domain/lib/types/index.d.ts +2 -2
  1336. package/dist/kernel/storage-domain/lib/types/index.js +1 -1
  1337. package/dist/kernel/storage-domain/lib/types/invariant.d.ts +1 -1
  1338. package/dist/kernel/storage-domain/package.json +1 -1
  1339. package/dist/kernel/storage-json/lib/index.js +1 -1
  1340. package/dist/kernel/storage-json/lib/types/index.d.ts +2 -2
  1341. package/dist/kernel/storage-json/lib/types/index.js +1 -1
  1342. package/dist/kernel/storage-json/lib/types/invariant.d.ts +1 -1
  1343. package/dist/kernel/storage-json/package.json +1 -1
  1344. package/dist/kernel/storage-sqlite/lib/index.js +1 -1
  1345. package/dist/kernel/storage-sqlite/lib/types/index.d.ts +2 -2
  1346. package/dist/kernel/storage-sqlite/lib/types/index.js +1 -1
  1347. package/dist/kernel/storage-sqlite/lib/types/invariant.d.ts +1 -1
  1348. package/dist/kernel/storage-sqlite/package.json +1 -1
  1349. package/dist/kernel/subagent/lib/index.js +124 -21
  1350. package/dist/kernel/subagent/lib/types/activation-setup-registry.d.ts +1 -1
  1351. package/dist/kernel/subagent/lib/types/child-agent.d.ts +1 -1
  1352. package/dist/kernel/subagent/lib/types/continuation.d.ts +22 -3
  1353. package/dist/kernel/subagent/lib/types/continuation.js +58 -7
  1354. package/dist/kernel/subagent/lib/types/index.d.ts +12 -1
  1355. package/dist/kernel/subagent/lib/types/index.js +17 -1
  1356. package/dist/kernel/subagent/lib/types/invariant.d.ts +1 -1
  1357. package/dist/kernel/subagent/lib/types/lifecycle.d.ts +1 -1
  1358. package/dist/kernel/subagent/lib/types/list-children.d.ts +1 -1
  1359. package/dist/kernel/subagent/lib/types/out-of-process.d.ts +2 -0
  1360. package/dist/kernel/subagent/lib/types/out-of-process.js +31 -1
  1361. package/dist/kernel/subagent/lib/types/projection.d.ts +55 -8
  1362. package/dist/kernel/subagent/lib/types/projection.js +30 -15
  1363. package/dist/kernel/subagent/lib/types/run-settlement.js +10 -3
  1364. package/dist/kernel/subagent/lib/types/types.d.ts +7 -0
  1365. package/dist/kernel/subagent/package.json +1 -1
  1366. package/dist/kernel/subagent-acp/lib/index.js +1 -1
  1367. package/dist/kernel/subagent-acp/lib/types/index.d.ts +2 -2
  1368. package/dist/kernel/subagent-acp/lib/types/index.js +1 -1
  1369. package/dist/kernel/subagent-acp/lib/types/invariant.d.ts +1 -1
  1370. package/dist/kernel/subagent-acp/package.json +1 -1
  1371. package/dist/kernel/subagent-claude-code/cordis.patch.yml +6 -0
  1372. package/dist/kernel/subagent-claude-code/lib/index.js +268 -74
  1373. package/dist/kernel/subagent-claude-code/lib/types/index.d.ts +18 -8
  1374. package/dist/kernel/subagent-claude-code/lib/types/index.js +36 -15
  1375. package/dist/kernel/subagent-claude-code/lib/types/invariant.d.ts +1 -1
  1376. package/dist/kernel/subagent-claude-code/lib/types/process.d.ts +5 -7
  1377. package/dist/kernel/subagent-claude-code/lib/types/process.js +12 -24
  1378. package/dist/kernel/subagent-claude-code/lib/types/run.d.ts +24 -7
  1379. package/dist/kernel/subagent-claude-code/lib/types/run.js +266 -40
  1380. package/dist/kernel/subagent-claude-code/package.json +10 -2
  1381. package/dist/kernel/subagent-codex/cordis.patch.yml +5 -0
  1382. package/dist/kernel/subagent-codex/lib/index.js +483 -92
  1383. package/dist/kernel/subagent-codex/lib/types/index.d.ts +13 -8
  1384. package/dist/kernel/subagent-codex/lib/types/index.js +34 -13
  1385. package/dist/kernel/subagent-codex/lib/types/invariant.d.ts +1 -1
  1386. package/dist/kernel/subagent-codex/lib/types/run.d.ts +17 -8
  1387. package/dist/kernel/subagent-codex/lib/types/run.js +235 -42
  1388. package/dist/kernel/subagent-codex/lib/types/wire.d.ts +49 -1
  1389. package/dist/kernel/subagent-codex/lib/types/wire.js +280 -33
  1390. package/dist/kernel/subagent-codex/package.json +10 -5
  1391. package/dist/kernel/subagent-fork-in-process/lib/index.js +1 -1
  1392. package/dist/kernel/subagent-fork-in-process/lib/types/index.d.ts +2 -2
  1393. package/dist/kernel/subagent-fork-in-process/lib/types/index.js +1 -1
  1394. package/dist/kernel/subagent-fork-in-process/lib/types/invariant.d.ts +1 -1
  1395. package/dist/kernel/subagent-fork-in-process/package.json +1 -1
  1396. package/dist/kernel/subagent-in-process-driver/lib/types/invariant.d.ts +1 -1
  1397. package/dist/kernel/subagent-in-process-driver/lib/types/structured.d.ts +1 -1
  1398. package/dist/kernel/subagent-in-process-driver/package.json +1 -1
  1399. package/dist/kernel/subagent-nomix-sdk/lib/index.js +1 -1
  1400. package/dist/kernel/subagent-nomix-sdk/lib/types/index.d.ts +2 -2
  1401. package/dist/kernel/subagent-nomix-sdk/lib/types/index.js +1 -1
  1402. package/dist/kernel/subagent-nomix-sdk/lib/types/invariant.d.ts +1 -1
  1403. package/dist/kernel/subagent-nomix-sdk/package.json +1 -1
  1404. package/dist/kernel/subagent-spawn-in-process/lib/index.js +1 -1
  1405. package/dist/kernel/subagent-spawn-in-process/lib/types/index.d.ts +2 -2
  1406. package/dist/kernel/subagent-spawn-in-process/lib/types/index.js +1 -1
  1407. package/dist/kernel/subagent-spawn-in-process/lib/types/invariant.d.ts +1 -1
  1408. package/dist/kernel/subagent-spawn-in-process/package.json +1 -1
  1409. package/dist/kernel/subprocess/lib/index.js +1 -1
  1410. package/dist/kernel/subprocess/lib/types/index.d.ts +1 -1
  1411. package/dist/kernel/subprocess/lib/types/index.js +1 -1
  1412. package/dist/kernel/subprocess/lib/types/invariant.d.ts +1 -1
  1413. package/dist/kernel/subprocess/package.json +1 -1
  1414. package/dist/kernel/subprocess-e2b/lib/index.js +1 -1
  1415. package/dist/kernel/subprocess-e2b/lib/types/index.d.ts +2 -2
  1416. package/dist/kernel/subprocess-e2b/lib/types/index.js +1 -1
  1417. package/dist/kernel/subprocess-e2b/lib/types/invariant.d.ts +1 -1
  1418. package/dist/kernel/subprocess-e2b/package.json +1 -1
  1419. package/dist/kernel/subprocess-local/lib/index.js +303 -1
  1420. package/dist/kernel/subprocess-local/lib/types/index.d.ts +1 -1
  1421. package/dist/kernel/subprocess-local/lib/types/invariant.d.ts +1 -1
  1422. package/dist/kernel/subprocess-local/lib/types/process-inspector.js +3 -0
  1423. package/dist/kernel/subprocess-local/lib/types/terminal.d.ts +6 -1
  1424. package/dist/kernel/subprocess-local/lib/types/terminal.js +78 -1
  1425. package/dist/kernel/subprocess-local/lib/types/windows-inspector.d.ts +80 -0
  1426. package/dist/kernel/subprocess-local/lib/types/windows-inspector.js +259 -0
  1427. package/dist/kernel/subprocess-local/package.json +2 -1
  1428. package/dist/kernel/system-prompt/lib/index.js +2 -2
  1429. package/dist/kernel/system-prompt/lib/types/index.d.ts +2 -2
  1430. package/dist/kernel/system-prompt/lib/types/index.js +2 -2
  1431. package/dist/kernel/system-prompt/lib/types/invariant.d.ts +1 -1
  1432. package/dist/kernel/system-prompt/package.json +1 -1
  1433. package/dist/kernel/terminal/lib/index.js +1 -1
  1434. package/dist/kernel/terminal/lib/types/index.d.ts +1 -1
  1435. package/dist/kernel/terminal/lib/types/index.js +1 -1
  1436. package/dist/kernel/terminal/lib/types/invariant.d.ts +1 -1
  1437. package/dist/kernel/terminal/package.json +1 -1
  1438. package/dist/kernel/terminal-bash/lib/index.js +86 -21
  1439. package/dist/kernel/terminal-bash/lib/types/config.d.ts +30 -6
  1440. package/dist/kernel/terminal-bash/lib/types/config.js +34 -4
  1441. package/dist/kernel/terminal-bash/lib/types/index.d.ts +8 -1
  1442. package/dist/kernel/terminal-bash/lib/types/index.js +65 -13
  1443. package/dist/kernel/terminal-bash/lib/types/invariant.d.ts +1 -1
  1444. package/dist/kernel/terminal-bash/package.json +2 -1
  1445. package/dist/kernel/time-context/lib/index.js +3 -3
  1446. package/dist/kernel/time-context/lib/invariant.js +3 -3
  1447. package/dist/kernel/time-context/lib/types/index.d.ts +2 -2
  1448. package/dist/kernel/time-context/lib/types/index.js +1 -1
  1449. package/dist/kernel/time-context/lib/types/invariant.d.ts +1 -1
  1450. package/dist/kernel/time-context/package.json +1 -1
  1451. package/dist/kernel/timeout/lib/types/invariant.d.ts +1 -1
  1452. package/dist/kernel/timeout/package.json +1 -1
  1453. package/dist/kernel/tmux-context/lib/index.js +3 -3
  1454. package/dist/kernel/tmux-context/lib/types/index.d.ts +2 -2
  1455. package/dist/kernel/tmux-context/lib/types/index.js +1 -1
  1456. package/dist/kernel/tmux-context/lib/types/invariant.d.ts +1 -1
  1457. package/dist/kernel/tmux-context/package.json +1 -1
  1458. package/dist/kernel/token-meter/lib/index.js +79 -23
  1459. package/dist/kernel/token-meter/lib/types/breakdown-projection.d.ts +76 -9
  1460. package/dist/kernel/token-meter/lib/types/breakdown-projection.js +22 -6
  1461. package/dist/kernel/token-meter/lib/types/index.d.ts +2 -2
  1462. package/dist/kernel/token-meter/lib/types/index.js +2 -2
  1463. package/dist/kernel/token-meter/lib/types/invariant.d.ts +1 -1
  1464. package/dist/kernel/token-meter/lib/types/usage-projection.d.ts +186 -25
  1465. package/dist/kernel/token-meter/lib/types/usage-projection.js +44 -15
  1466. package/dist/kernel/token-meter/package.json +1 -1
  1467. package/dist/kernel/tool-ask-user/lib/types/index.d.ts +1 -1
  1468. package/dist/kernel/tool-ask-user/lib/types/invariant.d.ts +1 -1
  1469. package/dist/kernel/tool-ask-user/package.json +1 -1
  1470. package/dist/kernel/tool-bash/lib/index.js +1 -1
  1471. package/dist/kernel/tool-bash/lib/types/index.d.ts +2 -2
  1472. package/dist/kernel/tool-bash/lib/types/index.js +1 -1
  1473. package/dist/kernel/tool-bash/lib/types/invariant.d.ts +1 -1
  1474. package/dist/kernel/tool-bash/package.json +1 -1
  1475. package/dist/kernel/tool-bash-persistent/lib/index.js +16 -6
  1476. package/dist/kernel/tool-bash-persistent/lib/types/index.d.ts +2 -2
  1477. package/dist/kernel/tool-bash-persistent/lib/types/index.js +24 -7
  1478. package/dist/kernel/tool-bash-persistent/lib/types/invariant.d.ts +1 -1
  1479. package/dist/kernel/tool-bash-persistent/package.json +1 -1
  1480. package/dist/kernel/tool-call-timeout-policy/lib/types/index.d.ts +1 -1
  1481. package/dist/kernel/tool-call-timeout-policy/lib/types/invariant.d.ts +1 -1
  1482. package/dist/kernel/tool-call-timeout-policy/package.json +1 -1
  1483. package/dist/kernel/tool-cordis/lib/index.js +655 -83
  1484. package/dist/kernel/tool-cordis/lib/types/api-catalog.js +439 -41
  1485. package/dist/kernel/tool-cordis/lib/types/fiber-state.d.ts +1 -1
  1486. package/dist/kernel/tool-cordis/lib/types/index.d.ts +1 -1
  1487. package/dist/kernel/tool-cordis/lib/types/inspect.d.ts +1 -1
  1488. package/dist/kernel/tool-cordis/lib/types/invariant.d.ts +1 -1
  1489. package/dist/kernel/tool-cordis/lib/types/providers.d.ts +1 -1
  1490. package/dist/kernel/tool-cordis/package.json +1 -1
  1491. package/dist/kernel/tool-fs/lib/index.js +81 -53
  1492. package/dist/kernel/tool-fs/lib/types/edit.d.ts +1 -1
  1493. package/dist/kernel/tool-fs/lib/types/index.d.ts +2 -2
  1494. package/dist/kernel/tool-fs/lib/types/index.js +1 -1
  1495. package/dist/kernel/tool-fs/lib/types/invariant.d.ts +1 -1
  1496. package/dist/kernel/tool-fs/lib/types/read-image.d.ts +17 -13
  1497. package/dist/kernel/tool-fs/lib/types/read-image.js +73 -29
  1498. package/dist/kernel/tool-fs/lib/types/read-target.d.ts +1 -1
  1499. package/dist/kernel/tool-fs/lib/types/read.d.ts +1 -1
  1500. package/dist/kernel/tool-fs/lib/types/sandbox.d.ts +1 -1
  1501. package/dist/kernel/tool-fs/lib/types/write.d.ts +1 -1
  1502. package/dist/kernel/tool-fs/package.json +1 -1
  1503. package/dist/kernel/tool-fs-search/lib/index.js +12 -8
  1504. package/dist/kernel/tool-fs-search/lib/types/direct-call.d.ts +1 -1
  1505. package/dist/kernel/tool-fs-search/lib/types/glob.d.ts +1 -1
  1506. package/dist/kernel/tool-fs-search/lib/types/grep.d.ts +1 -1
  1507. package/dist/kernel/tool-fs-search/lib/types/index.d.ts +2 -2
  1508. package/dist/kernel/tool-fs-search/lib/types/index.js +1 -1
  1509. package/dist/kernel/tool-fs-search/lib/types/invariant.d.ts +1 -1
  1510. package/dist/kernel/tool-fs-search/lib/types/search-core.d.ts +6 -7
  1511. package/dist/kernel/tool-fs-search/lib/types/search-core.js +12 -7
  1512. package/dist/kernel/tool-fs-search/package.json +1 -1
  1513. package/dist/kernel/tool-goal/lib/index.js +1 -1
  1514. package/dist/kernel/tool-goal/lib/types/authority.d.ts +1 -1
  1515. package/dist/kernel/tool-goal/lib/types/index.d.ts +2 -2
  1516. package/dist/kernel/tool-goal/lib/types/index.js +1 -1
  1517. package/dist/kernel/tool-goal/lib/types/invariant.d.ts +1 -1
  1518. package/dist/kernel/tool-goal/package.json +1 -1
  1519. package/dist/kernel/tool-jobs/lib/index.js +1 -1
  1520. package/dist/kernel/tool-jobs/lib/types/index.d.ts +2 -2
  1521. package/dist/kernel/tool-jobs/lib/types/index.js +1 -1
  1522. package/dist/kernel/tool-jobs/lib/types/invariant.d.ts +1 -1
  1523. package/dist/kernel/tool-jobs/package.json +1 -1
  1524. package/dist/kernel/tool-lsp/lib/index.js +1 -1
  1525. package/dist/kernel/tool-lsp/lib/types/index.d.ts +2 -2
  1526. package/dist/kernel/tool-lsp/lib/types/index.js +1 -1
  1527. package/dist/kernel/tool-lsp/lib/types/invariant.d.ts +1 -1
  1528. package/dist/kernel/tool-lsp/package.json +1 -1
  1529. package/dist/kernel/tool-pwsh/lib/index.js +1 -1
  1530. package/dist/kernel/tool-pwsh/lib/types/index.d.ts +2 -2
  1531. package/dist/kernel/tool-pwsh/lib/types/index.js +1 -1
  1532. package/dist/kernel/tool-pwsh/lib/types/invariant.d.ts +1 -1
  1533. package/dist/kernel/tool-pwsh/package.json +1 -1
  1534. package/dist/kernel/tool-pwsh-persistent/lib/index.js +407 -0
  1535. package/dist/kernel/tool-pwsh-persistent/lib/invariant.js +24 -0
  1536. package/dist/kernel/tool-pwsh-persistent/lib/types/index.d.ts +24 -0
  1537. package/dist/kernel/tool-pwsh-persistent/lib/types/index.js +465 -0
  1538. package/dist/kernel/tool-pwsh-persistent/lib/types/invariant.d.ts +16 -0
  1539. package/dist/kernel/tool-pwsh-persistent/lib/types/invariant.js +23 -0
  1540. package/dist/kernel/tool-pwsh-persistent/package.json +62 -0
  1541. package/dist/kernel/tool-ralph/lib/index.js +1 -1
  1542. package/dist/kernel/tool-ralph/lib/types/index.d.ts +2 -2
  1543. package/dist/kernel/tool-ralph/lib/types/index.js +1 -1
  1544. package/dist/kernel/tool-ralph/lib/types/invariant.d.ts +1 -1
  1545. package/dist/kernel/tool-ralph/package.json +1 -1
  1546. package/dist/kernel/tool-session-query/lib/index.js +1 -1
  1547. package/dist/kernel/tool-session-query/lib/types/index.d.ts +2 -2
  1548. package/dist/kernel/tool-session-query/lib/types/index.js +1 -1
  1549. package/dist/kernel/tool-session-query/lib/types/invariant.d.ts +1 -1
  1550. package/dist/kernel/tool-session-query/lib/types/operations.d.ts +1 -1
  1551. package/dist/kernel/tool-session-query/lib/types/service-boundary.d.ts +1 -1
  1552. package/dist/kernel/tool-session-query/lib/types/workspace-access.d.ts +1 -1
  1553. package/dist/kernel/tool-session-query/package.json +1 -1
  1554. package/dist/kernel/tool-skill/lib/index.js +1 -1
  1555. package/dist/kernel/tool-skill/lib/types/index.d.ts +2 -2
  1556. package/dist/kernel/tool-skill/lib/types/index.js +1 -1
  1557. package/dist/kernel/tool-skill/lib/types/invariant.d.ts +1 -1
  1558. package/dist/kernel/tool-skill/package.json +1 -1
  1559. package/dist/kernel/tool-str-replace-editor/lib/index.js +1 -1
  1560. package/dist/kernel/tool-str-replace-editor/lib/types/index.d.ts +2 -2
  1561. package/dist/kernel/tool-str-replace-editor/lib/types/index.js +1 -1
  1562. package/dist/kernel/tool-str-replace-editor/lib/types/invariant.d.ts +1 -1
  1563. package/dist/kernel/tool-str-replace-editor/package.json +1 -1
  1564. package/dist/kernel/tool-subagent/lib/index.js +11 -9
  1565. package/dist/kernel/tool-subagent/lib/types/index.d.ts +2 -2
  1566. package/dist/kernel/tool-subagent/lib/types/index.js +16 -9
  1567. package/dist/kernel/tool-subagent/lib/types/invariant.d.ts +1 -1
  1568. package/dist/kernel/tool-subagent/package.json +1 -1
  1569. package/dist/kernel/tool-subagent-control/lib/types/index.d.ts +1 -1
  1570. package/dist/kernel/tool-subagent-control/lib/types/invariant.d.ts +1 -1
  1571. package/dist/kernel/tool-subagent-control/lib/types/list-agents.d.ts +1 -1
  1572. package/dist/kernel/tool-subagent-control/package.json +1 -1
  1573. package/dist/kernel/tool-subagent-report/lib/index.js +2 -2
  1574. package/dist/kernel/tool-subagent-report/lib/types/index.d.ts +5 -5
  1575. package/dist/kernel/tool-subagent-report/lib/types/index.js +2 -2
  1576. package/dist/kernel/tool-subagent-report/lib/types/invariant.d.ts +1 -1
  1577. package/dist/kernel/tool-subagent-report/package.json +1 -1
  1578. package/dist/kernel/tool-terminal/lib/index.js +1 -1
  1579. package/dist/kernel/tool-terminal/lib/types/index.d.ts +2 -2
  1580. package/dist/kernel/tool-terminal/lib/types/index.js +1 -1
  1581. package/dist/kernel/tool-terminal/lib/types/invariant.d.ts +1 -1
  1582. package/dist/kernel/tool-terminal/package.json +1 -1
  1583. package/dist/kernel/tool-todo/lib/index.js +6 -3
  1584. package/dist/kernel/tool-todo/lib/types/index.d.ts +2 -2
  1585. package/dist/kernel/tool-todo/lib/types/index.js +3 -3
  1586. package/dist/kernel/tool-todo/lib/types/invariant.d.ts +1 -1
  1587. package/dist/kernel/tool-todo/lib/types/types.d.ts +3 -0
  1588. package/dist/kernel/tool-todo/package.json +1 -1
  1589. package/dist/kernel/tool-web/lib/index.js +102 -27
  1590. package/dist/kernel/tool-web/lib/types/fetch.d.ts +1 -1
  1591. package/dist/kernel/tool-web/lib/types/index.d.ts +6 -4
  1592. package/dist/kernel/tool-web/lib/types/index.js +6 -4
  1593. package/dist/kernel/tool-web/lib/types/invariant.d.ts +1 -1
  1594. package/dist/kernel/tool-web/lib/types/search.d.ts +24 -21
  1595. package/dist/kernel/tool-web/lib/types/search.js +109 -20
  1596. package/dist/kernel/tool-web/package.json +1 -1
  1597. package/dist/kernel/tool-workflow/lib/index.js +1 -1
  1598. package/dist/kernel/tool-workflow/lib/types/index.d.ts +2 -2
  1599. package/dist/kernel/tool-workflow/lib/types/index.js +1 -1
  1600. package/dist/kernel/tool-workflow/lib/types/invariant.d.ts +1 -1
  1601. package/dist/kernel/tool-workflow/package.json +1 -1
  1602. package/dist/kernel/tools/lib/index.js +2 -2
  1603. package/dist/kernel/tools/lib/types/index.d.ts +2 -2
  1604. package/dist/kernel/tools/lib/types/index.js +2 -2
  1605. package/dist/kernel/tools/lib/types/invariant.d.ts +1 -1
  1606. package/dist/kernel/tools/package.json +1 -1
  1607. package/dist/kernel/typert-generator/lib/index.js +8 -3
  1608. package/dist/kernel/typert-generator/lib/types/cordis-catalog.js +8 -3
  1609. package/dist/kernel/typert-generator/lib/types/invariant.d.ts +1 -1
  1610. package/dist/kernel/typert-generator/package.json +1 -1
  1611. package/dist/kernel/typert-loader/lib/index.js +1 -1
  1612. package/dist/kernel/typert-loader/lib/types/index.d.ts +2 -2
  1613. package/dist/kernel/typert-loader/lib/types/index.js +1 -1
  1614. package/dist/kernel/typert-loader/lib/types/invariant.d.ts +1 -1
  1615. package/dist/kernel/typert-loader/package.json +1 -1
  1616. package/dist/kernel/typert-protocol/lib/index.js +1 -1
  1617. package/dist/kernel/typert-protocol/lib/types/index.d.ts +1 -1
  1618. package/dist/kernel/typert-protocol/lib/types/index.js +1 -1
  1619. package/dist/kernel/typert-protocol/lib/types/invariant.d.ts +1 -1
  1620. package/dist/kernel/typert-protocol/lib/types/types.d.ts +1 -1
  1621. package/dist/kernel/typert-protocol/package.json +1 -1
  1622. package/dist/kernel/typert-registry/lib/index.js +1 -1
  1623. package/dist/kernel/typert-registry/lib/types/client/index.d.ts +1 -1
  1624. package/dist/kernel/typert-registry/lib/types/invariant.d.ts +1 -1
  1625. package/dist/kernel/typert-registry/lib/types/service.d.ts +1 -1
  1626. package/dist/kernel/typert-registry/lib/types/service.js +1 -1
  1627. package/dist/kernel/typert-registry/package.json +1 -1
  1628. package/dist/kernel/user-approval/lib/index.js +2 -2
  1629. package/dist/kernel/user-approval/lib/invariant.js +2 -2
  1630. package/dist/kernel/user-approval/lib/types/index.d.ts +2 -2
  1631. package/dist/kernel/user-approval/lib/types/index.js +2 -2
  1632. package/dist/kernel/user-approval/lib/types/invariant.d.ts +1 -1
  1633. package/dist/kernel/user-approval/package.json +1 -1
  1634. package/dist/kernel/user-questions/lib/index.js +1 -1
  1635. package/dist/kernel/user-questions/lib/types/index.d.ts +1 -1
  1636. package/dist/kernel/user-questions/lib/types/index.js +1 -1
  1637. package/dist/kernel/user-questions/lib/types/invariant.d.ts +1 -1
  1638. package/dist/kernel/user-questions/package.json +1 -1
  1639. package/dist/kernel/web/lib/index.js +2 -2
  1640. package/dist/kernel/web/lib/types/index.d.ts +2 -2
  1641. package/dist/kernel/web/lib/types/index.js +2 -2
  1642. package/dist/kernel/web/lib/types/invariant.d.ts +1 -1
  1643. package/dist/kernel/web/lib/types/types.d.ts +4 -3
  1644. package/dist/kernel/web/package.json +1 -1
  1645. package/dist/kernel/web-app/cordis.patch.yml +27 -6
  1646. package/dist/kernel/web-app/lib/index.js +112 -16
  1647. package/dist/kernel/web-app/lib/startup.js +4 -2
  1648. package/dist/kernel/web-app/lib/types/index.d.ts +10 -6
  1649. package/dist/kernel/web-app/lib/types/index.js +117 -24
  1650. package/dist/kernel/web-app/lib/types/invariant.d.ts +1 -1
  1651. package/dist/kernel/web-app/lib/types/startup.d.ts +4 -2
  1652. package/dist/kernel/web-app/lib/types/startup.js +4 -1
  1653. package/dist/kernel/web-app/package.json +12 -2
  1654. package/dist/kernel/web-fetch-http/lib/index.js +2 -2
  1655. package/dist/kernel/web-fetch-http/lib/types/index.d.ts +3 -3
  1656. package/dist/kernel/web-fetch-http/lib/types/index.js +2 -2
  1657. package/dist/kernel/web-fetch-http/lib/types/invariant.d.ts +1 -1
  1658. package/dist/kernel/web-fetch-http/package.json +1 -1
  1659. package/dist/kernel/web-frontend/dist/assets/index-BnapMmQ_.css +1 -0
  1660. package/dist/kernel/web-frontend/dist/assets/index-Dx7Ws_OC.js +96 -0
  1661. package/dist/kernel/web-frontend/dist/assets/langs/{php-D-uCvoST.js → php-DDkx9sim.js} +2 -2
  1662. package/dist/{assets/web/assets/langs/ruby-DEItuUFs.js → kernel/web-frontend/dist/assets/langs/ruby-DCxyoPen.js} +2 -2
  1663. package/dist/kernel/web-frontend/dist/assets/{vendor-Cjbwl5VI.js → vendor-D22_Mp1f.js} +2 -2
  1664. package/dist/kernel/web-frontend/dist/favicon.svg +8 -0
  1665. package/dist/kernel/web-frontend/dist/index.html +5 -5
  1666. package/dist/kernel/web-frontend/package.json +5 -8
  1667. package/dist/kernel/web-search-deepseek/lib/index.js +2 -2
  1668. package/dist/kernel/web-search-deepseek/lib/types/index.d.ts +2 -2
  1669. package/dist/kernel/web-search-deepseek/lib/types/index.js +1 -1
  1670. package/dist/kernel/web-search-deepseek/lib/types/invariant.d.ts +1 -1
  1671. package/dist/kernel/web-search-deepseek/lib/types/provider.js +1 -1
  1672. package/dist/kernel/web-search-deepseek/package.json +1 -1
  1673. package/dist/kernel/web-search-exa/lib/index.js +2 -2
  1674. package/dist/kernel/web-search-exa/lib/types/index.d.ts +2 -2
  1675. package/dist/kernel/web-search-exa/lib/types/index.js +1 -1
  1676. package/dist/kernel/web-search-exa/lib/types/invariant.d.ts +1 -1
  1677. package/dist/kernel/web-search-exa/lib/types/provider.js +1 -1
  1678. package/dist/kernel/web-search-exa/package.json +1 -1
  1679. package/dist/kernel/web-search-perplexity/lib/index.js +2 -2
  1680. package/dist/kernel/web-search-perplexity/lib/types/index.d.ts +2 -2
  1681. package/dist/kernel/web-search-perplexity/lib/types/index.js +1 -1
  1682. package/dist/kernel/web-search-perplexity/lib/types/invariant.d.ts +1 -1
  1683. package/dist/kernel/web-search-perplexity/lib/types/provider.js +1 -1
  1684. package/dist/kernel/web-search-perplexity/package.json +1 -1
  1685. package/dist/kernel/workflow/lib/index.js +1 -1
  1686. package/dist/kernel/workflow/lib/types/index.d.ts +1 -1
  1687. package/dist/kernel/workflow/lib/types/index.js +1 -1
  1688. package/dist/kernel/workflow/lib/types/invariant.d.ts +1 -1
  1689. package/dist/kernel/workflow/package.json +1 -1
  1690. package/dist/kernel/workflow-worker-thread/lib/index.js +1 -1
  1691. package/dist/kernel/workflow-worker-thread/lib/types/host.d.ts +1 -1
  1692. package/dist/kernel/workflow-worker-thread/lib/types/index.d.ts +2 -2
  1693. package/dist/kernel/workflow-worker-thread/lib/types/index.js +1 -1
  1694. package/dist/kernel/workflow-worker-thread/lib/types/invariant.d.ts +1 -1
  1695. package/dist/kernel/workflow-worker-thread/package.json +1 -1
  1696. package/dist/kernel/workspace/lib/index.js +1 -1
  1697. package/dist/kernel/workspace/lib/invariant.js +1 -1
  1698. package/dist/kernel/workspace/lib/types/index.d.ts +1 -1
  1699. package/dist/kernel/workspace/lib/types/index.js +1 -1
  1700. package/dist/kernel/workspace/lib/types/invariant.d.ts +1 -1
  1701. package/dist/kernel/workspace/package.json +1 -1
  1702. package/dist/licenses/landlock-run.LICENSE +28 -0
  1703. package/dist/native/landlock-run/linux-arm64/landlock-run +0 -0
  1704. package/dist/native/landlock-run/linux-x64/landlock-run +0 -0
  1705. package/dist/plugins/manifest.json +50 -10
  1706. package/dist/runtime/index.js +0 -2
  1707. package/package.json +14 -17
  1708. package/dist/assets/web/assets/index-B_fSXASy.css +0 -1
  1709. package/dist/assets/web/assets/index-B_sZ-Gsu.js +0 -112
  1710. package/dist/cli/builtin-registry.d.ts +0 -5
  1711. package/dist/cli/profile-boot-CeU09iFc.js +0 -2
  1712. package/dist/kernel/app-boot/lib/types/legacy-branding.d.ts +0 -6
  1713. package/dist/kernel/app-boot/lib/types/legacy-branding.js +0 -18
  1714. package/dist/kernel/client-schema-form/lib/index.js +0 -137
  1715. package/dist/kernel/client-schema-form/lib/types/index.d.ts +0 -10
  1716. package/dist/kernel/client-schema-form/lib/types/index.js +0 -9
  1717. package/dist/kernel/client-schema-form/lib/types/model.d.ts +0 -66
  1718. package/dist/kernel/client-schema-form/lib/types/model.js +0 -153
  1719. package/dist/kernel/client-ui-subagent/lib/types/client/SubagentCatalogAction.d.ts +0 -18
  1720. package/dist/kernel/client-ui-theme/lib/styles/base.css +0 -15
  1721. package/dist/kernel/client-ui-theme/lib/styles/design-platform.css +0 -338
  1722. package/dist/kernel/client-ui-theme/lib/styles/gradient-shadow-text.css +0 -232
  1723. package/dist/kernel/client-ui-theme/lib/styles/scrollbar.css +0 -90
  1724. package/dist/kernel/client-ui-theme/lib/styles/shiki.css +0 -31
  1725. package/dist/kernel/client-web/lib/types/AppRoot.d.ts +0 -16
  1726. package/dist/kernel/client-web/lib/types/AppRoot.js +0 -27
  1727. package/dist/kernel/client-web/lib/types/DocumentTitle.js +0 -16
  1728. package/dist/kernel/client-web/lib/types/app-shell.d.ts +0 -28
  1729. package/dist/kernel/client-web/lib/types/app-shell.js +0 -27
  1730. package/dist/kernel/client-web/lib/types/app.d.ts +0 -21
  1731. package/dist/kernel/client-web-react/lib/index.js +0 -810
  1732. package/dist/kernel/client-web-react/lib/types/index.d.ts +0 -16
  1733. package/dist/kernel/client-web-react/lib/types/index.js +0 -6
  1734. package/dist/kernel/client-web-react/lib/types/use-invoke.d.ts +0 -9
  1735. package/dist/kernel/client-web-react/lib/types/use-invoke.js +0 -52
  1736. package/dist/kernel/skill-badge/assets/nomix-badge.svg +0 -8
  1737. package/dist/kernel/web-frontend/dist/assets/index-B_fSXASy.css +0 -1
  1738. package/dist/kernel/web-frontend/dist/assets/index-B_sZ-Gsu.js +0 -112
  1739. /package/dist/kernel/{client-web-react/lib/types → client-ui-renderer/lib/types/client}/bind.js +0 -0
  1740. /package/dist/kernel/{client-web-react/lib/types → client-ui-renderer/lib/types/client}/session-provider.js +0 -0
@@ -356,6 +356,140 @@ const SERVICE_API = [
356
356
  }
357
357
  ]
358
358
  },
359
+ {
360
+ key: "agentTeams",
361
+ summary: "Agent Teams service backed by the exact live Lead Session log.",
362
+ description: "Agent Teams service backed by the exact live Lead Session log.",
363
+ methods: [
364
+ {
365
+ signature: "membership(agent: Agent): TeamMembership",
366
+ description: "Resolve one exact live Agent's Team role.",
367
+ parameters: [{
368
+ name: "agent",
369
+ description: "exact live Agent used as the authority credential."
370
+ }],
371
+ returns: "its root, Team identity, role, and model-facing name."
372
+ },
373
+ {
374
+ signature: "listMembers(agent: Agent): TeamMemberView[]",
375
+ description: "List the runtime-enriched roster visible to one Team member.",
376
+ parameters: [{
377
+ name: "agent",
378
+ description: "exact live Team member."
379
+ }],
380
+ returns: "Lead and teammate rows in creation order."
381
+ },
382
+ {
383
+ signature: "async spawnTeammate(caller: Agent, request: SpawnTeammateRequest): Promise<SpawnTeammateResult>",
384
+ description: "Create one named, continuable direct child of the Team Lead.",
385
+ parameters: [{
386
+ name: "caller",
387
+ description: "exact live Lead Agent."
388
+ }, {
389
+ name: "request",
390
+ description: "immutable name, description, prompt, context mode, provider, and cancellation."
391
+ }],
392
+ returns: "the active roster row."
393
+ },
394
+ {
395
+ signature: "async sendMessage(caller: Agent, request: SendTeamMessageRequest): Promise<SendTeamMessageResult>",
396
+ description: "Queue one durable peer message, then attempt immediate delivery.",
397
+ parameters: [{
398
+ name: "caller",
399
+ description: "exact live sending Team member."
400
+ }, {
401
+ name: "request",
402
+ description: "target name, content, scheduling mode, and pre-queue cancellation."
403
+ }],
404
+ returns: "durable message identity and immediate-delivery observation."
405
+ },
406
+ {
407
+ signature: "async createTask(caller: Agent, request: CreateTeamTaskRequest): Promise<TeamTaskView>",
408
+ description: "Create one unowned pending task in the Team Lead log.",
409
+ parameters: [{
410
+ name: "caller",
411
+ description: "exact live Team member creating the task."
412
+ }, {
413
+ name: "request",
414
+ description: "task text, blockers, and advisory write scopes."
415
+ }],
416
+ returns: "the revision-one task view."
417
+ },
418
+ {
419
+ signature: "getTask(caller: Agent, id: TeamTaskId): TeamTaskView",
420
+ description: "Return one task, including a deleted tombstone.",
421
+ parameters: [{
422
+ name: "caller",
423
+ description: "exact live Team member reading the task."
424
+ }, {
425
+ name: "id",
426
+ description: "Team-local task identity."
427
+ }],
428
+ returns: "the latest task value and derived readiness diagnostics."
429
+ },
430
+ {
431
+ signature: "listTasks(caller: Agent): TeamTaskView[]",
432
+ description: "List current non-deleted tasks in numeric creation order.",
433
+ parameters: [{
434
+ name: "caller",
435
+ description: "exact live Team member reading the board."
436
+ }],
437
+ returns: "detached current task views."
438
+ },
439
+ {
440
+ signature: "async updateTask(caller: Agent, request: UpdateTeamTaskRequest): Promise<TeamTaskView>",
441
+ description: "Compare-and-set one authorized task transition.",
442
+ parameters: [{
443
+ name: "caller",
444
+ description: "exact live Team member authorizing the mutation."
445
+ }, {
446
+ name: "request",
447
+ description: "task identity, expected revision, action, and action fields."
448
+ }],
449
+ returns: "the committed next task revision."
450
+ },
451
+ {
452
+ signature: "async waitForChange(caller: Agent, timeoutMs: number, signal: AbortSignal): Promise<TeamWaitResult>",
453
+ description: "Wait for the next Team-domain or member-status change.",
454
+ parameters: [
455
+ {
456
+ name: "caller",
457
+ description: "exact live Team member waiting for activity."
458
+ },
459
+ {
460
+ name: "timeoutMs",
461
+ description: "bounded wait duration from ten seconds through one hour."
462
+ },
463
+ {
464
+ name: "signal",
465
+ description: "caller cancellation for the wait only."
466
+ }
467
+ ],
468
+ returns: "one observed change or a timeout result."
469
+ },
470
+ {
471
+ signature: "interrupt(caller: Agent, targetName: string): { previousStatus: 'running' | 'idle' | 'inactive' }",
472
+ description: "Interrupt one live teammate turn without clearing its pending inbox.",
473
+ parameters: [{
474
+ name: "caller",
475
+ description: "exact live Lead Agent."
476
+ }, {
477
+ name: "targetName",
478
+ description: "durable teammate name."
479
+ }],
480
+ returns: "the target status sampled before cancellation."
481
+ },
482
+ {
483
+ signature: "tryMembership(agent: Agent): TeamMembership | undefined",
484
+ description: "Resolve a caller without throwing, used by scoped-tool installation and observers.",
485
+ parameters: [{
486
+ name: "agent",
487
+ description: "candidate exact live Agent."
488
+ }],
489
+ returns: "Team membership, or undefined for non-Team subagents and stale identities."
490
+ }
491
+ ]
492
+ },
359
493
  {
360
494
  key: "apiProxy",
361
495
  summary: "Root interface of the unified API.",
@@ -432,21 +566,21 @@ const SERVICE_API = [
432
566
  },
433
567
  {
434
568
  signature: "async saveImages(inputs: readonly SaveImageAttachment[]): Promise<readonly ImageAttachmentRef[]>",
435
- description: "Validate one ordered image batch before committing any member. Validation failures start no writes; storage failures return no partial references, although already published content-addressed objects may stay unreachable until a future retention policy collects them.",
569
+ description: "Validate and durably commit one ordered image batch.",
436
570
  parameters: [{
437
571
  name: "inputs",
438
- description: "encoded images in their owning message order."
572
+ description: "encoded images in owning-message order."
439
573
  }],
440
- returns: "durable references in the exact input order."
574
+ returns: "durable normalized attachment references in the same order after every member succeeds."
441
575
  },
442
576
  {
443
577
  signature: "abstract saveImage(input: SaveImageAttachment): Promise<ImageAttachmentRef>",
444
- description: "Validate and durably commit one image before its owning session event is appended.",
578
+ description: "Validate and durably commit one image before its owning session event is appended. The returned reference describes the persisted normalized image. When normalization reduces the raster, its `originalDimensions` records the orientation-applied input dimensions.",
445
579
  parameters: [{
446
580
  name: "input",
447
581
  description: "encoded bytes, declared media type, and optional display name."
448
582
  }],
449
- returns: "a durable content-addressed reference."
583
+ returns: "the durable content-addressed normalized image reference."
450
584
  },
451
585
  {
452
586
  signature: "abstract readImage(ref: ImageAttachmentRef, signal?: AbortSignal): Promise<StoredImageAttachment>",
@@ -458,15 +592,84 @@ const SERVICE_API = [
458
592
  name: "signal",
459
593
  description: "optional cancellation for backend read and verification work."
460
594
  }],
461
- returns: "the verified bytes and canonical reference.",
595
+ returns: "the verified bytes and normalized attachment reference.",
462
596
  throws: ["the signal reason when aborted, or a storage error when verification fails."]
597
+ },
598
+ {
599
+ signature: "readImageRequest( ref: ImageAttachmentRef, policy: ImageRequestPolicy, signal?: AbortSignal, ): Promise<RequestImageAttachment>",
600
+ description: "Generate or read one deterministic model-request version from the stored normalized image.",
601
+ parameters: [
602
+ {
603
+ name: "ref",
604
+ description: "durable provider-independent normalized attachment reference."
605
+ },
606
+ {
607
+ name: "policy",
608
+ description: "exact route pixel and encoded-byte budget."
609
+ },
610
+ {
611
+ name: "signal",
612
+ description: "optional cancellation."
613
+ }
614
+ ],
615
+ returns: "request bytes and the cache/upload identity covering every transform input."
616
+ }
617
+ ]
618
+ },
619
+ {
620
+ key: "authorization",
621
+ summary: "`ctx.authorization`: a registry of credential-obtaining flows, one attempt at a time per key.",
622
+ description: "`ctx.authorization`: a registry of credential-obtaining flows, one attempt at a time per key.",
623
+ methods: [
624
+ {
625
+ signature: "registerFlow(flow: AuthorizationFlow): () => void",
626
+ description: "Offer a way to obtain one credential. One flow per key: two plugins claiming the same key would each write a record in their own format, and whichever ran last would leave the other reading a payload it cannot parse.",
627
+ parameters: [{
628
+ name: "flow",
629
+ description: "the key it writes, its label, its methods, and its runner."
630
+ }],
631
+ returns: "Disposer that withdraws this flow.",
632
+ throws: ["{AuthorizationError} code `DUPLICATE_FLOW` when the key is already claimed."]
633
+ },
634
+ {
635
+ signature: "list(): readonly AuthorizationEntry[]",
636
+ description: "Every registered flow, for a surface listing what can be authorized.",
637
+ parameters: [],
638
+ returns: "one entry per flow, in registration order."
639
+ },
640
+ {
641
+ signature: "describe(key: CredentialKey): AuthorizationEntry | undefined",
642
+ description: "One registered flow.",
643
+ parameters: [{
644
+ name: "key",
645
+ description: "the credential record to ask about."
646
+ }],
647
+ returns: "the entry, or undefined when no flow claims that key."
648
+ },
649
+ {
650
+ signature: "cancel(key: CredentialKey): void",
651
+ description: "Withdraw the attempt running for a key, if any. Separate from the request's own signal because a request/response transport answers a Cancel button on a second call, with no handle on the first one's signal.",
652
+ parameters: [{
653
+ name: "key",
654
+ description: "the credential record whose attempt should stop."
655
+ }]
656
+ },
657
+ {
658
+ signature: "async begin(request: AuthorizationRequest): Promise<AuthorizationOutcome>",
659
+ description: "Run one attempt to authorize a key, and report how it ended.\n\nOne attempt per key at a time. A second caller is refused rather than joined: the two would be prompting different humans through the same flow, and the second would answer questions the first was asked.",
660
+ parameters: [{
661
+ name: "request",
662
+ description: "the key, the method, the surface, and the cancel signal."
663
+ }],
664
+ returns: "`authorized` once the flow's record is committed during this attempt and observed, or `cancelled` when the human declined or the caller withdrew.",
665
+ throws: ["{AuthorizationError} code `NO_FLOW` when nothing claims the key, `UNKNOWN_METHOD` when the named method is not one the flow offers, `ALREADY_IN_FLIGHT` when an attempt is already running for the key, or `NOT_COMMITTED` when the flow resolved without committing a record during the attempt."]
463
666
  }
464
667
  ]
465
668
  },
466
669
  {
467
670
  key: "clientModules",
468
- summary: "The web plugin table service: incremental `nomix.client` scan + wire composition + bundle route + index tap.",
469
- description: "The web plugin table service: incremental `nomix.client` scan + wire composition + bundle route + index tap. Construction runs the activation scan synchronously — a malformed declaration or missing bundle among the already-loaded entries aggregates into one loud throw (FAILED fiber; the boot activation audit reports it).",
671
+ summary: "The web plugin table service: incremental `nomix.client` scan + wire composition + bundle route + index injection rows.",
672
+ description: "The web plugin table service: incremental `nomix.client` scan + wire composition + bundle route + index injection rows. Construction runs the activation scan synchronously — a malformed declaration or missing bundle among the already-loaded entries aggregates into one loud throw (FAILED fiber; the boot activation audit reports it).",
470
673
  methods: [
471
674
  {
472
675
  signature: "graph(): WebBootGraph",
@@ -574,8 +777,8 @@ const SERVICE_API = [
574
777
  returns: "the scoped shadow or global definition."
575
778
  },
576
779
  {
577
- signature: "@Remote async execute( agent: Agent, line: string, signal: AbortSignal, ): Promise<CommandExecution | undefined>",
578
- description: "Parse and execute a known command without sending it to the model.\n\nA resolved command's lifecycle is logged: `command/run` is appended before the handler is invoked and `command/done` after settlement (a thrown or aborted handler settles as `kind: 'error'`). Both are direct log-only appends — no turn wraps them, and persistence drains them at ordinary checkpoints. Admission misses (syntax or unknown name) log nothing — they never entered a handler. A `command/run` append failure fails the execution loud; a `command/done` append failure on the handler-failure path is contained so the handler's own error stays the reported failure.",
780
+ signature: "@Remote async execute( agent: Agent, line: string, images: readonly EncodedImageAttachment[], signal: AbortSignal, ): Promise<CommandExecution | undefined>",
781
+ description: "Parse and execute a known command without sending it to the model.\n\nA resolved command's lifecycle is logged: `command/run` is appended before the handler is invoked and `command/done` after settlement (a thrown or aborted handler settles as `kind: 'error'`). Both are direct log-only appends — no turn wraps them, and persistence drains them at ordinary checkpoints. Admission misses (syntax or unknown name) log nothing — they never entered a handler. A `command/run` append failure fails the execution loud; a `command/done` append failure on the handler-failure path is contained so the handler's own error stays the reported failure.\n\nImage admission is enforced here, not in the composer: images sent to a command that does not declare `input.images`, an absent attachment store, and an exceeded attachment limit each settle as an error result before the handler runs, and a rejected batch publishes no durable object.",
579
782
  parameters: [
580
783
  {
581
784
  name: "agent",
@@ -585,6 +788,10 @@ const SERVICE_API = [
585
788
  name: "line",
586
789
  description: "complete slash-command line."
587
790
  },
791
+ {
792
+ name: "images",
793
+ description: "base64-encoded composer images accompanying the line, in submission order; empty for a plain invocation."
794
+ },
588
795
  {
589
796
  name: "signal",
590
797
  description: "cancellation signal owned by the UI request."
@@ -666,8 +873,8 @@ const SERVICE_API = [
666
873
  },
667
874
  {
668
875
  key: "credentials",
669
- summary: "Abstract credential service.",
670
- description: "Abstract credential service. Providers implement the four operations over their source layers; one seam-wide rule binds them all: an empty stored value is absent everywhere — `resolve` skips it, `describe` reports it unconfigured — so a blank never masquerades as a configured secret.",
876
+ summary: "Abstract credential service over two key spaces that answer two questions.",
877
+ description: "Abstract credential service over two key spaces that answer two questions.\n\nA CredentialRef answers \"what is behind this environment-variable name\", layered over the process environment, the provider-managed store, and `.env` files. One seam-wide rule binds that half: an empty stored value is absent everywhere — `resolve` skips it, `describe` reports it unconfigured — so a blank never masquerades as a configured secret.\n\nA CredentialKey answers \"what credential does this plugin hold for this id\". Nothing can layer here — an authorization grant has no environment to be read from — so presence of the record is the whole fact, and modifyRecord is the only write path because a correct write depends on the current value (a token refresh is read-decide-replace under one lock).",
671
878
  methods: [
672
879
  {
673
880
  signature: "abstract resolve(ref: CredentialRef): Promise<ResolvedCredential | undefined>",
@@ -705,6 +912,50 @@ const SERVICE_API = [
705
912
  name: "ref",
706
913
  description: "the reference to remove."
707
914
  }]
915
+ },
916
+ {
917
+ signature: "abstract readRecord(key: CredentialKey): Promise<CredentialRecord | undefined>",
918
+ description: "Read one stored record. The value is returned as its owner wrote it; a GrantRecord payload is not interpreted on the way out.",
919
+ parameters: [{
920
+ name: "key",
921
+ description: "the record to read."
922
+ }],
923
+ returns: "the record, or `undefined` while none is stored."
924
+ },
925
+ {
926
+ signature: "abstract describeRecord(key: CredentialKey): Promise<CredentialRecordInfo>",
927
+ description: "Describe one record for configuration surfaces without exposing its value.",
928
+ parameters: [{
929
+ name: "key",
930
+ description: "the record to describe."
931
+ }],
932
+ returns: "presence, discriminant, and writability."
933
+ },
934
+ {
935
+ signature: "abstract listRecords(): Promise<readonly CredentialRecordEntry[]>",
936
+ description: "Enumerate every stored record's address and tag. Unlike the reference half, which has no enumeration because configuration surfaces learn which references exist from settings schemas, records have no such discovery path: a surface that cannot list them cannot show what a user is authorized for, nor find an orphan left by an uninstalled plugin.",
937
+ parameters: [],
938
+ returns: "every stored record, values excluded."
939
+ },
940
+ {
941
+ signature: "abstract modifyRecord( key: CredentialKey, mutate: (current: CredentialRecord | undefined) => Promise<CredentialRecord | undefined>, ): Promise<CredentialRecord | undefined>",
942
+ description: "Serialized read-modify-write over one record — the only write path. `mutate` sees the record as it stands at the moment the write is exclusive, and returning `undefined` leaves the entry untouched. Exclusion holds across processes where the backing store supports it, which is what makes a token refresh safe: two processes rotating one refresh token concurrently would otherwise lose whichever wrote first.",
943
+ parameters: [{
944
+ name: "key",
945
+ description: "the record to modify."
946
+ }, {
947
+ name: "mutate",
948
+ description: "receives the current record and returns its replacement, or `undefined` to leave it."
949
+ }],
950
+ returns: "the record after the write, or the current one when `mutate` declined."
951
+ },
952
+ {
953
+ signature: "abstract deleteRecord(key: CredentialKey): Promise<void>",
954
+ description: "Remove one record; removing an absent record is a no-op.",
955
+ parameters: [{
956
+ name: "key",
957
+ description: "the record to remove."
958
+ }]
708
959
  }
709
960
  ]
710
961
  },
@@ -743,6 +994,48 @@ const SERVICE_API = [
743
994
  }
744
995
  ]
745
996
  },
997
+ {
998
+ key: "fileReferences",
999
+ summary: "Host capability for cancellable file-reference discovery.",
1000
+ description: "Host capability for cancellable file-reference discovery.",
1001
+ methods: [{
1002
+ signature: "abstract list( agent: Agent, query: string, signal: AbortSignal, ): Promise<FileReferenceCandidate[]>",
1003
+ description: "List file and directory candidates for one agent's working directory.",
1004
+ parameters: [
1005
+ {
1006
+ name: "agent",
1007
+ description: "target agent whose session cwd bounds discovery."
1008
+ },
1009
+ {
1010
+ name: "query",
1011
+ description: "path text following `@` or `@\"`."
1012
+ },
1013
+ {
1014
+ name: "signal",
1015
+ description: "caller cancellation."
1016
+ }
1017
+ ],
1018
+ returns: "deterministic path-only candidates."
1019
+ }, {
1020
+ signature: "@Remote('list') remoteExportList( agent: Agent, query: string, signal: AbortSignal, ): Promise<FileReferenceCandidate[]>",
1021
+ description: "Remote face of list; the decorator cannot mark the abstract member, so this concrete adapter carries the identical contract.",
1022
+ parameters: [
1023
+ {
1024
+ name: "agent",
1025
+ description: "target agent whose session cwd bounds discovery."
1026
+ },
1027
+ {
1028
+ name: "query",
1029
+ description: "path text following `@` or `@\"`."
1030
+ },
1031
+ {
1032
+ name: "signal",
1033
+ description: "caller cancellation."
1034
+ }
1035
+ ],
1036
+ returns: "deterministic path-only candidates."
1037
+ }]
1038
+ },
746
1039
  {
747
1040
  key: "fs",
748
1041
  summary: "Abstract filesystem provider.",
@@ -1692,10 +1985,10 @@ const SERVICE_API = [
1692
1985
  {
1693
1986
  key: "sessionProjections",
1694
1987
  summary: "`ctx.sessionProjections`: the projection unit table and its drive.",
1695
- description: "`ctx.sessionProjections`: the projection unit table and its drive. The service subscribes to `session/event` once; every committed event passes every registered unit's `apply` (eager drive), and a changed state reference notifies the change feed with the schema-validated view. Cells build lazily — a unit registered after events flowed, or a session older than the registry, folds `init` over the in-memory log on first touch (event or read). Registration is an effect (disposer rides the calling fiber): an unloaded domain plugin's key disappears from snapshots and clients read it as capability absence. Domain plugins register under `ctx.inject(['sessionProjections'], …)` so headless assemblies without the registry stay unaffected. Registrants sharing a key share one unit and are counted: the same tool package mounted in N agent presets registers N times, and the key survives until the last one unloads.",
1988
+ description: "`ctx.sessionProjections`: the projection unit table and its drive. The service subscribes to `session/event` once; every committed event passes every registered unit's `apply` (eager drive), and a changed state reference in a client-visible unit notifies the change feed with the schema-validated view. Cells build lazily — a unit registered after events flowed, or a session older than the registry, folds `init` over the in-memory log on first touch (event or read). Registration is an effect (disposer rides the calling fiber): an unloaded domain plugin's key disappears from snapshots and clients read it as capability absence. Domain plugins register under `ctx.inject(['sessionProjections'], …)` so headless assemblies without the registry stay unaffected. Registrants sharing a key share one unit and are counted: the same tool package mounted in N agent presets registers N times, and the key survives until the last one unloads.",
1696
1989
  methods: [
1697
1990
  {
1698
- signature: "register<K extends keyof SessionProjectionMap, S>(definition: ProjectionDefinition<K, S>): () => void",
1991
+ signature: "register< K extends keyof SessionProjectionMap, S extends SessionProjectionStateMap[K], >( definition: Omit<ProjectionDefinition<K, S>, 'wire'> & { wire: NonNullable<ProjectionDefinition<K, S>['wire']> }, ): () => void",
1699
1992
  description: "Register one domain's unit. The registration is an effect on the calling context's fiber: disposing the fiber (or calling the returned disposer) removes the key — and the unit's cached cells — from subsequent drives and snapshots.",
1700
1993
  parameters: [{
1701
1994
  name: "definition",
@@ -1703,32 +1996,53 @@ const SERVICE_API = [
1703
1996
  }],
1704
1997
  returns: "the exact disposer that unregisters this unit."
1705
1998
  },
1999
+ {
2000
+ signature: "register< K extends Exclude<keyof SessionProjectionStateMap, keyof SessionProjectionMap>, S extends SessionProjectionStateMap[K], >( definition: Omit<ProjectionDefinition<K, S>, 'wire'>, ): () => void",
2001
+ description: "Register one host-only unit. Its state is omitted from client snapshots and always checkpointed like every other unit.",
2002
+ parameters: [{
2003
+ name: "definition",
2004
+ description: "key, state schema, pure unit functions, and stateVersion."
2005
+ }],
2006
+ returns: "the exact disposer that unregisters this unit."
2007
+ },
1706
2008
  {
1707
2009
  signature: "onChanged(listener: ProjectionChangeListener): () => void",
1708
2010
  description: "Subscribe to the change feed. The registration is an effect on the calling context's fiber.",
1709
2011
  parameters: [{
1710
2012
  name: "listener",
1711
- description: "called once per unit whose state reference changed, per committed event."
2013
+ description: "called once per client-visible unit whose state reference changed, per committed event."
1712
2014
  }],
1713
2015
  returns: "the exact disposer that unsubscribes."
1714
2016
  },
2017
+ {
2018
+ signature: "stateOf<K extends keyof SessionProjectionStateMap>( session: Session, key: K, ): SessionProjectionStateMap[K] | undefined",
2019
+ description: "Read one unit's current host state without computing unrelated views. The returned value is live; callers must not mutate it.",
2020
+ parameters: [{
2021
+ name: "session",
2022
+ description: "the session whose state is read."
2023
+ }, {
2024
+ name: "key",
2025
+ description: "the registered unit key."
2026
+ }],
2027
+ returns: "current state, or `undefined` when the key is not registered."
2028
+ },
1715
2029
  {
1716
2030
  signature: "snapshot(session: Session): ProjectionSnapshot",
1717
- description: "One consistent cut over every registered unit for one session, read from the watermark cache (missing cells fold lazily over the in-memory log). Fully synchronous — every value and `asOfSeq` reflect the same log position. Each value passes its unit's schema before leaving.",
2031
+ description: "One consistent cut over every registered client-visible unit for one session, read from the watermark cache (missing cells fold lazily over the in-memory log). Fully synchronous — every value and `asOfSeq` reflect the same log position. Each value passes its unit's `viewSchema` before leaving.",
1718
2032
  parameters: [{
1719
2033
  name: "session",
1720
2034
  description: "the session whose projection values are read."
1721
2035
  }],
1722
- returns: "the snapshot; `values` is empty when no unit is registered."
2036
+ returns: "the snapshot; `values` is empty when no client-visible unit is registered."
1723
2037
  },
1724
2038
  {
1725
2039
  signature: "checkpoint(session: Session): ProjectionCheckpoint",
1726
- description: "State-level checkpoint of every registered unit for one session, read from the watermark cache (missing cells fold lazily over the in-memory log). This is the write side of the persisted projection cache: the returned rows are the `(key → {ver, seq, val})` part of the durable `(sessionId, key, ver, seq, val)` rows. Every `val` is a DETACHED structured clone — never the live cell reference: the watermark cache is this registry's authoritative mutable state, and a caller reaching the live reference could corrupt every subsequent snapshot and frame through it (plain JSON by the unit contract, so the clone is total).",
2040
+ description: "State-level checkpoint of every persisted unit for one session, read from the watermark cache (missing cells fold lazily over the in-memory log). This is the write side of the persisted projection cache: the returned rows are the `(key → {ver, seq, val})` part of the durable `(sessionId, key, ver, seq, val)` rows. Every `val` is a DETACHED structured clone — never the live cell reference: the watermark cache is this registry's authoritative mutable state, and a caller reaching the live reference could corrupt every subsequent snapshot and frame through it (plain JSON by the unit contract, so the clone is total).",
1727
2041
  parameters: [{
1728
2042
  name: "session",
1729
2043
  description: "the session whose unit states are checkpointed."
1730
2044
  }],
1731
- returns: "one row per registered key; empty when no unit is registered."
2045
+ returns: "one row per registered key."
1732
2046
  },
1733
2047
  {
1734
2048
  signature: "restoreFloor(checkpoint: ProjectionCheckpoint): number | undefined",
@@ -1741,7 +2055,7 @@ const SERVICE_API = [
1741
2055
  },
1742
2056
  {
1743
2057
  signature: "viewCheckpoint(checkpoint: ProjectionCheckpoint): Partial<SessionProjectionMap>",
1744
- description: "View a checkpoint's rows without any log read: for every registered unit whose row's `ver` matches, serve the schema-validated `view` of the stored state; mismatched or absent rows leave their key absent (a cold or listing consumer treats it as not-yet-available and a fuller read path refolds it). The zero-I/O rung of the read ladder — values are as stale as their rows, never wrong.",
2058
+ description: "View a checkpoint's rows without any log read: for every registered client-visible unit whose row's `ver` matches, serve the schema-validated `view` of the schema-validated stored state; mismatched, malformed, or absent rows leave their key absent (a cold or listing consumer treats it as not-yet-available and a fuller read path refolds it). The zero-I/O rung of the read ladder — values are as stale as their rows, never wrong.",
1745
2059
  parameters: [{
1746
2060
  name: "checkpoint",
1747
2061
  description: "persisted rows for one session (possibly stale or empty)."
@@ -1749,8 +2063,8 @@ const SERVICE_API = [
1749
2063
  returns: "whole values per key with a usable row; empty when none."
1750
2064
  },
1751
2065
  {
1752
- signature: "restore(checkpoint: ProjectionCheckpoint, events: readonly SessionEvent[], baseSeq: number): { snapshot: ProjectionSnapshot; checkpoint: ProjectionCheckpoint }",
1753
- description: "Cold read: fold every registered unit over a stored log suffix, seeding each from its checkpoint row when usable — the one read recipe (cached state + forward tail replay + `view`) applied without a live `Session`. Call with the events returned by a persistence `readFrom(id, restoreFloor(checkpoint))` and that same floor as `baseSeq`; the floor's one-below anchor makes the supplied end honest, so a shrunk log is detected here. A row is usable iff its `ver` matches the live unit's `stateVersion`, it does not predate `baseSeq` (`seq >= baseSeq - 1`), and it does not claim events past the supplied end (`seq <= endSeq`); an unusable row is discarded and its key refolds from `init` — which is only sound over the full log, so a discarded row with `baseSeq > 0` throws (the caller re-reads from seq 0, e.g. after a crash-repair truncation shrank the log below a row's watermark).",
2066
+ signature: "restore( checkpoint: ProjectionCheckpoint, events: readonly SessionEvent[], baseSeq: number, ): { snapshot: ProjectionSnapshot; checkpoint: ProjectionCheckpoint }",
2067
+ description: "Cold read: fold every persisted unit over a stored log suffix, seeding each from its checkpoint row when usable — the one read recipe (cached state + forward tail replay + `view`) applied without a live `Session`. Call with the events returned by a persistence `readFrom(id, restoreFloor(checkpoint))` and that same floor as `baseSeq`; the floor's one-below anchor makes the supplied end honest, so a shrunk log is detected here. A row is usable iff its `ver` matches the live unit's `stateVersion`, it does not predate `baseSeq` (`seq >= baseSeq - 1`), and it does not claim events past the supplied end (`seq <= endSeq`); an unusable row is discarded and its key refolds from `init` — which is only sound over the full log, so a discarded row with `baseSeq > 0` throws (the caller re-reads from seq 0, e.g. after a crash-repair truncation shrank the log below a row's watermark).",
1754
2068
  parameters: [
1755
2069
  {
1756
2070
  name: "checkpoint",
@@ -1940,51 +2254,73 @@ const SERVICE_API = [
1940
2254
  key: "sessionReferenceResolver",
1941
2255
  summary: "Exact-read consumer that prepares immutable cross-session message context.",
1942
2256
  description: "Exact-read consumer that prepares immutable cross-session message context.",
1943
- methods: [{
1944
- signature: "async listCandidates( agent: Agent, query: string = '', limit: number = this.config.candidateLimit, signal?: AbortSignal, ): Promise<SessionReferenceCandidate[]>",
1945
- description: "List reference candidates, ranked by working-directory affinity.",
1946
- parameters: [
1947
- {
1948
- name: "agent",
1949
- description: "target agent; self is excluded and its cwd drives ranking."
1950
- },
1951
- {
1952
- name: "query",
1953
- description: "optional case-insensitive session-id/cwd/title substring."
1954
- },
1955
- {
1956
- name: "limit",
1957
- description: "optional positive result cap."
1958
- },
1959
- {
1960
- name: "signal",
1961
- description: "optional cancellation boundary for host autocomplete teardown."
1962
- }
1963
- ],
1964
- returns: "candidates labeled by latest title or, when absent, session id."
1965
- }, {
1966
- signature: "async prepare( agent: Agent, content: ContentBlock[], references: SessionReferenceInput[], signal?: AbortSignal, ): Promise<PreparedReferencedMessage>",
1967
- description: "Snapshot all references before enqueue and return one aggregated durable context.",
1968
- parameters: [
1969
- {
1970
- name: "agent",
1971
- description: "target agent; references to it are rejected."
1972
- },
1973
- {
1974
- name: "content",
1975
- description: "already host-normalized readable message content."
1976
- },
1977
- {
1978
- name: "references",
1979
- description: "structured source sessions in mention order."
1980
- },
1981
- {
1982
- name: "signal",
1983
- description: "optional cancellation boundary for host request teardown."
1984
- }
1985
- ],
1986
- returns: "detached content and optional referenced-session context."
1987
- }]
2257
+ methods: [
2258
+ {
2259
+ signature: "async listCandidates( agent: Agent, query: string = '', limit: number = this.config.candidateLimit, signal?: AbortSignal, ): Promise<SessionReferenceCandidate[]>",
2260
+ description: "List reference candidates, ranked by working-directory affinity.",
2261
+ parameters: [
2262
+ {
2263
+ name: "agent",
2264
+ description: "target agent; self is excluded and its cwd drives ranking."
2265
+ },
2266
+ {
2267
+ name: "query",
2268
+ description: "optional case-insensitive session-id/cwd/title substring."
2269
+ },
2270
+ {
2271
+ name: "limit",
2272
+ description: "optional positive result cap."
2273
+ },
2274
+ {
2275
+ name: "signal",
2276
+ description: "optional cancellation boundary for host autocomplete teardown."
2277
+ }
2278
+ ],
2279
+ returns: "candidates labeled by latest title or, when absent, session id."
2280
+ },
2281
+ {
2282
+ signature: "@Remote('candidates') async remoteExportCandidates( agent: Agent, query: string, signal: AbortSignal, ): Promise<SessionReferenceMentionCandidate[]>",
2283
+ description: "Remote face of listCandidates: the configured candidate limit applies, and every candidate carries the canonical mention a host inserts into the prompt draft.",
2284
+ parameters: [
2285
+ {
2286
+ name: "agent",
2287
+ description: "target agent; self is excluded and its cwd drives ranking."
2288
+ },
2289
+ {
2290
+ name: "query",
2291
+ description: "optional case-insensitive session-id/cwd/title substring."
2292
+ },
2293
+ {
2294
+ name: "signal",
2295
+ description: "caller cancellation."
2296
+ }
2297
+ ],
2298
+ returns: "mention-carrying candidates in rank order."
2299
+ },
2300
+ {
2301
+ signature: "async prepare( agent: Agent, content: ContentBlock[], references: SessionReferenceInput[], signal?: AbortSignal, ): Promise<PreparedReferencedMessage>",
2302
+ description: "Snapshot all references for one accepted direct message and return one aggregated durable context.",
2303
+ parameters: [
2304
+ {
2305
+ name: "agent",
2306
+ description: "target agent; references to it are rejected."
2307
+ },
2308
+ {
2309
+ name: "content",
2310
+ description: "already host-normalized readable message content."
2311
+ },
2312
+ {
2313
+ name: "references",
2314
+ description: "structured source sessions in mention order."
2315
+ },
2316
+ {
2317
+ name: "signal",
2318
+ description: "optional cancellation boundary for the active turn."
2319
+ }
2320
+ ],
2321
+ returns: "detached content and optional referenced-session context."
2322
+ }
2323
+ ]
1988
2324
  },
1989
2325
  {
1990
2326
  key: "sessions",
@@ -2560,6 +2896,19 @@ const SERVICE_API = [
2560
2896
  returns: "once every retained descendant Activation released its `AgentHandle`.",
2561
2897
  throws: ["an aggregate error after all branches settle when any failed."]
2562
2898
  },
2899
+ {
2900
+ signature: "async drainContinuableChildren(parent: Agent, childIds: readonly SessionId[]): Promise<void>",
2901
+ description: "Release selected resident continuable direct children of one exact live parent. Other children of the same parent remain admitted and resident. Absent targets and a manager-less composition are accepted no-ops.",
2902
+ parameters: [{
2903
+ name: "parent",
2904
+ description: "exact live direct parent authorizing the selected release."
2905
+ }, {
2906
+ name: "childIds",
2907
+ description: "durable direct-child ids to release when resident."
2908
+ }],
2909
+ returns: "once every selected Activation released its `AgentHandle`.",
2910
+ throws: ["{SubagentError} `UNAUTHORIZED` when a resident target belongs to a different parent or the supplied parent identity is stale."]
2911
+ },
2563
2912
  {
2564
2913
  signature: "listChildren(parentSessionId: SessionId, signal?: AbortSignal): Promise<SubagentListEntry[]>",
2565
2914
  description: "Enumerate the parent's direct session-backed subagents without loading or resuming an Agent and without any query service: the listing merges the live session store with optional session persistence (live-preferred) and serves each child's durable mode/label from the registered `subagent` projection unit down a three-rung ladder — the registry's watermark snapshot for a live child; for a cold one, a durable projection-cache row when the optional cache serves an own-suffix identity (its `seq` gate proves the value postdates the fork seed, where a child's own descriptor is immutable once appended), else one persistence inspection folded through the registry. The projection fold is the single classification authority; per-child diagnostics relay a fold that served no identity or a failed inspection, never a list-time descriptor parse. Absent persistence, enumeration is live-only (a cold child cannot be resumed then either, so its absence is capability absence, not an error). This service consults no Agent registrations, Activations, or providers.\n\nEvery persistence read receives `signal`, and the listing rechecks cancellation around each of those awaits. Read rejections that settle after an abort become a stable `SubagentError` with code `CANCELLED`.",
@@ -3246,7 +3595,7 @@ const SERVICE_API = [
3246
3595
  },
3247
3596
  {
3248
3597
  signature: "tapIndex(transform: (html: string) => string): () => void",
3249
- description: "Register an index.html transform, applied by the fallback owner to every index response (applyIndexTaps) in registration order.",
3598
+ description: "Register a raw-HTML index transform, the escape hatch for markup no IndexInjection row expresses: renderIndex applies taps in registration order after rendering the structured rows.",
3250
3599
  parameters: [{
3251
3600
  name: "transform",
3252
3601
  description: "pure html-to-html function."
@@ -3261,6 +3610,21 @@ const SERVICE_API = [
3261
3610
  description: "the raw index.html body."
3262
3611
  }],
3263
3612
  returns: "the transformed body."
3613
+ },
3614
+ {
3615
+ signature: "collectIndexInjections(): IndexInjection[]",
3616
+ description: "Gather the structured injection table: one `webserver/index-inject` emit, every subscriber pushes its current rows. Fresh per call, so subscribers read live state (module graph, theme preference) at emit time.",
3617
+ parameters: [],
3618
+ returns: "rows in subscriber activation order."
3619
+ },
3620
+ {
3621
+ signature: "renderIndex(html: string): string",
3622
+ description: "Render one index.html body: the structured injection table first, then the raw `tapIndex` transforms over the result.",
3623
+ parameters: [{
3624
+ name: "html",
3625
+ description: "the raw index.html body."
3626
+ }],
3627
+ returns: "the transformed body."
3264
3628
  }
3265
3629
  ]
3266
3630
  },
@@ -3522,6 +3886,20 @@ const EVENT_API = [
3522
3886
  description: "the pending decision (agent, tool identity, reason, signal)."
3523
3887
  }]
3524
3888
  },
3889
+ {
3890
+ name: "authorization/settled",
3891
+ mode: "emit",
3892
+ signature: "'authorization/settled'(key: CredentialKey, settlement: AuthorizationSettlement): void",
3893
+ summary: "One authorization attempt has finished and released its key.",
3894
+ description: "One authorization attempt has finished and released its key. Fires for every terminal outcome, failures included, so a surface watching a key it did not start (a second browser tab) learns the attempt is over.",
3895
+ parameters: [{
3896
+ name: "key",
3897
+ description: "the credential record the finished attempt was authorizing."
3898
+ }, {
3899
+ name: "settlement",
3900
+ description: "how it ended, including the `failed` case its caller sees as a thrown error."
3901
+ }]
3902
+ },
3525
3903
  {
3526
3904
  name: "commands/change",
3527
3905
  mode: "emit",
@@ -3597,9 +3975,20 @@ const EVENT_API = [
3597
3975
  }]
3598
3976
  },
3599
3977
  {
3600
- name: "credentials/updated",
3978
+ name: "credentials/record-updated",
3979
+ mode: "emit",
3980
+ signature: "'credentials/record-updated'(key: CredentialKey): void",
3981
+ summary: "Committed change to a stored credential record: a `modifyRecord` that wrote, a `deleteRecord` that removed, or an external edit observed in storage.",
3982
+ description: "Committed change to a stored credential record: a `modifyRecord` that wrote, a `deleteRecord` that removed, or an external edit observed in storage. Separate from `credentials/reference-updated` because the two key grammars are disjoint — a listener that received both on one event could not tell which space a subject belongs to. Listener failures are contained on the same terms as `credentials/reference-updated`.",
3983
+ parameters: [{
3984
+ name: "key",
3985
+ description: "the record whose stored value changed."
3986
+ }]
3987
+ },
3988
+ {
3989
+ name: "credentials/reference-updated",
3601
3990
  mode: "emit",
3602
- signature: "'credentials/updated'(ref: CredentialRef): void",
3991
+ signature: "'credentials/reference-updated'(ref: CredentialRef): void",
3603
3992
  summary: "Committed change to a provider-managed credential source: a `set`, an `unset`, or an external edit observed in storage.",
3604
3993
  description: "Committed change to a provider-managed credential source: a `set`, an `unset`, or an external edit observed in storage. Ambient process-environment changes are not observable and never emit. Listener failures are contained and logged — a sync throw and an async rejection alike — without changing the committed operation's outcome, except `INVARIANT`-coded failures, which rethrow after every listener ran; that rethrow reaches the emitter only from synchronous listeners, so invariant checks on this event must not be async functions.",
3605
3994
  parameters: [{
@@ -3937,6 +4326,17 @@ const EVENT_API = [
3937
4326
  description: "a deep-frozen snapshot of the final returned result."
3938
4327
  }]
3939
4328
  },
4329
+ {
4330
+ name: "webserver/index-inject",
4331
+ mode: "emit",
4332
+ signature: "'webserver/index-inject'(table: IndexInjection[]): void",
4333
+ summary: "Collect the structured index injection table.",
4334
+ description: "Collect the structured index injection table. Emitted on every index render and every worker boot-payload request; listeners push their current rows, so a row's data is read fresh at emit time.",
4335
+ parameters: [{
4336
+ name: "table",
4337
+ description: "Mutable row table; listeners append in activation order."
4338
+ }]
4339
+ },
3940
4340
  {
3941
4341
  name: "workflow/agent-end",
3942
4342
  mode: "emit",
@@ -4061,6 +4461,10 @@ const TYPE_API = [
4061
4461
  name: "AgentStatus",
4062
4462
  declaration: "export type AgentStatus = 'idle' | 'running';"
4063
4463
  },
4464
+ {
4465
+ name: "ApiKeyRecord",
4466
+ declaration: "export interface ApiKeyRecord {\n readonly kind: 'api-key';\n readonly key?: string;\n readonly env?: Readonly<Record<string, string>>;\n}"
4467
+ },
4064
4468
  {
4065
4469
  name: "ApprovalOutcome",
4066
4470
  declaration: "export type ApprovalOutcome = 'allowed-once' | 'rejected' | 'cancelled' | 'unavailable';"
@@ -4125,6 +4529,54 @@ const TYPE_API = [
4125
4529
  name: "AttachmentId",
4126
4530
  declaration: "export type AttachmentId = Branded<'AttachmentId'>;"
4127
4531
  },
4532
+ {
4533
+ name: "AuthorizationEntry",
4534
+ declaration: "export interface AuthorizationEntry {\n key: CredentialKey;\n label: string;\n methods: readonly AuthorizationMethod[];\n inFlight: boolean;\n}"
4535
+ },
4536
+ {
4537
+ name: "AuthorizationFlow",
4538
+ declaration: "export interface AuthorizationFlow {\n readonly key: CredentialKey;\n readonly label: string;\n readonly methods: readonly [\n AuthorizationMethod,\n ...AuthorizationMethod[]\n ];\n run(session: AuthorizationSession): Promise<void>;\n}"
4539
+ },
4540
+ {
4541
+ name: "AuthorizationInteraction",
4542
+ declaration: "export interface AuthorizationInteraction {\n notify(notice: AuthorizationNotice): void;\n prompt(prompt: AuthorizationPrompt): Promise<string>;\n}"
4543
+ },
4544
+ {
4545
+ name: "AuthorizationMethod",
4546
+ declaration: "export interface AuthorizationMethod {\n id: string;\n label: string;\n}"
4547
+ },
4548
+ {
4549
+ name: "AuthorizationNotice",
4550
+ declaration: "export interface AuthorizationNotice {\n message: string;\n url?: string;\n code?: string;\n}"
4551
+ },
4552
+ {
4553
+ name: "AuthorizationOutcome",
4554
+ declaration: "export interface AuthorizationOutcome {\n status: AuthorizationStatus;\n}"
4555
+ },
4556
+ {
4557
+ name: "AuthorizationPrompt",
4558
+ declaration: "export type AuthorizationPrompt = {\n signal?: AbortSignal;\n} & ({\n kind: 'text';\n message: string;\n placeholder?: string;\n} | {\n kind: 'secret';\n message: string;\n placeholder?: string;\n} | {\n kind: 'select';\n message: string;\n options: readonly AuthorizationPromptOption[];\n});"
4559
+ },
4560
+ {
4561
+ name: "AuthorizationPromptOption",
4562
+ declaration: "export interface AuthorizationPromptOption {\n id: string;\n label: string;\n description?: string;\n}"
4563
+ },
4564
+ {
4565
+ name: "AuthorizationRequest",
4566
+ declaration: "export interface AuthorizationRequest {\n key: CredentialKey;\n method?: string;\n interaction: AuthorizationInteraction;\n signal?: AbortSignal;\n}"
4567
+ },
4568
+ {
4569
+ name: "AuthorizationSession",
4570
+ declaration: "export interface AuthorizationSession {\n readonly method: string;\n readonly signal: AbortSignal;\n notify(notice: AuthorizationNotice): void;\n prompt(prompt: AuthorizationPrompt): Promise<string>;\n}"
4571
+ },
4572
+ {
4573
+ name: "AuthorizationSettlement",
4574
+ declaration: "export type AuthorizationSettlement = AuthorizationStatus | 'failed';"
4575
+ },
4576
+ {
4577
+ name: "AuthorizationStatus",
4578
+ declaration: "export type AuthorizationStatus = 'authorized' | 'cancelled';"
4579
+ },
4128
4580
  {
4129
4581
  name: "BackendRegistry",
4130
4582
  declaration: "export class BackendRegistry {\n register(name: string, backend: StorageBackend): () => void;\n get(name: string): StorageBackend;\n names(): string[];\n}"
@@ -4207,11 +4659,11 @@ const TYPE_API = [
4207
4659
  },
4208
4660
  {
4209
4661
  name: "CommandInputDescriptor",
4210
- declaration: "export interface CommandInputDescriptor {\n readonly hint: string;\n}"
4662
+ declaration: "export interface CommandInputDescriptor {\n readonly hint: string;\n readonly images?: boolean;\n}"
4211
4663
  },
4212
4664
  {
4213
4665
  name: "CommandInvocation",
4214
- declaration: "export interface CommandInvocation {\n readonly commandId: CommandId;\n readonly agent: Agent;\n readonly rawInput: string;\n readonly signal: AbortSignal;\n}"
4666
+ declaration: "export interface CommandInvocation {\n readonly commandId: CommandId;\n readonly agent: Agent;\n readonly rawInput: string;\n readonly attachments: readonly ImageBlock[];\n readonly signal: AbortSignal;\n}"
4215
4667
  },
4216
4668
  {
4217
4669
  name: "CommandResult",
@@ -4275,7 +4727,7 @@ const TYPE_API = [
4275
4727
  },
4276
4728
  {
4277
4729
  name: "ContinuableStartSpec",
4278
- declaration: "export interface ContinuableStartSpec {\n readonly provider: string;\n readonly label: string;\n readonly request: Omit<SubagentStartRequest, 'label' | 'signal' | 'outputSchema'>;\n readonly signal: AbortSignal;\n}"
4730
+ declaration: "export interface ContinuableStartSpec {\n readonly provider: string;\n readonly label: string;\n readonly childId?: SessionId;\n readonly request: Omit<SubagentStartRequest, 'label' | 'signal' | 'outputSchema'>;\n readonly signal: AbortSignal;\n}"
4279
4731
  },
4280
4732
  {
4281
4733
  name: "ContinuableSubagentDescriptorData",
@@ -4325,10 +4777,30 @@ const TYPE_API = [
4325
4777
  name: "CreateSessionOptions",
4326
4778
  declaration: "export interface CreateSessionOptions {\n readonly seed?: readonly SessionEvent[];\n readonly meta?: {\n readonly cwd?: string;\n readonly parentSession?: SessionId;\n readonly createdAt?: number;\n readonly seedLength?: number;\n readonly origin?: 'subagent';\n readonly delegationDepth?: number;\n readonly agentPreset?: string;\n };\n}"
4327
4779
  },
4780
+ {
4781
+ name: "CreateTeamTaskRequest",
4782
+ declaration: "export interface CreateTeamTaskRequest {\n readonly subject: string;\n readonly description: string;\n readonly blockedBy?: readonly TeamTaskId[];\n readonly writeScopes?: readonly string[];\n}"
4783
+ },
4328
4784
  {
4329
4785
  name: "CredentialInfo",
4330
4786
  declaration: "export interface CredentialInfo {\n configured: boolean;\n source?: string;\n writable: boolean;\n}"
4331
4787
  },
4788
+ {
4789
+ name: "CredentialKey",
4790
+ declaration: "export type CredentialKey = Branded<'CredentialKey'>;"
4791
+ },
4792
+ {
4793
+ name: "CredentialRecord",
4794
+ declaration: "export type CredentialRecord = ApiKeyRecord | GrantRecord;"
4795
+ },
4796
+ {
4797
+ name: "CredentialRecordEntry",
4798
+ declaration: "export interface CredentialRecordEntry {\n key: CredentialKey;\n kind: CredentialRecord['kind'];\n}"
4799
+ },
4800
+ {
4801
+ name: "CredentialRecordInfo",
4802
+ declaration: "export interface CredentialRecordInfo {\n configured: boolean;\n kind?: CredentialRecord['kind'];\n writable: boolean;\n}"
4803
+ },
4332
4804
  {
4333
4805
  name: "CredentialRef",
4334
4806
  declaration: "export type CredentialRef = Branded<'CredentialRef'>;"
@@ -4437,6 +4909,10 @@ const TYPE_API = [
4437
4909
  name: "EditGoalRequest",
4438
4910
  declaration: "export interface EditGoalRequest {\n readonly objective?: string;\n readonly maxGoalRounds?: number;\n}"
4439
4911
  },
4912
+ {
4913
+ name: "EncodedImageAttachment",
4914
+ declaration: "export interface EncodedImageAttachment {\n mediaType: ImageMediaType;\n data: string;\n name?: string;\n}"
4915
+ },
4440
4916
  {
4441
4917
  name: "EpochHeader",
4442
4918
  declaration: "export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n system?: string;\n tools?: ToolSchema[];\n}"
@@ -4449,6 +4925,10 @@ const TYPE_API = [
4449
4925
  name: "FileLocation",
4450
4926
  declaration: "export interface FileLocation {\n path: string;\n line?: number;\n}"
4451
4927
  },
4928
+ {
4929
+ name: "FileReferenceCandidate",
4930
+ declaration: "export interface FileReferenceCandidate {\n path: string;\n kind: 'file' | 'directory';\n}"
4931
+ },
4452
4932
  {
4453
4933
  name: "FinishReason",
4454
4934
  declaration: "export type FinishReason = FinishReasonMap[keyof FinishReasonMap];"
@@ -4541,13 +5021,17 @@ const TYPE_API = [
4541
5021
  name: "GoalView",
4542
5022
  declaration: "export interface GoalView extends GoalSnapshot {\n readonly roundsStarted: number;\n readonly createdAt: number;\n readonly updatedAt: number;\n readonly activation: GoalActivation;\n}"
4543
5023
  },
5024
+ {
5025
+ name: "GrantRecord",
5026
+ declaration: "export interface GrantRecord {\n readonly kind: 'grant';\n readonly payload: unknown;\n}"
5027
+ },
4544
5028
  {
4545
5029
  name: "ImageAttachmentLimits",
4546
- declaration: "export interface ImageAttachmentLimits {\n maxImageBytes: number;\n maxImagesPerMessage: number;\n maxMessageImageBytes: number;\n maxImagePixels: number;\n mediaTypes: readonly ImageMediaType[];\n}"
5030
+ declaration: "export interface ImageAttachmentLimits {\n maxImageBytes: number;\n maxImagesPerMessage: number;\n maxMessageImageBytes: number;\n maxImagePixels: number;\n maxImageDimension: number;\n mediaTypes: readonly ImageMediaType[];\n}"
4547
5031
  },
4548
5032
  {
4549
5033
  name: "ImageAttachmentRef",
4550
- declaration: "export interface ImageAttachmentRef {\n attachmentId: AttachmentId;\n mediaType: ImageMediaType;\n bytes: number;\n width: number;\n height: number;\n name?: string;\n}"
5034
+ declaration: "export interface ImageAttachmentRef {\n attachmentId: AttachmentId;\n mediaType: ImageMediaType;\n bytes: number;\n width: number;\n height: number;\n name?: string;\n originalDimensions?: {\n width: number;\n height: number;\n };\n}"
4551
5035
  },
4552
5036
  {
4553
5037
  name: "ImageBlock",
@@ -4557,6 +5041,14 @@ const TYPE_API = [
4557
5041
  name: "ImageMediaType",
4558
5042
  declaration: "export type ImageMediaType = 'image/png' | 'image/jpeg' | 'image/webp' | 'image/gif';"
4559
5043
  },
5044
+ {
5045
+ name: "ImageRequestPolicy",
5046
+ declaration: "export interface ImageRequestPolicy {\n maxPixels: number;\n maxBytes: number;\n}"
5047
+ },
5048
+ {
5049
+ name: "ImageVariantId",
5050
+ declaration: "export type ImageVariantId = Branded<'ImageVariantId'>;"
5051
+ },
4560
5052
  {
4561
5053
  name: "Inbox",
4562
5054
  declaration: "export class Inbox {\n constructor(private readonly session: Session, private readonly notifications: InboxNotifications);\n get nextTurn(): readonly UserMessage[];\n get nextStep(): readonly UserMessage[];\n get hasPending(): boolean;\n clear(): void;\n claim(target: InboxTarget, turn: number): UserMessage[];\n append(target: InboxTarget, message: UserMessage): void;\n prepend(target: InboxTarget, message: UserMessage): void;\n replace(messageId: MessageId, newMessage: UserMessage): boolean;\n remove(messageId: MessageId): boolean;\n splice(target: InboxTarget, start: number, deleteCount: number, inserted: UserMessage[]): UserMessage[];\n}"
@@ -4569,6 +5061,14 @@ const TYPE_API = [
4569
5061
  name: "InboxTarget",
4570
5062
  declaration: "export type InboxTarget = 'next-turn' | 'next-step';"
4571
5063
  },
5064
+ {
5065
+ name: "IndexInjection",
5066
+ declaration: "export type IndexInjection = {\n kind: 'global';\n name: string;\n value: unknown;\n} | {\n kind: 'script';\n placement: IndexInjectionPlacement;\n text: string;\n} | {\n kind: 'script-src';\n placement: IndexInjectionPlacement;\n src: string;\n} | {\n kind: 'style';\n text: string;\n} | {\n kind: 'html';\n placement: IndexInjectionPlacement;\n html: string;\n};"
5067
+ },
5068
+ {
5069
+ name: "IndexInjectionPlacement",
5070
+ declaration: "export type IndexInjectionPlacement = 'head' | 'body';"
5071
+ },
4572
5072
  {
4573
5073
  name: "InvariantFailure",
4574
5074
  declaration: "export type InvariantFailure = (message: string) => never;"
@@ -4675,7 +5175,7 @@ const TYPE_API = [
4675
5175
  },
4676
5176
  {
4677
5177
  name: "LlmAdapter",
4678
- declaration: "export abstract class LlmAdapter {\n providerInfo(provider: string): LlmProviderInfo;\n providerRetryPolicy(_provider: string): ResolvedRetryPolicy | undefined;\n listModels(_provider: string): Promise<readonly LlmModelInfo[]>;\n resolveModel(provider: string, model: string, _signal?: AbortSignal): Promise<LlmResolvedModelInfo>;\n abstract stream(options: GenerateOptions): AsyncIterable<StreamChunk>;\n}"
5178
+ declaration: "export abstract class LlmAdapter {\n providerInfo(provider: string): LlmProviderInfo;\n providerRetryPolicy(_provider: string): ResolvedRetryPolicy | undefined;\n listModels(_provider: string): Promise<readonly LlmModelInfo[]>;\n resolveModel(provider: string, model: string, _signal?: AbortSignal): Promise<LlmResolvedModelInfo>;\n async prepareCall(provider: string, model: string, signal?: AbortSignal): Promise<PreparedAdapterCall>;\n abstract stream(options: GenerateOptions): AsyncIterable<StreamChunk>;\n}"
4679
5179
  },
4680
5180
  {
4681
5181
  name: "LlmCallConfig",
@@ -4893,9 +5393,13 @@ const TYPE_API = [
4893
5393
  name: "PostToolDecision",
4894
5394
  declaration: "export type PostToolDecision = {\n kind: 'accept';\n content?: ContentBlock[];\n value?: never;\n additionalContexts?: UserMessage[];\n} | {\n kind: 'accept';\n value: JsonValue;\n content?: never;\n additionalContexts?: UserMessage[];\n} | {\n kind: 'block';\n feedback: ContentBlock[];\n additionalContexts?: UserMessage[];\n};"
4895
5395
  },
5396
+ {
5397
+ name: "PreparedAdapterCall",
5398
+ declaration: "export interface PreparedAdapterCall {\n readonly model: LlmResolvedModelInfo;\n stream(options: GenerateOptions): AsyncIterable<StreamChunk>;\n}"
5399
+ },
4896
5400
  {
4897
5401
  name: "PreparedLlmCall",
4898
- declaration: "export interface PreparedLlmCall {\n readonly config: LlmCallConfig;\n readonly retryPolicy: ResolvedRetryPolicy;\n readonly context?: LlmModelContext;\n readonly adapterDefaults: LlmCallConfigAdapterDefaults;\n stream(options: GenerateOptions): AsyncIterable<StreamChunk>;\n}"
5402
+ declaration: "export interface PreparedLlmCall {\n readonly config: LlmCallConfig;\n readonly retryPolicy: ResolvedRetryPolicy;\n readonly context?: LlmModelContext;\n readonly inputModalities?: readonly ModelModality[];\n readonly adapterDefaults: LlmCallConfigAdapterDefaults;\n stream(options: GenerateOptions): AsyncIterable<StreamChunk>;\n}"
4899
5403
  },
4900
5404
  {
4901
5405
  name: "PreparedReferencedMessage",
@@ -4939,7 +5443,7 @@ const TYPE_API = [
4939
5443
  },
4940
5444
  {
4941
5445
  name: "ProjectionDefinition",
4942
- declaration: "export interface ProjectionDefinition<K extends keyof SessionProjectionMap, S> {\n key: K;\n schema: ZodType<SessionProjectionMap[K]>;\n init(): S;\n apply(state: S, event: SessionEvent): S;\n view(state: S): SessionProjectionMap[K];\n stateVersion: number;\n}"
5446
+ declaration: "export interface ProjectionDefinition<K extends keyof SessionProjectionStateMap, S extends SessionProjectionStateMap[K] = SessionProjectionStateMap[K]> {\n key: K;\n stateSchema: ZodType<S>;\n init(): NoInfer<S>;\n apply(state: NoInfer<S>, event: SessionEvent): NoInfer<S>;\n wire?: K extends keyof SessionProjectionMap ? {\n viewSchema: ZodType<SessionProjectionMap[K]>;\n view(state: NoInfer<S>): SessionProjectionMap[K];\n } : never;\n stateVersion: number;\n}"
4943
5447
  },
4944
5448
  {
4945
5449
  name: "ProjectionSnapshot",
@@ -5005,6 +5509,10 @@ const TYPE_API = [
5005
5509
  name: "RequestHeaderReason",
5006
5510
  declaration: "export type RequestHeaderReason = 'initial' | 'resume' | 'change';"
5007
5511
  },
5512
+ {
5513
+ name: "RequestImageAttachment",
5514
+ declaration: "export interface RequestImageAttachment {\n variantId: ImageVariantId;\n attachment: ImageAttachmentRef;\n data: Uint8Array;\n mediaType: ImageMediaType;\n bytes: number;\n width: number;\n height: number;\n depth: 'uchar';\n space: 'srgb';\n hasAlpha: boolean;\n}"
5515
+ },
5008
5516
  {
5009
5517
  name: "RequestRunOutcome",
5010
5518
  declaration: "export type RequestRunOutcome = 'approved' | 'completed' | 'rejected' | 'cancelled' | 'failed';"
@@ -5133,6 +5641,14 @@ const TYPE_API = [
5133
5641
  name: "SearchResultView",
5134
5642
  declaration: "export type SearchResultView = SearchMatchesResultView | SearchPathsResultView;"
5135
5643
  },
5644
+ {
5645
+ name: "SendTeamMessageRequest",
5646
+ declaration: "export interface SendTeamMessageRequest {\n readonly target: string;\n readonly content: ContentBlock[];\n readonly delivery: 'quiet' | 'wakeup';\n readonly signal: AbortSignal;\n}"
5647
+ },
5648
+ {
5649
+ name: "SendTeamMessageResult",
5650
+ declaration: "export interface SendTeamMessageResult {\n readonly messageId: TeamMessageId;\n readonly status: 'accepted' | 'queued';\n}"
5651
+ },
5136
5652
  {
5137
5653
  name: "ServerResponse",
5138
5654
  declaration: "export interface ServerResponse {\n type: 'server-response';\n rpcId: RpcId;\n result: RpcResult<unknown>;\n}"
@@ -5147,7 +5663,7 @@ const TYPE_API = [
5147
5663
  },
5148
5664
  {
5149
5665
  name: "SessionEventMap",
5150
- declaration: "export interface SessionEventMap {\n 'turn/start': {\n turn: number;\n };\n 'turn/end': {\n turn: number;\n reason: TurnEndReason;\n };\n 'step/start': {\n turn: number;\n step: number;\n };\n 'step/end': {\n turn: number;\n step: number;\n };\n 'user/message': UserMessage;\n 'assistant/chunk': {\n turn: number;\n step: number;\n chunk: StreamChunk;\n };\n 'assistant/message': {\n turn: number;\n step: number;\n message: AssistantMessage;\n usage?: TokenUsage;\n };\n 'tool/call': {\n turn: number;\n step: number;\n callId: CallId;\n name: string;\n arguments: string;\n };\n 'tool/result': {\n turn: number;\n step: number;\n message: ToolResultMessage;\n error?: {\n name: string;\n code: string;\n };\n meta?: JsonValue;\n };\n 'todo/write': {\n todos: TodoItem[];\n };\n 'request/header': {\n header: EpochHeader;\n reason: RequestHeaderReason;\n };\n 'request/context': RequestContext;\n 'session/end-seed': Record<string, never>;\n}"
5666
+ declaration: "export interface SessionEventMap {\n 'turn/start': {\n turn: number;\n };\n 'turn/end': {\n turn: number;\n reason: TurnEndReason;\n };\n 'step/start': {\n turn: number;\n step: number;\n };\n 'step/end': {\n turn: number;\n step: number;\n };\n 'user/message': UserMessage;\n 'assistant/chunk': {\n turn: number;\n step: number;\n chunk: StreamChunk;\n };\n 'assistant/message': {\n turn: number;\n step: number;\n message: AssistantMessage;\n usage?: TokenUsage;\n interrupted?: true;\n };\n 'tool/call': {\n turn: number;\n step: number;\n callId: CallId;\n name: string;\n arguments: string;\n };\n 'tool/result': {\n turn: number;\n step: number;\n message: ToolResultMessage;\n error?: {\n name: string;\n code: string;\n };\n meta?: JsonValue;\n };\n 'todo/write': {\n todos: TodoItem[];\n };\n 'request/header': {\n header: EpochHeader;\n reason: RequestHeaderReason;\n };\n 'request/context': RequestContext;\n 'session/end-seed': Record<string, never>;\n}"
5151
5667
  },
5152
5668
  {
5153
5669
  name: "SessionEventMetadataFilter",
@@ -5257,6 +5773,10 @@ const TYPE_API = [
5257
5773
  name: "SessionProjectionMap",
5258
5774
  declaration: "export interface SessionProjectionMap {\n}"
5259
5775
  },
5776
+ {
5777
+ name: "SessionProjectionStateMap",
5778
+ declaration: "export interface SessionProjectionStateMap {\n}"
5779
+ },
5260
5780
  {
5261
5781
  name: "SessionRawArtifact",
5262
5782
  declaration: "export interface SessionRawArtifact {\n readonly meta: SessionHeader;\n readonly filename: string;\n readonly content: string;\n}"
@@ -5273,6 +5793,10 @@ const TYPE_API = [
5273
5793
  name: "SessionReferenceInput",
5274
5794
  declaration: "export interface SessionReferenceInput {\n sessionId: SessionId;\n label?: string;\n}"
5275
5795
  },
5796
+ {
5797
+ name: "SessionReferenceMentionCandidate",
5798
+ declaration: "export interface SessionReferenceMentionCandidate extends SessionReferenceCandidate {\n mention: string;\n}"
5799
+ },
5276
5800
  {
5277
5801
  name: "SessionResultFilter",
5278
5802
  declaration: "export type SessionResultFilter = {\n kind: 'id';\n values: readonly SessionId[];\n} | {\n kind: 'cwd';\n values: readonly (string | null)[];\n} | ({\n kind: 'created-at';\n} & SessionResultRange) | {\n kind: 'parent';\n values: readonly (SessionId | null)[];\n} | {\n kind: 'availability';\n values: readonly SessionAvailability[];\n};"
@@ -5477,6 +6001,14 @@ const TYPE_API = [
5477
6001
  name: "SkillViewOptions",
5478
6002
  declaration: "export interface SkillViewOptions extends SkillLookupOptions {\n readonly scope?: ScopeKey | undefined;\n}"
5479
6003
  },
6004
+ {
6005
+ name: "SpawnTeammateRequest",
6006
+ declaration: "export interface SpawnTeammateRequest {\n readonly name: string;\n readonly description: string;\n readonly prompt: ContentBlock[];\n readonly context: 'fresh' | 'fork';\n readonly provider: string;\n readonly signal: AbortSignal;\n}"
6007
+ },
6008
+ {
6009
+ name: "SpawnTeammateResult",
6010
+ declaration: "export interface SpawnTeammateResult {\n readonly member: TeamMemberView;\n}"
6011
+ },
5480
6012
  {
5481
6013
  name: "SpillLocator",
5482
6014
  declaration: "export type SpillLocator = Branded<'SpillLocator'>;"
@@ -5535,7 +6067,7 @@ const TYPE_API = [
5535
6067
  },
5536
6068
  {
5537
6069
  name: "SubagentReportDelivery",
5538
- declaration: "export type SubagentReportDelivery = 'quiet' | 'wakeup';"
6070
+ declaration: "export type SubagentReportDelivery = 'quiet' | 'next-step';"
5539
6071
  },
5540
6072
  {
5541
6073
  name: "SubagentReportOptions",
@@ -5543,7 +6075,7 @@ const TYPE_API = [
5543
6075
  },
5544
6076
  {
5545
6077
  name: "SubagentResult",
5546
- declaration: "export interface SubagentResult {\n readonly output: ContentBlock[];\n readonly structured?: unknown;\n readonly stopReason: SubagentStopReason;\n}"
6078
+ declaration: "export interface SubagentResult {\n readonly output: ContentBlock[];\n readonly structured?: unknown;\n readonly diagnostic?: string;\n readonly stopReason: SubagentStopReason;\n}"
5547
6079
  },
5548
6080
  {
5549
6081
  name: "SubagentRun",
@@ -5563,7 +6095,7 @@ const TYPE_API = [
5563
6095
  },
5564
6096
  {
5565
6097
  name: "SubagentRuntime",
5566
- declaration: "export class SubagentRuntime extends Service {\n constructor(ctx: Context);\n async startContinuable(spec: ContinuableStartSpec): Promise<ContinuableStart>;\n async followup(parent: Agent, childId: SessionId, content: ContentBlock[], options: SubagentFollowupOptions): Promise<MessageId>;\n interrupt(targetSessionId: SessionId, authority: SubagentInterruptAuthority): void;\n async reportFrom(child: Agent, content: ContentBlock[], options: SubagentReportOptions): Promise<MessageId>;\n registerContinuableSetup(contribution: ContinuableSetupContribution): () => void;\n async drainContinuableDescendants(parents: readonly Agent[]): Promise<void>;\n listChildren(parentSessionId: SessionId, signal?: AbortSignal): Promise<SubagentListEntry[]>;\n listDescendants(rootSessionId: SessionId, signal?: AbortSignal): Promise<SubagentDescendantListEntry[]>;\n registerProvider(provider: SubagentProvider): () => void;\n getProvider(name: string): SubagentProvider | undefined;\n list(): string[];\n async start(name: string, request: SubagentStartRequest): Promise<SubagentRun>;\n}"
6098
+ declaration: "export class SubagentRuntime extends Service {\n constructor(ctx: Context);\n async startContinuable(spec: ContinuableStartSpec): Promise<ContinuableStart>;\n async followup(parent: Agent, childId: SessionId, content: ContentBlock[], options: SubagentFollowupOptions): Promise<MessageId>;\n interrupt(targetSessionId: SessionId, authority: SubagentInterruptAuthority): void;\n async reportFrom(child: Agent, content: ContentBlock[], options: SubagentReportOptions): Promise<MessageId>;\n registerContinuableSetup(contribution: ContinuableSetupContribution): () => void;\n async drainContinuableDescendants(parents: readonly Agent[]): Promise<void>;\n async drainContinuableChildren(parent: Agent, childIds: readonly SessionId[]): Promise<void>;\n listChildren(parentSessionId: SessionId, signal?: AbortSignal): Promise<SubagentListEntry[]>;\n listDescendants(rootSessionId: SessionId, signal?: AbortSignal): Promise<SubagentDescendantListEntry[]>;\n registerProvider(provider: SubagentProvider): () => void;\n getProvider(name: string): SubagentProvider | undefined;\n list(): string[];\n async start(name: string, request: SubagentStartRequest): Promise<SubagentRun>;\n}"
5567
6099
  },
5568
6100
  {
5569
6101
  name: "SubagentStartRequest",
@@ -5657,6 +6189,42 @@ const TYPE_API = [
5657
6189
  name: "TableValueOf",
5658
6190
  declaration: "export type TableValueOf<S extends DomainSpec, N extends keyof S['tables']> = S['tables'][N] extends DomainTableSpec<string, infer V> ? V : never;"
5659
6191
  },
6192
+ {
6193
+ name: "TeamId",
6194
+ declaration: "export type TeamId = Branded<'TeamId'>;"
6195
+ },
6196
+ {
6197
+ name: "TeamMembership",
6198
+ declaration: "export interface TeamMembership {\n readonly root: Agent;\n readonly id: TeamId;\n readonly role: 'lead' | 'teammate';\n readonly name: string;\n}"
6199
+ },
6200
+ {
6201
+ name: "TeamMemberView",
6202
+ declaration: "export interface TeamMemberView {\n readonly id: SessionId;\n readonly name: string;\n readonly role: 'lead' | 'teammate';\n readonly status: 'running' | 'idle' | 'inactive' | 'provisioning' | 'failed';\n readonly description?: string;\n readonly provider?: string;\n readonly context?: 'fresh' | 'fork';\n readonly model?: string;\n readonly diagnostics: string[];\n}"
6203
+ },
6204
+ {
6205
+ name: "TeamMessageId",
6206
+ declaration: "export type TeamMessageId = Branded<'TeamMessageId'>;"
6207
+ },
6208
+ {
6209
+ name: "TeamTaskAction",
6210
+ declaration: "export type TeamTaskAction = 'claim' | 'release' | 'edit' | 'set_dependencies' | 'complete' | 'reopen' | 'reassign' | 'delete';"
6211
+ },
6212
+ {
6213
+ name: "TeamTaskId",
6214
+ declaration: "export type TeamTaskId = Branded<'TeamTaskId'>;"
6215
+ },
6216
+ {
6217
+ name: "TeamTaskStatus",
6218
+ declaration: "export type TeamTaskStatus = 'pending' | 'in_progress' | 'completed' | 'deleted';"
6219
+ },
6220
+ {
6221
+ name: "TeamTaskView",
6222
+ declaration: "export interface TeamTaskView {\n readonly id: TeamTaskId;\n readonly revision: number;\n readonly subject: string;\n readonly description: string;\n readonly status: TeamTaskStatus;\n readonly blockedBy: TeamTaskId[];\n readonly writeScopes: string[];\n readonly ownerName?: string;\n readonly ready: boolean;\n readonly writeScopeWarnings: string[];\n}"
6223
+ },
6224
+ {
6225
+ name: "TeamWaitResult",
6226
+ declaration: "export interface TeamWaitResult {\n readonly timedOut: boolean;\n}"
6227
+ },
5660
6228
  {
5661
6229
  name: "TerminalBackend",
5662
6230
  declaration: "export interface TerminalBackend {\n readonly type: string;\n spawn(spec: TerminalBackendSpawnSpec): Promise<TerminalBackendSession>;\n}"
@@ -5937,6 +6505,10 @@ const TYPE_API = [
5937
6505
  name: "TypertTypeModel",
5938
6506
  declaration: "export interface TypertTypeModel {\n readonly name: string;\n readonly declaration: string;\n}"
5939
6507
  },
6508
+ {
6509
+ name: "UpdateTeamTaskRequest",
6510
+ declaration: "export interface UpdateTeamTaskRequest {\n readonly taskId: TeamTaskId;\n readonly expectedRevision: number;\n readonly action: TeamTaskAction;\n readonly subject?: string;\n readonly description?: string;\n readonly blockedBy?: readonly TeamTaskId[];\n readonly writeScopes?: readonly string[];\n readonly owner?: string;\n}"
6511
+ },
5940
6512
  {
5941
6513
  name: "UserMessage",
5942
6514
  declaration: "export interface UserMessage extends Message {\n readonly role: 'user';\n}"
@@ -5947,7 +6519,7 @@ const TYPE_API = [
5947
6519
  },
5948
6520
  {
5949
6521
  name: "WebBootEntry",
5950
- declaration: "export interface WebBootEntry {\n id: string;\n url: string;\n rev: string;\n inject?: string[];\n immediately?: boolean;\n}"
6522
+ declaration: "export interface WebBootEntry {\n id: string;\n url: string;\n rev: string;\n inject?: string[];\n immediately?: boolean;\n external?: string[];\n}"
5951
6523
  },
5952
6524
  {
5953
6525
  name: "WebBootGraph",