pairz 0.0.1 → 1.0.0-rc.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2354) hide show
  1. package/AGENTS.md +1054 -0
  2. package/CHANGELOG.md +4460 -0
  3. package/CONTRIBUTING.md +326 -0
  4. package/LICENSE +21 -0
  5. package/README.md +343 -2
  6. package/cli/bin.js +37 -0
  7. package/cli/folders.js +155 -0
  8. package/cli/generate.js +163 -0
  9. package/cli/import-map.js +141 -0
  10. package/cli/init.js +40 -0
  11. package/cli/input-schema.js +580 -0
  12. package/cli/legacy.js +65 -0
  13. package/cli/mod.d.ts +2 -0
  14. package/cli/mod.js +11 -0
  15. package/cli/run.js +21 -0
  16. package/cli/template.js +184 -0
  17. package/cli/watch.js +65 -0
  18. package/docs/architecture/events.md +124 -0
  19. package/docs/architecture/the-owner.md +238 -0
  20. package/docs/architecture/topology.md +128 -0
  21. package/docs/architecture/transports.md +121 -0
  22. package/docs/architecture/views.md +100 -0
  23. package/docs/architecture.md +147 -0
  24. package/docs/build-compass/part-1-an-agent-of-your-own/01-one-agent-one-message.md +144 -0
  25. package/docs/build-compass/part-1-an-agent-of-your-own/02-north-in-your-terminal.md +284 -0
  26. package/docs/build-compass/part-1-an-agent-of-your-own/03-compass-in-the-browser.md +373 -0
  27. package/docs/build-compass/part-10-testing/31-fakes-at-the-edges.md +350 -0
  28. package/docs/build-compass/part-10-testing/32-parity.md +225 -0
  29. package/docs/build-compass/part-11-other-ways-in/33-the-rest-api.md +197 -0
  30. package/docs/build-compass/part-11-other-ways-in/34-the-client.md +147 -0
  31. package/docs/build-compass/part-11-other-ways-in/35-your-board-over-mcp.md +255 -0
  32. package/docs/build-compass/part-12-shipping/36-postgresql-and-blobs.md +200 -0
  33. package/docs/build-compass/part-12-shipping/37-watching-it-run.md +242 -0
  34. package/docs/build-compass/part-12-shipping/38-a-computer-for-your-agents.md +325 -0
  35. package/docs/build-compass/part-13-from-one-person-to-many/39-swapping-in-pairzs-plugins.md +245 -0
  36. package/docs/build-compass/part-13-from-one-person-to-many/40-sign-in-and-people.md +218 -0
  37. package/docs/build-compass/part-13-from-one-person-to-many/41-many-orgs-and-billing.md +246 -0
  38. package/docs/build-compass/part-2-your-own-plugins/04-today-every-turn.md +134 -0
  39. package/docs/build-compass/part-2-your-own-plugins/05-one-store.md +151 -0
  40. package/docs/build-compass/part-2-your-own-plugins/06-chats-that-name-themselves.md +157 -0
  41. package/docs/build-compass/part-2-your-own-plugins/07-spaces.md +299 -0
  42. package/docs/build-compass/part-2-your-own-plugins/08-spaces-on-the-web.md +169 -0
  43. package/docs/build-compass/part-3-the-board/09-the-boards-data-and-actions.md +182 -0
  44. package/docs/build-compass/part-3-the-board/10-the-board-on-screen.md +167 -0
  45. package/docs/build-compass/part-3-the-board/11-the-board-for-north.md +175 -0
  46. package/docs/build-compass/part-4-documents/12-documents-and-their-versions.md +305 -0
  47. package/docs/build-compass/part-4-documents/13-saves-that-merge-or-refuse.md +263 -0
  48. package/docs/build-compass/part-4-documents/14-documents-on-the-web-and-in-the-terminal.md +255 -0
  49. package/docs/build-compass/part-4-documents/15-documents-for-north.md +229 -0
  50. package/docs/build-compass/part-5-long-conversations/16-a-line-for-every-message.md +272 -0
  51. package/docs/build-compass/part-5-long-conversations/17-the-outline-in-norths-prompt.md +188 -0
  52. package/docs/build-compass/part-5-long-conversations/18-zoom.md +142 -0
  53. package/docs/build-compass/part-6-memory/19-memories-found-by-meaning.md +255 -0
  54. package/docs/build-compass/part-6-memory/20-recall-in-the-prompt.md +228 -0
  55. package/docs/build-compass/part-6-memory/21-remember-recall-forget.md +203 -0
  56. package/docs/build-compass/part-6-memory/22-memories-on-their-own.md +200 -0
  57. package/docs/build-compass/part-7-the-team/23-east-south-and-west.md +186 -0
  58. package/docs/build-compass/part-7-the-team/24-asking-in-parallel.md +162 -0
  59. package/docs/build-compass/part-7-the-team/25-reading-other-conversations.md +201 -0
  60. package/docs/build-compass/part-8-skills-and-routines/26-skills.md +338 -0
  61. package/docs/build-compass/part-8-skills-and-routines/27-routines-on-a-schedule.md +291 -0
  62. package/docs/build-compass/part-8-skills-and-routines/28-agents-that-schedule.md +281 -0
  63. package/docs/build-compass/part-9-the-web-for-agents/29-search-an-adapter-port.md +326 -0
  64. package/docs/build-compass/part-9-the-web-for-agents/30-reading-a-page-safely.md +246 -0
  65. package/docs/build-compass.md +323 -0
  66. package/docs/getting-started/01-one-booking.md +198 -0
  67. package/docs/getting-started/02-who-sees-what.md +243 -0
  68. package/docs/getting-started/03-its-own-web-page.md +235 -0
  69. package/docs/getting-started/04-its-own-agent.md +276 -0
  70. package/docs/getting-started/05-chatgpt-claude-and-gemini-over-mcp.md +182 -0
  71. package/docs/getting-started/06-the-same-bookings-every-way-in.md +173 -0
  72. package/docs/getting-started/07-a-widget-in-the-assistant.md +190 -0
  73. package/docs/getting-started/08-a-chat-on-your-site.md +206 -0
  74. package/docs/getting-started/09-whatsapp.md +175 -0
  75. package/docs/getting-started/10-shipping-the-salon.md +239 -0
  76. package/docs/getting-started.md +120 -0
  77. package/docs/guides/a-business-apps-screens.md +1586 -0
  78. package/docs/guides/agents-on-peoples-plans.md +450 -0
  79. package/docs/guides/chats.md +151 -0
  80. package/docs/guides/installing-a-computer.md +112 -0
  81. package/docs/guides/many-orgs.md +137 -0
  82. package/docs/guides/public-mcp-server.md +84 -0
  83. package/docs/guides/rest-and-the-client.md +172 -0
  84. package/docs/guides/serving-on-the-web.md +499 -0
  85. package/docs/guides/the-compiler.md +279 -0
  86. package/docs/guides/the-web-toolkit.md +1971 -0
  87. package/docs/guides/visitors.md +141 -0
  88. package/docs/manifest.json +739 -0
  89. package/docs/operations/maintenance.md +346 -0
  90. package/docs/operations/memory.md +111 -0
  91. package/docs/operations/metrics.md +96 -0
  92. package/docs/operations/stores.md +248 -0
  93. package/docs/reference/plugins/accounts-web.md +47 -0
  94. package/docs/reference/plugins/accounts.md +96 -0
  95. package/docs/reference/plugins/api-web.md +46 -0
  96. package/docs/reference/plugins/api.md +75 -0
  97. package/docs/reference/plugins/boards-web.md +47 -0
  98. package/docs/reference/plugins/boards.md +81 -0
  99. package/docs/reference/plugins/chat-channels-pt-br.md +53 -0
  100. package/docs/reference/plugins/chat-channels.md +55 -0
  101. package/docs/reference/plugins/chat-terminal.md +49 -0
  102. package/docs/reference/plugins/chat-web.md +65 -0
  103. package/docs/reference/plugins/chat.md +149 -0
  104. package/docs/reference/plugins/computers-terminal.md +45 -0
  105. package/docs/reference/plugins/computers-web.md +53 -0
  106. package/docs/reference/plugins/computers.md +185 -0
  107. package/docs/reference/plugins/contacts-web.md +45 -0
  108. package/docs/reference/plugins/contacts.md +72 -0
  109. package/docs/reference/plugins/credits-web.md +47 -0
  110. package/docs/reference/plugins/credits.md +95 -0
  111. package/docs/reference/plugins/dev-sign-in.md +52 -0
  112. package/docs/reference/plugins/directory-member.md +57 -0
  113. package/docs/reference/plugins/directory-web.md +47 -0
  114. package/docs/reference/plugins/directory.md +112 -0
  115. package/docs/reference/plugins/documents-web.md +48 -0
  116. package/docs/reference/plugins/documents.md +88 -0
  117. package/docs/reference/plugins/email-sign-in.md +100 -0
  118. package/docs/reference/plugins/email.md +83 -0
  119. package/docs/reference/plugins/google-sign-in.md +63 -0
  120. package/docs/reference/plugins/history.md +78 -0
  121. package/docs/reference/plugins/identity.md +77 -0
  122. package/docs/reference/plugins/maintenance.md +67 -0
  123. package/docs/reference/plugins/mcp.md +94 -0
  124. package/docs/reference/plugins/memory-extraction.md +57 -0
  125. package/docs/reference/plugins/memory-terminal.md +46 -0
  126. package/docs/reference/plugins/memory-web.md +47 -0
  127. package/docs/reference/plugins/memory.md +90 -0
  128. package/docs/reference/plugins/models.md +66 -0
  129. package/docs/reference/plugins/openapi.md +66 -0
  130. package/docs/reference/plugins/password-sign-in.md +82 -0
  131. package/docs/reference/plugins/push-web.md +46 -0
  132. package/docs/reference/plugins/push.md +75 -0
  133. package/docs/reference/plugins/routines-web.md +46 -0
  134. package/docs/reference/plugins/routines.md +87 -0
  135. package/docs/reference/plugins/skills-web.md +46 -0
  136. package/docs/reference/plugins/skills.md +79 -0
  137. package/docs/reference/plugins/spaces-terminal.md +49 -0
  138. package/docs/reference/plugins/spaces-web.md +51 -0
  139. package/docs/reference/plugins/spaces.md +116 -0
  140. package/docs/reference/plugins/stripe-webhook.md +63 -0
  141. package/docs/reference/plugins/stripe.md +73 -0
  142. package/docs/reference/plugins/team-web.md +46 -0
  143. package/docs/reference/plugins/team.md +93 -0
  144. package/docs/reference/plugins/terminal-shell.md +45 -0
  145. package/docs/reference/plugins/terminal.md +62 -0
  146. package/docs/reference/plugins/tiers-web.md +48 -0
  147. package/docs/reference/plugins/tiers.md +75 -0
  148. package/docs/reference/plugins/usage-terminal.md +46 -0
  149. package/docs/reference/plugins/usage-web.md +46 -0
  150. package/docs/reference/plugins/usage.md +85 -0
  151. package/docs/reference/plugins/voice.md +117 -0
  152. package/docs/reference/plugins/web-lines.md +89 -0
  153. package/docs/reference/plugins/web-page.md +69 -0
  154. package/docs/reference/plugins/web-shell.md +52 -0
  155. package/docs/reference/plugins/webTools.md +66 -0
  156. package/docs/reference/plugins/whatsapp-web.md +46 -0
  157. package/docs/reference/plugins/whatsapp.md +127 -0
  158. package/docs/reference/plugins.json +27020 -0
  159. package/docs/reference/plugins.md +146 -0
  160. package/docs/reference.md +1113 -0
  161. package/exporters/mod.d.ts +27 -0
  162. package/exporters/mod.js +27 -0
  163. package/exporters/otlp.d.ts +257 -0
  164. package/exporters/otlp.js +71 -0
  165. package/exporters/prometheus.d.ts +12 -0
  166. package/exporters/prometheus.js +40 -0
  167. package/hosts/terminal/composer.d.ts +22 -0
  168. package/hosts/terminal/composer.js +25 -0
  169. package/hosts/terminal/contract.d.ts +84 -0
  170. package/hosts/terminal/contract.js +10 -0
  171. package/hosts/terminal/host.d.ts +45 -0
  172. package/hosts/terminal/host.js +211 -0
  173. package/hosts/terminal/mod.d.ts +18 -0
  174. package/hosts/terminal/mod.js +18 -0
  175. package/hosts/terminal/part.d.ts +8 -0
  176. package/hosts/terminal/part.js +24 -0
  177. package/hosts/terminal/scrollback.d.ts +13 -0
  178. package/hosts/terminal/scrollback.js +32 -0
  179. package/hosts/web/assets.d.ts +48 -0
  180. package/hosts/web/assets.js +134 -0
  181. package/hosts/web/base.d.ts +6 -0
  182. package/hosts/web/base.js +16 -0
  183. package/hosts/web/dom-client.d.ts +9 -0
  184. package/hosts/web/dom-client.js +4 -0
  185. package/hosts/web/export.d.ts +19 -0
  186. package/hosts/web/export.js +19 -0
  187. package/hosts/web/head.d.ts +10 -0
  188. package/hosts/web/head.js +65 -0
  189. package/hosts/web/host-words.d.ts +1 -0
  190. package/hosts/web/host-words.js +24 -0
  191. package/hosts/web/host.d.ts +53 -0
  192. package/hosts/web/host.js +253 -0
  193. package/hosts/web/install.d.ts +14 -0
  194. package/hosts/web/install.js +96 -0
  195. package/hosts/web/lazy.d.ts +21 -0
  196. package/hosts/web/lazy.js +50 -0
  197. package/hosts/web/mod.d.ts +115 -0
  198. package/hosts/web/mod.js +138 -0
  199. package/hosts/web/node/bundle.d.ts +12 -0
  200. package/hosts/web/node/bundle.js +46 -0
  201. package/hosts/web/node/mod.d.ts +60 -0
  202. package/hosts/web/node/mod.js +60 -0
  203. package/hosts/web/node/serve.d.ts +92 -0
  204. package/hosts/web/node/serve.js +143 -0
  205. package/hosts/web/palette/list.d.ts +22 -0
  206. package/hosts/web/palette/list.js +51 -0
  207. package/hosts/web/palette/palette.d.ts +36 -0
  208. package/hosts/web/palette/palette.js +294 -0
  209. package/hosts/web/palette/rank.d.ts +16 -0
  210. package/hosts/web/palette/rank.js +110 -0
  211. package/hosts/web/palette/row.d.ts +19 -0
  212. package/hosts/web/palette/row.js +37 -0
  213. package/hosts/web/palette/sources.d.ts +10 -0
  214. package/hosts/web/palette/sources.js +67 -0
  215. package/hosts/web/palette/state.d.ts +120 -0
  216. package/hosts/web/palette/state.js +31 -0
  217. package/hosts/web/palette/words.d.ts +1 -0
  218. package/hosts/web/palette/words.js +23 -0
  219. package/hosts/web/part.d.ts +23 -0
  220. package/hosts/web/part.js +72 -0
  221. package/hosts/web/pt-br/about.d.ts +3 -0
  222. package/hosts/web/pt-br/about.js +21 -0
  223. package/hosts/web/pt-br/accounts.d.ts +6 -0
  224. package/hosts/web/pt-br/accounts.js +39 -0
  225. package/hosts/web/pt-br/chat.d.ts +3 -0
  226. package/hosts/web/pt-br/chat.js +330 -0
  227. package/hosts/web/pt-br/computers.d.ts +7 -0
  228. package/hosts/web/pt-br/computers.js +243 -0
  229. package/hosts/web/pt-br/host.d.ts +3 -0
  230. package/hosts/web/pt-br/host.js +18 -0
  231. package/hosts/web/pt-br/memory.d.ts +3 -0
  232. package/hosts/web/pt-br/memory.js +41 -0
  233. package/hosts/web/pt-br/mod.d.ts +23 -0
  234. package/hosts/web/pt-br/mod.js +54 -0
  235. package/hosts/web/pt-br/palette.d.ts +6 -0
  236. package/hosts/web/pt-br/palette.js +17 -0
  237. package/hosts/web/pt-br/push.d.ts +3 -0
  238. package/hosts/web/pt-br/push.js +24 -0
  239. package/hosts/web/pt-br/shell.d.ts +3 -0
  240. package/hosts/web/pt-br/shell.js +49 -0
  241. package/hosts/web/pt-br/sign-in.d.ts +3 -0
  242. package/hosts/web/pt-br/sign-in.js +97 -0
  243. package/hosts/web/pt-br/spaces.d.ts +3 -0
  244. package/hosts/web/pt-br/spaces.js +272 -0
  245. package/hosts/web/pt-br/toolkit.d.ts +3 -0
  246. package/hosts/web/pt-br/toolkit.js +114 -0
  247. package/hosts/web/pt-br/usage.d.ts +3 -0
  248. package/hosts/web/pt-br/usage.js +156 -0
  249. package/hosts/web/push.d.ts +32 -0
  250. package/hosts/web/push.js +138 -0
  251. package/hosts/web/pwa.d.ts +71 -0
  252. package/hosts/web/pwa.js +242 -0
  253. package/hosts/web/route-page.d.ts +53 -0
  254. package/hosts/web/route-page.js +83 -0
  255. package/hosts/web/screens.d.ts +17 -0
  256. package/hosts/web/screens.js +26 -0
  257. package/hosts/web/server.d.ts +76 -0
  258. package/hosts/web/server.js +218 -0
  259. package/hosts/web/session.d.ts +36 -0
  260. package/hosts/web/session.js +35 -0
  261. package/hosts/web/signin-email.d.ts +71 -0
  262. package/hosts/web/signin-email.js +420 -0
  263. package/hosts/web/signin-password.d.ts +19 -0
  264. package/hosts/web/signin-password.js +68 -0
  265. package/hosts/web/signin-words.d.ts +174 -0
  266. package/hosts/web/signin-words.js +197 -0
  267. package/hosts/web/signin.d.ts +40 -0
  268. package/hosts/web/signin.js +260 -0
  269. package/hosts/web/style.d.ts +16 -0
  270. package/hosts/web/style.js +65 -0
  271. package/hosts/web/surface.d.ts +20 -0
  272. package/hosts/web/surface.js +42 -0
  273. package/hosts/web/table-address.d.ts +31 -0
  274. package/hosts/web/table-address.js +71 -0
  275. package/hosts/web/theme/context.d.ts +2 -0
  276. package/hosts/web/theme/context.js +8 -0
  277. package/hosts/web/theme/css.d.ts +37 -0
  278. package/hosts/web/theme/css.js +125 -0
  279. package/hosts/web/theme/default.d.ts +68 -0
  280. package/hosts/web/theme/default.js +191 -0
  281. package/hosts/web/theme/files/OFL-Manrope.txt +93 -0
  282. package/hosts/web/theme/files/OFL-SpaceGrotesk.txt +93 -0
  283. package/hosts/web/theme/files/faces.d.ts +2 -0
  284. package/hosts/web/theme/files/faces.js +28 -0
  285. package/hosts/web/theme/files/icon-png.d.ts +2 -0
  286. package/hosts/web/theme/files/icon-png.js +2 -0
  287. package/hosts/web/theme/files/manrope-v23-latin-ext.d.ts +2 -0
  288. package/hosts/web/theme/files/manrope-v23-latin-ext.js +2 -0
  289. package/hosts/web/theme/files/manrope-v23-latin.d.ts +2 -0
  290. package/hosts/web/theme/files/manrope-v23-latin.js +2 -0
  291. package/hosts/web/theme/files/mod.d.ts +21 -0
  292. package/hosts/web/theme/files/mod.js +35 -0
  293. package/hosts/web/theme/files/space-grotesk-v22-latin-ext.d.ts +2 -0
  294. package/hosts/web/theme/files/space-grotesk-v22-latin-ext.js +2 -0
  295. package/hosts/web/theme/files/space-grotesk-v22-latin.d.ts +2 -0
  296. package/hosts/web/theme/files/space-grotesk-v22-latin.js +2 -0
  297. package/hosts/web/theme/files/temml-v0140.d.ts +2 -0
  298. package/hosts/web/theme/files/temml-v0140.js +2 -0
  299. package/hosts/web/theme/icon.d.ts +3 -0
  300. package/hosts/web/theme/icon.js +26 -0
  301. package/hosts/web/theme/own-path.d.ts +8 -0
  302. package/hosts/web/theme/own-path.js +14 -0
  303. package/hosts/web/theme/pairz.d.ts +12 -0
  304. package/hosts/web/theme/pairz.js +43 -0
  305. package/hosts/web/theme/picture.d.ts +18 -0
  306. package/hosts/web/theme/picture.js +74 -0
  307. package/hosts/web/theme/png.d.ts +19 -0
  308. package/hosts/web/theme/png.js +387 -0
  309. package/hosts/web/ticket.d.ts +11 -0
  310. package/hosts/web/ticket.js +37 -0
  311. package/hosts/web/toolkit/ago.d.ts +1 -0
  312. package/hosts/web/toolkit/ago.js +56 -0
  313. package/hosts/web/toolkit/anchor.d.ts +11 -0
  314. package/hosts/web/toolkit/anchor.js +80 -0
  315. package/hosts/web/toolkit/app-bar.d.ts +55 -0
  316. package/hosts/web/toolkit/app-bar.js +107 -0
  317. package/hosts/web/toolkit/audio-player.d.ts +29 -0
  318. package/hosts/web/toolkit/audio-player.js +164 -0
  319. package/hosts/web/toolkit/autocomplete.d.ts +56 -0
  320. package/hosts/web/toolkit/autocomplete.js +84 -0
  321. package/hosts/web/toolkit/avatar.d.ts +29 -0
  322. package/hosts/web/toolkit/avatar.js +81 -0
  323. package/hosts/web/toolkit/badge.d.ts +17 -0
  324. package/hosts/web/toolkit/badge.js +27 -0
  325. package/hosts/web/toolkit/barcode-png.d.ts +6 -0
  326. package/hosts/web/toolkit/barcode-png.js +7 -0
  327. package/hosts/web/toolkit/barcode.d.ts +33 -0
  328. package/hosts/web/toolkit/barcode.js +34 -0
  329. package/hosts/web/toolkit/button.d.ts +40 -0
  330. package/hosts/web/toolkit/button.js +81 -0
  331. package/hosts/web/toolkit/bytes.d.ts +2 -0
  332. package/hosts/web/toolkit/bytes.js +13 -0
  333. package/hosts/web/toolkit/calendar.d.ts +62 -0
  334. package/hosts/web/toolkit/calendar.js +223 -0
  335. package/hosts/web/toolkit/card.d.ts +38 -0
  336. package/hosts/web/toolkit/card.js +32 -0
  337. package/hosts/web/toolkit/checkbox.d.ts +15 -0
  338. package/hosts/web/toolkit/checkbox.js +24 -0
  339. package/hosts/web/toolkit/chip.d.ts +24 -0
  340. package/hosts/web/toolkit/chip.js +33 -0
  341. package/hosts/web/toolkit/clock.d.ts +6 -0
  342. package/hosts/web/toolkit/clock.js +12 -0
  343. package/hosts/web/toolkit/code-block.d.ts +45 -0
  344. package/hosts/web/toolkit/code-block.js +111 -0
  345. package/hosts/web/toolkit/code-lines.d.ts +15 -0
  346. package/hosts/web/toolkit/code-lines.js +33 -0
  347. package/hosts/web/toolkit/code128.d.ts +61 -0
  348. package/hosts/web/toolkit/code128.js +229 -0
  349. package/hosts/web/toolkit/confirm-dialog.d.ts +71 -0
  350. package/hosts/web/toolkit/confirm-dialog.js +168 -0
  351. package/hosts/web/toolkit/confirm-state.d.ts +40 -0
  352. package/hosts/web/toolkit/confirm-state.js +91 -0
  353. package/hosts/web/toolkit/copy-button.d.ts +6 -0
  354. package/hosts/web/toolkit/copy-button.js +28 -0
  355. package/hosts/web/toolkit/cx.d.ts +2 -0
  356. package/hosts/web/toolkit/cx.js +2 -0
  357. package/hosts/web/toolkit/data-table.d.ts +121 -0
  358. package/hosts/web/toolkit/data-table.js +339 -0
  359. package/hosts/web/toolkit/date-picker.d.ts +121 -0
  360. package/hosts/web/toolkit/date-picker.js +409 -0
  361. package/hosts/web/toolkit/date-time-picker.d.ts +91 -0
  362. package/hosts/web/toolkit/date-time-picker.js +181 -0
  363. package/hosts/web/toolkit/dates.d.ts +145 -0
  364. package/hosts/web/toolkit/dates.js +438 -0
  365. package/hosts/web/toolkit/day-time-field.d.ts +27 -0
  366. package/hosts/web/toolkit/day-time-field.js +46 -0
  367. package/hosts/web/toolkit/day-time-text.d.ts +92 -0
  368. package/hosts/web/toolkit/day-time-text.js +549 -0
  369. package/hosts/web/toolkit/day-time-zone.d.ts +16 -0
  370. package/hosts/web/toolkit/day-time-zone.js +87 -0
  371. package/hosts/web/toolkit/detail-list.d.ts +39 -0
  372. package/hosts/web/toolkit/detail-list.js +41 -0
  373. package/hosts/web/toolkit/detail-value.d.ts +22 -0
  374. package/hosts/web/toolkit/detail-value.js +135 -0
  375. package/hosts/web/toolkit/dialog.d.ts +62 -0
  376. package/hosts/web/toolkit/dialog.js +76 -0
  377. package/hosts/web/toolkit/drawer.d.ts +23 -0
  378. package/hosts/web/toolkit/drawer.js +38 -0
  379. package/hosts/web/toolkit/empty-state.d.ts +25 -0
  380. package/hosts/web/toolkit/empty-state.js +25 -0
  381. package/hosts/web/toolkit/export.d.ts +117 -0
  382. package/hosts/web/toolkit/export.js +294 -0
  383. package/hosts/web/toolkit/field.d.ts +50 -0
  384. package/hosts/web/toolkit/field.js +74 -0
  385. package/hosts/web/toolkit/file-input.d.ts +61 -0
  386. package/hosts/web/toolkit/file-input.js +152 -0
  387. package/hosts/web/toolkit/files.d.ts +20 -0
  388. package/hosts/web/toolkit/files.js +31 -0
  389. package/hosts/web/toolkit/form-submit.d.ts +29 -0
  390. package/hosts/web/toolkit/form-submit.js +38 -0
  391. package/hosts/web/toolkit/form.d.ts +65 -0
  392. package/hosts/web/toolkit/form.js +94 -0
  393. package/hosts/web/toolkit/formula-style.d.ts +7 -0
  394. package/hosts/web/toolkit/formula-style.js +309 -0
  395. package/hosts/web/toolkit/formula.d.ts +17 -0
  396. package/hosts/web/toolkit/formula.js +37 -0
  397. package/hosts/web/toolkit/grid.d.ts +44 -0
  398. package/hosts/web/toolkit/grid.js +66 -0
  399. package/hosts/web/toolkit/humanize.d.ts +1 -0
  400. package/hosts/web/toolkit/humanize.js +42 -0
  401. package/hosts/web/toolkit/icon-button.d.ts +35 -0
  402. package/hosts/web/toolkit/icon-button.js +52 -0
  403. package/hosts/web/toolkit/icon.d.ts +125 -0
  404. package/hosts/web/toolkit/icon.js +121 -0
  405. package/hosts/web/toolkit/inline-edit.d.ts +23 -0
  406. package/hosts/web/toolkit/inline-edit.js +58 -0
  407. package/hosts/web/toolkit/input.d.ts +49 -0
  408. package/hosts/web/toolkit/input.js +101 -0
  409. package/hosts/web/toolkit/kbd.d.ts +6 -0
  410. package/hosts/web/toolkit/kbd.js +12 -0
  411. package/hosts/web/toolkit/kept.d.ts +22 -0
  412. package/hosts/web/toolkit/kept.js +50 -0
  413. package/hosts/web/toolkit/line-editor.d.ts +44 -0
  414. package/hosts/web/toolkit/line-editor.js +167 -0
  415. package/hosts/web/toolkit/list-group.d.ts +47 -0
  416. package/hosts/web/toolkit/list-group.js +51 -0
  417. package/hosts/web/toolkit/live-clock.d.ts +31 -0
  418. package/hosts/web/toolkit/live-clock.js +55 -0
  419. package/hosts/web/toolkit/logo.d.ts +25 -0
  420. package/hosts/web/toolkit/logo.js +47 -0
  421. package/hosts/web/toolkit/long-text.d.ts +15 -0
  422. package/hosts/web/toolkit/long-text.js +31 -0
  423. package/hosts/web/toolkit/markdown/blocks.d.ts +46 -0
  424. package/hosts/web/toolkit/markdown/blocks.js +184 -0
  425. package/hosts/web/toolkit/markdown/markdown.d.ts +15 -0
  426. package/hosts/web/toolkit/markdown/markdown.js +123 -0
  427. package/hosts/web/toolkit/markdown/spans.d.ts +34 -0
  428. package/hosts/web/toolkit/markdown/spans.js +91 -0
  429. package/hosts/web/toolkit/mathml.d.ts +14 -0
  430. package/hosts/web/toolkit/mathml.js +18 -0
  431. package/hosts/web/toolkit/menu.d.ts +65 -0
  432. package/hosts/web/toolkit/menu.js +159 -0
  433. package/hosts/web/toolkit/modal.d.ts +34 -0
  434. package/hosts/web/toolkit/modal.js +75 -0
  435. package/hosts/web/toolkit/nav-item.d.ts +33 -0
  436. package/hosts/web/toolkit/nav-item.js +41 -0
  437. package/hosts/web/toolkit/notice.d.ts +26 -0
  438. package/hosts/web/toolkit/notice.js +37 -0
  439. package/hosts/web/toolkit/page.d.ts +61 -0
  440. package/hosts/web/toolkit/page.js +93 -0
  441. package/hosts/web/toolkit/pagination.d.ts +25 -0
  442. package/hosts/web/toolkit/pagination.js +55 -0
  443. package/hosts/web/toolkit/pdf-image.d.ts +15 -0
  444. package/hosts/web/toolkit/pdf-image.js +147 -0
  445. package/hosts/web/toolkit/pdf.d.ts +152 -0
  446. package/hosts/web/toolkit/pdf.js +597 -0
  447. package/hosts/web/toolkit/picker.d.ts +67 -0
  448. package/hosts/web/toolkit/picker.js +163 -0
  449. package/hosts/web/toolkit/png.d.ts +21 -0
  450. package/hosts/web/toolkit/png.js +206 -0
  451. package/hosts/web/toolkit/popover.d.ts +44 -0
  452. package/hosts/web/toolkit/popover.js +98 -0
  453. package/hosts/web/toolkit/print.d.ts +31 -0
  454. package/hosts/web/toolkit/print.js +28 -0
  455. package/hosts/web/toolkit/radio.d.ts +18 -0
  456. package/hosts/web/toolkit/radio.js +23 -0
  457. package/hosts/web/toolkit/rail-item.d.ts +39 -0
  458. package/hosts/web/toolkit/rail-item.js +47 -0
  459. package/hosts/web/toolkit/record-dialog.d.ts +142 -0
  460. package/hosts/web/toolkit/record-dialog.js +210 -0
  461. package/hosts/web/toolkit/record-draft.d.ts +64 -0
  462. package/hosts/web/toolkit/record-draft.js +169 -0
  463. package/hosts/web/toolkit/refusal.d.ts +8 -0
  464. package/hosts/web/toolkit/refusal.js +14 -0
  465. package/hosts/web/toolkit/resample.d.ts +10 -0
  466. package/hosts/web/toolkit/resample.js +31 -0
  467. package/hosts/web/toolkit/resize-handle.d.ts +26 -0
  468. package/hosts/web/toolkit/resize-handle.js +67 -0
  469. package/hosts/web/toolkit/retail-barcodes.d.ts +10 -0
  470. package/hosts/web/toolkit/retail-barcodes.js +106 -0
  471. package/hosts/web/toolkit/return-focus.d.ts +11 -0
  472. package/hosts/web/toolkit/return-focus.js +35 -0
  473. package/hosts/web/toolkit/rows-editor.d.ts +62 -0
  474. package/hosts/web/toolkit/rows-editor.js +126 -0
  475. package/hosts/web/toolkit/rows.d.ts +36 -0
  476. package/hosts/web/toolkit/rows.js +66 -0
  477. package/hosts/web/toolkit/screen.d.ts +20 -0
  478. package/hosts/web/toolkit/screen.js +15 -0
  479. package/hosts/web/toolkit/select.d.ts +24 -0
  480. package/hosts/web/toolkit/select.js +36 -0
  481. package/hosts/web/toolkit/sheet.d.ts +16 -0
  482. package/hosts/web/toolkit/sheet.js +2 -0
  483. package/hosts/web/toolkit/shortcuts.d.ts +72 -0
  484. package/hosts/web/toolkit/shortcuts.js +195 -0
  485. package/hosts/web/toolkit/skeleton.d.ts +17 -0
  486. package/hosts/web/toolkit/skeleton.js +13 -0
  487. package/hosts/web/toolkit/space.d.ts +6 -0
  488. package/hosts/web/toolkit/space.js +21 -0
  489. package/hosts/web/toolkit/spinner.d.ts +13 -0
  490. package/hosts/web/toolkit/spinner.js +23 -0
  491. package/hosts/web/toolkit/split.d.ts +31 -0
  492. package/hosts/web/toolkit/split.js +25 -0
  493. package/hosts/web/toolkit/stack.d.ts +48 -0
  494. package/hosts/web/toolkit/stack.js +61 -0
  495. package/hosts/web/toolkit/switch.d.ts +30 -0
  496. package/hosts/web/toolkit/switch.js +41 -0
  497. package/hosts/web/toolkit/table-sheet.d.ts +20 -0
  498. package/hosts/web/toolkit/table-sheet.js +25 -0
  499. package/hosts/web/toolkit/table.d.ts +101 -0
  500. package/hosts/web/toolkit/table.js +97 -0
  501. package/hosts/web/toolkit/tabs.d.ts +45 -0
  502. package/hosts/web/toolkit/tabs.js +105 -0
  503. package/hosts/web/toolkit/tags-input.d.ts +25 -0
  504. package/hosts/web/toolkit/tags-input.js +90 -0
  505. package/hosts/web/toolkit/tags.d.ts +10 -0
  506. package/hosts/web/toolkit/tags.js +18 -0
  507. package/hosts/web/toolkit/temml.d.ts +8 -0
  508. package/hosts/web/toolkit/temml.js +29 -0
  509. package/hosts/web/toolkit/terminal-theme.d.ts +18 -0
  510. package/hosts/web/toolkit/terminal-theme.js +83 -0
  511. package/hosts/web/toolkit/terminal.d.ts +58 -0
  512. package/hosts/web/toolkit/terminal.js +261 -0
  513. package/hosts/web/toolkit/text.d.ts +36 -0
  514. package/hosts/web/toolkit/text.js +55 -0
  515. package/hosts/web/toolkit/textarea.d.ts +13 -0
  516. package/hosts/web/toolkit/textarea.js +52 -0
  517. package/hosts/web/toolkit/tile-grid.d.ts +31 -0
  518. package/hosts/web/toolkit/tile-grid.js +43 -0
  519. package/hosts/web/toolkit/time.d.ts +12 -0
  520. package/hosts/web/toolkit/time.js +39 -0
  521. package/hosts/web/toolkit/title.d.ts +3 -0
  522. package/hosts/web/toolkit/title.js +10 -0
  523. package/hosts/web/toolkit/toast-state.d.ts +49 -0
  524. package/hosts/web/toolkit/toast-state.js +84 -0
  525. package/hosts/web/toolkit/toast.d.ts +30 -0
  526. package/hosts/web/toolkit/toast.js +117 -0
  527. package/hosts/web/toolkit/toolbar.d.ts +28 -0
  528. package/hosts/web/toolkit/toolbar.js +16 -0
  529. package/hosts/web/toolkit/tooltip.d.ts +22 -0
  530. package/hosts/web/toolkit/tooltip.js +76 -0
  531. package/hosts/web/toolkit/waveform.d.ts +35 -0
  532. package/hosts/web/toolkit/waveform.js +110 -0
  533. package/hosts/web/toolkit/words.d.ts +1 -0
  534. package/hosts/web/toolkit/words.js +132 -0
  535. package/hosts/web/toolkit/xterm-style.d.ts +3 -0
  536. package/hosts/web/toolkit/xterm-style.js +67 -0
  537. package/hosts/web/toolkit/xterm.d.ts +23 -0
  538. package/hosts/web/toolkit/xterm.js +44 -0
  539. package/hosts/web/toolkit/zip.d.ts +18 -0
  540. package/hosts/web/toolkit/zip.js +91 -0
  541. package/hosts/web/update.d.ts +8 -0
  542. package/hosts/web/update.js +29 -0
  543. package/hosts/web/widget.d.ts +31 -0
  544. package/hosts/web/widget.js +434 -0
  545. package/hosts/web/widgets.d.ts +43 -0
  546. package/hosts/web/widgets.js +118 -0
  547. package/hosts/web/words.d.ts +83 -0
  548. package/hosts/web/words.js +124 -0
  549. package/llms.txt +167 -0
  550. package/package.json +335 -4
  551. package/plugins/access/accounts/actions/callback.d.ts +1 -0
  552. package/plugins/access/accounts/actions/callback.js +38 -0
  553. package/plugins/access/accounts/actions/complete.d.ts +1 -0
  554. package/plugins/access/accounts/actions/complete.js +42 -0
  555. package/plugins/access/accounts/actions/connect.d.ts +1 -0
  556. package/plugins/access/accounts/actions/connect.js +23 -0
  557. package/plugins/access/accounts/actions/connected.d.ts +1 -0
  558. package/plugins/access/accounts/actions/connected.js +22 -0
  559. package/plugins/access/accounts/actions/disconnect.d.ts +1 -0
  560. package/plugins/access/accounts/actions/disconnect.js +50 -0
  561. package/plugins/access/accounts/actions/model-key.d.ts +5 -0
  562. package/plugins/access/accounts/actions/model-key.js +130 -0
  563. package/plugins/access/accounts/actions/refresh.d.ts +1 -0
  564. package/plugins/access/accounts/actions/refresh.js +48 -0
  565. package/plugins/access/accounts/actions/token.d.ts +1 -0
  566. package/plugins/access/accounts/actions/token.js +54 -0
  567. package/plugins/access/accounts/collections/account.d.ts +107 -0
  568. package/plugins/access/accounts/collections/account.js +51 -0
  569. package/plugins/access/accounts/collections/flow.d.ts +65 -0
  570. package/plugins/access/accounts/collections/flow.js +20 -0
  571. package/plugins/access/accounts/collections/model-key.d.ts +69 -0
  572. package/plugins/access/accounts/collections/model-key.js +42 -0
  573. package/plugins/access/accounts/contract.d.ts +156 -0
  574. package/plugins/access/accounts/contract.js +1 -0
  575. package/plugins/access/accounts/events/changed.d.ts +8 -0
  576. package/plugins/access/accounts/events/changed.js +14 -0
  577. package/plugins/access/accounts/mod.d.ts +63 -0
  578. package/plugins/access/accounts/mod.js +141 -0
  579. package/plugins/access/accounts/resources/chatgpt.d.ts +17 -0
  580. package/plugins/access/accounts/resources/chatgpt.js +52 -0
  581. package/plugins/access/accounts/resources/models.d.ts +24 -0
  582. package/plugins/access/accounts/resources/models.js +21 -0
  583. package/plugins/access/accounts/routes/callback.d.ts +10 -0
  584. package/plugins/access/accounts/routes/callback.js +33 -0
  585. package/plugins/access/accounts/shared/errors.d.ts +19 -0
  586. package/plugins/access/accounts/shared/errors.js +19 -0
  587. package/plugins/access/accounts/shared/flow.d.ts +28 -0
  588. package/plugins/access/accounts/shared/flow.js +141 -0
  589. package/plugins/access/accounts/shared/oauth.d.ts +50 -0
  590. package/plugins/access/accounts/shared/oauth.js +144 -0
  591. package/plugins/access/accounts/shared/renew.d.ts +20 -0
  592. package/plugins/access/accounts/shared/renew.js +104 -0
  593. package/plugins/access/accounts/shared/rules.d.ts +11 -0
  594. package/plugins/access/accounts/shared/rules.js +22 -0
  595. package/plugins/access/accounts/shared/seal.d.ts +11 -0
  596. package/plugins/access/accounts/shared/seal.js +63 -0
  597. package/plugins/access/accounts/shared/settings.d.ts +37 -0
  598. package/plugins/access/accounts/shared/settings.js +31 -0
  599. package/plugins/access/accounts/views/web/accounts.d.ts +21 -0
  600. package/plugins/access/accounts/views/web/accounts.js +84 -0
  601. package/plugins/access/accounts/views/web/card.d.ts +14 -0
  602. package/plugins/access/accounts/views/web/card.js +19 -0
  603. package/plugins/access/accounts/views/web/connect.d.ts +41 -0
  604. package/plugins/access/accounts/views/web/connect.js +163 -0
  605. package/plugins/access/accounts/views/web/disconnect.d.ts +16 -0
  606. package/plugins/access/accounts/views/web/disconnect.js +31 -0
  607. package/plugins/access/accounts/views/web/own-keys.d.ts +12 -0
  608. package/plugins/access/accounts/views/web/own-keys.js +112 -0
  609. package/plugins/access/accounts/views/web/palette.d.ts +11 -0
  610. package/plugins/access/accounts/views/web/palette.js +71 -0
  611. package/plugins/access/accounts/views/web/style.d.ts +6 -0
  612. package/plugins/access/accounts/views/web/style.js +79 -0
  613. package/plugins/access/accounts/views/web/words.d.ts +31 -0
  614. package/plugins/access/accounts/views/web/words.js +104 -0
  615. package/plugins/access/accounts/web.d.ts +28 -0
  616. package/plugins/access/accounts/web.js +47 -0
  617. package/plugins/access/contacts/actions/chat.d.ts +1 -0
  618. package/plugins/access/contacts/actions/chat.js +45 -0
  619. package/plugins/access/contacts/actions/forget.d.ts +1 -0
  620. package/plugins/access/contacts/actions/forget.js +58 -0
  621. package/plugins/access/contacts/actions/start.d.ts +1 -0
  622. package/plugins/access/contacts/actions/start.js +60 -0
  623. package/plugins/access/contacts/collections/contact.d.ts +74 -0
  624. package/plugins/access/contacts/collections/contact.js +58 -0
  625. package/plugins/access/contacts/contract.d.ts +10 -0
  626. package/plugins/access/contacts/contract.js +10 -0
  627. package/plugins/access/contacts/mod.d.ts +33 -0
  628. package/plugins/access/contacts/mod.js +64 -0
  629. package/plugins/access/contacts/views/contact.d.ts +8 -0
  630. package/plugins/access/contacts/views/contact.js +26 -0
  631. package/plugins/access/contacts/views/notes.d.ts +11 -0
  632. package/plugins/access/contacts/views/notes.js +34 -0
  633. package/plugins/access/contacts/web.d.ts +7 -0
  634. package/plugins/access/contacts/web.js +11 -0
  635. package/plugins/access/contract.d.ts +14 -0
  636. package/plugins/access/contract.js +12 -0
  637. package/plugins/access/dev/actions/sign-in.d.ts +1 -0
  638. package/plugins/access/dev/actions/sign-in.js +52 -0
  639. package/plugins/access/dev/mod.d.ts +17 -0
  640. package/plugins/access/dev/mod.js +32 -0
  641. package/plugins/access/dev/routes/sign-in.d.ts +8 -0
  642. package/plugins/access/dev/routes/sign-in.js +25 -0
  643. package/plugins/access/dev/shared/here.d.ts +4 -0
  644. package/plugins/access/dev/shared/here.js +32 -0
  645. package/plugins/access/dev/shared/nearby.d.ts +2 -0
  646. package/plugins/access/dev/shared/nearby.js +27 -0
  647. package/plugins/access/email/actions/code.d.ts +2 -0
  648. package/plugins/access/email/actions/code.js +112 -0
  649. package/plugins/access/email/actions/import.d.ts +1 -0
  650. package/plugins/access/email/actions/import.js +54 -0
  651. package/plugins/access/email/actions/invite.d.ts +5 -0
  652. package/plugins/access/email/actions/invite.js +143 -0
  653. package/plugins/access/email/actions/password-accounts.d.ts +3 -0
  654. package/plugins/access/email/actions/password-accounts.js +118 -0
  655. package/plugins/access/email/actions/password-sign-in.d.ts +2 -0
  656. package/plugins/access/email/actions/password-sign-in.js +84 -0
  657. package/plugins/access/email/actions/prune.d.ts +3 -0
  658. package/plugins/access/email/actions/prune.js +32 -0
  659. package/plugins/access/email/actions/reset.d.ts +2 -0
  660. package/plugins/access/email/actions/reset.js +101 -0
  661. package/plugins/access/email/actions/send.d.ts +1 -0
  662. package/plugins/access/email/actions/send.js +101 -0
  663. package/plugins/access/email/actions/sign-in.d.ts +1 -0
  664. package/plugins/access/email/actions/sign-in.js +70 -0
  665. package/plugins/access/email/actions/sign-up.d.ts +4 -0
  666. package/plugins/access/email/actions/sign-up.js +109 -0
  667. package/plugins/access/email/adapters/capture.d.ts +13 -0
  668. package/plugins/access/email/adapters/capture.js +28 -0
  669. package/plugins/access/email/adapters/console.d.ts +8 -0
  670. package/plugins/access/email/adapters/console.js +16 -0
  671. package/plugins/access/email/adapters/resend.d.ts +9 -0
  672. package/plugins/access/email/adapters/resend.js +42 -0
  673. package/plugins/access/email/adapters/sendmail.d.ts +13 -0
  674. package/plugins/access/email/adapters/sendmail.js +59 -0
  675. package/plugins/access/email/adapters/smtp.d.ts +10 -0
  676. package/plugins/access/email/adapters/smtp.js +16 -0
  677. package/plugins/access/email/collections/code.d.ts +111 -0
  678. package/plugins/access/email/collections/code.js +39 -0
  679. package/plugins/access/email/collections/login.d.ts +71 -0
  680. package/plugins/access/email/collections/login.js +28 -0
  681. package/plugins/access/email/collections/password-login.d.ts +63 -0
  682. package/plugins/access/email/collections/password-login.js +26 -0
  683. package/plugins/access/email/collections/rate.d.ts +44 -0
  684. package/plugins/access/email/collections/rate.js +14 -0
  685. package/plugins/access/email/contract.d.ts +240 -0
  686. package/plugins/access/email/contract.js +8 -0
  687. package/plugins/access/email/mod.d.ts +79 -0
  688. package/plugins/access/email/mod.js +204 -0
  689. package/plugins/access/email/password.d.ts +38 -0
  690. package/plugins/access/email/password.js +63 -0
  691. package/plugins/access/email/resources/messages.d.ts +9 -0
  692. package/plugins/access/email/resources/messages.js +64 -0
  693. package/plugins/access/email/routes/password.d.ts +13 -0
  694. package/plugins/access/email/routes/password.js +8 -0
  695. package/plugins/access/email/routes/sign-in.d.ts +38 -0
  696. package/plugins/access/email/routes/sign-in.js +31 -0
  697. package/plugins/access/email/shared/addresses.d.ts +13 -0
  698. package/plugins/access/email/shared/addresses.js +16 -0
  699. package/plugins/access/email/shared/bcrypt.d.ts +7 -0
  700. package/plugins/access/email/shared/bcrypt.js +138 -0
  701. package/plugins/access/email/shared/codes.d.ts +41 -0
  702. package/plugins/access/email/shared/codes.js +90 -0
  703. package/plugins/access/email/shared/identifiers.d.ts +8 -0
  704. package/plugins/access/email/shared/identifiers.js +22 -0
  705. package/plugins/access/email/shared/inputs.d.ts +37 -0
  706. package/plugins/access/email/shared/inputs.js +43 -0
  707. package/plugins/access/email/shared/limits.d.ts +54 -0
  708. package/plugins/access/email/shared/limits.js +71 -0
  709. package/plugins/access/email/shared/mail.d.ts +37 -0
  710. package/plugins/access/email/shared/mail.js +71 -0
  711. package/plugins/access/email/shared/mime.d.ts +28 -0
  712. package/plugins/access/email/shared/mime.js +179 -0
  713. package/plugins/access/email/shared/password.d.ts +18 -0
  714. package/plugins/access/email/shared/password.js +91 -0
  715. package/plugins/access/email/shared/people.d.ts +35 -0
  716. package/plugins/access/email/shared/people.js +55 -0
  717. package/plugins/access/email/shared/pi.d.ts +7 -0
  718. package/plugins/access/email/shared/pi.js +101 -0
  719. package/plugins/access/email/shared/settings.d.ts +33 -0
  720. package/plugins/access/email/shared/settings.js +41 -0
  721. package/plugins/access/email/shared/smtp.d.ts +22 -0
  722. package/plugins/access/email/shared/smtp.js +160 -0
  723. package/plugins/access/email/shared/step.d.ts +27 -0
  724. package/plugins/access/email/shared/step.js +87 -0
  725. package/plugins/access/google/actions/sign-in.d.ts +1 -0
  726. package/plugins/access/google/actions/sign-in.js +42 -0
  727. package/plugins/access/google/adapters/keys.d.ts +10 -0
  728. package/plugins/access/google/adapters/keys.js +17 -0
  729. package/plugins/access/google/mod.d.ts +22 -0
  730. package/plugins/access/google/mod.js +34 -0
  731. package/plugins/access/google/routes/sign-in.d.ts +12 -0
  732. package/plugins/access/google/routes/sign-in.js +36 -0
  733. package/plugins/access/google/shared/jwt.d.ts +19 -0
  734. package/plugins/access/google/shared/jwt.js +29 -0
  735. package/plugins/access/google/shared/settings.d.ts +9 -0
  736. package/plugins/access/google/shared/settings.js +1 -0
  737. package/plugins/access/identity/actions/person.d.ts +9 -0
  738. package/plugins/access/identity/actions/person.js +84 -0
  739. package/plugins/access/identity/actions/session.d.ts +3 -0
  740. package/plugins/access/identity/actions/session.js +71 -0
  741. package/plugins/access/identity/collections/credential.d.ts +82 -0
  742. package/plugins/access/identity/collections/credential.js +45 -0
  743. package/plugins/access/identity/collections/person.d.ts +78 -0
  744. package/plugins/access/identity/collections/person.js +33 -0
  745. package/plugins/access/identity/contract.d.ts +21 -0
  746. package/plugins/access/identity/contract.js +18 -0
  747. package/plugins/access/identity/mod.d.ts +32 -0
  748. package/plugins/access/identity/mod.js +71 -0
  749. package/plugins/access/identity/routes/session.d.ts +17 -0
  750. package/plugins/access/identity/routes/session.js +35 -0
  751. package/plugins/access/mod.d.ts +46 -0
  752. package/plugins/access/mod.js +15 -0
  753. package/plugins/access/spaces/actions/agents.d.ts +2 -0
  754. package/plugins/access/spaces/actions/agents.js +57 -0
  755. package/plugins/access/spaces/actions/archive.d.ts +1 -0
  756. package/plugins/access/spaces/actions/archive.js +34 -0
  757. package/plugins/access/spaces/actions/can.d.ts +1 -0
  758. package/plugins/access/spaces/actions/can.js +26 -0
  759. package/plugins/access/spaces/actions/create.d.ts +1 -0
  760. package/plugins/access/spaces/actions/create.js +54 -0
  761. package/plugins/access/spaces/actions/invitation.d.ts +3 -0
  762. package/plugins/access/spaces/actions/invitation.js +126 -0
  763. package/plugins/access/spaces/actions/keep.d.ts +1 -0
  764. package/plugins/access/spaces/actions/keep.js +55 -0
  765. package/plugins/access/spaces/actions/leave.d.ts +1 -0
  766. package/plugins/access/spaces/actions/leave.js +37 -0
  767. package/plugins/access/spaces/actions/member.d.ts +8 -0
  768. package/plugins/access/spaces/actions/member.js +195 -0
  769. package/plugins/access/spaces/actions/org.d.ts +32 -0
  770. package/plugins/access/spaces/actions/org.js +261 -0
  771. package/plugins/access/spaces/actions/personal.d.ts +1 -0
  772. package/plugins/access/spaces/actions/personal.js +41 -0
  773. package/plugins/access/spaces/actions/rename.d.ts +1 -0
  774. package/plugins/access/spaces/actions/rename.js +39 -0
  775. package/plugins/access/spaces/actions/request.d.ts +2 -0
  776. package/plugins/access/spaces/actions/request.js +46 -0
  777. package/plugins/access/spaces/collections/invitation.d.ts +80 -0
  778. package/plugins/access/spaces/collections/invitation.js +43 -0
  779. package/plugins/access/spaces/collections/member.d.ts +89 -0
  780. package/plugins/access/spaces/collections/member.js +32 -0
  781. package/plugins/access/spaces/collections/profile.d.ts +54 -0
  782. package/plugins/access/spaces/collections/profile.js +54 -0
  783. package/plugins/access/spaces/collections/request.d.ts +66 -0
  784. package/plugins/access/spaces/collections/request.js +29 -0
  785. package/plugins/access/spaces/collections/space.d.ts +85 -0
  786. package/plugins/access/spaces/collections/space.js +73 -0
  787. package/plugins/access/spaces/contract.d.ts +132 -0
  788. package/plugins/access/spaces/contract.js +5 -0
  789. package/plugins/access/spaces/mod.d.ts +80 -0
  790. package/plugins/access/spaces/mod.js +154 -0
  791. package/plugins/access/spaces/processors/agent-gone.d.ts +7 -0
  792. package/plugins/access/spaces/processors/agent-gone.js +13 -0
  793. package/plugins/access/spaces/processors/profile.d.ts +7 -0
  794. package/plugins/access/spaces/processors/profile.js +10 -0
  795. package/plugins/access/spaces/resources/commands.d.ts +11 -0
  796. package/plugins/access/spaces/resources/commands.js +212 -0
  797. package/plugins/access/spaces/resources/tools.d.ts +2 -0
  798. package/plugins/access/spaces/resources/tools.js +50 -0
  799. package/plugins/access/spaces/shared/agents.d.ts +48 -0
  800. package/plugins/access/spaces/shared/agents.js +101 -0
  801. package/plugins/access/spaces/shared/audience.d.ts +51 -0
  802. package/plugins/access/spaces/shared/audience.js +113 -0
  803. package/plugins/access/spaces/shared/can.d.ts +46 -0
  804. package/plugins/access/spaces/shared/can.js +76 -0
  805. package/plugins/access/spaces/shared/declared.d.ts +21 -0
  806. package/plugins/access/spaces/shared/declared.js +8 -0
  807. package/plugins/access/spaces/shared/labels.d.ts +33 -0
  808. package/plugins/access/spaces/shared/labels.js +97 -0
  809. package/plugins/access/spaces/shared/managers.d.ts +9 -0
  810. package/plugins/access/spaces/shared/managers.js +15 -0
  811. package/plugins/access/spaces/shared/names.d.ts +70 -0
  812. package/plugins/access/spaces/shared/names.js +105 -0
  813. package/plugins/access/spaces/shared/personal.d.ts +8 -0
  814. package/plugins/access/spaces/shared/personal.js +13 -0
  815. package/plugins/access/spaces/shared/profile.d.ts +21 -0
  816. package/plugins/access/spaces/shared/profile.js +27 -0
  817. package/plugins/access/spaces/shared/reach.d.ts +145 -0
  818. package/plugins/access/spaces/shared/reach.js +443 -0
  819. package/plugins/access/spaces/shared/rules.d.ts +47 -0
  820. package/plugins/access/spaces/shared/rules.js +152 -0
  821. package/plugins/access/spaces/shared/seat.d.ts +15 -0
  822. package/plugins/access/spaces/shared/seat.js +44 -0
  823. package/plugins/access/spaces/terminal.d.ts +7 -0
  824. package/plugins/access/spaces/terminal.js +14 -0
  825. package/plugins/access/spaces/views/elsewhere.d.ts +16 -0
  826. package/plugins/access/spaces/views/elsewhere.js +53 -0
  827. package/plugins/access/spaces/views/terminal/spaces.d.ts +10 -0
  828. package/plugins/access/spaces/views/terminal/spaces.js +3 -0
  829. package/plugins/access/spaces/views/web/agents.d.ts +44 -0
  830. package/plugins/access/spaces/views/web/agents.js +94 -0
  831. package/plugins/access/spaces/views/web/header.d.ts +29 -0
  832. package/plugins/access/spaces/views/web/header.js +97 -0
  833. package/plugins/access/spaces/views/web/invitation.d.ts +17 -0
  834. package/plugins/access/spaces/views/web/invitation.js +41 -0
  835. package/plugins/access/spaces/views/web/invitations.d.ts +12 -0
  836. package/plugins/access/spaces/views/web/invitations.js +24 -0
  837. package/plugins/access/spaces/views/web/invite-dialog.d.ts +21 -0
  838. package/plugins/access/spaces/views/web/invite-dialog.js +17 -0
  839. package/plugins/access/spaces/views/web/invite.d.ts +18 -0
  840. package/plugins/access/spaces/views/web/invite.js +59 -0
  841. package/plugins/access/spaces/views/web/invited.d.ts +9 -0
  842. package/plugins/access/spaces/views/web/invited.js +12 -0
  843. package/plugins/access/spaces/views/web/inviting.d.ts +15 -0
  844. package/plugins/access/spaces/views/web/inviting.js +54 -0
  845. package/plugins/access/spaces/views/web/members.d.ts +19 -0
  846. package/plugins/access/spaces/views/web/members.js +160 -0
  847. package/plugins/access/spaces/views/web/new-space.d.ts +5 -0
  848. package/plugins/access/spaces/views/web/new-space.js +42 -0
  849. package/plugins/access/spaces/views/web/not-here.d.ts +14 -0
  850. package/plugins/access/spaces/views/web/not-here.js +89 -0
  851. package/plugins/access/spaces/views/web/org-about.d.ts +12 -0
  852. package/plugins/access/spaces/views/web/org-about.js +89 -0
  853. package/plugins/access/spaces/views/web/org-members.d.ts +16 -0
  854. package/plugins/access/spaces/views/web/org-members.js +244 -0
  855. package/plugins/access/spaces/views/web/palette.d.ts +17 -0
  856. package/plugins/access/spaces/views/web/palette.js +156 -0
  857. package/plugins/access/spaces/views/web/panel.d.ts +14 -0
  858. package/plugins/access/spaces/views/web/panel.js +70 -0
  859. package/plugins/access/spaces/views/web/pending.d.ts +17 -0
  860. package/plugins/access/spaces/views/web/pending.js +34 -0
  861. package/plugins/access/spaces/views/web/pick.d.ts +21 -0
  862. package/plugins/access/spaces/views/web/pick.js +63 -0
  863. package/plugins/access/spaces/views/web/sections.d.ts +31 -0
  864. package/plugins/access/spaces/views/web/sections.js +23 -0
  865. package/plugins/access/spaces/views/web/settings.d.ts +13 -0
  866. package/plugins/access/spaces/views/web/settings.js +185 -0
  867. package/plugins/access/spaces/views/web/space.d.ts +17 -0
  868. package/plugins/access/spaces/views/web/space.js +85 -0
  869. package/plugins/access/spaces/views/web/spaces.d.ts +16 -0
  870. package/plugins/access/spaces/views/web/spaces.js +33 -0
  871. package/plugins/access/spaces/views/web/steps.d.ts +19 -0
  872. package/plugins/access/spaces/views/web/steps.js +122 -0
  873. package/plugins/access/spaces/views/web/style.d.ts +9 -0
  874. package/plugins/access/spaces/views/web/style.js +279 -0
  875. package/plugins/access/spaces/views/web/tabs.d.ts +39 -0
  876. package/plugins/access/spaces/views/web/tabs.js +41 -0
  877. package/plugins/access/spaces/views/web/tree.d.ts +52 -0
  878. package/plugins/access/spaces/views/web/tree.js +127 -0
  879. package/plugins/access/spaces/views/web/who.d.ts +102 -0
  880. package/plugins/access/spaces/views/web/who.js +150 -0
  881. package/plugins/access/spaces/views/web/words.d.ts +1 -0
  882. package/plugins/access/spaces/views/web/words.js +291 -0
  883. package/plugins/access/spaces/views/where.d.ts +11 -0
  884. package/plugins/access/spaces/views/where.js +48 -0
  885. package/plugins/access/spaces/web.d.ts +35 -0
  886. package/plugins/access/spaces/web.js +138 -0
  887. package/plugins/access/terminal.d.ts +2 -0
  888. package/plugins/access/terminal.js +2 -0
  889. package/plugins/access/web.d.ts +4 -0
  890. package/plugins/access/web.js +4 -0
  891. package/plugins/agents/chat/actions/approve.d.ts +1 -0
  892. package/plugins/agents/chat/actions/approve.js +109 -0
  893. package/plugins/agents/chat/actions/archive.d.ts +1 -0
  894. package/plugins/agents/chat/actions/archive.js +95 -0
  895. package/plugins/agents/chat/actions/attach.d.ts +3 -0
  896. package/plugins/agents/chat/actions/attach.js +92 -0
  897. package/plugins/agents/chat/actions/erase.d.ts +1 -0
  898. package/plugins/agents/chat/actions/erase.js +47 -0
  899. package/plugins/agents/chat/actions/forget-grant.d.ts +1 -0
  900. package/plugins/agents/chat/actions/forget-grant.js +16 -0
  901. package/plugins/agents/chat/actions/fork.d.ts +1 -0
  902. package/plugins/agents/chat/actions/fork.js +47 -0
  903. package/plugins/agents/chat/actions/import.d.ts +1 -0
  904. package/plugins/agents/chat/actions/import.js +244 -0
  905. package/plugins/agents/chat/actions/move.d.ts +1 -0
  906. package/plugins/agents/chat/actions/move.js +55 -0
  907. package/plugins/agents/chat/actions/notes.d.ts +1 -0
  908. package/plugins/agents/chat/actions/notes.js +48 -0
  909. package/plugins/agents/chat/actions/open.d.ts +1 -0
  910. package/plugins/agents/chat/actions/open.js +77 -0
  911. package/plugins/agents/chat/actions/prune.d.ts +3 -0
  912. package/plugins/agents/chat/actions/prune.js +20 -0
  913. package/plugins/agents/chat/actions/quiet.d.ts +1 -0
  914. package/plugins/agents/chat/actions/quiet.js +33 -0
  915. package/plugins/agents/chat/actions/rename.d.ts +1 -0
  916. package/plugins/agents/chat/actions/rename.js +49 -0
  917. package/plugins/agents/chat/actions/say.d.ts +1 -0
  918. package/plugins/agents/chat/actions/say.js +168 -0
  919. package/plugins/agents/chat/actions/send.d.ts +11 -0
  920. package/plugins/agents/chat/actions/send.js +419 -0
  921. package/plugins/agents/chat/actions/shown.d.ts +1 -0
  922. package/plugins/agents/chat/actions/shown.js +35 -0
  923. package/plugins/agents/chat/actions/stop.d.ts +1 -0
  924. package/plugins/agents/chat/actions/stop.js +81 -0
  925. package/plugins/agents/chat/actions/unmark.d.ts +1 -0
  926. package/plugins/agents/chat/actions/unmark.js +100 -0
  927. package/plugins/agents/chat/actions/welcomed.d.ts +1 -0
  928. package/plugins/agents/chat/actions/welcomed.js +20 -0
  929. package/plugins/agents/chat/channels.d.ts +27 -0
  930. package/plugins/agents/chat/channels.js +124 -0
  931. package/plugins/agents/chat/collections/approval.d.ts +300 -0
  932. package/plugins/agents/chat/collections/approval.js +107 -0
  933. package/plugins/agents/chat/collections/file.d.ts +214 -0
  934. package/plugins/agents/chat/collections/file.js +108 -0
  935. package/plugins/agents/chat/collections/grant.d.ts +107 -0
  936. package/plugins/agents/chat/collections/grant.js +47 -0
  937. package/plugins/agents/chat/collections/intent.d.ts +176 -0
  938. package/plugins/agents/chat/collections/intent.js +73 -0
  939. package/plugins/agents/chat/collections/live.d.ts +159 -0
  940. package/plugins/agents/chat/collections/live.js +75 -0
  941. package/plugins/agents/chat/collections/message.d.ts +557 -0
  942. package/plugins/agents/chat/collections/message.js +250 -0
  943. package/plugins/agents/chat/collections/shown.d.ts +98 -0
  944. package/plugins/agents/chat/collections/shown.js +34 -0
  945. package/plugins/agents/chat/collections/thread.d.ts +260 -0
  946. package/plugins/agents/chat/collections/thread.js +192 -0
  947. package/plugins/agents/chat/collections/wait.d.ts +98 -0
  948. package/plugins/agents/chat/collections/wait.js +23 -0
  949. package/plugins/agents/chat/collections/welcome.d.ts +16 -0
  950. package/plugins/agents/chat/collections/welcome.js +27 -0
  951. package/plugins/agents/chat/contract.d.ts +71 -0
  952. package/plugins/agents/chat/contract.js +45 -0
  953. package/plugins/agents/chat/events/turn-requested.d.ts +3 -0
  954. package/plugins/agents/chat/events/turn-requested.js +15 -0
  955. package/plugins/agents/chat/mod.d.ts +134 -0
  956. package/plugins/agents/chat/mod.js +310 -0
  957. package/plugins/agents/chat/processors/failed.d.ts +3 -0
  958. package/plugins/agents/chat/processors/failed.js +60 -0
  959. package/plugins/agents/chat/processors/turn.d.ts +17 -0
  960. package/plugins/agents/chat/processors/turn.js +474 -0
  961. package/plugins/agents/chat/resources/commands.d.ts +17 -0
  962. package/plugins/agents/chat/resources/commands.js +406 -0
  963. package/plugins/agents/chat/resources/tools.d.ts +3 -0
  964. package/plugins/agents/chat/resources/tools.js +136 -0
  965. package/plugins/agents/chat/routes/files.d.ts +39 -0
  966. package/plugins/agents/chat/routes/files.js +169 -0
  967. package/plugins/agents/chat/shared/agents.d.ts +87 -0
  968. package/plugins/agents/chat/shared/agents.js +114 -0
  969. package/plugins/agents/chat/shared/asks.d.ts +81 -0
  970. package/plugins/agents/chat/shared/asks.js +203 -0
  971. package/plugins/agents/chat/shared/chat-of.d.ts +27 -0
  972. package/plugins/agents/chat/shared/chat-of.js +32 -0
  973. package/plugins/agents/chat/shared/contact-send.d.ts +32 -0
  974. package/plugins/agents/chat/shared/contact-send.js +18 -0
  975. package/plugins/agents/chat/shared/delivery.d.ts +68 -0
  976. package/plugins/agents/chat/shared/delivery.js +294 -0
  977. package/plugins/agents/chat/shared/lineage.d.ts +44 -0
  978. package/plugins/agents/chat/shared/lineage.js +88 -0
  979. package/plugins/agents/chat/shared/live.d.ts +44 -0
  980. package/plugins/agents/chat/shared/live.js +88 -0
  981. package/plugins/agents/chat/shared/notes.d.ts +28 -0
  982. package/plugins/agents/chat/shared/notes.js +35 -0
  983. package/plugins/agents/chat/shared/origin.d.ts +22 -0
  984. package/plugins/agents/chat/shared/origin.js +11 -0
  985. package/plugins/agents/chat/shared/send.d.ts +55 -0
  986. package/plugins/agents/chat/shared/send.js +380 -0
  987. package/plugins/agents/chat/shared/share.d.ts +48 -0
  988. package/plugins/agents/chat/shared/share.js +67 -0
  989. package/plugins/agents/chat/shared/summary.d.ts +65 -0
  990. package/plugins/agents/chat/shared/summary.js +41 -0
  991. package/plugins/agents/chat/shared/threads.d.ts +50 -0
  992. package/plugins/agents/chat/shared/threads.js +15 -0
  993. package/plugins/agents/chat/shared/tools.d.ts +42 -0
  994. package/plugins/agents/chat/shared/tools.js +61 -0
  995. package/plugins/agents/chat/shared/types.d.ts +404 -0
  996. package/plugins/agents/chat/shared/types.js +9 -0
  997. package/plugins/agents/chat/shared/unmark.d.ts +145 -0
  998. package/plugins/agents/chat/shared/unmark.js +237 -0
  999. package/plugins/agents/chat/shared/where.d.ts +20 -0
  1000. package/plugins/agents/chat/shared/where.js +18 -0
  1001. package/plugins/agents/chat/terminal.d.ts +12 -0
  1002. package/plugins/agents/chat/terminal.js +34 -0
  1003. package/plugins/agents/chat/views/asked.d.ts +35 -0
  1004. package/plugins/agents/chat/views/asked.js +89 -0
  1005. package/plugins/agents/chat/views/context.d.ts +11 -0
  1006. package/plugins/agents/chat/views/context.js +9 -0
  1007. package/plugins/agents/chat/views/held.d.ts +10 -0
  1008. package/plugins/agents/chat/views/held.js +10 -0
  1009. package/plugins/agents/chat/views/history.d.ts +16 -0
  1010. package/plugins/agents/chat/views/history.js +3 -0
  1011. package/plugins/agents/chat/views/message.d.ts +12 -0
  1012. package/plugins/agents/chat/views/message.js +110 -0
  1013. package/plugins/agents/chat/views/participants.d.ts +8 -0
  1014. package/plugins/agents/chat/views/participants.js +26 -0
  1015. package/plugins/agents/chat/views/prompt.d.ts +12 -0
  1016. package/plugins/agents/chat/views/prompt.js +115 -0
  1017. package/plugins/agents/chat/views/seen.d.ts +7 -0
  1018. package/plugins/agents/chat/views/seen.js +7 -0
  1019. package/plugins/agents/chat/views/terminal/agent-prompt.d.ts +7 -0
  1020. package/plugins/agents/chat/views/terminal/agent-prompt.js +18 -0
  1021. package/plugins/agents/chat/views/terminal/asks.d.ts +14 -0
  1022. package/plugins/agents/chat/views/terminal/asks.js +35 -0
  1023. package/plugins/agents/chat/views/terminal/author.d.ts +7 -0
  1024. package/plugins/agents/chat/views/terminal/author.js +11 -0
  1025. package/plugins/agents/chat/views/terminal/conversation.d.ts +5 -0
  1026. package/plugins/agents/chat/views/terminal/conversation.js +24 -0
  1027. package/plugins/agents/chat/views/terminal/live.d.ts +4 -0
  1028. package/plugins/agents/chat/views/terminal/live.js +16 -0
  1029. package/plugins/agents/chat/views/terminal/message.d.ts +4 -0
  1030. package/plugins/agents/chat/views/terminal/message.js +34 -0
  1031. package/plugins/agents/chat/views/terminal/moving.d.ts +11 -0
  1032. package/plugins/agents/chat/views/terminal/moving.js +27 -0
  1033. package/plugins/agents/chat/views/terminal/retrying.d.ts +7 -0
  1034. package/plugins/agents/chat/views/terminal/retrying.js +22 -0
  1035. package/plugins/agents/chat/views/terminal/threads.d.ts +13 -0
  1036. package/plugins/agents/chat/views/terminal/threads.js +2 -0
  1037. package/plugins/agents/chat/views/web/add.d.ts +33 -0
  1038. package/plugins/agents/chat/views/web/add.js +88 -0
  1039. package/plugins/agents/chat/views/web/agents.d.ts +89 -0
  1040. package/plugins/agents/chat/views/web/agents.js +107 -0
  1041. package/plugins/agents/chat/views/web/archive.d.ts +42 -0
  1042. package/plugins/agents/chat/views/web/archive.js +45 -0
  1043. package/plugins/agents/chat/views/web/archived-note.d.ts +15 -0
  1044. package/plugins/agents/chat/views/web/archived-note.js +26 -0
  1045. package/plugins/agents/chat/views/web/archived.d.ts +14 -0
  1046. package/plugins/agents/chat/views/web/archived.js +26 -0
  1047. package/plugins/agents/chat/views/web/asking.d.ts +15 -0
  1048. package/plugins/agents/chat/views/web/asking.js +50 -0
  1049. package/plugins/agents/chat/views/web/asks.d.ts +42 -0
  1050. package/plugins/agents/chat/views/web/asks.js +170 -0
  1051. package/plugins/agents/chat/views/web/attach.d.ts +28 -0
  1052. package/plugins/agents/chat/views/web/attach.js +37 -0
  1053. package/plugins/agents/chat/views/web/before-send.d.ts +9 -0
  1054. package/plugins/agents/chat/views/web/before-send.js +7 -0
  1055. package/plugins/agents/chat/views/web/chat-row.d.ts +25 -0
  1056. package/plugins/agents/chat/views/web/chat-row.js +41 -0
  1057. package/plugins/agents/chat/views/web/chats.d.ts +24 -0
  1058. package/plugins/agents/chat/views/web/chats.js +138 -0
  1059. package/plugins/agents/chat/views/web/composer.d.ts +135 -0
  1060. package/plugins/agents/chat/views/web/composer.js +504 -0
  1061. package/plugins/agents/chat/views/web/conversation.d.ts +94 -0
  1062. package/plugins/agents/chat/views/web/conversation.js +351 -0
  1063. package/plugins/agents/chat/views/web/download.d.ts +8 -0
  1064. package/plugins/agents/chat/views/web/download.js +8 -0
  1065. package/plugins/agents/chat/views/web/file.d.ts +23 -0
  1066. package/plugins/agents/chat/views/web/file.js +15 -0
  1067. package/plugins/agents/chat/views/web/handed.d.ts +17 -0
  1068. package/plugins/agents/chat/views/web/handed.js +47 -0
  1069. package/plugins/agents/chat/views/web/header.d.ts +48 -0
  1070. package/plugins/agents/chat/views/web/header.js +34 -0
  1071. package/plugins/agents/chat/views/web/held.d.ts +17 -0
  1072. package/plugins/agents/chat/views/web/held.js +51 -0
  1073. package/plugins/agents/chat/views/web/home.d.ts +27 -0
  1074. package/plugins/agents/chat/views/web/home.js +122 -0
  1075. package/plugins/agents/chat/views/web/lane.d.ts +11 -0
  1076. package/plugins/agents/chat/views/web/lane.js +44 -0
  1077. package/plugins/agents/chat/views/web/listed.d.ts +33 -0
  1078. package/plugins/agents/chat/views/web/listed.js +67 -0
  1079. package/plugins/agents/chat/views/web/live.d.ts +14 -0
  1080. package/plugins/agents/chat/views/web/live.js +37 -0
  1081. package/plugins/agents/chat/views/web/message.d.ts +34 -0
  1082. package/plugins/agents/chat/views/web/message.js +112 -0
  1083. package/plugins/agents/chat/views/web/missing.d.ts +5 -0
  1084. package/plugins/agents/chat/views/web/missing.js +6 -0
  1085. package/plugins/agents/chat/views/web/move.d.ts +23 -0
  1086. package/plugins/agents/chat/views/web/move.js +55 -0
  1087. package/plugins/agents/chat/views/web/moving.d.ts +21 -0
  1088. package/plugins/agents/chat/views/web/moving.js +46 -0
  1089. package/plugins/agents/chat/views/web/new-thread.d.ts +10 -0
  1090. package/plugins/agents/chat/views/web/new-thread.js +13 -0
  1091. package/plugins/agents/chat/views/web/notes-lane.d.ts +74 -0
  1092. package/plugins/agents/chat/views/web/notes-lane.js +67 -0
  1093. package/plugins/agents/chat/views/web/notes.d.ts +16 -0
  1094. package/plugins/agents/chat/views/web/notes.js +36 -0
  1095. package/plugins/agents/chat/views/web/over.d.ts +24 -0
  1096. package/plugins/agents/chat/views/web/over.js +28 -0
  1097. package/plugins/agents/chat/views/web/palette.d.ts +18 -0
  1098. package/plugins/agents/chat/views/web/palette.js +157 -0
  1099. package/plugins/agents/chat/views/web/picture.d.ts +12 -0
  1100. package/plugins/agents/chat/views/web/picture.js +17 -0
  1101. package/plugins/agents/chat/views/web/plain.d.ts +15 -0
  1102. package/plugins/agents/chat/views/web/plain.js +32 -0
  1103. package/plugins/agents/chat/views/web/queued.d.ts +19 -0
  1104. package/plugins/agents/chat/views/web/queued.js +28 -0
  1105. package/plugins/agents/chat/views/web/recent.d.ts +13 -0
  1106. package/plugins/agents/chat/views/web/recent.js +55 -0
  1107. package/plugins/agents/chat/views/web/record.d.ts +37 -0
  1108. package/plugins/agents/chat/views/web/record.js +230 -0
  1109. package/plugins/agents/chat/views/web/recorder.d.ts +23 -0
  1110. package/plugins/agents/chat/views/web/recorder.js +51 -0
  1111. package/plugins/agents/chat/views/web/rename.d.ts +15 -0
  1112. package/plugins/agents/chat/views/web/rename.js +29 -0
  1113. package/plugins/agents/chat/views/web/replies.d.ts +71 -0
  1114. package/plugins/agents/chat/views/web/replies.js +122 -0
  1115. package/plugins/agents/chat/views/web/retrying.d.ts +12 -0
  1116. package/plugins/agents/chat/views/web/retrying.js +29 -0
  1117. package/plugins/agents/chat/views/web/send-on.d.ts +29 -0
  1118. package/plugins/agents/chat/views/web/send-on.js +68 -0
  1119. package/plugins/agents/chat/views/web/shelf.d.ts +18 -0
  1120. package/plugins/agents/chat/views/web/shelf.js +14 -0
  1121. package/plugins/agents/chat/views/web/steps.d.ts +29 -0
  1122. package/plugins/agents/chat/views/web/steps.js +45 -0
  1123. package/plugins/agents/chat/views/web/style.d.ts +9 -0
  1124. package/plugins/agents/chat/views/web/style.js +572 -0
  1125. package/plugins/agents/chat/views/web/tool-view.d.ts +15 -0
  1126. package/plugins/agents/chat/views/web/tool-view.js +15 -0
  1127. package/plugins/agents/chat/views/web/transcript.d.ts +13 -0
  1128. package/plugins/agents/chat/views/web/transcript.js +58 -0
  1129. package/plugins/agents/chat/views/web/voice-failed.d.ts +15 -0
  1130. package/plugins/agents/chat/views/web/voice-failed.js +6 -0
  1131. package/plugins/agents/chat/views/web/voice-note.d.ts +20 -0
  1132. package/plugins/agents/chat/views/web/voice-note.js +20 -0
  1133. package/plugins/agents/chat/views/web/waiting.d.ts +10 -0
  1134. package/plugins/agents/chat/views/web/waiting.js +9 -0
  1135. package/plugins/agents/chat/views/web/waking.d.ts +12 -0
  1136. package/plugins/agents/chat/views/web/waking.js +30 -0
  1137. package/plugins/agents/chat/views/web/welcome.d.ts +25 -0
  1138. package/plugins/agents/chat/views/web/welcome.js +44 -0
  1139. package/plugins/agents/chat/views/web/who.d.ts +15 -0
  1140. package/plugins/agents/chat/views/web/who.js +18 -0
  1141. package/plugins/agents/chat/views/web/words.d.ts +1 -0
  1142. package/plugins/agents/chat/views/web/words.js +384 -0
  1143. package/plugins/agents/chat/web.d.ts +71 -0
  1144. package/plugins/agents/chat/web.js +131 -0
  1145. package/plugins/agents/contract.d.ts +12 -0
  1146. package/plugins/agents/contract.js +12 -0
  1147. package/plugins/agents/history/collections/outline.d.ts +195 -0
  1148. package/plugins/agents/history/collections/outline.js +44 -0
  1149. package/plugins/agents/history/collections/summary.d.ts +89 -0
  1150. package/plugins/agents/history/collections/summary.js +31 -0
  1151. package/plugins/agents/history/mod.d.ts +38 -0
  1152. package/plugins/agents/history/mod.js +61 -0
  1153. package/plugins/agents/history/processors/compact.d.ts +9 -0
  1154. package/plugins/agents/history/processors/compact.js +339 -0
  1155. package/plugins/agents/history/processors/erase.d.ts +3 -0
  1156. package/plugins/agents/history/processors/erase.js +11 -0
  1157. package/plugins/agents/history/resources/tools.d.ts +1 -0
  1158. package/plugins/agents/history/resources/tools.js +70 -0
  1159. package/plugins/agents/history/shared/lines.d.ts +28 -0
  1160. package/plugins/agents/history/shared/lines.js +48 -0
  1161. package/plugins/agents/history/shared/settings.d.ts +23 -0
  1162. package/plugins/agents/history/shared/settings.js +8 -0
  1163. package/plugins/agents/history/shared/summarized.d.ts +8 -0
  1164. package/plugins/agents/history/shared/summarized.js +9 -0
  1165. package/plugins/agents/history/shared/weight.d.ts +28 -0
  1166. package/plugins/agents/history/shared/weight.js +62 -0
  1167. package/plugins/agents/history/views/history.d.ts +15 -0
  1168. package/plugins/agents/history/views/history.js +59 -0
  1169. package/plugins/agents/history/views/since.d.ts +10 -0
  1170. package/plugins/agents/history/views/since.js +10 -0
  1171. package/plugins/agents/history/views/summary.d.ts +6 -0
  1172. package/plugins/agents/history/views/summary.js +8 -0
  1173. package/plugins/agents/memory/actions/import.d.ts +1 -0
  1174. package/plugins/agents/memory/actions/import.js +88 -0
  1175. package/plugins/agents/memory/collections/memory.d.ts +134 -0
  1176. package/plugins/agents/memory/collections/memory.js +77 -0
  1177. package/plugins/agents/memory/collections/progress.d.ts +19 -0
  1178. package/plugins/agents/memory/collections/progress.js +8 -0
  1179. package/plugins/agents/memory/mod.d.ts +48 -0
  1180. package/plugins/agents/memory/mod.js +106 -0
  1181. package/plugins/agents/memory/processors/extract.d.ts +12 -0
  1182. package/plugins/agents/memory/processors/extract.js +149 -0
  1183. package/plugins/agents/memory/resources/commands.d.ts +3 -0
  1184. package/plugins/agents/memory/resources/commands.js +13 -0
  1185. package/plugins/agents/memory/resources/context.d.ts +20 -0
  1186. package/plugins/agents/memory/resources/context.js +13 -0
  1187. package/plugins/agents/memory/resources/tools.d.ts +5 -0
  1188. package/plugins/agents/memory/resources/tools.js +153 -0
  1189. package/plugins/agents/memory/shared/scope.d.ts +82 -0
  1190. package/plugins/agents/memory/shared/scope.js +172 -0
  1191. package/plugins/agents/memory/shared/search.d.ts +32 -0
  1192. package/plugins/agents/memory/shared/search.js +108 -0
  1193. package/plugins/agents/memory/shared/settings.d.ts +41 -0
  1194. package/plugins/agents/memory/shared/settings.js +46 -0
  1195. package/plugins/agents/memory/terminal.d.ts +6 -0
  1196. package/plugins/agents/memory/terminal.js +13 -0
  1197. package/plugins/agents/memory/views/context.d.ts +8 -0
  1198. package/plugins/agents/memory/views/context.js +97 -0
  1199. package/plugins/agents/memory/views/memory.d.ts +5 -0
  1200. package/plugins/agents/memory/views/memory.js +4 -0
  1201. package/plugins/agents/memory/views/terminal/memory.d.ts +5 -0
  1202. package/plugins/agents/memory/views/terminal/memory.js +8 -0
  1203. package/plugins/agents/memory/views/web/card.d.ts +19 -0
  1204. package/plugins/agents/memory/views/web/card.js +25 -0
  1205. package/plugins/agents/memory/views/web/list.d.ts +28 -0
  1206. package/plugins/agents/memory/views/web/list.js +87 -0
  1207. package/plugins/agents/memory/views/web/memories.d.ts +15 -0
  1208. package/plugins/agents/memory/views/web/memories.js +39 -0
  1209. package/plugins/agents/memory/views/web/move.d.ts +13 -0
  1210. package/plugins/agents/memory/views/web/move.js +13 -0
  1211. package/plugins/agents/memory/views/web/palette.d.ts +11 -0
  1212. package/plugins/agents/memory/views/web/palette.js +42 -0
  1213. package/plugins/agents/memory/views/web/pick.d.ts +10 -0
  1214. package/plugins/agents/memory/views/web/pick.js +42 -0
  1215. package/plugins/agents/memory/views/web/style.d.ts +6 -0
  1216. package/plugins/agents/memory/views/web/style.js +41 -0
  1217. package/plugins/agents/memory/views/web/words.d.ts +1 -0
  1218. package/plugins/agents/memory/views/web/words.js +48 -0
  1219. package/plugins/agents/memory/web.d.ts +11 -0
  1220. package/plugins/agents/memory/web.js +34 -0
  1221. package/plugins/agents/mod.d.ts +24 -0
  1222. package/plugins/agents/mod.js +24 -0
  1223. package/plugins/agents/openapi/actions/operation.d.ts +11 -0
  1224. package/plugins/agents/openapi/actions/operation.js +86 -0
  1225. package/plugins/agents/openapi/contract.d.ts +77 -0
  1226. package/plugins/agents/openapi/contract.js +1 -0
  1227. package/plugins/agents/openapi/mod.d.ts +5 -0
  1228. package/plugins/agents/openapi/mod.js +75 -0
  1229. package/plugins/agents/openapi/resources/tools.d.ts +9 -0
  1230. package/plugins/agents/openapi/resources/tools.js +23 -0
  1231. package/plugins/agents/openapi/shared/files.d.ts +4 -0
  1232. package/plugins/agents/openapi/shared/files.js +128 -0
  1233. package/plugins/agents/openapi/shared/plan.d.ts +34 -0
  1234. package/plugins/agents/openapi/shared/plan.js +122 -0
  1235. package/plugins/agents/openapi/shared/request.d.ts +15 -0
  1236. package/plugins/agents/openapi/shared/request.js +87 -0
  1237. package/plugins/agents/openapi/shared/response.d.ts +24 -0
  1238. package/plugins/agents/openapi/shared/response.js +133 -0
  1239. package/plugins/agents/openapi/shared/schema.d.ts +20 -0
  1240. package/plugins/agents/openapi/shared/schema.js +128 -0
  1241. package/plugins/agents/openapi/shared/settings.d.ts +22 -0
  1242. package/plugins/agents/openapi/shared/settings.js +34 -0
  1243. package/plugins/agents/openapi/shared/spec.d.ts +55 -0
  1244. package/plugins/agents/openapi/shared/spec.js +99 -0
  1245. package/plugins/agents/routines/actions/create.d.ts +1 -0
  1246. package/plugins/agents/routines/actions/create.js +72 -0
  1247. package/plugins/agents/routines/actions/delete.d.ts +1 -0
  1248. package/plugins/agents/routines/actions/delete.js +20 -0
  1249. package/plugins/agents/routines/actions/fire.d.ts +1 -0
  1250. package/plugins/agents/routines/actions/fire.js +26 -0
  1251. package/plugins/agents/routines/actions/origin.d.ts +1 -0
  1252. package/plugins/agents/routines/actions/origin.js +32 -0
  1253. package/plugins/agents/routines/actions/pause.d.ts +1 -0
  1254. package/plugins/agents/routines/actions/pause.js +23 -0
  1255. package/plugins/agents/routines/actions/resume.d.ts +1 -0
  1256. package/plugins/agents/routines/actions/resume.js +26 -0
  1257. package/plugins/agents/routines/actions/run.d.ts +1 -0
  1258. package/plugins/agents/routines/actions/run.js +21 -0
  1259. package/plugins/agents/routines/actions/update.d.ts +1 -0
  1260. package/plugins/agents/routines/actions/update.js +88 -0
  1261. package/plugins/agents/routines/collections/routine.d.ts +149 -0
  1262. package/plugins/agents/routines/collections/routine.js +95 -0
  1263. package/plugins/agents/routines/collections/run.d.ts +108 -0
  1264. package/plugins/agents/routines/collections/run.js +31 -0
  1265. package/plugins/agents/routines/contract.d.ts +17 -0
  1266. package/plugins/agents/routines/contract.js +1 -0
  1267. package/plugins/agents/routines/mod.d.ts +38 -0
  1268. package/plugins/agents/routines/mod.js +79 -0
  1269. package/plugins/agents/routines/resources/tools.d.ts +2 -0
  1270. package/plugins/agents/routines/resources/tools.js +207 -0
  1271. package/plugins/agents/routines/shared/fire.d.ts +26 -0
  1272. package/plugins/agents/routines/shared/fire.js +101 -0
  1273. package/plugins/agents/routines/shared/routines.d.ts +118 -0
  1274. package/plugins/agents/routines/shared/routines.js +91 -0
  1275. package/plugins/agents/routines/shared/schedule.d.ts +148 -0
  1276. package/plugins/agents/routines/shared/schedule.js +347 -0
  1277. package/plugins/agents/routines/views/web/delete.d.ts +16 -0
  1278. package/plugins/agents/routines/views/web/delete.js +26 -0
  1279. package/plugins/agents/routines/views/web/form.d.ts +31 -0
  1280. package/plugins/agents/routines/views/web/form.js +102 -0
  1281. package/plugins/agents/routines/views/web/list.d.ts +16 -0
  1282. package/plugins/agents/routines/views/web/list.js +145 -0
  1283. package/plugins/agents/routines/views/web/new.d.ts +26 -0
  1284. package/plugins/agents/routines/views/web/new.js +37 -0
  1285. package/plugins/agents/routines/views/web/page.d.ts +15 -0
  1286. package/plugins/agents/routines/views/web/page.js +174 -0
  1287. package/plugins/agents/routines/views/web/palette.d.ts +16 -0
  1288. package/plugins/agents/routines/views/web/palette.js +145 -0
  1289. package/plugins/agents/routines/views/web/picker.d.ts +19 -0
  1290. package/plugins/agents/routines/views/web/picker.js +57 -0
  1291. package/plugins/agents/routines/views/web/routines.d.ts +66 -0
  1292. package/plugins/agents/routines/views/web/routines.js +110 -0
  1293. package/plugins/agents/routines/views/web/step.d.ts +12 -0
  1294. package/plugins/agents/routines/views/web/step.js +24 -0
  1295. package/plugins/agents/routines/views/web/style.d.ts +8 -0
  1296. package/plugins/agents/routines/views/web/style.js +196 -0
  1297. package/plugins/agents/routines/web.d.ts +17 -0
  1298. package/plugins/agents/routines/web.js +37 -0
  1299. package/plugins/agents/skills/actions/create.d.ts +1 -0
  1300. package/plugins/agents/skills/actions/create.js +43 -0
  1301. package/plugins/agents/skills/actions/delete.d.ts +1 -0
  1302. package/plugins/agents/skills/actions/delete.js +29 -0
  1303. package/plugins/agents/skills/actions/update.d.ts +1 -0
  1304. package/plugins/agents/skills/actions/update.js +58 -0
  1305. package/plugins/agents/skills/collections/skill-file.d.ts +62 -0
  1306. package/plugins/agents/skills/collections/skill-file.js +20 -0
  1307. package/plugins/agents/skills/collections/skill.d.ts +133 -0
  1308. package/plugins/agents/skills/collections/skill.js +105 -0
  1309. package/plugins/agents/skills/contract.d.ts +11 -0
  1310. package/plugins/agents/skills/contract.js +1 -0
  1311. package/plugins/agents/skills/mod.d.ts +31 -0
  1312. package/plugins/agents/skills/mod.js +80 -0
  1313. package/plugins/agents/skills/resources/planning.d.ts +11 -0
  1314. package/plugins/agents/skills/resources/planning.js +114 -0
  1315. package/plugins/agents/skills/resources/tools.d.ts +7 -0
  1316. package/plugins/agents/skills/resources/tools.js +57 -0
  1317. package/plugins/agents/skills/shared/check.d.ts +37 -0
  1318. package/plugins/agents/skills/shared/check.js +92 -0
  1319. package/plugins/agents/skills/shared/skill-md.d.ts +18 -0
  1320. package/plugins/agents/skills/shared/skill-md.js +63 -0
  1321. package/plugins/agents/skills/shared/skills.d.ts +53 -0
  1322. package/plugins/agents/skills/shared/skills.js +53 -0
  1323. package/plugins/agents/skills/shared/write.d.ts +72 -0
  1324. package/plugins/agents/skills/shared/write.js +54 -0
  1325. package/plugins/agents/skills/views/context.d.ts +14 -0
  1326. package/plugins/agents/skills/views/context.js +17 -0
  1327. package/plugins/agents/skills/views/web/delete.d.ts +19 -0
  1328. package/plugins/agents/skills/views/web/delete.js +27 -0
  1329. package/plugins/agents/skills/views/web/form.d.ts +28 -0
  1330. package/plugins/agents/skills/views/web/form.js +190 -0
  1331. package/plugins/agents/skills/views/web/list.d.ts +13 -0
  1332. package/plugins/agents/skills/views/web/list.js +88 -0
  1333. package/plugins/agents/skills/views/web/page.d.ts +13 -0
  1334. package/plugins/agents/skills/views/web/page.js +117 -0
  1335. package/plugins/agents/skills/views/web/palette.d.ts +21 -0
  1336. package/plugins/agents/skills/views/web/palette.js +133 -0
  1337. package/plugins/agents/skills/views/web/skills.d.ts +42 -0
  1338. package/plugins/agents/skills/views/web/skills.js +97 -0
  1339. package/plugins/agents/skills/views/web/step.d.ts +10 -0
  1340. package/plugins/agents/skills/views/web/step.js +26 -0
  1341. package/plugins/agents/skills/views/web/style.d.ts +8 -0
  1342. package/plugins/agents/skills/views/web/style.js +155 -0
  1343. package/plugins/agents/skills/web.d.ts +16 -0
  1344. package/plugins/agents/skills/web.js +37 -0
  1345. package/plugins/agents/terminal.d.ts +3 -0
  1346. package/plugins/agents/terminal.js +3 -0
  1347. package/plugins/agents/web.d.ts +6 -0
  1348. package/plugins/agents/web.js +6 -0
  1349. package/plugins/agents/webtools/adapters/duckduckgo.d.ts +21 -0
  1350. package/plugins/agents/webtools/adapters/duckduckgo.js +168 -0
  1351. package/plugins/agents/webtools/adapters/fake.d.ts +3 -0
  1352. package/plugins/agents/webtools/adapters/fake.js +8 -0
  1353. package/plugins/agents/webtools/adapters/serper.d.ts +2 -0
  1354. package/plugins/agents/webtools/adapters/serper.js +30 -0
  1355. package/plugins/agents/webtools/contract.d.ts +72 -0
  1356. package/plugins/agents/webtools/contract.js +1 -0
  1357. package/plugins/agents/webtools/mod.d.ts +55 -0
  1358. package/plugins/agents/webtools/mod.js +75 -0
  1359. package/plugins/agents/webtools/resources/tools.d.ts +2 -0
  1360. package/plugins/agents/webtools/resources/tools.js +82 -0
  1361. package/plugins/agents/webtools/shared/address.d.ts +9 -0
  1362. package/plugins/agents/webtools/shared/address.js +112 -0
  1363. package/plugins/agents/webtools/shared/read.d.ts +11 -0
  1364. package/plugins/agents/webtools/shared/read.js +129 -0
  1365. package/plugins/agents/webtools/shared/search.d.ts +15 -0
  1366. package/plugins/agents/webtools/shared/search.js +54 -0
  1367. package/plugins/agents/webtools/shared/settings.d.ts +20 -0
  1368. package/plugins/agents/webtools/shared/settings.js +21 -0
  1369. package/plugins/agents/webtools/shared/text.d.ts +15 -0
  1370. package/plugins/agents/webtools/shared/text.js +88 -0
  1371. package/plugins/billing/mod.d.ts +12 -0
  1372. package/plugins/billing/mod.js +12 -0
  1373. package/plugins/billing/terminal.d.ts +2 -0
  1374. package/plugins/billing/terminal.js +2 -0
  1375. package/plugins/billing/usage/actions/activity.d.ts +84 -0
  1376. package/plugins/billing/usage/actions/activity.js +310 -0
  1377. package/plugins/billing/usage/actions/close.d.ts +1 -0
  1378. package/plugins/billing/usage/actions/close.js +172 -0
  1379. package/plugins/billing/usage/actions/org.d.ts +30 -0
  1380. package/plugins/billing/usage/actions/org.js +64 -0
  1381. package/plugins/billing/usage/actions/quote.d.ts +7 -0
  1382. package/plugins/billing/usage/actions/quote.js +86 -0
  1383. package/plugins/billing/usage/actions/record.d.ts +1 -0
  1384. package/plugins/billing/usage/actions/record.js +25 -0
  1385. package/plugins/billing/usage/actions/rerate.d.ts +1 -0
  1386. package/plugins/billing/usage/actions/rerate.js +69 -0
  1387. package/plugins/billing/usage/collections/closed.d.ts +65 -0
  1388. package/plugins/billing/usage/collections/closed.js +22 -0
  1389. package/plugins/billing/usage/collections/rollup.d.ts +203 -0
  1390. package/plugins/billing/usage/collections/rollup.js +50 -0
  1391. package/plugins/billing/usage/collections/usage.d.ts +218 -0
  1392. package/plugins/billing/usage/collections/usage.js +75 -0
  1393. package/plugins/billing/usage/mod.d.ts +61 -0
  1394. package/plugins/billing/usage/mod.js +94 -0
  1395. package/plugins/billing/usage/resources/commands.d.ts +3 -0
  1396. package/plugins/billing/usage/resources/commands.js +21 -0
  1397. package/plugins/billing/usage/resources/ledger.d.ts +3 -0
  1398. package/plugins/billing/usage/resources/ledger.js +2 -0
  1399. package/plugins/billing/usage/shared/categories.d.ts +24 -0
  1400. package/plugins/billing/usage/shared/categories.js +40 -0
  1401. package/plugins/billing/usage/shared/days.d.ts +17 -0
  1402. package/plugins/billing/usage/shared/days.js +28 -0
  1403. package/plugins/billing/usage/shared/names.d.ts +45 -0
  1404. package/plugins/billing/usage/shared/names.js +60 -0
  1405. package/plugins/billing/usage/shared/rate.d.ts +79 -0
  1406. package/plugins/billing/usage/shared/rate.js +157 -0
  1407. package/plugins/billing/usage/shared/settings.d.ts +34 -0
  1408. package/plugins/billing/usage/shared/settings.js +18 -0
  1409. package/plugins/billing/usage/shared/totals.d.ts +80 -0
  1410. package/plugins/billing/usage/shared/totals.js +193 -0
  1411. package/plugins/billing/usage/shared/use.d.ts +42 -0
  1412. package/plugins/billing/usage/shared/use.js +51 -0
  1413. package/plugins/billing/usage/terminal.d.ts +6 -0
  1414. package/plugins/billing/usage/terminal.js +13 -0
  1415. package/plugins/billing/usage/views/terminal/totals.d.ts +9 -0
  1416. package/plugins/billing/usage/views/terminal/totals.js +48 -0
  1417. package/plugins/billing/usage/views/web/chart.d.ts +31 -0
  1418. package/plugins/billing/usage/views/web/chart.js +125 -0
  1419. package/plugins/billing/usage/views/web/numbers.d.ts +167 -0
  1420. package/plugins/billing/usage/views/web/numbers.js +330 -0
  1421. package/plugins/billing/usage/views/web/org.d.ts +129 -0
  1422. package/plugins/billing/usage/views/web/org.js +642 -0
  1423. package/plugins/billing/usage/views/web/style.d.ts +12 -0
  1424. package/plugins/billing/usage/views/web/style.js +199 -0
  1425. package/plugins/billing/usage/views/web/words.d.ts +1 -0
  1426. package/plugins/billing/usage/views/web/words.js +173 -0
  1427. package/plugins/billing/usage/web.d.ts +14 -0
  1428. package/plugins/billing/usage/web.js +22 -0
  1429. package/plugins/billing/web.d.ts +2 -0
  1430. package/plugins/billing/web.js +2 -0
  1431. package/plugins/compute/computers/actions/admit.d.ts +1 -0
  1432. package/plugins/compute/computers/actions/admit.js +62 -0
  1433. package/plugins/compute/computers/actions/allow-origin.d.ts +5 -0
  1434. package/plugins/compute/computers/actions/allow-origin.js +47 -0
  1435. package/plugins/compute/computers/actions/allowed.d.ts +1 -0
  1436. package/plugins/compute/computers/actions/allowed.js +50 -0
  1437. package/plugins/compute/computers/actions/claim-names.d.ts +1 -0
  1438. package/plugins/compute/computers/actions/claim-names.js +25 -0
  1439. package/plugins/compute/computers/actions/code.d.ts +1 -0
  1440. package/plugins/compute/computers/actions/code.js +52 -0
  1441. package/plugins/compute/computers/actions/connected.d.ts +1 -0
  1442. package/plugins/compute/computers/actions/connected.js +43 -0
  1443. package/plugins/compute/computers/actions/default.d.ts +1 -0
  1444. package/plugins/compute/computers/actions/default.js +23 -0
  1445. package/plugins/compute/computers/actions/domain.d.ts +4 -0
  1446. package/plugins/compute/computers/actions/domain.js +121 -0
  1447. package/plugins/compute/computers/actions/engine.d.ts +12 -0
  1448. package/plugins/compute/computers/actions/engine.js +167 -0
  1449. package/plugins/compute/computers/actions/engines.d.ts +16 -0
  1450. package/plugins/compute/computers/actions/engines.js +133 -0
  1451. package/plugins/compute/computers/actions/enrollment.d.ts +1 -0
  1452. package/plugins/compute/computers/actions/enrollment.js +51 -0
  1453. package/plugins/compute/computers/actions/env.d.ts +3 -0
  1454. package/plugins/compute/computers/actions/env.js +137 -0
  1455. package/plugins/compute/computers/actions/forget.d.ts +1 -0
  1456. package/plugins/compute/computers/actions/forget.js +30 -0
  1457. package/plugins/compute/computers/actions/gone.d.ts +1 -0
  1458. package/plugins/compute/computers/actions/gone.js +12 -0
  1459. package/plugins/compute/computers/actions/mark.d.ts +1 -0
  1460. package/plugins/compute/computers/actions/mark.js +36 -0
  1461. package/plugins/compute/computers/actions/move.d.ts +1 -0
  1462. package/plugins/compute/computers/actions/move.js +36 -0
  1463. package/plugins/compute/computers/actions/prepare.d.ts +13 -0
  1464. package/plugins/compute/computers/actions/prepare.js +98 -0
  1465. package/plugins/compute/computers/actions/preview.d.ts +43 -0
  1466. package/plugins/compute/computers/actions/preview.js +215 -0
  1467. package/plugins/compute/computers/actions/provision.d.ts +1 -0
  1468. package/plugins/compute/computers/actions/provision.js +51 -0
  1469. package/plugins/compute/computers/actions/publish.d.ts +3 -0
  1470. package/plugins/compute/computers/actions/publish.js +71 -0
  1471. package/plugins/compute/computers/actions/ready.d.ts +1 -0
  1472. package/plugins/compute/computers/actions/ready.js +53 -0
  1473. package/plugins/compute/computers/actions/rename.d.ts +1 -0
  1474. package/plugins/compute/computers/actions/rename.js +22 -0
  1475. package/plugins/compute/computers/actions/running.d.ts +1 -0
  1476. package/plugins/compute/computers/actions/running.js +33 -0
  1477. package/plugins/compute/computers/actions/scope.d.ts +1 -0
  1478. package/plugins/compute/computers/actions/scope.js +61 -0
  1479. package/plugins/compute/computers/actions/share.d.ts +1 -0
  1480. package/plugins/compute/computers/actions/share.js +44 -0
  1481. package/plugins/compute/computers/actions/unshare.d.ts +1 -0
  1482. package/plugins/compute/computers/actions/unshare.js +27 -0
  1483. package/plugins/compute/computers/actions/upgrade-asks.d.ts +1 -0
  1484. package/plugins/compute/computers/actions/upgrade-asks.js +29 -0
  1485. package/plugins/compute/computers/actions/upload.d.ts +1 -0
  1486. package/plugins/compute/computers/actions/upload.js +35 -0
  1487. package/plugins/compute/computers/actions/view.d.ts +1 -0
  1488. package/plugins/compute/computers/actions/view.js +29 -0
  1489. package/plugins/compute/computers/actions/watch.d.ts +7 -0
  1490. package/plugins/compute/computers/actions/watch.js +159 -0
  1491. package/plugins/compute/computers/actions/work.d.ts +1 -0
  1492. package/plugins/compute/computers/actions/work.js +80 -0
  1493. package/plugins/compute/computers/adapters/engine.d.ts +34 -0
  1494. package/plugins/compute/computers/adapters/engine.js +297 -0
  1495. package/plugins/compute/computers/collections/computer.d.ts +185 -0
  1496. package/plugins/compute/computers/collections/computer.js +69 -0
  1497. package/plugins/compute/computers/collections/desk.d.ts +182 -0
  1498. package/plugins/compute/computers/collections/desk.js +63 -0
  1499. package/plugins/compute/computers/collections/domain.d.ts +91 -0
  1500. package/plugins/compute/computers/collections/domain.js +39 -0
  1501. package/plugins/compute/computers/collections/enrollment.d.ts +64 -0
  1502. package/plugins/compute/computers/collections/enrollment.js +22 -0
  1503. package/plugins/compute/computers/collections/env-var.d.ts +115 -0
  1504. package/plugins/compute/computers/collections/env-var.js +51 -0
  1505. package/plugins/compute/computers/collections/job-watch.d.ts +141 -0
  1506. package/plugins/compute/computers/collections/job-watch.js +39 -0
  1507. package/plugins/compute/computers/collections/preview.d.ts +138 -0
  1508. package/plugins/compute/computers/collections/preview.js +98 -0
  1509. package/plugins/compute/computers/contract.d.ts +24 -0
  1510. package/plugins/compute/computers/contract.js +12 -0
  1511. package/plugins/compute/computers/mod.d.ts +68 -0
  1512. package/plugins/compute/computers/mod.js +224 -0
  1513. package/plugins/compute/computers/processors/left.d.ts +8 -0
  1514. package/plugins/compute/computers/processors/left.js +31 -0
  1515. package/plugins/compute/computers/program/agents/acp.d.ts +46 -0
  1516. package/plugins/compute/computers/program/agents/acp.js +479 -0
  1517. package/plugins/compute/computers/program/agents/claude.d.ts +4 -0
  1518. package/plugins/compute/computers/program/agents/claude.js +439 -0
  1519. package/plugins/compute/computers/program/agents/codex.d.ts +78 -0
  1520. package/plugins/compute/computers/program/agents/codex.js +580 -0
  1521. package/plugins/compute/computers/program/agents/cursor-runner.d.ts +28 -0
  1522. package/plugins/compute/computers/program/agents/cursor-runner.js +228 -0
  1523. package/plugins/compute/computers/program/agents/engines.d.ts +43 -0
  1524. package/plugins/compute/computers/program/agents/engines.js +539 -0
  1525. package/plugins/compute/computers/program/agents/grok.d.ts +2 -0
  1526. package/plugins/compute/computers/program/agents/grok.js +296 -0
  1527. package/plugins/compute/computers/program/agents/mcp.d.ts +28 -0
  1528. package/plugins/compute/computers/program/agents/mcp.js +252 -0
  1529. package/plugins/compute/computers/program/agents/permission.d.ts +11 -0
  1530. package/plugins/compute/computers/program/agents/permission.js +46 -0
  1531. package/plugins/compute/computers/program/agents/rpc.d.ts +37 -0
  1532. package/plugins/compute/computers/program/agents/rpc.js +192 -0
  1533. package/plugins/compute/computers/program/agents/steps.d.ts +68 -0
  1534. package/plugins/compute/computers/program/agents/steps.js +146 -0
  1535. package/plugins/compute/computers/program/agents/types.d.ts +153 -0
  1536. package/plugins/compute/computers/program/agents/types.js +13 -0
  1537. package/plugins/compute/computers/program/agents/write.d.ts +2 -0
  1538. package/plugins/compute/computers/program/agents/write.js +13 -0
  1539. package/plugins/compute/computers/program/browser/actions.d.ts +6 -0
  1540. package/plugins/compute/computers/program/browser/actions.js +256 -0
  1541. package/plugins/compute/computers/program/browser/async.d.ts +27 -0
  1542. package/plugins/compute/computers/program/browser/async.js +65 -0
  1543. package/plugins/compute/computers/program/browser/batch.d.ts +2 -0
  1544. package/plugins/compute/computers/program/browser/batch.js +46 -0
  1545. package/plugins/compute/computers/program/browser/cdp.d.ts +40 -0
  1546. package/plugins/compute/computers/program/browser/cdp.js +151 -0
  1547. package/plugins/compute/computers/program/browser/chrome.d.ts +64 -0
  1548. package/plugins/compute/computers/program/browser/chrome.js +250 -0
  1549. package/plugins/compute/computers/program/browser/control.d.ts +18 -0
  1550. package/plugins/compute/computers/program/browser/control.js +65 -0
  1551. package/plugins/compute/computers/program/browser/live.d.ts +95 -0
  1552. package/plugins/compute/computers/program/browser/live.js +345 -0
  1553. package/plugins/compute/computers/program/browser/math.d.ts +8 -0
  1554. package/plugins/compute/computers/program/browser/math.js +38 -0
  1555. package/plugins/compute/computers/program/browser/mod.d.ts +32 -0
  1556. package/plugins/compute/computers/program/browser/mod.js +202 -0
  1557. package/plugins/compute/computers/program/browser/page.d.ts +56 -0
  1558. package/plugins/compute/computers/program/browser/page.js +346 -0
  1559. package/plugins/compute/computers/program/browser/profile.d.ts +14 -0
  1560. package/plugins/compute/computers/program/browser/profile.js +79 -0
  1561. package/plugins/compute/computers/program/browser/refs.d.ts +35 -0
  1562. package/plugins/compute/computers/program/browser/refs.js +79 -0
  1563. package/plugins/compute/computers/program/browser/schema.d.ts +73 -0
  1564. package/plugins/compute/computers/program/browser/schema.js +73 -0
  1565. package/plugins/compute/computers/program/browser/session.d.ts +62 -0
  1566. package/plugins/compute/computers/program/browser/session.js +294 -0
  1567. package/plugins/compute/computers/program/browser/storage.d.ts +8 -0
  1568. package/plugins/compute/computers/program/browser/storage.js +70 -0
  1569. package/plugins/compute/computers/program/browser/types.d.ts +93 -0
  1570. package/plugins/compute/computers/program/browser/types.js +1 -0
  1571. package/plugins/compute/computers/program/computer.d.ts +72 -0
  1572. package/plugins/compute/computers/program/computer.js +313 -0
  1573. package/plugins/compute/computers/program/legacy-paths.d.ts +16 -0
  1574. package/plugins/compute/computers/program/legacy-paths.js +33 -0
  1575. package/plugins/compute/computers/program/mod.d.ts +8 -0
  1576. package/plugins/compute/computers/program/mod.js +8 -0
  1577. package/plugins/compute/computers/program/pool.d.ts +44 -0
  1578. package/plugins/compute/computers/program/pool.js +387 -0
  1579. package/plugins/compute/computers/program/release.d.ts +85 -0
  1580. package/plugins/compute/computers/program/release.js +88 -0
  1581. package/plugins/compute/computers/program/state.d.ts +78 -0
  1582. package/plugins/compute/computers/program/state.js +212 -0
  1583. package/plugins/compute/computers/program/update.d.ts +17 -0
  1584. package/plugins/compute/computers/program/update.js +144 -0
  1585. package/plugins/compute/computers/program/version.d.ts +2 -0
  1586. package/plugins/compute/computers/program/version.js +2 -0
  1587. package/plugins/compute/computers/program/workloads/agents.d.ts +32 -0
  1588. package/plugins/compute/computers/program/workloads/agents.js +46 -0
  1589. package/plugins/compute/computers/program/workloads/answer.d.ts +13 -0
  1590. package/plugins/compute/computers/program/workloads/answer.js +29 -0
  1591. package/plugins/compute/computers/program/workloads/archive.d.ts +6 -0
  1592. package/plugins/compute/computers/program/workloads/archive.js +128 -0
  1593. package/plugins/compute/computers/program/workloads/browser.d.ts +16 -0
  1594. package/plugins/compute/computers/program/workloads/browser.js +17 -0
  1595. package/plugins/compute/computers/program/workloads/files.d.ts +28 -0
  1596. package/plugins/compute/computers/program/workloads/files.js +393 -0
  1597. package/plugins/compute/computers/program/workloads/http.d.ts +26 -0
  1598. package/plugins/compute/computers/program/workloads/http.js +169 -0
  1599. package/plugins/compute/computers/program/workloads/info.d.ts +8 -0
  1600. package/plugins/compute/computers/program/workloads/info.js +22 -0
  1601. package/plugins/compute/computers/program/workloads/jobs.d.ts +54 -0
  1602. package/plugins/compute/computers/program/workloads/jobs.js +403 -0
  1603. package/plugins/compute/computers/program/workloads/ports.d.ts +5 -0
  1604. package/plugins/compute/computers/program/workloads/ports.js +160 -0
  1605. package/plugins/compute/computers/program/workloads/processes.d.ts +32 -0
  1606. package/plugins/compute/computers/program/workloads/processes.js +121 -0
  1607. package/plugins/compute/computers/program/workloads/search.d.ts +23 -0
  1608. package/plugins/compute/computers/program/workloads/search.js +170 -0
  1609. package/plugins/compute/computers/program/workloads/shell.d.ts +21 -0
  1610. package/plugins/compute/computers/program/workloads/shell.js +140 -0
  1611. package/plugins/compute/computers/program/workloads/sockets.d.ts +17 -0
  1612. package/plugins/compute/computers/program/workloads/sockets.js +86 -0
  1613. package/plugins/compute/computers/program/workloads/spaces.d.ts +13 -0
  1614. package/plugins/compute/computers/program/workloads/spaces.js +47 -0
  1615. package/plugins/compute/computers/program/workloads/streams.d.ts +20 -0
  1616. package/plugins/compute/computers/program/workloads/streams.js +94 -0
  1617. package/plugins/compute/computers/program/workloads/terminal.d.ts +30 -0
  1618. package/plugins/compute/computers/program/workloads/terminal.js +388 -0
  1619. package/plugins/compute/computers/resources/commands.d.ts +11 -0
  1620. package/plugins/compute/computers/resources/commands.js +122 -0
  1621. package/plugins/compute/computers/resources/downloads.d.ts +21 -0
  1622. package/plugins/compute/computers/resources/downloads.js +122 -0
  1623. package/plugins/compute/computers/resources/engines.d.ts +62 -0
  1624. package/plugins/compute/computers/resources/engines.js +62 -0
  1625. package/plugins/compute/computers/resources/preview-sockets.d.ts +28 -0
  1626. package/plugins/compute/computers/resources/preview-sockets.js +86 -0
  1627. package/plugins/compute/computers/resources/previews.d.ts +35 -0
  1628. package/plugins/compute/computers/resources/previews.js +436 -0
  1629. package/plugins/compute/computers/resources/tools.d.ts +8 -0
  1630. package/plugins/compute/computers/resources/tools.js +705 -0
  1631. package/plugins/compute/computers/routes/upload.d.ts +30 -0
  1632. package/plugins/compute/computers/routes/upload.js +169 -0
  1633. package/plugins/compute/computers/shared/ask.d.ts +63 -0
  1634. package/plugins/compute/computers/shared/ask.js +73 -0
  1635. package/plugins/compute/computers/shared/browser.d.ts +106 -0
  1636. package/plugins/compute/computers/shared/browser.js +89 -0
  1637. package/plugins/compute/computers/shared/claims.d.ts +26 -0
  1638. package/plugins/compute/computers/shared/claims.js +3 -0
  1639. package/plugins/compute/computers/shared/cost.d.ts +58 -0
  1640. package/plugins/compute/computers/shared/cost.js +70 -0
  1641. package/plugins/compute/computers/shared/desks.d.ts +28 -0
  1642. package/plugins/compute/computers/shared/desks.js +88 -0
  1643. package/plugins/compute/computers/shared/domains.d.ts +52 -0
  1644. package/plugins/compute/computers/shared/domains.js +123 -0
  1645. package/plugins/compute/computers/shared/engines.d.ts +87 -0
  1646. package/plugins/compute/computers/shared/engines.js +147 -0
  1647. package/plugins/compute/computers/shared/env.d.ts +20 -0
  1648. package/plugins/compute/computers/shared/env.js +50 -0
  1649. package/plugins/compute/computers/shared/failed.d.ts +3 -0
  1650. package/plugins/compute/computers/shared/failed.js +6 -0
  1651. package/plugins/compute/computers/shared/folder.d.ts +4 -0
  1652. package/plugins/compute/computers/shared/folder.js +13 -0
  1653. package/plugins/compute/computers/shared/hosts.d.ts +14 -0
  1654. package/plugins/compute/computers/shared/hosts.js +92 -0
  1655. package/plugins/compute/computers/shared/install.d.ts +8 -0
  1656. package/plugins/compute/computers/shared/install.js +8 -0
  1657. package/plugins/compute/computers/shared/jobs.d.ts +13 -0
  1658. package/plugins/compute/computers/shared/jobs.js +16 -0
  1659. package/plugins/compute/computers/shared/pool.d.ts +54 -0
  1660. package/plugins/compute/computers/shared/pool.js +25 -0
  1661. package/plugins/compute/computers/shared/preview-url.d.ts +5 -0
  1662. package/plugins/compute/computers/shared/preview-url.js +5 -0
  1663. package/plugins/compute/computers/shared/publish.d.ts +40 -0
  1664. package/plugins/compute/computers/shared/publish.js +116 -0
  1665. package/plugins/compute/computers/shared/seal.d.ts +4 -0
  1666. package/plugins/compute/computers/shared/seal.js +68 -0
  1667. package/plugins/compute/computers/shared/secret.d.ts +8 -0
  1668. package/plugins/compute/computers/shared/secret.js +24 -0
  1669. package/plugins/compute/computers/shared/served.d.ts +33 -0
  1670. package/plugins/compute/computers/shared/served.js +61 -0
  1671. package/plugins/compute/computers/shared/serving.d.ts +19 -0
  1672. package/plugins/compute/computers/shared/serving.js +15 -0
  1673. package/plugins/compute/computers/shared/settings.d.ts +87 -0
  1674. package/plugins/compute/computers/shared/settings.js +38 -0
  1675. package/plugins/compute/computers/shared/sockets.d.ts +67 -0
  1676. package/plugins/compute/computers/shared/sockets.js +296 -0
  1677. package/plugins/compute/computers/shared/streams.d.ts +13 -0
  1678. package/plugins/compute/computers/shared/streams.js +36 -0
  1679. package/plugins/compute/computers/shared/update.d.ts +29 -0
  1680. package/plugins/compute/computers/shared/update.js +39 -0
  1681. package/plugins/compute/computers/shared/upgrade.d.ts +42 -0
  1682. package/plugins/compute/computers/shared/upgrade.js +44 -0
  1683. package/plugins/compute/computers/shared/wake.d.ts +96 -0
  1684. package/plugins/compute/computers/shared/wake.js +139 -0
  1685. package/plugins/compute/computers/shared/where.d.ts +49 -0
  1686. package/plugins/compute/computers/shared/where.js +108 -0
  1687. package/plugins/compute/computers/shared/workloads.d.ts +527 -0
  1688. package/plugins/compute/computers/shared/workloads.js +68 -0
  1689. package/plugins/compute/computers/terminal.d.ts +8 -0
  1690. package/plugins/compute/computers/terminal.js +13 -0
  1691. package/plugins/compute/computers/views/context.d.ts +14 -0
  1692. package/plugins/compute/computers/views/context.js +140 -0
  1693. package/plugins/compute/computers/views/web/add.d.ts +41 -0
  1694. package/plugins/compute/computers/views/web/add.js +60 -0
  1695. package/plugins/compute/computers/views/web/allowed.d.ts +16 -0
  1696. package/plugins/compute/computers/views/web/allowed.js +38 -0
  1697. package/plugins/compute/computers/views/web/asked.d.ts +55 -0
  1698. package/plugins/compute/computers/views/web/asked.js +75 -0
  1699. package/plugins/compute/computers/views/web/asks.d.ts +17 -0
  1700. package/plugins/compute/computers/views/web/asks.js +22 -0
  1701. package/plugins/compute/computers/views/web/calls.d.ts +38 -0
  1702. package/plugins/compute/computers/views/web/calls.js +60 -0
  1703. package/plugins/compute/computers/views/web/computer.d.ts +17 -0
  1704. package/plugins/compute/computers/views/web/computer.js +45 -0
  1705. package/plugins/compute/computers/views/web/connect-flow.d.ts +45 -0
  1706. package/plugins/compute/computers/views/web/connect-flow.js +245 -0
  1707. package/plugins/compute/computers/views/web/connect-lines.d.ts +90 -0
  1708. package/plugins/compute/computers/views/web/connect-lines.js +111 -0
  1709. package/plugins/compute/computers/views/web/connect.d.ts +44 -0
  1710. package/plugins/compute/computers/views/web/connect.js +205 -0
  1711. package/plugins/compute/computers/views/web/cost.d.ts +25 -0
  1712. package/plugins/compute/computers/views/web/cost.js +56 -0
  1713. package/plugins/compute/computers/views/web/desks.d.ts +48 -0
  1714. package/plugins/compute/computers/views/web/desks.js +237 -0
  1715. package/plugins/compute/computers/views/web/diff.d.ts +15 -0
  1716. package/plugins/compute/computers/views/web/diff.js +66 -0
  1717. package/plugins/compute/computers/views/web/env.d.ts +32 -0
  1718. package/plugins/compute/computers/views/web/env.js +154 -0
  1719. package/plugins/compute/computers/views/web/environment.d.ts +23 -0
  1720. package/plugins/compute/computers/views/web/environment.js +47 -0
  1721. package/plugins/compute/computers/views/web/file-view.d.ts +27 -0
  1722. package/plugins/compute/computers/views/web/file-view.js +147 -0
  1723. package/plugins/compute/computers/views/web/files.d.ts +37 -0
  1724. package/plugins/compute/computers/views/web/files.js +223 -0
  1725. package/plugins/compute/computers/views/web/jobs.d.ts +39 -0
  1726. package/plugins/compute/computers/views/web/jobs.js +215 -0
  1727. package/plugins/compute/computers/views/web/kinds.d.ts +112 -0
  1728. package/plugins/compute/computers/views/web/kinds.js +37 -0
  1729. package/plugins/compute/computers/views/web/mark.d.ts +11 -0
  1730. package/plugins/compute/computers/views/web/mark.js +5 -0
  1731. package/plugins/compute/computers/views/web/move.d.ts +16 -0
  1732. package/plugins/compute/computers/views/web/move.js +10 -0
  1733. package/plugins/compute/computers/views/web/names.d.ts +39 -0
  1734. package/plugins/compute/computers/views/web/names.js +49 -0
  1735. package/plugins/compute/computers/views/web/page.d.ts +38 -0
  1736. package/plugins/compute/computers/views/web/page.js +91 -0
  1737. package/plugins/compute/computers/views/web/palette.d.ts +11 -0
  1738. package/plugins/compute/computers/views/web/palette.js +33 -0
  1739. package/plugins/compute/computers/views/web/plan-card.d.ts +28 -0
  1740. package/plugins/compute/computers/views/web/plan-card.js +58 -0
  1741. package/plugins/compute/computers/views/web/plan-shared.d.ts +11 -0
  1742. package/plugins/compute/computers/views/web/plan-shared.js +7 -0
  1743. package/plugins/compute/computers/views/web/plan-states.d.ts +196 -0
  1744. package/plugins/compute/computers/views/web/plan-states.js +271 -0
  1745. package/plugins/compute/computers/views/web/plans-data.d.ts +29 -0
  1746. package/plugins/compute/computers/views/web/plans-data.js +55 -0
  1747. package/plugins/compute/computers/views/web/plans-palette.d.ts +10 -0
  1748. package/plugins/compute/computers/views/web/plans-palette.js +36 -0
  1749. package/plugins/compute/computers/views/web/plans.d.ts +19 -0
  1750. package/plugins/compute/computers/views/web/plans.js +76 -0
  1751. package/plugins/compute/computers/views/web/platform.d.ts +8 -0
  1752. package/plugins/compute/computers/views/web/platform.js +58 -0
  1753. package/plugins/compute/computers/views/web/previews.d.ts +44 -0
  1754. package/plugins/compute/computers/views/web/previews.js +33 -0
  1755. package/plugins/compute/computers/views/web/publish.d.ts +25 -0
  1756. package/plugins/compute/computers/views/web/publish.js +114 -0
  1757. package/plugins/compute/computers/views/web/routine-panel.d.ts +14 -0
  1758. package/plugins/compute/computers/views/web/routine-panel.js +98 -0
  1759. package/plugins/compute/computers/views/web/serve.d.ts +48 -0
  1760. package/plugins/compute/computers/views/web/serve.js +180 -0
  1761. package/plugins/compute/computers/views/web/shell.d.ts +34 -0
  1762. package/plugins/compute/computers/views/web/shell.js +87 -0
  1763. package/plugins/compute/computers/views/web/space-tab.d.ts +17 -0
  1764. package/plugins/compute/computers/views/web/space-tab.js +87 -0
  1765. package/plugins/compute/computers/views/web/step.d.ts +16 -0
  1766. package/plugins/compute/computers/views/web/step.js +276 -0
  1767. package/plugins/compute/computers/views/web/style.d.ts +10 -0
  1768. package/plugins/compute/computers/views/web/style.js +669 -0
  1769. package/plugins/compute/computers/views/web/terminal-tab.d.ts +21 -0
  1770. package/plugins/compute/computers/views/web/terminal-tab.js +18 -0
  1771. package/plugins/compute/computers/views/web/transfer.d.ts +18 -0
  1772. package/plugins/compute/computers/views/web/transfer.js +42 -0
  1773. package/plugins/compute/computers/views/web/upload-tray.d.ts +70 -0
  1774. package/plugins/compute/computers/views/web/upload-tray.js +249 -0
  1775. package/plugins/compute/computers/views/web/uploads.d.ts +184 -0
  1776. package/plugins/compute/computers/views/web/uploads.js +425 -0
  1777. package/plugins/compute/computers/views/web/welcome.d.ts +18 -0
  1778. package/plugins/compute/computers/views/web/welcome.js +51 -0
  1779. package/plugins/compute/computers/views/web/words.d.ts +1 -0
  1780. package/plugins/compute/computers/views/web/words.js +265 -0
  1781. package/plugins/compute/computers/views/web/workspace.d.ts +46 -0
  1782. package/plugins/compute/computers/views/web/workspace.js +142 -0
  1783. package/plugins/compute/computers/views/web/yours.d.ts +11 -0
  1784. package/plugins/compute/computers/views/web/yours.js +33 -0
  1785. package/plugins/compute/computers/web.d.ts +44 -0
  1786. package/plugins/compute/computers/web.js +123 -0
  1787. package/plugins/compute/contract.d.ts +6 -0
  1788. package/plugins/compute/contract.js +6 -0
  1789. package/plugins/compute/google.d.ts +75 -0
  1790. package/plugins/compute/google.js +218 -0
  1791. package/plugins/compute/mod.d.ts +4 -0
  1792. package/plugins/compute/mod.js +4 -0
  1793. package/plugins/compute/web.d.ts +9 -0
  1794. package/plugins/compute/web.js +9 -0
  1795. package/plugins/interfaces/api/actions/create.d.ts +1 -0
  1796. package/plugins/interfaces/api/actions/create.js +89 -0
  1797. package/plugins/interfaces/api/actions/revoke.d.ts +2 -0
  1798. package/plugins/interfaces/api/actions/revoke.js +45 -0
  1799. package/plugins/interfaces/api/collections/key.d.ts +205 -0
  1800. package/plugins/interfaces/api/collections/key.js +73 -0
  1801. package/plugins/interfaces/api/contract.d.ts +33 -0
  1802. package/plugins/interfaces/api/contract.js +1 -0
  1803. package/plugins/interfaces/api/mod.d.ts +32 -0
  1804. package/plugins/interfaces/api/mod.js +55 -0
  1805. package/plugins/interfaces/api/processors/left.d.ts +7 -0
  1806. package/plugins/interfaces/api/processors/left.js +19 -0
  1807. package/plugins/interfaces/api/resources/presets.d.ts +9 -0
  1808. package/plugins/interfaces/api/resources/presets.js +17 -0
  1809. package/plugins/interfaces/api/shared/actor.d.ts +30 -0
  1810. package/plugins/interfaces/api/shared/actor.js +34 -0
  1811. package/plugins/interfaces/api/shared/end.d.ts +9 -0
  1812. package/plugins/interfaces/api/shared/end.js +10 -0
  1813. package/plugins/interfaces/api/shared/rules.d.ts +10 -0
  1814. package/plugins/interfaces/api/shared/rules.js +24 -0
  1815. package/plugins/interfaces/api/shared/secret.d.ts +7 -0
  1816. package/plugins/interfaces/api/shared/secret.js +11 -0
  1817. package/plugins/interfaces/api/views/web/catalog.d.ts +24 -0
  1818. package/plugins/interfaces/api/views/web/catalog.js +43 -0
  1819. package/plugins/interfaces/api/views/web/create.d.ts +23 -0
  1820. package/plugins/interfaces/api/views/web/create.js +138 -0
  1821. package/plugins/interfaces/api/views/web/keys.d.ts +30 -0
  1822. package/plugins/interfaces/api/views/web/keys.js +88 -0
  1823. package/plugins/interfaces/api/views/web/members.d.ts +13 -0
  1824. package/plugins/interfaces/api/views/web/members.js +35 -0
  1825. package/plugins/interfaces/api/views/web/palette.d.ts +9 -0
  1826. package/plugins/interfaces/api/views/web/palette.js +17 -0
  1827. package/plugins/interfaces/api/views/web/reference.d.ts +11 -0
  1828. package/plugins/interfaces/api/views/web/reference.js +36 -0
  1829. package/plugins/interfaces/api/views/web/snippet.d.ts +31 -0
  1830. package/plugins/interfaces/api/views/web/snippet.js +66 -0
  1831. package/plugins/interfaces/api/views/web/style.d.ts +8 -0
  1832. package/plugins/interfaces/api/views/web/style.js +134 -0
  1833. package/plugins/interfaces/api/web.d.ts +17 -0
  1834. package/plugins/interfaces/api/web.js +33 -0
  1835. package/plugins/interfaces/contract.d.ts +16 -0
  1836. package/plugins/interfaces/contract.js +14 -0
  1837. package/plugins/interfaces/maintenance/actions/read.d.ts +4 -0
  1838. package/plugins/interfaces/maintenance/actions/read.js +76 -0
  1839. package/plugins/interfaces/maintenance/actions/write.d.ts +4 -0
  1840. package/plugins/interfaces/maintenance/actions/write.js +64 -0
  1841. package/plugins/interfaces/maintenance/contract.d.ts +64 -0
  1842. package/plugins/interfaces/maintenance/contract.js +2 -0
  1843. package/plugins/interfaces/maintenance/mod.d.ts +57 -0
  1844. package/plugins/interfaces/maintenance/mod.js +69 -0
  1845. package/plugins/interfaces/maintenance/resources/routes.d.ts +65 -0
  1846. package/plugins/interfaces/maintenance/resources/routes.js +471 -0
  1847. package/plugins/interfaces/maintenance/shared/ops.d.ts +4 -0
  1848. package/plugins/interfaces/maintenance/shared/ops.js +19 -0
  1849. package/plugins/interfaces/mcp/actions/call.d.ts +15 -0
  1850. package/plugins/interfaces/mcp/actions/call.js +392 -0
  1851. package/plugins/interfaces/mcp/actions/conversation.d.ts +1 -0
  1852. package/plugins/interfaces/mcp/actions/conversation.js +49 -0
  1853. package/plugins/interfaces/mcp/actions/prune.d.ts +1 -0
  1854. package/plugins/interfaces/mcp/actions/prune.js +20 -0
  1855. package/plugins/interfaces/mcp/actions/public.d.ts +8 -0
  1856. package/plugins/interfaces/mcp/actions/public.js +81 -0
  1857. package/plugins/interfaces/mcp/collections/closed.d.ts +16 -0
  1858. package/plugins/interfaces/mcp/collections/closed.js +17 -0
  1859. package/plugins/interfaces/mcp/collections/opening.d.ts +17 -0
  1860. package/plugins/interfaces/mcp/collections/opening.js +28 -0
  1861. package/plugins/interfaces/mcp/collections/rate.d.ts +20 -0
  1862. package/plugins/interfaces/mcp/collections/rate.js +18 -0
  1863. package/plugins/interfaces/mcp/collections/receipt.d.ts +39 -0
  1864. package/plugins/interfaces/mcp/collections/receipt.js +46 -0
  1865. package/plugins/interfaces/mcp/contract.d.ts +8 -0
  1866. package/plugins/interfaces/mcp/contract.js +8 -0
  1867. package/plugins/interfaces/mcp/mod.d.ts +145 -0
  1868. package/plugins/interfaces/mcp/mod.js +196 -0
  1869. package/plugins/interfaces/mcp/processors/closed.d.ts +13 -0
  1870. package/plugins/interfaces/mcp/processors/closed.js +16 -0
  1871. package/plugins/interfaces/mcp/resources/limits.d.ts +38 -0
  1872. package/plugins/interfaces/mcp/resources/limits.js +77 -0
  1873. package/plugins/interfaces/mcp/resources/public.d.ts +45 -0
  1874. package/plugins/interfaces/mcp/resources/public.js +99 -0
  1875. package/plugins/interfaces/mcp/resources/running.d.ts +21 -0
  1876. package/plugins/interfaces/mcp/resources/running.js +36 -0
  1877. package/plugins/interfaces/mcp/resources/server.d.ts +60 -0
  1878. package/plugins/interfaces/mcp/resources/server.js +643 -0
  1879. package/plugins/interfaces/mcp/resources/tools.d.ts +183 -0
  1880. package/plugins/interfaces/mcp/resources/tools.js +432 -0
  1881. package/plugins/interfaces/mcp/resources/widgets.d.ts +161 -0
  1882. package/plugins/interfaces/mcp/resources/widgets.js +247 -0
  1883. package/plugins/interfaces/mcp/shared/keys.d.ts +56 -0
  1884. package/plugins/interfaces/mcp/shared/keys.js +99 -0
  1885. package/plugins/interfaces/mcp/shared/settings.d.ts +244 -0
  1886. package/plugins/interfaces/mcp/shared/settings.js +243 -0
  1887. package/plugins/interfaces/mcp/shared/shown.d.ts +20 -0
  1888. package/plugins/interfaces/mcp/shared/shown.js +31 -0
  1889. package/plugins/interfaces/mcp/views/offered.d.ts +19 -0
  1890. package/plugins/interfaces/mcp/views/offered.js +20 -0
  1891. package/plugins/interfaces/mod.d.ts +13 -0
  1892. package/plugins/interfaces/mod.js +13 -0
  1893. package/plugins/interfaces/push/actions/send.d.ts +4 -0
  1894. package/plugins/interfaces/push/actions/send.js +61 -0
  1895. package/plugins/interfaces/push/actions/subscribe.d.ts +3 -0
  1896. package/plugins/interfaces/push/actions/subscribe.js +95 -0
  1897. package/plugins/interfaces/push/collections/looking.d.ts +32 -0
  1898. package/plugins/interfaces/push/collections/looking.js +20 -0
  1899. package/plugins/interfaces/push/collections/subscription.d.ts +58 -0
  1900. package/plugins/interfaces/push/collections/subscription.js +40 -0
  1901. package/plugins/interfaces/push/contract.d.ts +34 -0
  1902. package/plugins/interfaces/push/contract.js +6 -0
  1903. package/plugins/interfaces/push/mod.d.ts +36 -0
  1904. package/plugins/interfaces/push/mod.js +68 -0
  1905. package/plugins/interfaces/push/processors/notify.d.ts +20 -0
  1906. package/plugins/interfaces/push/processors/notify.js +58 -0
  1907. package/plugins/interfaces/push/shared/deliver.d.ts +20 -0
  1908. package/plugins/interfaces/push/shared/deliver.js +68 -0
  1909. package/plugins/interfaces/push/shared/rules.d.ts +7 -0
  1910. package/plugins/interfaces/push/shared/rules.js +19 -0
  1911. package/plugins/interfaces/push/shared/settings.d.ts +12 -0
  1912. package/plugins/interfaces/push/shared/settings.js +12 -0
  1913. package/plugins/interfaces/push/shared/webpush.d.ts +42 -0
  1914. package/plugins/interfaces/push/shared/webpush.js +111 -0
  1915. package/plugins/interfaces/push/views/web/notifications.d.ts +17 -0
  1916. package/plugins/interfaces/push/views/web/notifications.js +99 -0
  1917. package/plugins/interfaces/push/views/web/words.d.ts +1 -0
  1918. package/plugins/interfaces/push/views/web/words.js +26 -0
  1919. package/plugins/interfaces/push/web.d.ts +12 -0
  1920. package/plugins/interfaces/push/web.js +22 -0
  1921. package/plugins/interfaces/terminal/actions/print.d.ts +1 -0
  1922. package/plugins/interfaces/terminal/actions/print.js +30 -0
  1923. package/plugins/interfaces/terminal/actions/set.d.ts +1 -0
  1924. package/plugins/interfaces/terminal/actions/set.js +38 -0
  1925. package/plugins/interfaces/terminal/collections/output.d.ts +36 -0
  1926. package/plugins/interfaces/terminal/collections/output.js +21 -0
  1927. package/plugins/interfaces/terminal/collections/shell.d.ts +42 -0
  1928. package/plugins/interfaces/terminal/collections/shell.js +30 -0
  1929. package/plugins/interfaces/terminal/mod.d.ts +13 -0
  1930. package/plugins/interfaces/terminal/mod.js +21 -0
  1931. package/plugins/interfaces/terminal/terminal.d.ts +18 -0
  1932. package/plugins/interfaces/terminal/terminal.js +30 -0
  1933. package/plugins/interfaces/terminal/views/default.d.ts +1 -0
  1934. package/plugins/interfaces/terminal/views/default.js +23 -0
  1935. package/plugins/interfaces/terminal/views/prompt.d.ts +7 -0
  1936. package/plugins/interfaces/terminal/views/prompt.js +5 -0
  1937. package/plugins/interfaces/terminal/views/shell.d.ts +5 -0
  1938. package/plugins/interfaces/terminal/views/shell.js +32 -0
  1939. package/plugins/interfaces/voice/actions/block.d.ts +2 -0
  1940. package/plugins/interfaces/voice/actions/block.js +74 -0
  1941. package/plugins/interfaces/voice/actions/call.d.ts +19 -0
  1942. package/plugins/interfaces/voice/actions/call.js +253 -0
  1943. package/plugins/interfaces/voice/actions/prune.d.ts +1 -0
  1944. package/plugins/interfaces/voice/actions/prune.js +43 -0
  1945. package/plugins/interfaces/voice/actions/ring.d.ts +6 -0
  1946. package/plugins/interfaces/voice/actions/ring.js +165 -0
  1947. package/plugins/interfaces/voice/collections/blocked.d.ts +80 -0
  1948. package/plugins/interfaces/voice/collections/blocked.js +34 -0
  1949. package/plugins/interfaces/voice/collections/call.d.ts +272 -0
  1950. package/plugins/interfaces/voice/collections/call.js +77 -0
  1951. package/plugins/interfaces/voice/collections/phone.d.ts +67 -0
  1952. package/plugins/interfaces/voice/collections/phone.js +26 -0
  1953. package/plugins/interfaces/voice/contract.d.ts +14 -0
  1954. package/plugins/interfaces/voice/contract.js +2 -0
  1955. package/plugins/interfaces/voice/mod.d.ts +56 -0
  1956. package/plugins/interfaces/voice/mod.js +124 -0
  1957. package/plugins/interfaces/voice/processors/forget.d.ts +13 -0
  1958. package/plugins/interfaces/voice/processors/forget.js +27 -0
  1959. package/plugins/interfaces/voice/resources/tools.d.ts +1 -0
  1960. package/plugins/interfaces/voice/resources/tools.js +27 -0
  1961. package/plugins/interfaces/voice/routes/hook.d.ts +21 -0
  1962. package/plugins/interfaces/voice/routes/hook.js +114 -0
  1963. package/plugins/interfaces/voice/routes/relay.d.ts +69 -0
  1964. package/plugins/interfaces/voice/routes/relay.js +437 -0
  1965. package/plugins/interfaces/voice/shared/caller.d.ts +27 -0
  1966. package/plugins/interfaces/voice/shared/caller.js +38 -0
  1967. package/plugins/interfaces/voice/shared/settings.d.ts +128 -0
  1968. package/plugins/interfaces/voice/shared/settings.js +115 -0
  1969. package/plugins/interfaces/voice/shared/signature.d.ts +11 -0
  1970. package/plugins/interfaces/voice/shared/signature.js +34 -0
  1971. package/plugins/interfaces/voice/views/call.d.ts +48 -0
  1972. package/plugins/interfaces/voice/views/call.js +42 -0
  1973. package/plugins/interfaces/voice/views/context.d.ts +9 -0
  1974. package/plugins/interfaces/voice/views/context.js +14 -0
  1975. package/plugins/interfaces/voice/views/message.d.ts +17 -0
  1976. package/plugins/interfaces/voice/views/message.js +41 -0
  1977. package/plugins/interfaces/web/actions/arrive.d.ts +1 -0
  1978. package/plugins/interfaces/web/actions/arrive.js +104 -0
  1979. package/plugins/interfaces/web/actions/prune.d.ts +1 -0
  1980. package/plugins/interfaces/web/actions/prune.js +51 -0
  1981. package/plugins/interfaces/web/actions/sending.d.ts +1 -0
  1982. package/plugins/interfaces/web/actions/sending.js +226 -0
  1983. package/plugins/interfaces/web/actions/spent.d.ts +2 -0
  1984. package/plugins/interfaces/web/actions/spent.js +59 -0
  1985. package/plugins/interfaces/web/collections/rate.d.ts +115 -0
  1986. package/plugins/interfaces/web/collections/rate.js +37 -0
  1987. package/plugins/interfaces/web/collections/visitor.d.ts +103 -0
  1988. package/plugins/interfaces/web/collections/visitor.js +69 -0
  1989. package/plugins/interfaces/web/contract.d.ts +32 -0
  1990. package/plugins/interfaces/web/contract.js +3 -0
  1991. package/plugins/interfaces/web/lines.d.ts +35 -0
  1992. package/plugins/interfaces/web/lines.js +83 -0
  1993. package/plugins/interfaces/web/mod.d.ts +79 -0
  1994. package/plugins/interfaces/web/mod.js +81 -0
  1995. package/plugins/interfaces/web/processors/forget.d.ts +10 -0
  1996. package/plugins/interfaces/web/processors/forget.js +14 -0
  1997. package/plugins/interfaces/web/resources/spend.d.ts +2 -0
  1998. package/plugins/interfaces/web/resources/spend.js +68 -0
  1999. package/plugins/interfaces/web/routes/arrive.d.ts +20 -0
  2000. package/plugins/interfaces/web/routes/arrive.js +92 -0
  2001. package/plugins/interfaces/web/shared/budget.d.ts +65 -0
  2002. package/plugins/interfaces/web/shared/budget.js +134 -0
  2003. package/plugins/interfaces/web/shared/lines.d.ts +147 -0
  2004. package/plugins/interfaces/web/shared/lines.js +147 -0
  2005. package/plugins/interfaces/web/shared/menu.d.ts +14 -0
  2006. package/plugins/interfaces/web/shared/menu.js +4 -0
  2007. package/plugins/interfaces/web/shared/orgs.d.ts +98 -0
  2008. package/plugins/interfaces/web/shared/orgs.js +72 -0
  2009. package/plugins/interfaces/web/shared/palette.d.ts +36 -0
  2010. package/plugins/interfaces/web/shared/palette.js +30 -0
  2011. package/plugins/interfaces/web/shared/panel.d.ts +28 -0
  2012. package/plugins/interfaces/web/shared/panel.js +29 -0
  2013. package/plugins/interfaces/web/shared/secret.d.ts +33 -0
  2014. package/plugins/interfaces/web/shared/secret.js +86 -0
  2015. package/plugins/interfaces/web/shared/sidebar.d.ts +22 -0
  2016. package/plugins/interfaces/web/shared/sidebar.js +29 -0
  2017. package/plugins/interfaces/web/shared/standing.d.ts +7 -0
  2018. package/plugins/interfaces/web/shared/standing.js +36 -0
  2019. package/plugins/interfaces/web/shared/style.d.ts +23 -0
  2020. package/plugins/interfaces/web/shared/style.js +130 -0
  2021. package/plugins/interfaces/web/views/default.d.ts +10 -0
  2022. package/plugins/interfaces/web/views/default.js +28 -0
  2023. package/plugins/interfaces/web/views/frame.d.ts +76 -0
  2024. package/plugins/interfaces/web/views/frame.js +171 -0
  2025. package/plugins/interfaces/web/views/me.d.ts +27 -0
  2026. package/plugins/interfaces/web/views/me.js +94 -0
  2027. package/plugins/interfaces/web/views/panel.d.ts +42 -0
  2028. package/plugins/interfaces/web/views/panel.js +62 -0
  2029. package/plugins/interfaces/web/views/rail.d.ts +41 -0
  2030. package/plugins/interfaces/web/views/rail.js +55 -0
  2031. package/plugins/interfaces/web/views/shell.d.ts +32 -0
  2032. package/plugins/interfaces/web/views/shell.js +54 -0
  2033. package/plugins/interfaces/web/views/words.d.ts +1 -0
  2034. package/plugins/interfaces/web/views/words.js +60 -0
  2035. package/plugins/interfaces/web.d.ts +5 -0
  2036. package/plugins/interfaces/web.js +5 -0
  2037. package/plugins/interfaces/whatsapp/actions/connect.d.ts +17 -0
  2038. package/plugins/interfaces/whatsapp/actions/connect.js +123 -0
  2039. package/plugins/interfaces/whatsapp/actions/disconnect.d.ts +2 -0
  2040. package/plugins/interfaces/whatsapp/actions/disconnect.js +58 -0
  2041. package/plugins/interfaces/whatsapp/actions/hook.d.ts +10 -0
  2042. package/plugins/interfaces/whatsapp/actions/hook.js +125 -0
  2043. package/plugins/interfaces/whatsapp/actions/link.d.ts +3 -0
  2044. package/plugins/interfaces/whatsapp/actions/link.js +90 -0
  2045. package/plugins/interfaces/whatsapp/actions/set.d.ts +8 -0
  2046. package/plugins/interfaces/whatsapp/actions/set.js +152 -0
  2047. package/plugins/interfaces/whatsapp/actions/template.d.ts +1 -0
  2048. package/plugins/interfaces/whatsapp/actions/template.js +89 -0
  2049. package/plugins/interfaces/whatsapp/collections/blocked.d.ts +22 -0
  2050. package/plugins/interfaces/whatsapp/collections/blocked.js +22 -0
  2051. package/plugins/interfaces/whatsapp/collections/code.d.ts +71 -0
  2052. package/plugins/interfaces/whatsapp/collections/code.js +27 -0
  2053. package/plugins/interfaces/whatsapp/collections/number.d.ts +267 -0
  2054. package/plugins/interfaces/whatsapp/collections/number.js +84 -0
  2055. package/plugins/interfaces/whatsapp/collections/phone.d.ts +160 -0
  2056. package/plugins/interfaces/whatsapp/collections/phone.js +55 -0
  2057. package/plugins/interfaces/whatsapp/collections/rate.d.ts +20 -0
  2058. package/plugins/interfaces/whatsapp/collections/rate.js +13 -0
  2059. package/plugins/interfaces/whatsapp/collections/secret.d.ts +57 -0
  2060. package/plugins/interfaces/whatsapp/collections/secret.js +25 -0
  2061. package/plugins/interfaces/whatsapp/collections/sent.d.ts +73 -0
  2062. package/plugins/interfaces/whatsapp/collections/sent.js +28 -0
  2063. package/plugins/interfaces/whatsapp/collections/template.d.ts +89 -0
  2064. package/plugins/interfaces/whatsapp/collections/template.js +30 -0
  2065. package/plugins/interfaces/whatsapp/collections/thread.d.ts +67 -0
  2066. package/plugins/interfaces/whatsapp/collections/thread.js +21 -0
  2067. package/plugins/interfaces/whatsapp/collections/typing.d.ts +63 -0
  2068. package/plugins/interfaces/whatsapp/collections/typing.js +21 -0
  2069. package/plugins/interfaces/whatsapp/contract.d.ts +44 -0
  2070. package/plugins/interfaces/whatsapp/contract.js +41 -0
  2071. package/plugins/interfaces/whatsapp/events/received.d.ts +7 -0
  2072. package/plugins/interfaces/whatsapp/events/received.js +17 -0
  2073. package/plugins/interfaces/whatsapp/events/undelivered.d.ts +8 -0
  2074. package/plugins/interfaces/whatsapp/events/undelivered.js +17 -0
  2075. package/plugins/interfaces/whatsapp/mod.d.ts +83 -0
  2076. package/plugins/interfaces/whatsapp/mod.js +186 -0
  2077. package/plugins/interfaces/whatsapp/processors/forget.d.ts +7 -0
  2078. package/plugins/interfaces/whatsapp/processors/forget.js +17 -0
  2079. package/plugins/interfaces/whatsapp/processors/receive.d.ts +42 -0
  2080. package/plugins/interfaces/whatsapp/processors/receive.js +434 -0
  2081. package/plugins/interfaces/whatsapp/processors/reply.d.ts +49 -0
  2082. package/plugins/interfaces/whatsapp/processors/reply.js +358 -0
  2083. package/plugins/interfaces/whatsapp/processors/typing.d.ts +8 -0
  2084. package/plugins/interfaces/whatsapp/processors/typing.js +25 -0
  2085. package/plugins/interfaces/whatsapp/routes/hook.d.ts +16 -0
  2086. package/plugins/interfaces/whatsapp/routes/hook.js +52 -0
  2087. package/plugins/interfaces/whatsapp/shared/commands.d.ts +27 -0
  2088. package/plugins/interfaces/whatsapp/shared/commands.js +43 -0
  2089. package/plugins/interfaces/whatsapp/shared/customers.d.ts +13 -0
  2090. package/plugins/interfaces/whatsapp/shared/customers.js +16 -0
  2091. package/plugins/interfaces/whatsapp/shared/graph.d.ts +79 -0
  2092. package/plugins/interfaces/whatsapp/shared/graph.js +202 -0
  2093. package/plugins/interfaces/whatsapp/shared/media.d.ts +24 -0
  2094. package/plugins/interfaces/whatsapp/shared/media.js +49 -0
  2095. package/plugins/interfaces/whatsapp/shared/number.d.ts +39 -0
  2096. package/plugins/interfaces/whatsapp/shared/number.js +115 -0
  2097. package/plugins/interfaces/whatsapp/shared/parts.d.ts +94 -0
  2098. package/plugins/interfaces/whatsapp/shared/parts.js +184 -0
  2099. package/plugins/interfaces/whatsapp/shared/payload.d.ts +102 -0
  2100. package/plugins/interfaces/whatsapp/shared/payload.js +129 -0
  2101. package/plugins/interfaces/whatsapp/shared/rules.d.ts +11 -0
  2102. package/plugins/interfaces/whatsapp/shared/rules.js +17 -0
  2103. package/plugins/interfaces/whatsapp/shared/settings.d.ts +98 -0
  2104. package/plugins/interfaces/whatsapp/shared/settings.js +11 -0
  2105. package/plugins/interfaces/whatsapp/shared/signature.d.ts +11 -0
  2106. package/plugins/interfaces/whatsapp/shared/signature.js +28 -0
  2107. package/plugins/interfaces/whatsapp/shared/template.d.ts +48 -0
  2108. package/plugins/interfaces/whatsapp/shared/template.js +117 -0
  2109. package/plugins/interfaces/whatsapp/shared/text.d.ts +16 -0
  2110. package/plugins/interfaces/whatsapp/shared/text.js +88 -0
  2111. package/plugins/interfaces/whatsapp/views/message.d.ts +13 -0
  2112. package/plugins/interfaces/whatsapp/views/message.js +13 -0
  2113. package/plugins/interfaces/whatsapp/views/web/connect.d.ts +45 -0
  2114. package/plugins/interfaces/whatsapp/views/web/connect.js +136 -0
  2115. package/plugins/interfaces/whatsapp/views/web/line.d.ts +24 -0
  2116. package/plugins/interfaces/whatsapp/views/web/line.js +44 -0
  2117. package/plugins/interfaces/whatsapp/views/web/palette.d.ts +10 -0
  2118. package/plugins/interfaces/whatsapp/views/web/palette.js +26 -0
  2119. package/plugins/interfaces/whatsapp/views/web/phone.d.ts +25 -0
  2120. package/plugins/interfaces/whatsapp/views/web/phone.js +60 -0
  2121. package/plugins/interfaces/whatsapp/views/web/space.d.ts +17 -0
  2122. package/plugins/interfaces/whatsapp/views/web/space.js +98 -0
  2123. package/plugins/interfaces/whatsapp/views/web/style.d.ts +7 -0
  2124. package/plugins/interfaces/whatsapp/views/web/style.js +84 -0
  2125. package/plugins/interfaces/whatsapp/views/web/words.d.ts +15 -0
  2126. package/plugins/interfaces/whatsapp/views/web/words.js +26 -0
  2127. package/plugins/interfaces/whatsapp/web.d.ts +15 -0
  2128. package/plugins/interfaces/whatsapp/web.js +37 -0
  2129. package/plugins/models/actions/check.d.ts +2 -0
  2130. package/plugins/models/actions/check.js +64 -0
  2131. package/plugins/models/actions/embed.d.ts +1 -0
  2132. package/plugins/models/actions/embed.js +22 -0
  2133. package/plugins/models/actions/generate.d.ts +1 -0
  2134. package/plugins/models/actions/generate.js +28 -0
  2135. package/plugins/models/actions/image.d.ts +1 -0
  2136. package/plugins/models/actions/image.js +46 -0
  2137. package/plugins/models/actions/offered.d.ts +43 -0
  2138. package/plugins/models/actions/offered.js +313 -0
  2139. package/plugins/models/actions/price.d.ts +1 -0
  2140. package/plugins/models/actions/price.js +23 -0
  2141. package/plugins/models/actions/stream.d.ts +1 -0
  2142. package/plugins/models/actions/stream.js +27 -0
  2143. package/plugins/models/actions/test.d.ts +2 -0
  2144. package/plugins/models/actions/test.js +44 -0
  2145. package/plugins/models/actions/transcribe.d.ts +1 -0
  2146. package/plugins/models/actions/transcribe.js +27 -0
  2147. package/plugins/models/adapters/embeddings/hash.d.ts +7 -0
  2148. package/plugins/models/adapters/embeddings/hash.js +24 -0
  2149. package/plugins/models/adapters/embeddings/openai.d.ts +2 -0
  2150. package/plugins/models/adapters/embeddings/openai.js +21 -0
  2151. package/plugins/models/adapters/image/fake.d.ts +6 -0
  2152. package/plugins/models/adapters/image/fake.js +8 -0
  2153. package/plugins/models/adapters/image/gemini.d.ts +2 -0
  2154. package/plugins/models/adapters/image/gemini.js +111 -0
  2155. package/plugins/models/adapters/image/openai.d.ts +2 -0
  2156. package/plugins/models/adapters/image/openai.js +69 -0
  2157. package/plugins/models/adapters/llm/anthropic.d.ts +12 -0
  2158. package/plugins/models/adapters/llm/anthropic.js +237 -0
  2159. package/plugins/models/adapters/llm/fake.d.ts +10 -0
  2160. package/plugins/models/adapters/llm/fake.js +30 -0
  2161. package/plugins/models/adapters/llm/gemini.d.ts +18 -0
  2162. package/plugins/models/adapters/llm/gemini.js +218 -0
  2163. package/plugins/models/adapters/llm/openai-compatible.d.ts +9 -0
  2164. package/plugins/models/adapters/llm/openai-compatible.js +147 -0
  2165. package/plugins/models/adapters/llm/openai.d.ts +2 -0
  2166. package/plugins/models/adapters/llm/openai.js +268 -0
  2167. package/plugins/models/adapters/transcription/fake.d.ts +3 -0
  2168. package/plugins/models/adapters/transcription/fake.js +3 -0
  2169. package/plugins/models/adapters/transcription/openai.d.ts +2 -0
  2170. package/plugins/models/adapters/transcription/openai.js +44 -0
  2171. package/plugins/models/collections/image.d.ts +89 -0
  2172. package/plugins/models/collections/image.js +27 -0
  2173. package/plugins/models/contract.d.ts +53 -0
  2174. package/plugins/models/contract.js +8 -0
  2175. package/plugins/models/mod.d.ts +66 -0
  2176. package/plugins/models/mod.js +126 -0
  2177. package/plugins/models/resources/providers.d.ts +15 -0
  2178. package/plugins/models/resources/providers.js +9 -0
  2179. package/plugins/models/shared/catalog.json +12418 -0
  2180. package/plugins/models/shared/choice.d.ts +197 -0
  2181. package/plugins/models/shared/choice.js +163 -0
  2182. package/plugins/models/shared/embed.d.ts +46 -0
  2183. package/plugins/models/shared/embed.js +51 -0
  2184. package/plugins/models/shared/files.d.ts +18 -0
  2185. package/plugins/models/shared/files.js +47 -0
  2186. package/plugins/models/shared/generate.d.ts +53 -0
  2187. package/plugins/models/shared/generate.js +269 -0
  2188. package/plugins/models/shared/image.d.ts +110 -0
  2189. package/plugins/models/shared/image.js +172 -0
  2190. package/plugins/models/shared/plans.d.ts +72 -0
  2191. package/plugins/models/shared/plans.js +81 -0
  2192. package/plugins/models/shared/provider.d.ts +71 -0
  2193. package/plugins/models/shared/provider.js +87 -0
  2194. package/plugins/models/shared/request.d.ts +58 -0
  2195. package/plugins/models/shared/request.js +19 -0
  2196. package/plugins/models/shared/retry.d.ts +29 -0
  2197. package/plugins/models/shared/retry.js +90 -0
  2198. package/plugins/models/shared/telemetry.d.ts +18 -0
  2199. package/plugins/models/shared/telemetry.js +66 -0
  2200. package/plugins/models/shared/transcribe.d.ts +51 -0
  2201. package/plugins/models/shared/transcribe.js +54 -0
  2202. package/plugins/models/shared/types.d.ts +147 -0
  2203. package/plugins/models/shared/types.js +11 -0
  2204. package/plugins/models/shared/use.d.ts +75 -0
  2205. package/plugins/models/shared/use.js +92 -0
  2206. package/runtime/action-input.d.ts +10 -0
  2207. package/runtime/action-input.js +4 -0
  2208. package/runtime/actor.d.ts +122 -0
  2209. package/runtime/actor.js +139 -0
  2210. package/runtime/address.d.ts +11 -0
  2211. package/runtime/address.js +48 -0
  2212. package/runtime/aggregate.d.ts +57 -0
  2213. package/runtime/aggregate.js +202 -0
  2214. package/runtime/api.d.ts +49 -0
  2215. package/runtime/api.js +719 -0
  2216. package/runtime/blobs.d.ts +45 -0
  2217. package/runtime/blobs.js +114 -0
  2218. package/runtime/body.d.ts +16 -0
  2219. package/runtime/body.js +57 -0
  2220. package/runtime/browsers.d.ts +208 -0
  2221. package/runtime/browsers.js +539 -0
  2222. package/runtime/cache.d.ts +24 -0
  2223. package/runtime/cache.js +243 -0
  2224. package/runtime/call-ids.d.ts +8 -0
  2225. package/runtime/call-ids.js +36 -0
  2226. package/runtime/caller.d.ts +105 -0
  2227. package/runtime/caller.js +225 -0
  2228. package/runtime/client.d.ts +203 -0
  2229. package/runtime/client.js +561 -0
  2230. package/runtime/collection.d.ts +125 -0
  2231. package/runtime/collection.js +94 -0
  2232. package/runtime/cookies.d.ts +72 -0
  2233. package/runtime/cookies.js +125 -0
  2234. package/runtime/define.d.ts +822 -0
  2235. package/runtime/define.js +18 -0
  2236. package/runtime/describe.d.ts +331 -0
  2237. package/runtime/describe.js +610 -0
  2238. package/runtime/errors.d.ts +65 -0
  2239. package/runtime/errors.js +41 -0
  2240. package/runtime/executor.d.ts +24 -0
  2241. package/runtime/executor.js +918 -0
  2242. package/runtime/expiring.d.ts +23 -0
  2243. package/runtime/expiring.js +64 -0
  2244. package/runtime/fetch.d.ts +119 -0
  2245. package/runtime/fetch.js +487 -0
  2246. package/runtime/kept.d.ts +22 -0
  2247. package/runtime/kept.js +128 -0
  2248. package/runtime/legacy-env.d.ts +25 -0
  2249. package/runtime/legacy-env.js +35 -0
  2250. package/runtime/links.d.ts +65 -0
  2251. package/runtime/links.js +110 -0
  2252. package/runtime/maintain.d.ts +89 -0
  2253. package/runtime/maintain.js +120 -0
  2254. package/runtime/memory.d.ts +2 -0
  2255. package/runtime/memory.js +328 -0
  2256. package/runtime/metrics.d.ts +83 -0
  2257. package/runtime/metrics.js +167 -0
  2258. package/runtime/mod.d.ts +32 -0
  2259. package/runtime/mod.js +21 -0
  2260. package/runtime/mongo.d.ts +75 -0
  2261. package/runtime/mongo.js +482 -0
  2262. package/runtime/names.d.ts +14 -0
  2263. package/runtime/names.js +1 -0
  2264. package/runtime/observe.d.ts +66 -0
  2265. package/runtime/observe.js +463 -0
  2266. package/runtime/ops.d.ts +187 -0
  2267. package/runtime/ops.js +304 -0
  2268. package/runtime/owner.d.ts +248 -0
  2269. package/runtime/owner.js +2300 -0
  2270. package/runtime/pattern.d.ts +44 -0
  2271. package/runtime/pattern.js +476 -0
  2272. package/runtime/presence.d.ts +18 -0
  2273. package/runtime/presence.js +25 -0
  2274. package/runtime/reads.d.ts +31 -0
  2275. package/runtime/reads.js +87 -0
  2276. package/runtime/registry.d.ts +131 -0
  2277. package/runtime/registry.js +464 -0
  2278. package/runtime/rest.d.ts +10 -0
  2279. package/runtime/rest.js +247 -0
  2280. package/runtime/routes.d.ts +51 -0
  2281. package/runtime/routes.js +79 -0
  2282. package/runtime/runtime.d.ts +52 -0
  2283. package/runtime/runtime.js +59 -0
  2284. package/runtime/runtimes.d.ts +62 -0
  2285. package/runtime/runtimes.js +95 -0
  2286. package/runtime/schedules.d.ts +161 -0
  2287. package/runtime/schedules.js +156 -0
  2288. package/runtime/site.d.ts +61 -0
  2289. package/runtime/site.js +188 -0
  2290. package/runtime/store.d.ts +300 -0
  2291. package/runtime/store.js +27 -0
  2292. package/runtime/tickets.d.ts +15 -0
  2293. package/runtime/tickets.js +65 -0
  2294. package/runtime/timers.d.ts +44 -0
  2295. package/runtime/timers.js +308 -0
  2296. package/runtime/updates.d.ts +16 -0
  2297. package/runtime/updates.js +222 -0
  2298. package/runtime/views.d.ts +37 -0
  2299. package/runtime/views.js +105 -0
  2300. package/runtime/wire.d.ts +145 -0
  2301. package/runtime/wire.js +113 -0
  2302. package/stores/blobs/files/mod.d.ts +4 -0
  2303. package/stores/blobs/files/mod.js +39 -0
  2304. package/stores/blobs/gcs/mod.d.ts +30 -0
  2305. package/stores/blobs/gcs/mod.js +106 -0
  2306. package/stores/blobs/http/mod.d.ts +15 -0
  2307. package/stores/blobs/http/mod.js +33 -0
  2308. package/stores/latency/mod.d.ts +7 -0
  2309. package/stores/latency/mod.js +46 -0
  2310. package/stores/memory/mod.d.ts +7 -0
  2311. package/stores/memory/mod.js +7 -0
  2312. package/stores/sql/postgres/dialect.d.ts +13 -0
  2313. package/stores/sql/postgres/dialect.js +108 -0
  2314. package/stores/sql/postgres/layout.d.ts +53 -0
  2315. package/stores/sql/postgres/layout.js +241 -0
  2316. package/stores/sql/postgres/lease.d.ts +30 -0
  2317. package/stores/sql/postgres/lease.js +142 -0
  2318. package/stores/sql/postgres/legacy.d.ts +47 -0
  2319. package/stores/sql/postgres/legacy.js +108 -0
  2320. package/stores/sql/postgres/maintenance.d.ts +32 -0
  2321. package/stores/sql/postgres/maintenance.js +325 -0
  2322. package/stores/sql/postgres/mod.d.ts +73 -0
  2323. package/stores/sql/postgres/mod.js +1300 -0
  2324. package/stores/sql/postgres/pattern.d.ts +10 -0
  2325. package/stores/sql/postgres/pattern.js +70 -0
  2326. package/stores/sql/postgres/pool.d.ts +35 -0
  2327. package/stores/sql/postgres/pool.js +47 -0
  2328. package/stores/sql/postgres/tenants.d.ts +60 -0
  2329. package/stores/sql/postgres/tenants.js +309 -0
  2330. package/stores/sql/postgres/update.d.ts +13 -0
  2331. package/stores/sql/postgres/update.js +71 -0
  2332. package/stores/sql/shared/aggregate.d.ts +32 -0
  2333. package/stores/sql/shared/aggregate.js +80 -0
  2334. package/stores/sql/shared/capped.d.ts +2 -0
  2335. package/stores/sql/shared/capped.js +22 -0
  2336. package/stores/sql/shared/filter.d.ts +84 -0
  2337. package/stores/sql/shared/filter.js +153 -0
  2338. package/stores/sql/shared/rows.d.ts +14 -0
  2339. package/stores/sql/shared/rows.js +29 -0
  2340. package/stores/sql/shared/statement.d.ts +12 -0
  2341. package/stores/sql/shared/statement.js +244 -0
  2342. package/stores/sql/sqlite/apart.d.ts +11 -0
  2343. package/stores/sql/sqlite/apart.js +219 -0
  2344. package/stores/sql/sqlite/dialect.d.ts +17 -0
  2345. package/stores/sql/sqlite/dialect.js +119 -0
  2346. package/stores/sql/sqlite/mod.d.ts +78 -0
  2347. package/stores/sql/sqlite/mod.js +713 -0
  2348. package/testing/boundaries.d.ts +10 -0
  2349. package/testing/boundaries.js +72 -0
  2350. package/testing/mod.d.ts +81 -0
  2351. package/testing/mod.js +225 -0
  2352. package/testing/words.d.ts +18 -0
  2353. package/testing/words.js +60 -0
  2354. package/index.js +0 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,4460 @@
1
+ ## 1.0.0-rc.82 — 2026-12-04
2
+
3
+ ### Added
4
+
5
+ - **WebSockets through previews.** A preview carries a WebSocket to its job's port, both ways, for
6
+ as long as it's open: a dev server's live reload, or an app's own sockets. The browser's handshake
7
+ reaches the port's server as it was (its path, cookies, `origin` and the subprotocols it offers),
8
+ and the subprotocol the server chooses is the browser's. Text, binary and each side's close (its
9
+ code and reason) go through, over the computer's own connection (`computer.ws`), each side reading
10
+ only as fast as the other sends on. While a socket is open, its computer is kept awake (the
11
+ `computerWake` hook's `touch`, every minute). Who may open it is asked as for a page, once, as it
12
+ opens: a member's cookie, or anyone for a `link` preview. A members' preview's socket opens only
13
+ from its own pages (its `Origin`; another host's page gets 403), since a socket has no CORS and
14
+ the cookie goes from any page on the same site.
15
+ - **Update the computer program.** A computer whose program doesn't serve `computer.ws` (its
16
+ `info.serves` doesn't list it) answers a socket with a 501 that says to update it. A computer
17
+ updates itself when the app offers a newer release. One that's offline answers 503: a socket
18
+ doesn't wake it, the page's own requests do.
19
+ - **Limits.** A message is 256 KiB at most under `listen` (1 MiB under `Deno.serve`). A socket
20
+ closes with 1009 when more than 4 MiB waits for the other side. Each open socket is one of the
21
+ computer's 256 jobs at once. Someone who leaves the space keeps a socket they opened until it
22
+ closes. WebSocket's own pings are answered at each end, not carried through.
23
+ - **A route takes a WebSocket with `ctx.upgrade({ protocol? })`.** It gives `{ socket, response }`:
24
+ the route answers with `response`, and `socket` is a browser's `WebSocket` for events, `send`,
25
+ `close` and `bufferedAmount` (`RouteSocket`). It works under every listener: Deno's own upgrade
26
+ under `Deno.serve(runtime.fetch)`, Oxian's under `listen` (Node, Bun and Deno), a `WebSocketPair`
27
+ on workerd. A request that isn't an upgrade, or doesn't offer `protocol`, is a 400. A route that
28
+ uses Oxian's `upgradeWebSocket` keeps working under `listen`. The voice relay and
29
+ `examples/web-node/routes.ts` use `upgrade()` now.
30
+
31
+ - **Publishing is a preview made public under a name.** `computer.publish { label, name }` puts a
32
+ preview at `https://<name>.<domain>/` on each of the app's publish domains (`computers.publish`
33
+ `{ domains, reserved?, cname? }`: `["pairz.app", "copilotz.app"]`, the same app on all, no
34
+ redirect), open to anyone, its job kept running. A name is a DNS label (3 to 40 lowercase letters,
35
+ digits and hyphens, none first or last; never a word kept for the app, one ending `-preview` or
36
+ starting `xn--`), one across the whole app: where many orgs are served it's claimed once at the
37
+ directory, as the name, so changing the domains needs no new claims. Published again under another
38
+ name, it moves. `computer.unpublish { label }` lets the name go;
39
+ `computer.publish.check { name, label? }` says whether a name is free, and where it'd be.
40
+ - **Who may open a preview changes in place.** `computer.preview.visibility { label, visibility }`:
41
+ its address stays (before, a new link was made). A published one stays open to anyone.
42
+ - **Custom domains.** Offered where the app says where a domain points (`publish.cname`); without it
43
+ `domain.claim` refuses and the page doesn't show them. `domain.claim { host, name }` gives the DNS
44
+ records to make: the TXT record `_pairz.<host>` with a token, and its CNAME where the app says
45
+ (`publish.cname`). `domain.verify { host }` looks the TXT record up (the `dns` adapter: DNS over
46
+ HTTPS, Cloudflare's resolver, by default) and, found, serves the host for the name: claimed at the
47
+ directory, and given to the app's TLS where it has one (a `customHostnames` resource,
48
+ `{ add, remove }`, which Compass fills with Cloudflare for SaaS's custom hostnames).
49
+ `domain.remove { host }` and `domain.list { in? }`. Unpublishing a name takes its domains with it.
50
+ - **A published app keeps running.** Publishing marks its job kept (`computer.jobs.keep`, new in the
51
+ computer program). A kept job that ends on its own is started again as the same job, after a
52
+ second, then twice as long each time it ends again, up to a minute; once it's stayed up a minute,
53
+ a second again. Agents keep a job too: `start_job`'s `keep`.
54
+ - **Agents publish only after their person's yes, every time.** The `publish` tool (a job, a port or
55
+ a preview of the space, and a name) and the `preview` tool's `visibility: "link"` ask the
56
+ `publish` kind first ("publish shop at https://shop.pairz.app/ from job web"). The Actions that
57
+ open a preview to anyone refuse an agent calling them itself.
58
+ - **A visitor waits on a page, not a hang.** A browser opening a preview or a published app whose
59
+ computer is asleep gets "Waking up <name>…", a page that reloads itself, while it wakes (one wake
60
+ for every visit); a fetch gets a 503 with `Retry-After`. A computer off that nothing wakes (a
61
+ person's own) says it's offline at once, rather than after 90 seconds. A port nothing answers on
62
+ yet (the server starting, or starting again) shows "Starting <name>…" rather than the program's
63
+ 502.
64
+ - **On the web,** a preview's menu publishes it under a name (a dialog that checks the name as it's
65
+ typed and shows its addresses); a published one shows its addresses and its custom domains: add
66
+ one, the records to make, check DNS, remove it. Their words are the app's (`computers.publish…`,
67
+ `computers.domain…`; in pt-BR in `ptBR`).
68
+
69
+ - **The tier editor offers every model the org can run, each saying how it's paid for.** Team's
70
+ picker with `plans` (`model.pick`'s hint; the tier editor sets it) asks `models.offered` with
71
+ `plans: true`: each maker's model says the app's plans that run it (`plans`: "Claude", "Cursor")
72
+ and the first of the asker's connected plans that does (`yours`). It reads "Your Claude · $0", or
73
+ "Credits · …" where a key covers it, or, for a model only plans run, "Members without Claude or
74
+ Cursor fall back to the next model" (it can be chosen for a tier) or, in a person's own org,
75
+ "Connect Claude to use". The plans aren't providers of their own there; a plan's own models are
76
+ (Cursor's Composer, and what the asker's Cursor lists that's no maker's model).
77
+ - **Any model can be first in a tier.** A fallback moves up to the model's place ("Try it first").
78
+ - **An org puts its tiers in its own order.** `tiers.order` `{ tiers }` (each of the org's tiers,
79
+ once, lowest first), and "Move before"/"Move after" on a tier's card: a new tier goes anywhere,
80
+ not only last. A cap is "up to" a tier in that order. Back to the original keeps a tier's place.
81
+ - **"Members can use": all tiers, up to one, or only the default.** One select on the org's Agents
82
+ page, `tiers.cap` `{ tier }` or `{ fixed: true }`. Only the default: every chat runs on the org's
83
+ default, and nobody chooses one for a space, a conversation or themselves (`tiers.choose` below
84
+ the org fails `forbidden`, for owners and admins too, until it's changed); the composer says the
85
+ tier with nothing to switch. `Shown.org.fixed` says so.
86
+ - **Cursor's names for models.** A plan's `serves` map can name a model its own way, and a plan with
87
+ a list now runs a model by that name too (the API's name first). Cursor's table, `CURSOR_NAMES`,
88
+ goes into `cursor-plan`'s map: `gemini-3.1-pro` is `google/gemini-3.1-pro-preview`, and
89
+ `composer-2.5` is Cursor's own.
90
+ - **A finance role.** An org's `finance` people are members who also see what the whole org used
91
+ (`usage.org`, `usage.activity`, the Usage section's everyone), as owners and admins do; everyone
92
+ else sees their own, by model and day. It runs nothing: Billing stays with owners and admins.
93
+ `seesOrgUsage` (spaces' contract, and the web shell's for a standing) says who does.
94
+
95
+ ### Changed
96
+
97
+ - **Preview domains are a list.** `computers.previews.domains` (the first is where new previews go);
98
+ `domain`, a string, keeps working as a list of one. Every preview's label answers on every preview
99
+ domain, so `…-preview.copilotz.app` links keep working beside `pairz.dev`. Where many orgs are
100
+ served, a preview's label is claimed as a name (`claimName`) rather than one host; previews made
101
+ before are claimed that way once, as a deploy first starts (`computer.claimNames`).
102
+ - **The directory claims names.** `host.claim` takes `<name>.*`: that first label on every domain, a
103
+ host's own claim coming first. An org's `directory` resource gains `claimName`, `releaseName` and
104
+ `nameFree` (`host.free`).
105
+ - Published names and custom domains reach the app on hosts other than its own, so they need the
106
+ app's own hosts named (`hosts`), as an app serving many orgs has.
107
+
108
+ - **Subscriptions pay automatically, in one order.** A turn runs each model on the person's plans
109
+ that run it, in the plans' own order (a maker's plan before Cursor's), before any credits. There's
110
+ no order for a person to keep.
111
+ - **Your AI shows a connected plan that runs none of the tiers' models** (Cursor's, say), tested on
112
+ the first model it lists, instead of hiding it.
113
+
114
+ ### Removed
115
+
116
+ - **A person's order of their plans.** `tiers.harnesses`, `modelChoice`'s `harnesses`, and Your AI's
117
+ "Use my plans in this order" are gone, with `planList`'s `order`. A person's choice saved with an
118
+ order still reads (its order passed over), and their next choice drops it.
119
+
120
+ ### Fixed
121
+
122
+ - **A page bundled with `bundle()` draws again.** Since 1.0.0-rc.81 the web host and the widget load
123
+ React's DOM client as they draw; split off by esbuild, its CommonJS names came only as the chunk's
124
+ default, so the page stayed blank (`createRoot` undefined). Either shape is taken now
125
+ (`hosts/web/dom-client.ts`), and a test bundles and runs it.
126
+ - **A voice line's call under `Deno.serve(runtime.fetch)`.** Its relay took the socket with Oxian's
127
+ route upgrade, which only `listen` completes, so Deno answered Twilio's socket with a 204. It
128
+ takes it with `ctx.upgrade()` now.
129
+
130
+ ### Known limits
131
+
132
+ - A custom domain at a zone's apex needs a DNS provider that flattens a CNAME there (or an ALIAS); a
133
+ domain stays the org's that verified it until it's removed, even if its DNS moves.
134
+ - Unpublishing leaves the job kept; stop it, or start it again without `keep`, to let it go.
135
+ - Another instance of the directory may answer an old claim for up to a minute after a change.
136
+ - Two people of one org publishing the same new name at the same moment may both succeed; the last
137
+ one has it.
138
+
139
+ ## 1.0.0-rc.81 — 2026-12-03
140
+
141
+ ### Added
142
+
143
+ - **The sign-in page links the app's terms and privacy policy.** `signInPage.legal`
144
+ `{ terms?, privacy? }` (URLs) puts a line under the ways in, "By continuing, you agree to the
145
+ Terms of service and Privacy policy", each a link (in a tab of its own), as Google's review of an
146
+ app's OAuth sign-in asks. Its words are the app's (`legal`, `legalTerms`, `legalPrivacy`, `terms`,
147
+ `privacy`; in pt-BR in `ptBR`). Without it, nothing shows.
148
+
149
+ ### Changed
150
+
151
+ - **Copilotz is now Pairz.** The package is `pairz` on npm and `@pairz/pairz` on JSR, the product
152
+ packages `@pairz/work`, `@pairz/team`, `@pairz/billing` and `@pairz/directory`, the CLI `pairz`
153
+ (`pairz init`, `pairz gen`), and the agent skill and plugin `pairz`. The website is
154
+ https://pairz.ai, Compass is at https://compass.pairz.ai, previews are on `pairz.dev` and
155
+ published apps on `pairz.app`. The default theme draws the new logo.
156
+ - **Your imports keep working.** `copilotz` and `@copilotz/*` keep working through 1.x: each is now
157
+ a re-export of its new package at the same version (deprecated, gone in 2.0), with every entry
158
+ point and `COPILOTZ_ABOUT` (now `PAIRZ_ABOUT`) as before. The `copilotz` command runs `pairz`, and
159
+ in an app that depends on `copilotz`, gen writes `copilotz` as it did, so `copilotz gen --check`
160
+ passes as it is.
161
+ - **Environment variables are `PAIRZ_*`.** Each `COPILOTZ_*` the code reads is read as `PAIRZ_*`
162
+ first, then under its old name through 1.x, with one warning naming the new one: the computer
163
+ program's `PAIRZ_CHROMIUM`, `PAIRZ_BROWSER_WINDOWS`, `PAIRZ_SEARCH_URL`, `PAIRZ_COMPUTER_STATE`,
164
+ `PAIRZ_POOL_TOKEN` and `PAIRZ_BROWSER_DEBUG` (its installed service carries both names), the
165
+ examples' `PAIRZ_EXECUTOR_KEY` and `PAIRZ_TRACE_SQL`, and the suite's `PAIRZ_TEST_POSTGRES_URL`,
166
+ `PAIRZ_LIVE` and `PAIRZ_TEST_*`. The API snippet's key is `$PAIRZ_KEY`.
167
+ - **Moving to the new name**, when you like:
168
+ 1. `npm uninstall copilotz @copilotz/<name>` and `npm install pairz @pairz/<name>` (on Deno, map
169
+ `"pairz": "jsr:@pairz/pairz@^<version>"` and `@pairz/<name>` in `deno.json`).
170
+ 2. In your code, `copilotz` becomes `pairz` and `@copilotz/` becomes `@pairz/`, in imports and
171
+ `declare module`; `COPILOTZ_ABOUT` becomes `PAIRZ_ABOUT`.
172
+ 3. Rename the `COPILOTZ_*` variables you set to `PAIRZ_*`.
173
+ 4. The generated files: in `package.json` (or `deno.json`), `"#copilotz/*": "./.copilotz/build/*"`
174
+ becomes `"#pairz/*": "./.pairz/build/*"`, and your imports of `#copilotz/plugins/…` say
175
+ `#pairz/plugins/…`; in `.gitignore`, `tsconfig.json`'s `include` and your linters' ignores,
176
+ `.copilotz/` becomes `.pairz/` and `copilotz-env.d.ts` becomes `pairz-env.d.ts`. Delete
177
+ `.copilotz/` and `copilotz-env.d.ts`, run `pairz gen`, and commit what it writes. Until you do,
178
+ gen writes where your app maps it (`.copilotz/build`, `copilotz-env.d.ts`), importing the
179
+ package your app names. Scripts that say `copilotz gen` say `pairz gen`.
180
+ - **New names for new things; what's there keeps working.** What's stored or installed takes a
181
+ neutral name, neither the old one nor the new, so a later rename never touches it; everything else
182
+ says Pairz. What a release before 1.0 left moves where that's safe, and where moving could lose
183
+ data or break what's installed, it stays where it is and is used there.
184
+ - **What 1.0 does on its first start** (nothing to do):
185
+ - **PostgreSQL.** The lease's table `copilotz_lease` becomes `runtime_lease`. A deploy's new
186
+ process takes the lease in the old table first (the old process hands over, as ever), and moves
187
+ it only once it holds it; a view named `copilotz_lease` stays, so a process of an older release
188
+ started later (the platform restarting the old revision, a rollback) waits on the same lease
189
+ instead of taking one of its own. Keep that view until no release before 1.0 can start, then
190
+ drop it (`DROP VIEW copilotz_lease`); and never run a release before 1.0 on a database 1.0 made
191
+ (it has no view). The default schema is `app` for a new database; a store in `copilotz`, the
192
+ default before 1.0, is used where it is, and the app says so once. To move it, stop the app, run
193
+ `ALTER SCHEMA copilotz RENAME TO app`, and start it again. A schema you name is only ever that
194
+ one. The tenant setting the views read is `runtime.tenant` (`SET runtime.tenant = 'org_1'` in
195
+ `psql`), and the views are made again with it. SQLite's `$regex` function is `runtime_regex`.
196
+ - **Signed links and sealed secrets.** The keys derived from the app's secret now take the salt
197
+ `links`, and accounts' tokens and spaces' secrets the info `accounts v1` and `environment v1`.
198
+ What was signed or sealed before still opens, until 2.0: links, web visitors' secrets (each the
199
+ contact it was), MCP conversations (their contact and chat), invitations and sign-in codes,
200
+ tokens and secrets. Sealed values are sealed anew the next time they're written; nothing is
201
+ rewritten. `secretsOf` gives each of the app's secrets again, marked for `keyOf`, after its own:
202
+ use them with `keyOf` only. A web visitor's chat starts over, as after a change of the app's
203
+ secret, and every MCP call now looks up which of its conversation's ids is there. Rolling back
204
+ to a release before 1.0 after 1.0 has run loses what 1.0 sealed anew (tokens it renewed, secrets
205
+ changed) and what it signed (links, visitors' cookies): those can't be read by the older one.
206
+ - **Computers.** On its next start (an update starts it again), the program moves its state from
207
+ `~/.config/copilotz` to `~/.config/computer` (`%LOCALAPPDATA%\Copilotz` to
208
+ `%LOCALAPPDATA%\Computer`; if it can't, it's used where it is), itself from `~/.copilotz/bin` to
209
+ `~/.computer/bin` with the PATH its installer set, and, as it runs, its service:
210
+ `local.computer` (launchd), `computer.service` (systemd) and the task `Computer` are installed,
211
+ then `com.copilotz.computer`, `copilotz-computer.service` and `Copilotz computer` go. It stays
212
+ the same computer, with no new code; a step that fails is said and tried again next time. Its
213
+ spaces' folders stay where they are (`~/Copilotz/<org>`: they may hold absolute paths), and so
214
+ does each one's own folder (`.copilotz`: agents' CLIs keep their sign-ins by its path); new ones
215
+ are under `~/Computer` and `.computer`. Its binaries are `computer-<os>-<arch>`: a pool VM's
216
+ startup script that downloads `copilotz-computer-linux-<arch>` from a release's manifest asks
217
+ for `computer-linux-<arch>` from 1.0 (a VM on an older release updates itself from the app as
218
+ before, and a cloud computer's disk keeps its folder). Its MCP server, as agents' CLIs see it,
219
+ is `pairz` (`mcp__pairz__…`).
220
+ - **Browsers.** Local storage under the old prefix (documents' unsent drafts, panels, the last
221
+ chat of each space, a terminal's history) is read under the new one, and the service worker's
222
+ old caches go. Cookies never had the name: nobody is signed out.
223
+ - **What an app changes, if it uses it:**
224
+ - **CSS** that targets the toolkit's classes or variables: `.copilotz-*` is `.pairz-*`,
225
+ `--copilotz-*` is `--pairz-*`, the layers `copilotz-base` and `copilotz-toolkit` are
226
+ `pairz-base` and `pairz-toolkit`, and `<style precedence="copilotz">` is `precedence="pairz"`.
227
+ - **Routes, files and headers.** `/__copilotz/…` is `/__pairz/…` (`/__pairz/hosts/resolve`,
228
+ `/__pairz/previews/grant`, `/__pairz/grant`), the host's files under `/assets/copilotz/` are
229
+ under `/assets/pairz/`, and a front vouches for requests with `x-pairz-front`. Through 1.x the
230
+ app also takes `x-copilotz-front` and answers `/__copilotz/hosts/resolve`, and never passes
231
+ either header on (to a preview's server). So a front (a Cloudflare worker) moves after the app:
232
+ deploy the app on 1.0 with the front as it is, then switch the front to `x-pairz-front` and
233
+ `/__pairz/hosts/resolve`. Never send `x-pairz-front` to a release before 1.0: it passes that
234
+ header on to the servers previews reach. A front that ever sent both headers to one should
235
+ change its secret.
236
+ - **Dashboards and alerts.** Metrics are `pairz.*` (`pairz.job.duration`; Prometheus's
237
+ `pairz_job_duration`, `pairz_events_total`), and the OTLP scope is `pairz`.
238
+ - **MCP.** The widgets' read tool is `pairz_read`, and the widget's `_meta` keys `pairz/*`; an
239
+ assistant that kept the tools' list sees the new name once it lists them again.
240
+ - **The maintenance role** the docs make is `runtime_maintenance`, on schema `app`; one made
241
+ before keeps working as it is.
242
+ - **Agents' plugin and skill.** One installed under the old name (Claude Code's
243
+ `copilotz@copilotz`, Gemini's or Codex's `copilotz` extension, the skill from
244
+ `copilotzhq/copilotz`) stays as it is: uninstall it, and install `pairz` from `pairzhq/pairz`
245
+ (README, "For coding agents").
246
+ - The web tools' user agent is `PairzBot` alone. The repository is github.com/pairzhq/pairz, and
247
+ the license's holder "Pairz Contributors".
248
+ - **An app whose computer program release can't be read starts all the same.** `computerDownloads()`
249
+ at a URL it can't read (GitHub down, a release missing) used to fail the app's start; it says so,
250
+ and the app offers no download or update until it starts again.
251
+
252
+ ### Fixed
253
+
254
+ - **What's typed in a page's fields is taken, however the app's modules were loaded.** React's DOM
255
+ client decides once, as it loads, whether the page's input events can be listened to. The web host
256
+ and the widget imported it as they were themselves imported, so a process that imported them
257
+ before there was a DOM (a server's module graph, a test before its page) never saw typing in a
258
+ text field afterwards. They now load it as they draw, in the page; in a browser nothing else
259
+ changes.
260
+
261
+ ## 1.0.0-rc.80 — 2026-12-02
262
+
263
+ ### Fixed
264
+
265
+ - **A page comes back on its own after its connection drops.** A network blip, a laptop waking, a
266
+ tab left in the background or the app restarting could leave a page cut off for half a minute or
267
+ more after it could connect again, with what it showed failing meanwhile. Three causes:
268
+ - **It tried again up to 30 s apart** (Oxian's default backoff). The client now tries again soon,
269
+ then at most 5 s apart, and at once when the browser says it's back online or its tab is shown
270
+ again. What failed meanwhile shows again by itself, as before, once it's back.
271
+ - **A ticket it couldn't get failed the page.** When the page needed a new ticket from
272
+ `POST /connect` and the network was down, or the server busy or restarting (5xx, 429, 408), the
273
+ page's first connection failed, or a later one waited for the next try. The web host now asks
274
+ again (soon, then up to 5 s apart, at once when back online) until it has one, or hears the
275
+ browser is nobody (401). Any other refusal is said, as before.
276
+ - **A tab in the background was cut every minute or two** (`4403 lease_expired`). Chrome runs a
277
+ hidden tab's timers about once a minute, so its heartbeats came later than the owner's 30 s
278
+ lease allowed. The owner's lease is now 3 minutes, for every worker's connection: one lost
279
+ without a close (a network gone, a laptop shut) is let go that much later, a computer's too.
280
+
281
+ ## 1.0.0-rc.79
282
+
283
+ ### Added
284
+
285
+ - **Who a message goes to, in the composer.** Beside the clip, a small chip shows who what's typed
286
+ goes to, by the rule `chat.send` follows: the agents it mentions; else the agent waiting on an
287
+ answer from you (with ↩); else the chat's own agent (a new chat's: who answers new chats). A tap
288
+ starts an `@name` and opens the agent list. On a narrow box the name shortens, then only the
289
+ avatar shows. `Composer` takes `usual` and `asking` for it; the conversation and home pass them.
290
+ - **Mentions look like mentions.** Each `@name` naming an agent here is marked in the box as you
291
+ type (a layer behind the text; typing, pasting and the phone keyboard are unchanged), and
292
+ Backspace right after one takes it whole, as in Slack.
293
+
294
+ ## 1.0.0-rc.78
295
+
296
+ ### Fixed
297
+
298
+ - **OpenAI (Responses) prompt cache.** Calls to GPT-6.2 models, ChatGPT's plan above all, reused
299
+ little of their cache (10–26% in production). Two causes, both fixed in the Responses adapter:
300
+ - The instructions now open the input as a developer message, inside the cached prefix. From
301
+ GPT-6.2, top-level `instructions` come after the input and are billed uncached on every call. A
302
+ server that refuses them there is sent them top-level, from then on.
303
+ - Each agent's calls in a thread share a `prompt_cache_key` (a hash of thread and agent), sent too
304
+ as the `session-id` header, which ChatGPT's Codex backend routes its cache by (as Codex does). A
305
+ server that refuses the key isn't sent it again.
306
+
307
+ ## 1.0.0-rc.77 — 2026-11-29
308
+
309
+ - **An agent that asks without waiting gets the answer.** When an agent sent a message to another
310
+ agent with `waitForReply: false`, the other agent's answer was addressed to nobody, so the asker
311
+ never heard back and its turn never resumed. Now the answer goes back to the asker and starts its
312
+ next turn, so an agent can work on other things in parallel and pick the answer up when it comes.
313
+ An agent's answer to an answer still goes back to nobody, so two agents can't keep answering each
314
+ other (`maxHops` is off by default). The `send_message` description says so. Found in Compass: 32
315
+ of 35 agent-to-agent asks in one channel had been sent without waiting.
316
+
317
+ ## 1.0.0-rc.76 — 2026-11-29
318
+
319
+ - **Images reach plan engines on a fresh session.** When a plan session (Claude Code, Codex, Cursor,
320
+ Antigravity) started fresh, only the last user message counted as new, and that is usually the
321
+ turn's `<context>` message, so the person's message before it went into the text history and its
322
+ image was dropped. The whole trailing run of user messages now counts as new, so images go as
323
+ image blocks. Found testing an image sent to an agent on Cursor in Compass.
324
+
325
+ ## 1.0.0-rc.75 — 2026-11-29
326
+
327
+ Threads: two fixes found testing rc.74 on a phone.
328
+
329
+ - **A thread opened on its own shows each reply once.** `message.conversation` added the replies of
330
+ the subthreads hanging from messages in its lineage, and a subthread's lineage holds the message
331
+ it hangs from, so its own replies came twice. It skips the thread itself and never returns a
332
+ message twice.
333
+ - **A thread an agent opens with a person is answered.** `send_message` with `in: "subthread"` to a
334
+ person made the thread with no agent, so what the person replied there went to nobody. The agent
335
+ who asked is now in it. A reply in such a thread made before (no agents) goes to whoever wrote the
336
+ message it hangs from, so existing threads work without migration.
337
+
338
+ ## 1.0.0-rc.74 — 2026-11-29
339
+
340
+ ### Threads under a message, like Slack's
341
+
342
+ Built on the records subthreads already had (`message.subthread`, a thread's `parent` and `fork`):
343
+ no data migration. Apps that don't opt in see no change.
344
+
345
+ - **Folded replies:** with `threads.replies: "folded"` (set by `chatChannels`), a subthread's
346
+ messages leave the channel's timeline. The message it hangs from shows "N replies · who · when",
347
+ and "writing…" while an agent answers there.
348
+ - **Opened beside:** tapping that opens the thread next to the channel on desktop, full screen on a
349
+ phone (the panel staff notes use), with its own composer. Opened as a page (a notification's tap),
350
+ it says which channel it's in and links back.
351
+ - **Reply in thread** on every message of a channel. The first reply makes the thread
352
+ (`<message>:sub`, a fork of the channel at that message, in its space); if the message is an
353
+ agent's, that agent answers there, else the channel's agents.
354
+ - **Also send to #channel:** a box in the thread's composer (off by default) also says the reply in
355
+ the channel, marked "Replied in a thread", to nobody there, so no agent answers it twice.
356
+ - **Server:** `chat.send { under, also }`; `message.also`; `message.conversation { folded }`. Who
357
+ may reply under a message is who writes in its space; contacts can't.
358
+ - **Context, unchanged:** agents in the channel see the ask and replies addressed to them, not the
359
+ thread's back-and-forth; the thread sees the channel up to the message it hangs from.
360
+ - **Known gap:** two people sending the very first reply under one message at the same instant: one
361
+ gets an error and sends again.
362
+
363
+ ## 1.0.0-rc.73 — 2026-11-29
364
+
365
+ ### Channels: a space's threads as Slack-like channels, by configuration
366
+
367
+ Same threads, same memory, agents and notifications; only how they're shown and started changes.
368
+ Apps that don't opt in see no change: chats stay as they were.
369
+
370
+ - **`chatChannels` (and `chatChannelsPtBR`)**, from `copilotz/web`: add it to the front end and a
371
+ space's threads are channels: named, few, long-lived. No "New chat" (sidebar, rail, headers,
372
+ palette); each space lists its channels by name, its starter ("general") first, with **Add
373
+ channel** in the list, the space's header and the palette. Adding a name that's there opens it.
374
+ - **Landing:** opening a space goes to the last channel opened there on this device, else the most
375
+ recently active, else the starter, made on first open. Back doesn't bounce
376
+ (`go(path, { replace })`).
377
+ - **Other conversations:** routine runs, agents' new threads and older chats are listed apart,
378
+ folded under the channels. Renaming one makes it a channel.
379
+ - **Server:** `thread.channel`, `thread.starter`; `chat.open { channel, starter }` (the starter at a
380
+ fixed id, made once even when two open it together), `chat.rename { channel }`,
381
+ `thread.recent { channel }`. The starter is never archived nor moved.
382
+ - **Agents:** `chat: { channels: true }` tells them to keep side work in subthreads and start a new
383
+ thread only when asked.
384
+ - **Settings**, for apps that want their own mix: the page resource
385
+ `threads: { create: "header" | "list" | "none", named, landing: "new" | "last", starter }`.
386
+ - **Permissions:** as for chats. Who may write in a space adds and renames channels; readers and
387
+ contacts can't, and contacts don't list them.
388
+
389
+ ## 1.0.0-rc.72 — 2026-11-28
390
+
391
+ An agent's message to a person in its own chat no longer pauses its turn: it's word while the agent
392
+ works, and the agent stops for their answer only when it says so. People are named by their names.
393
+
394
+ **Changes:**
395
+
396
+ - **`send_message` to a person in the same chat goes on.** It's said at once and the turn continues;
397
+ until now every message waited for a reply unless the agent remembered `expectReply: false`, so a
398
+ progress update could stop an agent until the person came back. To stop until they answer, the
399
+ agent sets `waitForReply: true` (or asks in its answer, which ends its turn, as before). To an
400
+ agent, or anywhere else (a subthread, a new thread, another chat or space), it still waits unless
401
+ told not to. Permission requests (approvals) are unchanged: they always wait.
402
+ - **`waitForReply`** is the option's name now; `expectReply`, its old name, still works. The stored
403
+ message field stays `expectReply`.
404
+ - **People by name.** The tool lists the people in the chat by their names (an id only for someone
405
+ without one, or beside a name two people share), and takes a person by name, in any spacing or
406
+ case, with or without `@`, or by id. Left out, `to` is the one person in the chat; with more than
407
+ one, the agent is told to say who it's for (until now: `nobody called ""`).
408
+
409
+ ## 1.0.0-rc.71 — 2026-11-27
410
+
411
+ Push notifications, in the library: a person turns them on per device, and is told when something
412
+ waits on them (an agent asks for their yes, a message is to them) while no tab of theirs shows the
413
+ app. Off in every app until it's given a VAPID key pair.
414
+
415
+ **New:**
416
+
417
+ - **The `push` plugin** (`copilotz/plugins/interfaces`; `pushWeb` from
418
+ `copilotz/plugins/interfaces/web`). Each device's subscription is its person's alone, changed only
419
+ through `push.subscribe` and `push.unsubscribe`; its endpoint and keys are private. `push.send`
420
+ `{ person, notice }`, for the app's own code only, encrypts for each device (RFC 8291,
421
+ `aes128gcm`) and signs with the app's key (RFC 8292 VAPID), on WebCrypto alone (Deno, Node, Bun);
422
+ a device its push service says is gone (404, 410) is forgotten. Its settings, `resources.push`:
423
+ `publicKey`, `privateKey` (make a pair once with `vapidKeys()`, and keep it: a new pair breaks
424
+ every subscription) and `contact` (`mailto:` or `https://`). Without a pair, push is off.
425
+ - **When it notifies:** an `approval` a person answers ("<agent> asks for your yes", with what it
426
+ would do), and a message whose `to` names them (an agent's reply in a chat they left, a person
427
+ writing to them, a mention): the sender's name and its first words; a tap opens the chat, and one
428
+ from the same chat replaces the last. Never their own message, an agent's private step, anything
429
+ over five minutes old, or while a tab of theirs shows the app: each signed-in tab says so
430
+ (`push.looking`, `reportLooking`) as it shows and hides.
431
+ - **The service worker** shows each push and, on a tap, focuses the app's window and moves it to the
432
+ notice's page (same-origin only), or opens one.
433
+ - **Notifications**, in the person's menu: this device's switch, why it can't be on (blocked, not
434
+ installed on an iPhone's Home Screen, unsupported, not set up), and their other devices to turn
435
+ off. English and Portuguese.
436
+ - The `bell` icon.
437
+
438
+ ## 1.0.0-rc.70 — 2026-11-26
439
+
440
+ A hotfix on rc.69: on a phone, the composer's tier picker no longer pushes the mic and send buttons
441
+ out of the box, and a person's images reach the plan engines that read them instead of being
442
+ dropped.
443
+
444
+ **Fixes:**
445
+
446
+ - **The composer keeps attach, mic and send.** Its row gives way instead: the controls beside send
447
+ may shrink (`min-width: 0`), and the tier picker shortens with an ellipsis. In a narrow composer
448
+ (under 520px of its own width, a phone or a side panel; `.chat-box` is now the `chat-box`
449
+ container) the picker shows the tier's name without its price.
450
+ - **A plan engine gets a message's images.** The `engine` model adapter takes images
451
+ (`media:
452
+ ["image"]`) and sends them as ACP image blocks beside the words, to Claude Code, Codex,
453
+ Antigravity (`agy acp`) and Cursor, whose runner now passes them to the SDK
454
+ (`send({ text, images })`) and says it takes them (`promptCapabilities.image`). Grok runs
455
+ `grok -p`, which takes words only: its images are named and left out ("… isn't shown: this model
456
+ can't read image files"), as before. Until now every plan engine was told that.
457
+
458
+ **New:**
459
+
460
+ - `Menu`'s `text` may be any node, not only a string (a string reads as before).
461
+
462
+ ## 1.0.0-rc.69 — 2026-11-26
463
+
464
+ A Processor can act on its own authority, as a named grant, and a new one can start at the log's end
465
+ instead of replaying it. The runtime refuses code going beyond its actor in its own words, and the
466
+ access plugin keeps its people-facing ones.
467
+
468
+ **Breaking:**
469
+
470
+ - **`labels.elevate` may answer a string,** what the code would go beyond, which refuses it in those
471
+ words (`"<action>" goes beyond <string>`). `true` still lets it go on and `false` refuses it, now
472
+ as going beyond "what the actor it acts for may do". Only `true` is a yes. The access plugin
473
+ answers "what everyone in this conversation may see", so its refusals read as before.
474
+ - **`copilotz.elevated.ops` also counts ops made as a named grant acting for nobody,** under that
475
+ grant: a Processor's `as`, and a grant the system's own work takes (an Action with `as` called by
476
+ a declared schedule).
477
+
478
+ **New:**
479
+
480
+ - **A Processor's `as: "<grant>"`.** It runs as `{ kind: "system", id: "<grant>", in }` instead of
481
+ as the event's actor: for nobody (no `via`), where the event was. The owner holds its deliveries
482
+ to that grant. Its writes and calls are on the record as the grant, each caused by the event it
483
+ handled, and code going beyond from it asks the labels nothing (it goes beyond no one). It reads
484
+ as the grant; `ctx.as(event.actor)` reads as whoever acted. A name that isn't one fails at
485
+ startup, as an Action's does. This is for what an app's own rules do when an event comes,
486
+ whoever's event it is: a Processor that hears an agent's reply in a chat shared with a contact,
487
+ and moves the chat to people, can now call `chat.move` as its grant. Without `as` it runs as the
488
+ agent, and is refused as an agent's tool is: an agent's turn is itself a Processor, so the
489
+ exemption is declared, not every Processor's.
490
+ - **A Processor's `start: "now"`.** With no saved position, it starts at the log's end instead of
491
+ its first event, and that position is saved before anything is delivered: a crash before its first
492
+ delivery doesn't move it later. A saved position is never moved, so after downtime it still gets
493
+ what it missed (at least once): an effect that mustn't come late checks `event.at`. Each store has
494
+ its own end, so in a pool of runtimes each tenant starts at its own, when first opened with it.
495
+ Without `start`, a new Processor starts at the first event, as before.
496
+ - `describe` says a Processor's `as` and `start`.
497
+
498
+ **Docs:**
499
+
500
+ - Renaming a Processor replays the log and runs its nested calls again, since its position and its
501
+ calls' ids are kept by name. To rename one, let it catch up (lag 0), then deploy the new name with
502
+ `start: "now"`. The reference's Processors, the architecture's events and owner pages, and the
503
+ spaces and chat plugins' docs say how `as` and `start` work, and why a Processor's exemption from
504
+ the contact rule is declared.
505
+
506
+ **Known limits:**
507
+
508
+ - **`start: "now"` finds the log's end by reading on from the furthest saved position.** A store
509
+ with a long log and no saved position at all reads all of it once, at the first start with such a
510
+ Processor.
511
+ - **A rename with `start: "now"` skips what the old name hadn't finished** when the new owner took
512
+ the store: let the old one reach lag 0 first.
513
+
514
+ ## 1.0.0-rc.68 — 2026-11-26
515
+
516
+ Each plan says which models it runs, and plans first goes by its list instead of names kept by hand.
517
+ Antigravity, which names its models its own way, now runs them.
518
+
519
+ **Breaking:**
520
+
521
+ - **`computer.connected` answers `{ plan, models }` for a plan with a known list,** and the others
522
+ by name, as before. Code that read its answer as names reads `.plan` for those.
523
+
524
+ **New:**
525
+
526
+ - **A plan says which models it runs.** Antigravity, Grok Build and Cursor list the models the
527
+ person's plan runs, by their own names, when the computer says its plans' status: Antigravity in
528
+ the session its sign-in check starts, Grok Build in `grok models`, Cursor from its SDK. The
529
+ computer's record keeps each list (`engines.<engine>.models`), and `computer.connected` answers
530
+ such a plan as `{ plan, models }`, the others by name as before (`PlansConnected`). The tiers
531
+ plugin keeps the lists: a turn's chain goes as `{ model, harnesses, served }` (`tiers.model` adds
532
+ `served` only where a plan said one), and so do a tier's price for the person looking (`yours`)
533
+ and the model a test of a plan tries. A plan with a list runs a model its list has by the model's
534
+ API name (`gemini-4-neon`), or by that name and the entry's `effort` (`gemini-4-hydrogen-high`),
535
+ the name it's then asked by; with both, the one with the effort first. Its `serves` map isn't
536
+ consulted then; a plan without a list (Claude Code, Codex, ChatGPT) uses its map, as before. The
537
+ model's catalog entry stays the API's, for its prices and limits.
538
+ - **Cursor's hand-copied list is gone.** Until its computer says its list, `cursor-plan` serves
539
+ every maker's models by the same names (`anthropic/*`, `openai/*`, `google/*`, `xai/*`), as
540
+ `gemini-plan` serves Google's. An entry naming `cursor-plan/…` stands for Cursor's own model.
541
+
542
+ **Fixed:**
543
+
544
+ - **Antigravity runs the models it has, by its own names** (rc.67's known limit). It names them with
545
+ the effort in the name and has no Gemini 4 Neon, and rc.66 asked it by Google's API names: each
546
+ turn tried it first among Google's models, it said it doesn't run that one, and the next plan or
547
+ the API answered. A model its list lacks now skips it without asking its computer, and one it
548
+ lists with the entry's effort runs on it.
549
+ - **The connect flow tests a plan on a model it runs.** Its test model was fixed as the flow opened,
550
+ before the plan's sign-in said its list: Antigravity was tested on Google's API name and failed.
551
+ The test now waits until the app's listing shows the plan connected, and runs on the model listed
552
+ there.
553
+
554
+ **Known limits:**
555
+
556
+ - **A plan's name that follows neither rule isn't matched** (`claude-opus-4-6-thinking`: neither the
557
+ API's name nor it with an effort). That model runs there only where a chain names it on the plan
558
+ (`gemini-plan/claude-opus-4-6-thinking`).
559
+ - **A model a plan names only with its effort** (Antigravity's `gemini-4-hydrogen-high`) runs there
560
+ only for an entry that sets an effort it has.
561
+ - **A computer on a program older than rc.68 says no list,** so its plans go by their `serves` maps
562
+ (Antigravity by Google's API names) until it updates.
563
+ - **A connected plan whose list runs none of the tiers' models doesn't show among Your AI's plans.**
564
+ - **Cursor's status asks Cursor's servers for its models,** for up to 10 s.
565
+
566
+ ## 1.0.0-rc.67 — 2026-11-26
567
+
568
+ A fix to rc.66's plans first: a turn whose first plan failed ran on the app's API, though another of
569
+ the person's plans could answer.
570
+
571
+ **Fixed:**
572
+
573
+ - **A turn's next plan runs, instead of getting the first one's failure.** A plan's prompt had the
574
+ same id for every plan and model in a turn, and the computer, which keeps its prompts by id for
575
+ all its plans, handed each next plan the first one's answer: its failure, in a fraction of a
576
+ second. A model one plan didn't run (Antigravity, asked for Gemini 4 Neon) then skipped every plan
577
+ after it, to the API, at the app's cost. A prompt's id now names its plan's engine and its model
578
+ too, so each plan in the turn is asked; a step tried again keeps its id.
579
+
580
+ **Known limits:**
581
+
582
+ - **Antigravity runs no model by its API name yet.** It names its models its own way, with the
583
+ effort in the name (`gemini-4-hydrogen-high`), and rc.66 asks it by Google's. Each turn asks it
584
+ first among Google's models, it says it doesn't run that one, and the next plan or API answers.
585
+ rc.68 asks each plan which models it runs.
586
+
587
+ ## 1.0.0-rc.66 — 2026-11-26
588
+
589
+ Agents run on the plans people already pay for, before the app's API. For each model a tier names, a
590
+ person's connected plans come first, in their own order, and Grok Build and Cursor join Claude Code,
591
+ Codex and Antigravity. A person connects their plans in one flow, with no terminal and a button for
592
+ every failure, from Your AI, which replaces Connected accounts. A tier is priced at what the person
593
+ looking would run, a cloud computer says what it costs, and a call that wakes one says so. Rare
594
+ cases are known limits, listed below, not code.
595
+
596
+ **Breaking:**
597
+
598
+ - **`account.uses` is gone,** with the `accounts.uses` View, the line it drew over the composer
599
+ ("Runs on your ChatGPT Plus plan"), and the types `Uses`, `Use` and `UsesParams` from
600
+ `copilotz/plugins/access`. It read only the first of an agent's own models. The tiers' composer
601
+ line says what a chat's agents run on, and what it costs.
602
+ - **`tiers.model`'s answer** is `{ model, harnesses }` in an app with plans: code that read it as a
603
+ list reads `.model`. An app without plans gets the list, as before.
604
+ - **`/accounts?signin=<engine>` no longer opens a sign-in.** Link
605
+ `/accounts?connect=<plan or provider>`: it opens the connect flow.
606
+
607
+ **New:**
608
+
609
+ - **Plans first, native first.** A tier names models, and each turn runs them on its person's plans
610
+ first: for each model, in the chain's order, every plan of theirs that serves it, in their order;
611
+ then the APIs, as the chain lists them. Each plan serves its own maker's models: Claude Code
612
+ Anthropic's, ChatGPT (on the server, then through Codex) OpenAI's, Grok Build xAI's, Antigravity
613
+ Google's. Someone with only ChatGPT gets `chatgpt/…sol` before Anthropic's API. A plan at its
614
+ limit hands over to the next plan while there is one.
615
+ - **Which models a plan serves** is data on its provider: `harness: { order, serves, plan }`.
616
+ `serves` maps API ids, or a whole provider (`"anthropic/*"`), to the plan's own names, and `plan`
617
+ is the name people know it by ("ChatGPT"). The default order is Claude Code (10), ChatGPT on the
618
+ server (20), Codex (30), Grok Build (40), Antigravity (50). A model list given `harnesses` runs on
619
+ them first; an entry naming a plan (`claude-plan/…`) stands for its model on plans only.
620
+ `models.check` answers what a list would try, in order.
621
+ - **A person's order of their plans.** `tiers.harnesses` `{ harnesses }` sets it, kept on their own
622
+ tier choice: theirs first, the rest after. It ranks the plans that serve one model; the tier's
623
+ model order still comes first. `modelChoice.harnesses` lists the app's plans in their order, each
624
+ with the plan it's on and whether they have it.
625
+ - **Which plans a person has** is asked on each turn, through the `connectedPlans` resource:
626
+ `account.connected` answers for their connected accounts, and `computer.connected` for plans
627
+ signed in on a computer of theirs that's on or wakes (none while nobody's there).
628
+ - **Grok Build: `grok-plan`.** A fourth engine, `grok`, on a person's Grok plan: `grok -p` as only
629
+ the engine (the agent's prompt, none of its tools, no memory, subagents, plan mode or web search),
630
+ the session's MCP server alone, its own `HOME` and `GROK_HOME`, never an xAI key. A prompt that
631
+ offers it tools of its own fails before the model acts. It signs in by device code, reports its
632
+ status with `grok models`, signs out with its own `grok logout` and installs with its official
633
+ installer. It serves xAI's models by their own names, at no cost to the app.
634
+ - **Cursor: `cursor-plan`.** A fifth engine, `cursor`, on a person's Cursor plan, which has no CLI:
635
+ Cursor's SDK (`@cursor/sdk@1.5.0`), installed into the engine's home by Sign in, run with Node by
636
+ a runner the program writes beside it, an ACP agent itself. A session is a Cursor local agent with
637
+ none of Cursor's tools but MCP's, the session's MCP server alone, resumed in a later process. The
638
+ agent's instructions go on top of Cursor's own prompt, as the session folder's one rule
639
+ (`.cursor/rules/agent.mdc`, always applied). Its sign-in is Cursor's (a link, nothing pasted
640
+ back): a user API key kept in its home. It serves the makers' models Cursor runs by the same names
641
+ (Claude, GPT-5.x, Gemini 4, Grok 4.x), last among a person's plans (60), at no cost to the app.
642
+ - **One connect flow.** "Connect your plans" opens for the plans its door picked: a plan's card on
643
+ Your AI (Connect, Fix), the address `/accounts?connect=<plan or provider>` (every fix-it link), or
644
+ a step of the app's welcome, which picks several at once. It asks where the plans run only when
645
+ one runs through an app on a computer and the person has none that can: in the cloud (made in a
646
+ click by a computer kind's `add.quick`), or on this computer (on a desktop browser, saying it
647
+ needs one line in a terminal, once). Then one checklist: the computer readied, then one line per
648
+ plan, one at a time, through its phases: its CLI installed as it signs in, signed in, and a test
649
+ answered on it. Every failure ends in Try again; a laptop that's off also offers a cloud computer.
650
+ A command shows only when an installer failed or can't run (Windows), with its output and the
651
+ computer's Terminal a click away.
652
+ - **`computer.prepare`** `{ computer }` readies one of the person's computers for plans, checking
653
+ each time, never from the record: woken (a cloud computer), its program brought to the app's
654
+ release (a cloud computer is restarted on a new VM through `computerWake`'s new `sleep`; a laptop
655
+ is offered the release and waited for), then what its CLIs are now, kept on the computer field by
656
+ field. It fails `computer_shared` or `offline`, saying why. A finished sign-in says whether its
657
+ CLI is there (`installed`).
658
+ - **`llm.test`** `{ model }` tries one model the person's own plan pays for (a provider tagged
659
+ `paid: "subscription"`), to show it answers there. It never spends the app's key.
660
+ - **Your AI.** The accounts page lists other front ends' sections first, then "Other accounts", then
661
+ the person's own API keys. A section with `plans: true` shows the accounts that pay for models
662
+ among the plans. Computers' front end adds Your plans (a card per plan the app uses: where it runs
663
+ now and its backup, its limit, one action; in the person's order, from the tiers' `planList`) and
664
+ Your computers (each one's state, the plans it runs, its month, its Terminal). In the flow,
665
+ ChatGPT on the server's line is the `accounts.connect` View: a button that opens the account's own
666
+ dialog. The page's frame and its connect dialog are in Brazilian Portuguese too.
667
+ - **The welcome's step.** `computer.plans.welcome`, for chat's `welcome` resource: "Which AI plans
668
+ do you have?", then the flow.
669
+ - **A plan at its limit** is kept on the computer (`engines.<engine>.limited`) until a call there
670
+ answers. Your AI says since when.
671
+ - **Pool VMs update themselves.** A free pool VM says what it is (`POOL.info`) and takes the app's
672
+ newer release (`POOL.update`), as a laptop does, then ends for its service to start it again. An
673
+ app offers it with `offerUpdate(ctx, POOL_KIND, vm)` in its pool's `ready`.
674
+ - **What a message costs you.** Tiers price a typical message for the person looking, at the first
675
+ model their turn would try, plans first. On one of their plans a kind of work costs them nothing
676
+ (`ModelShown.plan`), and a tier says what it comes to for them (`TierShown.yours`). The composer
677
+ reads "Everyday · on your plans · model $0", or "Everyday · 2¢" with no plan connected. `price`
678
+ stays what it costs on the app's models: the org's and a space's pages, which choose for others,
679
+ show it.
680
+ - **What a cloud computer costs.** `computer.cost` (a query, `{ computer? }`) says what one of the
681
+ asker's computers the app keeps costs them, or a new one: an hour awake; how long it stays awake
682
+ after; its disk a month; how far the plan's credits go after a month's disk; and this month so
683
+ far, from the usage ledger. The `computer.cost` View says it in a line, by mode (`price`, `cost`,
684
+ `month`). The app gives the prices: `computerWake.prices` names its query (`ComputerPrices`).
685
+ Nothing is priced in Copilotz.
686
+ - **Waking, said.** A plan's call that wakes a computer says so first: a `waking` model chunk, with
687
+ the app's estimate (`computerWake.estimate`: `{ seconds, slower? }`). Chat shows "Waking the
688
+ computer… (about 5 seconds)", or that it takes longer at this hour, then "Still waking the
689
+ computer…" past it.
690
+ - **`runtime.lost`**, a promise that resolves once another owner took the store, with the epoch it
691
+ held and the line it logged (the `Lost` type), after the runtime has stopped. `close()` after it
692
+ resolves without saving anything. Calls in the process (`call`, `query`, `emit`, `render`,
693
+ `bytes`) are refused with `fenced`, and so is a call whose job the loss cut short (it was
694
+ `executor_lost`).
695
+
696
+ **Changed:**
697
+
698
+ - **Your AI replaces Connected accounts,** at the same address (`/accounts`). The user menu and
699
+ messages that said "Connected accounts" say "Your AI".
700
+ - **The sign-in dialog is gone,** with its per-computer rows and the install command it always
701
+ showed: the connect flow replaces them. Its words go with it (`computers.signIn…`, `install…`,
702
+ `row…`, `shared…`, `step…` and others).
703
+ - **Check, don't remember.** Once a plan's call has woken a computer, it asks what the plan's CLI is
704
+ now, and keeps it. One that isn't signed in any more is passed over for the next computer at once.
705
+ - **A running step is use.** A plan's step touches its computer every minute while it runs, and once
706
+ more when it ends, so the app's idle check never puts it to sleep mid-step.
707
+ - **Your plans' words.** Your plans says "Your plan pays for the AI.", and, where the app keeps
708
+ computers, "A cloud computer you use for it is charged while it's awake.", in place of "Nothing is
709
+ charged here for those calls."
710
+ - **Model chunks.** `LlmChunk` has `waking`. `generate` passes it on without counting it as written,
711
+ so a call that fails after it still hands over to the next model.
712
+ - **`listen` and `serve` exit the process when the runtime they serve loses its store.** `listen`
713
+ does when it serves a runtime's own `runtime.fetch` (a function that calls it is any handler);
714
+ `serve` when its app's `lost` resolves, as a lost lease already stopped it. Both stop listening
715
+ and say code 1 to `stopped`, whose default is now to exit the process with the code it's given (it
716
+ was to do nothing), for `serve`'s handover and signal too. An app that passes `stopped` (the docs'
717
+ `pool.close().finally(() => process.exit(code))`) keeps doing what it says. With `Deno.serve`, add
718
+ `runtime.lost.then(() => Deno.exit(1))`.
719
+ - **A pool keeps a lost org's runtime answering 503** (`runtimes`): `get` hands it as it is without
720
+ counting as use, and the pool forgets it `idleMs` after the loss, opening it again on the next
721
+ use. It doesn't take the org straight back, which would have two processes trading it on every
722
+ request; the process keeps serving its other orgs. Why, and how an app that runs one process for
723
+ every org stops the process instead:
724
+ [the tenancy design](design/tenancy.md#many-orgs-per-process).
725
+
726
+ **Fixed:**
727
+
728
+ - **A laptop that's off came before an asleep cloud computer.** Once none of a person's computers
729
+ was online, a plan's call went to the signed-in one seen last, so a closed laptop sent the call to
730
+ the API instead of waking the cloud computer. There's one order now (`servingOrder`): online
731
+ first, then those the app keeps, then the rest.
732
+
733
+ **Known limits:** rare cases left to the app on purpose, a line each
734
+ ([the plans guide](docs/guides/agents-on-peoples-plans.md#known-limits)).
735
+
736
+ - **Plans first:**
737
+ - With one plan, a tier's checker can run on the same maker's models as its builder.
738
+ - A plan at its limit is tried first on each call until it resets: it fails in seconds.
739
+ - Plans run at their CLI's own effort, whatever the chain says.
740
+ - Antigravity serves Google's models; others once their names are checked.
741
+ - Grok Build reaches an agent's tools through its own search (a few more model turns), keeps its
742
+ built-in skills in its prompt, and keeps a copy of each session at xAI.
743
+ - Cursor's own prompt stays underneath the agent's instructions; a call takes about 15,000 input
744
+ tokens of the person's plan; it needs Node 22.13 or later on the computer; what each agent's use
745
+ costs isn't available, only its tokens.
746
+ - **Connecting plans:**
747
+ - On Windows a plan's CLI is installed from the computer's Terminal: the flow shows its command.
748
+ - "On this computer" needs one line in its terminal, once: the program's download isn't signed
749
+ yet.
750
+ - A cloud computer awake on an older program when a plan is set up there is restarted: the jobs it
751
+ keeps start again; others stop.
752
+ - A computer that can't be brought to the app's program is used as it is.
753
+ - A computer shared with others' agents doesn't run plans: Your AI shows such a plan as not
754
+ connected, and Connect sets it up on another computer, or a cloud one.
755
+ - The flow connects a plan's first way in: ChatGPT through Codex isn't offered beside ChatGPT on
756
+ the server.
757
+ - The flow signs a plan in on the person's best computer: a backup is one they've signed in on
758
+ before.
759
+ - A test of a model the plan doesn't include shows as a failure, in the provider's words.
760
+ - ChatGPT on the server doesn't show its limit on its card.
761
+ - With tiers, the cards follow the app's tiers, not tiers an org saved of its own.
762
+ - **Costs and waking:**
763
+ - The estimate takes a plan as it last said: a plan at its limit still shows $0.
764
+ - A wake's time is an estimate: past it, the notice says "Still waking…".
765
+ - A tool run on the server for longer than a cloud computer stays warm lets it sleep between
766
+ steps: the next step starts a fresh session, given the whole conversation.
767
+ - A CLI removed while its computer is awake still shows as signed in until the computer is asked
768
+ again.
769
+ - "This month" is the calendar month in UTC, and the disk shows at its monthly price, at the app's
770
+ disk size now.
771
+ - "Covers about N hours" counts the plan's credits, not what's left of them.
772
+ - **A runtime that lost its store stops serving, at once and loudly.** When a second process opened
773
+ the store (an instance the platform added, a deploy without the lease), the first one was fenced
774
+ but went on answering: every webhook it was sent got a 200 and was never recorded, and an idle one
775
+ never noticed. Now the first one finds out at its next write, or within 5 seconds while idle
776
+ (`fenceCheck` on `createRuntime`, in ms; `false` for a store no other process can open), and stops
777
+ for good: every request gets a 503 with `retry-after: 5` (routes, webhooks, `/health`, sockets'
778
+ upgrades), its sockets are moved off so clients reconnect to whoever serves next, its executors
779
+ and workers are let go, its timers and Processors stop, and nothing more goes to the store. It
780
+ logs one line saying which store (a SQLite file's path, a PostgreSQL schema and tenant, never a
781
+ URL), the epoch each holds, and that it stopped. Senders that retry a 503 reach the owner, so a
782
+ second instance costs seconds and delayed messages, not lost ones. Run one instance per store all
783
+ the same (Cloud Run's maximum instances 1): see
784
+ [One instance per store](docs/architecture/topology.md#one-instance-per-store).
785
+
786
+ **Docs:**
787
+
788
+ - [Agents on people's own plans](docs/guides/agents-on-peoples-plans.md) has "Plans first",
789
+ "Connecting plans: one flow" (readying a computer, a missing CLI, a test on the plan), "Your AI",
790
+ "Which computer a call runs on", "A plan at its limit", "Waking a computer" and "What a plan
791
+ costs", with Grok Build among the providers. The reference's "Models and providers" says how plans
792
+ come first.
793
+ - The plugins' reference pages show rc.66's Actions, queries, Views and fields: accounts, chat
794
+ (`live`'s `waking`), computers (`computer.prepare`, `computer.cost`), models (`llm.test`) and
795
+ tiers.
796
+ - The "Computers and plans" group of `AGENTS.md`'s "Find it" index has lines for plans first, Grok
797
+ Build, the connect flow, Your AI, readying a computer, a plan's test, the welcome's step, pool
798
+ updates, waking and costs.
799
+
800
+ **Upgrading:**
801
+
802
+ - **An app that keeps cloud computers** (a pool of VMs) adds three things for the connect flow:
803
+ - `add.quick` on its computer kind (`computerKinds.<kind>.add.quick: { action, input }`), so "In
804
+ the cloud" makes one in a click;
805
+ - `computerWake.sleep`, an Action that puts one to sleep now (`{ computer }`), so
806
+ `computer.prepare` can restart one awake on an older program on a new VM;
807
+ - `await offerUpdate(ctx, POOL_KIND, vm)` in its pool's `ready` (from `copilotz/plugins/compute`),
808
+ with the `downloads` resource in that runtime, so free VMs take the app's release.
809
+
810
+ `computerWake.estimate` (the waking notice's time) and `computerWake.prices` (the costs) are
811
+ optional: without them, the notice says "Waking the computer…" with no time, and nothing is
812
+ priced.
813
+ - **Write plan chains as models.** Name models (`anthropic/claude-opus-5-5`), and each person's
814
+ plans come first by themselves. Chains that name plans (`claude-plan/…`) keep working, on plans
815
+ only.
816
+ - **Code that reads `tiers.model`'s answer** in an app with plans reads `.model`. A page that showed
817
+ `accounts.uses` shows the tiers' composer line.
818
+ - **Words:** an app's own words for the sign-in dialog's keys do nothing now: give its words for the
819
+ connect flow's and Your AI's keys instead (`hosts/web/WORDS.md`).
820
+ - **The computer program:** one older than rc.66 has no Grok Build: Sign in says it doesn't know it
821
+ until it updates.
822
+
823
+ ## 1.0.0-rc.65 — 2026-11-25
824
+
825
+ This release finishes what rc.64 postponed. A retried Action finds the nested calls it completed,
826
+ wherever it makes them, so both of rc.64's known issues are fixed and none are left. The web toolkit
827
+ asks before going on and edits a record in a dialog. Chats can be archived, and a new message brings
828
+ one back. Date ranges go to the second, and typed dates are read back. A cloud computer keeps what's
829
+ installed in its home, so a plan's CLI is still there after it sleeps; Sign in installs a missing
830
+ CLI, and a plan signs out on one computer. Rare cases are known limits, listed below, not code: the
831
+ code stays small.
832
+
833
+ **Breaking:**
834
+
835
+ - **Nested-call ids change form.** A nested call's id is now `<caller>.<action>#<n>.<inputHash>`,
836
+ and a Processor's timers are `<event>:<processor>:timer.<n>`. rc.65 doesn't read the records rc.64
837
+ kept under the old ids, so finish work in flight before upgrading (Upgrading, below). Code that
838
+ read a position from an id must read `cause` and `data.action` instead.
839
+
840
+ **New:**
841
+
842
+ - **Asking before going on.** `useConfirm()` asks from a handler: draw its `dialog` once, then
843
+ `await confirm({ title, message, danger, onConfirm, toast })`. It's `true` once confirmed and
844
+ done, and `false` when cancelled. `ConfirmDialog` is the same question as a component, for a
845
+ dialog View at an address. One element is one question, so give it a `key`. An async `onConfirm`
846
+ keeps the dialog busy. If it fails, the dialog says why and stays open to try again. With
847
+ `danger`, the button is destructive and Cancel has the focus. Questions belong to the component
848
+ that asks: when it unmounts, a question still waiting is answered no and never shows.
849
+ - **A record in a dialog.** `RecordDialog` adds or edits one record: a `Dialog` holding a `Form`,
850
+ its fields bound to a draft by `form.text`, `form.number`, `form.checked`, `form.radio`,
851
+ `form.value` and `form.list`. Save gives `onSave` a `RecordChange`: a new record's `values` for
852
+ `insertOne`, or a stored one's `set`, `unset` and MongoDB `update` for `updateOne`. An untouched
853
+ field is never in it. An emptied text, number or choice is an `unset`, and an emptied list is
854
+ `[]`. A save runs to its end on the record it started on. The `EntityDialog` planned for rc.64
855
+ ships as `RecordDialog`.
856
+ - **Refused fields.** A save refused by its field (`detail.field`) shows under the `Field` whose
857
+ `error` is `form.error(name)`, in the words `errors` gives for it. With a plain `Form`,
858
+ `refusedField(error)` reads the field.
859
+ - **Dialog options.** `Dialog` takes `busy` (Escape, the backdrop and its × wait), `isolated` (it
860
+ answers only its own close and Escape, not those of a dialog shown inside it), `role`
861
+ (`"alertdialog"`) and `aria-describedby`. Confirmations and record dialogs are always isolated:
862
+ dismissing one never closes the `Dialog` or `Drawer` it's shown in.
863
+ - **Archiving a chat.** `chat.archive` (`{ thread, archived, latest? }`) puts a chat away for
864
+ everyone who sees it, as its title is. A person who may write where the chat is archives it from
865
+ its header's menu, a Chats tab row's menu or the command palette, or with `/archive` in the
866
+ terminal. Lists leave it out, with its staff notes and subthreads: `thread.recent`, and so the
867
+ sidebar, the Chats tab, the palette until you search, `/threads` and agents' `list_conversations`.
868
+ Nothing in it changes, and it still opens by its link.
869
+ - **Archived chats, listed and brought back.** `thread.recent` with `archived: true` lists them, as
870
+ do a folded "Archived" at the end of the Chats tab (read only once it's opened or the tab is
871
+ searched) and `/threads archived`. The palette finds them while searching. Restore brings one back
872
+ (`archived: false`, `/restore`), and so does any new message in it, its notes or a subthread, in
873
+ that message's own commit: a customer writing on WhatsApp reopens their chat.
874
+ - **Nothing new is archived unseen.** Front ends pass `latest`, the newest message they drew (`null`
875
+ for none). Archiving is refused (`conflict`) when anything in the conversation is newer: the chat,
876
+ its notes, or its subthreads at any level. The archiver's own messages count as seen.
877
+ - **Ranges to the second.** `DateRangePicker` with `seconds` takes each end to the second
878
+ (`YYYY-MM-DD HH:mm:ss`); a preset runs from `00:00:00` to `23:59:59`. From and To each hold the
879
+ end's day and time, typed or pasted whole. The field, the foot, From and To write the ends with
880
+ one pattern, which reads them back: the app's `format` when it can be read back, else the page
881
+ language's own, with its clock (12-hour in American English) and a four-digit Gregorian year. Text
882
+ that can't be read, or a range that would end before it starts, is marked and keeps Apply off, so
883
+ what's shown is what's saved. A typed end stays within `min` and `max`, and within 200 years of
884
+ `today` where they don't bound it, so a Buddhist or Persian year typed out of habit is refused.
885
+ - **Typed day-times read back.** `parseDayTime(text, pattern, locale)` reads what `formatPattern`
886
+ writes with the same pattern, in any language, for years 0000 to 9999: any case and spacing, names
887
+ without their final dot, the language's digits, seconds left out. It refuses what isn't one real
888
+ day and time (`31/02`, 13 PM), a two-digit year (it never guesses the century), and text that
889
+ could be two day-times. `patternProblem(pattern)` says why a pattern can't be read back (`yy`,
890
+ month names of a calendar other than the Gregorian one), and `dayTimePattern(locale)` is the
891
+ language's own pattern.
892
+ - **A wall-clock time's moment.** `dateOfDayTime(value, timeZone)` is the `Date` a day-time names in
893
+ a time zone, by Temporal's "compatible" rule: a time the clocks skip moves forward by the gap, and
894
+ a time they repeat is its first pass, as `new Date(…)` does in the page's zone. With no zone, it
895
+ reads the page's clock as `Date` does (`TZ=GMT+3` is three hours behind UTC).
896
+ - **A cloud computer keeps what's installed in its home.** In pool mode, a computer's work (its
897
+ terminal, jobs, the plans' CLIs and its browser) runs with `HOME` on its own disk (`<disk>/home`),
898
+ npm's global prefix under it (`NPM_CONFIG_PREFIX`), and both their programs' folders first on the
899
+ `PATH`. Claude Code from its installer, Codex from `npm i -g`, and anything else installed there
900
+ is still there on its next wake, on a new VM, signed in as it was. A person's own computer keeps
901
+ their own home.
902
+ - **Sign in installs a missing CLI.** On macOS and Linux, a computer whose plan CLI is missing
903
+ offers "Install Claude Code and sign in", on the plan's card and in the sign-in dialog. The dialog
904
+ says what it runs there, and the click is the consent. `computer.engine.login` with
905
+ `install: true` runs the plan's official installer (the app's own command, never the caller's) in
906
+ the computer's home, then the sign-in. An installer that fails shows what it said last and the
907
+ command to run by hand. Windows keeps the instructions.
908
+ - **A plan signs out on one computer.** `computer.engine.logout`, from the menu of the computer's
909
+ line on the plan. Claude Code and Codex run their own sign-out in the folder the computer program
910
+ keeps for them, and the folder goes when that fails. The person's own `~/.claude` and `~/.codex`
911
+ are never touched. Antigravity can't be signed out from here (`unsupported`): its sign-in may be
912
+ in the system's keyring. A cloud computer wakes to sign out; a laptop must be on.
913
+ - **Words**, in English and Brazilian Portuguese: `toolkit.confirm`, `toolkit.delete` and
914
+ `toolkit.notDone` for the dialogs; `computers.installAndSignIn`, `installRuns`, `stepInstall`,
915
+ `installFailedTitle`, `installFailedText`, `signOut`, `signOutFailed`, `shareSignedIn` and
916
+ `shareOwnWarning` for plans on computers.
917
+
918
+ **Changed:**
919
+
920
+ - **A cloud computer signed in to a plan isn't shared with others' agents.** `computer.share` and
921
+ `computer.move` refuse it a desk where agents answer to whoever they work for, outside a Personal
922
+ space, while it last said it's signed in to a plan (`plan_signed_in`). Its person signs out of it
923
+ first; the share dialog says so, with a link to the plans. A person's own computer may still be
924
+ shared, and the dialog says what that means: the space's agents can read everything on it, its
925
+ owner's own sign-ins included. A computer shared with others' agents still runs nobody's plan.
926
+ - A shared computer's line in the sign-in dialog says "Your plan runs on your own computer. This
927
+ shared one runs your agents' tools." (`computers.rowSharedSomewhere`).
928
+
929
+ **Fixed, here since rc.63 or before:**
930
+
931
+ - **A retried Action finds the nested calls it completed,** wherever it makes them (rc.64's first
932
+ known issue). A nested call's id names its caller, the Action, how many calls of it with the same
933
+ input the caller made before, and its input's hash, instead of its place among all the caller's
934
+ calls. Calls of other Actions or inputs no longer make a completed call run again, whether they're
935
+ refused or allowed on the retry, added, or started in another order. Identical calls are matched
936
+ in the order they're made: the same call made twice is still two calls, and an identical call made
937
+ earlier takes the lower number. A call a synchronous `allow` refuses takes no number, as before,
938
+ so the same call made next through a grant is found whichever way the permission went. One an
939
+ asynchronous `allow` refuses keeps the number it took before waiting.
940
+ - **Two Processors handling one event keep their calls and timers apart** (rc.64's second known
941
+ issue). A delivery's calls are named under `<event>:<processor>`, and its timers are
942
+ `<event>:<processor>:timer.<n>`. One Processor's call is no longer answered from another's record,
943
+ and one's timer no longer replaces another's. An unrecorded Action's calls are named under its
944
+ caller's Processor or branch.
945
+ - **From and To are read when they're done, here since rc.54.** In `DateRangePicker`, each keystroke
946
+ that made a valid day moved the range, and Apply took the moved end: typing `2` on the way to `20`
947
+ in To moved From to the 2nd. From and To are now read only when they're left, on Enter, or on
948
+ Apply. Text that isn't a day stays as typed, marked, and Apply is off until it's put right. A
949
+ field left empty is its end again, and a field's own text always reads as its end. With a first
950
+ day picked, To is empty until the second is; where rc.54 couldn't read an end's text back
951
+ (Arabic's short date, a function `format`), it kept showing the old end.
952
+
953
+ **Known limits:** rare cases left to the app on purpose, a line each.
954
+
955
+ - **Confirmations and record dialogs**
956
+ ([the toolkit guide](docs/guides/the-web-toolkit.md#known-limits)):
957
+ - What's typed while a save runs isn't in it; on success the dialog closes.
958
+ - A `useFormSubmit` part's value wins over an edit of the same field, even one typed while the
959
+ part runs.
960
+ - A field made invalid while a part runs isn't checked again; the schema refuses it.
961
+ - A path through a list or a map that isn't there yet (`lines.0.qty`) makes an object: give it a
962
+ value in `defaults` or the record, or set it whole with `form.set`.
963
+ - Don't put a `RecordDialog` inside a form, or a form in its fields: a submit goes to every form
964
+ around it.
965
+ - Questions show one at a time: don't await another `confirm()` inside `onConfirm`.
966
+ - Draw `useConfirm`'s `{dialog}` once.
967
+ - A busy confirmation a browser closes anyway answers when its operation ends; a dialog a browser
968
+ closes just as its operation ends may show the outcome in the closed dialog.
969
+ - A `ConfirmDialog` given a new `key` while open gives the focus back to the page, not to the
970
+ first opener.
971
+ - An app's own `Dialog` closing still closes an app's own dialog or `Drawer` around it, as in
972
+ rc.64, unless the outer one is an `isolated` `Dialog`.
973
+ - **Chats** ([the chats guide](docs/guides/chats.md#known-limits)):
974
+ - A newer message a page doesn't draw (deeper in a subthread, in closed notes) keeps it from
975
+ archiving there.
976
+ - An archived chat's notes aren't listed with it: open the chat to reach them.
977
+ - A subthread opened as a page doesn't say its chat is archived.
978
+ - A thread is a subthread only when its id is `<message>:sub`, as `send_message` makes them.
979
+ - A notes or subthread page passes its own newest message, so the chat's newer ones refuse it
980
+ there.
981
+ - A message's time is stamped before its commit, so one committed late can slip past the check.
982
+ - Notes made in the milliseconds before an archive aren't checked.
983
+ - An omitted `latest` (scripts, `/archive <id>`) checks nothing.
984
+ - **Dates** ([the toolkit guide](docs/guides/the-web-toolkit.md#known-limits-of-dates-and-times)):
985
+ - Fields of no fixed length run together (`yyyy/dM`) can't always be read back, and
986
+ `patternProblem` doesn't say so.
987
+ - With `seconds` and a year-first format in another order than the toolkit's (`yyyy-dd-MM`), text
988
+ read as two different ends is refused.
989
+ - Names typed in capitals may not read in Greek or Turkish.
990
+ - A format with spaces at its edges doesn't read back what it writes.
991
+ - With `seconds`, `today` must be 200 years or more from 0000 and 9999.
992
+ - Changing the format or the page's language while a range is open reads what's being typed by the
993
+ new one.
994
+ - `min` and `max` given as times of day hold for typed ends, not for picked days or presets.
995
+ - The months' Next button goes past December 9999 without `max`.
996
+ - **Computers and plans** ([the plans guide](docs/guides/agents-on-peoples-plans.md#known-limits)):
997
+ - A shared computer is shared whole: agents in its spaces can read everything on it, sign-ins kept
998
+ there included. Keep personal sign-ins on a computer you don't share.
999
+ - Antigravity can't be signed out from here: its sign-in may be in the system's keyring.
1000
+ - On a laptop, a CLI installed where the program doesn't look (npm's prefix under a version
1001
+ manager, not on the program's `PATH`) isn't found: the page then shows the command to run by
1002
+ hand.
1003
+
1004
+ **Docs:**
1005
+
1006
+ - The reference has "Nested calls and retries" under Actions, and the stores page says how to see
1007
+ [work in flight](docs/operations/stores.md#work-in-flight).
1008
+ - The toolkit guide has "Confirming an action", "A record in a dialog", "Showing a refused field",
1009
+ "Date ranges with seconds" and "Reading typed dates and times", with their known limits. In
1010
+ [a business app's screens](docs/guides/a-business-apps-screens.md), the customer dialog is a
1011
+ `RecordDialog`.
1012
+ - [Chats: their lists and archive](docs/guides/chats.md), a new guide: listing chats, archiving and
1013
+ restoring one, and what agents see.
1014
+ - The REST guide's list of Actions a key can't call names `chat.rename` (missing since rc.63) and
1015
+ `chat.archive`.
1016
+ - [Agents on people's own plans](docs/guides/agents-on-peoples-plans.md) has "A missing CLI",
1017
+ "Signing out", "What a cloud computer keeps" and its known limits.
1018
+ - The "Find it" index in `AGENTS.md` has two new groups, "Chats" and "Computers and plans", and
1019
+ lines for confirmations, record dialogs, refused fields, ranges to the second, typed dates and
1020
+ nested calls.
1021
+
1022
+ **Upgrading:**
1023
+
1024
+ - **Finish work in flight before upgrading.** rc.65 doesn't read the records rc.64 kept under the
1025
+ old nested-call ids. Work in flight is a Processor delivery not yet done, or a call that started,
1026
+ didn't complete, and will be called again with the same id (by a client, a webhook sender, or a
1027
+ timer's retry). Retried on rc.65, its nested calls that completed on rc.64 run once more, with all
1028
+ they do (writes, emits without an `id`, outside calls), and timers are set a second time: a
1029
+ Processor's and a nested call's. An Action's own timers keep their ids. Wait for `runtime.idle()`,
1030
+ stop with `runtime.close({ drain })`, check what's left
1031
+ ([work in flight](docs/operations/stores.md#work-in-flight)), then start rc.65, its owner and
1032
+ executors together. Rolling back to rc.64 with work in flight does the same in reverse.
1033
+ - **Renaming a Processor now runs its nested calls again.** A Processor's name is part of its calls'
1034
+ ids. Renamed, it replays the log from the start, as before (its position is kept by name), and its
1035
+ nested calls now run again for every event it replays; rc.64 answered them from the records left
1036
+ under the event. Keep `/` and `:` out of Processor names and branch keys: they join a caller's
1037
+ parts.
1038
+ - **Existing date pickers:** without `seconds`, `DateRangePicker` draws as in rc.64, and only reads
1039
+ From and To when they're done (Fixed, above). `DatePicker`, `DateTimePicker`, `parsePattern` and
1040
+ `parseDay` are unchanged.
1041
+ - **Computers:** an existing cloud computer gets its home at its next wake. A computer program older
1042
+ than rc.65 neither installs a CLI nor signs one out: Sign in says the CLI is missing, and Sign out
1043
+ fails, until it updates.
1044
+
1045
+ ## 1.0.0-rc.64 — 2026-11-25
1046
+
1047
+ Start a business app with `copilotz init`. Give each declaration a file and write its types once.
1048
+ The compiler assembles the plugin and checks the names the app uses. The web toolkit now covers
1049
+ table exports, printed invoices and barcode labels. The guides ship with the runtime.
1050
+
1051
+ **Breaking:**
1052
+
1053
+ - Code that calls an `ActionDef` or named query's `allow` directly must pass the caller's
1054
+ `AllowContext` and await the result. A query may inherit the rule from its plugin. Existing
1055
+ synchronous rules still work when the runtime calls them.
1056
+
1057
+ **New:**
1058
+
1059
+ - **Plugins from folders.** `copilotz init [dir]` makes a working orders app with a TSX loader,
1060
+ checks and a test. `copilotz gen` builds server, web and terminal entry points and writes
1061
+ `copilotz-env.d.ts`. Action, collection and query names are checked against the plugins in
1062
+ `app.ts`. View names complete in the editor. Use `--watch` during development, `--check` in CI and
1063
+ `--eject` to take over a plugin's assembly.
1064
+ - **Schemas from TypeScript.** Type an Action's second parameter on `run`, or declare a collection
1065
+ with `defineCollection<Order>({ indexes, queries })`. The compiler turns local and imported types
1066
+ into runtime checks. Field comments describe tool inputs, tags such as `@minimum 1` constrain
1067
+ them, and a named collection read knows the document and its string id.
1068
+ - **Shorter Actions.** A plugin's `defaults.allow` covers its Actions and named queries. Each can
1069
+ override it. An async `allow(actor, input, ctx)` can read the caller's permissions before a
1070
+ declared grant (`as`) takes effect. `transaction: true` opens or joins a transaction and rolls
1071
+ back the writes together on failure. An Action with no parameters can omit `input`. An explicit
1072
+ schema types both `run` and `allow`.
1073
+ - **Table files.** `tableSheet` projects the exported columns and totals into a `TableExportSheet`
1074
+ of `ExportCell` values. `exportTableFile` builds the file and `downloadTableFile` saves it in the
1075
+ browser. `TableExportOptions` sets `values` (raw or displayed), the SQL `tableName` and the `csv`
1076
+ dialect (`quote`, `delimiter`, `lineEnding`, `finalNewline`, `header`).
1077
+ - **Table controls.** Give `DataTable` the file settings in `tableExportOptions` and totals by
1078
+ column key in `footerRows`. Supply a `TableExportFormat` through `formats` or share formats
1079
+ through `TableExportFormats`. `exportChoices` orders the available menu entries. `toolbarContent`
1080
+ adds a button or filter. `showSinglePageSize` keeps a lone page size visible on `DataTable` and
1081
+ `Pagination`.
1082
+ - **Printed invoices and labels.** `TablePdfOptions` adds `size`, `titleLines`, `subtitle`,
1083
+ `headerImage` and `columns` with widths and alignment by key or in exported order. `pdfImage`
1084
+ prepares a reusable `PdfImage` from PNG or JPEG. `drawDocumentPdf` places images and vector
1085
+ barcodes on a page. `ProductBarcode`, `barcodeBars` and `barcodePng` draw the symbol selected by
1086
+ `BarcodeOptions.format`. `code39` supports Mod 43 with `check`, `ean8` and `ean13` encode retail
1087
+ symbols, and `eanDigits` completes or verifies the check digit.
1088
+ - **Mail in tests.** `captureEmail()` keeps messages and attachments sent through `email.send`.
1089
+ Inspect `messages` and reset with `clear()`. The capture adapter can also write MIME messages as
1090
+ `.eml` files.
1091
+
1092
+ **Fixed:**
1093
+
1094
+ - Grant checks inside a held transaction see staged membership changes. Database-backed permission
1095
+ rules use the same transaction reader on memory, SQLite and PGlite.
1096
+ - The final record flush attempts each identity's appends in order and reports the first refusal.
1097
+ - Dot-path updates resolve a field's `$ref` in its original schema resource, including embedded
1098
+ collection schemas generated from TypeScript.
1099
+ - JSON records keep sparse cells as `""` and explicit `null` as `null`. Table-shaped JSON with raw
1100
+ values preserves each cell's type.
1101
+ - XLSX exports with `values: "raw"` keep numeric-looking strings as text, preserving their digits.
1102
+ - `tableSheet` accepts inline `DataTable` columns with `align` and `render` and infers the row type.
1103
+ - PDF column widths and alignments follow the visible columns. A minimal-quoted CSV keeps a row with
1104
+ one empty field (`""`). `copilotz/web/export`'s types need no React.
1105
+ - A barcode with no `width` grows to fit its whole modules and quiet margins on screen and in PNG.
1106
+ In `drawDocumentPdf`, an omitted width uses the space from `x` to the page edge. An undersized
1107
+ explicit width grows to the minimum of one unit per module. Printed bars must fit on the page.
1108
+ Their quiet margins may extend past the edge. `documentPdf` and `Drawn` keep their rc.63 page and
1109
+ barcode types.
1110
+
1111
+ **Fixed, here since rc.63 or before:**
1112
+
1113
+ - **Security: a declared grant's reads are checked for the conversation's audience on every path.**
1114
+ An unrecorded Action reading as a grant, called from a named query or a watched query, skipped the
1115
+ check a direct call makes, so a staff grant could read into a conversation shared with a contact.
1116
+ - **A transaction holds its `durable: false` writes until the durable commit,** so a failed write no
1117
+ longer leaves durable data committed behind an error (`ctx.transaction` and `transaction: true`).
1118
+ - **A `ctx.record` append is kept as the identity that made it,** a declared grant included; one the
1119
+ owner refuses at completion fails the Action on the record.
1120
+
1121
+ **Fixed in this release's own work:** an Action input embedding `Infer<typeof schema>` keeps its
1122
+ `$ref`s; `gen` resolves Deno import-map aliases; the `copilotz` command runs on Node 24.0 and 24.1;
1123
+ and the capture mail adapter refuses a public `links` origin unless a test sets
1124
+ `email.capture.allowPublicOrigin: true`.
1125
+
1126
+ **Known issues:**
1127
+
1128
+ - If permission for a nested call changes between attempts, a retried Action can run a later
1129
+ completed nested call again, as in rc.63.
1130
+ - Two Processors that make the same first nested call with the same input for the same event share
1131
+ its record. After a crash, one Processor can receive the result from the other's record, as in
1132
+ rc.63.
1133
+
1134
+ A coming release will fix both issues with nested-call IDs that name their caller.
1135
+
1136
+ **Docs:**
1137
+
1138
+ - The “Find it” index in `AGENTS.md` links each job to an API and a guide. The npm and JSR packages
1139
+ include those pages and a root `llms.txt` with the full reading list. The compiler, toolkit and
1140
+ mail guides cover the new declarations, screens and files.
1141
+
1142
+ **Upgrading:**
1143
+
1144
+ - Existing plugins can keep their hand-written entry points and JSON Schemas. To generate a plugin,
1145
+ give each declaration a default export, move React components into `lib/web/`, and install
1146
+ TypeScript as a dev dependency. Keep `_id` out of document types and use a string tagged
1147
+ `@format date-time` for a JSON timestamp. An explicit `schema` or `input` takes precedence. Commit
1148
+ `copilotz-env.d.ts` and generate the host modules before type-checking.
1149
+ - A `ctx.record` made by an unrecorded Action that a watched query or View calls is now written as
1150
+ the viewer, under the collection's rules, as the call's other writes are (rc.63 wrote it as the
1151
+ system). One the rules refuse isn't kept, and the process logs it. An atomic Action's records now
1152
+ commit or roll back with the transaction it joined.
1153
+ - CSV, TXT and XLS exports write numeric text (`-12.5`, `-1e-7`, `+1`) as it is; rc.63 put an
1154
+ apostrophe before a leading `+` or `-`. Text that looks like a formula (`=SUM(…)`, `@cmd`) is
1155
+ still guarded.
1156
+
1157
+ ## 1.0.0-rc.63 — 2026-11-24
1158
+
1159
+ Chats can be renamed, the models catalog knows GPT-6.2 Astra and Sol, and rc.62's `"moderate"`
1160
+ validation level is gone before anything depends on it.
1161
+
1162
+ **New:**
1163
+
1164
+ - **Renaming a chat** (`chat.rename`): "Rename…" in its header's menu, a chat list's row and the
1165
+ command palette, its title ready to type over. A person who may write in its space renames it, for
1166
+ everyone there; its staff notes take the title too, and an agent that might have named it (a
1167
+ routine's run) no longer does.
1168
+ - **The models catalog, refreshed from models.dev:** GPT-6.2 Astra and GPT-6.2 Sol, with their
1169
+ prices, among others; models.dev's retired ones are gone (none Copilotz names).
1170
+
1171
+ **Breaking:**
1172
+
1173
+ - **`validation: "moderate"` is gone** (added in rc.62). Strict already lets a document older than
1174
+ its schema be updated with what adds nothing wrong to it; what moderate let through besides was an
1175
+ update writing what the schema refuses. Fix such documents with a migration. TypeScript refuses
1176
+ the option; in JavaScript it's ignored, and the collection's updates are checked.
1177
+
1178
+ ## 1.0.0-rc.62 — 2026-11-24
1179
+
1180
+ Apps are written as Copilotz's own plugins are: updates keep to the schema on every store, as
1181
+ MongoDB's do; screens, tools, scripts and REST save to collections, with Actions for business logic;
1182
+ and the docs teach one layout, a folder per primitive.
1183
+
1184
+ **Breaking:**
1185
+
1186
+ - **Updates are checked against the collection's schema** (they weren't: only inserts and replaces
1187
+ were), as MongoDB's `$jsonSchema` validator checks them with `validationLevel: "strict"`. What
1188
+ `$set` gives a field must fit it; a field the schema doesn't allow can't be set, nor a required
1189
+ one unset; `$inc` counts numbers; `$push` and `$addToSet` add items the list takes; and a document
1190
+ that was valid stays valid (an upsert's new one too). From plugin code, REST and the socket alike:
1191
+ what fails changes nothing (`invalid`, naming the field), so the stores agree on what they hold. A
1192
+ document older than its schema may still be updated: strict refuses only what an update adds to
1193
+ what was wrong with it, which every store tells alike.
1194
+ - **An update needs operators.** One with none (`updateOne(filter, { name: "x" })`, or `{}`)
1195
+ replaced the whole document, unchecked; it's refused now, as MongoDB refuses it. Use `$set`, or
1196
+ `replaceOne` to replace. REST's `PATCH` and the socket still read plain fields as `$set`.
1197
+ - **`$push` refuses modifiers it doesn't support** (`$slice`, `$sort`, `$position`), which it
1198
+ ignored.
1199
+
1200
+ **Fixed:**
1201
+
1202
+ - **`$addToSet` with `$each`** adds each item not there yet; it stored `{ $each: […] }` itself.
1203
+ - **An unrecorded Action a query or a View calls acts as someone else (`ctx.as`)** as it does when
1204
+ an Action calls it, read-only. It was quietly left as the reader, and read less than it asked for.
1205
+ **This widens what such reads return:** an Action acting as the system or a grant now reads as
1206
+ that, beyond the reader's reach, as it always did when an Action called it. Copilotz's own
1207
+ `person.email` is one: a View or query that calls it now gets the address.
1208
+
1209
+ **New:**
1210
+
1211
+ - **MongoDB's update operators `$setOnInsert`** (only when an upsert makes the document), **`$min`,
1212
+ `$max` and `$mul`,** on every store, checked against the schema as the others are. They were
1213
+ refused.
1214
+ - **A View's handlers write collections:** `ctx.db.collection(name)` has `insertOne`, `updateOne`
1215
+ (an update document, or the fields to set), `replaceOne` and `deleteOne`, each the viewer's own
1216
+ write, as REST and the socket make it: a rule must speak for the collection's writes, the schema
1217
+ checks it, it's recorded as theirs. In the owner (a terminal) and in a browser alike. A View
1218
+ writes nothing while it renders, nor when it's rendered once. A screen saves a record without an
1219
+ Action that only saves it.
1220
+ - **A schema failure names its field,** in `detail.field` (a dot path; for a missing required field,
1221
+ that field), and the error is about the innermost value that failed. A write from outside (REST,
1222
+ the socket, a View's handler) says it to its caller as a public failure, so a `Form` shows it by
1223
+ its field; REST's error body carries `detail` for a public failure.
1224
+ - **A guard knows which write it's asked about** (`write`: `"insert"`, `"update"`, `"replace"`,
1225
+ `"delete"`), so a rule can let people add and change documents but not delete them.
1226
+ `byCollection({ sale: …, item: … })` makes a plugin's guard of a rule per collection.
1227
+ - **A query says what it answers and what its params are** (`description`, `input`): callers from
1228
+ outside are held to its input, as an Action's are, and `GET /api/` and `describe()` list both.
1229
+ `describe()` lists a collection's `validation` too (the format is the same).
1230
+ - **A chat tool can be an Action, by name**
1231
+ (`tools: { complete_task: { action: "task.complete" }
1232
+ }`): offered with the Action's description
1233
+ and input, called as the agent. Read contexts and Views can `describe()` the app, as Actions do.
1234
+ - **Startup says what looks wrong** (`warn`: the console by default, once a message; `false` for
1235
+ none): a collection whose schema names no fields, and one another plugin's `shared` rule alone
1236
+ opens to outsiders. And, the first time it happens, an outsider let in by another plugin's guard
1237
+ alone, where the collection's own plugin says nothing of who reaches it. An unknown Action,
1238
+ collection or query is refused naming the closest known one.
1239
+ - **`boundaries({ root, plugins })`** (`copilotz/testing`): what breaks an app's plugin boundaries
1240
+ (another plugin's code imported, or a contract of one not required), for an app's test.
1241
+ - **`validation: "moderate"` on a collection**, as MongoDB's `validationLevel`: updates are checked
1242
+ only on documents that were valid, for a collection whose older documents predate its schema.
1243
+ Inserts and replaces are always checked.
1244
+
1245
+ **Docs:**
1246
+
1247
+ - **AGENTS.md and the copilotz skill teach apps as Copilotz's own plugins are made:** a folder per
1248
+ primitive, one declaration per file (`collections/` with each schema, its type and its named
1249
+ queries; `actions/`; `views/web/`; `resources/`; `lib/`), an optional `plugin.ts` for a plugin's
1250
+ single fields, `mod.ts` only assembling them. Plain saves are collection writes (a screen's
1251
+ handler, a tool, a script, REST); Actions are for business logic. The `shared` rules first, then
1252
+ the plugin's `guard`. Types from schemas (`Infer`), a Processor for what follows a commit, Node's
1253
+ TSX loader for `dev`, `start` and tests, and a test that fails on `describe()`'s problems.
1254
+ - **A business app's screens** save customers to the collection, with the schema refusing by field;
1255
+ the reference says how updates are checked, where that differs from MongoDB's `"strict"`, and how
1256
+ a View's handlers write.
1257
+
1258
+ **Upgrading:** check what queries and Views return where they call an unrecorded Action that acts as
1259
+ someone else (`ctx.as()`, `ctx.as(grant(…))`): it reads as that now, so it may return more than the
1260
+ reader reaches. Keep to what the reader may see in what the Action returns.
1261
+
1262
+ An app whose code writes what its schemas don't allow now gets `invalid` where it didn't. Run its
1263
+ tests first. A collection holding documents from before its schema said what it says now: set
1264
+ `validation: "moderate"` on it until they're fixed. PostgreSQL still runs plain `$set`, `$unset` and
1265
+ counters in one statement; an update whose check needs the documents it leaves (a `minimum` after
1266
+ `$inc`, an object a nested `$set` may create) runs in a transaction.
1267
+
1268
+ ## 1.0.0-rc.61 — 2026-11-24
1269
+
1270
+ **Fixed:**
1271
+
1272
+ - **The org's version of one of the app's agents answers every conversation, a contact's too.**
1273
+ Team's agent source read an org's version of an app's agent as the asker, and a contact (a web
1274
+ visitor, a WhatsApp customer) reaches nothing of the org's; and chat composed a turn's prompt as a
1275
+ read for the agent, which reads only what its person does. So the org's changes reached its own
1276
+ people's conversations and never its customers'. Team now reads the org's versions of the app's
1277
+ agents as the system (who may change one is still the rules': `agent.update`), and a turn gives
1278
+ its prompt the agent it found (the `llm.thread` View's `hints.agent`).
1279
+ - **E-mail sign-in says when a message didn't go.** `email.code`, `email.forgot` and `email.sign-up`
1280
+ answered as if a code had gone when the mail service failed, so the page said "sent" and nothing
1281
+ came; and a new code had already replaced the one sent before. Now a message that doesn't go is
1282
+ refused (`unavailable`, which the sign-in page says), and for 5 minutes after, every address is
1283
+ refused alike, with or without an account, so the answer still says nothing of who has one. The
1284
+ code sent before stays good until a new one went.
1285
+ - **A filter naming an operator there's none of is the caller's mistake:** `invalid` (a 400 on
1286
+ `GET /api/collections/<name>?filter=…`), not a 500, on every store.
1287
+ - **Gemini goes on in a conversation another model worked in.** A tool call Gemini didn't make (a
1288
+ step another model took: a turn handed over to Claude, then back) went to it without a thought
1289
+ signature, which Gemini 3 and later refuse (400, "Function call is missing a thought_signature").
1290
+ So once another model had used a tool in a conversation, every later step on Gemini failed at once
1291
+ and went to the next model of its list. Such a call now goes with the signature Google gives for
1292
+ it (`skip_thought_signature_validator`, on a step's first call: `UNSIGNED`, from the Gemini
1293
+ adapter); Gemini's own go back as they came.
1294
+ - **A Gemini model that thinks long isn't taken for a dropped call.** It sent nothing while it
1295
+ thought, so a think past 2 minutes was cut as silence and handed over. A model known to think (the
1296
+ catalog's `reasoning`) now streams summaries of its thoughts as it has them (`includeThoughts`),
1297
+ which keep its stream alive; what it thought isn't its answer.
1298
+
1299
+ **New:**
1300
+
1301
+ - **An agent's instructions are as long as the app lets them be** (team's `instructionsLimit`
1302
+ setting, the `team` resource): 100,000 characters unless it says, up from a fixed 20,000 in
1303
+ `agent.create`, `agent.update`, `propose_agent` and the agent's form.
1304
+ - **An MCP server's instructions can be an Action's** (`instructions: { action }`, given
1305
+ `{ server }`), asked as each session starts (`initialize`, `server/discover`): what an app changes
1306
+ reaches new conversations without a restart. An Action no plugin declares stops the app from
1307
+ starting; one that fails leaves the session without instructions.
1308
+
1309
+ **Breaking, in small ways:**
1310
+
1311
+ - **An MCP server's `instructions` is `string | { action }`** in its settings' type, so code that
1312
+ reads a declared server's instructions as text narrows it first.
1313
+ - **E-mail sign-in's Actions can fail with `unavailable`** (a 503) where they answered as if a
1314
+ message had gone: a front end of an app's own says it, as the sign-in page does.
1315
+
1316
+ ## 1.0.0-rc.60 — 2026-11-21
1317
+
1318
+ An agent is told in its chat when a job it started ends, and takes a turn then: it no longer looks
1319
+ at a long build or test run again and again to see whether it's done.
1320
+
1321
+ **New:**
1322
+
1323
+ - **An agent is told in its chat when a job it started ends** (the computers plugin): as the person
1324
+ it worked for, in their name (`via` the job, as a routine's message is theirs), with how it ended
1325
+ (its exit code, or that someone stopped it), how long it ran, and the end of what it wrote; and it
1326
+ takes a turn then, on their plan, within their reach. So it needn't look at a long build or test
1327
+ run again and again: `start_job` says so, and so does its answer ("You'll be told in this chat
1328
+ when it ends"). One it stops itself (`stop_job`) tells it nothing; `notify: false` starts one that
1329
+ doesn't. Only in a chat, for a person: a model outside (over MCP) and a contact's chat aren't
1330
+ told.
1331
+ - The app waits on the job (`computer.watch`, its watches kept in `jobWatch`): it asks the
1332
+ computer to answer once the job ends (`computer.jobs.wait`, up to 10 minutes, then again), as it
1333
+ asks a computer for everything; a computer still asks the app for nothing. A wait its computer
1334
+ went offline during, or a deploy cut, is taken up again when the computer comes back
1335
+ (`computer.ready`); a job the computer no longer has (it stopped with it) is told as that.
1336
+ - A computer whose program is older than this is asked how the job is each minute instead.
1337
+ - A job stopped by `computer.jobs.stop` says so (`stopped: true`).
1338
+
1339
+ ## 1.0.0-rc.59 — 2026-11-21
1340
+
1341
+ A person's plan answers its agents' steps however long its model thinks, and an agent waiting on
1342
+ another goes on for the same person when that one fails: two reasons plan steps went to an API key.
1343
+
1344
+ **Fixed:**
1345
+
1346
+ - **Work streamed from a plugin's worker isn't cut at 30 seconds.** A job's call to the owner ended
1347
+ 30 seconds after it opened, however much it had streamed (Oxian's default for host calls). So a
1348
+ model's step on a person's plan whose model thought longer than that before its first word (Claude
1349
+ Fable, Opus) was cut, and handed over to the next model of its list, an API key, while the plan's
1350
+ CLI went on with it; and a browser's actions past 30 seconds failed. Work sent on to a worker now
1351
+ lasts up to an hour (`WORK_MS`, the most a request lasts on Cloud Run), on both ends; a storage op
1352
+ keeps its 30 seconds (`OP_MS`).
1353
+ - **An agent waiting on another goes on for the same person when that one fails.** A turn that
1354
+ failed for good answered as the system, so the agent waiting on it went on as the system: on no
1355
+ one's plan (a person's plan runs only for a person, so it went to an API key), past anyone's
1356
+ reach. Its answer is now its agent's, for whom its turn worked, as an answer that came is; a final
1357
+ `processor.failed` carries the failed event's `actor` for that.
1358
+
1359
+ ## 1.0.0-rc.58 — 2026-11-21
1360
+
1361
+ Files go between a chat and a computer both ways, and people put files on a computer from its page.
1362
+ When a model hands over to the next in its list (a person's plan to an API key), the log and the
1363
+ usage say why. A tool call held for a person's plan waits past Claude Code's 5-minute idle limit,
1364
+ and the models catalog is refreshed.
1365
+
1366
+ **New:**
1367
+
1368
+ - **An agent saves a file sent in its chat on a computer** (`save_file`, the computers plugin): a
1369
+ zip to unpack, a spreadsheet to work on, an image to edit, into the space's folder, where commands
1370
+ and the other tools reach it. It's a write like `write_file`'s, asked first where writes are. Each
1371
+ file a message carries now says its id to the agent
1372
+ (`[file data.zip: application/zip, 3214000
1373
+ bytes, id …]`, and `[image …, id …]`,
1374
+ `[file notes.txt, id …]`), which the tool takes; it reads the file as the agent, so the rules
1375
+ decide which it reaches.
1376
+ - **An agent sends a file from a computer into its chat** (`send_file`): a report, a chart, a zip it
1377
+ made, as its own message with the file (`chat.say`), up to a chat file's size (about 10 MB). Run
1378
+ again as itself (a retried turn), it sends nothing more. Chat's contract exports `FILE_DATA`.
1379
+ - **Uploads to a computer** (`PUT /computers/upload?desk=&path=[&replace=1]`, the Files view): a
1380
+ person puts files in a space's folder on a computer, of up to 2 GiB each, streamed through to it
1381
+ as they come and put in place once whole, so a broken upload leaves nothing. Past what one request
1382
+ may carry on its way (Cloud Run's 32 MiB, a CDN's 100 MB), a file goes in parts, in order
1383
+ (`&upload=&offset=&total=`), kept apart on the computer until the last; parts nobody finished go
1384
+ after a day. Only where they may change the computer from its panel (`computer.upload`, on the
1385
+ record: who put what where), a computer that sleeps woken first, and one between connections
1386
+ waited for. A file there is kept unless replaced. The Files view takes files picked or dropped,
1387
+ with each one's progress, and asks before replacing one.
1388
+ - **The computer program says what it serves** (`Info.serves`), and takes a file streamed in
1389
+ (`computer.files.put`). The app asks a computer what it serves before an upload, so one whose
1390
+ program is older answers at once that it needs updating (501, `outdated`).
1391
+
1392
+ - **Why a model handed over, on the record.** A model of a list that doesn't answer and hands over
1393
+ to the next (a person's plan falling back to an API key) is logged by the process
1394
+ (`models: <model> didn't answer after 31.2 s, thinking (<code>: <words>); <next> answers instead
1395
+ [thread=… agent=… turn=…]`),
1396
+ and the model that answers instead says so on its usage (`fallback`, `fallbackWhy` tags). The
1397
+ engine adapter logs a session it starts over. The computer program logs a plan's prompt that
1398
+ failed, and a step the app stopped reading before it ended, with how long it ran (`computer.log`).
1399
+
1400
+ **Fixed:**
1401
+
1402
+ - **A tool call held for a person's plan no longer fails after 5 minutes.** Claude Code aborts a
1403
+ tool that sends nothing for 5 minutes, and a call held for its answer is silent until it comes (a
1404
+ person's yes, the app's next step). The computer program gives Claude Code's idle limit a day, as
1405
+ its whole limit already was (`CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT`, and the server's own `timeout`
1406
+ in its MCP config).
1407
+
1408
+ **Changed:**
1409
+
1410
+ - **The models catalog**, refreshed from models.dev (2026-11-21): Google's Gemini 4 Carbon, Neon and
1411
+ Hydrogen among what's new, with their prices and reasoning.
1412
+ - `computer.work`'s rules for a person working on a computer (in its space, its owner's where they
1413
+ answer for it, a computer that sleeps woken) are `personalDesk`, which uploads share. A desk that
1414
+ isn't there is `not_found` (it was `invalid`).
1415
+
1416
+ ## 1.0.0-rc.57 — 2026-11-20
1417
+
1418
+ Agents can run on the plan of the person they work for: Claude, ChatGPT through Codex, or Google AI
1419
+ through Antigravity, through the plan's CLI on a computer of theirs, signed in once.
1420
+
1421
+ **New:**
1422
+
1423
+ - **Agents on people's own plans** (the computers plugin). Three model providers run a model call on
1424
+ the plan's CLI on the person's own computer instead of an API key: `claude-plan/<model>` (Claude
1425
+ Code), `codex-plan/<model>` (Codex, on a ChatGPT plan) and `gemini-plan/<model>` (Antigravity, on
1426
+ a Google AI plan). An agent names one first and an API model next
1427
+ (`["claude-plan/claude-opus-5-5", "anthropic/claude-opus-5-5"]`): with nobody there (a routine),
1428
+ no plan signed in, the computer off or the plan's limit reached, the list moves on at once. The
1429
+ CLI is only the engine: the agent's instructions replace its own, its built-in tools are off, and
1430
+ the agent's tools reach it as MCP tools from the computer program, running where every tool runs.
1431
+ A tool call ends a step while the CLI waits; the next step answers it and goes on. A session per
1432
+ conversation saves time, and the conversation stays the truth: edited or summarized, a fresh
1433
+ session is given it all. Uses are metered as `paid: "subscription"`, at no cost to the app. See
1434
+ [Agents on people's own plans](docs/guides/agents-on-peoples-plans.md).
1435
+ - **Signing a plan in, once** (`computer.engines`, `computer.engine.login`): a person's computers
1436
+ and the CLIs each has, signed in or not, and the CLI's own sign-in, run there from the app. It
1437
+ stays on the computer, in a home the program keeps for each CLI, apart from the person's own use
1438
+ of it. A plan runs only on its person's own computer, never on one shared where others' agents
1439
+ work as them. Connected accounts shows them beside the ChatGPT plan, through a new
1440
+ `accountSections` resource other plugins can add to.
1441
+ - **The computer program speaks the Agent Client Protocol** to the CLIs (the `computer.agents.*`
1442
+ workloads): Antigravity natively, Claude Code and Codex through its own adapters. No CLI is
1443
+ shipped with it.
1444
+ - **A provider's adapter can ask Actions as whom a call is for** (`connection.call`), beside the
1445
+ `headers` function that already heard it.
1446
+
1447
+ ## 1.0.0-rc.56 — 2026-11-18
1448
+
1449
+ A security fix: `runtime.bytes` no longer serves an outside actor what no rule speaks for. And the
1450
+ docs of the record and bytes.
1451
+
1452
+ **Security:**
1453
+
1454
+ - **`runtime.bytes` reads for an actor only where a rule speaks for them.** With `{ actor }`, it
1455
+ read under the rules, but a collection no rule speaks for has nothing to narrow, so it answered
1456
+ any actor, the anonymous one too: a route of the app's that didn't check who asked served such a
1457
+ collection's files to anyone. Now an actor (anyone but the system) reads only a collection a rule
1458
+ speaks for, and their scope (a key's) lists, as their own reads from outside do; elsewhere, and in
1459
+ `sys.*`, it's refused (`forbidden`). Without an actor, or as a grant, it reads as the system, as
1460
+ before. Chat's `/files/<id>` is unchanged for people and contacts; a key now needs
1461
+ `read: ["file"]` in its scope to fetch a file there. **Upgrading:** a route that passes
1462
+ `{ actor }` for a collection with no rule (`shared` or a `guard`) is now refused: check who asks
1463
+ in the route, then read as the system.
1464
+
1465
+ **Docs:**
1466
+
1467
+ - **Docs: the record and bytes.** AGENTS.md says what the record keeps and how to read it back, what
1468
+ stays out of it (`private`, `record: false`, keys), where large values go (blobs, kept once by
1469
+ hash, never deleted) and how a route serves one with `runtime.bytes`, once it has checked who
1470
+ asks. Stores, the business app's guide (pictures in a list), Build Compass chapter 36 and Events
1471
+ say the rest.
1472
+
1473
+ ## 1.0.0-rc.55 — 2026-11-18
1474
+
1475
+ What an app's first minutes ask of Copilotz: a welcome, a team people can shape, models chosen by
1476
+ budget rather than agent by agent, and keys of a person's own.
1477
+
1478
+ **Breaking, in small ways:**
1479
+
1480
+ - **Tiers are templates; agents hold no model where tiers apply.** Each agent does a kind of work
1481
+ (one of the app's: a tier's keys, titled by the new `tierKinds` resource; or the org's own), and
1482
+ the tier in force gives that kind its model chain. Agents people make do a kind too (`like`), no
1483
+ longer keeping a model of their own. `tiers.pick` and per-agent picks (`modelChoice.custom`) are
1484
+ gone: an org changes a tier's chain for a kind (`tiers.save`), for every agent of that kind. With
1485
+ no tier chosen anywhere, the app's first applies.
1486
+ - **`modelChoice.offered` answers by kind of work**: each tier's `kinds` (in place of `agents`),
1487
+ `kinds` with the app's agents of each, `removed`, and `now` as `{ tier, by }`. `modelChoice.agent`
1488
+ answers an agent's kind, the tier in force and its chain. The page prices a typical **message**
1489
+ where the app measured one (`typicalMessage`), else a reply.
1490
+ - **`agentsNamed` asks `agentSources` first**: a source's answer for one of the app's agents is an
1491
+ org's own version of it, over the app's.
1492
+
1493
+ **Which tier, and an org's own tiers:**
1494
+
1495
+ - **Every conversation runs on a tier**, the first that applies: the conversation's, the person's
1496
+ own default for new chats, the space's, the org's, the plan's (`tiers.choose { thread }`,
1497
+ `{ mine }`, `{ space }`, `{}`). Chat passes the conversation to `agentModel`.
1498
+ - **An org's tiers:** its version of one of the app's (a kind's chain, its name), new ones made from
1499
+ another (`tiers.save`), the app's taken away and put back (`tiers.remove`, `tiers.restore`), kinds
1500
+ of work of its own based on the app's (`tiers.kind`), and a cap on what its members choose
1501
+ (`tiers.cap`). A chain set by hand keeps the `maxTokens` and `effort` of the one it replaces.
1502
+ - **A typical message, measured** (`typicalMessage`: each agent's calls and tokens per message) and
1503
+ **what the plan gives** (`planCredits`, credits' new `billing.credits`): the tiers say what a
1504
+ message comes to, and how far the credits go. A ChatGPT-plan entry is priced at the next that
1505
+ costs something.
1506
+ - **On the web:** the org's Agents page (tier cards with each kind's model and fallbacks, Customize,
1507
+ New tier, the members' cap, and on Free how much faster a heavier tier spends), a tier picker
1508
+ beside the send button (chat's new `composerControls`), a space's default tier, and `tiers.setup`,
1509
+ a short choice for a new org. Every word is the app's (`tiers.<key>`).
1510
+
1511
+ **The org's team** (`@copilotz/team`):
1512
+
1513
+ - **Every org starts with the app's agents; its owners and admins shape them.** Changing one keeps
1514
+ the org's version under its name (`agent.update`); `agent.delete` takes it off the team (it leaves
1515
+ every space, joins no new one), `agent.restore` puts it back, `agent.reset` drops the org's
1516
+ changes. An agent made for the org (`in: "*"`) works in every space and joins new ones. Spaces
1517
+ seat the org's team as they're made.
1518
+ - **Making an agent starts from what it should do:** `agent.sketch` drafts its name, emoji,
1519
+ description, instructions and kind of work in one quick call (the app's `cheap` model), for the
1520
+ person to check; the form asks for a kind of work instead of a model where tiers apply.
1521
+ - **An agent proposes one** (`propose_agent`): its person is asked as chat asks for everything, and
1522
+ it's made only on their yes, where they could have made it themselves.
1523
+
1524
+ **A welcome, and keys of one's own:**
1525
+
1526
+ - **Chat's `welcome`:** steps an app and its front ends add (a View each, with roles and kinds of
1527
+ org), shown once per person per org over home, in a dialog; `/?welcome=1` shows it again
1528
+ (`chat.welcomed`, `welcome.seen`). Credits adds a plan step for a new team org (`billing.setup`),
1529
+ whose payment page comes back to the welcome (`billing.checkout`'s new `back`).
1530
+ - **A person's own API keys** (`modelKey.set { mine }`): any provider a key can be brought for; a
1531
+ model call for them uses theirs, then the org's, then the app's. The Connected accounts page lists
1532
+ them, and says where the org's tiers use each provider's models.
1533
+
1534
+ **Words:**
1535
+
1536
+ - **`sayText`** (`copilotz/web/words`): text the app's data holds, in the app's words where it gives
1537
+ them under `text.` and the English (a tier's description, a kind of work, an agent's description);
1538
+ else as it is. The tiers' and team's pages say them so.
1539
+ - **The tiers' prices follow the page's language** ("2,3¢" in Portuguese).
1540
+
1541
+ ## 1.0.0-rc.54 — 2026-11-17
1542
+
1543
+ What a business app's screens still asked of the toolkit and of e-mail, and the docs that show a
1544
+ coding agent how to build them.
1545
+
1546
+ **Changed:**
1547
+
1548
+ - **`Field`'s `controlWidth` is a share of the whole row** (label and control), as a grid column is,
1549
+ no longer of the control's column: `labelWidth="33.33%"` with `controlWidth="66.67%"` fills the
1550
+ row. Its token `field-row-control-width` is `1fr` by default.
1551
+ - **A `Page`'s header doesn't print**, as the toolkit's bars don't; `printHeader` keeps it.
1552
+
1553
+ **Dates:**
1554
+
1555
+ - **`DateRangePicker`** has typed From and To fields over its months, in the field's `format`: a
1556
+ date moves the range and the months, anything else is marked and changes nothing. A long range
1557
+ opens on its start's months. `time` gives each end a time of day. Apply and Cancel stay in view
1558
+ when the panel scrolls.
1559
+ - **`DateTimePicker`** and the day-time helpers take `YYYY-MM-DD HH:mm:ss`: a value's seconds are
1560
+ kept until its time is changed (a form saving a record's date unchanged dropped them), and
1561
+ `seconds` shows them in a field of their own.
1562
+ - **A popover with no room over or under its field** (a range's panel low in a short window) goes on
1563
+ the roomier side, as tall as that room, and scrolls inside: it no longer runs past the window's
1564
+ foot, so the range's Apply and Cancel stay in view.
1565
+ - **New exports:** `TimeFields` (a time of day's fields alone, the pickers' own; its value a
1566
+ `Clock`, `{ hour, minute, second? }`), `parseDay` (a day read back in a picker's `format`),
1567
+ `parsePattern` (a day read back by a pattern) and `partsOfDayTime`.
1568
+
1569
+ **Tables and fields:**
1570
+
1571
+ - **Fields in `DataTable` cells** fill their column and shrink with it, `Select` and the pickers
1572
+ without their minimum width there; `layout="fixed"` keeps columns at their `width`s.
1573
+ - **`detailOpen`** opens a table's detail rows: all of them (`true`, with no button) or those a
1574
+ function picks.
1575
+ - **A wide table no longer widens the page**: its screen-reader header words stay inside its scroll.
1576
+ - **`Select`, `Picker` and `MultiPicker` take `addon` and `addonEnd`**, as `Input` does.
1577
+ - **`FileInput`** takes its own words (`chooseLabel`, `changeLabel`, `removeLabel`) and a file
1578
+ already stored (`current`, removed by `onRemove`).
1579
+ - **`FileInput` wraps in a narrow column** (a phone, a table's cell): the name takes a line of its
1580
+ own, cut short, and its buttons' words wrap, so Remove no longer runs past the field.
1581
+ - **`RowsEditor`**: `add={false}` leaves out its add buttons; `removeIcon` and `removeLabel` set the
1582
+ remove button.
1583
+ - **`Avatar`** shows a picture picked but not yet sent (`blob:`, image `data:`), and
1584
+ `initial={false}` draws an empty box.
1585
+
1586
+ **Layout:**
1587
+
1588
+ - **`hidden` hides any toolkit piece**: a `Stack`'s or `Grid`'s own display no longer wins over it.
1589
+ - **`Screen`**: a frame that fills the window, centring what it holds and keeping a `footer` at the
1590
+ window's foot: a sign-in's card, a route's own page.
1591
+ - **`Page` `align="center"`** centres the title and description; **`Toolbar` `grow`** takes the room
1592
+ left (a search field).
1593
+ - **Icons:** `cart`, `gift`, `credit-card`, `piggy-bank`, `tags`.
1594
+
1595
+ **E-mail:**
1596
+
1597
+ - **The `sendmail` adapter** hands a message to a sendmail program (Postfix's, Exim's, msmtp's):
1598
+ `adapter: "sendmail"`, `sendmail: { path, args, timeout }`. It runs the program with arguments,
1599
+ never a shell, recipients after `--`. The e-mail plugin exports its MIME writer (`mime`) for an
1600
+ app's own adapter, and the writer refuses a line break in a header.
1601
+ - **Inline images:** an attachment with an `id` is inline, and the HTML shows it as `cid:<id>` (a
1602
+ receipt's logo, without a data address counting against the HTML's 500,000 characters). SMTP,
1603
+ sendmail and Resend send them.
1604
+
1605
+ **Docs:**
1606
+
1607
+ - **AGENTS.md has a business app's web front end:** the files (`plugins/<name>/web/`, one View per
1608
+ file, `web.tsx` only naming them), the names (`screen:`, `dialog:`, `panel:`), an app's own frame
1609
+ (`web.shell`), Views that read with `ctx.db` and handlers that call Actions, `ctx.show` in a
1610
+ View's body, where a form's errors come from, the toolkit first with no CSS, its pieces by job,
1611
+ short recipes, and the common mistakes.
1612
+ - **[A business app's screens](docs/guides/a-business-apps-screens.md)**, a new guide: the recipes
1613
+ in full, as files that compile: an app's frame and home of tiles, a list with search, filters,
1614
+ paging and exports, a form in a dialog, a View inside a View, dates, sign-in, a printed document,
1615
+ keyboard shortcuts, files and pictures.
1616
+ - **[The web toolkit](docs/guides/the-web-toolkit.md)** for rc.54: `Screen` for a sign-in or a
1617
+ route's own page; `Field`'s widths as shares of the whole row, and how to convert one from rc.53;
1618
+ the range's typed From and To, and why a typed range wants a pattern `format` (a function can't be
1619
+ read back); ends with times, a preset's `00:00` to `23:59`; seconds in day-times; `TimeFields` and
1620
+ the day-time helpers.
1621
+
1622
+ ## 1.0.0-rc.53 — 2026-11-16
1623
+
1624
+ **A page on `*.localhost` connects.** A page served on a `*.localhost` host (`shop.localhost`) now
1625
+ connects: Oxian 0.23.7 lets its socket use `ws://` to any `*.localhost` host, which browsers keep on
1626
+ the machine (RFC 6761). Before, such a page loaded and stayed blank. rc.50 already let `devSignIn`
1627
+ answer there.
1628
+
1629
+ ## 1.0.0-rc.52 — 2026-11-16
1630
+
1631
+ The web toolkit becomes a whole app's: what rebuilding a point of sale on Copilotz asked of it, in
1632
+ Copilotz's own look. A screen is made of the toolkit's pieces and writes no CSS. Its look is the
1633
+ app's theme, down to each piece's sizes. [The web toolkit](docs/guides/the-web-toolkit.md) is the
1634
+ new guide to all of it.
1635
+
1636
+ **Breaking, in small ways:**
1637
+
1638
+ - **`Card`'s `title` is its heading** (a node), no longer the HTML attribute. No caller passed one.
1639
+ - **The popover's width variable is `--popover-width`**, a token like any other (it was
1640
+ `--copilotz-popover-width`).
1641
+ - **A small `Select` is 36px tall**, as a small `Input` is, so fields side by side line up (it was
1642
+ 34px).
1643
+ - **`ctx.show` after a View returned throws**, saying to show the View in the View's body or with
1644
+ `LazyView`. A component that rendered later and called it got a part that never loaded.
1645
+ - **An `Input` with an addon** puts its `className` on the group.
1646
+
1647
+ **A look from the theme alone:**
1648
+
1649
+ - **`theme.tokens`**: tokens the same on light and dark screens (sizes, paddings, radii, weights),
1650
+ merged token by token as `light` and `dark` are.
1651
+ - **Every piece's look is tokens**: its sizes, paddings, radii, fonts and own colours
1652
+ (`button-height`, `table-stripe`, `dialog-head-background`…), each with Copilotz's value as its
1653
+ default. The guide lists all 546, and a test keeps the list whole. `className` stays as an escape
1654
+ hatch.
1655
+ - **The toolkit's styles stay over the page's base** wherever React puts them in the page (a page
1656
+ served without the web host had its buttons' text in the base's colour).
1657
+
1658
+ **Laying a screen out:** `Stack` (with `Spacer` and `Divider`), `Grid` and `GridItem`, `Toolbar`,
1659
+ `Split` (a main column beside an aside that stays in view: a register's cart and its summary),
1660
+ `ListGroup`, `Text` and `Heading`, on one spacing scale (`space-xs` to `space-2xl`). `Card` takes a
1661
+ heading: `title`, `icon`, `action`. Grids and splits stack by their own width, not the window's.
1662
+
1663
+ **Forms:**
1664
+
1665
+ - **`Button`**: `success`, `info` and `warning` variants, an `xs` size, and `block`.
1666
+ - **`Input`**: `addon` and `addonEnd`, segments joined outside the box (words, an icon, a button, a
1667
+ switch).
1668
+ - **`Field`**: `required`, a control as its child with `htmlFor`, and `layout="row"`, the label in a
1669
+ column beside its control, aligned on its text.
1670
+ - **New**: `Radio`; `Switch`, with words on and off if wanted; `TagsInput`; `Picker` and
1671
+ `MultiPicker`, a choice the app draws, with `search` for a long list; `FileInput`, the browser's
1672
+ file field drawn as the toolkit's, files dropped on it too; `RowsEditor`, a list of records edited
1673
+ as one form, a row of fields each.
1674
+ - **`Form` with parts**: each part joins its save with `useFormSubmit`, another plugin's View shown
1675
+ inside it too, handing values up or stopping the save with its reason.
1676
+ - **`Dialog`**: `placement="top"`, and `focus="dialog"` not to focus its first field.
1677
+ - `className` on `Menu` and `Autocomplete`, `justified` tabs, and tooltips at the `start` side.
1678
+
1679
+ **Tables:** `DataTable` lists rows with a toolbar (the screen's actions, a search box that folds
1680
+ case and accents, a column chooser, an export menu), headers that sort, rows to tick, details under
1681
+ a row, and pages. It pages rows it's given, or shows a page its View asked for, with the state kept
1682
+ in the address (`tableAddress(where, 25)`, `tableState`, `tableQuery`). `Pagination` stands on its
1683
+ own. Its files: CSV (with a BOM, and guarded against formulas), a real `.xlsx`, PDF, JSON, XML, TXT,
1684
+ SQL and the HTML `.xls`, with no dependency; `exportFile` makes them on a server too.
1685
+
1686
+ **Dates:** `DateRangePicker` (presets beside two months), `DatePicker` and `Calendar`, a keyboard
1687
+ grid. Days are `YYYY-MM-DD` in the app's time zone (`todayIn`), in the app's format (a pattern or a
1688
+ function), with month and weekday names in the page's language. `rangePresets` builds the presets by
1689
+ key, a fiscal year's included. `DateTimePicker` picks a day and a time of it. `LiveClock` shows the
1690
+ time now in a format and a time zone.
1691
+
1692
+ **An app's own bars:** `AppBar` (the brand, the places with their icons, the current one marked),
1693
+ `TopBar` (a thin strip: a clock, the company, the person), and `TileGrid`, a home page's places.
1694
+ **`toast()`** says a few seconds' word over the page from anywhere; the shell shows them, and an app
1695
+ without it renders `<Toasts />`.
1696
+
1697
+ **Icons:** every piece that takes an icon takes an app's own too: `<Icon drawing={…} />` (its paths,
1698
+ `rule: "evenodd"` for glyphs drawn that way) or `<Icon src="…" />`.
1699
+
1700
+ **Shortcuts and printing:** `useShortcuts` binds keys to a screen's commands, waiting while a dialog
1701
+ is open or someone types; `shortcutLabel` says them. A printed page leaves out the shell's frame and
1702
+ what only works on a screen (bars, toolbars, toasts, buttons); `NoPrint` and `PrintOnly` mark an
1703
+ app's own parts.
1704
+
1705
+ **Documents:** `documentPdf` draws a document as a PDF (text, lines, rectangles, barcodes; A4,
1706
+ letter, or a receipt's width) on a server too, and `Barcode` draws Code 128.
1707
+ **`copilotz/web/export`** has the toolkit's files without React: the tables' formats, `documentPdf`,
1708
+ and Code 128's bars.
1709
+
1710
+ **A route's own page:** `routePage(runtime, { title, body })`, from `copilotz/web/server`, answers a
1711
+ page made with the toolkit, in the app's theme and words: an import screen before anyone signs in, a
1712
+ password reset.
1713
+
1714
+ **Words:** the new pieces' words are the app's to change (`toolkit.*`), and Brazilian Portuguese
1715
+ says them all.
1716
+
1717
+ ## 1.0.0-rc.51 — 2026-11-16
1718
+
1719
+ **Phones.**
1720
+
1721
+ - **A voice message records on an iPhone.** The live waveform's bars are scaled to their level, not
1722
+ animated. Safari on iOS kept memory for every transition the bars started, many times a second,
1723
+ until iOS closed the page, within a minute of recording, and the recording with it.
1724
+ - **On a touch screen, Enter starts a new line in chat's composer**, as the keyboard's return key
1725
+ says, and the Send button sends (so does Enter with ⌘ or Ctrl, from a keyboard attached to it). On
1726
+ a computer, Enter still sends, and the hint about the keys shows only there.
1727
+
1728
+ ## 1.0.0-rc.50 — 2026-11-15
1729
+
1730
+ What rebuilding real systems on rc.49 asked of Copilotz: a retail point of sale (Open Source Point
1731
+ of Sale 3.3.9) and two client systems. Each gap was checked against the code first. What already
1732
+ existed is now documented where people look; what didn't is here.
1733
+
1734
+ **Breaking, in small ways:**
1735
+
1736
+ - **REST answers an app's own failure with a 4xx, not a 500.** `failure(code, message)` with a code
1737
+ of the app's (`linha_lotada`) answers its code's status, or 422, with its code, and its words as
1738
+ the caller may be told them. `failure(code, message, { status })` picks the status (400 to 599).
1739
+ Errors with no code, and the runtime's own faults, stay a silent 500. Plugin routes keep a 500, so
1740
+ webhook providers still retry.
1741
+ - **`TransactionScope` has `call`, and `Context` has `describe()`.** Only code that builds a fake
1742
+ scope or context in its tests has to add them.
1743
+ - **What the public reads, everyone reads.** A space with the public as a viewer is read, read-only,
1744
+ by people, contacts, agents and keys that aren't its members (they used to see less than someone
1745
+ signed out). It isn't listed among their spaces.
1746
+ - **WhatsApp: what people say to a customer reaches their phone** (see below). A message said to a
1747
+ whole WhatsApp chat (`to: []`) by a person now goes to the phone. In a chat the desk took over,
1748
+ `chat.say` without `to` goes to the last person who wrote there, so app code says
1749
+ `to: ["contact:<id>"]`.
1750
+ - `ConversationView.view` is optional (an entry can be a `beforeSend` alone).
1751
+
1752
+ **Another plugin's work in the same commit.** An Action declared `atomic: true` (it only reads,
1753
+ writes, emits and schedules) can be called inside another plugin's transaction:
1754
+ `tx.call(action,
1755
+ input)`. Its reads see the transaction's writes; its writes, events and timers
1756
+ commit with it, or not at all; its own `ctx.transaction` joins; it may call only other atomic
1757
+ Actions; a stream, a fetch or a worker inside it throws. A recorded one's `action.started` and
1758
+ `action.completed` commit with the writes, so a retry after a rollback runs it again and a retry
1759
+ after a commit answers from the record. Each op is on record as its own Action's, with its own
1760
+ actor. A sale, its payments, its stock, a gift card's debit and reward points are one commit now.
1761
+ When an effect may come later, the outbox stays the pattern: emit in the transaction, and an
1762
+ idempotent Processor reacts (docs/architecture/the-owner.md).
1763
+
1764
+ **A transaction waits for a slow op.** The 5 seconds after which a held transaction rolls back now
1765
+ count only while it waits on its own code: an op slower than 5 seconds, or one waiting for the
1766
+ store's writer behind another transaction, no longer closes its own transaction ("The transaction is
1767
+ closed.").
1768
+
1769
+ **Code can see what the app declares:** `ctx.describe()`, the same as `runtime.describe()`
1770
+ (collections and their schemas, Actions, Views, resources). An optional call to another plugin's
1771
+ Action asks `ctx.describe().actions[name]` first.
1772
+
1773
+ **Text search in filters: `$regex`.** `{ name: { $regex: "joão", $options: "i" } }` works in every
1774
+ filter (reads, counts, `$match`, updates and deletes, rules, Processors' `where`, REST and the
1775
+ browser's reads) and on every store alike. It's the part of JavaScript's patterns every store reads
1776
+ the same way (classes, groups, `|`, `^` and `$`, quantifiers up to 255; `i` folds case as JavaScript
1777
+ does, so `joão` matches `JOÃO`; `s`), matched in linear time, so a caller's pattern can't stall the
1778
+ app; backreferences, lookarounds and `\b` are refused as `invalid`. Escape typed text with
1779
+ `RegExp.escape`. Accents aren't folded: search a folded copy of the field (stores/README.md).
1780
+
1781
+ **Chat and history read by indexes.** A thread's messages, its summaries, a space's recent chats,
1782
+ the questions waiting on someone and an agent's replies elsewhere are read by indexes declared on
1783
+ `message`, `thread`, `file` and `summary`: about 10 to 40 times faster at 30,000 messages. SQL
1784
+ stores now look an `_id` up by its key wherever a filter has it (inside `$and` and `$or`, as a
1785
+ person's reads come), and PostgreSQL's updates and deletes use declared indexes as reads do. A
1786
+ database made before builds the new indexes when it starts (on PostgreSQL, writes wait for them).
1787
+ `message.questions` takes `threads`, and finds questions older than the latest 20 too.
1788
+
1789
+ **Sign-in by username and password.** `passwordSignIn` (from `copilotz/plugins/access`), for staff
1790
+ and back-office apps whose accounts an admin or an import makes: `password.set`, `password.import`
1791
+ and `password.remove` (trusted code's), `password.sign-in` and `password.change`, routes under
1792
+ `/signin/password`. An identifier is a username, a badge number or a CPF: read without spaces or
1793
+ case, and without what `ignore` lists (`".-/"`). It shares email sign-in's hashing, limits and
1794
+ sessions, and the sign-in page offers it.
1795
+
1796
+ - **bcrypt hashes move in.** `$2a$`, `$2b$` and `$2y$` hashes (costs 4 to 15) verify through
1797
+ `email.import` and `password.import`, and are hashed again Copilotz's way at the first sign-in.
1798
+ Blowfish is in TypeScript, checked against published vectors; no new dependency.
1799
+ - **Sign-in by a code.** `emailSignIn.signInByCode`: "Email me a code instead" signs in with a
1800
+ 6-digit code (`email.code`, `email.enter`), and confirms the address.
1801
+ - **Per brand.** `emailSignIn.hosts` says, by the host the page was served on, the app's name, its
1802
+ sender, its messages' words and where its links go; `email.invite` takes the host.
1803
+
1804
+ **Email over SMTP.** The `email` resource's `adapter: "smtp"`
1805
+ (`smtp: { host, port, secure,
1806
+ starttls, user, password }`) sends over TLS from the start or by
1807
+ STARTTLS, on Node, Deno and Bun (not workerd). `email.send` takes `from` (the resource's, or one its
1808
+ `senders` allow), `replyTo` and `attachments` (`{ filename, contentType, content }`, base64, up to
1809
+ 10 and 10 MiB), through Resend too.
1810
+
1811
+ **Memberships until a time.** `member.set` takes `until`: reach ignores the membership after it, and
1812
+ a timer removes it then. Trusted code may seat a person directly with `member.set`.
1813
+
1814
+ **Secrets, documented.** A collection's `private` fields never reach the log or an actor's reads:
1815
+ that's where a secret goes. Settings kept as keys and values keep their secrets in a collection of
1816
+ their own, with `private: ["value"]`.
1817
+
1818
+ **The web.**
1819
+
1820
+ - **The sidebar folds to a rail.** The button at its top, ⌘B (Ctrl+B elsewhere) or "Collapse
1821
+ sidebar" in the palette folds it to a rail of icons, and back; the browser keeps it as each person
1822
+ left it, and phones keep the drawer. A `sidebar` entry may name a `rail` View; chat, spaces and
1823
+ invitations have one, and the org switcher sits on the rail (`OrgsSlot.rail`; the directory's
1824
+ `orgs.rail`). The `shell` resource (`{ sidebar: "rail" }`) starts it folded. The toolkit has
1825
+ `RailItem`, `side: "end"` on tooltips and popovers, and `shortcut` on `IconButton`.
1826
+ - **Brazilian Portuguese out of the box.** `ptBR`, from `copilotz/web/pt-br`, first among the page's
1827
+ plugins, says every word of the front ends and of the sign-in page in Portuguese, Copilotz's pitch
1828
+ too. An app's own words after it have the last word.
1829
+ - **An app puts words in the composer, and acts before it sends.** `handDraft(thread, text)`, from
1830
+ chat's contract. A `conversation` entry's `beforeSend(sending, call)` runs before the box sends
1831
+ anything: `false` holds the message, and a throw shows its words over the box.
1832
+ - **The first load after a restart no longer leaves the page blank.** A page whose ticket the server
1833
+ refuses before it's in asks for a new one (3 in all).
1834
+ - **Phones.** A link followed from the sidebar's drawer closes it at once, and a page on its way
1835
+ shows a thin bar at the top while it loads (the one before stays until it's ready). The shell, its
1836
+ drawers and the command palette keep clear of the screen's safe areas (status bar, notch, home
1837
+ indicator), so an installed web app no longer draws its header under the status bar.
1838
+ - `*.localhost` names are this machine's (RFC 6761): a page on `http://acme.localhost:8100` is no
1839
+ longer refused as another site, and dev sign-in answers there.
1840
+
1841
+ **WhatsApp.**
1842
+
1843
+ - **What people say to a customer reaches their phone.** Someone at the desk taking a chat over
1844
+ (`chat.send` with `to: ["contact:<id>"]`, or to the whole chat), the app's `chat.say`, and a
1845
+ teammate writing to a linked person are sent, with their files, once. What's private, or said to
1846
+ an agent alone, stays in the app. A customer quoting such a message answers its sender.
1847
+ - **Templates, for after Meta's 24 hours.** Declare them
1848
+ (`whatsappTemplates: { reminder: { name,
1849
+ language, body } }`) and send one with
1850
+ `whatsapp.template` (people, agents for them, keys, app code). The plugin knows when each phone
1851
+ last wrote: a message past the 24 hours goes as the number's `fallback` template (`{name}`,
1852
+ `{text}`), or fails once as `window_closed` before Meta is asked. Meta's own refusal for it
1853
+ (131047) gets the same fallback.
1854
+
1855
+ **Documented, not built:** a View's handler asks a query through an unrecorded Action; a report's
1856
+ queries hang on a collection of its own; starting a runtime over is closing it and creating another.
1857
+
1858
+ ## 1.0.0-rc.49 — 2026-11-13
1859
+
1860
+ **Breaking: hosted computers and apps are Compass's, not Copilotz's.** `cloud`, `cloudPool`,
1861
+ `remotePool`, `apps`, `cloudWeb`, `appsWeb` and their hosts (`gceHost`, `localHost` and
1862
+ `createLocalHost`, `cloudRun`, `cloudRunHost`, `localApps`) are no longer in
1863
+ `copilotz/plugins/compute` or `/web`, nor their contracts in `/contract`: a hosting model (Google
1864
+ Cloud's, `*.copilotz.app`) and its prices are one product's (see design/plugins.md). Compass keeps
1865
+ them, with the same names, so its data and routes don't change.
1866
+
1867
+ Computers people connect stay, as standard plugins, with the computer program and its downloads
1868
+ (`computers`, `computersWeb`, `computersTerminal`, `computerDownloads`), and so do connected
1869
+ accounts (`accounts`, `accountsWeb`); their reference pages are now published.
1870
+
1871
+ - **The program's pool mode** (`computer pool`, what a hosted computer's VM runs) is part of
1872
+ computers' contract: `POOL`, `POOL_KIND`, `PoolAssign` and `PoolRelease`, from
1873
+ `copilotz/plugins/compute/contract` (they were cloud's). Its code is a new entry point,
1874
+ `copilotz/plugins/compute/program` (`startPool`), for an app's local VMs and tests.
1875
+ - **Google's tokens** stay: `googleToken`, and now `verifyIdentityToken` (who a Compute Engine VM
1876
+ is), from `copilotz/plugins/compute`.
1877
+ - Computers' contract also has `TerminalResult` (what a `terminal` call answers), and
1878
+ `copilotz/testing` has Oxian's `createWorker`, so an app's tests fake a computer on the same Oxian
1879
+ as its runtime.
1880
+ - `scripts/cloud/` (setting up Google Cloud for cloud computers) went with them.
1881
+
1882
+ ## 1.0.0-rc.48 — 2026-11-13
1883
+
1884
+ - **Oxian 0.23.6:** each end of a worker connection keeps about 70 bytes per finished stream instead
1885
+ of about 170, for the connection's life (its handoff, at about 49,000 streams). A public MCP app,
1886
+ whose Hypervisor and worker share a process, keeps about 0.2 MiB less heap per 1,000 calls.
1887
+ - `copilotz/testing`'s `host()` on Deno loaded Oxian 0.23.4's adapter beside the runtime's own
1888
+ Oxian; it now names the same version.
1889
+
1890
+ ## 1.0.0-rc.47 — 2026-11-13
1891
+
1892
+ (rc.46 was tagged but never published: a file wasn't formatted, and a test read Windows line endings
1893
+ as part of the text. This is it.)
1894
+
1895
+ **Breaking: what an agent may say is bounded by who will see it.** The old labels (marks on answers,
1896
+ hidden until shared) are gone, along with the `share` Action, `needs_share`, message `sources`, the
1897
+ "Uses … Not everyone here can see it." notice and `/share`. In their place:
1898
+
1899
+ - **The bound.** An agent's work reads only what both its asker and its destination reach: a space
1900
+ and what it draws on; a customer's chat, what that customer reaches; its person's own Personal
1901
+ space, all they reach. Its answer there shows nobody what they couldn't see, so nothing is ever
1902
+ hidden once written. The turn's agent carries its conversation (`thread`), and so does a tool
1903
+ acting as its agent's person.
1904
+ - **Going wider asks first.** Writing anywhere whose readers don't all reach that bound (a Personal
1905
+ space's agent posting in Launch, a team's agent writing into a customer's chat, handing work to
1906
+ another space) is refused with `needs_approval` (`to`, `named`), and the turn asks its person:
1907
+ "May I post this to Launch? Its 12 members will see it.", yes this once, for this conversation,
1908
+ for the routine that set it going, or no; never always. On a yes it runs again. Don't catch
1909
+ `needs_approval` in a tool: let it through.
1910
+ - **One ask for every plugin, in chat** (`approval`, `grant`, `chat.approve`, `chat.forgetGrant`):
1911
+ each ask says which answers it takes. Computers use it (`computer.approve` and
1912
+ `computer.forgetGrant` are gone); their stored asks and yeses move over on the first start
1913
+ (`computer.upgradeAsks`).
1914
+ - **Answers handed back** from another space ask "Post here" / "Send it to me only" where that
1915
+ space's people don't all reach what the work drew on; from a Personal space they never ask. Work
1916
+ handed over from inside a customer's chat is refused: staff use its notes.
1917
+ - **In front of a customer,** trusted code going beyond its caller runs only in an Action a contact
1918
+ may call, or the app's own (no `allow`), recorded or not. A tool that goes past its caller,
1919
+ offered to a contact or the public, is a declassifier: scope it to them (AGENTS.md).
1920
+ - **A space drawing on another may let its contacts read it:** `member.set` with `contacts: "read"`
1921
+ (read only, one level), for a catalog or policies a line's customers may see.
1922
+ - **Staff notes** beside a customer's chat (`<chat>:notes`, `chat.notes`): the team works with its
1923
+ agents there, with the space's reach; the customer never sees it; a reply goes over as the
1924
+ person's own message.
1925
+ - **Moving a conversation names what it shows:** "Everyone in Launch (12) will see this whole
1926
+ conversation. It drew on Squad 1 and Finance." (`thread.moving`), from what its agents' messages
1927
+ record they drew on (`drew`: a record, never a gate, and only spaces their readers reach).
1928
+ - **The public:** `{ kind: "public" }` (`publicCallers`) reads only the spaces that have it as a
1929
+ viewer, and writes nothing; a call with no actor is still no one.
1930
+ - **Migration, by itself on the first start:** `chat.unmark` moves what the old marks kept hidden:
1931
+ in a Personal space they become `drew`; in a customer's chat, the message moves to its staff
1932
+ notes; elsewhere, to the Personal space of whom it answered, leaving a placeholder. One log line
1933
+ of counts. `deno task unmark --dry-run` rehearses it against a database, writing nothing. Until it
1934
+ has run, a contact reads nothing that still carries the old marks.
1935
+ - **What code writes is kept as what happened, and said in the reader's words.** A line where a
1936
+ reply went (the migration's placeholders; an answer handed back that went to its asker alone, or
1937
+ stayed) is a message's `held` (`{ for: <person> }`, or `{}`), with no text. Staff notes and what
1938
+ was held from a chat keep that chat's title as it is, `about` and `held: { from }` saying what
1939
+ they are. A share's or a hand-back's ask keeps where and to how many, not a sentence. Views say
1940
+ them in chat's words (`chat.heldMoved`, `chat.notesOf`, `chat.heldFrom`, `chat.askPost`…), English
1941
+ by default, names as they are when read; the asks' cards, the sidebar's waiting list and the
1942
+ terminal's notice take every word from there. Agents are told them in English.
1943
+ - **Runtime:** a declared schedule may run `once` (on the first start with it); a failure's `detail`
1944
+ reaches its caller; operators call `isMaintenance` Actions at
1945
+ `POST /maintenance/actions/<action>`.
1946
+ - **Less memory for the same app.** The docs app's shape (an MCP server with 3 tools, on the memory
1947
+ store), started, after a full GC: Deno 2.9 106 → 90 MiB RSS and Node 24 134 → 103 MiB, with 7 MiB
1948
+ less heap, when it imports each plugin from its own entry point.
1949
+ [Memory](docs/operations/memory.md), a new page, says how to run an app in a container of 512 MiB
1950
+ or less, with what each setting saves:
1951
+ - **The model catalog loads the first time a model is resolved,** not with the models plugin. An
1952
+ app that never calls a model saves about 5 MiB of heap; one that does sees no change.
1953
+ - **SQLite keeps a 2 MiB page cache per connection and maps nothing into memory,** where it kept
1954
+ 64 MiB and mapped up to 256 MiB: 15 to 40 MiB less at its peak over 1,000 calls.
1955
+ `cacheKiB: 65_536, mmapMiB: 256` gives the old sizes back.
1956
+ - **Copilotz needs Deno 2.9 or later.** On an older Deno, the SQLite store says so when it opens,
1957
+ instead of failing at its first read ("column index out of range").
1958
+ - **The read cache's size** is `createRuntime({ cache: { documents, queries } })` (10,000 and
1959
+ 1,000 by default); 1,000 and 100 kept 3.5 MiB less heap over 1,000 calls.
1960
+ - **V8's young generation, capped** (`--max-semi-space-size=2` on Node,
1961
+ `--v8-flags=--max-semi-space-size=2` on Deno), took 55 to 110 MiB off the peak over 1,000 calls.
1962
+ - The suite holds the docs app's shape to a memory budget on Deno and Node
1963
+ (`bench/memory/budget.test.ts`).
1964
+ - **A public MCP server keeps nothing** (`public: true` on `resources.mcp.<name>`, for a docs
1965
+ site's): each call runs its tool as the public, with no contact, chat, step, receipt or event. It
1966
+ lists only the tools that only read (`annotations.readOnly`), with no `chat` handle, and reads
1967
+ what the spaces that have the public as a viewer hold. Calls are limited at once, a minute by
1968
+ address (as the `caller` front says it, else the socket) and on the whole server (`ipPerMinute`,
1969
+ `linePerMinute`), in memory of a fixed size, and stopped past `timeout`. The docs app's shape,
1970
+ 1,000 calls without a handle: from 5 documents and 17 events a call to none, from 31.7 KB of heap
1971
+ kept a call to 1.5, and a peak of 261 MiB to 119, on Node 24 (on Deno 2.9: 25.7 KB to 1.0, 195 MiB
1972
+ to 113). A tool offered there that goes past the public's reach is a declassifier (see the `mcp`
1973
+ reference).
1974
+ - **New entry points, one per plugin:** `copilotz/plugins/agents/<name>` (`chat`, `history`,
1975
+ `memory`, `skills`, `routines`, `openapi`, `webtools`), `copilotz/plugins/access/<name>`
1976
+ (`spaces`, `identity`, `contacts`, `google`, `email`, `dev`, `accounts`) and
1977
+ `copilotz/plugins/interfaces/<name>` (`mcp`, `api`, `whatsapp`, `voice`), on npm and JSR. Each
1978
+ loads its plugin alone; the themes' entry points stay as they were.
1979
+
1980
+ **The Copilotz agent plugin.** Coding agents can install a `copilotz` skill (`skills/copilotz/`:
1981
+ setup, the offline test loop with the scripted model, the rules, the audience rule included) with
1982
+ `npx skills add copilotzhq/copilotz`, or as a plugin: Claude Code (`.claude-plugin/`), Agent Plugins
1983
+ (`plugin.json`, read by Codex, Cursor and Copilot CLI) and Gemini CLI (`gemini-extension.json`). The
1984
+ docs over MCP come in a later change, once they're live: no manifest wires a server before then.
1985
+ `testing/skill.test.ts` checks the skill's imports, docs slugs, links and commands, and that the
1986
+ manifests agree; the release script now sets their versions too.
1987
+
1988
+ ## 1.0.0-rc.45 — 2026-11-12
1989
+
1990
+ - **AGENTS.md, a guide for coding agents.** Claude Code, Codex, Cursor or Gemini building an app
1991
+ with Copilotz finds it in the package (`node_modules/copilotz/AGENTS.md`, and in
1992
+ `@copilotz/copilotz` on JSR): how Copilotz works, how to set up a project and test it offline with
1993
+ a scripted model, the rules the docs insist on, and links to the docs' pages as Markdown. It has
1994
+ each project keep an `AGENTS.md` of its own, with a `CLAUDE.md` that imports it.
1995
+ `testing/agents-md.test.ts` checks that what it imports, links and installs is there, and the npm
1996
+ smoke test that the installed package has it.
1997
+
1998
+ ## 1.0.0-rc.44 — 2026-11-12
1999
+
2000
+ (rc.43 was tagged but never published: a file wasn't formatted. This is it.)
2001
+
2002
+ - **The app opens in Firefox again.** Once its service worker was installed, every page load
2003
+ answered `{"error":"Not found"}`: the worker passes a page's own request on, and Firefox sends
2004
+ that as `Sec-Fetch-Mode: same-origin` rather than `navigate`, which the page took for a script's
2005
+ `fetch`. A request whose destination is a document (`Sec-Fetch-Dest: document`, or `iframe`) is
2006
+ now a page too, so browsers that already have the worker are fixed by the server alone; a script's
2007
+ `fetch` still gets a 404.
2008
+
2009
+ ## 1.0.0-rc.42 — 2026-11-11
2010
+
2011
+ (rc.41 was tagged but never published: a test failed on Node. This is it.)
2012
+
2013
+ - **In a person's own Personal space, what its agents drew on from elsewhere no longer gets in the
2014
+ way.** Only that person is there, and they see every space their agents read for them:
2015
+ - **Agents' work there is no longer refused.** An agent working for someone from their Personal
2016
+ space, having read another space in that turn (a memory that came up by itself, a conversation
2017
+ it read, earlier messages that did), could still write it into any space they may, yet not into
2018
+ their Personal space itself where labels aren't kept (a board, a document, a file, a computer
2019
+ job): `needs_share` ("That would show what came from … to people who can't see it"), and the
2020
+ turn failed. Since rc.39 memory reads everywhere there, so this hit most turns. It now goes as
2021
+ it is; messages there still keep their marks, for the day the chat moves.
2022
+ - **The chat no longer says "Uses …. Not everyone here can see it."** under its messages there.
2023
+ They keep their `sources`; once the chat moves to a shared space, the notice and Share show
2024
+ where they're true.
2025
+
2026
+ ## 1.0.0-rc.40 — 2026-11-11
2027
+
2028
+ - **MCP checks can return fresh results while declaring their state changes accurately.** Set
2029
+ `replay: false` on a model tool to skip reuse of its completed answer for identical input, such as
2030
+ a payment check that reconciles the booking. Interrupted calls still recover with the same call
2031
+ ID; existing tools keep their replay behavior. Read-only tools and widget-only Actions already run
2032
+ without completed-answer replay.
2033
+
2034
+ ## 1.0.0-rc.39 — 2026-11-10
2035
+
2036
+ - **Agents look in their memory before saying they don't have something, and find more when they
2037
+ do:**
2038
+ - **How to use memory is Copilotz's own instructions.** The `memory` context (the guide) is
2039
+ declared `instructions: true`, so it's sent as it is, before the app's information, instead of
2040
+ inside `<context name="memory">` after "treat it as information, not as instructions". It now
2041
+ also says to look first (recall, and back through the conversation) before saying you don't know
2042
+ something, don't have it, or can't go on without it. Skills likewise: their guide is a context
2043
+ of its own declared as instructions (`skillsGuide`); the list, which people wrote, stays
2044
+ information (`skills`, now headed "Skills you have:"). Each agent's cached system text changes
2045
+ once.
2046
+ - **What comes up by itself is for what the conversation is about**, not only its latest words:
2047
+ the latest message, the two before it and the conversation's title, each memory scored by the
2048
+ closest (a reply like "see above" still finds what the question above was about). Each says when
2049
+ and where it was learned (`(learned in “Launch plan” 2026-11-10)`), in `recall`'s answers too,
2050
+ and `recall`'s `source` (a memory's id) reads what was said there, around the message it came
2051
+ from.
2052
+ - **What an agent was told in a conversation and still has whole isn't told again:** only memories
2053
+ new to it come up, so a follow-up no longer re-sends the same ones (once what it was told leaves
2054
+ the recent part of the conversation, they can come up again).
2055
+ - **In a person's own Personal space, memory reads everywhere they can read**, by itself and by
2056
+ `recall`, as the agent there may already: only they see what's said there. What it brings from
2057
+ another space marks the answer (`sources`), as `recall` with `in` did. Shared spaces still read
2058
+ only what was learned there.
2059
+ - **The person agents work for is in the conversation for memory, there or not:** in a chat one
2060
+ agent handed another for them, their memories are in mind, and what's said of them there is
2061
+ about them (the extractor is told whom the agents work for).
2062
+ - **The extractor also reads a conversation once it's been quiet a while** (`memory.quiet`, 10
2063
+ minutes; `0` turns it off), not only every `every` messages, so a short conversation, or the
2064
+ last few messages of any, isn't left unread. Each message sets the conversation's timer again;
2065
+ `memory.extract`, called by it, reads what's pending.
2066
+
2067
+ - **An agent's tool steps keep a line of their own when they leave the tail,** so what it read and
2068
+ ran stays in reach in a long working chat. Until now a step (an agent's tool calls with what they
2069
+ returned, which only that agent is sent) left the tail without a line: zoom couldn't reach it and
2070
+ `read_conversation` leaves steps out, so what an agent learned from a tool and didn't repeat in a
2071
+ reply was gone for it. Now each step that leaves is a line in a tree of its agent's own in that
2072
+ thread: written as the thread's are (one as it is when short, else by the summarizer from the
2073
+ step's start and end), merged in pairs, within the outline's budget, and committed with the
2074
+ thread's lines, so a prompt's start still changes once a cut. Only that agent is sent its lines,
2075
+ among the thread's by when they were written (`s12+4|…`), and `zoom` opens them the same way
2076
+ (`zoom("s12", 4)`), down to the step whole; another agent's are no line of its own to open.
2077
+ `summary` documents of a step's tree say whose (`agent`), and the `outline` keeps each agent's
2078
+ lines (`steps`). Steps that left before this have no line.
2079
+
2080
+ ## 1.0.0-rc.38 — 2026-11-10
2081
+
2082
+ - **MCP 2026-07-28 cacheable results, widget read schemas, cross-origin MCP lines, and
2083
+ `/.well-known/`:**
2084
+ - `resources/list`, `resources/templates/list` and `resources/read` now include `ttlMs` and
2085
+ `cacheScope` on MCP `2026-07-28` (`CacheableResult`), and handshake versions (`2025-11-25` and
2086
+ earlier) omit them on `tools/list` and resource results where `CacheableResult` does not exist.
2087
+ - Widget tool inputs (`_reads` and `copilotz_read`'s `reads`) now declare their `items` object
2088
+ schema so strict MCP clients accept `tools/list` when widgets are enabled.
2089
+ - Stateless routes (`Route.crossOrigin`) enforce their own `Origin` rules without reading session
2090
+ cookies, so an MCP line's `origins` (including `"*"`) answers browser preflights (`OPTIONS`) and
2091
+ cross-origin `POST`s with CORS headers while keeping no-browser-origin (`403`) as the default.
2092
+ - `webPage`'s `/*` catch-all leaves `/.well-known/*` as `404` when no plugin serves a route there,
2093
+ instead of answering discovery probes with the HTML page.
2094
+ - **A person's next message answers the question an agent waits on them for,** as the web says it
2095
+ does ("Waiting on your answer: your next message replies"). `chat.send` finds it when a message
2096
+ names none (`replyTo`): the newest question to its sender in that chat that an agent still waits
2097
+ on; else one asked of them elsewhere by an agent whose turn waits in that chat, so what they tell
2098
+ it there resumes that turn instead of starting a second one beside it. Never for a message sent
2099
+ for them (`via`: a routine's), nor to an agent it doesn't go to (`to`, `@mentions`). Until now
2100
+ only WhatsApp found it (its own lookup is gone; a quoted message still names what it answers): on
2101
+ the web, an answer in the chat an agent opened to ask went to nobody, and the asking turn, with
2102
+ whatever waited on it (an answer to hand back to another space), never resumed.
2103
+
2104
+ ## 1.0.0-rc.37 — 2026-11-10
2105
+
2106
+ **Upgrading.** The web shell says nine new words, which an app in another language gives under
2107
+ `shell.<key>` (its words test names any it lacks): `yourName` ("Your name"), `addYourName` ("Add
2108
+ your name"), `nameAbout` ("How people and agents here see you."), `nameLabel` ("Name"), `nameEmpty`
2109
+ ("Leave it empty to go by your email."), `nameNotSaved` ("Your name wasn't saved. {reason}"),
2110
+ `nameTryAgain` ("Your name wasn't saved. Try again in a moment."), `cancel` ("Cancel") and `save`
2111
+ ("Save").
2112
+
2113
+ - **A person names themselves** (`person.rename` `{ name }`, identity's). Only a person, for
2114
+ themselves, in person: never a contact, a key, an agent or a routine, and there's no one else to
2115
+ name. The name is one line (spaces, tabs and breaks in a row are one space), trimmed, 80
2116
+ characters at most (said plainly past that); empty, it's cleared, and they have none. It's what
2117
+ everyone sees of them: their menu, home's greeting, the people beside them in a space, agents'
2118
+ prompts (the spaces plugin's profile follows it, else their email's name, as before).
2119
+ - **Sign-ins keep the name a person chose,** or their having none: Google's sign-in, email's, and
2120
+ the system's `person.set` (a directory's handoff into an org) no longer set it back. Until a
2121
+ person chooses (their record's `named`: when they last did), sign-ins keep their name current as
2122
+ before.
2123
+ - **The person's menu opens with their name,** "Your name" ("Add your name" with none), in a dialog:
2124
+ the field holds it, selected, so typing replaces it; Enter saves; a live preview shows how they'll
2125
+ appear; while it saves the field waits; a refusal is said under it and the dialog stays. So the
2126
+ menu is always a menu now, with or without front ends' entries.
2127
+ - **The new name shows at once, everywhere, without reloading:** in this tab and their others. The
2128
+ web host keeps the page's viewer as the person's own record says (it watches it: their name and
2129
+ email), and draws again when it changes; Views read it as before (`ctx.viewer.label`).
2130
+ - **No name, no id:** with none, the menu shows the person's email (`ctx.viewer.email`, new, from
2131
+ identity's `/me`), and home greets them plainly ("Good morning"). An app whose ids aren't names
2132
+ (`01JD3X…`) showed the id in both.
2133
+
2134
+ ## 1.0.0-rc.36 — 2026-11-10
2135
+
2136
+ **Upgrading.** Chat has two tools of its own, `list_conversations` and `read_conversation`, for the
2137
+ agents that list them in their `tools`. An app that made its own tools under those names drops them
2138
+ and lists chat's, which do the same and take a space. A Personal space's agents now write elsewhere
2139
+ for their person without labels from there (below): an app that relied on that refusal says so in
2140
+ its own rules.
2141
+
2142
+ - **Agents work under the authority of whoever asked** ([design](design/work.md), "Authority"). In a
2143
+ person's own Personal space, where only they read the answers, their agents reach every space they
2144
+ do, and now act there too. That makes the Personal chat a chief of staff:
2145
+ - **Tools take a space** (`in`, its id, which the `elsewhere` context lists): `list_conversations`
2146
+ and `read_conversation` (new, chat's own), boards (`list_boards`, `read_board`, `create_board`,
2147
+ `create_card`, `update_card`, `move_card`), documents (`list_documents`, `read_document`,
2148
+ `write_document`, `append_document`, `edit_document`), routines (`schedule_routine`,
2149
+ `list_routines`, `cancel_routine`: a routine kept elsewhere starts a new conversation there each
2150
+ run) and `recall`, as before. From a shared space they work only there and in what it draws on,
2151
+ and say so (`workIn`, in the agents' contract, for apps' tools).
2152
+ - **`send_message` takes `thread`:** a conversation that's there already, in this space or any
2153
+ other the person can write in. Who answers there gets it (`to`, or the conversation's own
2154
+ agent), it says where it came from, and the answer comes back, as a hand-over's does.
2155
+ - **What they write elsewhere is the person's:** work for someone from their own Personal space
2156
+ takes no labels from there (`labels.write`, `ownPersonal`). Before, everything an agent wrote
2157
+ from Personal into a space others see was refused (`needs_share`), even a card the person asked
2158
+ for. What's written in the Personal space itself keeps its marks (its conversation may move),
2159
+ and labels guard shared spaces and contacts' chats as before.
2160
+
2161
+ ## 1.0.0-rc.35 — 2026-11-09
2162
+
2163
+ **Fixed: a retried call's nested calls.** A call run again under its id (a retry after a failure or
2164
+ a stop) looked up its own nested recorded calls without its actor. In a person's or contact's job
2165
+ the runtime then refused the lookup ("This job can't act as that"), and the retry failed. It now
2166
+ asks as whom the call works for. This affected any person or contact Action retried after it made a
2167
+ nested recorded call, and retried Processor deliveries; it has been so since the authority checks.
2168
+
2169
+ The MCP line's tests now wait for what they assert rather than for fixed times (they flaked on macOS
2170
+ runners). Nothing to do when upgrading from rc.34.
2171
+
2172
+ ## 1.0.0-rc.34 — 2026-11-09
2173
+
2174
+ rc.33, released whole. rc.33's publish stopped before npm: packing its tarballs, npm took `dist/npm`
2175
+ for a GitHub repository. JSR has `@copilotz/copilotz@1.0.0-rc.33`, and nothing else has rc.33. This
2176
+ release is rc.33's code, with the publish workflow's paths starting with `./`. Upgrading from rc.32
2177
+ is as rc.33 says, below, with each version 1.0.0-rc.34.
2178
+
2179
+ ## 1.0.0-rc.33 — 2026-11-09
2180
+
2181
+ **Upgrading.** Copilotz's product plugins are packages of their own, released with it at its version
2182
+ ([design](design/plugins.md)). Their names (collections, Actions, events, Views, routes, resources)
2183
+ are as they were, so an app's data stays as it is: only its imports change.
2184
+
2185
+ - `copilotz/plugins/work` → `@copilotz/work`, and `copilotz/plugins/work/web` →
2186
+ `@copilotz/work/web`.
2187
+ - `copilotz/plugins/access`'s `directory` (with `Operations`, `OrgInfo`…) → `@copilotz/directory`;
2188
+ the directory's browser half in `copilotz/plugins/access/web` (`useOrgs`, `enterOrg`,
2189
+ `refreshOrgs`…) → `@copilotz/directory/web` (or `@copilotz/directory/contract`).
2190
+ - `copilotz/plugins/billing`'s `credits`, `stripe` and `stripeWebhook` → `@copilotz/billing`, and
2191
+ `creditsWeb` → `@copilotz/billing/web`. `usage` stays in `copilotz/plugins/billing`.
2192
+ - `copilotz/plugins/agents`'s `team` and `tiers` → `@copilotz/team`, and `teamWeb`, `tiersWeb` →
2193
+ `@copilotz/team/web`.
2194
+ - An app serving many orgs adds `directoryWeb` (from `@copilotz/directory/web`) to its page: the web
2195
+ shell has no org switcher, org page or console of its own any more. Their words keep their keys
2196
+ (`shell.<key>`).
2197
+ - On Deno, name each in the import map at Copilotz's version
2198
+ (`"@copilotz/work": "jsr:@copilotz/work@<version>"`); on npm, install it beside `copilotz` at the
2199
+ same version, or, until npm has it, from the release's tarball.
2200
+
2201
+ ```ts
2202
+ import { boards, documents } from "@copilotz/work"; // was copilotz/plugins/work
2203
+ import { directoryWeb } from "@copilotz/directory/web";
2204
+
2205
+ await web({ plugins: [webShell, chatWeb, spacesWeb, directoryWeb, boardsWeb], root });
2206
+ ```
2207
+
2208
+ - **Product packages** ([design](design/plugins.md)): `@copilotz/work` (boards, documents),
2209
+ `@copilotz/directory` (many orgs behind one address), `@copilotz/billing` (credits, Stripe) and
2210
+ `@copilotz/team` (agents people make, model tiers), each in `packages/<name>` with its `mod.ts`,
2211
+ `web.tsx`, `contract.ts`, tests and README, on JSR and npm. They import Copilotz by its entry
2212
+ points alone, as an outside plugin would; the core imports none of them, its tests neither.
2213
+ - **The web shell knows no orgs.** Its `orgs` slot (a resource) takes a switcher View, an overlay
2214
+ View and a hook for what the menu and palette list; `directoryWeb` fills it. The person's standing
2215
+ in the org is spaces' `org.me` (`useStanding`, in the shell's contract), which spaces' sidebar and
2216
+ credits' note read; renaming the org says so (`orgsChanged()`).
2217
+ - **The core's contracts are entry points:** `copilotz/plugins/<theme>/contract` (access, agents,
2218
+ models, interfaces, compute), each theme's plugins' `contract.ts` together.
2219
+ - **Testing:** `copilotz/testing/words` (`pseudoWords`, `englishLeft`, `wordsList`) and `openTo`
2220
+ (what a kind of caller is let into of some plugins), for packages' tests as for Copilotz's.
2221
+ - **Releases:** `npm run build` builds Copilotz and every package; the smoke test installs them all
2222
+ together from their tarballs and uses a plugin of each; a release attaches every tarball to its
2223
+ GitHub release before publishing, and publishes the packages after Copilotz, each on its own (one
2224
+ a registry doesn't have yet is skipped, with a notice). `node scripts/version.ts <version>` says a
2225
+ version everywhere, in lockstep.
2226
+
2227
+ ## 1.0.0-rc.32 — 2026-11-09
2228
+
2229
+ **Upgrading.** `people` now lets in an agent working for a person, and an Action's `allow` is asked
2230
+ of code acting for someone too (a tool's `ctx.call`, a Processor's, another Action's), not only of
2231
+ outside callers. Go through your Actions:
2232
+
2233
+ - Say `inPerson` for what only the person decides (consent, keys, who's in a space, money,
2234
+ publishing): it never lets in an agent, a key or a routine's work. Say `people` for the rest. An
2235
+ `allow` written as `(actor) => actor.kind === "person"` keeps your own tools' agents out: say
2236
+ `people`.
2237
+ - An Action whose run takes `ctx.actor.id` for a person's id, or checks something only when
2238
+ `ctx.actor.kind === "person"`, reads `personOf(ctx.actor)` instead (an agent's id isn't its
2239
+ person's).
2240
+ - A tool calling an Action its agent's person couldn't is refused (`forbidden`): let them in, or go
2241
+ beyond on purpose with a named grant, `ctx.as(grant("<why>"))`.
2242
+ - An agent's work reaches only where it is (its chat's space) and what that space draws on: a tool
2243
+ that read across its person's spaces from a shared chat finds less. Have the space draw on the
2244
+ other (`member.set` of a space), work from the person's Personal space, or hand the work over.
2245
+ - Tools read where they are from `ctx.in`, not their chat's `in`.
2246
+ - A developer key no longer calls what's now `inPerson` (`space.create`, `member.*`, `invitation.*`,
2247
+ `share`, `chat.move`, `agent.create`…), even listed in its scope.
2248
+ - An MCP line listing a tool without its `tool:<name>` View doesn't start: add the View.
2249
+
2250
+ ```ts
2251
+ import { grant, inPerson, people, personOf } from "@copilotz/copilotz";
2252
+
2253
+ "invoice.send": defineAction({ allow: inPerson, … }), // only the person decides
2254
+ "invoice.draft": defineAction({ allow: people, run: (ctx) => draft(personOf(ctx.actor)) }),
2255
+ // a tool, in its chat's space; going beyond its person on purpose, on the record:
2256
+ run: async (input, ctx) => await ctx.as(grant("availability")).call("slots.all", { in: ctx.in }),
2257
+ ```
2258
+
2259
+ - **Who, for whom, where** ([design](design/work.md)). All work runs as an actor, for whom it's done
2260
+ (`for`) and where (`in`, an opaque id: a space, to the access plugin), which the runtime carries
2261
+ as it carries the actor: into nested calls, tools, the Processors a call's events wake, its timers
2262
+ and the Views observed for it; every event records it; `guard` and `allow` see it; contexts say it
2263
+ (`ctx.in`, on Actions, Processors, tools, queries and Views). `ctx.as` stays where the work is
2264
+ unless told where. Every way in says it: a browser's calls (its page's space;
2265
+ `client.call(…,
2266
+ { in })`), the terminal (where its person works), a key (its space), WhatsApp,
2267
+ voice, web and MCP lines (theirs), routines (theirs), a chat's turn (its chat's).
2268
+ - **An agent's work reaches only where it is.** Reach for work done for someone is the person's
2269
+ reach ∩ the agent's memberships ∩ its space and what that draws on, at the role it draws on it
2270
+ with; in the person's own Personal space, all they reach. North working for Ana in a shared space
2271
+ reached every space of Ana's (the core agents are members of all of them), and only labels kept
2272
+ Finance from Launch's members: now it reads Launch and its sources. A person acting themselves
2273
+ isn't narrowed; a tool or routine acting as them is. An agent actor's `at` is `in`.
2274
+ - **`allow` is asked wherever someone acts:** from outside as before, and from code acting for an
2275
+ actor (`ctx.call`, a timer, a read's unrecorded calls); for an agent, of whom it works for too
2276
+ (`allows`). Actions without one stay internal. Going beyond is a named grant (`grant`), on the
2277
+ record as the grant, `via` whose work it was, and counted (`copilotz.elevated.ops`).
2278
+ - **Copilotz's own Actions say which:** `inPerson` for sessions, connected accounts, who's in a
2279
+ space or the org, `share`, `chat.move`, `memory.move`, `agent.create/update/delete`,
2280
+ `computer.code`, `computer.work` and `app.publish`, beside those that were; `people` for the rest,
2281
+ boards and documents included (their agents' own tools couldn't call them). `chat.send` and
2282
+ `chat.attach` let in people and contacts writing as themselves, never an agent. Code that took the
2283
+ actor's id for its person's (`space.personal`, invitations, accounts, desks, cloud computers,
2284
+ usage) asks `personOf`; an environment changes only by its space's managers, whoever asks.
2285
+ - **Reach is kept in the owner** per who, for whom and where, until a commit changes a membership or
2286
+ a space it read (`ReadContext.kept`: what rules work out from reads, let go exactly when what they
2287
+ read changes; `cache.kept`, 1,000). An agent's turn works out its reach once, not on every op.
2288
+ With narrowing, an agent's work for a person in one of 1,000 spaces (`examples/work-bench.ts`)
2289
+ takes a fifth of the time: a turn's 13 ops, 4.4 ms median (21.5 before), 5.3 ms at p95 (22.9); the
2290
+ person's own, 4.7 ms (11.7). Nothing measured got slower.
2291
+ - **Tools know where they are** (`ctx.in`): documents, boards, computers, cloud computers, apps,
2292
+ memory, skills, routines and an API's files no longer read their chat to find its space. What's
2293
+ learned stays where it's learned.
2294
+ - **Handing work to another space** writes under its grant (`chat.hand-over`, and `chat.hand-back`
2295
+ for the answer), for the same person, in the new space; its check is the person's, anywhere.
2296
+ - **mcp:** a listed tool without its `tool:<name>` View stops the app from starting (it was left
2297
+ out, said once in the log). A line's contact, its widgets and its tools work in its space.
2298
+ - **Model-use listeners** get `as` in a job; a web line's budget prices its visitors' use as its
2299
+ grant (`web.budget`).
2300
+ - **Startup checks** see the Views' names (`merged.views`).
2301
+
2302
+ ## 1.0.0-rc.31 — 2026-11-08
2303
+
2304
+ - **A write the rules refuse in a transaction no longer holds up every write.** Refused before it
2305
+ reached its transaction, it left the transaction open, holding the store's writer: the Action's
2306
+ failure and every other write in the app waited 30 s, until it was rolled back as idle. Now it
2307
+ ends its transaction at once, as an op that fails in one does: it rolls back, and its later ops
2308
+ fail ("The transaction is closed."), even when the error is caught. Code that caught a failed op
2309
+ and wrote on used to commit what came after it. A transaction with no op for 5 s (30 s before)
2310
+ rolls back, and `copilotz.transaction.duration` measures how long each one held the writer.
2311
+ - **Boards** no longer read a new card back inside its transaction: one round trip less per card.
2312
+
2313
+ ## 1.0.0-rc.30 — 2026-11-08
2314
+
2315
+ **Upgrading.** `chat.send` no longer takes a file's content. Upload each file first with
2316
+ `chat.attach` (`{ name, type, data, voice? }`, as `files` took it), and send what it answers by id:
2317
+
2318
+ ```ts
2319
+ const { id } = await runtime.call("chat.attach", {
2320
+ name: "plan.pdf",
2321
+ type: "application/pdf",
2322
+ data,
2323
+ });
2324
+ await runtime.call("chat.send", { text: "The plan", files: [{ id }] });
2325
+ ```
2326
+
2327
+ Call both as the same sender: a draft is sent only by its uploader's message. An API key that sends
2328
+ files needs `chat.attach` in its scope: the "Chat" preset has it now, and a key made with it before
2329
+ is made again (or given `chat.attach`).
2330
+
2331
+ - **Files of about 10 MB go, ten to a message.** `chat.send` carried every file's content, on record
2332
+ with what it wrote too, in one call, and a call carries at most 16 MiB to the owner: a file past
2333
+ about 6 MB was refused (`payload_too_large`). Now each file is its own call (`chat.attach`,
2334
+ unrecorded), kept as its sender's draft (`draft`, in no conversation: nobody else reads it, a rule
2335
+ of chat's own), and the message names it: its commit makes it the conversation's, under the rules
2336
+ as the message is. The web composer uploads each file as it's chosen (reading, uploading, its
2337
+ size, or why it couldn't), so sending is instant; a voice message uploads once, also when it's
2338
+ sent again without a transcript. WhatsApp uploads what a phone sends the same way.
2339
+ - **Drafts are bounded:** a sender holds 20 at most (the oldest go past them), and `chat.prune`
2340
+ (chat's schedule, every hour) drops those not sent within a day. A contact's upload is let in by
2341
+ the `contactSend` hooks as a message to nobody carrying it: a web line's file rules apply as it's
2342
+ uploaded, and it counts against the visitor's limits.
2343
+
2344
+ ## 1.0.0-rc.29 — 2026-11-07
2345
+
2346
+ - **An agent waiting on your yes waits within its turn.** A command, job or file write that needs a
2347
+ person's OK used to end the agent's turn ("Waiting for ana's yes…"). The turn's answer went to
2348
+ whoever had asked it, and the yes then started a new turn that answered the person. So when one
2349
+ agent asked another, and that one needed a yes, the first got "I'm waiting on your yes" as its
2350
+ answer and the real answer went to the person. Now the turn pauses, as it does for the messages it
2351
+ sends. The call asks its person a question: the agent's message to them, answered on the approval
2352
+ card. The answer is a reply to that question, and the same turn goes on. The call runs again as
2353
+ itself, in a step after the answer, so the agent reads its question, the answer, then what the
2354
+ command did, and its answer goes to whoever started the turn. Several asks in one step wait
2355
+ together, and the turn goes on once, when the last is answered: what was allowed runs, and what
2356
+ wasn't says no. A yes in this conversation, or always, answers the agent's other asks it covers,
2357
+ and their turns go on too. A reply typed to the question isn't a yes: the call doesn't run, and
2358
+ says what they said. A card asked in a side thread shows in its conversation too ("in a side
2359
+ thread"). A card answered before its step is written is refused (`busy`, "answer in a moment");
2360
+ the card shows only once the step is written anyway. Forgetting a computer tells a turn waiting on
2361
+ it no. A model outside (MCP) still gets "Waiting for…" and asks again later, as before.
2362
+ - **Tools can wait for a person** (`ToolContext.ask`, in chat's contract). In a turn, a tool asks
2363
+ `{ to, text }` and gets the question's id; the turn waits for a reply to it (a message with that
2364
+ `replyTo`), then runs the call again with `answer` (who answered, and what they said). The
2365
+ question is written with the step. Steps record it (`Step.asked`), as they record what they sent
2366
+ (`sent`). The `conversation` resource's Views get the conversation's side threads too (hint
2367
+ `side`).
2368
+
2369
+ ## 1.0.0-rc.28 — 2026-11-07
2370
+
2371
+ - **A deploy hands over instead of fencing** (`serve` in `copilotz/web/node`, `lease` in
2372
+ `copilotz/stores/postgres`). While a deploy moves traffic, the platform keeps the old process
2373
+ running for as long as its browsers' sockets stay open, and the new process's store fenced it:
2374
+ every write those browsers sent failed ("This owner was fenced"). Now one process at a time holds
2375
+ the store's lease: `serve` listens first (a request is told it's starting: a 503 to retry, a page
2376
+ that reloads itself), waits for the lease, then opens the app; the old process, asked for it,
2377
+ stops listening (its browsers reconnect, to the new one), lets running work finish, and lets go.
2378
+ Only a deploy at least as new asks (`revision`); a process that loses the lease stops. Its table
2379
+ is `copilotz_lease`, in the schema it's given (`public` by default).
2380
+ - **A contact's message may go to nobody** (`chat.send` with `to: []`), as a person's already could:
2381
+ it's kept in the chat, its agents read it the next time they answer there (with its `tap`, as
2382
+ `[tapped: <id>]`), and none answers it. It's how a page beside the chat says what the customer did
2383
+ there (a trip chosen in a booking panel) without a turn for each tap. A contact still names no
2384
+ agent: any other `to` goes to its chat's agents, as before. `contactSend` hooks are told
2385
+ (`to: []`): a web line's visitor's message to nobody counts against its limits but holds none of
2386
+ the line's budget, since no turn will be charged for it.
2387
+
2388
+ ## 1.0.0-rc.27 — 2026-11-06
2389
+
2390
+ **Upgrading.** Chat's `file.content` query is `file.about`, and answers a file without its content
2391
+ (`data`). Host code that wants the content reads it as bytes, in parts:
2392
+ `runtime.bytes("file", { _id }, "data", { actor })`, or serves it at `/files/<id>`. A file's content
2393
+ is plain base64 (no line breaks, no `data:` prefix): `chat.send` refuses anything else.
2394
+
2395
+ - **Files of any size are served** (`GET /files/<id>`): a picture or a recording whose base64 passed
2396
+ 1 MiB (about 750 KB) was answered as missing (404), so it showed broken. The route read the whole
2397
+ file through a query, whose answer comes from an executor over Oxian in one chunk, and Oxian takes
2398
+ at most 1 MiB a chunk. Now it reads what the file is (`file.about`, as whoever the request is),
2399
+ then its content from the owner, as them again (`runtime.bytes`), and decodes it as the response
2400
+ is read, 192 KiB at a time; a range (`206`) decodes only its part. Who reads a file is unchanged:
2401
+ the request's actor, a signed link as the system, and a file out of reach is a 404 alike. A
2402
+ failure that isn't about reach is now a 500, logged, not a 404.
2403
+ - **`runtime.bytes(collection, filter, field, { actor })`**: a large value's bytes for trusted host
2404
+ code, read by the owner itself, under the rules as `actor` (the system without one), its `size`
2405
+ and `read(start, end)`, from the document or its blob (loaded once, at the first part). The blob's
2406
+ reference never leaves the owner.
2407
+ - **Projections:** `find` and `findOne` take `{ projection }`, as MongoDB's (`{ name: 1 }` keeps,
2408
+ `{ data: 0 }` leaves out, `_id` either way; dotted paths into objects). The owner applies it
2409
+ before it loads any blob: a field left out costs no blob read. Stores never see it.
2410
+ - **Answers past 1 MiB go in parts:** a job's output (a query's answer, an Action's result, a
2411
+ View's) and what a browser is pushed are written in parts of at most 1 MiB, Oxian's bound on a
2412
+ chunk. A long history, a prompt with pictures (`thread.prompt`, `/prompt`) or a large read a
2413
+ browser watches failed whole before (the executor "lost", the browser's session closed).
2414
+ - **A message's files reach the prompt one read each:** `llm.message` read all of a message's files
2415
+ in one answer of the owner's, which carries at most 16 MiB; pictures that together passed it
2416
+ failed the turn.
2417
+ - **WhatsApp links a file without reading its content:** sending a chat's file by signed link reads
2418
+ only whether its recipient may see it; Meta's fetch streams the content from `/files/<id>`.
2419
+ - **Every word Copilotz's web front ends show is the app's to change.** An app in another language
2420
+ no longer rewrites the page as it is drawn: it gives a `words` resource
2421
+ (`{ "chat.send":
2422
+ "Enviar" }`), on any plugin the page runs, merged over the English in order.
2423
+ Words are by key (`hosts/web/WORDS.md` lists them: the shell, chat, spaces, memory, team, usage,
2424
+ the command palette, the toolkit and the host's notices), with `{blanks}` for names and numbers
2425
+ and plural forms by the page's language (`{ one, other }`). Dates, times, numbers and currency
2426
+ follow the page's `lang` (`webPage({ lang })`) instead of the browser's. Front ends of an app's
2427
+ own use the same way: `defineWords(area, { … })` from `copilotz/web`. English is unchanged, so an
2428
+ app that sets nothing looks as before. Not covered: the other front ends (billing's credits,
2429
+ routines, skills, computers, apps, API keys, WhatsApp, tiers), text the server sends, and the
2430
+ offline page.
2431
+ - **Boards and documents are Copilotz's** (`copilotz/plugins/work`, front ends in
2432
+ `copilotz/plugins/work/web`). `boards` is kanban in a space (boards with ordered columns, cards
2433
+ dragged between them, owners, labels, due dates; Actions `board.*` and `card.*`; agents' tools
2434
+ `list_boards`, `read_board`, `create_board`, `create_card`, `update_card`, `move_card`).
2435
+ `documents` is shared Markdown in a space (every save a version, saves merged line by line or
2436
+ refused as a `conflict`, restoring, presence; Actions `document.*`; agents' tools
2437
+ `list_documents`, `read_document`, `write_document`, `append_document`, `edit_document`). Each has
2438
+ its web front end (`boardsWeb`, `documentsWeb`). The empty Board tab's line about agents is the
2439
+ app's: `resources.boardsText.agentHint`.
2440
+ - **A `@word` is a mention only when it names someone.** Chat took any `@word` as a mention, so a
2441
+ message with a social handle ("my profile is @ana.marca") and no agent named reached no agent. Now
2442
+ a mention counts only when it names an agent, or a person in the conversation; any other `@word`
2443
+ is plain text, and the message goes where it would without it (the conversation's agents, or the
2444
+ space's default).
2445
+ - **A failed recall never sinks a turn.** When memory recall fails at the start of a turn (the
2446
+ embedder's provider refuses the key, or times out), the turn goes on without recalled memories.
2447
+ The failure is logged (`memory: recall failed…`) and counted (`copilotz.memory.recall_failures`).
2448
+ A failing `remember` is still a tool error the agent sees.
2449
+ - **Web tools** (`webTools`, in `copilotz/plugins/agents`): agents search the web and read a page
2450
+ without a computer. `web_search` `{ query, count?, language?, country? }` →
2451
+ `{ title, url,
2452
+ snippet }` results, through a new `search` adapter port (`duckduckgo`, the
2453
+ default: its HTML page, no key, no cost, a bot challenge or empty page is a public "search is
2454
+ unavailable" error; `serper`, optional; `fake`; one more adapter adds Brave or Google), and
2455
+ `read_page` `{ url, start? }` → the final URL, title, main text and links, in parts, marked as
2456
+ data. Reading refuses non-http(s) URLs, private, loopback, link-local and metadata addresses (the
2457
+ host resolved, checked again on every redirect), other ports than 80 and 443 unless
2458
+ `webTools.ports` lists them, pages over 2 MB or 15 s, and non-text types; a turn reads at most 8
2459
+ pages. A search is a `search` use of the usage ledger (in the `agents` category), priced from
2460
+ resources, asked of the `modelUse` listeners and the `spending` check first. The models contract
2461
+ now exports `mayUse` and `used`, for uses outside model calls.
2462
+ - **An agent's message with files.** `chat.say` takes `files`, and `text` may be left out when there
2463
+ are files. Trusted code, such as a tool during a turn, can now post what it made without writing
2464
+ chat's collections itself. Each file is one of these:
2465
+ - `{ id, collection? }`: a document the caller reads that holds a file as `type` and `data`.
2466
+ That's chat's own `file` by default, or another plugin's, such as the models plugin's `image`.
2467
+ - `{ name, type, data }`: the file given as it is.
2468
+
2469
+ Each becomes a file of the chat, with its `thread` and space. People and contacts read it there as
2470
+ they read people's files, and it meets the same limits: ten at most, about 10 MB each, and a media
2471
+ type. Its content is the same blob, so a picture kept elsewhere isn't stored twice. The answer
2472
+ adds the files' ids: `{ message, files }`. Saying it again sends nothing, files included. An
2473
+ agent's own message tells it next time what it sent: `[sent: logo.png]`.
2474
+
2475
+ - **A refusal says why.** A turn that fails with a refusal written for people answers in that
2476
+ refusal's own words, where only the codes `credits` and `budget` did before. That covers any
2477
+ failure made public, including the `spending` check's refusal whatever its `why`: an app's own
2478
+ reason, such as an inactive subscription, no longer needs to borrow `credits`. The `spending`
2479
+ refusal is now public, so a model outside the app reads its message too. A web line's spent budget
2480
+ now shows its own words ("This chat has done all it can for today…"). Every other failure still
2481
+ shows people the short line, with the details in the event. Moving in from another app. Nothing
2482
+ changes for an app that doesn't call these.
2483
+
2484
+ - **`chat.import`** (the system's: a migration) brings a conversation in as it was: its thread (the
2485
+ importer's id) in a space, with its title, and its messages with who said them (a person's id or
2486
+ an agent's name), to whom, what, their files (`data`, or the `id` of a document holding one:
2487
+ chat's `file` by default) and when (ISO 8601 with a zone, kept to the millisecond). Nothing runs:
2488
+ no turn, no transcript, nothing delivered. Importing again replaces what it made; a long
2489
+ conversation comes in several calls, and the thread's summary (count, first, latest, when it last
2490
+ moved) is worked out from every message it has. A thread already in another space is refused
2491
+ (`chat.move` moves it). Unrecorded: the documents it writes are their own record.
2492
+ - **`memory.import`** (the system's) brings memories in as they were, in a space: text, whom each is
2493
+ about, who wrote it, `core`, when it was learned and last changed, under the importer's ids. Each
2494
+ is embedded as it's kept (with an embedder), so recall finds it by meaning.
2495
+ - **Dev sign-in reaches someone already there:** an email a person has (one who moved in under an id
2496
+ of its own) signs in as them, and the id of someone there signs in as them too, both as they are
2497
+ (their name isn't touched). Anyone else signs in as before.
2498
+
2499
+ ## 1.0.0-rc.26 — 2026-11-06
2500
+
2501
+ **Upgrading from rc.25.** The `hosts` resource names the app's own hosts an entry each, without the
2502
+ `own` key it had alone. An app that names its hosts changes one line; one that doesn't changes
2503
+ nothing. The shape before is refused at start, saying what's expected.
2504
+
2505
+ ```ts
2506
+ // rc.25
2507
+ resources: { hosts: { own: ["app.example.com", "*.run.app"] } }
2508
+ // now
2509
+ resources: { hosts: { "app.example.com": true, "*.run.app": true } }
2510
+ ```
2511
+
2512
+ - **`resources.hosts` is an entry per host** (`{ "app.example.com": true }`), in place of
2513
+ `{ own: [...] }`, like every other resource: a later plugin adds a host, or takes one away with
2514
+ `null`, without restating the rest. What it does is unchanged: with the app's hosts named, any
2515
+ other host is answered only by routes that take it. `HostsSettings` is `Record<string, true>`.
2516
+ - **Email sign-in** (`emailSignIn`, in `copilotz/plugins/access`, with identity and `email`): people
2517
+ sign in with an email and a password. Nothing changes for apps that don't add it.
2518
+ - **Flows,** each an unrecorded Action behind a route, those that end signed in answering with
2519
+ identity's `signedIn`: `email.sign-up` (a six-digit code by email, the password waiting for it)
2520
+ and `email.verify` (the person made, and a session); `email.sign-in`, refused with `unverified`
2521
+ (and a new code sent) until the address is confirmed; `email.forgot` (the same answer for any
2522
+ address) and `email.reset` (the password set, the person's other sessions ended);
2523
+ `email.invite`, trusted code's (a webhook after a purchase: the person, answered at once, and a
2524
+ link that works once for a day, `/#email-invite=<token>`), `email.invitation` and `email.accept`
2525
+ (the password chosen, signed in); and `email.import`, the system's, which keeps another app's
2526
+ password hashes as they are, for a migration, with the person ids the importer chooses. Routes:
2527
+ `GET /signin/email` (it's here; `signUp`), `POST /signin/email`, and `/signin/email/sign-up`,
2528
+ `verify`, `forgot`, `reset`, `invitation`, `accept`; a refusal answers `{ error, code }`.
2529
+ - **Passwords:** legacy hashes (`"<saltHex>:<hashHex>"`, PBKDF2-HMAC-SHA256 at 100,000, as
2530
+ Copilotz 0.x apps kept them) verify as stored and are hashed again at the next sign-in; new ones
2531
+ are `pbkdf2-sha256$6x100000$<salt>$<hash>` (PBKDF2 in six stages of 100,000, each salted with
2532
+ the stage before: workerd refuses more than 100,000 in one call), on WebCrypto, compared in
2533
+ constant time, in a private field (`email_login.hash`) no event or actor's read holds.
2534
+ - **Codes and links** are kept only as HMACs under the `links` secret (still matching under its
2535
+ `previous` while it changes), used once; codes last 15 minutes and five wrong tries. A stranger
2536
+ signing up first with someone's address can't choose their password: each code confirms the
2537
+ password its sign-up came with. Messages to an address (5 an hour), tries at it (10 in 15
2538
+ minutes) and one caller's asks (30, by the `caller` resource or the socket's address) are
2539
+ limited (`too_many`), the same whether or not the address has an account (`emailSignIn.limits`).
2540
+ What's past goes every ten minutes (`email.prune`).
2541
+ - **Its words** are the `emailSignIn` resource's `messages` (`verify`, `reset`, `invite`,
2542
+ `exists`), English unless the app gives its own; `app` names the app in them (the `links`
2543
+ origin's host unless said). It needs the `links` resource (`{ origin, secret }`) to start.
2544
+ - **`email`, the app's email port:** `email.send` `{ to, subject, text, html? }` (trusted code's,
2545
+ unrecorded) through the adapter the `email` resource names: `resend` (Resend's API, through
2546
+ `ctx.fetch`, with its `apiKey` and `from`) or `console` (each message in the log, for a laptop;
2547
+ refused where the `links` origin is public). `EmailAdapter` and the settings' types are in its
2548
+ contract.
2549
+ - **The sign-in page offers email** when `GET /signin/email` says it's there: sign in, create an
2550
+ account, the code (sent on once typed or pasted; a new one every 30 seconds), a new password by
2551
+ code, and arriving by an invitation's link to choose a password. Signing in by name moves under
2552
+ it, a click away. The toolkit has an `eye-off` icon. The example web app takes `EMAIL=1` (and
2553
+ `EMAIL_INVITE=<address>`) to try it, its messages in the terminal.
2554
+ - **The sign-in page is the app's, in every word** (the `signInPage` resource of the browser's
2555
+ plugins, merged over Copilotz's as the theme is): `words` patch its phrases one by one by key
2556
+ (`SIGN_IN_WORDS` in `copilotz/web`: every heading, label, placeholder, button, hint and refusal of
2557
+ Google's, email's and dev sign-in's screens, refusals said by their code, never in the server's
2558
+ words); `about`, the panel beside the form (a headline, its quieter end, points with icons), is
2559
+ given whole (no Copilotz pitch stays beside an app's own), and `null` leaves the form alone. Its
2560
+ logo is the theme's and its name the page's title, as before; an app that says nothing shows
2561
+ Copilotz's words and pitch, as before. Google's button speaks `page.lang`. New in `copilotz/web`:
2562
+ `SIGN_IN_WORDS`, `COPILOTZ_ABOUT`, `signInPageOf` and the `SignInPage`, `SignInWords`,
2563
+ `SignInAbout` and `SignInPoint` types.
2564
+ - **Image generation** in `models`: `image.generate`
2565
+ `{ model, prompt, references?, count?, aspectRatio?, size?, tags? }` answers
2566
+ `{ images: [{ id, type, size }], text, usage }`. The images are kept in the `image` collection, a
2567
+ document each, with the content as a blob, and the answer names them by id. A reference is an
2568
+ image made here (`{ id }`), a document the caller may read that holds a file as `type` and `data`
2569
+ (`{ id, collection: "file" }`, read as the caller), or inline data (`{ data, type }`, or a data
2570
+ URL). Models are chosen as `llm`'s are: an alias, settings around one, or a list tried in order.
2571
+ Adapters go under `adapters.image`: `gemini` (`generateContent` with `responseModalities`; `count`
2572
+ images are that many calls, made together), `openai` (`/images/generations`, or `/images/edits`
2573
+ with references), and `fake` (`"fake/image"`).
2574
+ - **Metered like every model call.** The org's own key comes first. `modelUse` listeners and the
2575
+ `spending` check go before the call. Its tokens are told to the ledger after, with meter
2576
+ `image`, priced from the catalog as `llm`'s are, and counted under agents. The provider's
2577
+ `silence` and `retry` apply.
2578
+ - **Refusals are final.** A model whose safety rules say no fails `image_refused`, and no other
2579
+ model is asked. One that makes nothing fails `no_image` once the list is spent. Both are public
2580
+ messages: an agent's tool tells its model why.
2581
+ - **Recorded, unlike the other ports' Actions.** It writes what it made, so a job that runs again
2582
+ finds the call done and doesn't pay twice. `models.check` takes `port: "image"`.
2583
+ - `keyed` and `mayRun` (the org's own key, and the spending check) moved from the llm port to
2584
+ `shared/use.ts`, so every port that spends asks the same way. Nothing changes for `llm`.
2585
+
2586
+ ## 1.0.0-rc.25 — 2026-11-06
2587
+
2588
+ **Upgrading from rc.24.** The runtime now answers HTTP itself. `runtime.fetch(request)` is a fetch
2589
+ handler (a function from a web-standard `Request` to a `Response`) that every host calls; plugins
2590
+ declare their HTTP as `routes` (plain functions by URL pattern) and say who a request is with `who`
2591
+ (a function from a request to an actor, or nothing); the runtime names and sets every cookie; the
2592
+ page is a plugin (`webPage`); and many orgs are the directory's routes, forwarding each request to
2593
+ its org's runtime. Every URL, webhook path and cookie name stays as it was, so nobody signs in
2594
+ again. Developer keys made before stop working: make them again (step 7). The steps, in order:
2595
+
2596
+ 1. **Composition: the page is a plugin, and the runtime takes no browser options.** Drop
2597
+ `transports: [socket]` and `admit: tickets.admit`: the runtime keeps its own one-time tickets and
2598
+ takes its own socket at `/oxian`. Add `webPage` (from `copilotz/web/server`) with a `page`
2599
+ resource. What `serve` and `webServer` took as options are resources now: `code`, `title`,
2600
+ `lang`, `assets` and `base` go in `page`; `theme` in `theme`; `front: { secret }` is the `caller`
2601
+ resource's `front` (beside its `header`); `widgets` go in `widgets`. `code` may be a function
2602
+ that bundles once, on the page's first request.
2603
+
2604
+ ```ts
2605
+ // rc.24
2606
+ const tickets = createTickets(); // copilotz/web/tickets
2607
+ const runtime = await createRuntime({
2608
+ store,
2609
+ plugins: [...plugins, devSignIn],
2610
+ transports: [socket], // copilotz/web/server
2611
+ admit: tickets.admit,
2612
+ });
2613
+
2614
+ // now
2615
+ const runtime = await createRuntime({
2616
+ store,
2617
+ plugins: [
2618
+ ...plugins,
2619
+ devSignIn,
2620
+ webPage,
2621
+ definePlugin({
2622
+ name: "page",
2623
+ resources: {
2624
+ page: { title: "Notes", code: () => bundle(new URL("./browser.tsx", import.meta.url)) },
2625
+ theme: themeOf([]),
2626
+ },
2627
+ }),
2628
+ ],
2629
+ });
2630
+ ```
2631
+
2632
+ 2. **Serving: a listener calls `runtime.fetch`.** On Node and Bun, `listen(runtime.fetch, options)`
2633
+ from `copilotz/web/node` replaces `serve({ runtime, tickets, code, … })`. It answers a
2634
+ `Listener`, whose `shutdown()` stops listening, and you close the runtime yourself
2635
+ (`runtime.close({ drain })`). On Deno, `Deno.serve(runtime.fetch)` replaces serving
2636
+ `webServer({ …, upgrade })` with Oxian's Deno handler, and needs no `setClientAddress`: the
2637
+ runtime reads the socket's address from what `Deno.serve` hands it. On workerd,
2638
+ `export default { fetch: runtime.fetch }`. Bun's own `Bun.serve({ fetch: runtime.fetch })` serves
2639
+ requests but not the runtime's socket, so use `listen` there.
2640
+
2641
+ ```ts
2642
+ // rc.24
2643
+ const server = await serve({ runtime, tickets, code, theme, port: 8080 });
2644
+ process.once("SIGTERM", () => server.close({ drain: 8_000 }));
2645
+
2646
+ // now
2647
+ const server = await listen(runtime.fetch, { port: 8080 });
2648
+ process.once("SIGTERM", async () => {
2649
+ await server.shutdown();
2650
+ await runtime.close({ drain: 8_000 });
2651
+ });
2652
+ ```
2653
+
2654
+ 3. **Settings: flat named entries, one `caller`, and `ctx.fetch`.** Each interface plugin's resource
2655
+ is a map of what the app declares, by name, with no `lines` key. `web.caller` and `mcp.caller`
2656
+ are one `caller` resource. `caller.exempt` is the MCP server's own `exempt`, `voice.keep` each
2657
+ number's `keep`, and `mcp.atOnce` each server's `limits.atOnce`; `whatsapp.codeMinutes` and
2658
+ `whatsapp.maxFileMb` are constants now, and a declared entry's `org` is gone (each org's runtime
2659
+ declares its own). Types: `WhatsAppLine` is `DeclaredNumber`, `VoiceLine` `DeclaredVoiceNumber`,
2660
+ `McpLine` `DeclaredServer`, `WebLine` `DeclaredSite`, and `McpCaller` `CallerSettings`. Plugin
2661
+ code calls outside services through `ctx.fetch` (step 10), so the `whatsapp.graph` setting,
2662
+ Stripe's `settings.fetch`, `googleKeys(fetcher)`'s argument and openapi's `fetch` setting are
2663
+ gone.
2664
+
2665
+ ```ts
2666
+ // rc.24
2667
+ resources: {
2668
+ web: {
2669
+ caller: { header: "cf-connecting-ip", front },
2670
+ lines: { site: { in: "visitors", agent: "guide" } },
2671
+ },
2672
+ whatsapp: {
2673
+ lines: { vendas: { in: "customers", phoneId, token, secret, verify, agent: "mobi" } },
2674
+ },
2675
+ mcp: { atOnce: 4, lines: { chatgpt: { in: "customers", tools } } },
2676
+ }
2677
+
2678
+ // now
2679
+ resources: {
2680
+ caller: { header: "cf-connecting-ip", front },
2681
+ web: { site: { in: "visitors", agent: "guide" } },
2682
+ whatsapp: { vendas: { in: "customers", phoneId, token, secret, verify, agent: "mobi" } },
2683
+ mcp: { chatgpt: { in: "customers", tools } },
2684
+ }
2685
+ ```
2686
+
2687
+ 4. **Routes: plain functions on a plugin.** The `routes` resource goes, with its three shapes
2688
+ (`{ path, action }`, `{ path, serve }`, `{ host, serve }`), `methods`, `HttpRequest`,
2689
+ `HttpAnswer` and `Served`. A plugin's `routes` field maps a `URLPattern` pathname to a `Route`:
2690
+ `(request, { runtime, actor, params, cookies }) => Response`. A path that took everything under
2691
+ it (`"/hooks/"`) is `"/hooks/*"`; a host route is a whole URL pattern (`"*://*-preview.*:*/*"`);
2692
+ a route checks its own method. `host.runtime` is `ctx.runtime`, `await host.whom()` is
2693
+ `ctx.actor`, `host.host` is the request's own URL (already the site the browser asked for),
2694
+ `host.upgrade()` is Oxian's `upgradeWebSocket(request)`, and `host.widgets` is the `widgets`
2695
+ resource. A route calls Actions as trusted code, as the system unless it names an actor
2696
+ (`runtime.call(name, input, { actor })`): an Action that took an `HttpRequest` behind
2697
+ `{ path, action }` takes plain data now, and one only a route calls needs no `allow`.
2698
+
2699
+ ```ts
2700
+ // rc.24
2701
+ resources: {
2702
+ routes: {
2703
+ ping: {
2704
+ path: "/hooks/ping",
2705
+ methods: ["POST"],
2706
+ serve: async (request, host) =>
2707
+ Response.json(await host.runtime.call("relay.ping", { body: await request.text() })),
2708
+ },
2709
+ },
2710
+ },
2711
+
2712
+ // now
2713
+ routes: {
2714
+ "/hooks/ping": async (request, { runtime }) => {
2715
+ if (request.method !== "POST") return new Response("Only POST", { status: 405 });
2716
+ return Response.json(await runtime.call("relay.ping", { body: await request.text() }));
2717
+ },
2718
+ },
2719
+ ```
2720
+
2721
+ 5. **Sign-in: plugins' routes, `who`, and the runtime's cookies.** The `entrances` and `signIn`
2722
+ resources go. Apps on `googleSignIn` and `devSignIn` change nothing: their routes are
2723
+ `POST /signin/google` (with `GET /google` for the button's client id) and `/signin/dev`, which
2724
+ the page already used. A sign-in method of your own is a plugin built on identity whose route
2725
+ calls its Action and answers with identity's `signedIn` (from `copilotz/plugins/access`), which
2726
+ sets the session's cookie. A credential of your own (an entrance's `cookie` and `query`) is a
2727
+ plugin's `who`, and its cookie is set and cleared with `ctx.cookies`: no plugin writes
2728
+ `Set-Cookie`. Identity's `POST /signout` ends the session, disconnects its browsers and clears
2729
+ its cookie; its `GET /me` says whom the page shows.
2730
+
2731
+ ```ts
2732
+ // rc.24
2733
+ resources: {
2734
+ signIn: { mine: { action: "mine.sign-in" } },
2735
+ entrances: { badge: { cookie: "badge", query: "badge.actor" } },
2736
+ },
2737
+
2738
+ // now
2739
+ definePlugin({
2740
+ name: "mine-sign-in",
2741
+ requires: ["identity"],
2742
+ actions: { "mine.sign-in": signInAction }, // answers { person, session }, as before
2743
+ routes: {
2744
+ "/signin/mine": async (request, { runtime, cookies }) =>
2745
+ signedIn(cookies, await runtime.call("mine.sign-in", await request.json())),
2746
+ },
2747
+ who: (_request, { cookies, query }) => {
2748
+ const secret = cookies.get("badge");
2749
+ return secret ? query("badge.actor", { secret }) : null;
2750
+ },
2751
+ });
2752
+ ```
2753
+
2754
+ 6. **The site chat: its own route.** `web({ arrive: { line } })` is `web({ arrive: { name } })`. The
2755
+ page posts to the site chat's route, `POST /web/<name>` (with `{ challenge }` when it has one),
2756
+ before it connects, and `/connect` takes no JSON. `contact.arrive` loses its `secret` input. The
2757
+ cookie (`visitor`) and the limits are the same.
2758
+
2759
+ ```tsx
2760
+ // rc.24
2761
+ await web({ root, plugins: [siteShell, chatWeb], arrive: { line: "site", challenge: token } });
2762
+
2763
+ // now
2764
+ await web({ root, plugins: [siteShell, chatWeb], arrive: { name: "site", challenge: token } });
2765
+ ```
2766
+
2767
+ 7. **Keys: members of their space, with a scope.** Every key is the api plugin's, and every key has
2768
+ a scope: `api_key.create` takes `scope` (`call`, `query`, `view`, `read`, `write`) in place of
2769
+ `actions`, `queries` and `views`, and `apiPresets` are `{ title, description, scope }`. An Action
2770
+ that takes a space gets no default from a key: the key names `in`. Identity's unscoped keys
2771
+ (`key.create`, `key.revoke`, `credential.keys`) are gone. Keys made before stop working: make
2772
+ them again.
2773
+
2774
+ ```ts
2775
+ // rc.24
2776
+ await runtime.call("api_key.create", {
2777
+ in: space,
2778
+ name: "Bot",
2779
+ actions: ["chat.send"],
2780
+ queries: ["thread.recent"],
2781
+ }, { actor });
2782
+
2783
+ // now
2784
+ await runtime.call("api_key.create", {
2785
+ in: space,
2786
+ name: "Bot",
2787
+ scope: { call: ["chat.send"], query: ["thread.recent"] },
2788
+ }, { actor });
2789
+ ```
2790
+
2791
+ 8. **REST and the client.** `/api/` is the runtime's own now (the api plugin's `serveApi` is gone),
2792
+ answered for whoever `who` says: a key, a session from the app's own page, or anonymous. Its
2793
+ paths are unchanged, with more beside them (below). A View over `/api/` asked with `?follow=1` is
2794
+ asked with `Accept: text/event-stream`, and `?id=` is `?item=` (the item, as JSON). A script
2795
+ connects with the client instead of hand-made requests, over the socket or over HTTP, and its
2796
+ collections are spelled as plugin code's.
2797
+
2798
+ ```ts
2799
+ // rc.24
2800
+ const headers = { authorization: `Bearer ${key}`, "content-type": "application/json" };
2801
+ await fetch(`${app}/api/actions/booking.cancel`, {
2802
+ method: "POST",
2803
+ headers,
2804
+ body: '{"id":"42"}',
2805
+ });
2806
+ await fetch(`${app}/api/views/booking.panel?id=42&follow=1`, { headers });
2807
+
2808
+ // now
2809
+ const client = await connect(app, { key }); // the socket; { key, over: "http" } for the REST API
2810
+ await client.call("booking.cancel", { id: "42" });
2811
+ const stop = client.db.collection("booking").watch({ _id: "42" }, (rows) => show(rows));
2812
+ // by hand: GET /api/views/booking.panel?item={"_id":"42"}, with Accept: text/event-stream
2813
+ ```
2814
+
2815
+ 9. **Many orgs: the directory's routes.** `orgsHost` (`copilotz/orgs`) goes. The directory's runtime
2816
+ is the app's `fetch`, and its plugin's routes forward each request, untouched and sockets
2817
+ included, to its org's runtime. Its `directory` resource takes the orgs' runtimes as a pool
2818
+ (`orgs`: `runtimes(open)`, from `copilotz`) and a `lobby` for someone signed in nowhere (a
2819
+ runtime with the page), beside `staff` and `operations`; `hosts` is the `hosts` resource's `own`.
2820
+ Each org's runtime gets `directory.member(dir, org)`, in place of what `open` was given
2821
+ (`plugins`, `admit`, `transports`) and of `here(org)`. `listen(dir.fetch)` carries sockets too:
2822
+ no `hypervisor` picker. `org.get` is the `org.info` query, and front ends import the orgs'
2823
+ browser half (`useOrgs`, `enterOrg`…) from `copilotz/plugins/access/web`. Stripe's webhook is the
2824
+ `stripeWebhook` plugin, in the directory's runtime with the pool as the `stripe` resource's
2825
+ `orgs` (below).
2826
+
2827
+ ```ts
2828
+ // rc.24
2829
+ const host = orgsHost({
2830
+ directory: await createRuntime({ store, plugins: [identity, directory, devSignIn] }),
2831
+ open: async (org, given) =>
2832
+ await createRuntime({
2833
+ store: storeOf(org),
2834
+ plugins: [...plugins, ...given.plugins],
2835
+ transports: given.transports,
2836
+ admit: given.admit,
2837
+ browsers: given.browsers,
2838
+ }),
2839
+ upgrade: () => new Response("Connect again", { status: 503 }),
2840
+ code,
2841
+ theme,
2842
+ });
2843
+ await listen({ fetch: host.serve, hypervisor: (r) => host.openRuntime(r)?.hypervisor, port });
2844
+
2845
+ // now
2846
+ const orgs = runtimes(async (id) => {
2847
+ const org = await dir.query<OrgInfo | null>("org.info", { org: id });
2848
+ if (!org) return undefined;
2849
+ return await createRuntime({
2850
+ store: await storeOf(org),
2851
+ plugins: [...plugins, ...page, directory.member(dir, org)], // page: webPage and its resource
2852
+ browsers: { pool: visitors }, // const visitors = contactsPool()
2853
+ });
2854
+ });
2855
+ const lobby = await createRuntime({ store: memoryStore(), plugins: page });
2856
+ const dir: Runtime = await createRuntime({
2857
+ store,
2858
+ plugins: [
2859
+ identity,
2860
+ directory,
2861
+ devSignIn,
2862
+ definePlugin({
2863
+ name: "directory-settings",
2864
+ resources: { directory: { orgs, lobby } },
2865
+ }),
2866
+ ],
2867
+ });
2868
+ await listen(dir.fetch, { port });
2869
+ ```
2870
+
2871
+ 10. **Tests: `testWho`, `ticketFor`, `runtime.fetch` and `createRuntime({ fetch })`.** A test that
2872
+ made browsers with `createRuntime({ admit })` adds `testWho` (from `copilotz/testing`: a `who`
2873
+ that believes the `x-test-actor` header, for tests alone) and takes each ticket from the
2874
+ runtime's `/connect` with `ticketFor(runtime, actor)`. HTTP needs no listener:
2875
+ `await runtime.fetch(new Request(url, init))`. A fake outside service (Meta's Graph API, Stripe,
2876
+ Google's keys) is the `fetch` the runtime gives plugin code, as `clock` is replaced.
2877
+
2878
+ ```ts
2879
+ // rc.24
2880
+ const tickets = new Map<string, Actor>();
2881
+ const runtime = await createRuntime({
2882
+ store,
2883
+ plugins: [
2884
+ ...plugins,
2885
+ definePlugin({ name: "t", resources: { whatsapp: { graph: fake.url } } }),
2886
+ ],
2887
+ transports: [transport],
2888
+ admit: (secret) => tickets.get(secret),
2889
+ });
2890
+ const ticket = () => {
2891
+ const secret = crypto.randomUUID();
2892
+ tickets.set(secret, ana);
2893
+ return Promise.resolve(secret);
2894
+ };
2895
+
2896
+ // now
2897
+ const runtime = await createRuntime({
2898
+ store,
2899
+ plugins: [...plugins, testWho],
2900
+ transports: [transport],
2901
+ fetch: fakeMeta,
2902
+ });
2903
+ const ticket = () => ticketFor(runtime, ana);
2904
+ const hook = await runtime.fetch(new Request("http://localhost/hooks/whatsapp/vendas", init));
2905
+ ```
2906
+
2907
+ **What changes, and what goes:**
2908
+
2909
+ - **`runtime.fetch(request, info?)`** answers every request: a route with a host first (a host it
2910
+ takes is that route's alone); the socket (`/oxian`, and `<base>/oxian`); then requests from other
2911
+ sites are refused; `POST /connect`; the REST API (`/api/`); plugins' routes; `GET /health` when no
2912
+ route takes it (`ok`); else a 404. What a listener passes beside the request (Deno's `info`, Bun's
2913
+ server) says the socket's address. Another runtime's route may forward a request to it
2914
+ (`other.fetch(request)`), sockets included: a socket `Deno.serve` gave stays Deno's to accept. The
2915
+ runtime accepts its own socket: Deno's upgrade under `Deno.serve`, a `WebSocketPair` on workerd
2916
+ (not tested yet), else Oxian's route upgrade, whose decision `listen` takes directly (Oxian
2917
+ 0.23.4's asynchronous `prepare`).
2918
+ - **The site** is decided once, before anything else: the address the browser asked for, on the host
2919
+ the app's front says when the request carries the front's secret (`x-copilotz-front`, the `caller`
2920
+ resource's `front`; then `x-forwarded-host`), and under the app's base (`resources.page.base`: a
2921
+ route sees `/o/acme/x` as `/x`). Routes are matched, and cookies named and secured, by it. Without
2922
+ the secret, forwarded headers are ignored.
2923
+ - **Requests from other sites are refused** (403), in one rule in place of the web host's
2924
+ `fromPage`: a request that may change something (anything but GET, HEAD and OPTIONS), whose
2925
+ `Sec-Fetch-Site` isn't `same-origin` (or `none`) or whose `Origin` isn't the site's own, unless it
2926
+ carries `Authorization`. It holds for every route, not only `/connect`; a sibling host under the
2927
+ same domain is another site; webhooks send no `Origin`, and pass. So an MCP server's `origins`
2928
+ lets a browser's call through only with `Authorization`.
2929
+ - **`resources.hosts`** (`{ own: ["app.example.com", "*.run.app"] }`): the app's own hosts. With
2930
+ them named, a request to any other host is answered only by routes that take its host (a 404 when
2931
+ none does), never by the runtime's paths, its socket or `/connect`; and the app's own hosts are
2932
+ never a host route's. A host route for every host (`*`) takes only hosts that aren't the app's
2933
+ own: with none named, none.
2934
+ - **`who`** (`Plugin.who`, the `Who` and `WhoContext` types): asked in plugin order, once per
2935
+ request and when `/connect` issues a ticket; the first answer wins, and none is anonymous
2936
+ (`{ kind: "anonymous", id: "" }`). A `who` can't answer the system. What it queries is kept five
2937
+ seconds per query and params, and dropped when the actor is disconnected. `WhoContext` has
2938
+ `resources`, `query` and `call` (as the system: the api plugin notes a key's last use) and
2939
+ `cookies.get`. A request with both a session cookie and a key is whoever the first plugin in order
2940
+ says (usually the cookie). A store's failure while asking is a 500, never anonymous.
2941
+ - **Routes** (`Plugin.routes`, the `Route` and `RouteContext` types): matched more specific first,
2942
+ segment by segment (a literal before a parameter before a wildcard, deeper before shallower), `/*`
2943
+ last, and among patterns alike in plugin order; a later plugin's route replaces an earlier one of
2944
+ the same pattern, and `null` removes it. A route that isn't a pattern, or takes `/connect`,
2945
+ `/oxian`, `/api` or anything under `/api/`, stops the runtime from starting. What a route throws
2946
+ answers by its code: `invalid` 400, `unauthorized` 401, `forbidden` 403, `not_found` 404,
2947
+ `too_many` 429 (with `retry-after`), anything else 500 (logged), its words only when they're
2948
+ public.
2949
+ - **Cookies** (`ctx.cookies`, the `Cookies` type): `get(name)`,
2950
+ `set(name, secret, { days, sameSite })` and `clear(name, { sameSite })`, by the plain name; the
2951
+ runtime puts them on the route's response. Every cookie is httpOnly, `Path=/`, with no `Domain`;
2952
+ `Secure` and named `__Host-<name>` anywhere but plain http to this machine or one on its network;
2953
+ `SameSite=Lax` (30 days) unless said. A value is 1 to 512 cookie-safe characters (letters, digits
2954
+ and `._~+/=-`): a short one is fine where it's no secret; a cookie holding anything else reads as
2955
+ none. A response that sets or clears one is `no-store`. A name is the first plugin's to set;
2956
+ another may only when one builds on the other (`requires`), or both on the same one (Google's and
2957
+ dev sign-in's, and the directory's sign-out, all set identity's session); anything else is a
2958
+ plugin's mistake, and a 500. The `cookies` resource (`{ names, suffix }`, the `CookieSettings`
2959
+ type) renames them: `names` maps a name to the one it goes by, and `suffix` follows every other.
2960
+ - **Cookies the web host kept, and no longer does:** a leftover plain `session` cookie beside
2961
+ `__Host-session` is no longer cleared (it's ignored); a cookie that proves no one (forged, ended)
2962
+ is no longer cleared, and reads as nobody; `POST /signout` clears identity's `session` only (a
2963
+ site visitor's cookie stays).
2964
+ - **Tickets are the runtime's** (`runtime/tickets.ts`): one works once, for a minute; an actor has
2965
+ 30 a minute (`browsers.tickets`), past which `/connect` is a 429 with `retry-after`. Disconnecting
2966
+ an actor ends its tickets not yet used; a person's key has its own, apart from its person's.
2967
+ `createRuntime`'s `admit` is gone, and the runtime always has a key for remote executors (a new
2968
+ one each start, unless given).
2969
+ - **`POST /connect`** (POST only: else 405) answers `{ ticket, actor: { kind, id } }` (no `name`:
2970
+ the page asks `GET /me`), 401 for anonymous, and reads no body: arriving at a site chat is
2971
+ `POST /web/<name>`.
2972
+ - **Checked at start:** routes' patterns, `page.base` (a path with no trailing slash), the `cookies`
2973
+ and `hosts` resources, and the `links` secret (too short to sign with stops the start, rather than
2974
+ failing each link).
2975
+ - **New in `copilotz`:** `runtimes` and `Runtimes`; `connect` and the client's types
2976
+ (`ClientCollection`, `RemoteOptions`, `Watcher`…); `inScope` and `Scope`; `clientAddress`,
2977
+ `setClientAddress` and `loopbackAddress` (were in `copilotz/web/server`); `bodyOf` and `jsonOf`;
2978
+ `cookieSafe` and `CookieSettings`; `hostMatches`, `HostsSettings`, `ownHost`, `vouched`,
2979
+ `loopback` and `nearby`; `callerOf` and `exemptProblem`; and the `Route`, `RouteContext`, `Who`,
2980
+ `WhoContext` and `Cookies` types.
2981
+ - **`runtimes(open, { idleMs })`:** runtimes by id, each opened on its first `get`, the same one
2982
+ after (a failed opening is tried again), closed once idle (no browsers, nothing pending, 30
2983
+ minutes unless said) and opened again on its next use; `peek(id)` and `entries()` never open one;
2984
+ `close(id)` closes one now, and a `get` meanwhile opens another only once it has closed, so one id
2985
+ never has two writers; `close()` closes them all.
2986
+ - **`listen(fetch, { hostname, port, signal })`** (was `listen({ fetch, hypervisor, … })`) serves
2987
+ any fetch handler on Node, Bun and Deno through Oxian's Node adapter, sockets included, and
2988
+ answers a `Listener` (`url`, `finished`, `shutdown()`). `serve`, `ServeOptions` and `Server` are
2989
+ gone.
2990
+ - **The page plugin** (`webPage`, `copilotz/web/server`): `/app/*` (the code; the entry `no-cache`,
2991
+ chunks kept a year), `/assets/*`, `/manifest.webmanifest`, `/sw.js`, and `/*` for GET navigations
2992
+ only (`Sec-Fetch-Mode: navigate`, or an `Accept` with HTML, `*/*` or none): a script's `fetch`
2993
+ there is a 404, not the page. Its `/*` takes `GET /health` too, so the runtime's `ok` answers only
2994
+ an app without a page (with a page, `/health` was the page before as well). It refuses to start
2995
+ without `page.code`. The page tells its code the base (`appBase()`), and its `/connect` and socket
2996
+ follow it.
2997
+ - **The page in the browser:** `web()` posts to `/web/<name>` first when it arrives as a visitor
2998
+ (`arrive: { name, challenge? }`), asks identity's `GET /me` for the person's name while it takes
2999
+ its ticket, and finds the ways to sign in by asking `GET /google` and `GET /signin/dev`.
3000
+ - **Sign-in and sign-out are plugins' routes:** identity's `POST /signout` (ends the session,
3001
+ disconnects whoever it was, clears the cookie) and `GET /me` (401 for anyone but a person), and
3002
+ its contract's `signedIn` (sets the session's cookie, `SameSite=Lax` so an OAuth redirect back
3003
+ carries it, and answers `{ person }`); Google's `POST /signin/google` (`{ idToken }`) and
3004
+ `GET /google` (the first client id, cached five minutes); dev sign-in's `/signin/dev` (GET says
3005
+ it's there, POST `{ name }` signs in), from this machine only, as before. Nothing refuses to start
3006
+ with a recorded sign-in Action any more (the web host did): keep yours `record: false`, since its
3007
+ answer is the session's secret. `credential.revoke` (taking someone out of an org) disconnects
3008
+ their browsers and drops what `who` kept for them, so their next request is nobody at once.
3009
+ - **Webhooks and other plugins' HTTP are routes; their URLs are unchanged:**
3010
+ - WhatsApp: `/hooks/whatsapp/*` does Meta's handshake and checks the signature, then calls
3011
+ `whatsapp.receive` with `{ number, payload }`; `whatsapp.number` finds a number by its path.
3012
+ Both are the system's (no `allow`); `whatsapp.hook` is gone. `hookRoute` is exported, for a
3013
+ number's own path.
3014
+ - Voice: `/hooks/voice/<name>` and `/hooks/voice/<name>/over` check Twilio's signature and call
3015
+ `voice.ring` and `voice.hangup` (`voice.hook` is gone); `/hooks/voice/<name>/relay` takes the
3016
+ call's socket with Oxian's `upgradeWebSocket`.
3017
+ - MCP: `/mcp/*`, finding the app's widgets in the `widgets` resource (was
3018
+ `webServer({ widgets })`).
3019
+ - Maintenance: `/maintenance/*`; an org's runtime (`resources.org`) still never serves it.
3020
+ - Chat: `GET /files/<id>` is chat's route (was the web host's), read as whoever the request is, or
3021
+ by a link signed for the file.
3022
+ - Connected accounts: `GET /accounts/callback/<provider>` calls `account.callback` with
3023
+ `{ provider, code, state, error? }` as the session's person, and sends them back to Connected
3024
+ accounts.
3025
+ - Computers: previews are one route for every host shaped like a preview's
3026
+ (`*://*-preview.*:*/*`), answering only for the app's `previews.domain`, with the grant at
3027
+ `/__copilotz/previews/grant`; a release's downloads (`computerDownloads({ dir })`) are
3028
+ `/computer/download/*`.
3029
+ - Stripe: `stripeWebhook` is a plugin (was a function the app routed to by hand),
3030
+ `POST /__stripe/<seller>`: it checks the signature on the raw text, reads the event as facts
3031
+ (`stripe.fact`, asking Stripe for a dispute's charge through `ctx.fetch`), and hands them to the
3032
+ org's runtime as `billing.apply` under the event's id. Which runtime is the org's: the `stripe`
3033
+ resource's `orgs` (the directory's pool), or without them this runtime, when the event is for
3034
+ its org. The plan an org goes back to is the `billing` resource's `start` ("free" unless said),
3035
+ not a `start` option. What can be tried again answers 500; what never can, 200.
3036
+ - The cloud pool: its VMs' socket (`/__pool/oxian`) is `cloudPool`'s route, answered by its
3037
+ runtime's own socket.
3038
+ - **The site chat:** `POST /web/<name>` limits newcomers by address, runs the site's challenge,
3039
+ calls `contact.arrive` and sets the visitor cookie (`SameSite=Strict`); the site chat's `who`
3040
+ reads it. `contact_visitor.actor` now answers a visitor that hasn't spoken yet too.
3041
+ - **`ctx.fetch`** (`Context.fetch`, `ReadContext.fetch`): what plugin code calls outside services
3042
+ with, in Actions, Processors and queries, remote executors included; the platform's `fetch` unless
3043
+ `createRuntime({ fetch })` gives another. Adapters stay for real ports (model providers).
3044
+ - **The REST API is the runtime's own** (`/api/`, answered by `runtime.fetch` for whoever `who`
3045
+ says): collections (`GET /api/collections/<name>?filter=…`, `…/<id>`; `POST`, `PATCH`, `PUT`,
3046
+ `DELETE`), Actions by the caller's own call id (`Idempotency-Key`), queries (`GET ?params=` or
3047
+ `POST`), Views, emits (`POST /api/events/<type>`), the events stream, and the reference
3048
+ (`GET /api/`); any GET with `Accept: text/event-stream` is a watch. A credential that proves
3049
+ nobody is a 401, and so is a refusal to anonymous. Any origin may call it with a key; with a
3050
+ session's cookie, only the app's own page. Streams end at once when their actor is disconnected,
3051
+ and at each ping (every 20 s, on the runtime's clock) when `who` says someone else. The api
3052
+ plugin's `serveApi`, `Served`, its own HTTP, events and reference, and its `api_key.see` and
3053
+ `api_key.get` queries are gone; the reference says `actor` (no `key` record).
3054
+ - **Direct writes from outside** (REST, and the socket's new `core.write`): only where a rule speaks
3055
+ for the collection's writes (`Guard`'s operation gains `direct`), never `sys.*`, never a private
3056
+ field (nor a filter, sort or update that names one, over the socket too; a replacement keeps
3057
+ them), within the caller's reach, schema-checked, and recorded as the caller's events.
3058
+ **Breaking:** plugins' records change through their Actions: their rules refuse direct writes for
3059
+ spaces, memberships, invitations and requests; identity's people and sessions; keys; contacts;
3060
+ chat's messages, `live`, threads, files and what was shown (`shown`); memories; skills and their
3061
+ files; routines and their runs; the computers plugin's records; apps; cloud computers; agents;
3062
+ accounts; WhatsApp's phones and numbers; and voice blocks. Still writable directly, each under its
3063
+ rule: apps' own collections (an app guards its own the same way when its rules assume its
3064
+ Actions). Following events or watching a read holds a request open: an anonymous caller gets 401.
3065
+ The events stream follows the rules: a change is sent when the reader's rule matches the event's
3066
+ document.
3067
+ - **Identity: only a session proves someone.** `credential.actor` asks for `kind: "session"`: a key
3068
+ identity made before (`kind: "key"`, unscoped) proves nobody.
3069
+ - **The client** (`connect`, from `copilotz` and `copilotz/web`): `client.db.collection(name)`
3070
+ (`find` with `.toArray()`, `findOne`, `countDocuments`, `insertOne`, `updateOne`, `replaceOne`,
3071
+ `deleteOne`, `query`, `watch(filter, options?, onChange)`), `client.call(action, input, { id })`,
3072
+ and `connect(url, { key, over: "socket" | "http", plugins?, fetch? })` for scripts, beside the
3073
+ page's `connect({ transport, ticket, plugins })`. The socket gains a call's own id.
3074
+ - **Developer keys** are members of their space, with a scope. A key's actor is
3075
+ `{ kind: "person", id, key, scope }` (`within` is gone): `people` still lets it in and `inPerson`
3076
+ keeps it out. It's a member of its space (`key:<id>`), an editor when its scope calls or writes,
3077
+ else a viewer, never more than its person may be there, and reaches what both its membership and
3078
+ its person reach, with no org role (an admin's key reaches only its space). Its `scope` (exact
3079
+ names, no wildcards) is checked by the runtime (`inScope`) only where a call from outside comes
3080
+ in: calls, queries, Views rendered for it, direct reads and writes; a scoped actor emits nothing.
3081
+ Never inside a job: an Action it may call writes as usual. `api_key` records keep `scope` and
3082
+ `role`; their id is the start of the secret's hash (`hash` is private); they live in their space
3083
+ (`shared`), where its members see them in the Members tab and its managers revoke them.
3084
+ `api_key.actor` answers the actor; `api_key.revoke` (its person, or a manager) ends the key, its
3085
+ membership and its connections, and so does its person leaving the space or the org;
3086
+ `ctx.disconnect` of a key ends only its own. Spaces add `spaceMembers` (a section of the Members
3087
+ tab). A key's default space is gone: the runtime knows no spaces, and REST and the socket must
3088
+ behave the same.
3089
+ - **Identity makes no keys:** `key.create`, `key.revoke` and `credential.keys` are gone, and a
3090
+ credential is a session. People and sessions change only through identity's Actions.
3091
+ - **Many orgs, by forwarding** (see design/tenancy.md): the directory's routes forward `/o/<org>/…`
3092
+ to that org (404 for none, 403 when suspended), `/*` to the org the browser is in (a page asked
3093
+ for without a session there goes in first, to the org they were in, else their last, else their
3094
+ own, made now, then 302s back), and a host an org claimed to that org's host routes; anything else
3095
+ for someone signed in nowhere is the lobby's (without one, a 401). Entering an org (`POST /orgs`,
3096
+ `/orgs/enter`, `/orgs/invites/answer`, and a page's way in) is `org.enter`, then a signed handoff,
3097
+ a minute long and never out of the process, to the org's own `POST /enter`, which keeps who they
3098
+ are, joins them the first time, starts its session and sets its cookie (`s_<org>`). The
3099
+ directory's own: `GET /orgs`, `POST /signout` out of every org it holds a session for (each ended
3100
+ where its org is open; signing out never opens one), staff's `/console/orgs…` and
3101
+ `/console/codes…`, and the front's `/__copilotz/hosts/resolve` on any host. `directory.member`
3102
+ gives each org's runtime `resources.org` (id, name, kind, address), `page.base`, its cookies'
3103
+ names (`{ names: { session: "s_<org>" }, suffix: "_<org>" }`), the app's own hosts, the
3104
+ directory's hooks (invitations, leaving, renaming, claiming and releasing hosts, gift codes) and
3105
+ its `/enter`. The directory's session is still `__Host-dir` (the directory plugin's `cookies`
3106
+ resource), and which org a browser is in, `__Host-org`. `org.info` (a query, in place of the
3107
+ `org.get` Action) is kept 10 seconds, hosts' claims a minute, each forgotten at once when the
3108
+ directory changes it. The orgs host's tests are ported (`plugins/access/tests/orgs*.test.ts`).
3109
+ - **Removed entry points and exports:** `copilotz/web/tickets` (`createTickets`) and `copilotz/orgs`
3110
+ (`orgsHost`). From `copilotz/web/server`: `webServer`, `WebServerOptions`, `socket`, `Entrance`,
3111
+ `SignIn`, `Arrived`, `Door`, `Whom`, `whomOf`, `cookieOf`, `hostCookie`, `setCookie`, `siteOf`,
3112
+ `ANONYMOUS` (write `{ kind: "anonymous", id: "" }`), `Front`, `hostOf`, `HttpRequest`,
3113
+ `HttpAnswer`, `httpRequest`, `Route` (now the runtime's, a function), `RouteSocket` and `Served`;
3114
+ `clientAddress`, `setClientAddress` and `hostMatches` moved to `copilotz`. From `copilotz/web`:
3115
+ the orgs' browser half (now `copilotz/plugins/access/web`). From `copilotz/web/node`: `serve`,
3116
+ `ServeOptions` and `Server`. From `copilotz/plugins/interfaces`: `serveApi`, `WebLine` and the
3117
+ other `*Line` types. The `entrances`, `signIn` and `routes` resources; `createRuntime`'s `admit`;
3118
+ the actor's `within`; `whatsapp.hook` and `voice.hook`.
3119
+
3120
+ - **Oxian 0.23.5:** the Node adapter keeps an error listener on each request and response for their
3121
+ whole life, so a client leaving mid-response (a server-sent stream it stops) never reaches the
3122
+ process as an unhandled error (it did under Bun).
3123
+
3124
+ ## 1.0.0-rc.24 — 2026-11-06
3125
+
3126
+ **Upgrading from rc.23** (two breaking renames; no aliases, no data moves):
3127
+
3128
+ 1. **Views are found by name alone; the medium is gone.** Flatten `views`:
3129
+ `{ "booking.panel": { web: BookingPanel } }` becomes `{ "booking.panel": BookingPanel }` (`Views`
3130
+ is `Record<string, View>`). `render(medium, name, item, options)` and
3131
+ `observe(medium, name, item, options)` lose their first argument:
3132
+ `ctx.render("llm", "thread", t)` is `ctx.render("llm.thread", t)`,
3133
+ `client.observe("web", "booking.panel", item)` is `client.observe("booking.panel", item)`.
3134
+ `ViewContext` loses `medium`, and its `kind` is now `name`. `ctx.show(name, item)` shows exactly
3135
+ the View it names: there is no inheritance by place. The `"*"` fallback is gone; the hosts ask
3136
+ for their own default (`web.default`, `terminal.default`) when a name has no View.
3137
+ `runtime.describe().views` is the list of names. `GET /api/views/<name>` takes the name
3138
+ (`llm.thread`) and no longer reads `?medium=`; API keys that list a View by `thread` or `message`
3139
+ list `llm.thread` or `llm.message`. An MCP widget's `_meta` names the View without a medium.
3140
+ Where the same thing is shown in several places the name takes the place as a prefix; seven kinds
3141
+ were renamed:
3142
+ | Was | Is |
3143
+ | ------------------------- | ------------------------------------------------------------------------------------------- |
3144
+ | `message` | `llm.message`, `web.message`, `terminal.message`, `whatsapp.message`, `voice.message` |
3145
+ | `thread` | `llm.thread`, `web.thread`, `terminal.thread` |
3146
+ | `memory` | `llm.memory`, `terminal.memory` |
3147
+ | `live`, `shell`, `spaces` | `web.live`, `web.shell`, `web.spaces`; `terminal.live`, `terminal.shell`, `terminal.spaces` |
3148
+ | `*` | `web.default`, `terminal.default` |
3149
+
3150
+ Every other name stays (`tool:<name>`, `context:<name>`, `addition:<name>`, `mcp:offered`, and
3151
+ the rest). The last plugin to register a name still wins, so an app replaces WhatsApp's message
3152
+ with its own `whatsapp.message`. A page's address still names its View as before
3153
+ (`/thread/<id>`): the web shell looks for that name, then `web.<name>`, then `web.default` (hint
3154
+ `of` names the address's kind); the terminal's `open` does the same with `terminal.`.
3155
+ 2. **The anonymous actor is `anonymous`, not `visitor`:** a request nobody is signed in to is
3156
+ `{ kind: "anonymous", id: "" }` (`VISITOR` is `ANONYMOUS` in `copilotz/web/server`). Rules that
3157
+ named `visitor` name `anonymous` (identity's `callback` allows `person` or `anonymous`). The
3158
+ `visitor` entrance and its cookie keep their names. `runtime/actor.ts` now lists all six kinds
3159
+ (person, agent, contact, system, maintenance, anonymous); `routine` is an origin and `space` a
3160
+ kind of member, not actors.
3161
+
3162
+ - **Oxian 0.23.4:** its adapters await an asynchronous `prepare`, so a front serving several
3163
+ runtimes behind one listener can open the right one before deciding a socket upgrade.
3164
+
3165
+ ## 1.0.0-rc.23 — 2026-11-05
3166
+
3167
+ **Upgrading from rc.22** (three renames and one host change; nothing else needs doing):
3168
+
3169
+ 1. **`renderer` is `medium`:** rename `ctx.renderer` to `ctx.medium` in Views and in hand-made test
3170
+ contexts (`renderer: "web"` to `medium: "web"`). No alias.
3171
+ 2. **Web lines moved to the web interface:** add `webLines` beside `...access`
3172
+ (`plugins: [models, chat, ...access, webLines]`) and import `WebLine`, `WebLimits`, `WebSettings`
3173
+ and `WEB_LIMITS` from `copilotz/plugins/interfaces`. The `contactSend` hook's key is `web` (was
3174
+ `contacts`). No data moves.
3175
+ 3. **One web host:** `serveRoutes`, `routeHost` and `RouteListener` are gone, and so are `serve`'s
3176
+ `google` and `dev` options: declare sign-in with `googleSignIn` and `devSignIn` plugins instead.
3177
+ `serve` answers a `Server` (`close({ drain })`); `/connect` answers `{ ticket, actor, name? }`
3178
+ (`person` is gone).
3179
+
3180
+ - **Breaking: web lines are the web interface's, not contacts'.** `resources.web.lines`, arrival,
3181
+ the `visitor` entrance, the budget, the challenge, prune and the limits moved from
3182
+ `plugins/access/contacts` into `plugins/interfaces/web`, as one plugin, `webLines` (exported from
3183
+ `copilotz/plugins/interfaces`), as WhatsApp's, the phone's and MCP's lines are in theirs. The
3184
+ resource shape is the same (`web: { caller?, lines: { … } }`), and so are the Actions
3185
+ (`contact.arrive`, `contact.sending`, `contact.prune`, `contact.spent`, `contact.budget`) and
3186
+ collections (`contact_visitor`, `contact_rate`): nothing is renamed, so no data moves. Migrate by
3187
+ adding `webLines` beside `...access` (`plugins: [models, chat, ...access, webLines]`) and
3188
+ importing `WebLine`, `WebLimits`, `WebSettings` and `WEB_LIMITS` from
3189
+ `copilotz/plugins/interfaces` instead of `…/access`. Contacts keeps the contact, `contact.start`,
3190
+ `contact.chat` and `contact.forget`; erasing a visitor's contact now ends its cookie and its
3191
+ connections in a processor of `contact.deleted` (`web.forget`), a moment after the erasure, not in
3192
+ the same transaction. The `contactSend` hook's key is `web` (was `contacts`).
3193
+ - **Breaking: `renderer` is `medium`.** The docs said "medium" and the API said `renderer`; now one
3194
+ word. A View's context field `ctx.renderer` is `ctx.medium`, and the wire/owner `render` job's
3195
+ `renderer` field is `medium`. Migrate by renaming `ctx.renderer` to `ctx.medium` (and a test's
3196
+ hand-made context `renderer: "web"` to `medium: "web"`); `render(medium, kind, item)` already took
3197
+ the medium by position. The medium names are unchanged (`llm`, `web`, `terminal`, `whatsapp`,
3198
+ `voice`). No alias.
3199
+ - **One web host, its parts from the app's plugins.** `serve` (and `webServer` beneath it) is the
3200
+ host for every app: routes from `routes` resources, as before; the page and its code from `code`
3201
+ (none: no page, the routes and `/health`); who a browser is from a new `entrances` resource; how
3202
+ people sign in from a new `signIn` resource; browsers connecting with `tickets` (none: no browser
3203
+ connects). `serveRoutes`, `routeHost` and `RouteListener` are gone, and so are the host's `google`
3204
+ and `dev` options; `serve` answers a `Server`, whose `close({ drain })` stops listening and then
3205
+ closes the runtime.
3206
+ - **Entrances:** each is a cookie and the query that says who its secret is (`{ secret }` in, an
3207
+ actor out), asked in `order`; one may let a newcomer in on `POST /connect` (`arrive`, given the
3208
+ socket's address and the secret its cookie holds when that's no one yet), and end what it is on
3209
+ sign-out (`end`). The host keeps every cookie (httpOnly; `Secure` but over plain http to this
3210
+ machine or a LAN host, by the host the request is for as the app's front says it; `sameSite` lax
3211
+ or strict; `hostOnly`: `__Host-<name>` wherever it's Secure), clears one that's no one (forged,
3212
+ ended), and never takes a store's failure for no one. Identity declares the session (`session`,
3213
+ host-only, read by `credential.actor`, ended by `session.end`, which now takes `{ secret }` and
3214
+ is unrecorded: its secret was in the log). `/connect` answers `{ ticket, actor, name? }`
3215
+ (`person` is gone); `web()` connects as whoever it is (`start(client, actor)`), and
3216
+ `web({ arrive })` is what the page asks coming in, at the app's `base` (an org's, with many).
3217
+ - **Sign-in:** `POST /signin/<name>` for each way a plugin declares: an unrecorded Action (the
3218
+ host refuses to start with a recorded one), called as the system with the request's JSON,
3219
+ answering `{ person, session }`; `local` ones from this machine only: the socket's address (as
3220
+ the listener saw it, `clientAddress`) and the host must both be loopback, a request whose
3221
+ address nobody set is refused, and so is one carrying any header a proxy adds (`forwarded`,
3222
+ `via`, `x-forwarded-*`, `x-real-ip`, `cf-connecting-ip`…: a proxy on this machine that rewrites
3223
+ `Host` made every request this machine's). `devSignIn` refuses to start in an app whose `links`
3224
+ origin is public (a proxy that adds no header, as nginx's `proxy_pass` as it comes, can't be
3225
+ told from this machine). `googleSignIn` declares `google` (the page shows its button for the
3226
+ first client id); the new `devSignIn` plugin declares `dev` (by name or email, this machine
3227
+ only). The orgs host signs in with whatever its directory declares (`signIn: { at: directory }`
3228
+ for its orgs' pages). `describe()` marks unrecorded Actions (`record: false`).
3229
+ - **Visitors** (the contacts plugin's web lines, `resources.web.lines.<name>`: `in`, `agent`,
3230
+ `title`, `days`, `limits`, `files`, `transcribe`, `org`; `web.caller`, as MCP's; and the app's
3231
+ `links` secret, which visitors' cookies are signed with): a page asking to come in by a line
3232
+ (`{ line }`) that isn't anyone becomes a visitor, its browser keeping a signed secret in a
3233
+ `SameSite=Strict` cookie (`__Host-visitor` wherever it's Secure) that's the same visitor for
3234
+ `days` (30). Coming in makes and keeps nothing, in memory either: the visitor the server issues
3235
+ carries its line (`web`) and its networks' tags (`from`: HMACs, never the address), which its
3236
+ messages are counted by. Its first message (`chat.send`, naming no chat) makes its contact
3237
+ (`via: "web"`), its own chat in the line's space and its record (`contact_visitor`), through
3238
+ chat's new `contactSend` hook (`contact.sending`). Limits, each a plain 429 for that caller
3239
+ alone, by address held for each network it's in (`networksOf`: an IPv4 address and its /24, an
3240
+ IPv6 /64, its /56 and its /48, each as many callers' worth as it counts, `SCALE`: 8, 4 and 8):
3241
+ new visitors an hour from one address (`ipVisitorsPerHour`, 20), and as many first messages,
3242
+ counted by the address the app's front says, else the socket's (with neither, nobody's let in,
3243
+ said loudly; all from one private address, said once); a visitor's messages a minute and a day
3244
+ (`perMinute` 10, `perDay` 200), its address's (`ipPerMinute` 30, `ipPerDay` 1,000), the line's a
3245
+ minute (`linePerMinute` 300, of which newcomers, who hadn't spoken before the minute, send
3246
+ `newcomersPerMinute` 200: the rest is kept for conversations going on), and new visitors who
3247
+ speak an hour (`visitorsPerHour`, 600), each place taken in one conditional write, so messages
3248
+ at once can't pass a limit. A line's `budget`: what its visitors' turns may be charged a day
3249
+ (UTC), as the usage ledger prices them (`usage.quote`, through `modelUse`); past it, its
3250
+ visitors' messages wait for tomorrow. A line's `challenge`: an Action of the app's a newcomer
3251
+ passes first (a CAPTCHA's check, given what the page sent,
3252
+ `web({ arrive: { line, challenge }
3253
+ })`). Files only on a line that takes them
3254
+ (`files: { count, bytes }`, 1 of 5 MB unless said), each with a media type; audio transcribed
3255
+ only with `transcribe: true`. `contact.forget` ends a visitor's cookie and its browsers'
3256
+ connections at once (its record stays, ended, until its cookie's time is past), and so does
3257
+ removing its line. Every ten minutes (`contact.prune`) what's past goes: counters, records past
3258
+ their time, a contact made for a first message that never went in. A visitor fetches its own
3259
+ chat's files (`file.content` is open to contacts, under the rules), and finds its chats by its
3260
+ own memberships (`member` by its key, `contact:<id>`). Checked at start (a challenge that's no
3261
+ Action, a budget without the usage plugin).
3262
+ - **What a contact reads:** never an agent's private steps (each tool's input and output), a tool
3263
+ call being written, a step's words before it's known to be an answer, why a model's call broke
3264
+ (the provider's words), nor a tool's files. The access rules' `shared` resource takes `contact`,
3265
+ a filter a contact acting itself (never the agent working for it) reads and writes through:
3266
+ chat's messages without `private` or `toolCalls`; `live` without a tool call or a `retry`, and
3267
+ with words only of a turn that offers no tools (`open: true`, every step an answer; of one that
3268
+ does, a contact sees only that the agent is at work); files without a tool's (`private`, as
3269
+ OpenAPI's are now). A turn stopped mid-step keeps its words only when they were surely an
3270
+ answer. A contact's own reads from its browser name what of its own they read (its chat:
3271
+ `thread`, or `_id`, 32 at most, its read 2 KB of JSON at most: `CONTACT_READ`; of spaces and
3272
+ memberships, only its memberships by its key), else they're refused and never watched; it reads
3273
+ no `aggregate` or `nearest` directly. The voice relay reads its call as the line's agent working
3274
+ for the caller (only what both may read), and says what a web visitor reads: answers, never a
3275
+ step's words before its tools, and words as they're written only of a turn that offers no tools
3276
+ but those called beside an answer (a tool's new `aside: true`, as the voice plugin's `end_call`
3277
+ is): one with other tools says its answer once it's whole. A contact's message says 4,096
3278
+ characters at most (`CONTACT_TEXT`), never what sent it (`via`), and never titles its chat or
3279
+ lets an agent rename it (`title`, `renamable`); a file's media type is one (`MEDIA_TYPE`, 127
3280
+ characters at most, `MEDIA_TYPE_LENGTH`), which the agent is told. WhatsApp, voice and MCP
3281
+ contacts never held a browser connection: they read only through the app's own code.
3282
+ - **Security:** `/connect`, sign-in and sign-out (and the orgs host's own POSTs) answer only the
3283
+ app's own page: an `Origin` that isn't this host (as the front says it), over https off this
3284
+ machine and its LAN, or a cross-site `Sec-Fetch-Site`, is a 403, so another site can't make its
3285
+ visitors arrive here or sign anyone in. Bodies there are JSON objects of 16 KiB at most; route
3286
+ bodies are refused (413) as soon as `content-length` is over 10 MB, and read no further than
3287
+ that while streaming. What either host answers in JSON is `cache-control: no-store`, and what
3288
+ goes wrong says only its public words, with its code's status (500s are logged). So does a
3289
+ route's Action that refuses (`forbidden`, `invalid`, `not_found`, `unauthorized`: its status,
3290
+ and its words only when public). The caller's address parser (`callerFrom`, `callerProblem`,
3291
+ `CallerSettings`, and `countedOf` for a socket's) moved from MCP into the runtime, so MCP and
3292
+ web lines read callers one way. `mcp.call` refuses a contact without an MCP line (a web
3293
+ visitor), naming a line or not.
3294
+ - **Limits on browsers:** 30 tickets per actor a minute (`createTickets({ perMinute })`; past them
3295
+ `/connect` is a 429 with `retry-after`, and `issue` throws `too_many`), 16 browsers (worker ids)
3296
+ per actor, each on two connections at most (one coming while the last goes), 512 watched reads
3297
+ per connection (past them, `too_many`; those watched keep going), 16 resume credentials per
3298
+ actor (the oldest dropped), each working once, for the browser it was given to. A connection
3299
+ counts from the moment it's let in (Welcome) until it goes, ready or not, and one that doesn't
3300
+ say it's ready within 10 seconds is closed (the owner's Hypervisor `readyTimeoutMs`, for every
3301
+ worker: none starts anything before Ready). A contact far less: 2 browsers, 32 watched reads on
3302
+ each connection; and contacts together 16 connections from a network (as many times as it
3303
+ counts: by the tags of `actor.from`, `scaleOf`), 300 on a web line, 400 in all: well under what
3304
+ a listener holds (`LISTENER`, Oxian's Node adapter's 1,000), so people find room. Runtimes on
3305
+ one listener count their contacts together with one `contactsPool()`: the orgs host gives each
3306
+ org one (`open`'s `given.browsers`, for `createRuntime({ browsers })`). The limits are settings:
3307
+ `createRuntime({ browsers })` (`BrowserLimits`: `sockets`, `watches`, `resumes`, `contact`,
3308
+ `network`, `line`, `contacts`, `pool`), checked at start; people never count against contacts'.
3309
+ A contact's browser is told a failure's words only when they're for anyone (`public`), as MCP's
3310
+ callers are: never a provider's (a transcription's raw error said a key's prefix). Tickets and
3311
+ resumes expire on a timer (`runtime/expiring.ts`), never by looking through them all on each one
3312
+ issued.
3313
+ - **Cookie names, and a one-time sign-out:** every entrance's cookie is the host's alone unless it
3314
+ says `hostOnly: false`: identity's session is `__Host-session` wherever it's Secure, and the
3315
+ orgs host's own cookies (`dir`, `org`, `s_<org>`) and every org's entrances' are `__Host-` too,
3316
+ so no other host under the domain (a preview's page) can set one to make a browser someone it
3317
+ chose. The names change: every browser signed in before is signed out once, on upgrade, and what
3318
+ it held under the old plain name is ended where it lives and cleared (on `/connect` and on
3319
+ sign-out), so a version rolled back that reads the plain names finds no one there. Stripping
3320
+ `Domain` from a preview's Set-Cookie (as previews do) doesn't stop that by itself: a preview's
3321
+ page script can still set `document.cookie` with `Domain=<parent>`; the `__Host-` names are what
3322
+ stop it.
3323
+ - **Signing out, and erasing a contact, end their browsers** (`runtime.disconnect(actor)`, and
3324
+ `ctx.disconnect` from an Action): their resume credentials go and each connection closes. A
3325
+ browser comes back only with a new ticket: the client now asks for one when its way back is
3326
+ refused (it used to stop, until its page reloaded), which only a cookie that's still someone
3327
+ gets; another device of the same person comes straight back. A connection let in before (not yet
3328
+ ready) is never ready, and tickets handed out to them not yet used are no one's (`Tickets.end`,
3329
+ which sign-out calls). An org's own (`bound:`) executor can't end anyone's browsers; plugins are
3330
+ trusted code, as with `cancel`. With the orgs host, sign-out ends every open org's session the
3331
+ browser holds.
3332
+ - **Migration:** `serveRoutes({ runtime, … })` is `serve({ runtime, … })` with no `code`.
3333
+ `google: { clientId }` and `dev: true` are the plugins' resources now: add `googleSignIn` (with
3334
+ the `google` resource) and `devSignIn` to the runtime's plugins (the directory's, with orgs). A
3335
+ listener of the app's own (`Deno.serve`) says where each request came from
3336
+ (`setClientAddress(request, info.remoteAddr.hostname)`, from `copilotz/web/server`), and so do
3337
+ tests that sign in with dev sign-in through a hand-made `Request`
3338
+ (`setClientAddress(request, "127.0.0.1")`); `serve` and `listen` do it themselves. Web lines
3339
+ need the `links` resource. `whomOf(runtime, { cookie?, front? })` (was
3340
+ `whomOf(runtime,
3341
+ cookie?)`), and `setCookie` takes the request's site
3342
+ (`siteOf(request, front)`). An entrance whose cookie something else under the domain reads says
3343
+ `hostOnly: false`. A visitor's page finds its chat through its memberships (`member`
3344
+ `{ member: "contact:<id>" }`), not by reading every `thread`. An app that ran this branch
3345
+ before: visitors' cookies (their secret's format and key changed) and links signed before
3346
+ upgrading don't open; visitors are newcomers once.
3347
+ - **The runtime, for the web host's limits** (from the second security review of the one host):
3348
+ - **The in-memory store reaches a document by its id at once.** A filter that keeps to ids (`_id`
3349
+ a string, `$eq` one, `$in` strings, also in a top-level `$and`) looks them up, rather than
3350
+ copying and scanning the whole collection on every read and write; other reads scan without a
3351
+ copy, and stop at a `limit` without a `sort`. The `durable: false` collections (`live`, the web
3352
+ lines' counters, billing's `room`) share that store and its one transaction queue, so their cost
3353
+ no longer grows with what they hold. Results come in the same order.
3354
+ - **Links are signed with a key of their own** (`keyOf(secret, use)`, HKDF-SHA256 of the `links`
3355
+ secret; web visitors' cookies use another), never the secret itself, and the `links` resource
3356
+ takes the one before it (`previous`), while what it signed should still open: a link until it
3357
+ expires, a visitor's cookie (the same contact) while it lasts. **Breaking:** links signed before
3358
+ upgrading (an hour's) no longer open. A secret that leaked is never given as `previous`: it goes
3359
+ at once.
3360
+ - **A rule hears a browser's own reads** (`Guard`'s `direct`, asked with the read's filter before
3361
+ it's watched) and may refuse one it won't watch, throwing. Plugins' `check` sees every Action
3362
+ (`merged.actions`). A contact reads its own memberships by its key (anyone else, memberships as
3363
+ far as they reach: a key `within` a space, that space's).
3364
+ - **An aggregate with its own `$match` works under a rule:** the rule's filter joins it in one
3365
+ `$match`; before, every such read failed `invalid`.
3366
+ - **Who calls, by network:** `networksOf(counted)` (an address's wider networks, each with its
3367
+ prefix and `scale`), `SCALE`, `scaleOf(tag)`, `privateAddress(address)`.
3368
+ - **From the third security review of the one host:**
3369
+ - **A watched read is matched only against changes it could concern.** A read whose filter names
3370
+ values of a field of its own (a string, `$eq`, `$in` of up to 256 strings: a chat's `thread`, an
3371
+ `_id`) is filed under them; a change to a document holding none of them (before or after, in
3372
+ that field or an array there) skips it before any matching. The owner's read cache does the same
3373
+ for the queries it keeps. Results are exactly as before. New in the reference
3374
+ (`runtime/mongo.ts`): `namedBy(filter)`, `valuesAt(doc, field)`.
3375
+ - **A web line's budget holds, and fails closed.** Each visitor's message holds an estimate of its
3376
+ turn's cost as it goes in (the most one of the line's visitors' model calls cost lately; before
3377
+ any is known, the rest of the day's budget, so one turn goes at a time until a cost is),
3378
+ released as its first call is charged, or lapsing in two minutes: messages at once can't all
3379
+ pass a budget only one fits. Before each model call (and transcription) for a visitor, a spent
3380
+ budget refuses it, for good, so a turn's tool loop stops there: the models plugin's `modelUse`
3381
+ listeners may now refuse a call before it's made (`may`, its refusal `final`; `mayUse`,
3382
+ `ModelCall`). Use the ledger prices at nothing (no price for the model, or pricing failing)
3383
+ closes the line for the day, said in the log. New: `contact.budget`; `contact.spent` takes
3384
+ `contact`, and `unpriced`.
3385
+ - **Web visitors:** a secret dated more than 5 minutes ahead is nobody's. An erased visitor's
3386
+ record is kept as long as any cookie made before could last (400 days, the most a line may say,
3387
+ `MOST_DAYS`), so raising a line's `days` can't bring an erased visitor back.
3388
+ - **MCP's ids** (contacts, chats, users, addresses) are HMACs with the `mcp` key of the app's
3389
+ secret (`keyOf`), never the secret itself; with `links.previous`, a conversation made under the
3390
+ one before goes on as itself (the new system-only `mcp.conversation`; `mcp.call` takes the chat
3391
+ the route found, `thread`). **Breaking:** every MCP conversation from before is new once (no
3392
+ deployment uses the MCP interface yet).
3393
+ - **MCP widgets: an app's web Views drawn inside ChatGPT and other MCP Apps hosts** (#165). A line's
3394
+ tool can name a web View (`mcp.lines.<name>.tools.<tool>.widget`); the web host serves one
3395
+ `ui://<line>/widget-<version>.html` template per line (`webServer({ widgets: widgetsOf(...) })`),
3396
+ and a result carries the View, a snapshot of what it reads, and a short-lived grant in `_meta`
3397
+ only, never in what the model reads. Widget-only tools (`visibility: ["app"]`, `action`) refuse
3398
+ calls without a grant for that conversation. The widget host is `copilotz/web/widget`
3399
+ (`widget({ plugins, root })`), speaking MCP Apps' postMessage bridge with ChatGPT's
3400
+ `window.openai` as fallback.
3401
+ - **A tab comes back after a network flap.** A new connection on a worker id that already has two
3402
+ closes the oldest instead of being refused (a Welcome lost on the way no longer locks the tab
3403
+ out), and a client that was in once keeps re-enrolling, longer apart, when it's refused.
3404
+ - **A model the app doesn't pay for is checked against a web line's budget too** (`paid`-tagged ones
3405
+ skipped `may`, so a visitor's tool loop could go on past a spent day).
3406
+ - **A web line's budget loses no charge under load:** `charge` is one atomic write (`$inc` the
3407
+ spend, `$unset` the hold), and `hold` retries with jitter until a deadline instead of eight
3408
+ immediate tries (no more false "busy"). One call costing more than the whole budget no longer
3409
+ closes the line for 30 days: with nothing held, a message holds at most what's left.
3410
+ - **Voice: a line's `waiting` phrase** (`voice.lines.<name>.waiting`, none by default) is spoken
3411
+ once when a turn starts running tools before any answer, so a caller doesn't hear silence. Never
3412
+ for an answer without tools, nor for `end_call`.
3413
+
3414
+ ## 1.0.0-rc.22 — 2026-11-04
3415
+
3416
+ **A security release: upgrade now.** Before it, a Google sign-in wrote the new session's secret to
3417
+ the event log, and connecting a computer wrote the computer's secret (the first entry below). After
3418
+ upgrading, every deployment should:
3419
+
3420
+ 1. **End every session made before the upgrade:** delete the `credential` documents of
3421
+ `kind: "session"`, so every signed-in person signs in again. Keys are unaffected.
3422
+ 2. **Scrub the old events that hold these secrets**, from the store and from anything that copied it
3423
+ (backups, exports, exporters): the `action.started` and `action.completed` events of
3424
+ `google.sign-in`, `computer.code`, `computer.enrollment` and `computer.work`, and the
3425
+ `action.started` events of `session.end`, `computer.admit`, `pool.admit` and `pool.serve`.
3426
+ 3. **Reconnect computers whose log may have been read:** forget each one (`computer.forget`) and
3427
+ connect it again with a new code. A computer's secret can't be rotated yet.
3428
+
3429
+ - **Security: a Google sign-in no longer writes the session's secret to the log.** `google.sign-in`
3430
+ was a recorded Action, so the event log kept its input, the Google ID token, and its result,
3431
+ `{ person, session }`, with the new session's secret in plain text. Anyone who could read the log
3432
+ (a database reader, a backup, an export, an exporter) could sign in as that person, staff
3433
+ included. The identity plugin keeps secrets only as hashes, and this Action undid that. It is now
3434
+ unrecorded (`record: false`), like `session.start`. So is `session.end`, whose input is the secret
3435
+ being ended. Found by a security review.
3436
+ - **Computers' secrets are kept out of the log too**, found by checking every Action for the same
3437
+ mistake. These are now unrecorded: `computer.admit`, whose input is a computer's secret (or the
3438
+ code connecting it) on every connect; `pool.admit`, whose input is a pool VM's identity token;
3439
+ `computer.code`, whose result is the code that connects a computer as its person; and
3440
+ `computer.work`, whose input and result are what a person types and sees in their shell, files'
3441
+ contents and the env values they pass. `computer.enrollment`'s result (`code`) and
3442
+ `pool.serve`'s `assign.code` and `assign.secret` (also when forwarded by `remotePool`) are
3443
+ private: still recorded, so a retried wake gets the same code, but the code isn't logged.
3444
+ - **Deployments should end every session made before this fix.** Delete the `credential` documents
3445
+ of `kind: "session"`, so every signed-in person signs in again. Keys are unaffected. A
3446
+ computer's secret can't be rotated yet: where the log may have been read, forget the computer
3447
+ (`computer.forget`) and connect it again with a new code.
3448
+ - **Old events still hold these secrets until they're scrubbed**, from the store and from anything
3449
+ that copied it: the `action.started` and `action.completed` events of `google.sign-in`,
3450
+ `computer.code`, `computer.enrollment` and `computer.work`, and the `action.started` events of
3451
+ `session.end`, `computer.admit`, `pool.admit` and `pool.serve`. Ended sessions, used codes and
3452
+ expired tokens prove nobody, but scrub them anyway.
3453
+
3454
+ - **MCP: a conversation whose first call an owner stopped no longer ends for good.** A new
3455
+ conversation's chat is made (`chat.open`) and then shared with its contact (`member.set`), two
3456
+ writes; an owner that stopped between them (a deploy, which doesn't wait for running calls, or a
3457
+ crash) left a chat its contact couldn't reach, which is how a contact its people took out of its
3458
+ chat looks, so every later call said "This conversation with the app is over". A new
3459
+ conversation's opening is now noted with its first call's counts (`mcp_opening`, durable, no
3460
+ events, gone with its receipts after 15 minutes) and dropped once the chat is shared: a chat out
3461
+ of its contact's reach, with its opening noted, goes on as new (asked again within 15 minutes, its
3462
+ contact not erased); without one, it stays over. Erasure's tombstones are read first, as before.
3463
+ This is what failed the MCP restart test on slower machines (macOS CI); the test now waits on what
3464
+ it watches for, not on fixed times, and a new one stops an owner at each of a first call's writes.
3465
+ - **Contacts: a start cut short after a contact's record, before sharing it with the contact, is
3466
+ finished when it's started again** (`contact.start`, on WhatsApp, voice and MCP): the contact, and
3467
+ the agent working for it, read the record again. A known contact was returned as it was.
3468
+ - **Maintenance SQL can run as the store's own role, told so:**
3469
+ `postgresStore({ url, schema, maintenance: { storeRole: true } })`, beside a role of its own
3470
+ (`maintenance: { url }`; both at once stop the store from opening, and neither still refuses raw
3471
+ SQL on a server, its message naming both). Anyone holding the maintenance key can then do whatever
3472
+ the store's role can: drop or truncate its tables, delete from the log, read every schema it
3473
+ reaches. Only the allowlist check is skipped; the statement filter, a connection of its own for
3474
+ each statement over the extended protocol, the timeouts, caps and `connections`, fenced writes in
3475
+ the owner with their `maintenance.sql` event, the rollback of what changes `meta` or makes a
3476
+ trigger, and the emptied cache all hold. Still refused, before each statement and after a write: a
3477
+ role that is or may become a superuser, a member of `pg_execute_server_program`,
3478
+ `pg_read_server_files` or `pg_write_server_files`, one with `CREATEROLE` before PostgreSQL 16, or
3479
+ one that may run the server's file functions (`pg_read_file`, `lo_import`, `lo_export`…). Cloud
3480
+ SQL's `postgres` user passes from PostgreSQL 16. An orgs host's orgs still don't get the plugin.
3481
+
3482
+ ## 1.0.0-rc.21 — 2026-11-04
3483
+
3484
+ - **Security: a burst of calls no longer drops an executor's connection** (Oxian 0.23.3). About 35
3485
+ concurrent calls on one executor (around 20 holding transactions) filled Oxian's queues, and the
3486
+ connection was lost with every job in flight on it (`executor_lost`): a remote DoS on any app with
3487
+ a public entry point, flagged by a security review. Full queues now hold senders back instead.
3488
+ Long-lived workers also move to a fresh connection before one's streams run out, instead of
3489
+ failing calls with `capacity`; Copilotz treats the move as the same worker (#154).
3490
+ - **MCP: models outside the app call its tools** (the new `mcp` interface; widgets come next). An
3491
+ app declares lines in `resources.mcp.lines.<name>`, each an MCP server at `POST /mcp/<name>`
3492
+ (`/o/<org>/mcp/<name>` under many orgs): the space its chats live in (`in`), the tools it offers
3493
+ (`tools`, by name: only these, never an agent's; each needs its `tool:<name>` View, else it isn't
3494
+ offered, and one whose `offer` says no to a contact isn't either), how each is shown (`title`,
3495
+ `annotations`, ChatGPT's `invoking`/`invoked` lines, 64 characters), who calls (`client`, the
3496
+ steps' sender), `title`, `version`, `instructions`, `handles`, `origins`, `org` and `limits`; and
3497
+ plugin-wide, how it knows a caller's address (`caller`) and calls at once in the process
3498
+ (`atOnce`, 8). Checked at start; it needs the `links` resource's secret.
3499
+ - **The protocol:** Streamable HTTP and JSON-RPC 2.0, written in the plugin, answered as JSON,
3500
+ with no session (GET and DELETE are 405; no `Mcp-Session-Id`). MCP 2026-07-28 (per-request
3501
+ `_meta`, `server/discover`, the `MCP-Protocol-Version`, `Mcp-Method`, `Mcp-Name` and
3502
+ `Mcp-Param-*` headers checked against the body: -32020) and 2025-11-25, 2025-06-18 and
3503
+ 2025-03-26 (`initialize`; batches only for 2025-03-26, 10 messages at most, one after another).
3504
+ Unknown versions are -32022 with the supported ones. Every tool says `noauth`, and all four of
3505
+ MCP's hints. A request with an `Origin` the line doesn't name is 403; input nested past 64
3506
+ levels, or holding a `$blob`, is -32602.
3507
+ - **Conversations:** ChatGPT's `_meta["openai/session"]` (with `openai/subject`) names one; a
3508
+ client that names none gets a `chat` handle (128 random bits, an optional input on every tool,
3509
+ said once, at the end of the first answer), or with `handles: false` is refused. Each is a
3510
+ contact (`via: "mcp"`) in a chat of its own in the line's space, its ids HMACs of the key with
3511
+ the `links` secret: no table. A handle the app never gave is refused; a chat whose contact its
3512
+ people took out, or that was erased (`contact.forget`, `chat.erase`: a tombstone, `mcp_closed`,
3513
+ no personal data), is over for good.
3514
+ - **A call** is `mcp.call`, called by the route as the conversation's contact (an actor only the
3515
+ route makes: `{ kind: "contact", id, mcp, client }`, which the Action's `allow` asks for). It
3516
+ runs the tool through chat's runner, writes a private step from the line's `client` in the chat
3517
+ (in its space as it is now; only input that fit the tool's schema, else a note of what was
3518
+ sent), and answers with the tool's View, read as the contact, never its output as it is. Only a
3519
+ public error (below) says its message. `ctx.callId` is the step's id (the call's,
3520
+ `mcp:<thread>:<hash of the request id>:<hash of tool and input>`, and when it began), the same
3521
+ however often a call cut short runs again; a new call has a new one. A tool that changes things
3522
+ keeps a receipt (`mcp_receipt`, durable, no events, gone after 15 minutes) by what it asks in
3523
+ its conversation (tool and input), whatever the request's id: the same call while it runs waits
3524
+ for that run; asked again, under any id, within two minutes of its end it's answered what it
3525
+ said (kept up to 8,000 characters), beginning with a line saying it wasn't done again (so a
3526
+ second, deliberate purchase isn't taken for done); begun and never done (stopped, an owner
3527
+ restarted, or failed by accident and told to try again), it runs again as the same step, with
3528
+ `retry` and the same `callId`. A public refusal is an answer, and is said again. A read-only
3529
+ tool always runs.
3530
+ - **Limits** (`limits`): calls at once in the runtime (`mcp.atOnce`, 4: each org's own under the
3531
+ orgs host), on the line (4: an executor's connection takes about that many tools that change
3532
+ things at once until Oxian's send backpressure is released), from one caller's address (2; a
3533
+ batch's every call counts) and in one conversation (2), past any of which it's 503 busy, -31000
3534
+ (a batch, an error for each of its requests; a batch with more tool calls than `addressAtOnce`
3535
+ is refused, -32600); how long the route waits for an answer (`timeout`, 20 s: then the model is
3536
+ told it's still working, as long as few calls are, `lateAtOnce` 2 on the line and
3537
+ `addressLateAtOnce` 1 from an address, else it's stopped) and a call may run (`stop`, 60 s: then
3538
+ it's stopped; tools should honour `ctx.signal`); a request's body (64 KiB), calls a minute by
3539
+ conversation (30), by caller's address (60) and on the line (600), new conversations an hour by
3540
+ user (30, ChatGPT's `openai/subject`), by address (20) and on the line (600), and an answer's
3541
+ length (100,000 characters). Only calls taken count, and a new conversation once it's made. The
3542
+ address is believed only as the app's front says it (`caller`: its header, with the front's
3543
+ secret, a request without which is refused, or the proxies' `hops`, which a list header such as
3544
+ `x-forwarded-for` needs); IPv6 is counted by its /64, IPv4 written as IPv6 as IPv4, and an
3545
+ address that can't be read with every other such call, as one. Ranges in `caller.exempt`
3546
+ (OpenAI's) aren't limited by address.
3547
+ - **A failure can be public** (`failure(code, message, { public: true })`, `isPublic`): its message
3548
+ is for any caller, even a model outside the app over MCP, which no other error's words reach. It
3549
+ stays public from job to job. A code alone isn't public: libraries' errors have codes too.
3550
+ - **Chat's tool runner is in its contract** (`runTool`, `toolText`): a tool's input checked, run,
3551
+ and its result read as agents read it, as a turn does; the turn uses them. Input that doesn't fit
3552
+ a tool's schema is a public failure, and the runner says so (`unchecked`). `Tool` gains `title`
3553
+ and `annotations` (`readOnly`, `destructive`, `idempotent`, `openWorld`).
3554
+
3555
+ - **Phone calls: the `voice` plugin** (in `copilotz/plugins/interfaces`), on Twilio's
3556
+ ConversationRelay. The app declares its lines (`resources.voice.lines.<name>`: `in`, `account`,
3557
+ `token`, `origin`, and optionally `agent`, `language`, `tts`, `voice`, `stt`, `texts`, `gap`,
3558
+ `trustCallerId`, `keys`, `limits`, `org`), each a Twilio number open to anyone who calls; their
3559
+ settings are checked at start.
3560
+ - **Twilio's webhook** is `POST /hooks/voice/<line>` (the `voice.hook` route): checked against
3561
+ `X-Twilio-Signature` with the line's auth token. A caller the line's managers blocked isn't
3562
+ taken (`voice.block { thread, days? }`, kept by the number's hash; `voice.unblock { block }`
3563
+ lifts it by its id, whatever is left of the call); then a call is taken within its caller's
3564
+ limits (`callerAtOnce` 1, `callerPerDay` 10; withheld numbers, together, their own
3565
+ `hiddenAtOnce` and `hiddenPerDay`, by default the line's `atOnce` and half its `perDay`), then
3566
+ the line's (`atOnce` 2, `perDay` 50 calls that went on in any 24 hours), or rejected as busy
3567
+ (`<Reject reason="busy"/>`: nothing is spent). A call taken gets TwiML that opens the line's
3568
+ socket (`<Connect><ConversationRelay>`, the line's language, greeting and voice) with a ticket
3569
+ good once, for a minute; `POST /hooks/voice/<line>/over` hears the relay end and hangs up.
3570
+ - **The socket** (`GET /hooks/voice/<line>/relay`, a `serve` route): its signature checked, its
3571
+ ticket used, then Twilio's `setup` must name the call the ticket was for. The caller is a
3572
+ contact (`via: "voice"`) in a chat of their own in the line's space, answered by the line's
3573
+ agent (a line whose agent doesn't answer there fails the call). A number isn't proof of who's
3574
+ calling: calling back goes on in the same contact and chat (until the line's `gap`, 12 hours,
3575
+ and never into a chat with another call on, checked in the write that puts the call live) only
3576
+ when Twilio verified the number (`StirVerstat` `TN-Validation-Passed-A`) or the line sets
3577
+ `trustCallerId`; otherwise, and for withheld numbers (Twilio's placeholders, `+266696687`,
3578
+ `+7378742833` and the like), each call is a new contact.
3579
+ - **What's said:** what the caller says goes to the agent at once, one prompt after the other; a
3580
+ prompt said while the answer to the one before is still being written stops that turn, and the
3581
+ next turn reads both (Twilio already waits for the caller to finish: a quiet window would add to
3582
+ every answer). What the agent writes is said as it writes it, word by word (a step's words
3583
+ before its tools, then its answer), through the `voice_call` View read as the caller, and only
3584
+ of the turns the caller's own words started: a staff member's turn in their chat isn't said.
3585
+ Speaking over it (`interrupt`) cuts what was being said, and the agent is told what was heard
3586
+ (the `voice` context). Keys pressed (with `keys`) come as a tap, `keys:<digits>`.
3587
+ - **What a call may cost** (`limits`): an answer that failed, or took longer than `turn` (25 s,
3588
+ then stopped), says the line's `failed` text, never the error; one past `said` characters
3589
+ (1,200) is cut at a word and stopped; `idle` (90 s) of silence, a call past `call` (600 s) or
3590
+ past `turns` prompts (30) says `bye` and ends it. The goodbye waits 15 seconds at most for
3591
+ what's being said; a call is over by its hard end (`call`, the goodbye and closing), and holds
3592
+ its place among the line's calls until then. A call that ends stops its turn, and any turn of it
3593
+ that starts just after. The agent ends a call too, once its goodbye is said (the `end_call`
3594
+ tool, offered to whoever answers a call while it goes on). Twilio's `end` says why
3595
+ (`handoffData`).
3596
+ - **The phone is a medium:** messages are said through their `message` View (renderer `voice`: the
3597
+ words without Markdown, a link's words, a web address's site), which an app may replace.
3598
+ - Each call is a small record (`voice_call`, no events: when, how long, why it ended, whether the
3599
+ number was verified; the caller's number private), and `voice_phone` keeps each verified
3600
+ caller's contact and chat. Erasing a contact erases its number from both; erasing a chat
3601
+ (`chat.erase`, `contact.forget` with `chats`) erases what the calls kept of it. Calls' records
3602
+ go after the plugin's `keep` days (30, at least 1: `voice.prune`, daily), once they're over: a
3603
+ call going on is never pruned. Agents working for a caller are told it's a phone call, and that
3604
+ the number isn't proof of who they are (the `contact` context).
3605
+ - It needs a host that takes a route's socket (`host.upgrade()`: `serveRoutes`, or `serve`, from
3606
+ `copilotz/web/node`).
3607
+
3608
+ - **Maintenance endpoints** (the new `maintenance` plugin, in `copilotz/plugins/interfaces`): HTTP
3609
+ under `/maintenance/` for an app's operators when they can't reach its database. A key (`key`, or
3610
+ several in `keys` to rotate one; 32 random characters at least, a weak one stops the app),
3611
+ compared in constant time; without one, every request is unauthorized. Requests act as the
3612
+ maintenance actor (`{ kind: "maintenance", by }`), whose Actions run as the system on the record,
3613
+ and each writes a line (`log`) before it runs. An orgs host's orgs don't get it.
3614
+ - `POST /maintenance/sql`: one read-only statement, with `params`, at most `limit` rows and
3615
+ `bytes`, cut off after `timeout`.
3616
+ - `POST /maintenance/collections/<collection>/<op>`: insertOne… deleteMany, find… aggregate,
3617
+ through the owner's write path: schema-checked, recorded, cached, heard by Processors.
3618
+ - `POST /maintenance/queries/<collection>.<name>`: a collection's named query, the body its
3619
+ params, read as the system.
3620
+ - `POST /maintenance/sql/write`: one statement that writes, run by the owner alone among its
3621
+ writes, fenced by its epoch, with a `maintenance.sql` audit event in the same commit; then the
3622
+ owner empties its read cache, runs observed Views again and re-reads its timers. A statement
3623
+ that changes `meta` (the epoch, Processors' positions) is rolled back. An `Idempotency-Key`
3624
+ makes it safe to send again.
3625
+ - `GET /maintenance/blobs/<id>`: a blob's bytes, as a download.
3626
+ - **SQL on the store port, for maintenance only:**
3627
+ `Store.inspect?(sql, params?, { limit, timeout })` (now SQLite's too), a transaction's
3628
+ `execute?(sql, params?)` and `transaction(…, { maintenance })`. Both run exactly one statement: a
3629
+ second, or one that ends the transaction or changes the connection (`COMMIT`, `SET`…), is refused
3630
+ (PostgreSQL ran every statement of an unparameterized `inspect` before; PostgreSQL's line comments
3631
+ end at a CR too). `runtime.maintenance` is the owner's way to them; plugin code has none. The
3632
+ cache gains `clear()`, observers `stale()`.
3633
+ - **PostgreSQL servers:** raw SQL runs only as a role of its own
3634
+ (`postgresStore({ maintenance: { url, connections } })`), which must hold exactly maintenance's
3635
+ grants: no attribute but LOGIN, membership in no role (but Cloud SQL's IAM marker, itself held
3636
+ to the same), no settings of its own, nothing owned (a large object neither), nothing granted
3637
+ outside the store's schema, `CREATE` nowhere, no large object, table or column of another's to
3638
+ read, nothing on the store's tables beyond what it needs, no `SECURITY DEFINER` function to run,
3639
+ no `dblink` or `postgres_fdw`, no trigger on the store's tables: checked before each statement
3640
+ and again after a write, in its transaction, reading only `pg_catalog`'s names. `ALTER ROLE`,
3641
+ `DO` and `LOCK` don't run; a password literal is kept as `PASSWORD '***'`. Each statement on a
3642
+ connection of its own, over the extended protocol, closed after; at most 2 at once, else `busy`.
3643
+ A read stops fetching before a row would pass its bytes. PGlite runs it as its one session, and
3644
+ discards what it left there.
3645
+ - **SQLite:** the store names its tables in `main`, so a temporary object can't stand in for them
3646
+ (a write that leaves one, or a trigger, is rolled back); a read runs in a process of its own
3647
+ (`deno`, `node` or `bun` itself, never a compiled app; an empty environment; on Deno and Node,
3648
+ read access to the database's files alone), killed at its timeout. Else, on the reading
3649
+ connection, a pragma only from those that only read, said once and on each answer
3650
+ (`inline: true`).
3651
+
3652
+ - **Security: a forged blob reference is refused, never loaded.** Large strings are kept as blobs
3653
+ and documents hold `{ $blob, size, type }` in their place; the owner loaded any object with a
3654
+ string `$blob` on every read. So an Action that stores what it's given (a tool's input, a
3655
+ webhook's body) could plant one: an id no blob has made every read of that document fail (a chat
3656
+ that can't be read or erased, Processors giving up on its events); another document's hash pulled
3657
+ that content in; and a path or a name read a file (`fileBlobs`) or any object in the bucket
3658
+ (`gcsBlobs` without a prefix).
3659
+ - What plugin code writes (documents, updates, upserts' filters, edges, events, records, timers'
3660
+ inputs, Action results) and what an Action is called with may hold no `$blob` key: `invalid`.
3661
+ The owner checks it as it walks what it offloads, so it costs no extra pass.
3662
+ - No part of an update's field path may start with `$` (as MongoDB refuses) or be `__proto__`
3663
+ (`invalid`): `{ $set: { "bio.$blob": … } }` made a reference out of plain strings, and on Node
3664
+ and Bun `{ $set: { "__proto__.x": … } }` set `x` on every object's prototype (Deno has no
3665
+ `__proto__`). `constructor` and `prototype` are fields like any other: paths read and make a
3666
+ document's own fields only, so a filter on `constructor` no longer finds `Object` in every
3667
+ document.
3668
+ - A path ends at a blob reference as it does at a string, so a large string is treated like a
3669
+ small one (`$set: { "text.note": 1 }` replaced the reference's insides, losing the text), and at
3670
+ any other object with a `$blob` key, so no update turns a planted one into a reference.
3671
+ - An aggregate's `$group` can't name a field `$…` either: `_id: { $blob: …, size, type }` built a
3672
+ reference from strings, which a browser's own read then loaded.
3673
+ - The API's event stream sends a call's result whole; one over 16 KiB went as its reference.
3674
+ Published events (`runtime.subscribe`) have `full()`: the event with its large values.
3675
+ - Only an exact reference loads a blob: the keys `$blob`, `size` and `type`, a `sha256-<64 hex>`
3676
+ id, a numeric size and a string type. Any other object is data.
3677
+ - Every blob store (memory, SQLite, PostgreSQL, `fileBlobs`, `httpBlobs`, `gcsBlobs`) takes only a
3678
+ blob's id (`checkBlobId`, exported for your own `Blobs`).
3679
+ - Fixed on the way: a timer's input over 16 KiB reached its Action as a reference; it comes whole.
3680
+ An occurrence of one that a deploy to this version cuts short fails once when it resumes
3681
+ (`id_conflict`: it started with the reference as its input); the timer's next ones run.
3682
+ - A store may already hold planted references: an exact one still loads (its blob gone, reads
3683
+ fail), and any other, carried on, is now refused. #155 has read-only queries (PostgreSQL,
3684
+ SQLite) that find them; clean every one, `sys.timers` first.
3685
+
3686
+ - **Contacts: people outside the org who talk to its agents** (the new `contacts` plugin, part of
3687
+ `access`). A WhatsApp customer is a contact, its own kind of actor (`{ kind: "contact", id }`),
3688
+ never a person: every `allow: people` Action and query stays shut to it, and nothing that asks for
3689
+ a person (`personOf`) finds one. The runtime's `principalOf` says whom work is for, a person or a
3690
+ contact (it moved there from chat), and `peopleOrContacts` is what an Action opened to contacts
3691
+ allows: today only `chat.send`, whose message is then from `contact:<id>`.
3692
+ - A contact's chat is shared with it on its own (a membership `on` the thread, made by
3693
+ `contact.chat`): it reaches that chat, what's said and filed there, and its own record, nothing
3694
+ else. The space's people reach it as any chat there; the agent working for the contact reaches
3695
+ exactly that chat. Three generic completions in spaces make it so, and help people too (a person
3696
+ can now share one chat): a shared collection's documents can be part of another's (`part`: a
3697
+ message's `thread`), reached with it; an agent working for someone reaches a document one of
3698
+ them reaches on its own in a space the other reaches; and `present(ctx, space)` says whether
3699
+ someone reaches a space or a document in it, so `space.roster` tells a contact in its chat who
3700
+ answers (agents only).
3701
+ - A contact is let into documents only, never a whole space (`member.set`, a request granted), and
3702
+ never manages one. `request_access` isn't offered to agents working for a contact, nor memory: a
3703
+ customer's chat keeps to itself.
3704
+ - `contact.start` (trusted code, idempotent by id) and `contact.chat`; `contactOf(actor)` says
3705
+ whose work an event's actor's is (the contact's id, through the agent working for them too);
3706
+ agents are told whom they talk with (the `contact` context) and see them by name: the `names`
3707
+ resource is now a map of sources
3708
+ (`{ people: { collection: "profile" }, contact: { collection: "contact", prefix:
3709
+ "contact:" } }`),
3710
+ replacing `{ collection }`. On the web, add `contactsWeb` to show contacts by name.
3711
+ - **A WhatsApp number can be a customer line.** Its space's managers open it to anyone
3712
+ (`whatsapp.set { number, open, agent, gap }`). A stranger who writes is then a contact, in a chat
3713
+ of their own in the number's space, answered by the number's agent (or who answers new chats
3714
+ there); a chat quiet for `gap` hours (12 by default) is over, and their next message starts a new
3715
+ one. Their text always goes to the agent (commands stay linked people's); a code from the app
3716
+ still links a phone, and linked phones keep working as their person. The `whatsapp` plugin now
3717
+ requires `contacts`.
3718
+ - **WhatsApp is a medium.** A View for it (renderer `whatsapp`) returns parts, each one WhatsApp
3719
+ message, built with the toolkit in WhatsApp's contract (`text`, `buttons`, `list`, `carousel`,
3720
+ `image`, `document`, and `clip` for titles), which checks Meta's limits and throws `invalid`
3721
+ instead of cutting anything short. A message goes out as its `message` View there (the plugin's:
3722
+ its text as WhatsApp formats it; an app's replaces it).
3723
+ - **Additions:** chat declares the `additions` resource kind (`{ order?, agents? }`, each an
3724
+ `addition:<name>` View in the medium, given `{ thread, answer }`, returning `Addition`s:
3725
+ `{ key, parts, fallback?, note? }`). After an agent's final answer that didn't fail
3726
+ (`isAnswer`), each goes once per chat per key, recorded in chat's new `shown` ledger through
3727
+ `chat.shown` (trusted code, unrecorded); its `note` is told to the model after that answer
3728
+ (`[then shown: …]`).
3729
+ - **One message, not two:** an answer's last text goes as the first addition's body (or caption)
3730
+ when there's room, as Meta charges per message. A part Meta refuses (a 400 that isn't the token
3731
+ or the 24-hour window) sends the addition's fallback instead, with the answer joined to it;
3732
+ without one, it's logged. A retried delivery sends only what didn't go (`whatsapp_sent` now
3733
+ keeps each part by id, with its addition's `key` and `thread`).
3734
+ - **Taps:** a button's, a list row's, a carousel card's or a template's reply comes as its title
3735
+ with `tap: { id, title, key }` (`chat.send` takes `tap`; messages keep it), answering the
3736
+ message it was on; agents read `Carla: PIX [tapped: pay:pix]`. Typing the title is just text. A
3737
+ tap is a choice, not a permission: anyone can send any id, so a tool acting on one checks it
3738
+ against what was shown there. A quote or a tap answers only what went out in its own chat.
3739
+ - What a message and its additions show is read as whom they go to, never with the reach of
3740
+ whoever's work the answer was.
3741
+ - **"Typing…" while agents work:** each step an agent takes in a WhatsApp chat shows it again once
3742
+ WhatsApp may have hidden it (after 20 s, for up to five minutes); nothing says "please wait".
3743
+ - **Media:** a part's picture or file is a public https link (as given), one of the app's routes
3744
+ (`{ route, params }`: a link signed for a day with its params, which the route checks with
3745
+ `verifyLink`), or a chat's file (`{ file }`: a signed link to `/files/<id>`, or, without the
3746
+ app's `links`, uploaded to Meta and sent by its id). A carousel's pictures must be links: a file
3747
+ with nowhere to link it sends the fallback. A message's files go as images (jpeg, png up to 5
3748
+ MB) or documents, a short text as the first one's caption.
3749
+ - **WhatsApp lines for an app, as it uses them**:
3750
+ - **A line the app declares** in its settings (`resources.whatsapp.lines.<name>`: the space,
3751
+ Meta's number id, token and app secret, its own verify token, a webhook path it routes to
3752
+ `whatsapp.hook`, its agent, gap, rate, quiet window and language): open to anyone, kept as the
3753
+ settings say at every use, with no person connecting or opening it; people can't change it
3754
+ (`whatsapp.set`, `whatsapp.credentials` and `whatsapp.disconnect` refuse), and the web tab
3755
+ leaves it alone. `whatsapp.set` stays for numbers people connect.
3756
+ - **Spaces the app declares** (the spaces plugin's `spaces` resource, by id: `{ name, agents }`):
3757
+ the app's own, owned by no person, made and kept by the system when something needs them
3758
+ (`space.keep`, trusted code; a declared line keeps the space it's `in`). Its agents are editors
3759
+ there, the first answering its new chats; people neither take them out, nor change their role,
3760
+ nor rename the space. Otherwise it's a space like any other.
3761
+ - **The reply is the body:** after an answer, an addition's own words (a question its buttons ask)
3762
+ are what it says without one; with the answer, the answer is its whole body. A fallback keeps
3763
+ its words after the answer.
3764
+ - **What Meta took but couldn't deliver** (a failed status on the webhook, such as a picture it
3765
+ couldn't fetch: `whatsapp.undelivered`) sends that addition's fallback, once, with the answer's
3766
+ text when it went in the same message.
3767
+ - **A burst gets one answer:** a customer's messages wait for the line's quiet window (`quiet`, 4
3768
+ s by default, up to 30) before the agent answers, all of them in one turn and one reply
3769
+ (`chat.send`'s new `quiet`: a durable timer each message sets again, `chat.quiet`, so a restart
3770
+ in the window still answers once).
3771
+ - **A failed turn** tells a customer only that, in their line's language, never its error.
3772
+ - Each sender's quiet window is their own (`quiet:<thread>:<sender>:<agent>`): a staff member's
3773
+ message never takes a customer's place, nor the reverse. Erasing a chat ends its windows, and a
3774
+ window whose message is gone (or no longer theirs to read) starts no turn.
3775
+ - A declared line is one org's with the orgs host: it names the org (`org`), and every other org's
3776
+ runtime has nothing of it; a line naming none is a single-org app's.
3777
+ - What Meta couldn't deliver is rendered again as its addressee, as any reply is.
3778
+ - **Signed links** (the runtime's `signLink` and `verifyLink`, with the app's `links` resource:
3779
+ `{ origin, secret }`, a secret of at least 32 bytes, checked at start): the app's origin, a path,
3780
+ its params and an expiry (an hour unless said), HMAC-signed, with a line break between origin and
3781
+ path, so a link for one app or org never opens another (under `hosts/orgs`, give each org its own
3782
+ origin). The web host checks the secret as it starts serving. A chat's file is linked or uploaded
3783
+ only for someone who may read it. The web host serves a file at a signed `/files/<id>` link
3784
+ without a session, as the system; expired or altered, a 404.
3785
+ - **Chat in spaces declares its own `shared` entries** (`thread`, `message` with labels, `file`,
3786
+ `live` and `shown`, each a part of its thread). `chat.open` opens an empty chat in a space;
3787
+ `chat.say { id, thread, from, text, to? }` has an agent say a fixed message in a chat without a
3788
+ turn (trusted code only; the same `id` is said once), sent out like any of its answers.
3789
+ - **What a contact's chat shows stays theirs to see** (from a security review):
3790
+ - A document others are parts of (a chat) labels as itself, and so do its parts: a write into a
3791
+ chat shared with someone outside its space (a contact) that drew on anything else, even the same
3792
+ space, carries that space as its source (staff read it; the contact doesn't), or an agent
3793
+ writing it is refused (`needs_share`). WhatsApp sends only what its addressee may read.
3794
+ - Agents are told who else is in a chat from outside the org (the `where` context), from a chat's
3795
+ members on its own, which its space's people now read by asking for that chat.
3796
+ - A part of a shared document, and a document shared on its own, are reached only where it lives:
3797
+ nothing written as one lands in another space. `may`, `must` and `present` never take a document
3798
+ shared on its own for a space (`may(ctx, verb, id, on)` asks about the document).
3799
+ - A contact's message goes to whom its chat is with (or the agent that wrote what it replies to):
3800
+ never to agents it names. Anyone's `replyTo` is kept only for a message of the same chat that
3801
+ they read.
3802
+ - A tool whose `offer` is a function decides for agents that name it too; `request_access` refuses
3803
+ for a contact; computers aren't woken (or billed) for work that's no person's; memory declares
3804
+ its own `shared` entry; the identity guard keeps people's records to people.
3805
+ - `chat.say`'s message is `<thread>:say:<id>`, said only by an agent answering in that chat.
3806
+ - Work handed to another space from a chat shared with a contact comes back labelled with that
3807
+ space (`sources`): the contact doesn't read it (spaces' contract: `sharedWith`).
3808
+ - The `shared` resource's entries are its own keys: a collection named like what objects inherit
3809
+ (`constructor`) is none.
3810
+ - **Erasure:** `contact.forget { contact, chats? }` (managers of its space) ends a contact's access
3811
+ at once, deletes its record (`contact.deleted`: WhatsApp erases its phone, but a block on it
3812
+ stays, by the phone's hash) and, with `chats`, its chats, each for someone who manages that chat's
3813
+ space (chat's new `chat.erase`, trusted code only: messages, files, waits, steps in flight; the
3814
+ history plugin erases its summaries on `thread.deleted`). The event log keeps what happened (what
3815
+ WhatsApp delivered, each change with its document) until retention removes it; memories learned in
3816
+ staff's chats, and chats a hand-over opened elsewhere, aren't erased.
3817
+ - **An open line, kept in hand:** `whatsapp.block { thread, blocked }` (managers) blocks the phone
3818
+ behind a chat: what it sends goes nowhere, unanswered. A customer sending more than the number's
3819
+ `rate` a minute (20) goes unanswered. One taken out of their chat is heard again once it's been
3820
+ quiet for the gap. Customers are told what can't go on in the number's `language` (`en`, `pt`),
3821
+ never in an error's own words.
3822
+ - **Fixed:** `message.questions`, and the terminal's `shell.mine`, `shell.set` and `shell.print`,
3823
+ let anyone whose id matched in; they're a person's own now.
3824
+
3825
+ - **Private fields for recorded Actions.** `private: ["buyer", "passengers"]` on an Action (dot
3826
+ paths, as a collection's): its calls are recorded without them, in `action.started`'s input and
3827
+ `action.completed`'s result alike, so the personal data a booking's buyer gives (names, CPFs,
3828
+ emails) never lands in the log, while the calls are still recorded, retried and deduplicated.
3829
+ - The call's `inputHash`, and so a nested call's id, still covers the whole input: a retry with
3830
+ the same input answers from the log, and a changed one is a new call (under an outside call id,
3831
+ `id_conflict`).
3832
+ - A result that had private fields is kept whole in `sys.results` (a document by call id, written
3833
+ in the completion's commit, no events), and `action.completed` says `private: true`: a retry
3834
+ answers with all of it, as it would without them.
3835
+
3836
+ - **A host without the web app: `serveRoutes`** (`copilotz/web/node`), for an app people use on
3837
+ WhatsApp or on the phone. Given the runtime, it serves the app's routes alone (webhooks),
3838
+ `/health` (unless a route takes it), and 404 for anything else: no page, no code, no sign-in; a
3839
+ route's Action is called as a visitor. Its `close({ drain })` stops listening, letting running
3840
+ requests finish, then closes the runtime with those options. A runtime that declares the `socket`
3841
+ transport still takes its sockets at `/oxian`. `routeHost(runtime)` (`copilotz/web/server`) is the
3842
+ same as a fetch handler. On Node, Deno and Bun (`examples/web-node/routes.ts`).
3843
+ - **A route can take a WebSocket** (a voice call's relay): a `serve` route calls `host.upgrade()`,
3844
+ and answers with the response it gives; its `socket` is a browser's `WebSocket` as far as
3845
+ `onmessage`, `send` and `close` go. It can refuse first, before any handshake. `serveRoutes` and
3846
+ the web host's `serve` take it, through Oxian's adapter (route sockets, Oxian 0.23).
3847
+
3848
+ - **A tool call runs once, even when its turn is tried again.** A step that failed after its tools
3849
+ ran (a tool's `llm` View throwing, a commit failing) was run again whole: its model asked again,
3850
+ its tools run again, with whatever input the model now chose, and the model never saw the first
3851
+ run. Now a step's calls are written before any of them runs (chat's new `intent` collection, one
3852
+ document per running turn, no events), and what each returns as soon as it does. A retried turn
3853
+ goes on with those calls without asking its model: a call that returned answers from its record,
3854
+ and one cut short (its executor lost, the runtime closed) runs again as itself.
3855
+ - Tools get `ctx.callId`, the same however many times the call runs (`<turn>:<step>:<n>`): the
3856
+ idempotency key for what they do outside. `ctx.retry` is now true only for a call that may have
3857
+ run before. The recorded Actions a tool calls answer from the log when it runs again.
3858
+ - A turn that ends without its step (failed for good, or stopped mid-tool) keeps the step, with
3859
+ what each call returned, or that it never did ("Interrupted before it returned: it may or may
3860
+ not have taken effect…"); a stopped answer no longer repeats that step's text.
3861
+ - A tool step costs one more commit (its calls, before they run) and one per tool call (what it
3862
+ returned). A step that only sends messages costs nothing more: they commit with it.
3863
+ - **Closing drops no turn.** `runtime.close()` returned from a delivery it cut short as if it were
3864
+ done, then saved its Processor's cursor past it, so a turn running at a deploy never answered. Now
3865
+ closing starts no more deliveries or timer occurrences, gives the running ones `drain` ms to
3866
+ finish (`close({ drain })`, 5 s by default), and keeps each cursor before an event it didn't
3867
+ finish: the next owner delivers it again, with `retry`, and with the above it doesn't repeat its
3868
+ tools. Workers are told they're gone after the drain, so running work can still use them. The orgs
3869
+ host's `close({ drain })` passes it on to every org's runtime.
3870
+
3871
+ - **Fixed: messages in a row ended an agent's prompt with its own answer.** A person writing several
3872
+ messages a few seconds apart starts a turn for each; one that ran after the agent had answered
3873
+ (while it wrote, or with the next turn) was sent a conversation ending with that answer, which
3874
+ Anthropic's newer models refuse ("assistant message prefill", HTTP 400), so it failed. Now an
3875
+ answer keeps how far its turn had read its thread (`knew`, the `at` of the newest message there);
3876
+ the prompt reads what others said after that, while it wrote, after the answer; and the turn of a
3877
+ person's message that an answer to them had already read ends without a model call. Adapters never
3878
+ send a conversation ending with the model's own message: a user turn ("Continue.") follows it, for
3879
+ every provider alike.
3880
+ - **Fixed: a failed turn's answer said what its provider said.** "booking failed: Anthropic 400:
3881
+ {…}" was written in the chat, where everyone there read it (and a WhatsApp customer got it). It
3882
+ now says "booking failed: something went wrong, so it couldn't answer. Try again in a moment."
3883
+ What went wrong stays in the `processor.failed` event; a missing key still says who can add one.
3884
+ - **Fixed: MiniMax's usage counted no input.** Anthropic's adapter read input and cache counts only
3885
+ from `message_start`; MiniMax (on Anthropic's protocol) says them in `message_delta`, so its calls
3886
+ were recorded with 0 input tokens. It now reads every count from both, the greatest of each (they
3887
+ are totals so far), so Anthropic's, said in both, count once.
3888
+ - **OpenAI keeps nothing: `store: false`.** The Responses API stores every response (30 days) unless
3889
+ told not to, and Copilotz never read them back: a model's reasoning already comes back encrypted
3890
+ and goes back with each call. A server that refuses `store` is asked again without it, from then
3891
+ on, as one refusing `include` is. A model's `options` can still set it.
3892
+
3893
+ - **Fixed: a collection's private fields reached the log on PostgreSQL.** Writes that go as the
3894
+ store's single command (most of them) recorded `.created`, `.updated` and `.deleted` with the
3895
+ whole document, so `private` fields (a computer's `pending` secret, unsealed account tokens) were
3896
+ in the log there; memory and SQLite left them out. The command now records documents without them
3897
+ too. Events already written still hold them.
3898
+
3899
+ ## 1.0.0-rc.20 — 2026-11-04
3900
+
3901
+ - **A model thinking past two minutes isn't a dropped call.** A call counted as dropped once its
3902
+ adapter yielded nothing for `silence` (2 minutes), and was retried or handed to the next model. A
3903
+ reasoning model yields nothing while it thinks, though its provider's stream goes on (GPT-6 Luna
3904
+ at xhigh on a hard problem: 108 s before its first word), so its thinking was thrown away past two
3905
+ minutes while the page showed the agent thinking. Adapters now say a stream is alive (`thinking`
3906
+ chunks, at most about once a second, for every provider); `generate` passes them on without
3907
+ counting them as written, so a model that thinks and then truly stalls still hands over.
3908
+ `complete` no longer reads a chunk it doesn't know as usage.
3909
+ - **`terminal`: a running command is seen again by its `commandId` alone.** rc.19 said so, but sent
3910
+ the computer no input with it, and every look at a slow command answered "stdin is required". A
3911
+ `commandId` beside a blank `command` is a look too; beside a real one, the refusal says how to
3912
+ look, type into it or stop it.
3913
+ - **An agent's OK shows once its own turn is over.** With agents answering in parallel, the
3914
+ computer's approval cards waited for every agent's turn to end, so one that asked and finished
3915
+ waited on a card that didn't show. Chat's `conversation` Views get `busy` (the agents whose turns
3916
+ run, each held 600 ms after its last step) beside `working`.
3917
+ - **People show by name on the web.** The browser loads only front ends, and the `names` resource
3918
+ was declared only by the spaces plugin: everyone signed in with a sign-in id (`google:…`) showed
3919
+ as "someone", in Members, a chat's people and messages, memories, computers and routines. The
3920
+ spaces front end declares it too.
3921
+ - **People's pictures beside their names**, in a space's Members, a chat's "In this chat" and a
3922
+ person's messages: a `profile.pictures` query (`{ ids }`), and `picturesIn` for Views.
3923
+ - **`openai-compatible` sends a model's thinking back.** `reasoning_content` (DeepSeek, Moonshot,
3924
+ Qwen, vLLM) is kept as the answer's state and goes back with it, as Anthropic's, Gemini's and
3925
+ OpenAI's already did; DeepSeek asks for it once tools are given.
3926
+ - **OpenAPI tools** (`openapi({ name, spec })`, in `copilotz/plugins/agents`): an API's operations
3927
+ as recorded Actions (`<name>.<operationId>`, not called again when a turn is retried) and agent
3928
+ tools (`<name>_<operationId>`); settings per deployment in `resources.openapi.<name>` (base URL,
3929
+ headers, query, timeouts, size limits, file fields).
3930
+ - **History by age:** an agent's `history: { maxAge }` (ms) leaves older messages out of its prompt
3931
+ (they stay in the chat), counted back from the newest message it sees, its start on a grid of a
3932
+ tenth of `maxAge` so the prompt cache holds between steps.
3933
+ - **Blobs in Google Cloud Storage:** `gcsBlobs({ bucket, prefix? })` (`copilotz/blobs/gcs`), signed
3934
+ in as the process's service account on Cloud Run or Compute Engine.
3935
+
3936
+ ## 1.0.0-rc.19 — 2026-11-03
3937
+
3938
+ - **`terminal` takes the command in `command`.** It took it in `stdin`, while `start_job` takes
3939
+ `command`, and the tool answered any other field with an empty success: a model that sent
3940
+ `command` (gpt-6-luna in 21 of 22 calls in our tests, Claude Haiku 5.5 in 7 of 35) was told it ran
3941
+ when nothing had. Now `command` runs a command; `commandId` with `stdin` answers a running one,
3942
+ and with `operation: "interrupt"` stops it. A call it can't read (another field, both a command
3943
+ and a commandId, an empty command, `stdin` without a commandId) runs nothing and says what to give
3944
+ instead. The computer program is unchanged. A chat shows the command from `command`, and from
3945
+ `stdin` on calls made before.
3946
+
3947
+ ## 1.0.0-rc.18 — 2026-11-03
3948
+
3949
+ - **Model tiers for the app's agents** (the new `tiers` plugin, in `copilotz/plugins/agents`). An
3950
+ app declares its tiers (`tiers` resource: a title, what it's good for, and a model for each of its
3951
+ agents, as an agent's `model` takes one). Which one an agent thinks with, first that applies: a
3952
+ model picked for it in the space, the space's tier, a model picked for it by the org, the org's
3953
+ tier, the tier the org's plan names (`planTier`), else its own model.
3954
+ - An org's owners and admins choose for the org, a space's managers for the space (`tiers.choose`,
3955
+ `tiers.pick`); everyone who reaches them sees it (`modelChoice.offered`, `modelChoice.agent`).
3956
+ Choices keep the tier's name, so retuning a tier moves everyone on it.
3957
+ - A pick keeps the tier's list behind it as fallback, and carries the `maxTokens` of the entry it
3958
+ replaces, and its `effort` when the picked model takes it (`models.efforts`, from the catalog).
3959
+ - Chat asks through a new `agentModel` resource, once per run, for the app's agents only; agents
3960
+ people make keep their own model. A turn's usage now says its `space`.
3961
+ - On the web (`tiersWeb`): "Agents' models" in org settings (the tiers with a typical reply's
3962
+ price, choosing one with Undo, a model per agent), and on a space's Members tab its tier and
3963
+ each app agent's model with where it comes from. Team's model picker is a View (`model.pick`)
3964
+ other plugins show.
3965
+ - **Plans say whom they're for and which tier they give.** `PlanTerms.for` (`"personal"` or
3966
+ `"team"`) is enforced on every move to a plan (checkout, staff, a provider's webhook);
3967
+ `PlanTerms.models` names the plan's tier (`billing.tier`). The Billing page offers an org only the
3968
+ plans for its kind that its seller can sell (`billing.sellable`), says how much of this period's
3969
+ plan credits is left and when they lapse, and speaks of seats only to teams.
3970
+ - **The Usage page, rebuilt around money.** One line: spent this billing month, against the budget,
3971
+ what's left and how long it lasts at this pace. One "By" switch (kind, space, person, agent,
3972
+ model) drives a stacked daily chart and a ranked list; a row filters the page. Activity shows
3973
+ turns, computer sessions, app days and conversation upkeep instead of ledger records; staff see
3974
+ cost and margin in place.
3975
+ - `usage.calls` is gone: `usage.activity` replaces it. `usage.org` groups and filters by
3976
+ `category` (agents, computers, apps; `usage.categories`) and by `tags.space`, and names what it
3977
+ groups by as the caller reads them, through a new `usageNames` resource kind each owning plugin
3978
+ contributes (spaces, conversations, computers, apps).
3979
+ - Cloud computers' records say their `space` and, for VM time, their `session`; summaries, memory
3980
+ notes and their embeddings say their conversation's `thread` and `space`.
3981
+ - Rollups keep `tags.space`. A closed day remembers its shape; days closed with an older one are
3982
+ read from records until `usage.close` closes them again (the next nightly close, or by hand).
3983
+ - **An app's own instructions are sent as instructions.** A `context` entry with
3984
+ `instructions: true` (`system` only) goes right after the agent's instructions, without the
3985
+ `<context>` tag that marks other contexts as information, not instructions.
3986
+
3987
+ ## 1.0.0-rc.17 — 2026-11-03
3988
+
3989
+ - **A model's state goes back with its answers.** What a model returns to be sent back (Anthropic's
3990
+ signed thinking, Gemini's thought signatures) was kept on tool steps but dropped on the final
3991
+ answer, so the next turn started without it. Answers keep it now, and agents are sent it on
3992
+ text-only messages too. A message's `state` is private, like `told`: people's reads and events go
3993
+ without it, and an answer handed back to another space doesn't carry it.
3994
+ - **OpenAI's reasoning goes back to it.** The Responses adapter asks for a reasoning model's
3995
+ reasoning, encrypted (`include: ["reasoning.encrypted_content"]`), keeps it as its answer's state,
3996
+ in its place among the answer's text and calls, without ids, and sends it back. Between tool steps
3997
+ the model carries on instead of thinking again: on gpt-6.1-sol, a two-turn tool task wrote 42%
3998
+ fewer output tokens. A server that refuses `include` is asked again without it, and not asked
3999
+ again. Sent back, past reasoning stays in later prompts (a probe: 616 input tokens with it, 48
4000
+ without), so a state now says about what it adds (`LlmState.tokens`), and history counts it.
4001
+ - **History counts what a prompt really carries.** The history plugin's tail is measured in
4002
+ estimated tokens of what an agent is sent for each message: its text, its model's state, text
4003
+ files' content, transcripts, images (1,600 each) and PDFs (2,000 a page), and agents' tool steps,
4004
+ which leave the tail without a line. `tail` is in tokens now (was bytes), and its default stays
4005
+ `[16_000, 48_000]`, so a text-only conversation keeps about four times more whole.
4006
+ - Until the tail first cuts, every message is sent: no 50-message cut before anything is
4007
+ summarized. That holds for threads whose outline began with them; older ones get chat's window
4008
+ until their first cut.
4009
+ - The four newest shared messages always stay whole, so a big file stays while it's talked about.
4010
+ - A message's line names its files, and `zoom(id, 1)` gives the message as the agent is sent it,
4011
+ text files' content included.
4012
+ - After a cut, state from before it (thinking bound to how the conversation began) isn't sent
4013
+ again; and when a provider refuses a model's own state as stale anyway, the call is tried once
4014
+ more without any.
4015
+ - Outlines no longer log events.
4016
+ - **Without the history plugin,** an agent's window holds 50 to 100 messages and drops 50 at a time
4017
+ (was the latest 50, one off every turn), so the prompt cache holds between drops. `lineage`
4018
+ (exported) takes `batched`; its `since: ""` now means every message, and its db needs
4019
+ `countDocuments`.
4020
+ - **Fixed:** lifting a usage waiver gave back nothing for a use recorded in the very millisecond it
4021
+ was lifted (a flaky billing test showed it).
4022
+
4023
+ ## 1.0.0-rc.16 — 2026-11-02
4024
+
4025
+ - **Fixed:** staff by email weren't staff anywhere but going into an org. `org.mine` asked without
4026
+ their email, so anyone signed in with Google, whose id isn't their email, had no console and no
4027
+ "Enter as staff". It takes `email` now, and the orgs host passes the one they verified.
4028
+
4029
+ ## 1.0.0-rc.15 — 2026-11-02
4030
+
4031
+ - **Enter as staff, in your own org too.** Staff who belong to an org go in as one of its people, as
4032
+ before, but can now ask to go in as staff: from the console, or the org switcher. They keep their
4033
+ role, get the staff tools, and "Continue as Owner" takes them back. `POST /orgs/enter` takes
4034
+ `staff: true`, `org.enter` takes `staff`, and `GET /orgs` says `asStaff`, which `asStaff()` now
4035
+ reads instead of guessing from membership.
4036
+
4037
+ ## 1.0.0-rc.14 — 2026-11-02
4038
+
4039
+ - **Credits** (`plugins/billing/credits`): what an org can spend. Plans, credits and payments are
4040
+ its own rows, the balance is walked from them and the ledger, and one check stops model calls,
4041
+ computers and builds at the limit, in plain words. Staff set plans, give credits, waive usage or
4042
+ seats, and record payments; gift codes wait in the directory.
4043
+ - **Stripe** (`plugins/billing/stripe`): Checkout, the customer portal and signed webhooks, for one
4044
+ or more accounts. A subscription's credits come with its paid invoice.
4045
+ - **Prices:** a use on an org's own key costs nothing; a plan can name a price list; `usage.quotes`;
4046
+ the model picker shows the org's real price.
4047
+ - **Removed:** the cloud plugin's `create` and `budgetUsd` settings. Anyone in an org but its guests
4048
+ makes a computer; what the org can spend keeps the cost.
4049
+ - **Fixed:** model use listeners are awaited, so a late record isn't lost; a VM's seconds stop at
4050
+ its lease, so an org closed for days isn't charged for a VM long gone.
4051
+ - `composerNotes`, a note above the composer from another front end.
4052
+
4053
+ ## 1.0.0-rc.13 — 2026-11-01
4054
+
4055
+ - **Choose an agent's model from the catalog, with your own key.** The agent editor searches every
4056
+ provider and model in the models.dev catalog an agent can work with (`models.offered`): those with
4057
+ a protocol we speak and an address of their own. An org's owners and admins add a key for a
4058
+ provider right there (`modelKey.set`): it's sealed, shows only its end, and its agents' calls to
4059
+ that provider use it, over the app's. Those uses are tagged `paid: "own-key"`. The catalog now
4060
+ keeps names, release dates, and which models can't call tools or answer in text.
4061
+ - **Secrets stay out of the log.** `env.set` and `apps.configure` recorded their input, so a space's
4062
+ or an app's secret was kept in plain text in its `action.started` event, sealed field or not. Both
4063
+ are unrecorded now. Secrets set before this remain in events already written: rotate them.
4064
+ - **Agents manage cloud computers.** `list_computers`, `create_computer` and `manage_computer` (add,
4065
+ remove, rename, default, destroy) work in the conversation's space, as the person the agent works
4066
+ for, through the same Actions and rules a person has. Nothing asks first except destroying, which
4067
+ loses the disk: like publishing, it's asked every time and only "once" allows it. A person's own
4068
+ machine isn't an agent's to manage. An agent in a space with no computer is told it can make one.
4069
+ - **A query an Action runs knows who asks.** Named queries called from an Action or a transaction
4070
+ lost the actor for what they call themselves, so a query asking another Action could fail, or
4071
+ answer as though nobody asked.
4072
+ - **A read's answer no longer overwrites something newer.** The owner answers a batch of reads once
4073
+ its slowest is ready, so a change could be pushed before the answer that didn't include it. The
4074
+ client then showed the older answer until the read next changed: on a page's first load (the push
4075
+ was dropped) and after a reconnect (the push was overwritten). What's pushed while a read is asked
4076
+ for now wins over its answer, and a connection that's been replaced is no longer listened to.
4077
+
4078
+ ## 1.0.0-rc.12 — 2026-11-01
4079
+
4080
+ - **An agent can hand work to itself in another space.** "Itself" now means the same agent in the
4081
+ same chat: North in Personal and North in Project management are two pieces of work. Whoever a
4082
+ space says answers takes what's handed there, even the agent that sent it, instead of being
4083
+ skipped for someone else, so a space where only that agent answers can receive work too. It reads
4084
+ what it handed over, and the answer back, as input (`You (via delegated "Solo"): …`), not as
4085
+ something it said.
4086
+ - **Delegated messages name the other space:** "Delegated: Personal" there, "Delegated: Project
4087
+ management" back, with an icon of their own.
4088
+
4089
+ ## 1.0.0-rc.11 — 2026-10-31
4090
+
4091
+ - **A routine can run with nobody watching.** What its agent needs a yes for can now be allowed for
4092
+ that routine alone: "Allow for this routine" on the card, or "What it can do without asking" on
4093
+ its page (run commands, start jobs, change files, per computer), ahead of its first run. Allowing
4094
+ it answers every run already stopped on the same thing. What a run waits on shows on the routine's
4095
+ page, with the way to its chat. In the terminal: `/approve <n> routine`.
4096
+ - **That yes covers only that routine's runs, as it was.** A run's work carries the routine as its
4097
+ `origin`, on the actor (`originOf`, chat's contract), which only code can set: a person's own
4098
+ message to the same agent still asks, even one claiming `via` a routine. Changing what a routine
4099
+ does (what it asks, whom, as whom) makes a new version (`routine.rev`), which the yes doesn't
4100
+ cover: its page says so and offers "Allow again". Name and schedule don't count. Where a
4101
+ computer's owner keeps the answers, only they can say it (`computer.allowOrigin`).
4102
+ - **Plugins can add to a routine's page:** the `routinePanels` resource (`{ view, order? }`), a View
4103
+ given the routine.
4104
+ - **Authorization is one model.** `personOf`, `forbidden`, `invalid`, `failure`, `people` and
4105
+ `inPerson` come from the runtime; `may`, `must` and `mustOwnOr` from the spaces contract,
4106
+ replacing seven `personOf` copies, about 25 hand-written checks and about 30 local error helpers.
4107
+ `reachOf` is the only answer to what someone may do, and respects every limit on them.
4108
+ - **Fixed: taking over a space.** A thread named after a space could be used to become its manager.
4109
+ A document's memberships now live under its own name (`note:n1`), and only shared collections can
4110
+ be named.
4111
+ - **Fixed: keys left their space.** Actions that checked reach, then wrote as the system, ignored a
4112
+ key's limit. Reach respects it now (`within`, which replaces `at` on a key's actor), and the API's
4113
+ own narrowing rules are gone. Keys can't answer approvals.
4114
+ - **Fixed: agents asked by agents ran as the agent that asked.** A turn is always its own agent, for
4115
+ the person the work is for, including where a computer's owner answered.
4116
+ - **Publishing is asked every time.** Nothing wider than once is offered or honored.
4117
+ - **Approvals can be taken back,** from the Computer tab. What's allowed for a routine comes from
4118
+ the routine (`origins` resource), not from what the caller says.
4119
+ - **Roles are given one way** (`seat`): a granted request can't name a role that doesn't exist or
4120
+ make an agent a manager, and custom roles count everywhere.
4121
+ - **An archived space isn't written in,** which only views enforced before.
4122
+ - **Replacing or rebuilding an app** takes its publisher or a manager. **Where a computer's owner
4123
+ answers,** only they change anything on it directly; others still read it.
4124
+ - **Leaving ends what someone left behind,** however they left: desks, yeses and keys for that
4125
+ space, and out of the org, all of them and their own computers. Cloud computers stay for those who
4126
+ run the org. A preview's cookie asks whether its person is still a member on each request.
4127
+ - **Agents can hand work to other spaces.** `send_message` takes `space`: any space the person can
4128
+ write in, listed in the agent's context with who answers there. A new chat opens there, visible to
4129
+ its members and marked as delegated, for the same person; the answer comes back to the chat it
4130
+ came from, and stopping that chat stops the work. An agent can't hand work to itself.
4131
+
4132
+ ## 1.0.0-rc.10 — 2026-10-31
4133
+
4134
+ - **A routine made from a chat posts back in that chat.** `schedule_routine` keeps the chat it was
4135
+ called from (`routine.thread`), where before no setting could reach it: `same` meant a new chat
4136
+ made by the first run. `routine.create` takes `thread` (a chat in that space its maker can see),
4137
+ and `post` now defaults to `same`, in the web form too. Its confirmation says where it posts. If
4138
+ the chat is deleted or moved to another space, the run starts a new one and says why
4139
+ (`routineRun.note`).
4140
+ - **A new chat each run is a first-class choice,** for runs to open later (a daily analysis):
4141
+ `post:
4142
+ "new"`. Each chat is named by `chatName`, with `{name}`, `{date}`, `{time}` (its
4143
+ timezone) and `{run}` filled in; by default its name and the day (and time, for `hours` and
4144
+ `cron`), so runs no longer all share one name. Its agent may then name it for what it found, with
4145
+ the new `name_chat` tool, offered only in those chats. The routine's page lists runs by their
4146
+ chats' names. The form and the agent's confirmation say how many chats a day it comes to, when it
4147
+ runs at least hourly.
4148
+ - **A routine's messages say they're its.** `chat.send` takes `via` (`{ kind, name, path? }`): the
4149
+ message is still its sender's, but shows "Routine: Pricing", linked to the routine, and agents
4150
+ read `ana (via routine "Pricing"): …`, so they know nobody typed it just now. `chat.send` also
4151
+ takes `title` and `renamable` for a new thread, in the same commit as its first message.
4152
+
4153
+ ## 1.0.0-rc.9 — 2026-10-31
4154
+
4155
+ - **A space's page has a few tabs, and their sections.** A `spaceTabs` entry `under` another tab is
4156
+ a section of it, listed in its menu, with an optional `group` heading; a tab with sections names
4157
+ its own View among them (`own`) and shows them in a menu beside (`menu: "side"`) or as tabs above
4158
+ (`top`, the default). A section's key opens its tab there (`?tab=memories`), so every address
4159
+ still works, and the palette lists sections too. The tabs now: Chats, Board and Documents (an
4160
+ app's), Computer (Computers, Environment, Apps), Routines and Settings (General, Members,
4161
+ Memories, Skills, Channels: WhatsApp, API). Where there's no room for a menu beside (a phone),
4162
+ Settings is a list to tap into, and a section says how to get back; in the side panel, sections
4163
+ are tabs under the panel's. Who's waiting to join shows on Settings and on Members.
4164
+ - **On phones, an app's page.** The viewport spans the screen (`viewport-fit=cover`; the composer
4165
+ keeps clear of the home bar) and the keyboard resizes the page where browsers allow
4166
+ (`interactive-widget`); pinching still zooms. The page never scrolls sideways or bounces as a
4167
+ whole, and a tap is a tap (no double-tap zoom, no grey flash). On touch screens, text is 16px,
4168
+ fields too at least (so Safari never zooms in on one you type in), and buttons, icon buttons,
4169
+ fields and copy buttons are 44px targets (40px small).
4170
+ - **A conversation scrolls up and down only.** What's wider (a table, code) scrolls in its own box;
4171
+ text wraps; a file's chip and a tool call being written no longer widen it.
4172
+ - **What an agent asks you never covers the conversation.** The command or the file it shows scrolls
4173
+ within a few lines (a command can wrap into dozens), with a copy button, so the answers are always
4174
+ in sight; the cards keep to at most 60% of the chat's height and scroll there.
4175
+
4176
+ ## 1.0.0-rc.8 — 2026-10-31
4177
+
4178
+ - **Agents' prompts only grow, so the prompt cache keeps them whole.** A turn context (the
4179
+ computers', the spaces elsewhere, memories, an app's) is sent after the conversation only when it
4180
+ says something new: when its text isn't what the agent was last told there. The turn's first
4181
+ message keeps what it was told (`told`, `[{ name, text }]`, a private field: people's reads come
4182
+ without it), and later turns are sent it there. So each model call starts with the whole call
4183
+ before it, tool steps and earlier contexts included, where before a turn's context, dropped the
4184
+ next turn, cut the cached prefix at the turn's start. `Prompt.turn` is now `{ name, text }[]`:
4185
+ what's new this turn.
4186
+ - **OpenAI's newer models keep the prefix where told.** Since GPT-5.6, OpenAI caches only at
4187
+ breakpoints: its implicit one falls at the end of the latest user message, the turn's context,
4188
+ which the next turn didn't send, so a conversation reused only its system text. The Responses
4189
+ adapter now marks a message with `cache` (the end of the history) with an explicit
4190
+ `prompt_cache_breakpoint`, on the user's or tool's input at or before it. A model that refuses
4191
+ breakpoints (earlier ones, other servers) is asked again without, and never again. What OpenAI
4192
+ wrote to the cache is metered as `cacheWrite` (billed at a premium by models that report it).
4193
+ - **Memory: the system text says how to remember; what's remembered is told.** The `memory` context
4194
+ (system) is the guide alone, the same in every conversation, so the system text is cached across
4195
+ all of an agent's conversations in a space. Core memories about who's here are the new
4196
+ `remembered` turn context: those learned before the conversation began, told at its start and kept
4197
+ there. Core memories learned since come up in `recall` when relevant (query `relevant` takes
4198
+ `since`; `core` takes `before`), so a memory learned mid-conversation never rewrites its prompt.
4199
+ - **History summarizes a message when it leaves the tail**, not when it comes: only then is its line
4200
+ read (in the outline, or by `zoom`). A conversation that stays within the tail never calls the
4201
+ summarizer; a longer one builds the same tree, in batches, as its tail shrinks. The outline keeps
4202
+ the tail's message ids (`tailIds`); threads summarized before keep the lines they have.
4203
+ - Measured on Compass's own plugins with real OpenAI calls (gpt-6.1-sol; a 12-turn conversation,
4204
+ then a 4-turn one with tool steps, the same agent in the same space): the agent's calls read 95.5%
4205
+ of their input from the prompt cache, up from 59.3%, and every model call in the run (memory
4206
+ extraction included) 92.4%, up from 44.4%, with no summarizer call (101 before). A 24-turn
4207
+ conversation that outgrew its tail: 92.4% for the agent, its one miss when the outline arrives
4208
+ (the prompt is new from there).
4209
+
4210
+ ## 1.0.0-rc.7 — 2026-10-30
4211
+
4212
+ - **Agents choose among a space's computers.** Every computer tool (the terminal, jobs, files, the
4213
+ browser, web search, `preview`, and the apps' `publish`) takes `computer`: one of the space's
4214
+ computers by its name (any case, or part of it when only one has it) or its id; the space's
4215
+ default otherwise. An unknown or ambiguous name, or a computer that's offline, is told with the
4216
+ ones to choose from; naming a cloud computer that's asleep wakes it. Each turn, an agent's context
4217
+ lists the space's computers (whose, a cloud computer or a machine, how it is now, its system, what
4218
+ it asks first, the default marked) when there are several; one stays as it was. In a space with
4219
+ several, an answer says the computer it came from (`computer`), and the web's tool steps show it.
4220
+ - **A job is found on whichever computer runs it:** `computer.preview` and `computer.scope` (and so
4221
+ `app.publish` and the agents' `preview` and `publish`) take a job without a computer and look for
4222
+ it on the space's computers that are online, the default first. `computer.preview`,
4223
+ `computer.scope`, `computer.allowed` and `app.publish` take `computer` (a name or an id).
4224
+ - **The default computer** is named so on the web (a "Default" badge, "Make it the default") and in
4225
+ `/computers`.
4226
+ - **Apps: what serves a preview serves the app.** A folder with no Dockerfile is built into an image
4227
+ made for it (no more buildpacks, which found nothing to build in a plain folder): the computer's
4228
+ system (Debian 12) with Node.js 24 and Python, the folder as it was sent, its dependencies
4229
+ installed again (npm, pnpm, yarn; `requirements.txt`) and its `build` script run, then its job's
4230
+ command behind a front that passes the platform's port on to the job's port on localhost,
4231
+ WebSockets included. A job bound to `127.0.0.1` (as previews allow) is served all the same; the
4232
+ job is given its own port as `PORT`. `AppHost.build` answers the port its image serves on. Without
4233
+ a Dockerfile, an app is published from its job (its command).
4234
+ - **A space's environment: variables and secrets.** Each space has its own (collection `envVar`,
4235
+ `{ name, value, secret, computers, by, at }`, names like `API_URL`). Its managers change it
4236
+ (`env.set` `{ in, name, value?, secret?, computers? }`, `env.unset`); its members read names and
4237
+ the values of variables. A secret is sealed at rest (AES-GCM, with the new `computers: { key }`
4238
+ resource, else kept as given) and never read back by anyone: people see only that it's there (and
4239
+ a long one's last 4 characters), agents only its name. Every job and shell started in the space,
4240
+ from the web or by an agent, gets the variables with `computers` (true unless said), under its own
4241
+ `env` (`jobs.start` and `terminal` take `env`; the `start_job` tool too); a job kept running keeps
4242
+ its env on the computer's disk and starts again with it. A secret given to computers can be read
4243
+ by any process there, and the web says so where it's given. Agents' computer context lists the
4244
+ names they have (`$NAME`), never a value.
4245
+ - **Apps get the space's environment.** An app is deployed with all of its space's variables and
4246
+ secrets, and its own over them (`envVar` with `app`; queries `here` and `apps`), passed to Cloud
4247
+ Run as its env. `app.configure` `{ app, env? }` (its publisher, or the space's managers) changes
4248
+ its own and deploys its image again with them, without a build (the port the image serves is kept
4249
+ as `served`). A change to the space's environment doesn't redeploy anything: it reaches an app
4250
+ when it's published again, or at once with "Apply to apps". Taking an app down removes its own
4251
+ environment (`env.unset` `{ in, app }`).
4252
+ - **Web: Environment.** A space's Environment tab lists its variables (a secret masked, whether its
4253
+ computers get it, who set it and when); its managers add, change and remove them, with the honest
4254
+ limit shown beside a secret given to computers. Under it, its live apps and "Apply to apps"
4255
+ (through computers' new `envActions` resource). An app's row opens its environment: the space's
4256
+ shown, its own edited, saved with a redeploy. The job start form takes its own environment
4257
+ (`NAME=value` lines). The toolkit's `Time` also draws on a server.
4258
+ - **People by name, everywhere:** agents' prompts, notes, the terminal and the web show a person's
4259
+ name where they showed their id (`google:1139…`). The spaces plugin keeps each person's profile
4260
+ (collection `profile`: their name as sign-in verified it, else their email's name, and picture;
4261
+ never their email), from the identity plugin's `person` as it changes, at `org.join`, and on
4262
+ `space.personal` (each page load), so people known before it get one the next time they come.
4263
+ Anyone in the org reads names through the query `profile.names` `{ ids }` (a browser reads
4264
+ profiles only through it); two people of one name stay apart ("Ana (2762)"). The new `names`
4265
+ resource says where names are (`{ collection: "profile" }`), and the spaces contract (and
4266
+ `copilotz/plugins/access`) gives `nameOf`, `namesOf`, `namesIn` (Views), `namesFor` (Actions,
4267
+ Processors, tools), `withNames`, `idsIn` and `PROFILE`. A sign-in's id is never shown as a name:
4268
+ without a profile, it's "someone".
4269
+ - **Agents' prompts:** others' messages read "Ana Lima: …", "People here:" names people, a
4270
+ conversation's space is "Ana Lima's Personal space", the computers context says whose computer it
4271
+ is and who says yes by name, as do waiting asks, routines (who made one, whom it runs as), history
4272
+ summaries and zoom, and recall. Memory extraction writes names, and `remember`'s `about` takes a
4273
+ person by name.
4274
+ - **Notes and summaries written before names:** a memory or a summary that says someone's id
4275
+ (`google:1139…'s cloud computer…`) reads with their name wherever it shows (prompts, recall, the
4276
+ Memories page, the terminal), substituted when it's shown: nothing stored is changed, and nothing
4277
+ needs migrating.
4278
+ - **The web:** the Members tab (people, requests to join, invitations), the space header's faces,
4279
+ other people's Personal spaces ("Ana Lima's Personal"), invitations ("Ana Lima invited you"), chat
4280
+ messages and the conversation's people, memories (grouped, by whom, search), routines, skills
4281
+ ("Made by"), apps ("by"), computers (whose each is, who asks first, who started a job or made a
4282
+ preview), usage and the org's people show names. **The terminal:** `/computers`, `/approvals`,
4283
+ `/requests`, `/grant`, `/invitations`, memories and messages, likewise; `/remove` takes a person's
4284
+ id with a colon (`google:1139…`).
4285
+ - **Share refusals** name the spaces a write would reveal ("Ana Lima's Personal space"), not their
4286
+ ids. An org invitation made by a space invitation says who invited them.
4287
+
4288
+ ## 1.0.0-rc.6 — 2026-10-30
4289
+
4290
+ - **Computer program:** an app on another machine over plain `ws:` (an `http://` address that isn't
4291
+ localhost) fails at once, saying to use https, instead of waiting to connect forever: Oxian
4292
+ refuses plain `ws:` but to this machine.
4293
+ - **Cloud pools:** a pool grown for a wake isn't shrunk while its VM boots. `pool.take` records what
4294
+ it waits for (`poolWant`), and `pool.tick` sizes each pool to its floor, the takes of the last 2
4295
+ minutes and the wakes still waiting. Before, the next minute's sizing set the pool back to its
4296
+ floor, deleting the VM a wake had grown it for before it connected.
4297
+ - **Cloud computers:** `cloudComputer.sizes` also says whether the person asking may make one now
4298
+ (`create`, and `why` not: `admins`, `budget`), and the warm and view minutes; `cloud.may` says
4299
+ just that. The web's "Use a cloud computer" choice shows why it can't be picked, and the copy says
4300
+ the app's minutes.
4301
+ - **Cloud computers shared into a space:** each computer's state is kept on it and its desks
4302
+ (`status`: `{ kind: "cloud", state, size }`, set with the new system Action `computer.mark`, as
4303
+ the cloud plugin sees it change), so the space's members see how anyone's is (asleep, waking,
4304
+ awake), not "offline".
4305
+ - **Previews:** `preview.here` records carry their address (`url`); the web no longer works it out.
4306
+ `computer.preview` and `computer.scope` take a `desk` (one of the space's), and so does
4307
+ `app.publish`: the web makes previews and publishes apps from the computer it's on, not the
4308
+ space's default.
4309
+ - **Apps:** an agent's `publish` asks its person with where the app will be ("wants to publish Shop
4310
+ at https://shop.copilotz.app").
4311
+ - **`org.me`** isn't recorded (it only reads), so reads (queries, Views) ask it too.
4312
+ - **The local cloud host** is one per app and account, whichever executor asks: with several
4313
+ executors, a VM one started was turned away by another.
4314
+
4315
+ ## 1.0.0-rc.5 — 2026-10-30
4316
+
4317
+ - **Cloud computers** (plugin `cloud`, see design/cloud-computers.md): computers the app hosts for
4318
+ its people. A cloud computer is a disk; a VM from a pool serves it for one wake, then goes.
4319
+ `cloud.create` `{ size, in?, name? }` makes one (an org's owners and admins, or its members when
4320
+ the settings say, under the org's monthly `budgetUsd`); work for one that's asleep wakes it (a few
4321
+ seconds; about 30 from cold); unused for `warmMinutes` (10) it's released, and after `coldDays`
4322
+ (7) it goes cold, kept as a snapshot. A person with it open (`computer.view`, every few minutes
4323
+ from its panel) keeps it awake up to `viewMinutes` (120). Its agents ask their person nothing
4324
+ first (the `cloud` settings' `approve`, `[]` by default, in place of the computers plugin's;
4325
+ publishing an app is always asked). `cloud.destroy`, `cloud.org`, queries `cloudComputer.mine` and
4326
+ `cloudComputer.sizes` (each size priced an hour). Hosts are adapters: Compute Engine (`gceHost`:
4327
+ managed instance groups as pools, pd-balanced disks, VMs admitted by their Google identity tokens)
4328
+ and a local one for development and tests. Metered under `computer` as `cloud/<size>` (VM
4329
+ seconds), `cloud/disk` and `cloud/snapshot` (GB-hours).
4330
+ - **Cloud pools** (plugin `cloudPool`): the pools' VMs, where they connect (the `pool` worker kind),
4331
+ and the Actions `cloud` reaches them through: `pool.take`, `pool.serve`, `pool.stop`, `pool.drop`,
4332
+ `pool.renew`, and `pool.tick` each minute (pools sized by the hour). Each VM given is leased:
4333
+ renewed each minute while its computer uses it, deleted once nobody does. A VM serving a computer
4334
+ connects again as itself when its socket drops, until it's told to stop; then, or gone, never
4335
+ again. One runtime has both plugins; an app of many orgs runs `cloudPool` once (its directory's
4336
+ runtime, needing nothing else) and gives each org's runtime `remotePool(call, org)`, the same
4337
+ Actions forwarded there, each org touching only its own VMs.
4338
+ - **Computer program:** `computer pool --app <url>`, a free VM of an app's pool: it waits to serve a
4339
+ computer, mounts its disk, and runs it, connected at the address it's told (its org's). Given the
4340
+ app's socket (`wss://…`), its identity is still for the app's https origin. scripts/cloud has a
4341
+ Google Cloud project's setup and the pool VMs' startup script.
4342
+ - **Previews:** what a job serves, at `https://<computer>-preview.<domain>`, carried to the computer
4343
+ over its own connection (no inbound network), streamed both ways (`computer.http`). For a space's
4344
+ members (a signed cookie, given by the app) or anyone with the link. `computer.preview`,
4345
+ `computer.previews`, `computer.unpreview`, and the agents' `preview` tool. Settings
4346
+ `computers.previews` `{ domain, key }`. WebSockets aren't carried yet.
4347
+ - **Apps** (plugin `apps`): what a job serves, published to run on its own at
4348
+ `https://<label>.copilotz.app`. The space's folder is archived by its computer
4349
+ (`computer.archive`), built (its Dockerfile, else buildpacks) and deployed as a service that
4350
+ scales to zero. `app.publish` (and the agents' `publish` tool, always asked), `app.list`,
4351
+ `app.redeploy`, `app.remove`; builds and running metered under `app`. Hosts: Cloud Run
4352
+ (`cloudRun`) and a local one (`localApps`).
4353
+ - **Apps' safety:** services and images are named `cz-app-<name>` (an app never replaces another
4354
+ service in its project); builds run as `cz-build@<project>` (`buildServiceAccount`), never the
4355
+ project's default service account, as they run the app's own Dockerfile. `app.publish`'s `port`
4356
+ wins over its job's.
4357
+ - **Previews' safety:** a preview's `Set-Cookie` loses its `Domain` (no preview sets cookies for the
4358
+ domain's other hosts); a request with several `cz_preview` cookies gets in when any is its host's.
4359
+ - **Jobs** can say their `port` (a preview's) and be kept (`keep`): a kept job runs again when its
4360
+ computer wakes.
4361
+ - **A person's panel** (`computer.work`): `wake` wakes a computer that sleeps (its page opened);
4362
+ what only reads (`jobs.list`, `jobs.logs`, `files.list`, `files.read`, `search`) neither wakes it
4363
+ nor keeps it awake, so a page left open lets it sleep (`computer.view` keeps it awake while
4364
+ viewed, up to the limit). A computer the app makes says what its agents ask about
4365
+ (`computer.provision`'s `approve`, kept on it and its desks).
4366
+ - **On the web** (`copilotz/plugins/compute/web`: `computersWeb`, `cloudWeb`, `appsWeb`):
4367
+ - adding a computer is one choice: a cloud computer (its sizes, priced an hour), your own machine,
4368
+ or one of yours;
4369
+ - a cloud computer shows its state, how long it's been awake and about what that came to; asleep,
4370
+ waking it, with honest progress; deleting it, asked first;
4371
+ - a job serving a port can be previewed (members, or anyone with the link), opened, copied and
4372
+ published as an app (live as it builds), and a space has an Apps tab;
4373
+ - jobs can be kept running.
4374
+ - **Web host:** routes by host (`{ host }` beside `{ path }`); a trusted front (`front`: a secret
4375
+ header and the host it forwards) for apps behind a proxy; orgs claim hosts in the directory
4376
+ (`orgHost`), resolved at `/__copilotz/hosts/resolve`.
4377
+ - **Runtime:** `runtime.workers.dispatch(kind, id, workload, body?)`, for host code (a route)
4378
+ streaming work to a connected worker.
4379
+ - **Usage:** `usage.quote` prices quantities as a use would be, without recording one.
4380
+
4381
+ ## 1.0.0-rc.4 — 2026-10-30
4382
+
4383
+ - **Usage: every use has a price.** It's the cost (a margin of 0) unless the app's price book says
4384
+ otherwise: rates of its own, or a gross `margin` on the cost (`{ margin: 0.9 }` is ten times the
4385
+ cost), from its `since` date on. `markup` is gone: a margin says it. Uses recorded before count at
4386
+ their cost, in totals and when re-rated.
4387
+ - **Usage: by part.** Each record keeps its cost and price by part (input, cache reads, cache
4388
+ writes, output, reasoning…) and what caching saved; totals and rollups sum them.
4389
+ - **Usage: people see prices.** `usage.totals`, `usage.org` and `usage.calls` give people prices
4390
+ only; costs (and so margins) only platform staff and the system. Each of `usage.org` and
4391
+ `usage.calls` says whether it shows costs (`costs`).
4392
+ - **Usage page and `/usage`:** spend (the price) everywhere, with caching visible: hit rate, what
4393
+ reading and writing the cache was charged, and what it saved, overall and by model; cached tokens
4394
+ in the chart and in each call. Platform staff also see cost and gross margin, marked staff-only.
4395
+ - **Models:** OpenAI-compatible providers' cache reads and writes are read as each reports them
4396
+ (DeepSeek's cache hits, Moonshot's cached tokens, OpenRouter's cache writes).
4397
+
4398
+ ## 1.0.0-rc.3 — 2026-10-30
4399
+
4400
+ - **Computers:** connecting one more app (`computer install <app> --code`) no longer stops the
4401
+ computer running in the background: it enrolls beside it, then that one starts again with every
4402
+ app. Turned away, the background one runs on as it was (before, a code refused while it was
4403
+ stopping left it stopped). The state's lock waits a moment for one that's stopping.
4404
+ - **Computers:** a new app's folder never takes the name of a space folder kept in the root by a
4405
+ computer from before apps had folders of their own.
4406
+ - **Install script:** it always says, last, how the terminal it ran in gets `computer` (new ones
4407
+ have it).
4408
+
4409
+ ## 1.0.0-rc.2 — 2026-10-30
4410
+
4411
+ - **Orgs:** an org's socket is in its own address (`/o/<org>/oxian`), beside the shared `/oxian`, so
4412
+ a browser that sends no cookies with a WebSocket (Safari) reaches its org. The web host's page
4413
+ says which socket to use (`socket`) and its base (`base`).
4414
+ - **Web:** a person shows as their name, from their profile, not as their id: the viewer has a
4415
+ `label` beside its `name`, which the shell's account menu and the chat's greeting use.
4416
+ - **Computers:** one machine serves many apps, or many orgs of one. Each is a computer of its own
4417
+ there, with its own id and secret, all in one program; a state kept before becomes its one
4418
+ connection. `computer list` says which and where; `computer disconnect <app-url>` leaves one. An
4419
+ org's spaces go in a folder named for the org (`~/Copilotz/acme-studio`, `~/Copilotz/personal`): a
4420
+ code made on an org says it (`folder`), and the install lines pass it on (`--folder`).
4421
+ - **The computer program's release:** each release on GitHub has it, made by the publish workflow on
4422
+ a Mac. When the program is the same as the last release's (`source` in its manifest), the release
4423
+ has that one's binaries, version and all, so computers don't download what they have.
4424
+ `computerDownloads()` serves this Copilotz's own release by default.
4425
+
4426
+ ## 1.0.0-rc.1 — 2026-10-30
4427
+
4428
+ Copilotz 1.0 is a new runtime, written from scratch: one runtime for agents and the apps around
4429
+ them, on Node, Deno, Bun, Cloudflare Workers and the browser. It's published as `copilotz` on npm
4430
+ (Node first) and as `@copilotz/copilotz` on JSR.
4431
+
4432
+ - **Primitives only:** the runtime knows plugins, collections (JSON Schema, with the MongoDB
4433
+ collection API), Actions, Processors, Views, resources and adapters, and never what a plugin is
4434
+ for. Everything durable is an event, a document (node), an edge, a vector or a blob, in one store
4435
+ with one writer (the owner); executors run plugin code beside it or elsewhere, over Oxian.
4436
+ - **Plugins, by theme:** models (llm, embeddings, transcription, with the models.dev catalog),
4437
+ agents (chat, history, memory, team, skills, routines), access (spaces, identity, Google sign-in,
4438
+ connected accounts, the directory of orgs), billing (the usage ledger), compute (computers people
4439
+ connect, on macOS, Linux and Windows) and interfaces (the terminal and web shells, the developer
4440
+ API, WhatsApp).
4441
+ - **Stores:** memory, SQLite and PostgreSQL (a server, or PGlite), with the same MongoDB semantics
4442
+ and one conformance suite; blobs in the store, in files or in a bucket over HTTP. On PostgreSQL,
4443
+ many orgs share a schema, each a tenant, over one pool of connections per process; a tenant's rows
4444
+ are copied, exported (as SQL) or dropped on their own.
4445
+ - **Hosts:** the terminal (Ink) and the web (React 19 in the browser, signed in as a person under
4446
+ the access rules, with a design system an app rebrands by one theme resource), and orgs: many orgs
4447
+ behind one address, each a runtime of its own, opened when used, and reached by its own address
4448
+ too (`/o/<org>`) by what has no browser session: API keys, webhooks, computers. On Node,
4449
+ `copilotz/web/node` bundles the browser's code with esbuild and serves the web host, its sockets
4450
+ through Oxian's Node adapter, for one runtime or one per org.
4451
+ - **Entry points:** `copilotz`, `copilotz/stores/*`, `copilotz/blobs/*`, `copilotz/plugins/<theme>`
4452
+ with its `web` and `terminal` front ends, `copilotz/web` (with `server`, `tickets`, `theme` and
4453
+ `node`), `copilotz/orgs`, `copilotz/terminal`, `copilotz/exporters` and `copilotz/testing`; the
4454
+ same names on JSR.
4455
+ - **Metrics:** the runtime and plugins measure themselves the OpenTelemetry way, exported as OTLP or
4456
+ Prometheus text.
4457
+
4458
+ 1.0 doesn't read 0.x data, and there's no migration: a 1.0 app starts with a new database. Copilotz
4459
+ 0.x lives on the [`v0`](https://github.com/copilotzhq/copilotz/tree/v0) branch, where its releases
4460
+ and their changelog continue; its last release is 0.90.2.