pairz 0.0.1 → 1.0.0-rc.81

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 (2322) hide show
  1. package/AGENTS.md +1049 -0
  2. package/CHANGELOG.md +4322 -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 +405 -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 +495 -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 +719 -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-terminal.md +49 -0
  100. package/docs/reference/plugins/chat-web.md +53 -0
  101. package/docs/reference/plugins/chat.md +148 -0
  102. package/docs/reference/plugins/computers-terminal.md +45 -0
  103. package/docs/reference/plugins/computers-web.md +53 -0
  104. package/docs/reference/plugins/computers.md +158 -0
  105. package/docs/reference/plugins/contacts-web.md +45 -0
  106. package/docs/reference/plugins/contacts.md +72 -0
  107. package/docs/reference/plugins/credits-web.md +47 -0
  108. package/docs/reference/plugins/credits.md +95 -0
  109. package/docs/reference/plugins/dev-sign-in.md +52 -0
  110. package/docs/reference/plugins/directory-member.md +57 -0
  111. package/docs/reference/plugins/directory-web.md +47 -0
  112. package/docs/reference/plugins/directory.md +110 -0
  113. package/docs/reference/plugins/documents-web.md +48 -0
  114. package/docs/reference/plugins/documents.md +88 -0
  115. package/docs/reference/plugins/email-sign-in.md +100 -0
  116. package/docs/reference/plugins/email.md +83 -0
  117. package/docs/reference/plugins/google-sign-in.md +63 -0
  118. package/docs/reference/plugins/history.md +78 -0
  119. package/docs/reference/plugins/identity.md +77 -0
  120. package/docs/reference/plugins/maintenance.md +67 -0
  121. package/docs/reference/plugins/mcp.md +94 -0
  122. package/docs/reference/plugins/memory-extraction.md +57 -0
  123. package/docs/reference/plugins/memory-terminal.md +46 -0
  124. package/docs/reference/plugins/memory-web.md +47 -0
  125. package/docs/reference/plugins/memory.md +90 -0
  126. package/docs/reference/plugins/models.md +66 -0
  127. package/docs/reference/plugins/openapi.md +66 -0
  128. package/docs/reference/plugins/password-sign-in.md +82 -0
  129. package/docs/reference/plugins/routines-web.md +46 -0
  130. package/docs/reference/plugins/routines.md +87 -0
  131. package/docs/reference/plugins/skills-web.md +46 -0
  132. package/docs/reference/plugins/skills.md +79 -0
  133. package/docs/reference/plugins/spaces-terminal.md +49 -0
  134. package/docs/reference/plugins/spaces-web.md +51 -0
  135. package/docs/reference/plugins/spaces.md +116 -0
  136. package/docs/reference/plugins/stripe-webhook.md +63 -0
  137. package/docs/reference/plugins/stripe.md +73 -0
  138. package/docs/reference/plugins/team-web.md +46 -0
  139. package/docs/reference/plugins/team.md +93 -0
  140. package/docs/reference/plugins/terminal-shell.md +45 -0
  141. package/docs/reference/plugins/terminal.md +62 -0
  142. package/docs/reference/plugins/tiers-web.md +48 -0
  143. package/docs/reference/plugins/tiers.md +76 -0
  144. package/docs/reference/plugins/usage-terminal.md +46 -0
  145. package/docs/reference/plugins/usage-web.md +46 -0
  146. package/docs/reference/plugins/usage.md +85 -0
  147. package/docs/reference/plugins/voice.md +117 -0
  148. package/docs/reference/plugins/web-lines.md +89 -0
  149. package/docs/reference/plugins/web-page.md +69 -0
  150. package/docs/reference/plugins/web-shell.md +52 -0
  151. package/docs/reference/plugins/webTools.md +66 -0
  152. package/docs/reference/plugins/whatsapp-web.md +46 -0
  153. package/docs/reference/plugins/whatsapp.md +127 -0
  154. package/docs/reference/plugins.json +25665 -0
  155. package/docs/reference/plugins.md +137 -0
  156. package/docs/reference.md +1106 -0
  157. package/exporters/mod.d.ts +27 -0
  158. package/exporters/mod.js +27 -0
  159. package/exporters/otlp.d.ts +257 -0
  160. package/exporters/otlp.js +71 -0
  161. package/exporters/prometheus.d.ts +12 -0
  162. package/exporters/prometheus.js +40 -0
  163. package/hosts/terminal/composer.d.ts +22 -0
  164. package/hosts/terminal/composer.js +25 -0
  165. package/hosts/terminal/contract.d.ts +84 -0
  166. package/hosts/terminal/contract.js +10 -0
  167. package/hosts/terminal/host.d.ts +45 -0
  168. package/hosts/terminal/host.js +211 -0
  169. package/hosts/terminal/mod.d.ts +18 -0
  170. package/hosts/terminal/mod.js +18 -0
  171. package/hosts/terminal/part.d.ts +8 -0
  172. package/hosts/terminal/part.js +24 -0
  173. package/hosts/terminal/scrollback.d.ts +13 -0
  174. package/hosts/terminal/scrollback.js +32 -0
  175. package/hosts/web/assets.d.ts +48 -0
  176. package/hosts/web/assets.js +134 -0
  177. package/hosts/web/base.d.ts +6 -0
  178. package/hosts/web/base.js +16 -0
  179. package/hosts/web/export.d.ts +19 -0
  180. package/hosts/web/export.js +19 -0
  181. package/hosts/web/head.d.ts +10 -0
  182. package/hosts/web/head.js +65 -0
  183. package/hosts/web/host-words.d.ts +1 -0
  184. package/hosts/web/host-words.js +24 -0
  185. package/hosts/web/host.d.ts +53 -0
  186. package/hosts/web/host.js +252 -0
  187. package/hosts/web/install.d.ts +14 -0
  188. package/hosts/web/install.js +96 -0
  189. package/hosts/web/lazy.d.ts +21 -0
  190. package/hosts/web/lazy.js +50 -0
  191. package/hosts/web/mod.d.ts +115 -0
  192. package/hosts/web/mod.js +138 -0
  193. package/hosts/web/node/bundle.d.ts +12 -0
  194. package/hosts/web/node/bundle.js +46 -0
  195. package/hosts/web/node/mod.d.ts +60 -0
  196. package/hosts/web/node/mod.js +60 -0
  197. package/hosts/web/node/serve.d.ts +92 -0
  198. package/hosts/web/node/serve.js +143 -0
  199. package/hosts/web/palette/list.d.ts +22 -0
  200. package/hosts/web/palette/list.js +51 -0
  201. package/hosts/web/palette/palette.d.ts +36 -0
  202. package/hosts/web/palette/palette.js +294 -0
  203. package/hosts/web/palette/rank.d.ts +16 -0
  204. package/hosts/web/palette/rank.js +110 -0
  205. package/hosts/web/palette/row.d.ts +19 -0
  206. package/hosts/web/palette/row.js +37 -0
  207. package/hosts/web/palette/sources.d.ts +10 -0
  208. package/hosts/web/palette/sources.js +67 -0
  209. package/hosts/web/palette/state.d.ts +120 -0
  210. package/hosts/web/palette/state.js +31 -0
  211. package/hosts/web/palette/words.d.ts +1 -0
  212. package/hosts/web/palette/words.js +23 -0
  213. package/hosts/web/part.d.ts +23 -0
  214. package/hosts/web/part.js +72 -0
  215. package/hosts/web/pt-br/about.d.ts +3 -0
  216. package/hosts/web/pt-br/about.js +21 -0
  217. package/hosts/web/pt-br/accounts.d.ts +6 -0
  218. package/hosts/web/pt-br/accounts.js +39 -0
  219. package/hosts/web/pt-br/chat.d.ts +3 -0
  220. package/hosts/web/pt-br/chat.js +330 -0
  221. package/hosts/web/pt-br/computers.d.ts +7 -0
  222. package/hosts/web/pt-br/computers.js +221 -0
  223. package/hosts/web/pt-br/host.d.ts +3 -0
  224. package/hosts/web/pt-br/host.js +18 -0
  225. package/hosts/web/pt-br/memory.d.ts +3 -0
  226. package/hosts/web/pt-br/memory.js +41 -0
  227. package/hosts/web/pt-br/mod.d.ts +23 -0
  228. package/hosts/web/pt-br/mod.js +54 -0
  229. package/hosts/web/pt-br/palette.d.ts +6 -0
  230. package/hosts/web/pt-br/palette.js +17 -0
  231. package/hosts/web/pt-br/push.d.ts +3 -0
  232. package/hosts/web/pt-br/push.js +24 -0
  233. package/hosts/web/pt-br/shell.d.ts +3 -0
  234. package/hosts/web/pt-br/shell.js +47 -0
  235. package/hosts/web/pt-br/sign-in.d.ts +3 -0
  236. package/hosts/web/pt-br/sign-in.js +97 -0
  237. package/hosts/web/pt-br/spaces.d.ts +3 -0
  238. package/hosts/web/pt-br/spaces.js +272 -0
  239. package/hosts/web/pt-br/toolkit.d.ts +3 -0
  240. package/hosts/web/pt-br/toolkit.js +114 -0
  241. package/hosts/web/pt-br/usage.d.ts +3 -0
  242. package/hosts/web/pt-br/usage.js +156 -0
  243. package/hosts/web/push.d.ts +32 -0
  244. package/hosts/web/push.js +138 -0
  245. package/hosts/web/pwa.d.ts +71 -0
  246. package/hosts/web/pwa.js +242 -0
  247. package/hosts/web/route-page.d.ts +53 -0
  248. package/hosts/web/route-page.js +83 -0
  249. package/hosts/web/screens.d.ts +17 -0
  250. package/hosts/web/screens.js +26 -0
  251. package/hosts/web/server.d.ts +76 -0
  252. package/hosts/web/server.js +218 -0
  253. package/hosts/web/session.d.ts +36 -0
  254. package/hosts/web/session.js +35 -0
  255. package/hosts/web/signin-email.d.ts +71 -0
  256. package/hosts/web/signin-email.js +420 -0
  257. package/hosts/web/signin-password.d.ts +19 -0
  258. package/hosts/web/signin-password.js +68 -0
  259. package/hosts/web/signin-words.d.ts +174 -0
  260. package/hosts/web/signin-words.js +197 -0
  261. package/hosts/web/signin.d.ts +40 -0
  262. package/hosts/web/signin.js +260 -0
  263. package/hosts/web/style.d.ts +16 -0
  264. package/hosts/web/style.js +65 -0
  265. package/hosts/web/surface.d.ts +20 -0
  266. package/hosts/web/surface.js +42 -0
  267. package/hosts/web/table-address.d.ts +31 -0
  268. package/hosts/web/table-address.js +71 -0
  269. package/hosts/web/theme/context.d.ts +2 -0
  270. package/hosts/web/theme/context.js +8 -0
  271. package/hosts/web/theme/css.d.ts +37 -0
  272. package/hosts/web/theme/css.js +125 -0
  273. package/hosts/web/theme/default.d.ts +68 -0
  274. package/hosts/web/theme/default.js +191 -0
  275. package/hosts/web/theme/files/OFL-Manrope.txt +93 -0
  276. package/hosts/web/theme/files/OFL-SpaceGrotesk.txt +93 -0
  277. package/hosts/web/theme/files/faces.d.ts +2 -0
  278. package/hosts/web/theme/files/faces.js +28 -0
  279. package/hosts/web/theme/files/icon-png.d.ts +2 -0
  280. package/hosts/web/theme/files/icon-png.js +2 -0
  281. package/hosts/web/theme/files/manrope-v23-latin-ext.d.ts +2 -0
  282. package/hosts/web/theme/files/manrope-v23-latin-ext.js +2 -0
  283. package/hosts/web/theme/files/manrope-v23-latin.d.ts +2 -0
  284. package/hosts/web/theme/files/manrope-v23-latin.js +2 -0
  285. package/hosts/web/theme/files/mod.d.ts +21 -0
  286. package/hosts/web/theme/files/mod.js +35 -0
  287. package/hosts/web/theme/files/space-grotesk-v22-latin-ext.d.ts +2 -0
  288. package/hosts/web/theme/files/space-grotesk-v22-latin-ext.js +2 -0
  289. package/hosts/web/theme/files/space-grotesk-v22-latin.d.ts +2 -0
  290. package/hosts/web/theme/files/space-grotesk-v22-latin.js +2 -0
  291. package/hosts/web/theme/files/temml-v0140.d.ts +2 -0
  292. package/hosts/web/theme/files/temml-v0140.js +2 -0
  293. package/hosts/web/theme/icon.d.ts +3 -0
  294. package/hosts/web/theme/icon.js +26 -0
  295. package/hosts/web/theme/own-path.d.ts +8 -0
  296. package/hosts/web/theme/own-path.js +14 -0
  297. package/hosts/web/theme/pairz.d.ts +12 -0
  298. package/hosts/web/theme/pairz.js +43 -0
  299. package/hosts/web/theme/picture.d.ts +18 -0
  300. package/hosts/web/theme/picture.js +74 -0
  301. package/hosts/web/theme/png.d.ts +19 -0
  302. package/hosts/web/theme/png.js +387 -0
  303. package/hosts/web/ticket.d.ts +11 -0
  304. package/hosts/web/ticket.js +37 -0
  305. package/hosts/web/toolkit/ago.d.ts +1 -0
  306. package/hosts/web/toolkit/ago.js +56 -0
  307. package/hosts/web/toolkit/anchor.d.ts +11 -0
  308. package/hosts/web/toolkit/anchor.js +80 -0
  309. package/hosts/web/toolkit/app-bar.d.ts +55 -0
  310. package/hosts/web/toolkit/app-bar.js +107 -0
  311. package/hosts/web/toolkit/audio-player.d.ts +29 -0
  312. package/hosts/web/toolkit/audio-player.js +164 -0
  313. package/hosts/web/toolkit/autocomplete.d.ts +56 -0
  314. package/hosts/web/toolkit/autocomplete.js +84 -0
  315. package/hosts/web/toolkit/avatar.d.ts +29 -0
  316. package/hosts/web/toolkit/avatar.js +81 -0
  317. package/hosts/web/toolkit/badge.d.ts +17 -0
  318. package/hosts/web/toolkit/badge.js +27 -0
  319. package/hosts/web/toolkit/barcode-png.d.ts +6 -0
  320. package/hosts/web/toolkit/barcode-png.js +7 -0
  321. package/hosts/web/toolkit/barcode.d.ts +33 -0
  322. package/hosts/web/toolkit/barcode.js +34 -0
  323. package/hosts/web/toolkit/button.d.ts +40 -0
  324. package/hosts/web/toolkit/button.js +81 -0
  325. package/hosts/web/toolkit/bytes.d.ts +2 -0
  326. package/hosts/web/toolkit/bytes.js +13 -0
  327. package/hosts/web/toolkit/calendar.d.ts +62 -0
  328. package/hosts/web/toolkit/calendar.js +223 -0
  329. package/hosts/web/toolkit/card.d.ts +38 -0
  330. package/hosts/web/toolkit/card.js +32 -0
  331. package/hosts/web/toolkit/checkbox.d.ts +15 -0
  332. package/hosts/web/toolkit/checkbox.js +24 -0
  333. package/hosts/web/toolkit/chip.d.ts +24 -0
  334. package/hosts/web/toolkit/chip.js +33 -0
  335. package/hosts/web/toolkit/clock.d.ts +6 -0
  336. package/hosts/web/toolkit/clock.js +12 -0
  337. package/hosts/web/toolkit/code-block.d.ts +45 -0
  338. package/hosts/web/toolkit/code-block.js +111 -0
  339. package/hosts/web/toolkit/code-lines.d.ts +15 -0
  340. package/hosts/web/toolkit/code-lines.js +33 -0
  341. package/hosts/web/toolkit/code128.d.ts +61 -0
  342. package/hosts/web/toolkit/code128.js +229 -0
  343. package/hosts/web/toolkit/confirm-dialog.d.ts +71 -0
  344. package/hosts/web/toolkit/confirm-dialog.js +168 -0
  345. package/hosts/web/toolkit/confirm-state.d.ts +40 -0
  346. package/hosts/web/toolkit/confirm-state.js +91 -0
  347. package/hosts/web/toolkit/copy-button.d.ts +6 -0
  348. package/hosts/web/toolkit/copy-button.js +28 -0
  349. package/hosts/web/toolkit/cx.d.ts +2 -0
  350. package/hosts/web/toolkit/cx.js +2 -0
  351. package/hosts/web/toolkit/data-table.d.ts +121 -0
  352. package/hosts/web/toolkit/data-table.js +339 -0
  353. package/hosts/web/toolkit/date-picker.d.ts +121 -0
  354. package/hosts/web/toolkit/date-picker.js +409 -0
  355. package/hosts/web/toolkit/date-time-picker.d.ts +91 -0
  356. package/hosts/web/toolkit/date-time-picker.js +181 -0
  357. package/hosts/web/toolkit/dates.d.ts +145 -0
  358. package/hosts/web/toolkit/dates.js +438 -0
  359. package/hosts/web/toolkit/day-time-field.d.ts +27 -0
  360. package/hosts/web/toolkit/day-time-field.js +46 -0
  361. package/hosts/web/toolkit/day-time-text.d.ts +92 -0
  362. package/hosts/web/toolkit/day-time-text.js +549 -0
  363. package/hosts/web/toolkit/day-time-zone.d.ts +16 -0
  364. package/hosts/web/toolkit/day-time-zone.js +87 -0
  365. package/hosts/web/toolkit/detail-list.d.ts +39 -0
  366. package/hosts/web/toolkit/detail-list.js +41 -0
  367. package/hosts/web/toolkit/detail-value.d.ts +22 -0
  368. package/hosts/web/toolkit/detail-value.js +135 -0
  369. package/hosts/web/toolkit/dialog.d.ts +62 -0
  370. package/hosts/web/toolkit/dialog.js +76 -0
  371. package/hosts/web/toolkit/drawer.d.ts +23 -0
  372. package/hosts/web/toolkit/drawer.js +38 -0
  373. package/hosts/web/toolkit/empty-state.d.ts +25 -0
  374. package/hosts/web/toolkit/empty-state.js +25 -0
  375. package/hosts/web/toolkit/export.d.ts +117 -0
  376. package/hosts/web/toolkit/export.js +294 -0
  377. package/hosts/web/toolkit/field.d.ts +50 -0
  378. package/hosts/web/toolkit/field.js +74 -0
  379. package/hosts/web/toolkit/file-input.d.ts +61 -0
  380. package/hosts/web/toolkit/file-input.js +152 -0
  381. package/hosts/web/toolkit/files.d.ts +20 -0
  382. package/hosts/web/toolkit/files.js +31 -0
  383. package/hosts/web/toolkit/form-submit.d.ts +29 -0
  384. package/hosts/web/toolkit/form-submit.js +38 -0
  385. package/hosts/web/toolkit/form.d.ts +65 -0
  386. package/hosts/web/toolkit/form.js +94 -0
  387. package/hosts/web/toolkit/formula-style.d.ts +7 -0
  388. package/hosts/web/toolkit/formula-style.js +309 -0
  389. package/hosts/web/toolkit/formula.d.ts +17 -0
  390. package/hosts/web/toolkit/formula.js +37 -0
  391. package/hosts/web/toolkit/grid.d.ts +44 -0
  392. package/hosts/web/toolkit/grid.js +66 -0
  393. package/hosts/web/toolkit/humanize.d.ts +1 -0
  394. package/hosts/web/toolkit/humanize.js +42 -0
  395. package/hosts/web/toolkit/icon-button.d.ts +35 -0
  396. package/hosts/web/toolkit/icon-button.js +52 -0
  397. package/hosts/web/toolkit/icon.d.ts +125 -0
  398. package/hosts/web/toolkit/icon.js +121 -0
  399. package/hosts/web/toolkit/inline-edit.d.ts +23 -0
  400. package/hosts/web/toolkit/inline-edit.js +58 -0
  401. package/hosts/web/toolkit/input.d.ts +49 -0
  402. package/hosts/web/toolkit/input.js +101 -0
  403. package/hosts/web/toolkit/kbd.d.ts +6 -0
  404. package/hosts/web/toolkit/kbd.js +12 -0
  405. package/hosts/web/toolkit/kept.d.ts +22 -0
  406. package/hosts/web/toolkit/kept.js +50 -0
  407. package/hosts/web/toolkit/line-editor.d.ts +44 -0
  408. package/hosts/web/toolkit/line-editor.js +167 -0
  409. package/hosts/web/toolkit/list-group.d.ts +47 -0
  410. package/hosts/web/toolkit/list-group.js +51 -0
  411. package/hosts/web/toolkit/live-clock.d.ts +31 -0
  412. package/hosts/web/toolkit/live-clock.js +55 -0
  413. package/hosts/web/toolkit/logo.d.ts +25 -0
  414. package/hosts/web/toolkit/logo.js +47 -0
  415. package/hosts/web/toolkit/long-text.d.ts +15 -0
  416. package/hosts/web/toolkit/long-text.js +31 -0
  417. package/hosts/web/toolkit/markdown/blocks.d.ts +46 -0
  418. package/hosts/web/toolkit/markdown/blocks.js +184 -0
  419. package/hosts/web/toolkit/markdown/markdown.d.ts +15 -0
  420. package/hosts/web/toolkit/markdown/markdown.js +123 -0
  421. package/hosts/web/toolkit/markdown/spans.d.ts +34 -0
  422. package/hosts/web/toolkit/markdown/spans.js +91 -0
  423. package/hosts/web/toolkit/mathml.d.ts +14 -0
  424. package/hosts/web/toolkit/mathml.js +18 -0
  425. package/hosts/web/toolkit/menu.d.ts +65 -0
  426. package/hosts/web/toolkit/menu.js +159 -0
  427. package/hosts/web/toolkit/modal.d.ts +34 -0
  428. package/hosts/web/toolkit/modal.js +75 -0
  429. package/hosts/web/toolkit/nav-item.d.ts +33 -0
  430. package/hosts/web/toolkit/nav-item.js +41 -0
  431. package/hosts/web/toolkit/notice.d.ts +26 -0
  432. package/hosts/web/toolkit/notice.js +37 -0
  433. package/hosts/web/toolkit/page.d.ts +61 -0
  434. package/hosts/web/toolkit/page.js +93 -0
  435. package/hosts/web/toolkit/pagination.d.ts +25 -0
  436. package/hosts/web/toolkit/pagination.js +55 -0
  437. package/hosts/web/toolkit/pdf-image.d.ts +15 -0
  438. package/hosts/web/toolkit/pdf-image.js +147 -0
  439. package/hosts/web/toolkit/pdf.d.ts +152 -0
  440. package/hosts/web/toolkit/pdf.js +597 -0
  441. package/hosts/web/toolkit/picker.d.ts +67 -0
  442. package/hosts/web/toolkit/picker.js +163 -0
  443. package/hosts/web/toolkit/png.d.ts +21 -0
  444. package/hosts/web/toolkit/png.js +206 -0
  445. package/hosts/web/toolkit/popover.d.ts +44 -0
  446. package/hosts/web/toolkit/popover.js +98 -0
  447. package/hosts/web/toolkit/print.d.ts +31 -0
  448. package/hosts/web/toolkit/print.js +28 -0
  449. package/hosts/web/toolkit/radio.d.ts +18 -0
  450. package/hosts/web/toolkit/radio.js +23 -0
  451. package/hosts/web/toolkit/rail-item.d.ts +39 -0
  452. package/hosts/web/toolkit/rail-item.js +47 -0
  453. package/hosts/web/toolkit/record-dialog.d.ts +142 -0
  454. package/hosts/web/toolkit/record-dialog.js +210 -0
  455. package/hosts/web/toolkit/record-draft.d.ts +64 -0
  456. package/hosts/web/toolkit/record-draft.js +169 -0
  457. package/hosts/web/toolkit/refusal.d.ts +8 -0
  458. package/hosts/web/toolkit/refusal.js +14 -0
  459. package/hosts/web/toolkit/resample.d.ts +10 -0
  460. package/hosts/web/toolkit/resample.js +31 -0
  461. package/hosts/web/toolkit/resize-handle.d.ts +26 -0
  462. package/hosts/web/toolkit/resize-handle.js +67 -0
  463. package/hosts/web/toolkit/retail-barcodes.d.ts +10 -0
  464. package/hosts/web/toolkit/retail-barcodes.js +106 -0
  465. package/hosts/web/toolkit/return-focus.d.ts +11 -0
  466. package/hosts/web/toolkit/return-focus.js +35 -0
  467. package/hosts/web/toolkit/rows-editor.d.ts +62 -0
  468. package/hosts/web/toolkit/rows-editor.js +126 -0
  469. package/hosts/web/toolkit/rows.d.ts +36 -0
  470. package/hosts/web/toolkit/rows.js +66 -0
  471. package/hosts/web/toolkit/screen.d.ts +20 -0
  472. package/hosts/web/toolkit/screen.js +15 -0
  473. package/hosts/web/toolkit/select.d.ts +24 -0
  474. package/hosts/web/toolkit/select.js +36 -0
  475. package/hosts/web/toolkit/sheet.d.ts +16 -0
  476. package/hosts/web/toolkit/sheet.js +2 -0
  477. package/hosts/web/toolkit/shortcuts.d.ts +72 -0
  478. package/hosts/web/toolkit/shortcuts.js +195 -0
  479. package/hosts/web/toolkit/skeleton.d.ts +17 -0
  480. package/hosts/web/toolkit/skeleton.js +13 -0
  481. package/hosts/web/toolkit/space.d.ts +6 -0
  482. package/hosts/web/toolkit/space.js +21 -0
  483. package/hosts/web/toolkit/spinner.d.ts +13 -0
  484. package/hosts/web/toolkit/spinner.js +23 -0
  485. package/hosts/web/toolkit/split.d.ts +31 -0
  486. package/hosts/web/toolkit/split.js +25 -0
  487. package/hosts/web/toolkit/stack.d.ts +48 -0
  488. package/hosts/web/toolkit/stack.js +61 -0
  489. package/hosts/web/toolkit/switch.d.ts +30 -0
  490. package/hosts/web/toolkit/switch.js +41 -0
  491. package/hosts/web/toolkit/table-sheet.d.ts +20 -0
  492. package/hosts/web/toolkit/table-sheet.js +25 -0
  493. package/hosts/web/toolkit/table.d.ts +101 -0
  494. package/hosts/web/toolkit/table.js +97 -0
  495. package/hosts/web/toolkit/tabs.d.ts +45 -0
  496. package/hosts/web/toolkit/tabs.js +105 -0
  497. package/hosts/web/toolkit/tags-input.d.ts +25 -0
  498. package/hosts/web/toolkit/tags-input.js +90 -0
  499. package/hosts/web/toolkit/tags.d.ts +10 -0
  500. package/hosts/web/toolkit/tags.js +18 -0
  501. package/hosts/web/toolkit/temml.d.ts +8 -0
  502. package/hosts/web/toolkit/temml.js +29 -0
  503. package/hosts/web/toolkit/terminal-theme.d.ts +18 -0
  504. package/hosts/web/toolkit/terminal-theme.js +83 -0
  505. package/hosts/web/toolkit/terminal.d.ts +58 -0
  506. package/hosts/web/toolkit/terminal.js +261 -0
  507. package/hosts/web/toolkit/text.d.ts +36 -0
  508. package/hosts/web/toolkit/text.js +55 -0
  509. package/hosts/web/toolkit/textarea.d.ts +13 -0
  510. package/hosts/web/toolkit/textarea.js +52 -0
  511. package/hosts/web/toolkit/tile-grid.d.ts +31 -0
  512. package/hosts/web/toolkit/tile-grid.js +43 -0
  513. package/hosts/web/toolkit/time.d.ts +12 -0
  514. package/hosts/web/toolkit/time.js +39 -0
  515. package/hosts/web/toolkit/title.d.ts +3 -0
  516. package/hosts/web/toolkit/title.js +10 -0
  517. package/hosts/web/toolkit/toast-state.d.ts +49 -0
  518. package/hosts/web/toolkit/toast-state.js +84 -0
  519. package/hosts/web/toolkit/toast.d.ts +30 -0
  520. package/hosts/web/toolkit/toast.js +117 -0
  521. package/hosts/web/toolkit/toolbar.d.ts +28 -0
  522. package/hosts/web/toolkit/toolbar.js +16 -0
  523. package/hosts/web/toolkit/tooltip.d.ts +22 -0
  524. package/hosts/web/toolkit/tooltip.js +76 -0
  525. package/hosts/web/toolkit/waveform.d.ts +35 -0
  526. package/hosts/web/toolkit/waveform.js +110 -0
  527. package/hosts/web/toolkit/words.d.ts +1 -0
  528. package/hosts/web/toolkit/words.js +132 -0
  529. package/hosts/web/toolkit/xterm-style.d.ts +3 -0
  530. package/hosts/web/toolkit/xterm-style.js +67 -0
  531. package/hosts/web/toolkit/xterm.d.ts +23 -0
  532. package/hosts/web/toolkit/xterm.js +44 -0
  533. package/hosts/web/toolkit/zip.d.ts +18 -0
  534. package/hosts/web/toolkit/zip.js +91 -0
  535. package/hosts/web/update.d.ts +8 -0
  536. package/hosts/web/update.js +29 -0
  537. package/hosts/web/widget.d.ts +31 -0
  538. package/hosts/web/widget.js +433 -0
  539. package/hosts/web/widgets.d.ts +43 -0
  540. package/hosts/web/widgets.js +118 -0
  541. package/hosts/web/words.d.ts +83 -0
  542. package/hosts/web/words.js +124 -0
  543. package/llms.txt +163 -0
  544. package/package.json +335 -4
  545. package/plugins/access/accounts/actions/callback.d.ts +1 -0
  546. package/plugins/access/accounts/actions/callback.js +38 -0
  547. package/plugins/access/accounts/actions/complete.d.ts +1 -0
  548. package/plugins/access/accounts/actions/complete.js +42 -0
  549. package/plugins/access/accounts/actions/connect.d.ts +1 -0
  550. package/plugins/access/accounts/actions/connect.js +23 -0
  551. package/plugins/access/accounts/actions/connected.d.ts +1 -0
  552. package/plugins/access/accounts/actions/connected.js +22 -0
  553. package/plugins/access/accounts/actions/disconnect.d.ts +1 -0
  554. package/plugins/access/accounts/actions/disconnect.js +50 -0
  555. package/plugins/access/accounts/actions/model-key.d.ts +5 -0
  556. package/plugins/access/accounts/actions/model-key.js +130 -0
  557. package/plugins/access/accounts/actions/refresh.d.ts +1 -0
  558. package/plugins/access/accounts/actions/refresh.js +48 -0
  559. package/plugins/access/accounts/actions/token.d.ts +1 -0
  560. package/plugins/access/accounts/actions/token.js +54 -0
  561. package/plugins/access/accounts/collections/account.d.ts +107 -0
  562. package/plugins/access/accounts/collections/account.js +51 -0
  563. package/plugins/access/accounts/collections/flow.d.ts +65 -0
  564. package/plugins/access/accounts/collections/flow.js +20 -0
  565. package/plugins/access/accounts/collections/model-key.d.ts +69 -0
  566. package/plugins/access/accounts/collections/model-key.js +42 -0
  567. package/plugins/access/accounts/contract.d.ts +156 -0
  568. package/plugins/access/accounts/contract.js +1 -0
  569. package/plugins/access/accounts/events/changed.d.ts +8 -0
  570. package/plugins/access/accounts/events/changed.js +14 -0
  571. package/plugins/access/accounts/mod.d.ts +63 -0
  572. package/plugins/access/accounts/mod.js +141 -0
  573. package/plugins/access/accounts/resources/chatgpt.d.ts +17 -0
  574. package/plugins/access/accounts/resources/chatgpt.js +52 -0
  575. package/plugins/access/accounts/resources/models.d.ts +24 -0
  576. package/plugins/access/accounts/resources/models.js +21 -0
  577. package/plugins/access/accounts/routes/callback.d.ts +10 -0
  578. package/plugins/access/accounts/routes/callback.js +33 -0
  579. package/plugins/access/accounts/shared/errors.d.ts +19 -0
  580. package/plugins/access/accounts/shared/errors.js +19 -0
  581. package/plugins/access/accounts/shared/flow.d.ts +28 -0
  582. package/plugins/access/accounts/shared/flow.js +141 -0
  583. package/plugins/access/accounts/shared/oauth.d.ts +50 -0
  584. package/plugins/access/accounts/shared/oauth.js +144 -0
  585. package/plugins/access/accounts/shared/renew.d.ts +20 -0
  586. package/plugins/access/accounts/shared/renew.js +104 -0
  587. package/plugins/access/accounts/shared/rules.d.ts +11 -0
  588. package/plugins/access/accounts/shared/rules.js +22 -0
  589. package/plugins/access/accounts/shared/seal.d.ts +11 -0
  590. package/plugins/access/accounts/shared/seal.js +63 -0
  591. package/plugins/access/accounts/shared/settings.d.ts +37 -0
  592. package/plugins/access/accounts/shared/settings.js +31 -0
  593. package/plugins/access/accounts/views/web/accounts.d.ts +21 -0
  594. package/plugins/access/accounts/views/web/accounts.js +84 -0
  595. package/plugins/access/accounts/views/web/card.d.ts +14 -0
  596. package/plugins/access/accounts/views/web/card.js +19 -0
  597. package/plugins/access/accounts/views/web/connect.d.ts +41 -0
  598. package/plugins/access/accounts/views/web/connect.js +163 -0
  599. package/plugins/access/accounts/views/web/disconnect.d.ts +16 -0
  600. package/plugins/access/accounts/views/web/disconnect.js +31 -0
  601. package/plugins/access/accounts/views/web/own-keys.d.ts +12 -0
  602. package/plugins/access/accounts/views/web/own-keys.js +112 -0
  603. package/plugins/access/accounts/views/web/palette.d.ts +11 -0
  604. package/plugins/access/accounts/views/web/palette.js +71 -0
  605. package/plugins/access/accounts/views/web/style.d.ts +6 -0
  606. package/plugins/access/accounts/views/web/style.js +79 -0
  607. package/plugins/access/accounts/views/web/words.d.ts +31 -0
  608. package/plugins/access/accounts/views/web/words.js +104 -0
  609. package/plugins/access/accounts/web.d.ts +28 -0
  610. package/plugins/access/accounts/web.js +47 -0
  611. package/plugins/access/contacts/actions/chat.d.ts +1 -0
  612. package/plugins/access/contacts/actions/chat.js +45 -0
  613. package/plugins/access/contacts/actions/forget.d.ts +1 -0
  614. package/plugins/access/contacts/actions/forget.js +58 -0
  615. package/plugins/access/contacts/actions/start.d.ts +1 -0
  616. package/plugins/access/contacts/actions/start.js +60 -0
  617. package/plugins/access/contacts/collections/contact.d.ts +74 -0
  618. package/plugins/access/contacts/collections/contact.js +58 -0
  619. package/plugins/access/contacts/contract.d.ts +10 -0
  620. package/plugins/access/contacts/contract.js +10 -0
  621. package/plugins/access/contacts/mod.d.ts +33 -0
  622. package/plugins/access/contacts/mod.js +64 -0
  623. package/plugins/access/contacts/views/contact.d.ts +8 -0
  624. package/plugins/access/contacts/views/contact.js +26 -0
  625. package/plugins/access/contacts/views/notes.d.ts +11 -0
  626. package/plugins/access/contacts/views/notes.js +34 -0
  627. package/plugins/access/contacts/web.d.ts +7 -0
  628. package/plugins/access/contacts/web.js +11 -0
  629. package/plugins/access/contract.d.ts +14 -0
  630. package/plugins/access/contract.js +12 -0
  631. package/plugins/access/dev/actions/sign-in.d.ts +1 -0
  632. package/plugins/access/dev/actions/sign-in.js +52 -0
  633. package/plugins/access/dev/mod.d.ts +17 -0
  634. package/plugins/access/dev/mod.js +32 -0
  635. package/plugins/access/dev/routes/sign-in.d.ts +8 -0
  636. package/plugins/access/dev/routes/sign-in.js +25 -0
  637. package/plugins/access/dev/shared/here.d.ts +4 -0
  638. package/plugins/access/dev/shared/here.js +32 -0
  639. package/plugins/access/dev/shared/nearby.d.ts +2 -0
  640. package/plugins/access/dev/shared/nearby.js +27 -0
  641. package/plugins/access/email/actions/code.d.ts +2 -0
  642. package/plugins/access/email/actions/code.js +112 -0
  643. package/plugins/access/email/actions/import.d.ts +1 -0
  644. package/plugins/access/email/actions/import.js +54 -0
  645. package/plugins/access/email/actions/invite.d.ts +5 -0
  646. package/plugins/access/email/actions/invite.js +143 -0
  647. package/plugins/access/email/actions/password-accounts.d.ts +3 -0
  648. package/plugins/access/email/actions/password-accounts.js +118 -0
  649. package/plugins/access/email/actions/password-sign-in.d.ts +2 -0
  650. package/plugins/access/email/actions/password-sign-in.js +84 -0
  651. package/plugins/access/email/actions/prune.d.ts +3 -0
  652. package/plugins/access/email/actions/prune.js +32 -0
  653. package/plugins/access/email/actions/reset.d.ts +2 -0
  654. package/plugins/access/email/actions/reset.js +101 -0
  655. package/plugins/access/email/actions/send.d.ts +1 -0
  656. package/plugins/access/email/actions/send.js +101 -0
  657. package/plugins/access/email/actions/sign-in.d.ts +1 -0
  658. package/plugins/access/email/actions/sign-in.js +70 -0
  659. package/plugins/access/email/actions/sign-up.d.ts +4 -0
  660. package/plugins/access/email/actions/sign-up.js +109 -0
  661. package/plugins/access/email/adapters/capture.d.ts +13 -0
  662. package/plugins/access/email/adapters/capture.js +28 -0
  663. package/plugins/access/email/adapters/console.d.ts +8 -0
  664. package/plugins/access/email/adapters/console.js +16 -0
  665. package/plugins/access/email/adapters/resend.d.ts +9 -0
  666. package/plugins/access/email/adapters/resend.js +42 -0
  667. package/plugins/access/email/adapters/sendmail.d.ts +13 -0
  668. package/plugins/access/email/adapters/sendmail.js +59 -0
  669. package/plugins/access/email/adapters/smtp.d.ts +10 -0
  670. package/plugins/access/email/adapters/smtp.js +16 -0
  671. package/plugins/access/email/collections/code.d.ts +111 -0
  672. package/plugins/access/email/collections/code.js +39 -0
  673. package/plugins/access/email/collections/login.d.ts +71 -0
  674. package/plugins/access/email/collections/login.js +28 -0
  675. package/plugins/access/email/collections/password-login.d.ts +63 -0
  676. package/plugins/access/email/collections/password-login.js +26 -0
  677. package/plugins/access/email/collections/rate.d.ts +44 -0
  678. package/plugins/access/email/collections/rate.js +14 -0
  679. package/plugins/access/email/contract.d.ts +240 -0
  680. package/plugins/access/email/contract.js +8 -0
  681. package/plugins/access/email/mod.d.ts +79 -0
  682. package/plugins/access/email/mod.js +204 -0
  683. package/plugins/access/email/password.d.ts +38 -0
  684. package/plugins/access/email/password.js +63 -0
  685. package/plugins/access/email/resources/messages.d.ts +9 -0
  686. package/plugins/access/email/resources/messages.js +64 -0
  687. package/plugins/access/email/routes/password.d.ts +13 -0
  688. package/plugins/access/email/routes/password.js +8 -0
  689. package/plugins/access/email/routes/sign-in.d.ts +38 -0
  690. package/plugins/access/email/routes/sign-in.js +31 -0
  691. package/plugins/access/email/shared/addresses.d.ts +13 -0
  692. package/plugins/access/email/shared/addresses.js +16 -0
  693. package/plugins/access/email/shared/bcrypt.d.ts +7 -0
  694. package/plugins/access/email/shared/bcrypt.js +138 -0
  695. package/plugins/access/email/shared/codes.d.ts +41 -0
  696. package/plugins/access/email/shared/codes.js +90 -0
  697. package/plugins/access/email/shared/identifiers.d.ts +8 -0
  698. package/plugins/access/email/shared/identifiers.js +22 -0
  699. package/plugins/access/email/shared/inputs.d.ts +37 -0
  700. package/plugins/access/email/shared/inputs.js +43 -0
  701. package/plugins/access/email/shared/limits.d.ts +54 -0
  702. package/plugins/access/email/shared/limits.js +71 -0
  703. package/plugins/access/email/shared/mail.d.ts +37 -0
  704. package/plugins/access/email/shared/mail.js +71 -0
  705. package/plugins/access/email/shared/mime.d.ts +28 -0
  706. package/plugins/access/email/shared/mime.js +179 -0
  707. package/plugins/access/email/shared/password.d.ts +18 -0
  708. package/plugins/access/email/shared/password.js +91 -0
  709. package/plugins/access/email/shared/people.d.ts +35 -0
  710. package/plugins/access/email/shared/people.js +55 -0
  711. package/plugins/access/email/shared/pi.d.ts +7 -0
  712. package/plugins/access/email/shared/pi.js +101 -0
  713. package/plugins/access/email/shared/settings.d.ts +33 -0
  714. package/plugins/access/email/shared/settings.js +41 -0
  715. package/plugins/access/email/shared/smtp.d.ts +22 -0
  716. package/plugins/access/email/shared/smtp.js +160 -0
  717. package/plugins/access/email/shared/step.d.ts +27 -0
  718. package/plugins/access/email/shared/step.js +87 -0
  719. package/plugins/access/google/actions/sign-in.d.ts +1 -0
  720. package/plugins/access/google/actions/sign-in.js +42 -0
  721. package/plugins/access/google/adapters/keys.d.ts +10 -0
  722. package/plugins/access/google/adapters/keys.js +17 -0
  723. package/plugins/access/google/mod.d.ts +22 -0
  724. package/plugins/access/google/mod.js +34 -0
  725. package/plugins/access/google/routes/sign-in.d.ts +12 -0
  726. package/plugins/access/google/routes/sign-in.js +36 -0
  727. package/plugins/access/google/shared/jwt.d.ts +19 -0
  728. package/plugins/access/google/shared/jwt.js +29 -0
  729. package/plugins/access/google/shared/settings.d.ts +9 -0
  730. package/plugins/access/google/shared/settings.js +1 -0
  731. package/plugins/access/identity/actions/person.d.ts +9 -0
  732. package/plugins/access/identity/actions/person.js +84 -0
  733. package/plugins/access/identity/actions/session.d.ts +3 -0
  734. package/plugins/access/identity/actions/session.js +71 -0
  735. package/plugins/access/identity/collections/credential.d.ts +82 -0
  736. package/plugins/access/identity/collections/credential.js +45 -0
  737. package/plugins/access/identity/collections/person.d.ts +78 -0
  738. package/plugins/access/identity/collections/person.js +33 -0
  739. package/plugins/access/identity/contract.d.ts +21 -0
  740. package/plugins/access/identity/contract.js +18 -0
  741. package/plugins/access/identity/mod.d.ts +32 -0
  742. package/plugins/access/identity/mod.js +71 -0
  743. package/plugins/access/identity/routes/session.d.ts +17 -0
  744. package/plugins/access/identity/routes/session.js +35 -0
  745. package/plugins/access/mod.d.ts +46 -0
  746. package/plugins/access/mod.js +15 -0
  747. package/plugins/access/spaces/actions/agents.d.ts +2 -0
  748. package/plugins/access/spaces/actions/agents.js +57 -0
  749. package/plugins/access/spaces/actions/archive.d.ts +1 -0
  750. package/plugins/access/spaces/actions/archive.js +34 -0
  751. package/plugins/access/spaces/actions/can.d.ts +1 -0
  752. package/plugins/access/spaces/actions/can.js +26 -0
  753. package/plugins/access/spaces/actions/create.d.ts +1 -0
  754. package/plugins/access/spaces/actions/create.js +54 -0
  755. package/plugins/access/spaces/actions/invitation.d.ts +3 -0
  756. package/plugins/access/spaces/actions/invitation.js +126 -0
  757. package/plugins/access/spaces/actions/keep.d.ts +1 -0
  758. package/plugins/access/spaces/actions/keep.js +55 -0
  759. package/plugins/access/spaces/actions/leave.d.ts +1 -0
  760. package/plugins/access/spaces/actions/leave.js +37 -0
  761. package/plugins/access/spaces/actions/member.d.ts +8 -0
  762. package/plugins/access/spaces/actions/member.js +195 -0
  763. package/plugins/access/spaces/actions/org.d.ts +32 -0
  764. package/plugins/access/spaces/actions/org.js +261 -0
  765. package/plugins/access/spaces/actions/personal.d.ts +1 -0
  766. package/plugins/access/spaces/actions/personal.js +41 -0
  767. package/plugins/access/spaces/actions/rename.d.ts +1 -0
  768. package/plugins/access/spaces/actions/rename.js +39 -0
  769. package/plugins/access/spaces/actions/request.d.ts +2 -0
  770. package/plugins/access/spaces/actions/request.js +46 -0
  771. package/plugins/access/spaces/collections/invitation.d.ts +80 -0
  772. package/plugins/access/spaces/collections/invitation.js +43 -0
  773. package/plugins/access/spaces/collections/member.d.ts +89 -0
  774. package/plugins/access/spaces/collections/member.js +32 -0
  775. package/plugins/access/spaces/collections/profile.d.ts +54 -0
  776. package/plugins/access/spaces/collections/profile.js +54 -0
  777. package/plugins/access/spaces/collections/request.d.ts +66 -0
  778. package/plugins/access/spaces/collections/request.js +29 -0
  779. package/plugins/access/spaces/collections/space.d.ts +85 -0
  780. package/plugins/access/spaces/collections/space.js +73 -0
  781. package/plugins/access/spaces/contract.d.ts +132 -0
  782. package/plugins/access/spaces/contract.js +5 -0
  783. package/plugins/access/spaces/mod.d.ts +80 -0
  784. package/plugins/access/spaces/mod.js +154 -0
  785. package/plugins/access/spaces/processors/agent-gone.d.ts +7 -0
  786. package/plugins/access/spaces/processors/agent-gone.js +13 -0
  787. package/plugins/access/spaces/processors/profile.d.ts +7 -0
  788. package/plugins/access/spaces/processors/profile.js +10 -0
  789. package/plugins/access/spaces/resources/commands.d.ts +11 -0
  790. package/plugins/access/spaces/resources/commands.js +212 -0
  791. package/plugins/access/spaces/resources/tools.d.ts +2 -0
  792. package/plugins/access/spaces/resources/tools.js +50 -0
  793. package/plugins/access/spaces/shared/agents.d.ts +48 -0
  794. package/plugins/access/spaces/shared/agents.js +101 -0
  795. package/plugins/access/spaces/shared/audience.d.ts +51 -0
  796. package/plugins/access/spaces/shared/audience.js +113 -0
  797. package/plugins/access/spaces/shared/can.d.ts +46 -0
  798. package/plugins/access/spaces/shared/can.js +76 -0
  799. package/plugins/access/spaces/shared/declared.d.ts +21 -0
  800. package/plugins/access/spaces/shared/declared.js +8 -0
  801. package/plugins/access/spaces/shared/labels.d.ts +33 -0
  802. package/plugins/access/spaces/shared/labels.js +97 -0
  803. package/plugins/access/spaces/shared/managers.d.ts +9 -0
  804. package/plugins/access/spaces/shared/managers.js +15 -0
  805. package/plugins/access/spaces/shared/names.d.ts +70 -0
  806. package/plugins/access/spaces/shared/names.js +105 -0
  807. package/plugins/access/spaces/shared/personal.d.ts +8 -0
  808. package/plugins/access/spaces/shared/personal.js +13 -0
  809. package/plugins/access/spaces/shared/profile.d.ts +21 -0
  810. package/plugins/access/spaces/shared/profile.js +27 -0
  811. package/plugins/access/spaces/shared/reach.d.ts +141 -0
  812. package/plugins/access/spaces/shared/reach.js +439 -0
  813. package/plugins/access/spaces/shared/rules.d.ts +47 -0
  814. package/plugins/access/spaces/shared/rules.js +152 -0
  815. package/plugins/access/spaces/shared/seat.d.ts +15 -0
  816. package/plugins/access/spaces/shared/seat.js +44 -0
  817. package/plugins/access/spaces/terminal.d.ts +7 -0
  818. package/plugins/access/spaces/terminal.js +14 -0
  819. package/plugins/access/spaces/views/elsewhere.d.ts +16 -0
  820. package/plugins/access/spaces/views/elsewhere.js +53 -0
  821. package/plugins/access/spaces/views/terminal/spaces.d.ts +10 -0
  822. package/plugins/access/spaces/views/terminal/spaces.js +3 -0
  823. package/plugins/access/spaces/views/web/agents.d.ts +44 -0
  824. package/plugins/access/spaces/views/web/agents.js +94 -0
  825. package/plugins/access/spaces/views/web/header.d.ts +29 -0
  826. package/plugins/access/spaces/views/web/header.js +97 -0
  827. package/plugins/access/spaces/views/web/invitation.d.ts +17 -0
  828. package/plugins/access/spaces/views/web/invitation.js +41 -0
  829. package/plugins/access/spaces/views/web/invitations.d.ts +12 -0
  830. package/plugins/access/spaces/views/web/invitations.js +24 -0
  831. package/plugins/access/spaces/views/web/invite-dialog.d.ts +21 -0
  832. package/plugins/access/spaces/views/web/invite-dialog.js +17 -0
  833. package/plugins/access/spaces/views/web/invite.d.ts +18 -0
  834. package/plugins/access/spaces/views/web/invite.js +59 -0
  835. package/plugins/access/spaces/views/web/invited.d.ts +9 -0
  836. package/plugins/access/spaces/views/web/invited.js +12 -0
  837. package/plugins/access/spaces/views/web/inviting.d.ts +15 -0
  838. package/plugins/access/spaces/views/web/inviting.js +54 -0
  839. package/plugins/access/spaces/views/web/members.d.ts +19 -0
  840. package/plugins/access/spaces/views/web/members.js +160 -0
  841. package/plugins/access/spaces/views/web/new-space.d.ts +5 -0
  842. package/plugins/access/spaces/views/web/new-space.js +42 -0
  843. package/plugins/access/spaces/views/web/not-here.d.ts +14 -0
  844. package/plugins/access/spaces/views/web/not-here.js +89 -0
  845. package/plugins/access/spaces/views/web/org-about.d.ts +12 -0
  846. package/plugins/access/spaces/views/web/org-about.js +89 -0
  847. package/plugins/access/spaces/views/web/org-members.d.ts +16 -0
  848. package/plugins/access/spaces/views/web/org-members.js +244 -0
  849. package/plugins/access/spaces/views/web/palette.d.ts +17 -0
  850. package/plugins/access/spaces/views/web/palette.js +156 -0
  851. package/plugins/access/spaces/views/web/panel.d.ts +14 -0
  852. package/plugins/access/spaces/views/web/panel.js +70 -0
  853. package/plugins/access/spaces/views/web/pending.d.ts +17 -0
  854. package/plugins/access/spaces/views/web/pending.js +34 -0
  855. package/plugins/access/spaces/views/web/pick.d.ts +21 -0
  856. package/plugins/access/spaces/views/web/pick.js +63 -0
  857. package/plugins/access/spaces/views/web/sections.d.ts +31 -0
  858. package/plugins/access/spaces/views/web/sections.js +23 -0
  859. package/plugins/access/spaces/views/web/settings.d.ts +13 -0
  860. package/plugins/access/spaces/views/web/settings.js +185 -0
  861. package/plugins/access/spaces/views/web/space.d.ts +17 -0
  862. package/plugins/access/spaces/views/web/space.js +85 -0
  863. package/plugins/access/spaces/views/web/spaces.d.ts +16 -0
  864. package/plugins/access/spaces/views/web/spaces.js +33 -0
  865. package/plugins/access/spaces/views/web/steps.d.ts +19 -0
  866. package/plugins/access/spaces/views/web/steps.js +122 -0
  867. package/plugins/access/spaces/views/web/style.d.ts +9 -0
  868. package/plugins/access/spaces/views/web/style.js +279 -0
  869. package/plugins/access/spaces/views/web/tabs.d.ts +39 -0
  870. package/plugins/access/spaces/views/web/tabs.js +41 -0
  871. package/plugins/access/spaces/views/web/tree.d.ts +52 -0
  872. package/plugins/access/spaces/views/web/tree.js +127 -0
  873. package/plugins/access/spaces/views/web/who.d.ts +102 -0
  874. package/plugins/access/spaces/views/web/who.js +150 -0
  875. package/plugins/access/spaces/views/web/words.d.ts +1 -0
  876. package/plugins/access/spaces/views/web/words.js +291 -0
  877. package/plugins/access/spaces/views/where.d.ts +11 -0
  878. package/plugins/access/spaces/views/where.js +48 -0
  879. package/plugins/access/spaces/web.d.ts +35 -0
  880. package/plugins/access/spaces/web.js +138 -0
  881. package/plugins/access/terminal.d.ts +2 -0
  882. package/plugins/access/terminal.js +2 -0
  883. package/plugins/access/web.d.ts +4 -0
  884. package/plugins/access/web.js +4 -0
  885. package/plugins/agents/chat/actions/approve.d.ts +1 -0
  886. package/plugins/agents/chat/actions/approve.js +109 -0
  887. package/plugins/agents/chat/actions/archive.d.ts +1 -0
  888. package/plugins/agents/chat/actions/archive.js +95 -0
  889. package/plugins/agents/chat/actions/attach.d.ts +3 -0
  890. package/plugins/agents/chat/actions/attach.js +92 -0
  891. package/plugins/agents/chat/actions/erase.d.ts +1 -0
  892. package/plugins/agents/chat/actions/erase.js +47 -0
  893. package/plugins/agents/chat/actions/forget-grant.d.ts +1 -0
  894. package/plugins/agents/chat/actions/forget-grant.js +16 -0
  895. package/plugins/agents/chat/actions/fork.d.ts +1 -0
  896. package/plugins/agents/chat/actions/fork.js +47 -0
  897. package/plugins/agents/chat/actions/import.d.ts +1 -0
  898. package/plugins/agents/chat/actions/import.js +244 -0
  899. package/plugins/agents/chat/actions/move.d.ts +1 -0
  900. package/plugins/agents/chat/actions/move.js +55 -0
  901. package/plugins/agents/chat/actions/notes.d.ts +1 -0
  902. package/plugins/agents/chat/actions/notes.js +48 -0
  903. package/plugins/agents/chat/actions/open.d.ts +1 -0
  904. package/plugins/agents/chat/actions/open.js +77 -0
  905. package/plugins/agents/chat/actions/prune.d.ts +3 -0
  906. package/plugins/agents/chat/actions/prune.js +20 -0
  907. package/plugins/agents/chat/actions/quiet.d.ts +1 -0
  908. package/plugins/agents/chat/actions/quiet.js +33 -0
  909. package/plugins/agents/chat/actions/rename.d.ts +1 -0
  910. package/plugins/agents/chat/actions/rename.js +49 -0
  911. package/plugins/agents/chat/actions/say.d.ts +1 -0
  912. package/plugins/agents/chat/actions/say.js +168 -0
  913. package/plugins/agents/chat/actions/send.d.ts +11 -0
  914. package/plugins/agents/chat/actions/send.js +419 -0
  915. package/plugins/agents/chat/actions/shown.d.ts +1 -0
  916. package/plugins/agents/chat/actions/shown.js +35 -0
  917. package/plugins/agents/chat/actions/stop.d.ts +1 -0
  918. package/plugins/agents/chat/actions/stop.js +81 -0
  919. package/plugins/agents/chat/actions/unmark.d.ts +1 -0
  920. package/plugins/agents/chat/actions/unmark.js +100 -0
  921. package/plugins/agents/chat/actions/welcomed.d.ts +1 -0
  922. package/plugins/agents/chat/actions/welcomed.js +20 -0
  923. package/plugins/agents/chat/channels.d.ts +27 -0
  924. package/plugins/agents/chat/channels.js +124 -0
  925. package/plugins/agents/chat/collections/approval.d.ts +300 -0
  926. package/plugins/agents/chat/collections/approval.js +107 -0
  927. package/plugins/agents/chat/collections/file.d.ts +214 -0
  928. package/plugins/agents/chat/collections/file.js +108 -0
  929. package/plugins/agents/chat/collections/grant.d.ts +107 -0
  930. package/plugins/agents/chat/collections/grant.js +47 -0
  931. package/plugins/agents/chat/collections/intent.d.ts +176 -0
  932. package/plugins/agents/chat/collections/intent.js +73 -0
  933. package/plugins/agents/chat/collections/live.d.ts +159 -0
  934. package/plugins/agents/chat/collections/live.js +75 -0
  935. package/plugins/agents/chat/collections/message.d.ts +557 -0
  936. package/plugins/agents/chat/collections/message.js +250 -0
  937. package/plugins/agents/chat/collections/shown.d.ts +98 -0
  938. package/plugins/agents/chat/collections/shown.js +34 -0
  939. package/plugins/agents/chat/collections/thread.d.ts +260 -0
  940. package/plugins/agents/chat/collections/thread.js +192 -0
  941. package/plugins/agents/chat/collections/wait.d.ts +98 -0
  942. package/plugins/agents/chat/collections/wait.js +23 -0
  943. package/plugins/agents/chat/collections/welcome.d.ts +16 -0
  944. package/plugins/agents/chat/collections/welcome.js +27 -0
  945. package/plugins/agents/chat/contract.d.ts +71 -0
  946. package/plugins/agents/chat/contract.js +45 -0
  947. package/plugins/agents/chat/events/turn-requested.d.ts +3 -0
  948. package/plugins/agents/chat/events/turn-requested.js +15 -0
  949. package/plugins/agents/chat/mod.d.ts +134 -0
  950. package/plugins/agents/chat/mod.js +310 -0
  951. package/plugins/agents/chat/processors/failed.d.ts +3 -0
  952. package/plugins/agents/chat/processors/failed.js +60 -0
  953. package/plugins/agents/chat/processors/turn.d.ts +17 -0
  954. package/plugins/agents/chat/processors/turn.js +474 -0
  955. package/plugins/agents/chat/resources/commands.d.ts +17 -0
  956. package/plugins/agents/chat/resources/commands.js +406 -0
  957. package/plugins/agents/chat/resources/tools.d.ts +3 -0
  958. package/plugins/agents/chat/resources/tools.js +136 -0
  959. package/plugins/agents/chat/routes/files.d.ts +39 -0
  960. package/plugins/agents/chat/routes/files.js +169 -0
  961. package/plugins/agents/chat/shared/agents.d.ts +87 -0
  962. package/plugins/agents/chat/shared/agents.js +114 -0
  963. package/plugins/agents/chat/shared/asks.d.ts +81 -0
  964. package/plugins/agents/chat/shared/asks.js +203 -0
  965. package/plugins/agents/chat/shared/chat-of.d.ts +27 -0
  966. package/plugins/agents/chat/shared/chat-of.js +32 -0
  967. package/plugins/agents/chat/shared/contact-send.d.ts +32 -0
  968. package/plugins/agents/chat/shared/contact-send.js +18 -0
  969. package/plugins/agents/chat/shared/delivery.d.ts +68 -0
  970. package/plugins/agents/chat/shared/delivery.js +294 -0
  971. package/plugins/agents/chat/shared/lineage.d.ts +44 -0
  972. package/plugins/agents/chat/shared/lineage.js +88 -0
  973. package/plugins/agents/chat/shared/live.d.ts +44 -0
  974. package/plugins/agents/chat/shared/live.js +88 -0
  975. package/plugins/agents/chat/shared/notes.d.ts +28 -0
  976. package/plugins/agents/chat/shared/notes.js +35 -0
  977. package/plugins/agents/chat/shared/origin.d.ts +22 -0
  978. package/plugins/agents/chat/shared/origin.js +11 -0
  979. package/plugins/agents/chat/shared/send.d.ts +55 -0
  980. package/plugins/agents/chat/shared/send.js +380 -0
  981. package/plugins/agents/chat/shared/share.d.ts +48 -0
  982. package/plugins/agents/chat/shared/share.js +67 -0
  983. package/plugins/agents/chat/shared/summary.d.ts +65 -0
  984. package/plugins/agents/chat/shared/summary.js +41 -0
  985. package/plugins/agents/chat/shared/threads.d.ts +50 -0
  986. package/plugins/agents/chat/shared/threads.js +15 -0
  987. package/plugins/agents/chat/shared/tools.d.ts +42 -0
  988. package/plugins/agents/chat/shared/tools.js +61 -0
  989. package/plugins/agents/chat/shared/types.d.ts +404 -0
  990. package/plugins/agents/chat/shared/types.js +9 -0
  991. package/plugins/agents/chat/shared/unmark.d.ts +145 -0
  992. package/plugins/agents/chat/shared/unmark.js +237 -0
  993. package/plugins/agents/chat/shared/where.d.ts +20 -0
  994. package/plugins/agents/chat/shared/where.js +18 -0
  995. package/plugins/agents/chat/terminal.d.ts +12 -0
  996. package/plugins/agents/chat/terminal.js +34 -0
  997. package/plugins/agents/chat/views/asked.d.ts +35 -0
  998. package/plugins/agents/chat/views/asked.js +89 -0
  999. package/plugins/agents/chat/views/context.d.ts +11 -0
  1000. package/plugins/agents/chat/views/context.js +9 -0
  1001. package/plugins/agents/chat/views/held.d.ts +10 -0
  1002. package/plugins/agents/chat/views/held.js +10 -0
  1003. package/plugins/agents/chat/views/history.d.ts +16 -0
  1004. package/plugins/agents/chat/views/history.js +3 -0
  1005. package/plugins/agents/chat/views/message.d.ts +12 -0
  1006. package/plugins/agents/chat/views/message.js +110 -0
  1007. package/plugins/agents/chat/views/participants.d.ts +8 -0
  1008. package/plugins/agents/chat/views/participants.js +26 -0
  1009. package/plugins/agents/chat/views/prompt.d.ts +12 -0
  1010. package/plugins/agents/chat/views/prompt.js +115 -0
  1011. package/plugins/agents/chat/views/seen.d.ts +7 -0
  1012. package/plugins/agents/chat/views/seen.js +7 -0
  1013. package/plugins/agents/chat/views/terminal/agent-prompt.d.ts +7 -0
  1014. package/plugins/agents/chat/views/terminal/agent-prompt.js +18 -0
  1015. package/plugins/agents/chat/views/terminal/asks.d.ts +14 -0
  1016. package/plugins/agents/chat/views/terminal/asks.js +35 -0
  1017. package/plugins/agents/chat/views/terminal/author.d.ts +7 -0
  1018. package/plugins/agents/chat/views/terminal/author.js +11 -0
  1019. package/plugins/agents/chat/views/terminal/conversation.d.ts +5 -0
  1020. package/plugins/agents/chat/views/terminal/conversation.js +24 -0
  1021. package/plugins/agents/chat/views/terminal/live.d.ts +4 -0
  1022. package/plugins/agents/chat/views/terminal/live.js +16 -0
  1023. package/plugins/agents/chat/views/terminal/message.d.ts +4 -0
  1024. package/plugins/agents/chat/views/terminal/message.js +34 -0
  1025. package/plugins/agents/chat/views/terminal/moving.d.ts +11 -0
  1026. package/plugins/agents/chat/views/terminal/moving.js +27 -0
  1027. package/plugins/agents/chat/views/terminal/retrying.d.ts +7 -0
  1028. package/plugins/agents/chat/views/terminal/retrying.js +22 -0
  1029. package/plugins/agents/chat/views/terminal/threads.d.ts +13 -0
  1030. package/plugins/agents/chat/views/terminal/threads.js +2 -0
  1031. package/plugins/agents/chat/views/web/add.d.ts +33 -0
  1032. package/plugins/agents/chat/views/web/add.js +88 -0
  1033. package/plugins/agents/chat/views/web/agents.d.ts +89 -0
  1034. package/plugins/agents/chat/views/web/agents.js +107 -0
  1035. package/plugins/agents/chat/views/web/archive.d.ts +42 -0
  1036. package/plugins/agents/chat/views/web/archive.js +45 -0
  1037. package/plugins/agents/chat/views/web/archived-note.d.ts +15 -0
  1038. package/plugins/agents/chat/views/web/archived-note.js +26 -0
  1039. package/plugins/agents/chat/views/web/archived.d.ts +14 -0
  1040. package/plugins/agents/chat/views/web/archived.js +26 -0
  1041. package/plugins/agents/chat/views/web/asking.d.ts +15 -0
  1042. package/plugins/agents/chat/views/web/asking.js +50 -0
  1043. package/plugins/agents/chat/views/web/asks.d.ts +42 -0
  1044. package/plugins/agents/chat/views/web/asks.js +170 -0
  1045. package/plugins/agents/chat/views/web/attach.d.ts +28 -0
  1046. package/plugins/agents/chat/views/web/attach.js +37 -0
  1047. package/plugins/agents/chat/views/web/before-send.d.ts +9 -0
  1048. package/plugins/agents/chat/views/web/before-send.js +7 -0
  1049. package/plugins/agents/chat/views/web/chat-row.d.ts +25 -0
  1050. package/plugins/agents/chat/views/web/chat-row.js +41 -0
  1051. package/plugins/agents/chat/views/web/chats.d.ts +24 -0
  1052. package/plugins/agents/chat/views/web/chats.js +138 -0
  1053. package/plugins/agents/chat/views/web/composer.d.ts +135 -0
  1054. package/plugins/agents/chat/views/web/composer.js +504 -0
  1055. package/plugins/agents/chat/views/web/conversation.d.ts +94 -0
  1056. package/plugins/agents/chat/views/web/conversation.js +351 -0
  1057. package/plugins/agents/chat/views/web/download.d.ts +8 -0
  1058. package/plugins/agents/chat/views/web/download.js +8 -0
  1059. package/plugins/agents/chat/views/web/file.d.ts +23 -0
  1060. package/plugins/agents/chat/views/web/file.js +15 -0
  1061. package/plugins/agents/chat/views/web/handed.d.ts +17 -0
  1062. package/plugins/agents/chat/views/web/handed.js +47 -0
  1063. package/plugins/agents/chat/views/web/header.d.ts +48 -0
  1064. package/plugins/agents/chat/views/web/header.js +34 -0
  1065. package/plugins/agents/chat/views/web/held.d.ts +17 -0
  1066. package/plugins/agents/chat/views/web/held.js +51 -0
  1067. package/plugins/agents/chat/views/web/home.d.ts +27 -0
  1068. package/plugins/agents/chat/views/web/home.js +122 -0
  1069. package/plugins/agents/chat/views/web/lane.d.ts +11 -0
  1070. package/plugins/agents/chat/views/web/lane.js +44 -0
  1071. package/plugins/agents/chat/views/web/listed.d.ts +33 -0
  1072. package/plugins/agents/chat/views/web/listed.js +67 -0
  1073. package/plugins/agents/chat/views/web/live.d.ts +14 -0
  1074. package/plugins/agents/chat/views/web/live.js +37 -0
  1075. package/plugins/agents/chat/views/web/message.d.ts +34 -0
  1076. package/plugins/agents/chat/views/web/message.js +112 -0
  1077. package/plugins/agents/chat/views/web/missing.d.ts +5 -0
  1078. package/plugins/agents/chat/views/web/missing.js +6 -0
  1079. package/plugins/agents/chat/views/web/move.d.ts +23 -0
  1080. package/plugins/agents/chat/views/web/move.js +55 -0
  1081. package/plugins/agents/chat/views/web/moving.d.ts +21 -0
  1082. package/plugins/agents/chat/views/web/moving.js +46 -0
  1083. package/plugins/agents/chat/views/web/new-thread.d.ts +10 -0
  1084. package/plugins/agents/chat/views/web/new-thread.js +13 -0
  1085. package/plugins/agents/chat/views/web/notes-lane.d.ts +74 -0
  1086. package/plugins/agents/chat/views/web/notes-lane.js +67 -0
  1087. package/plugins/agents/chat/views/web/notes.d.ts +16 -0
  1088. package/plugins/agents/chat/views/web/notes.js +36 -0
  1089. package/plugins/agents/chat/views/web/over.d.ts +24 -0
  1090. package/plugins/agents/chat/views/web/over.js +28 -0
  1091. package/plugins/agents/chat/views/web/palette.d.ts +18 -0
  1092. package/plugins/agents/chat/views/web/palette.js +157 -0
  1093. package/plugins/agents/chat/views/web/picture.d.ts +12 -0
  1094. package/plugins/agents/chat/views/web/picture.js +17 -0
  1095. package/plugins/agents/chat/views/web/plain.d.ts +15 -0
  1096. package/plugins/agents/chat/views/web/plain.js +32 -0
  1097. package/plugins/agents/chat/views/web/queued.d.ts +19 -0
  1098. package/plugins/agents/chat/views/web/queued.js +28 -0
  1099. package/plugins/agents/chat/views/web/recent.d.ts +13 -0
  1100. package/plugins/agents/chat/views/web/recent.js +55 -0
  1101. package/plugins/agents/chat/views/web/record.d.ts +37 -0
  1102. package/plugins/agents/chat/views/web/record.js +230 -0
  1103. package/plugins/agents/chat/views/web/recorder.d.ts +23 -0
  1104. package/plugins/agents/chat/views/web/recorder.js +51 -0
  1105. package/plugins/agents/chat/views/web/rename.d.ts +15 -0
  1106. package/plugins/agents/chat/views/web/rename.js +29 -0
  1107. package/plugins/agents/chat/views/web/replies.d.ts +71 -0
  1108. package/plugins/agents/chat/views/web/replies.js +122 -0
  1109. package/plugins/agents/chat/views/web/retrying.d.ts +12 -0
  1110. package/plugins/agents/chat/views/web/retrying.js +29 -0
  1111. package/plugins/agents/chat/views/web/send-on.d.ts +29 -0
  1112. package/plugins/agents/chat/views/web/send-on.js +68 -0
  1113. package/plugins/agents/chat/views/web/shelf.d.ts +18 -0
  1114. package/plugins/agents/chat/views/web/shelf.js +14 -0
  1115. package/plugins/agents/chat/views/web/steps.d.ts +29 -0
  1116. package/plugins/agents/chat/views/web/steps.js +45 -0
  1117. package/plugins/agents/chat/views/web/style.d.ts +9 -0
  1118. package/plugins/agents/chat/views/web/style.js +572 -0
  1119. package/plugins/agents/chat/views/web/tool-view.d.ts +15 -0
  1120. package/plugins/agents/chat/views/web/tool-view.js +15 -0
  1121. package/plugins/agents/chat/views/web/transcript.d.ts +13 -0
  1122. package/plugins/agents/chat/views/web/transcript.js +58 -0
  1123. package/plugins/agents/chat/views/web/voice-failed.d.ts +15 -0
  1124. package/plugins/agents/chat/views/web/voice-failed.js +6 -0
  1125. package/plugins/agents/chat/views/web/voice-note.d.ts +20 -0
  1126. package/plugins/agents/chat/views/web/voice-note.js +20 -0
  1127. package/plugins/agents/chat/views/web/waiting.d.ts +10 -0
  1128. package/plugins/agents/chat/views/web/waiting.js +9 -0
  1129. package/plugins/agents/chat/views/web/waking.d.ts +12 -0
  1130. package/plugins/agents/chat/views/web/waking.js +30 -0
  1131. package/plugins/agents/chat/views/web/welcome.d.ts +25 -0
  1132. package/plugins/agents/chat/views/web/welcome.js +44 -0
  1133. package/plugins/agents/chat/views/web/who.d.ts +15 -0
  1134. package/plugins/agents/chat/views/web/who.js +18 -0
  1135. package/plugins/agents/chat/views/web/words.d.ts +1 -0
  1136. package/plugins/agents/chat/views/web/words.js +384 -0
  1137. package/plugins/agents/chat/web.d.ts +71 -0
  1138. package/plugins/agents/chat/web.js +131 -0
  1139. package/plugins/agents/contract.d.ts +12 -0
  1140. package/plugins/agents/contract.js +12 -0
  1141. package/plugins/agents/history/collections/outline.d.ts +195 -0
  1142. package/plugins/agents/history/collections/outline.js +44 -0
  1143. package/plugins/agents/history/collections/summary.d.ts +89 -0
  1144. package/plugins/agents/history/collections/summary.js +31 -0
  1145. package/plugins/agents/history/mod.d.ts +38 -0
  1146. package/plugins/agents/history/mod.js +61 -0
  1147. package/plugins/agents/history/processors/compact.d.ts +9 -0
  1148. package/plugins/agents/history/processors/compact.js +339 -0
  1149. package/plugins/agents/history/processors/erase.d.ts +3 -0
  1150. package/plugins/agents/history/processors/erase.js +11 -0
  1151. package/plugins/agents/history/resources/tools.d.ts +1 -0
  1152. package/plugins/agents/history/resources/tools.js +70 -0
  1153. package/plugins/agents/history/shared/lines.d.ts +28 -0
  1154. package/plugins/agents/history/shared/lines.js +48 -0
  1155. package/plugins/agents/history/shared/settings.d.ts +23 -0
  1156. package/plugins/agents/history/shared/settings.js +8 -0
  1157. package/plugins/agents/history/shared/summarized.d.ts +8 -0
  1158. package/plugins/agents/history/shared/summarized.js +9 -0
  1159. package/plugins/agents/history/shared/weight.d.ts +28 -0
  1160. package/plugins/agents/history/shared/weight.js +62 -0
  1161. package/plugins/agents/history/views/history.d.ts +15 -0
  1162. package/plugins/agents/history/views/history.js +59 -0
  1163. package/plugins/agents/history/views/since.d.ts +10 -0
  1164. package/plugins/agents/history/views/since.js +10 -0
  1165. package/plugins/agents/history/views/summary.d.ts +6 -0
  1166. package/plugins/agents/history/views/summary.js +8 -0
  1167. package/plugins/agents/memory/actions/import.d.ts +1 -0
  1168. package/plugins/agents/memory/actions/import.js +88 -0
  1169. package/plugins/agents/memory/collections/memory.d.ts +134 -0
  1170. package/plugins/agents/memory/collections/memory.js +77 -0
  1171. package/plugins/agents/memory/collections/progress.d.ts +19 -0
  1172. package/plugins/agents/memory/collections/progress.js +8 -0
  1173. package/plugins/agents/memory/mod.d.ts +48 -0
  1174. package/plugins/agents/memory/mod.js +106 -0
  1175. package/plugins/agents/memory/processors/extract.d.ts +12 -0
  1176. package/plugins/agents/memory/processors/extract.js +149 -0
  1177. package/plugins/agents/memory/resources/commands.d.ts +3 -0
  1178. package/plugins/agents/memory/resources/commands.js +13 -0
  1179. package/plugins/agents/memory/resources/context.d.ts +20 -0
  1180. package/plugins/agents/memory/resources/context.js +13 -0
  1181. package/plugins/agents/memory/resources/tools.d.ts +5 -0
  1182. package/plugins/agents/memory/resources/tools.js +153 -0
  1183. package/plugins/agents/memory/shared/scope.d.ts +82 -0
  1184. package/plugins/agents/memory/shared/scope.js +172 -0
  1185. package/plugins/agents/memory/shared/search.d.ts +32 -0
  1186. package/plugins/agents/memory/shared/search.js +108 -0
  1187. package/plugins/agents/memory/shared/settings.d.ts +41 -0
  1188. package/plugins/agents/memory/shared/settings.js +46 -0
  1189. package/plugins/agents/memory/terminal.d.ts +6 -0
  1190. package/plugins/agents/memory/terminal.js +13 -0
  1191. package/plugins/agents/memory/views/context.d.ts +8 -0
  1192. package/plugins/agents/memory/views/context.js +97 -0
  1193. package/plugins/agents/memory/views/memory.d.ts +5 -0
  1194. package/plugins/agents/memory/views/memory.js +4 -0
  1195. package/plugins/agents/memory/views/terminal/memory.d.ts +5 -0
  1196. package/plugins/agents/memory/views/terminal/memory.js +8 -0
  1197. package/plugins/agents/memory/views/web/card.d.ts +19 -0
  1198. package/plugins/agents/memory/views/web/card.js +25 -0
  1199. package/plugins/agents/memory/views/web/list.d.ts +28 -0
  1200. package/plugins/agents/memory/views/web/list.js +87 -0
  1201. package/plugins/agents/memory/views/web/memories.d.ts +15 -0
  1202. package/plugins/agents/memory/views/web/memories.js +39 -0
  1203. package/plugins/agents/memory/views/web/move.d.ts +13 -0
  1204. package/plugins/agents/memory/views/web/move.js +13 -0
  1205. package/plugins/agents/memory/views/web/palette.d.ts +11 -0
  1206. package/plugins/agents/memory/views/web/palette.js +42 -0
  1207. package/plugins/agents/memory/views/web/pick.d.ts +10 -0
  1208. package/plugins/agents/memory/views/web/pick.js +42 -0
  1209. package/plugins/agents/memory/views/web/style.d.ts +6 -0
  1210. package/plugins/agents/memory/views/web/style.js +41 -0
  1211. package/plugins/agents/memory/views/web/words.d.ts +1 -0
  1212. package/plugins/agents/memory/views/web/words.js +48 -0
  1213. package/plugins/agents/memory/web.d.ts +11 -0
  1214. package/plugins/agents/memory/web.js +34 -0
  1215. package/plugins/agents/mod.d.ts +24 -0
  1216. package/plugins/agents/mod.js +24 -0
  1217. package/plugins/agents/openapi/actions/operation.d.ts +11 -0
  1218. package/plugins/agents/openapi/actions/operation.js +86 -0
  1219. package/plugins/agents/openapi/contract.d.ts +77 -0
  1220. package/plugins/agents/openapi/contract.js +1 -0
  1221. package/plugins/agents/openapi/mod.d.ts +5 -0
  1222. package/plugins/agents/openapi/mod.js +75 -0
  1223. package/plugins/agents/openapi/resources/tools.d.ts +9 -0
  1224. package/plugins/agents/openapi/resources/tools.js +23 -0
  1225. package/plugins/agents/openapi/shared/files.d.ts +4 -0
  1226. package/plugins/agents/openapi/shared/files.js +128 -0
  1227. package/plugins/agents/openapi/shared/plan.d.ts +34 -0
  1228. package/plugins/agents/openapi/shared/plan.js +122 -0
  1229. package/plugins/agents/openapi/shared/request.d.ts +15 -0
  1230. package/plugins/agents/openapi/shared/request.js +87 -0
  1231. package/plugins/agents/openapi/shared/response.d.ts +24 -0
  1232. package/plugins/agents/openapi/shared/response.js +133 -0
  1233. package/plugins/agents/openapi/shared/schema.d.ts +20 -0
  1234. package/plugins/agents/openapi/shared/schema.js +128 -0
  1235. package/plugins/agents/openapi/shared/settings.d.ts +22 -0
  1236. package/plugins/agents/openapi/shared/settings.js +34 -0
  1237. package/plugins/agents/openapi/shared/spec.d.ts +55 -0
  1238. package/plugins/agents/openapi/shared/spec.js +99 -0
  1239. package/plugins/agents/routines/actions/create.d.ts +1 -0
  1240. package/plugins/agents/routines/actions/create.js +72 -0
  1241. package/plugins/agents/routines/actions/delete.d.ts +1 -0
  1242. package/plugins/agents/routines/actions/delete.js +20 -0
  1243. package/plugins/agents/routines/actions/fire.d.ts +1 -0
  1244. package/plugins/agents/routines/actions/fire.js +26 -0
  1245. package/plugins/agents/routines/actions/origin.d.ts +1 -0
  1246. package/plugins/agents/routines/actions/origin.js +32 -0
  1247. package/plugins/agents/routines/actions/pause.d.ts +1 -0
  1248. package/plugins/agents/routines/actions/pause.js +23 -0
  1249. package/plugins/agents/routines/actions/resume.d.ts +1 -0
  1250. package/plugins/agents/routines/actions/resume.js +26 -0
  1251. package/plugins/agents/routines/actions/run.d.ts +1 -0
  1252. package/plugins/agents/routines/actions/run.js +21 -0
  1253. package/plugins/agents/routines/actions/update.d.ts +1 -0
  1254. package/plugins/agents/routines/actions/update.js +88 -0
  1255. package/plugins/agents/routines/collections/routine.d.ts +149 -0
  1256. package/plugins/agents/routines/collections/routine.js +95 -0
  1257. package/plugins/agents/routines/collections/run.d.ts +108 -0
  1258. package/plugins/agents/routines/collections/run.js +31 -0
  1259. package/plugins/agents/routines/contract.d.ts +17 -0
  1260. package/plugins/agents/routines/contract.js +1 -0
  1261. package/plugins/agents/routines/mod.d.ts +38 -0
  1262. package/plugins/agents/routines/mod.js +79 -0
  1263. package/plugins/agents/routines/resources/tools.d.ts +2 -0
  1264. package/plugins/agents/routines/resources/tools.js +207 -0
  1265. package/plugins/agents/routines/shared/fire.d.ts +26 -0
  1266. package/plugins/agents/routines/shared/fire.js +101 -0
  1267. package/plugins/agents/routines/shared/routines.d.ts +118 -0
  1268. package/plugins/agents/routines/shared/routines.js +91 -0
  1269. package/plugins/agents/routines/shared/schedule.d.ts +148 -0
  1270. package/plugins/agents/routines/shared/schedule.js +347 -0
  1271. package/plugins/agents/routines/views/web/delete.d.ts +16 -0
  1272. package/plugins/agents/routines/views/web/delete.js +26 -0
  1273. package/plugins/agents/routines/views/web/form.d.ts +31 -0
  1274. package/plugins/agents/routines/views/web/form.js +102 -0
  1275. package/plugins/agents/routines/views/web/list.d.ts +16 -0
  1276. package/plugins/agents/routines/views/web/list.js +145 -0
  1277. package/plugins/agents/routines/views/web/new.d.ts +26 -0
  1278. package/plugins/agents/routines/views/web/new.js +37 -0
  1279. package/plugins/agents/routines/views/web/page.d.ts +15 -0
  1280. package/plugins/agents/routines/views/web/page.js +174 -0
  1281. package/plugins/agents/routines/views/web/palette.d.ts +16 -0
  1282. package/plugins/agents/routines/views/web/palette.js +145 -0
  1283. package/plugins/agents/routines/views/web/picker.d.ts +19 -0
  1284. package/plugins/agents/routines/views/web/picker.js +57 -0
  1285. package/plugins/agents/routines/views/web/routines.d.ts +66 -0
  1286. package/plugins/agents/routines/views/web/routines.js +110 -0
  1287. package/plugins/agents/routines/views/web/step.d.ts +12 -0
  1288. package/plugins/agents/routines/views/web/step.js +24 -0
  1289. package/plugins/agents/routines/views/web/style.d.ts +8 -0
  1290. package/plugins/agents/routines/views/web/style.js +196 -0
  1291. package/plugins/agents/routines/web.d.ts +17 -0
  1292. package/plugins/agents/routines/web.js +37 -0
  1293. package/plugins/agents/skills/actions/create.d.ts +1 -0
  1294. package/plugins/agents/skills/actions/create.js +43 -0
  1295. package/plugins/agents/skills/actions/delete.d.ts +1 -0
  1296. package/plugins/agents/skills/actions/delete.js +29 -0
  1297. package/plugins/agents/skills/actions/update.d.ts +1 -0
  1298. package/plugins/agents/skills/actions/update.js +58 -0
  1299. package/plugins/agents/skills/collections/skill-file.d.ts +62 -0
  1300. package/plugins/agents/skills/collections/skill-file.js +20 -0
  1301. package/plugins/agents/skills/collections/skill.d.ts +133 -0
  1302. package/plugins/agents/skills/collections/skill.js +105 -0
  1303. package/plugins/agents/skills/contract.d.ts +11 -0
  1304. package/plugins/agents/skills/contract.js +1 -0
  1305. package/plugins/agents/skills/mod.d.ts +31 -0
  1306. package/plugins/agents/skills/mod.js +80 -0
  1307. package/plugins/agents/skills/resources/planning.d.ts +11 -0
  1308. package/plugins/agents/skills/resources/planning.js +114 -0
  1309. package/plugins/agents/skills/resources/tools.d.ts +7 -0
  1310. package/plugins/agents/skills/resources/tools.js +57 -0
  1311. package/plugins/agents/skills/shared/check.d.ts +37 -0
  1312. package/plugins/agents/skills/shared/check.js +92 -0
  1313. package/plugins/agents/skills/shared/skill-md.d.ts +18 -0
  1314. package/plugins/agents/skills/shared/skill-md.js +63 -0
  1315. package/plugins/agents/skills/shared/skills.d.ts +53 -0
  1316. package/plugins/agents/skills/shared/skills.js +53 -0
  1317. package/plugins/agents/skills/shared/write.d.ts +72 -0
  1318. package/plugins/agents/skills/shared/write.js +54 -0
  1319. package/plugins/agents/skills/views/context.d.ts +14 -0
  1320. package/plugins/agents/skills/views/context.js +17 -0
  1321. package/plugins/agents/skills/views/web/delete.d.ts +19 -0
  1322. package/plugins/agents/skills/views/web/delete.js +27 -0
  1323. package/plugins/agents/skills/views/web/form.d.ts +28 -0
  1324. package/plugins/agents/skills/views/web/form.js +190 -0
  1325. package/plugins/agents/skills/views/web/list.d.ts +13 -0
  1326. package/plugins/agents/skills/views/web/list.js +88 -0
  1327. package/plugins/agents/skills/views/web/page.d.ts +13 -0
  1328. package/plugins/agents/skills/views/web/page.js +117 -0
  1329. package/plugins/agents/skills/views/web/palette.d.ts +21 -0
  1330. package/plugins/agents/skills/views/web/palette.js +133 -0
  1331. package/plugins/agents/skills/views/web/skills.d.ts +42 -0
  1332. package/plugins/agents/skills/views/web/skills.js +97 -0
  1333. package/plugins/agents/skills/views/web/step.d.ts +10 -0
  1334. package/plugins/agents/skills/views/web/step.js +26 -0
  1335. package/plugins/agents/skills/views/web/style.d.ts +8 -0
  1336. package/plugins/agents/skills/views/web/style.js +155 -0
  1337. package/plugins/agents/skills/web.d.ts +16 -0
  1338. package/plugins/agents/skills/web.js +37 -0
  1339. package/plugins/agents/terminal.d.ts +3 -0
  1340. package/plugins/agents/terminal.js +3 -0
  1341. package/plugins/agents/web.d.ts +6 -0
  1342. package/plugins/agents/web.js +6 -0
  1343. package/plugins/agents/webtools/adapters/duckduckgo.d.ts +21 -0
  1344. package/plugins/agents/webtools/adapters/duckduckgo.js +168 -0
  1345. package/plugins/agents/webtools/adapters/fake.d.ts +3 -0
  1346. package/plugins/agents/webtools/adapters/fake.js +8 -0
  1347. package/plugins/agents/webtools/adapters/serper.d.ts +2 -0
  1348. package/plugins/agents/webtools/adapters/serper.js +30 -0
  1349. package/plugins/agents/webtools/contract.d.ts +72 -0
  1350. package/plugins/agents/webtools/contract.js +1 -0
  1351. package/plugins/agents/webtools/mod.d.ts +55 -0
  1352. package/plugins/agents/webtools/mod.js +75 -0
  1353. package/plugins/agents/webtools/resources/tools.d.ts +2 -0
  1354. package/plugins/agents/webtools/resources/tools.js +82 -0
  1355. package/plugins/agents/webtools/shared/address.d.ts +9 -0
  1356. package/plugins/agents/webtools/shared/address.js +112 -0
  1357. package/plugins/agents/webtools/shared/read.d.ts +11 -0
  1358. package/plugins/agents/webtools/shared/read.js +129 -0
  1359. package/plugins/agents/webtools/shared/search.d.ts +15 -0
  1360. package/plugins/agents/webtools/shared/search.js +54 -0
  1361. package/plugins/agents/webtools/shared/settings.d.ts +20 -0
  1362. package/plugins/agents/webtools/shared/settings.js +21 -0
  1363. package/plugins/agents/webtools/shared/text.d.ts +15 -0
  1364. package/plugins/agents/webtools/shared/text.js +88 -0
  1365. package/plugins/billing/mod.d.ts +12 -0
  1366. package/plugins/billing/mod.js +12 -0
  1367. package/plugins/billing/terminal.d.ts +2 -0
  1368. package/plugins/billing/terminal.js +2 -0
  1369. package/plugins/billing/usage/actions/activity.d.ts +84 -0
  1370. package/plugins/billing/usage/actions/activity.js +310 -0
  1371. package/plugins/billing/usage/actions/close.d.ts +1 -0
  1372. package/plugins/billing/usage/actions/close.js +172 -0
  1373. package/plugins/billing/usage/actions/org.d.ts +30 -0
  1374. package/plugins/billing/usage/actions/org.js +64 -0
  1375. package/plugins/billing/usage/actions/quote.d.ts +7 -0
  1376. package/plugins/billing/usage/actions/quote.js +86 -0
  1377. package/plugins/billing/usage/actions/record.d.ts +1 -0
  1378. package/plugins/billing/usage/actions/record.js +25 -0
  1379. package/plugins/billing/usage/actions/rerate.d.ts +1 -0
  1380. package/plugins/billing/usage/actions/rerate.js +69 -0
  1381. package/plugins/billing/usage/collections/closed.d.ts +65 -0
  1382. package/plugins/billing/usage/collections/closed.js +22 -0
  1383. package/plugins/billing/usage/collections/rollup.d.ts +203 -0
  1384. package/plugins/billing/usage/collections/rollup.js +50 -0
  1385. package/plugins/billing/usage/collections/usage.d.ts +218 -0
  1386. package/plugins/billing/usage/collections/usage.js +75 -0
  1387. package/plugins/billing/usage/mod.d.ts +61 -0
  1388. package/plugins/billing/usage/mod.js +94 -0
  1389. package/plugins/billing/usage/resources/commands.d.ts +3 -0
  1390. package/plugins/billing/usage/resources/commands.js +21 -0
  1391. package/plugins/billing/usage/resources/ledger.d.ts +3 -0
  1392. package/plugins/billing/usage/resources/ledger.js +2 -0
  1393. package/plugins/billing/usage/shared/categories.d.ts +24 -0
  1394. package/plugins/billing/usage/shared/categories.js +40 -0
  1395. package/plugins/billing/usage/shared/days.d.ts +17 -0
  1396. package/plugins/billing/usage/shared/days.js +28 -0
  1397. package/plugins/billing/usage/shared/names.d.ts +45 -0
  1398. package/plugins/billing/usage/shared/names.js +60 -0
  1399. package/plugins/billing/usage/shared/rate.d.ts +79 -0
  1400. package/plugins/billing/usage/shared/rate.js +157 -0
  1401. package/plugins/billing/usage/shared/settings.d.ts +34 -0
  1402. package/plugins/billing/usage/shared/settings.js +18 -0
  1403. package/plugins/billing/usage/shared/totals.d.ts +80 -0
  1404. package/plugins/billing/usage/shared/totals.js +193 -0
  1405. package/plugins/billing/usage/shared/use.d.ts +42 -0
  1406. package/plugins/billing/usage/shared/use.js +51 -0
  1407. package/plugins/billing/usage/terminal.d.ts +6 -0
  1408. package/plugins/billing/usage/terminal.js +13 -0
  1409. package/plugins/billing/usage/views/terminal/totals.d.ts +9 -0
  1410. package/plugins/billing/usage/views/terminal/totals.js +48 -0
  1411. package/plugins/billing/usage/views/web/chart.d.ts +31 -0
  1412. package/plugins/billing/usage/views/web/chart.js +125 -0
  1413. package/plugins/billing/usage/views/web/numbers.d.ts +167 -0
  1414. package/plugins/billing/usage/views/web/numbers.js +330 -0
  1415. package/plugins/billing/usage/views/web/org.d.ts +129 -0
  1416. package/plugins/billing/usage/views/web/org.js +642 -0
  1417. package/plugins/billing/usage/views/web/style.d.ts +12 -0
  1418. package/plugins/billing/usage/views/web/style.js +199 -0
  1419. package/plugins/billing/usage/views/web/words.d.ts +1 -0
  1420. package/plugins/billing/usage/views/web/words.js +173 -0
  1421. package/plugins/billing/usage/web.d.ts +14 -0
  1422. package/plugins/billing/usage/web.js +22 -0
  1423. package/plugins/billing/web.d.ts +2 -0
  1424. package/plugins/billing/web.js +2 -0
  1425. package/plugins/compute/computers/actions/admit.d.ts +1 -0
  1426. package/plugins/compute/computers/actions/admit.js +62 -0
  1427. package/plugins/compute/computers/actions/allow-origin.d.ts +5 -0
  1428. package/plugins/compute/computers/actions/allow-origin.js +47 -0
  1429. package/plugins/compute/computers/actions/allowed.d.ts +1 -0
  1430. package/plugins/compute/computers/actions/allowed.js +50 -0
  1431. package/plugins/compute/computers/actions/code.d.ts +1 -0
  1432. package/plugins/compute/computers/actions/code.js +52 -0
  1433. package/plugins/compute/computers/actions/connected.d.ts +1 -0
  1434. package/plugins/compute/computers/actions/connected.js +43 -0
  1435. package/plugins/compute/computers/actions/default.d.ts +1 -0
  1436. package/plugins/compute/computers/actions/default.js +23 -0
  1437. package/plugins/compute/computers/actions/engine.d.ts +12 -0
  1438. package/plugins/compute/computers/actions/engine.js +167 -0
  1439. package/plugins/compute/computers/actions/engines.d.ts +16 -0
  1440. package/plugins/compute/computers/actions/engines.js +133 -0
  1441. package/plugins/compute/computers/actions/enrollment.d.ts +1 -0
  1442. package/plugins/compute/computers/actions/enrollment.js +51 -0
  1443. package/plugins/compute/computers/actions/env.d.ts +3 -0
  1444. package/plugins/compute/computers/actions/env.js +137 -0
  1445. package/plugins/compute/computers/actions/forget.d.ts +1 -0
  1446. package/plugins/compute/computers/actions/forget.js +30 -0
  1447. package/plugins/compute/computers/actions/gone.d.ts +1 -0
  1448. package/plugins/compute/computers/actions/gone.js +12 -0
  1449. package/plugins/compute/computers/actions/mark.d.ts +1 -0
  1450. package/plugins/compute/computers/actions/mark.js +36 -0
  1451. package/plugins/compute/computers/actions/move.d.ts +1 -0
  1452. package/plugins/compute/computers/actions/move.js +36 -0
  1453. package/plugins/compute/computers/actions/prepare.d.ts +13 -0
  1454. package/plugins/compute/computers/actions/prepare.js +98 -0
  1455. package/plugins/compute/computers/actions/preview.d.ts +4 -0
  1456. package/plugins/compute/computers/actions/preview.js +183 -0
  1457. package/plugins/compute/computers/actions/provision.d.ts +1 -0
  1458. package/plugins/compute/computers/actions/provision.js +51 -0
  1459. package/plugins/compute/computers/actions/ready.d.ts +1 -0
  1460. package/plugins/compute/computers/actions/ready.js +53 -0
  1461. package/plugins/compute/computers/actions/rename.d.ts +1 -0
  1462. package/plugins/compute/computers/actions/rename.js +22 -0
  1463. package/plugins/compute/computers/actions/running.d.ts +1 -0
  1464. package/plugins/compute/computers/actions/running.js +33 -0
  1465. package/plugins/compute/computers/actions/scope.d.ts +1 -0
  1466. package/plugins/compute/computers/actions/scope.js +61 -0
  1467. package/plugins/compute/computers/actions/share.d.ts +1 -0
  1468. package/plugins/compute/computers/actions/share.js +44 -0
  1469. package/plugins/compute/computers/actions/unshare.d.ts +1 -0
  1470. package/plugins/compute/computers/actions/unshare.js +27 -0
  1471. package/plugins/compute/computers/actions/upgrade-asks.d.ts +1 -0
  1472. package/plugins/compute/computers/actions/upgrade-asks.js +29 -0
  1473. package/plugins/compute/computers/actions/upload.d.ts +1 -0
  1474. package/plugins/compute/computers/actions/upload.js +35 -0
  1475. package/plugins/compute/computers/actions/view.d.ts +1 -0
  1476. package/plugins/compute/computers/actions/view.js +29 -0
  1477. package/plugins/compute/computers/actions/watch.d.ts +7 -0
  1478. package/plugins/compute/computers/actions/watch.js +159 -0
  1479. package/plugins/compute/computers/actions/work.d.ts +1 -0
  1480. package/plugins/compute/computers/actions/work.js +80 -0
  1481. package/plugins/compute/computers/adapters/engine.d.ts +34 -0
  1482. package/plugins/compute/computers/adapters/engine.js +297 -0
  1483. package/plugins/compute/computers/collections/computer.d.ts +185 -0
  1484. package/plugins/compute/computers/collections/computer.js +69 -0
  1485. package/plugins/compute/computers/collections/desk.d.ts +182 -0
  1486. package/plugins/compute/computers/collections/desk.js +63 -0
  1487. package/plugins/compute/computers/collections/enrollment.d.ts +64 -0
  1488. package/plugins/compute/computers/collections/enrollment.js +22 -0
  1489. package/plugins/compute/computers/collections/env-var.d.ts +115 -0
  1490. package/plugins/compute/computers/collections/env-var.js +51 -0
  1491. package/plugins/compute/computers/collections/job-watch.d.ts +141 -0
  1492. package/plugins/compute/computers/collections/job-watch.js +39 -0
  1493. package/plugins/compute/computers/collections/preview.d.ts +104 -0
  1494. package/plugins/compute/computers/collections/preview.js +58 -0
  1495. package/plugins/compute/computers/contract.d.ts +24 -0
  1496. package/plugins/compute/computers/contract.js +12 -0
  1497. package/plugins/compute/computers/mod.d.ts +61 -0
  1498. package/plugins/compute/computers/mod.js +196 -0
  1499. package/plugins/compute/computers/processors/left.d.ts +8 -0
  1500. package/plugins/compute/computers/processors/left.js +31 -0
  1501. package/plugins/compute/computers/program/agents/acp.d.ts +46 -0
  1502. package/plugins/compute/computers/program/agents/acp.js +479 -0
  1503. package/plugins/compute/computers/program/agents/claude.d.ts +4 -0
  1504. package/plugins/compute/computers/program/agents/claude.js +439 -0
  1505. package/plugins/compute/computers/program/agents/codex.d.ts +78 -0
  1506. package/plugins/compute/computers/program/agents/codex.js +580 -0
  1507. package/plugins/compute/computers/program/agents/cursor-runner.d.ts +28 -0
  1508. package/plugins/compute/computers/program/agents/cursor-runner.js +228 -0
  1509. package/plugins/compute/computers/program/agents/engines.d.ts +43 -0
  1510. package/plugins/compute/computers/program/agents/engines.js +539 -0
  1511. package/plugins/compute/computers/program/agents/grok.d.ts +2 -0
  1512. package/plugins/compute/computers/program/agents/grok.js +296 -0
  1513. package/plugins/compute/computers/program/agents/mcp.d.ts +28 -0
  1514. package/plugins/compute/computers/program/agents/mcp.js +252 -0
  1515. package/plugins/compute/computers/program/agents/permission.d.ts +11 -0
  1516. package/plugins/compute/computers/program/agents/permission.js +46 -0
  1517. package/plugins/compute/computers/program/agents/rpc.d.ts +37 -0
  1518. package/plugins/compute/computers/program/agents/rpc.js +192 -0
  1519. package/plugins/compute/computers/program/agents/steps.d.ts +68 -0
  1520. package/plugins/compute/computers/program/agents/steps.js +146 -0
  1521. package/plugins/compute/computers/program/agents/types.d.ts +153 -0
  1522. package/plugins/compute/computers/program/agents/types.js +13 -0
  1523. package/plugins/compute/computers/program/agents/write.d.ts +2 -0
  1524. package/plugins/compute/computers/program/agents/write.js +13 -0
  1525. package/plugins/compute/computers/program/browser/actions.d.ts +6 -0
  1526. package/plugins/compute/computers/program/browser/actions.js +256 -0
  1527. package/plugins/compute/computers/program/browser/async.d.ts +27 -0
  1528. package/plugins/compute/computers/program/browser/async.js +65 -0
  1529. package/plugins/compute/computers/program/browser/batch.d.ts +2 -0
  1530. package/plugins/compute/computers/program/browser/batch.js +46 -0
  1531. package/plugins/compute/computers/program/browser/cdp.d.ts +40 -0
  1532. package/plugins/compute/computers/program/browser/cdp.js +151 -0
  1533. package/plugins/compute/computers/program/browser/chrome.d.ts +64 -0
  1534. package/plugins/compute/computers/program/browser/chrome.js +250 -0
  1535. package/plugins/compute/computers/program/browser/control.d.ts +18 -0
  1536. package/plugins/compute/computers/program/browser/control.js +65 -0
  1537. package/plugins/compute/computers/program/browser/live.d.ts +95 -0
  1538. package/plugins/compute/computers/program/browser/live.js +345 -0
  1539. package/plugins/compute/computers/program/browser/math.d.ts +8 -0
  1540. package/plugins/compute/computers/program/browser/math.js +38 -0
  1541. package/plugins/compute/computers/program/browser/mod.d.ts +32 -0
  1542. package/plugins/compute/computers/program/browser/mod.js +202 -0
  1543. package/plugins/compute/computers/program/browser/page.d.ts +56 -0
  1544. package/plugins/compute/computers/program/browser/page.js +346 -0
  1545. package/plugins/compute/computers/program/browser/profile.d.ts +14 -0
  1546. package/plugins/compute/computers/program/browser/profile.js +79 -0
  1547. package/plugins/compute/computers/program/browser/refs.d.ts +35 -0
  1548. package/plugins/compute/computers/program/browser/refs.js +79 -0
  1549. package/plugins/compute/computers/program/browser/schema.d.ts +73 -0
  1550. package/plugins/compute/computers/program/browser/schema.js +73 -0
  1551. package/plugins/compute/computers/program/browser/session.d.ts +62 -0
  1552. package/plugins/compute/computers/program/browser/session.js +294 -0
  1553. package/plugins/compute/computers/program/browser/storage.d.ts +8 -0
  1554. package/plugins/compute/computers/program/browser/storage.js +70 -0
  1555. package/plugins/compute/computers/program/browser/types.d.ts +93 -0
  1556. package/plugins/compute/computers/program/browser/types.js +1 -0
  1557. package/plugins/compute/computers/program/computer.d.ts +69 -0
  1558. package/plugins/compute/computers/program/computer.js +309 -0
  1559. package/plugins/compute/computers/program/legacy-paths.d.ts +16 -0
  1560. package/plugins/compute/computers/program/legacy-paths.js +33 -0
  1561. package/plugins/compute/computers/program/mod.d.ts +8 -0
  1562. package/plugins/compute/computers/program/mod.js +8 -0
  1563. package/plugins/compute/computers/program/pool.d.ts +44 -0
  1564. package/plugins/compute/computers/program/pool.js +387 -0
  1565. package/plugins/compute/computers/program/release.d.ts +85 -0
  1566. package/plugins/compute/computers/program/release.js +88 -0
  1567. package/plugins/compute/computers/program/state.d.ts +78 -0
  1568. package/plugins/compute/computers/program/state.js +212 -0
  1569. package/plugins/compute/computers/program/update.d.ts +17 -0
  1570. package/plugins/compute/computers/program/update.js +144 -0
  1571. package/plugins/compute/computers/program/version.d.ts +2 -0
  1572. package/plugins/compute/computers/program/version.js +2 -0
  1573. package/plugins/compute/computers/program/workloads/agents.d.ts +32 -0
  1574. package/plugins/compute/computers/program/workloads/agents.js +46 -0
  1575. package/plugins/compute/computers/program/workloads/answer.d.ts +13 -0
  1576. package/plugins/compute/computers/program/workloads/answer.js +29 -0
  1577. package/plugins/compute/computers/program/workloads/archive.d.ts +6 -0
  1578. package/plugins/compute/computers/program/workloads/archive.js +128 -0
  1579. package/plugins/compute/computers/program/workloads/browser.d.ts +16 -0
  1580. package/plugins/compute/computers/program/workloads/browser.js +17 -0
  1581. package/plugins/compute/computers/program/workloads/files.d.ts +28 -0
  1582. package/plugins/compute/computers/program/workloads/files.js +393 -0
  1583. package/plugins/compute/computers/program/workloads/http.d.ts +20 -0
  1584. package/plugins/compute/computers/program/workloads/http.js +168 -0
  1585. package/plugins/compute/computers/program/workloads/info.d.ts +8 -0
  1586. package/plugins/compute/computers/program/workloads/info.js +22 -0
  1587. package/plugins/compute/computers/program/workloads/jobs.d.ts +39 -0
  1588. package/plugins/compute/computers/program/workloads/jobs.js +322 -0
  1589. package/plugins/compute/computers/program/workloads/ports.d.ts +5 -0
  1590. package/plugins/compute/computers/program/workloads/ports.js +160 -0
  1591. package/plugins/compute/computers/program/workloads/processes.d.ts +32 -0
  1592. package/plugins/compute/computers/program/workloads/processes.js +121 -0
  1593. package/plugins/compute/computers/program/workloads/search.d.ts +23 -0
  1594. package/plugins/compute/computers/program/workloads/search.js +170 -0
  1595. package/plugins/compute/computers/program/workloads/shell.d.ts +21 -0
  1596. package/plugins/compute/computers/program/workloads/shell.js +140 -0
  1597. package/plugins/compute/computers/program/workloads/spaces.d.ts +13 -0
  1598. package/plugins/compute/computers/program/workloads/spaces.js +47 -0
  1599. package/plugins/compute/computers/program/workloads/streams.d.ts +20 -0
  1600. package/plugins/compute/computers/program/workloads/streams.js +94 -0
  1601. package/plugins/compute/computers/program/workloads/terminal.d.ts +30 -0
  1602. package/plugins/compute/computers/program/workloads/terminal.js +388 -0
  1603. package/plugins/compute/computers/resources/commands.d.ts +11 -0
  1604. package/plugins/compute/computers/resources/commands.js +122 -0
  1605. package/plugins/compute/computers/resources/downloads.d.ts +21 -0
  1606. package/plugins/compute/computers/resources/downloads.js +122 -0
  1607. package/plugins/compute/computers/resources/engines.d.ts +48 -0
  1608. package/plugins/compute/computers/resources/engines.js +41 -0
  1609. package/plugins/compute/computers/resources/previews.d.ts +29 -0
  1610. package/plugins/compute/computers/resources/previews.js +383 -0
  1611. package/plugins/compute/computers/resources/tools.d.ts +8 -0
  1612. package/plugins/compute/computers/resources/tools.js +562 -0
  1613. package/plugins/compute/computers/routes/upload.d.ts +30 -0
  1614. package/plugins/compute/computers/routes/upload.js +169 -0
  1615. package/plugins/compute/computers/shared/ask.d.ts +63 -0
  1616. package/plugins/compute/computers/shared/ask.js +71 -0
  1617. package/plugins/compute/computers/shared/browser.d.ts +106 -0
  1618. package/plugins/compute/computers/shared/browser.js +89 -0
  1619. package/plugins/compute/computers/shared/cost.d.ts +58 -0
  1620. package/plugins/compute/computers/shared/cost.js +70 -0
  1621. package/plugins/compute/computers/shared/desks.d.ts +28 -0
  1622. package/plugins/compute/computers/shared/desks.js +88 -0
  1623. package/plugins/compute/computers/shared/engines.d.ts +87 -0
  1624. package/plugins/compute/computers/shared/engines.js +147 -0
  1625. package/plugins/compute/computers/shared/env.d.ts +20 -0
  1626. package/plugins/compute/computers/shared/env.js +50 -0
  1627. package/plugins/compute/computers/shared/failed.d.ts +3 -0
  1628. package/plugins/compute/computers/shared/failed.js +6 -0
  1629. package/plugins/compute/computers/shared/folder.d.ts +4 -0
  1630. package/plugins/compute/computers/shared/folder.js +13 -0
  1631. package/plugins/compute/computers/shared/install.d.ts +8 -0
  1632. package/plugins/compute/computers/shared/install.js +8 -0
  1633. package/plugins/compute/computers/shared/jobs.d.ts +13 -0
  1634. package/plugins/compute/computers/shared/jobs.js +16 -0
  1635. package/plugins/compute/computers/shared/pool.d.ts +54 -0
  1636. package/plugins/compute/computers/shared/pool.js +25 -0
  1637. package/plugins/compute/computers/shared/preview-url.d.ts +5 -0
  1638. package/plugins/compute/computers/shared/preview-url.js +5 -0
  1639. package/plugins/compute/computers/shared/seal.d.ts +4 -0
  1640. package/plugins/compute/computers/shared/seal.js +68 -0
  1641. package/plugins/compute/computers/shared/secret.d.ts +8 -0
  1642. package/plugins/compute/computers/shared/secret.js +24 -0
  1643. package/plugins/compute/computers/shared/serving.d.ts +19 -0
  1644. package/plugins/compute/computers/shared/serving.js +15 -0
  1645. package/plugins/compute/computers/shared/settings.d.ts +50 -0
  1646. package/plugins/compute/computers/shared/settings.js +22 -0
  1647. package/plugins/compute/computers/shared/streams.d.ts +13 -0
  1648. package/plugins/compute/computers/shared/streams.js +36 -0
  1649. package/plugins/compute/computers/shared/update.d.ts +29 -0
  1650. package/plugins/compute/computers/shared/update.js +39 -0
  1651. package/plugins/compute/computers/shared/upgrade.d.ts +42 -0
  1652. package/plugins/compute/computers/shared/upgrade.js +44 -0
  1653. package/plugins/compute/computers/shared/wake.d.ts +96 -0
  1654. package/plugins/compute/computers/shared/wake.js +139 -0
  1655. package/plugins/compute/computers/shared/where.d.ts +49 -0
  1656. package/plugins/compute/computers/shared/where.js +108 -0
  1657. package/plugins/compute/computers/shared/workloads.d.ts +494 -0
  1658. package/plugins/compute/computers/shared/workloads.js +59 -0
  1659. package/plugins/compute/computers/terminal.d.ts +8 -0
  1660. package/plugins/compute/computers/terminal.js +13 -0
  1661. package/plugins/compute/computers/views/context.d.ts +14 -0
  1662. package/plugins/compute/computers/views/context.js +140 -0
  1663. package/plugins/compute/computers/views/web/add.d.ts +41 -0
  1664. package/plugins/compute/computers/views/web/add.js +60 -0
  1665. package/plugins/compute/computers/views/web/allowed.d.ts +16 -0
  1666. package/plugins/compute/computers/views/web/allowed.js +38 -0
  1667. package/plugins/compute/computers/views/web/asked.d.ts +55 -0
  1668. package/plugins/compute/computers/views/web/asked.js +75 -0
  1669. package/plugins/compute/computers/views/web/asks.d.ts +17 -0
  1670. package/plugins/compute/computers/views/web/asks.js +22 -0
  1671. package/plugins/compute/computers/views/web/calls.d.ts +38 -0
  1672. package/plugins/compute/computers/views/web/calls.js +60 -0
  1673. package/plugins/compute/computers/views/web/computer.d.ts +17 -0
  1674. package/plugins/compute/computers/views/web/computer.js +45 -0
  1675. package/plugins/compute/computers/views/web/connect-flow.d.ts +45 -0
  1676. package/plugins/compute/computers/views/web/connect-flow.js +245 -0
  1677. package/plugins/compute/computers/views/web/connect-lines.d.ts +90 -0
  1678. package/plugins/compute/computers/views/web/connect-lines.js +111 -0
  1679. package/plugins/compute/computers/views/web/connect.d.ts +44 -0
  1680. package/plugins/compute/computers/views/web/connect.js +205 -0
  1681. package/plugins/compute/computers/views/web/cost.d.ts +25 -0
  1682. package/plugins/compute/computers/views/web/cost.js +56 -0
  1683. package/plugins/compute/computers/views/web/desks.d.ts +48 -0
  1684. package/plugins/compute/computers/views/web/desks.js +237 -0
  1685. package/plugins/compute/computers/views/web/diff.d.ts +15 -0
  1686. package/plugins/compute/computers/views/web/diff.js +66 -0
  1687. package/plugins/compute/computers/views/web/env.d.ts +32 -0
  1688. package/plugins/compute/computers/views/web/env.js +154 -0
  1689. package/plugins/compute/computers/views/web/environment.d.ts +23 -0
  1690. package/plugins/compute/computers/views/web/environment.js +47 -0
  1691. package/plugins/compute/computers/views/web/file-view.d.ts +27 -0
  1692. package/plugins/compute/computers/views/web/file-view.js +147 -0
  1693. package/plugins/compute/computers/views/web/files.d.ts +37 -0
  1694. package/plugins/compute/computers/views/web/files.js +223 -0
  1695. package/plugins/compute/computers/views/web/jobs.d.ts +39 -0
  1696. package/plugins/compute/computers/views/web/jobs.js +215 -0
  1697. package/plugins/compute/computers/views/web/kinds.d.ts +112 -0
  1698. package/plugins/compute/computers/views/web/kinds.js +37 -0
  1699. package/plugins/compute/computers/views/web/mark.d.ts +11 -0
  1700. package/plugins/compute/computers/views/web/mark.js +5 -0
  1701. package/plugins/compute/computers/views/web/move.d.ts +16 -0
  1702. package/plugins/compute/computers/views/web/move.js +10 -0
  1703. package/plugins/compute/computers/views/web/names.d.ts +39 -0
  1704. package/plugins/compute/computers/views/web/names.js +49 -0
  1705. package/plugins/compute/computers/views/web/page.d.ts +38 -0
  1706. package/plugins/compute/computers/views/web/page.js +91 -0
  1707. package/plugins/compute/computers/views/web/palette.d.ts +11 -0
  1708. package/plugins/compute/computers/views/web/palette.js +33 -0
  1709. package/plugins/compute/computers/views/web/plan-card.d.ts +28 -0
  1710. package/plugins/compute/computers/views/web/plan-card.js +58 -0
  1711. package/plugins/compute/computers/views/web/plan-shared.d.ts +11 -0
  1712. package/plugins/compute/computers/views/web/plan-shared.js +7 -0
  1713. package/plugins/compute/computers/views/web/plan-states.d.ts +198 -0
  1714. package/plugins/compute/computers/views/web/plan-states.js +271 -0
  1715. package/plugins/compute/computers/views/web/plans-data.d.ts +31 -0
  1716. package/plugins/compute/computers/views/web/plans-data.js +56 -0
  1717. package/plugins/compute/computers/views/web/plans-palette.d.ts +10 -0
  1718. package/plugins/compute/computers/views/web/plans-palette.js +36 -0
  1719. package/plugins/compute/computers/views/web/plans.d.ts +19 -0
  1720. package/plugins/compute/computers/views/web/plans.js +104 -0
  1721. package/plugins/compute/computers/views/web/platform.d.ts +8 -0
  1722. package/plugins/compute/computers/views/web/platform.js +58 -0
  1723. package/plugins/compute/computers/views/web/previews.d.ts +44 -0
  1724. package/plugins/compute/computers/views/web/previews.js +33 -0
  1725. package/plugins/compute/computers/views/web/routine-panel.d.ts +14 -0
  1726. package/plugins/compute/computers/views/web/routine-panel.js +98 -0
  1727. package/plugins/compute/computers/views/web/serve.d.ts +47 -0
  1728. package/plugins/compute/computers/views/web/serve.js +168 -0
  1729. package/plugins/compute/computers/views/web/shell.d.ts +34 -0
  1730. package/plugins/compute/computers/views/web/shell.js +87 -0
  1731. package/plugins/compute/computers/views/web/space-tab.d.ts +17 -0
  1732. package/plugins/compute/computers/views/web/space-tab.js +87 -0
  1733. package/plugins/compute/computers/views/web/step.d.ts +16 -0
  1734. package/plugins/compute/computers/views/web/step.js +276 -0
  1735. package/plugins/compute/computers/views/web/style.d.ts +10 -0
  1736. package/plugins/compute/computers/views/web/style.js +645 -0
  1737. package/plugins/compute/computers/views/web/terminal-tab.d.ts +21 -0
  1738. package/plugins/compute/computers/views/web/terminal-tab.js +18 -0
  1739. package/plugins/compute/computers/views/web/transfer.d.ts +18 -0
  1740. package/plugins/compute/computers/views/web/transfer.js +42 -0
  1741. package/plugins/compute/computers/views/web/upload-tray.d.ts +70 -0
  1742. package/plugins/compute/computers/views/web/upload-tray.js +249 -0
  1743. package/plugins/compute/computers/views/web/uploads.d.ts +184 -0
  1744. package/plugins/compute/computers/views/web/uploads.js +425 -0
  1745. package/plugins/compute/computers/views/web/welcome.d.ts +18 -0
  1746. package/plugins/compute/computers/views/web/welcome.js +51 -0
  1747. package/plugins/compute/computers/views/web/words.d.ts +1 -0
  1748. package/plugins/compute/computers/views/web/words.js +242 -0
  1749. package/plugins/compute/computers/views/web/workspace.d.ts +46 -0
  1750. package/plugins/compute/computers/views/web/workspace.js +142 -0
  1751. package/plugins/compute/computers/views/web/yours.d.ts +11 -0
  1752. package/plugins/compute/computers/views/web/yours.js +33 -0
  1753. package/plugins/compute/computers/web.d.ts +44 -0
  1754. package/plugins/compute/computers/web.js +123 -0
  1755. package/plugins/compute/contract.d.ts +6 -0
  1756. package/plugins/compute/contract.js +6 -0
  1757. package/plugins/compute/google.d.ts +75 -0
  1758. package/plugins/compute/google.js +218 -0
  1759. package/plugins/compute/mod.d.ts +4 -0
  1760. package/plugins/compute/mod.js +4 -0
  1761. package/plugins/compute/web.d.ts +9 -0
  1762. package/plugins/compute/web.js +9 -0
  1763. package/plugins/interfaces/api/actions/create.d.ts +1 -0
  1764. package/plugins/interfaces/api/actions/create.js +89 -0
  1765. package/plugins/interfaces/api/actions/revoke.d.ts +2 -0
  1766. package/plugins/interfaces/api/actions/revoke.js +45 -0
  1767. package/plugins/interfaces/api/collections/key.d.ts +205 -0
  1768. package/plugins/interfaces/api/collections/key.js +73 -0
  1769. package/plugins/interfaces/api/contract.d.ts +33 -0
  1770. package/plugins/interfaces/api/contract.js +1 -0
  1771. package/plugins/interfaces/api/mod.d.ts +32 -0
  1772. package/plugins/interfaces/api/mod.js +55 -0
  1773. package/plugins/interfaces/api/processors/left.d.ts +7 -0
  1774. package/plugins/interfaces/api/processors/left.js +19 -0
  1775. package/plugins/interfaces/api/resources/presets.d.ts +9 -0
  1776. package/plugins/interfaces/api/resources/presets.js +17 -0
  1777. package/plugins/interfaces/api/shared/actor.d.ts +30 -0
  1778. package/plugins/interfaces/api/shared/actor.js +34 -0
  1779. package/plugins/interfaces/api/shared/end.d.ts +9 -0
  1780. package/plugins/interfaces/api/shared/end.js +10 -0
  1781. package/plugins/interfaces/api/shared/rules.d.ts +10 -0
  1782. package/plugins/interfaces/api/shared/rules.js +24 -0
  1783. package/plugins/interfaces/api/shared/secret.d.ts +7 -0
  1784. package/plugins/interfaces/api/shared/secret.js +11 -0
  1785. package/plugins/interfaces/api/views/web/catalog.d.ts +24 -0
  1786. package/plugins/interfaces/api/views/web/catalog.js +43 -0
  1787. package/plugins/interfaces/api/views/web/create.d.ts +23 -0
  1788. package/plugins/interfaces/api/views/web/create.js +138 -0
  1789. package/plugins/interfaces/api/views/web/keys.d.ts +30 -0
  1790. package/plugins/interfaces/api/views/web/keys.js +88 -0
  1791. package/plugins/interfaces/api/views/web/members.d.ts +13 -0
  1792. package/plugins/interfaces/api/views/web/members.js +35 -0
  1793. package/plugins/interfaces/api/views/web/palette.d.ts +9 -0
  1794. package/plugins/interfaces/api/views/web/palette.js +17 -0
  1795. package/plugins/interfaces/api/views/web/reference.d.ts +11 -0
  1796. package/plugins/interfaces/api/views/web/reference.js +36 -0
  1797. package/plugins/interfaces/api/views/web/snippet.d.ts +31 -0
  1798. package/plugins/interfaces/api/views/web/snippet.js +66 -0
  1799. package/plugins/interfaces/api/views/web/style.d.ts +8 -0
  1800. package/plugins/interfaces/api/views/web/style.js +134 -0
  1801. package/plugins/interfaces/api/web.d.ts +17 -0
  1802. package/plugins/interfaces/api/web.js +33 -0
  1803. package/plugins/interfaces/contract.d.ts +16 -0
  1804. package/plugins/interfaces/contract.js +14 -0
  1805. package/plugins/interfaces/maintenance/actions/read.d.ts +4 -0
  1806. package/plugins/interfaces/maintenance/actions/read.js +76 -0
  1807. package/plugins/interfaces/maintenance/actions/write.d.ts +4 -0
  1808. package/plugins/interfaces/maintenance/actions/write.js +64 -0
  1809. package/plugins/interfaces/maintenance/contract.d.ts +64 -0
  1810. package/plugins/interfaces/maintenance/contract.js +2 -0
  1811. package/plugins/interfaces/maintenance/mod.d.ts +57 -0
  1812. package/plugins/interfaces/maintenance/mod.js +69 -0
  1813. package/plugins/interfaces/maintenance/resources/routes.d.ts +65 -0
  1814. package/plugins/interfaces/maintenance/resources/routes.js +471 -0
  1815. package/plugins/interfaces/maintenance/shared/ops.d.ts +4 -0
  1816. package/plugins/interfaces/maintenance/shared/ops.js +19 -0
  1817. package/plugins/interfaces/mcp/actions/call.d.ts +15 -0
  1818. package/plugins/interfaces/mcp/actions/call.js +392 -0
  1819. package/plugins/interfaces/mcp/actions/conversation.d.ts +1 -0
  1820. package/plugins/interfaces/mcp/actions/conversation.js +49 -0
  1821. package/plugins/interfaces/mcp/actions/prune.d.ts +1 -0
  1822. package/plugins/interfaces/mcp/actions/prune.js +20 -0
  1823. package/plugins/interfaces/mcp/actions/public.d.ts +8 -0
  1824. package/plugins/interfaces/mcp/actions/public.js +81 -0
  1825. package/plugins/interfaces/mcp/collections/closed.d.ts +16 -0
  1826. package/plugins/interfaces/mcp/collections/closed.js +17 -0
  1827. package/plugins/interfaces/mcp/collections/opening.d.ts +17 -0
  1828. package/plugins/interfaces/mcp/collections/opening.js +28 -0
  1829. package/plugins/interfaces/mcp/collections/rate.d.ts +20 -0
  1830. package/plugins/interfaces/mcp/collections/rate.js +18 -0
  1831. package/plugins/interfaces/mcp/collections/receipt.d.ts +39 -0
  1832. package/plugins/interfaces/mcp/collections/receipt.js +46 -0
  1833. package/plugins/interfaces/mcp/contract.d.ts +8 -0
  1834. package/plugins/interfaces/mcp/contract.js +8 -0
  1835. package/plugins/interfaces/mcp/mod.d.ts +145 -0
  1836. package/plugins/interfaces/mcp/mod.js +196 -0
  1837. package/plugins/interfaces/mcp/processors/closed.d.ts +13 -0
  1838. package/plugins/interfaces/mcp/processors/closed.js +16 -0
  1839. package/plugins/interfaces/mcp/resources/limits.d.ts +38 -0
  1840. package/plugins/interfaces/mcp/resources/limits.js +77 -0
  1841. package/plugins/interfaces/mcp/resources/public.d.ts +45 -0
  1842. package/plugins/interfaces/mcp/resources/public.js +99 -0
  1843. package/plugins/interfaces/mcp/resources/running.d.ts +21 -0
  1844. package/plugins/interfaces/mcp/resources/running.js +36 -0
  1845. package/plugins/interfaces/mcp/resources/server.d.ts +60 -0
  1846. package/plugins/interfaces/mcp/resources/server.js +643 -0
  1847. package/plugins/interfaces/mcp/resources/tools.d.ts +183 -0
  1848. package/plugins/interfaces/mcp/resources/tools.js +432 -0
  1849. package/plugins/interfaces/mcp/resources/widgets.d.ts +161 -0
  1850. package/plugins/interfaces/mcp/resources/widgets.js +247 -0
  1851. package/plugins/interfaces/mcp/shared/keys.d.ts +56 -0
  1852. package/plugins/interfaces/mcp/shared/keys.js +99 -0
  1853. package/plugins/interfaces/mcp/shared/settings.d.ts +244 -0
  1854. package/plugins/interfaces/mcp/shared/settings.js +243 -0
  1855. package/plugins/interfaces/mcp/shared/shown.d.ts +20 -0
  1856. package/plugins/interfaces/mcp/shared/shown.js +31 -0
  1857. package/plugins/interfaces/mcp/views/offered.d.ts +19 -0
  1858. package/plugins/interfaces/mcp/views/offered.js +20 -0
  1859. package/plugins/interfaces/mod.d.ts +13 -0
  1860. package/plugins/interfaces/mod.js +13 -0
  1861. package/plugins/interfaces/push/actions/send.d.ts +4 -0
  1862. package/plugins/interfaces/push/actions/send.js +61 -0
  1863. package/plugins/interfaces/push/actions/subscribe.d.ts +3 -0
  1864. package/plugins/interfaces/push/actions/subscribe.js +95 -0
  1865. package/plugins/interfaces/push/collections/looking.d.ts +32 -0
  1866. package/plugins/interfaces/push/collections/looking.js +20 -0
  1867. package/plugins/interfaces/push/collections/subscription.d.ts +58 -0
  1868. package/plugins/interfaces/push/collections/subscription.js +40 -0
  1869. package/plugins/interfaces/push/contract.d.ts +34 -0
  1870. package/plugins/interfaces/push/contract.js +6 -0
  1871. package/plugins/interfaces/push/mod.d.ts +36 -0
  1872. package/plugins/interfaces/push/mod.js +68 -0
  1873. package/plugins/interfaces/push/processors/notify.d.ts +20 -0
  1874. package/plugins/interfaces/push/processors/notify.js +58 -0
  1875. package/plugins/interfaces/push/shared/deliver.d.ts +20 -0
  1876. package/plugins/interfaces/push/shared/deliver.js +68 -0
  1877. package/plugins/interfaces/push/shared/rules.d.ts +7 -0
  1878. package/plugins/interfaces/push/shared/rules.js +19 -0
  1879. package/plugins/interfaces/push/shared/settings.d.ts +12 -0
  1880. package/plugins/interfaces/push/shared/settings.js +12 -0
  1881. package/plugins/interfaces/push/shared/webpush.d.ts +42 -0
  1882. package/plugins/interfaces/push/shared/webpush.js +111 -0
  1883. package/plugins/interfaces/push/views/web/notifications.d.ts +17 -0
  1884. package/plugins/interfaces/push/views/web/notifications.js +99 -0
  1885. package/plugins/interfaces/push/views/web/words.d.ts +1 -0
  1886. package/plugins/interfaces/push/views/web/words.js +26 -0
  1887. package/plugins/interfaces/push/web.d.ts +12 -0
  1888. package/plugins/interfaces/push/web.js +22 -0
  1889. package/plugins/interfaces/terminal/actions/print.d.ts +1 -0
  1890. package/plugins/interfaces/terminal/actions/print.js +30 -0
  1891. package/plugins/interfaces/terminal/actions/set.d.ts +1 -0
  1892. package/plugins/interfaces/terminal/actions/set.js +38 -0
  1893. package/plugins/interfaces/terminal/collections/output.d.ts +36 -0
  1894. package/plugins/interfaces/terminal/collections/output.js +21 -0
  1895. package/plugins/interfaces/terminal/collections/shell.d.ts +42 -0
  1896. package/plugins/interfaces/terminal/collections/shell.js +30 -0
  1897. package/plugins/interfaces/terminal/mod.d.ts +13 -0
  1898. package/plugins/interfaces/terminal/mod.js +21 -0
  1899. package/plugins/interfaces/terminal/terminal.d.ts +18 -0
  1900. package/plugins/interfaces/terminal/terminal.js +30 -0
  1901. package/plugins/interfaces/terminal/views/default.d.ts +1 -0
  1902. package/plugins/interfaces/terminal/views/default.js +23 -0
  1903. package/plugins/interfaces/terminal/views/prompt.d.ts +7 -0
  1904. package/plugins/interfaces/terminal/views/prompt.js +5 -0
  1905. package/plugins/interfaces/terminal/views/shell.d.ts +5 -0
  1906. package/plugins/interfaces/terminal/views/shell.js +32 -0
  1907. package/plugins/interfaces/voice/actions/block.d.ts +2 -0
  1908. package/plugins/interfaces/voice/actions/block.js +74 -0
  1909. package/plugins/interfaces/voice/actions/call.d.ts +19 -0
  1910. package/plugins/interfaces/voice/actions/call.js +253 -0
  1911. package/plugins/interfaces/voice/actions/prune.d.ts +1 -0
  1912. package/plugins/interfaces/voice/actions/prune.js +43 -0
  1913. package/plugins/interfaces/voice/actions/ring.d.ts +6 -0
  1914. package/plugins/interfaces/voice/actions/ring.js +165 -0
  1915. package/plugins/interfaces/voice/collections/blocked.d.ts +80 -0
  1916. package/plugins/interfaces/voice/collections/blocked.js +34 -0
  1917. package/plugins/interfaces/voice/collections/call.d.ts +272 -0
  1918. package/plugins/interfaces/voice/collections/call.js +77 -0
  1919. package/plugins/interfaces/voice/collections/phone.d.ts +67 -0
  1920. package/plugins/interfaces/voice/collections/phone.js +26 -0
  1921. package/plugins/interfaces/voice/contract.d.ts +14 -0
  1922. package/plugins/interfaces/voice/contract.js +2 -0
  1923. package/plugins/interfaces/voice/mod.d.ts +56 -0
  1924. package/plugins/interfaces/voice/mod.js +124 -0
  1925. package/plugins/interfaces/voice/processors/forget.d.ts +13 -0
  1926. package/plugins/interfaces/voice/processors/forget.js +27 -0
  1927. package/plugins/interfaces/voice/resources/tools.d.ts +1 -0
  1928. package/plugins/interfaces/voice/resources/tools.js +27 -0
  1929. package/plugins/interfaces/voice/routes/hook.d.ts +21 -0
  1930. package/plugins/interfaces/voice/routes/hook.js +114 -0
  1931. package/plugins/interfaces/voice/routes/relay.d.ts +20 -0
  1932. package/plugins/interfaces/voice/routes/relay.js +488 -0
  1933. package/plugins/interfaces/voice/shared/caller.d.ts +27 -0
  1934. package/plugins/interfaces/voice/shared/caller.js +38 -0
  1935. package/plugins/interfaces/voice/shared/settings.d.ts +128 -0
  1936. package/plugins/interfaces/voice/shared/settings.js +115 -0
  1937. package/plugins/interfaces/voice/shared/signature.d.ts +11 -0
  1938. package/plugins/interfaces/voice/shared/signature.js +34 -0
  1939. package/plugins/interfaces/voice/views/call.d.ts +48 -0
  1940. package/plugins/interfaces/voice/views/call.js +42 -0
  1941. package/plugins/interfaces/voice/views/context.d.ts +9 -0
  1942. package/plugins/interfaces/voice/views/context.js +14 -0
  1943. package/plugins/interfaces/voice/views/message.d.ts +17 -0
  1944. package/plugins/interfaces/voice/views/message.js +41 -0
  1945. package/plugins/interfaces/web/actions/arrive.d.ts +1 -0
  1946. package/plugins/interfaces/web/actions/arrive.js +104 -0
  1947. package/plugins/interfaces/web/actions/prune.d.ts +1 -0
  1948. package/plugins/interfaces/web/actions/prune.js +51 -0
  1949. package/plugins/interfaces/web/actions/sending.d.ts +1 -0
  1950. package/plugins/interfaces/web/actions/sending.js +226 -0
  1951. package/plugins/interfaces/web/actions/spent.d.ts +2 -0
  1952. package/plugins/interfaces/web/actions/spent.js +59 -0
  1953. package/plugins/interfaces/web/collections/rate.d.ts +115 -0
  1954. package/plugins/interfaces/web/collections/rate.js +37 -0
  1955. package/plugins/interfaces/web/collections/visitor.d.ts +103 -0
  1956. package/plugins/interfaces/web/collections/visitor.js +69 -0
  1957. package/plugins/interfaces/web/contract.d.ts +32 -0
  1958. package/plugins/interfaces/web/contract.js +3 -0
  1959. package/plugins/interfaces/web/lines.d.ts +35 -0
  1960. package/plugins/interfaces/web/lines.js +83 -0
  1961. package/plugins/interfaces/web/mod.d.ts +79 -0
  1962. package/plugins/interfaces/web/mod.js +81 -0
  1963. package/plugins/interfaces/web/processors/forget.d.ts +10 -0
  1964. package/plugins/interfaces/web/processors/forget.js +14 -0
  1965. package/plugins/interfaces/web/resources/spend.d.ts +2 -0
  1966. package/plugins/interfaces/web/resources/spend.js +68 -0
  1967. package/plugins/interfaces/web/routes/arrive.d.ts +20 -0
  1968. package/plugins/interfaces/web/routes/arrive.js +92 -0
  1969. package/plugins/interfaces/web/shared/budget.d.ts +65 -0
  1970. package/plugins/interfaces/web/shared/budget.js +134 -0
  1971. package/plugins/interfaces/web/shared/lines.d.ts +147 -0
  1972. package/plugins/interfaces/web/shared/lines.js +147 -0
  1973. package/plugins/interfaces/web/shared/menu.d.ts +14 -0
  1974. package/plugins/interfaces/web/shared/menu.js +4 -0
  1975. package/plugins/interfaces/web/shared/orgs.d.ts +96 -0
  1976. package/plugins/interfaces/web/shared/orgs.js +61 -0
  1977. package/plugins/interfaces/web/shared/palette.d.ts +36 -0
  1978. package/plugins/interfaces/web/shared/palette.js +30 -0
  1979. package/plugins/interfaces/web/shared/panel.d.ts +28 -0
  1980. package/plugins/interfaces/web/shared/panel.js +29 -0
  1981. package/plugins/interfaces/web/shared/secret.d.ts +33 -0
  1982. package/plugins/interfaces/web/shared/secret.js +86 -0
  1983. package/plugins/interfaces/web/shared/sidebar.d.ts +22 -0
  1984. package/plugins/interfaces/web/shared/sidebar.js +29 -0
  1985. package/plugins/interfaces/web/shared/standing.d.ts +7 -0
  1986. package/plugins/interfaces/web/shared/standing.js +36 -0
  1987. package/plugins/interfaces/web/shared/style.d.ts +23 -0
  1988. package/plugins/interfaces/web/shared/style.js +130 -0
  1989. package/plugins/interfaces/web/views/default.d.ts +10 -0
  1990. package/plugins/interfaces/web/views/default.js +28 -0
  1991. package/plugins/interfaces/web/views/frame.d.ts +76 -0
  1992. package/plugins/interfaces/web/views/frame.js +171 -0
  1993. package/plugins/interfaces/web/views/me.d.ts +27 -0
  1994. package/plugins/interfaces/web/views/me.js +94 -0
  1995. package/plugins/interfaces/web/views/panel.d.ts +42 -0
  1996. package/plugins/interfaces/web/views/panel.js +62 -0
  1997. package/plugins/interfaces/web/views/rail.d.ts +41 -0
  1998. package/plugins/interfaces/web/views/rail.js +55 -0
  1999. package/plugins/interfaces/web/views/shell.d.ts +32 -0
  2000. package/plugins/interfaces/web/views/shell.js +54 -0
  2001. package/plugins/interfaces/web/views/words.d.ts +1 -0
  2002. package/plugins/interfaces/web/views/words.js +58 -0
  2003. package/plugins/interfaces/web.d.ts +5 -0
  2004. package/plugins/interfaces/web.js +5 -0
  2005. package/plugins/interfaces/whatsapp/actions/connect.d.ts +17 -0
  2006. package/plugins/interfaces/whatsapp/actions/connect.js +123 -0
  2007. package/plugins/interfaces/whatsapp/actions/disconnect.d.ts +2 -0
  2008. package/plugins/interfaces/whatsapp/actions/disconnect.js +58 -0
  2009. package/plugins/interfaces/whatsapp/actions/hook.d.ts +10 -0
  2010. package/plugins/interfaces/whatsapp/actions/hook.js +125 -0
  2011. package/plugins/interfaces/whatsapp/actions/link.d.ts +3 -0
  2012. package/plugins/interfaces/whatsapp/actions/link.js +90 -0
  2013. package/plugins/interfaces/whatsapp/actions/set.d.ts +8 -0
  2014. package/plugins/interfaces/whatsapp/actions/set.js +152 -0
  2015. package/plugins/interfaces/whatsapp/actions/template.d.ts +1 -0
  2016. package/plugins/interfaces/whatsapp/actions/template.js +89 -0
  2017. package/plugins/interfaces/whatsapp/collections/blocked.d.ts +22 -0
  2018. package/plugins/interfaces/whatsapp/collections/blocked.js +22 -0
  2019. package/plugins/interfaces/whatsapp/collections/code.d.ts +71 -0
  2020. package/plugins/interfaces/whatsapp/collections/code.js +27 -0
  2021. package/plugins/interfaces/whatsapp/collections/number.d.ts +267 -0
  2022. package/plugins/interfaces/whatsapp/collections/number.js +84 -0
  2023. package/plugins/interfaces/whatsapp/collections/phone.d.ts +160 -0
  2024. package/plugins/interfaces/whatsapp/collections/phone.js +55 -0
  2025. package/plugins/interfaces/whatsapp/collections/rate.d.ts +20 -0
  2026. package/plugins/interfaces/whatsapp/collections/rate.js +13 -0
  2027. package/plugins/interfaces/whatsapp/collections/secret.d.ts +57 -0
  2028. package/plugins/interfaces/whatsapp/collections/secret.js +25 -0
  2029. package/plugins/interfaces/whatsapp/collections/sent.d.ts +73 -0
  2030. package/plugins/interfaces/whatsapp/collections/sent.js +28 -0
  2031. package/plugins/interfaces/whatsapp/collections/template.d.ts +89 -0
  2032. package/plugins/interfaces/whatsapp/collections/template.js +30 -0
  2033. package/plugins/interfaces/whatsapp/collections/thread.d.ts +67 -0
  2034. package/plugins/interfaces/whatsapp/collections/thread.js +21 -0
  2035. package/plugins/interfaces/whatsapp/collections/typing.d.ts +63 -0
  2036. package/plugins/interfaces/whatsapp/collections/typing.js +21 -0
  2037. package/plugins/interfaces/whatsapp/contract.d.ts +44 -0
  2038. package/plugins/interfaces/whatsapp/contract.js +41 -0
  2039. package/plugins/interfaces/whatsapp/events/received.d.ts +7 -0
  2040. package/plugins/interfaces/whatsapp/events/received.js +17 -0
  2041. package/plugins/interfaces/whatsapp/events/undelivered.d.ts +8 -0
  2042. package/plugins/interfaces/whatsapp/events/undelivered.js +17 -0
  2043. package/plugins/interfaces/whatsapp/mod.d.ts +83 -0
  2044. package/plugins/interfaces/whatsapp/mod.js +186 -0
  2045. package/plugins/interfaces/whatsapp/processors/forget.d.ts +7 -0
  2046. package/plugins/interfaces/whatsapp/processors/forget.js +17 -0
  2047. package/plugins/interfaces/whatsapp/processors/receive.d.ts +42 -0
  2048. package/plugins/interfaces/whatsapp/processors/receive.js +434 -0
  2049. package/plugins/interfaces/whatsapp/processors/reply.d.ts +49 -0
  2050. package/plugins/interfaces/whatsapp/processors/reply.js +358 -0
  2051. package/plugins/interfaces/whatsapp/processors/typing.d.ts +8 -0
  2052. package/plugins/interfaces/whatsapp/processors/typing.js +25 -0
  2053. package/plugins/interfaces/whatsapp/routes/hook.d.ts +16 -0
  2054. package/plugins/interfaces/whatsapp/routes/hook.js +52 -0
  2055. package/plugins/interfaces/whatsapp/shared/commands.d.ts +27 -0
  2056. package/plugins/interfaces/whatsapp/shared/commands.js +43 -0
  2057. package/plugins/interfaces/whatsapp/shared/customers.d.ts +13 -0
  2058. package/plugins/interfaces/whatsapp/shared/customers.js +16 -0
  2059. package/plugins/interfaces/whatsapp/shared/graph.d.ts +79 -0
  2060. package/plugins/interfaces/whatsapp/shared/graph.js +202 -0
  2061. package/plugins/interfaces/whatsapp/shared/media.d.ts +24 -0
  2062. package/plugins/interfaces/whatsapp/shared/media.js +49 -0
  2063. package/plugins/interfaces/whatsapp/shared/number.d.ts +39 -0
  2064. package/plugins/interfaces/whatsapp/shared/number.js +115 -0
  2065. package/plugins/interfaces/whatsapp/shared/parts.d.ts +94 -0
  2066. package/plugins/interfaces/whatsapp/shared/parts.js +184 -0
  2067. package/plugins/interfaces/whatsapp/shared/payload.d.ts +102 -0
  2068. package/plugins/interfaces/whatsapp/shared/payload.js +129 -0
  2069. package/plugins/interfaces/whatsapp/shared/rules.d.ts +11 -0
  2070. package/plugins/interfaces/whatsapp/shared/rules.js +17 -0
  2071. package/plugins/interfaces/whatsapp/shared/settings.d.ts +98 -0
  2072. package/plugins/interfaces/whatsapp/shared/settings.js +11 -0
  2073. package/plugins/interfaces/whatsapp/shared/signature.d.ts +11 -0
  2074. package/plugins/interfaces/whatsapp/shared/signature.js +28 -0
  2075. package/plugins/interfaces/whatsapp/shared/template.d.ts +48 -0
  2076. package/plugins/interfaces/whatsapp/shared/template.js +117 -0
  2077. package/plugins/interfaces/whatsapp/shared/text.d.ts +16 -0
  2078. package/plugins/interfaces/whatsapp/shared/text.js +88 -0
  2079. package/plugins/interfaces/whatsapp/views/message.d.ts +13 -0
  2080. package/plugins/interfaces/whatsapp/views/message.js +13 -0
  2081. package/plugins/interfaces/whatsapp/views/web/connect.d.ts +45 -0
  2082. package/plugins/interfaces/whatsapp/views/web/connect.js +136 -0
  2083. package/plugins/interfaces/whatsapp/views/web/line.d.ts +24 -0
  2084. package/plugins/interfaces/whatsapp/views/web/line.js +44 -0
  2085. package/plugins/interfaces/whatsapp/views/web/palette.d.ts +10 -0
  2086. package/plugins/interfaces/whatsapp/views/web/palette.js +26 -0
  2087. package/plugins/interfaces/whatsapp/views/web/phone.d.ts +25 -0
  2088. package/plugins/interfaces/whatsapp/views/web/phone.js +60 -0
  2089. package/plugins/interfaces/whatsapp/views/web/space.d.ts +17 -0
  2090. package/plugins/interfaces/whatsapp/views/web/space.js +98 -0
  2091. package/plugins/interfaces/whatsapp/views/web/style.d.ts +7 -0
  2092. package/plugins/interfaces/whatsapp/views/web/style.js +84 -0
  2093. package/plugins/interfaces/whatsapp/views/web/words.d.ts +15 -0
  2094. package/plugins/interfaces/whatsapp/views/web/words.js +26 -0
  2095. package/plugins/interfaces/whatsapp/web.d.ts +15 -0
  2096. package/plugins/interfaces/whatsapp/web.js +37 -0
  2097. package/plugins/models/actions/check.d.ts +2 -0
  2098. package/plugins/models/actions/check.js +64 -0
  2099. package/plugins/models/actions/embed.d.ts +1 -0
  2100. package/plugins/models/actions/embed.js +22 -0
  2101. package/plugins/models/actions/generate.d.ts +1 -0
  2102. package/plugins/models/actions/generate.js +28 -0
  2103. package/plugins/models/actions/image.d.ts +1 -0
  2104. package/plugins/models/actions/image.js +46 -0
  2105. package/plugins/models/actions/offered.d.ts +34 -0
  2106. package/plugins/models/actions/offered.js +190 -0
  2107. package/plugins/models/actions/price.d.ts +1 -0
  2108. package/plugins/models/actions/price.js +23 -0
  2109. package/plugins/models/actions/stream.d.ts +1 -0
  2110. package/plugins/models/actions/stream.js +27 -0
  2111. package/plugins/models/actions/test.d.ts +2 -0
  2112. package/plugins/models/actions/test.js +44 -0
  2113. package/plugins/models/actions/transcribe.d.ts +1 -0
  2114. package/plugins/models/actions/transcribe.js +27 -0
  2115. package/plugins/models/adapters/embeddings/hash.d.ts +7 -0
  2116. package/plugins/models/adapters/embeddings/hash.js +24 -0
  2117. package/plugins/models/adapters/embeddings/openai.d.ts +2 -0
  2118. package/plugins/models/adapters/embeddings/openai.js +21 -0
  2119. package/plugins/models/adapters/image/fake.d.ts +6 -0
  2120. package/plugins/models/adapters/image/fake.js +8 -0
  2121. package/plugins/models/adapters/image/gemini.d.ts +2 -0
  2122. package/plugins/models/adapters/image/gemini.js +111 -0
  2123. package/plugins/models/adapters/image/openai.d.ts +2 -0
  2124. package/plugins/models/adapters/image/openai.js +69 -0
  2125. package/plugins/models/adapters/llm/anthropic.d.ts +12 -0
  2126. package/plugins/models/adapters/llm/anthropic.js +237 -0
  2127. package/plugins/models/adapters/llm/fake.d.ts +10 -0
  2128. package/plugins/models/adapters/llm/fake.js +30 -0
  2129. package/plugins/models/adapters/llm/gemini.d.ts +18 -0
  2130. package/plugins/models/adapters/llm/gemini.js +218 -0
  2131. package/plugins/models/adapters/llm/openai-compatible.d.ts +9 -0
  2132. package/plugins/models/adapters/llm/openai-compatible.js +147 -0
  2133. package/plugins/models/adapters/llm/openai.d.ts +2 -0
  2134. package/plugins/models/adapters/llm/openai.js +268 -0
  2135. package/plugins/models/adapters/transcription/fake.d.ts +3 -0
  2136. package/plugins/models/adapters/transcription/fake.js +3 -0
  2137. package/plugins/models/adapters/transcription/openai.d.ts +2 -0
  2138. package/plugins/models/adapters/transcription/openai.js +44 -0
  2139. package/plugins/models/collections/image.d.ts +89 -0
  2140. package/plugins/models/collections/image.js +27 -0
  2141. package/plugins/models/contract.d.ts +65 -0
  2142. package/plugins/models/contract.js +2 -0
  2143. package/plugins/models/mod.d.ts +66 -0
  2144. package/plugins/models/mod.js +126 -0
  2145. package/plugins/models/resources/providers.d.ts +15 -0
  2146. package/plugins/models/resources/providers.js +9 -0
  2147. package/plugins/models/shared/catalog.json +12418 -0
  2148. package/plugins/models/shared/choice.d.ts +192 -0
  2149. package/plugins/models/shared/choice.js +163 -0
  2150. package/plugins/models/shared/embed.d.ts +46 -0
  2151. package/plugins/models/shared/embed.js +51 -0
  2152. package/plugins/models/shared/files.d.ts +18 -0
  2153. package/plugins/models/shared/files.js +47 -0
  2154. package/plugins/models/shared/generate.d.ts +53 -0
  2155. package/plugins/models/shared/generate.js +269 -0
  2156. package/plugins/models/shared/image.d.ts +110 -0
  2157. package/plugins/models/shared/image.js +172 -0
  2158. package/plugins/models/shared/plans.d.ts +32 -0
  2159. package/plugins/models/shared/plans.js +64 -0
  2160. package/plugins/models/shared/provider.d.ts +71 -0
  2161. package/plugins/models/shared/provider.js +87 -0
  2162. package/plugins/models/shared/request.d.ts +58 -0
  2163. package/plugins/models/shared/request.js +19 -0
  2164. package/plugins/models/shared/retry.d.ts +29 -0
  2165. package/plugins/models/shared/retry.js +90 -0
  2166. package/plugins/models/shared/telemetry.d.ts +18 -0
  2167. package/plugins/models/shared/telemetry.js +66 -0
  2168. package/plugins/models/shared/transcribe.d.ts +51 -0
  2169. package/plugins/models/shared/transcribe.js +54 -0
  2170. package/plugins/models/shared/types.d.ts +147 -0
  2171. package/plugins/models/shared/types.js +11 -0
  2172. package/plugins/models/shared/use.d.ts +75 -0
  2173. package/plugins/models/shared/use.js +92 -0
  2174. package/runtime/action-input.d.ts +10 -0
  2175. package/runtime/action-input.js +4 -0
  2176. package/runtime/actor.d.ts +122 -0
  2177. package/runtime/actor.js +139 -0
  2178. package/runtime/address.d.ts +11 -0
  2179. package/runtime/address.js +48 -0
  2180. package/runtime/aggregate.d.ts +57 -0
  2181. package/runtime/aggregate.js +202 -0
  2182. package/runtime/api.d.ts +49 -0
  2183. package/runtime/api.js +719 -0
  2184. package/runtime/blobs.d.ts +45 -0
  2185. package/runtime/blobs.js +114 -0
  2186. package/runtime/body.d.ts +16 -0
  2187. package/runtime/body.js +57 -0
  2188. package/runtime/browsers.d.ts +208 -0
  2189. package/runtime/browsers.js +539 -0
  2190. package/runtime/cache.d.ts +24 -0
  2191. package/runtime/cache.js +243 -0
  2192. package/runtime/call-ids.d.ts +8 -0
  2193. package/runtime/call-ids.js +36 -0
  2194. package/runtime/caller.d.ts +105 -0
  2195. package/runtime/caller.js +225 -0
  2196. package/runtime/client.d.ts +203 -0
  2197. package/runtime/client.js +561 -0
  2198. package/runtime/collection.d.ts +125 -0
  2199. package/runtime/collection.js +94 -0
  2200. package/runtime/cookies.d.ts +72 -0
  2201. package/runtime/cookies.js +125 -0
  2202. package/runtime/define.d.ts +784 -0
  2203. package/runtime/define.js +18 -0
  2204. package/runtime/describe.d.ts +331 -0
  2205. package/runtime/describe.js +610 -0
  2206. package/runtime/errors.d.ts +65 -0
  2207. package/runtime/errors.js +41 -0
  2208. package/runtime/executor.d.ts +24 -0
  2209. package/runtime/executor.js +918 -0
  2210. package/runtime/expiring.d.ts +23 -0
  2211. package/runtime/expiring.js +64 -0
  2212. package/runtime/fetch.d.ts +118 -0
  2213. package/runtime/fetch.js +442 -0
  2214. package/runtime/kept.d.ts +22 -0
  2215. package/runtime/kept.js +128 -0
  2216. package/runtime/legacy-env.d.ts +25 -0
  2217. package/runtime/legacy-env.js +35 -0
  2218. package/runtime/links.d.ts +65 -0
  2219. package/runtime/links.js +110 -0
  2220. package/runtime/maintain.d.ts +89 -0
  2221. package/runtime/maintain.js +120 -0
  2222. package/runtime/memory.d.ts +2 -0
  2223. package/runtime/memory.js +328 -0
  2224. package/runtime/metrics.d.ts +83 -0
  2225. package/runtime/metrics.js +167 -0
  2226. package/runtime/mod.d.ts +32 -0
  2227. package/runtime/mod.js +21 -0
  2228. package/runtime/mongo.d.ts +75 -0
  2229. package/runtime/mongo.js +482 -0
  2230. package/runtime/names.d.ts +14 -0
  2231. package/runtime/names.js +1 -0
  2232. package/runtime/observe.d.ts +66 -0
  2233. package/runtime/observe.js +463 -0
  2234. package/runtime/ops.d.ts +187 -0
  2235. package/runtime/ops.js +304 -0
  2236. package/runtime/owner.d.ts +248 -0
  2237. package/runtime/owner.js +2300 -0
  2238. package/runtime/pattern.d.ts +44 -0
  2239. package/runtime/pattern.js +476 -0
  2240. package/runtime/presence.d.ts +18 -0
  2241. package/runtime/presence.js +25 -0
  2242. package/runtime/reads.d.ts +31 -0
  2243. package/runtime/reads.js +87 -0
  2244. package/runtime/registry.d.ts +131 -0
  2245. package/runtime/registry.js +464 -0
  2246. package/runtime/rest.d.ts +10 -0
  2247. package/runtime/rest.js +247 -0
  2248. package/runtime/routes.d.ts +51 -0
  2249. package/runtime/routes.js +79 -0
  2250. package/runtime/runtime.d.ts +52 -0
  2251. package/runtime/runtime.js +59 -0
  2252. package/runtime/runtimes.d.ts +62 -0
  2253. package/runtime/runtimes.js +95 -0
  2254. package/runtime/schedules.d.ts +161 -0
  2255. package/runtime/schedules.js +156 -0
  2256. package/runtime/site.d.ts +61 -0
  2257. package/runtime/site.js +188 -0
  2258. package/runtime/store.d.ts +300 -0
  2259. package/runtime/store.js +27 -0
  2260. package/runtime/tickets.d.ts +15 -0
  2261. package/runtime/tickets.js +65 -0
  2262. package/runtime/timers.d.ts +44 -0
  2263. package/runtime/timers.js +308 -0
  2264. package/runtime/updates.d.ts +16 -0
  2265. package/runtime/updates.js +222 -0
  2266. package/runtime/views.d.ts +37 -0
  2267. package/runtime/views.js +105 -0
  2268. package/runtime/wire.d.ts +145 -0
  2269. package/runtime/wire.js +113 -0
  2270. package/stores/blobs/files/mod.d.ts +4 -0
  2271. package/stores/blobs/files/mod.js +39 -0
  2272. package/stores/blobs/gcs/mod.d.ts +30 -0
  2273. package/stores/blobs/gcs/mod.js +106 -0
  2274. package/stores/blobs/http/mod.d.ts +15 -0
  2275. package/stores/blobs/http/mod.js +33 -0
  2276. package/stores/latency/mod.d.ts +7 -0
  2277. package/stores/latency/mod.js +46 -0
  2278. package/stores/memory/mod.d.ts +7 -0
  2279. package/stores/memory/mod.js +7 -0
  2280. package/stores/sql/postgres/dialect.d.ts +13 -0
  2281. package/stores/sql/postgres/dialect.js +108 -0
  2282. package/stores/sql/postgres/layout.d.ts +53 -0
  2283. package/stores/sql/postgres/layout.js +241 -0
  2284. package/stores/sql/postgres/lease.d.ts +30 -0
  2285. package/stores/sql/postgres/lease.js +142 -0
  2286. package/stores/sql/postgres/legacy.d.ts +47 -0
  2287. package/stores/sql/postgres/legacy.js +108 -0
  2288. package/stores/sql/postgres/maintenance.d.ts +32 -0
  2289. package/stores/sql/postgres/maintenance.js +325 -0
  2290. package/stores/sql/postgres/mod.d.ts +73 -0
  2291. package/stores/sql/postgres/mod.js +1300 -0
  2292. package/stores/sql/postgres/pattern.d.ts +10 -0
  2293. package/stores/sql/postgres/pattern.js +70 -0
  2294. package/stores/sql/postgres/pool.d.ts +35 -0
  2295. package/stores/sql/postgres/pool.js +47 -0
  2296. package/stores/sql/postgres/tenants.d.ts +60 -0
  2297. package/stores/sql/postgres/tenants.js +309 -0
  2298. package/stores/sql/postgres/update.d.ts +13 -0
  2299. package/stores/sql/postgres/update.js +71 -0
  2300. package/stores/sql/shared/aggregate.d.ts +32 -0
  2301. package/stores/sql/shared/aggregate.js +80 -0
  2302. package/stores/sql/shared/capped.d.ts +2 -0
  2303. package/stores/sql/shared/capped.js +22 -0
  2304. package/stores/sql/shared/filter.d.ts +84 -0
  2305. package/stores/sql/shared/filter.js +153 -0
  2306. package/stores/sql/shared/rows.d.ts +14 -0
  2307. package/stores/sql/shared/rows.js +29 -0
  2308. package/stores/sql/shared/statement.d.ts +12 -0
  2309. package/stores/sql/shared/statement.js +244 -0
  2310. package/stores/sql/sqlite/apart.d.ts +11 -0
  2311. package/stores/sql/sqlite/apart.js +219 -0
  2312. package/stores/sql/sqlite/dialect.d.ts +17 -0
  2313. package/stores/sql/sqlite/dialect.js +119 -0
  2314. package/stores/sql/sqlite/mod.d.ts +78 -0
  2315. package/stores/sql/sqlite/mod.js +713 -0
  2316. package/testing/boundaries.d.ts +10 -0
  2317. package/testing/boundaries.js +72 -0
  2318. package/testing/mod.d.ts +81 -0
  2319. package/testing/mod.js +225 -0
  2320. package/testing/words.d.ts +18 -0
  2321. package/testing/words.js +60 -0
  2322. package/index.js +0 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,4322 @@
1
+ ## 1.0.0-rc.81 — 2026-12-03
2
+
3
+ ### Added
4
+
5
+ - **The sign-in page links the app's terms and privacy policy.** `signInPage.legal`
6
+ `{ terms?, privacy? }` (URLs) puts a line under the ways in, "By continuing, you agree to the
7
+ Terms of service and Privacy policy", each a link (in a tab of its own), as Google's review of an
8
+ app's OAuth sign-in asks. Its words are the app's (`legal`, `legalTerms`, `legalPrivacy`, `terms`,
9
+ `privacy`; in pt-BR in `ptBR`). Without it, nothing shows.
10
+
11
+ ### Changed
12
+
13
+ - **Copilotz is now Pairz.** The package is `pairz` on npm and `@pairz/pairz` on JSR, the product
14
+ packages `@pairz/work`, `@pairz/team`, `@pairz/billing` and `@pairz/directory`, the CLI `pairz`
15
+ (`pairz init`, `pairz gen`), and the agent skill and plugin `pairz`. The website is
16
+ https://pairz.ai, Compass is at https://compass.pairz.ai, previews are on `pairz.dev` and
17
+ published apps on `pairz.app`. The default theme draws the new logo.
18
+ - **Your imports keep working.** `copilotz` and `@copilotz/*` keep working through 1.x: each is now
19
+ a re-export of its new package at the same version (deprecated, gone in 2.0), with every entry
20
+ point and `COPILOTZ_ABOUT` (now `PAIRZ_ABOUT`) as before. The `copilotz` command runs `pairz`, and
21
+ in an app that depends on `copilotz`, gen writes `copilotz` as it did, so `copilotz gen --check`
22
+ passes as it is.
23
+ - **Environment variables are `PAIRZ_*`.** Each `COPILOTZ_*` the code reads is read as `PAIRZ_*`
24
+ first, then under its old name through 1.x, with one warning naming the new one: the computer
25
+ program's `PAIRZ_CHROMIUM`, `PAIRZ_BROWSER_WINDOWS`, `PAIRZ_SEARCH_URL`, `PAIRZ_COMPUTER_STATE`,
26
+ `PAIRZ_POOL_TOKEN` and `PAIRZ_BROWSER_DEBUG` (its installed service carries both names), the
27
+ examples' `PAIRZ_EXECUTOR_KEY` and `PAIRZ_TRACE_SQL`, and the suite's `PAIRZ_TEST_POSTGRES_URL`,
28
+ `PAIRZ_LIVE` and `PAIRZ_TEST_*`. The API snippet's key is `$PAIRZ_KEY`.
29
+ - **Moving to the new name**, when you like:
30
+ 1. `npm uninstall copilotz @copilotz/<name>` and `npm install pairz @pairz/<name>` (on Deno, map
31
+ `"pairz": "jsr:@pairz/pairz@^<version>"` and `@pairz/<name>` in `deno.json`).
32
+ 2. In your code, `copilotz` becomes `pairz` and `@copilotz/` becomes `@pairz/`, in imports and
33
+ `declare module`; `COPILOTZ_ABOUT` becomes `PAIRZ_ABOUT`.
34
+ 3. Rename the `COPILOTZ_*` variables you set to `PAIRZ_*`.
35
+ 4. The generated files: in `package.json` (or `deno.json`), `"#copilotz/*": "./.copilotz/build/*"`
36
+ becomes `"#pairz/*": "./.pairz/build/*"`, and your imports of `#copilotz/plugins/…` say
37
+ `#pairz/plugins/…`; in `.gitignore`, `tsconfig.json`'s `include` and your linters' ignores,
38
+ `.copilotz/` becomes `.pairz/` and `copilotz-env.d.ts` becomes `pairz-env.d.ts`. Delete
39
+ `.copilotz/` and `copilotz-env.d.ts`, run `pairz gen`, and commit what it writes. Until you do,
40
+ gen writes where your app maps it (`.copilotz/build`, `copilotz-env.d.ts`), importing the
41
+ package your app names. Scripts that say `copilotz gen` say `pairz gen`.
42
+ - **New names for new things; what's there keeps working.** What's stored or installed takes a
43
+ neutral name, neither the old one nor the new, so a later rename never touches it; everything else
44
+ says Pairz. What a release before 1.0 left moves where that's safe, and where moving could lose
45
+ data or break what's installed, it stays where it is and is used there.
46
+ - **What 1.0 does on its first start** (nothing to do):
47
+ - **PostgreSQL.** The lease's table `copilotz_lease` becomes `runtime_lease`. A deploy's new
48
+ process takes the lease in the old table first (the old process hands over, as ever), and moves
49
+ it only once it holds it; a view named `copilotz_lease` stays, so a process of an older release
50
+ started later (the platform restarting the old revision, a rollback) waits on the same lease
51
+ instead of taking one of its own. Keep that view until no release before 1.0 can start, then
52
+ drop it (`DROP VIEW copilotz_lease`); and never run a release before 1.0 on a database 1.0 made
53
+ (it has no view). The default schema is `app` for a new database; a store in `copilotz`, the
54
+ default before 1.0, is used where it is, and the app says so once. To move it, stop the app, run
55
+ `ALTER SCHEMA copilotz RENAME TO app`, and start it again. A schema you name is only ever that
56
+ one. The tenant setting the views read is `runtime.tenant` (`SET runtime.tenant = 'org_1'` in
57
+ `psql`), and the views are made again with it. SQLite's `$regex` function is `runtime_regex`.
58
+ - **Signed links and sealed secrets.** The keys derived from the app's secret now take the salt
59
+ `links`, and accounts' tokens and spaces' secrets the info `accounts v1` and `environment v1`.
60
+ What was signed or sealed before still opens, until 2.0: links, web visitors' secrets (each the
61
+ contact it was), MCP conversations (their contact and chat), invitations and sign-in codes,
62
+ tokens and secrets. Sealed values are sealed anew the next time they're written; nothing is
63
+ rewritten. `secretsOf` gives each of the app's secrets again, marked for `keyOf`, after its own:
64
+ use them with `keyOf` only. A web visitor's chat starts over, as after a change of the app's
65
+ secret, and every MCP call now looks up which of its conversation's ids is there. Rolling back
66
+ to a release before 1.0 after 1.0 has run loses what 1.0 sealed anew (tokens it renewed, secrets
67
+ changed) and what it signed (links, visitors' cookies): those can't be read by the older one.
68
+ - **Computers.** On its next start (an update starts it again), the program moves its state from
69
+ `~/.config/copilotz` to `~/.config/computer` (`%LOCALAPPDATA%\Copilotz` to
70
+ `%LOCALAPPDATA%\Computer`; if it can't, it's used where it is), itself from `~/.copilotz/bin` to
71
+ `~/.computer/bin` with the PATH its installer set, and, as it runs, its service:
72
+ `local.computer` (launchd), `computer.service` (systemd) and the task `Computer` are installed,
73
+ then `com.copilotz.computer`, `copilotz-computer.service` and `Copilotz computer` go. It stays
74
+ the same computer, with no new code; a step that fails is said and tried again next time. Its
75
+ spaces' folders stay where they are (`~/Copilotz/<org>`: they may hold absolute paths), and so
76
+ does each one's own folder (`.copilotz`: agents' CLIs keep their sign-ins by its path); new ones
77
+ are under `~/Computer` and `.computer`. Its binaries are `computer-<os>-<arch>`: a pool VM's
78
+ startup script that downloads `copilotz-computer-linux-<arch>` from a release's manifest asks
79
+ for `computer-linux-<arch>` from 1.0 (a VM on an older release updates itself from the app as
80
+ before, and a cloud computer's disk keeps its folder). Its MCP server, as agents' CLIs see it,
81
+ is `pairz` (`mcp__pairz__…`).
82
+ - **Browsers.** Local storage under the old prefix (documents' unsent drafts, panels, the last
83
+ chat of each space, a terminal's history) is read under the new one, and the service worker's
84
+ old caches go. Cookies never had the name: nobody is signed out.
85
+ - **What an app changes, if it uses it:**
86
+ - **CSS** that targets the toolkit's classes or variables: `.copilotz-*` is `.pairz-*`,
87
+ `--copilotz-*` is `--pairz-*`, the layers `copilotz-base` and `copilotz-toolkit` are
88
+ `pairz-base` and `pairz-toolkit`, and `<style precedence="copilotz">` is `precedence="pairz"`.
89
+ - **Routes, files and headers.** `/__copilotz/…` is `/__pairz/…` (`/__pairz/hosts/resolve`,
90
+ `/__pairz/previews/grant`, `/__pairz/grant`), the host's files under `/assets/copilotz/` are
91
+ under `/assets/pairz/`, and a front vouches for requests with `x-pairz-front`. Through 1.x the
92
+ app also takes `x-copilotz-front` and answers `/__copilotz/hosts/resolve`, and never passes
93
+ either header on (to a preview's server). So a front (a Cloudflare worker) moves after the app:
94
+ deploy the app on 1.0 with the front as it is, then switch the front to `x-pairz-front` and
95
+ `/__pairz/hosts/resolve`. Never send `x-pairz-front` to a release before 1.0: it passes that
96
+ header on to the servers previews reach. A front that ever sent both headers to one should
97
+ change its secret.
98
+ - **Dashboards and alerts.** Metrics are `pairz.*` (`pairz.job.duration`; Prometheus's
99
+ `pairz_job_duration`, `pairz_events_total`), and the OTLP scope is `pairz`.
100
+ - **MCP.** The widgets' read tool is `pairz_read`, and the widget's `_meta` keys `pairz/*`; an
101
+ assistant that kept the tools' list sees the new name once it lists them again.
102
+ - **The maintenance role** the docs make is `runtime_maintenance`, on schema `app`; one made
103
+ before keeps working as it is.
104
+ - **Agents' plugin and skill.** One installed under the old name (Claude Code's
105
+ `copilotz@copilotz`, Gemini's or Codex's `copilotz` extension, the skill from
106
+ `copilotzhq/copilotz`) stays as it is: uninstall it, and install `pairz` from `pairzhq/pairz`
107
+ (README, "For coding agents").
108
+ - The web tools' user agent is `PairzBot` alone. The repository is github.com/pairzhq/pairz, and
109
+ the license's holder "Pairz Contributors".
110
+ - **An app whose computer program release can't be read starts all the same.** `computerDownloads()`
111
+ at a URL it can't read (GitHub down, a release missing) used to fail the app's start; it says so,
112
+ and the app offers no download or update until it starts again.
113
+
114
+ ### Fixed
115
+
116
+ - **What's typed in a page's fields is taken, however the app's modules were loaded.** React's DOM
117
+ client decides once, as it loads, whether the page's input events can be listened to. The web host
118
+ and the widget imported it as they were themselves imported, so a process that imported them
119
+ before there was a DOM (a server's module graph, a test before its page) never saw typing in a
120
+ text field afterwards. They now load it as they draw, in the page; in a browser nothing else
121
+ changes.
122
+
123
+ ## 1.0.0-rc.80 — 2026-12-02
124
+
125
+ ### Fixed
126
+
127
+ - **A page comes back on its own after its connection drops.** A network blip, a laptop waking, a
128
+ tab left in the background or the app restarting could leave a page cut off for half a minute or
129
+ more after it could connect again, with what it showed failing meanwhile. Three causes:
130
+ - **It tried again up to 30 s apart** (Oxian's default backoff). The client now tries again soon,
131
+ then at most 5 s apart, and at once when the browser says it's back online or its tab is shown
132
+ again. What failed meanwhile shows again by itself, as before, once it's back.
133
+ - **A ticket it couldn't get failed the page.** When the page needed a new ticket from
134
+ `POST /connect` and the network was down, or the server busy or restarting (5xx, 429, 408), the
135
+ page's first connection failed, or a later one waited for the next try. The web host now asks
136
+ again (soon, then up to 5 s apart, at once when back online) until it has one, or hears the
137
+ browser is nobody (401). Any other refusal is said, as before.
138
+ - **A tab in the background was cut every minute or two** (`4403 lease_expired`). Chrome runs a
139
+ hidden tab's timers about once a minute, so its heartbeats came later than the owner's 30 s
140
+ lease allowed. The owner's lease is now 3 minutes, for every worker's connection: one lost
141
+ without a close (a network gone, a laptop shut) is let go that much later, a computer's too.
142
+
143
+ ## 1.0.0-rc.79
144
+
145
+ ### Added
146
+
147
+ - **Who a message goes to, in the composer.** Beside the clip, a small chip shows who what's typed
148
+ goes to, by the rule `chat.send` follows: the agents it mentions; else the agent waiting on an
149
+ answer from you (with ↩); else the chat's own agent (a new chat's: who answers new chats). A tap
150
+ starts an `@name` and opens the agent list. On a narrow box the name shortens, then only the
151
+ avatar shows. `Composer` takes `usual` and `asking` for it; the conversation and home pass them.
152
+ - **Mentions look like mentions.** Each `@name` naming an agent here is marked in the box as you
153
+ type (a layer behind the text; typing, pasting and the phone keyboard are unchanged), and
154
+ Backspace right after one takes it whole, as in Slack.
155
+
156
+ ## 1.0.0-rc.78
157
+
158
+ ### Fixed
159
+
160
+ - **OpenAI (Responses) prompt cache.** Calls to GPT-6.2 models, ChatGPT's plan above all, reused
161
+ little of their cache (10–26% in production). Two causes, both fixed in the Responses adapter:
162
+ - The instructions now open the input as a developer message, inside the cached prefix. From
163
+ GPT-6.2, top-level `instructions` come after the input and are billed uncached on every call. A
164
+ server that refuses them there is sent them top-level, from then on.
165
+ - Each agent's calls in a thread share a `prompt_cache_key` (a hash of thread and agent), sent too
166
+ as the `session-id` header, which ChatGPT's Codex backend routes its cache by (as Codex does). A
167
+ server that refuses the key isn't sent it again.
168
+
169
+ ## 1.0.0-rc.77 — 2026-11-29
170
+
171
+ - **An agent that asks without waiting gets the answer.** When an agent sent a message to another
172
+ agent with `waitForReply: false`, the other agent's answer was addressed to nobody, so the asker
173
+ never heard back and its turn never resumed. Now the answer goes back to the asker and starts its
174
+ next turn, so an agent can work on other things in parallel and pick the answer up when it comes.
175
+ An agent's answer to an answer still goes back to nobody, so two agents can't keep answering each
176
+ other (`maxHops` is off by default). The `send_message` description says so. Found in Compass: 32
177
+ of 35 agent-to-agent asks in one channel had been sent without waiting.
178
+
179
+ ## 1.0.0-rc.76 — 2026-11-29
180
+
181
+ - **Images reach plan engines on a fresh session.** When a plan session (Claude Code, Codex, Cursor,
182
+ Antigravity) started fresh, only the last user message counted as new, and that is usually the
183
+ turn's `<context>` message, so the person's message before it went into the text history and its
184
+ image was dropped. The whole trailing run of user messages now counts as new, so images go as
185
+ image blocks. Found testing an image sent to an agent on Cursor in Compass.
186
+
187
+ ## 1.0.0-rc.75 — 2026-11-29
188
+
189
+ Threads: two fixes found testing rc.74 on a phone.
190
+
191
+ - **A thread opened on its own shows each reply once.** `message.conversation` added the replies of
192
+ the subthreads hanging from messages in its lineage, and a subthread's lineage holds the message
193
+ it hangs from, so its own replies came twice. It skips the thread itself and never returns a
194
+ message twice.
195
+ - **A thread an agent opens with a person is answered.** `send_message` with `in: "subthread"` to a
196
+ person made the thread with no agent, so what the person replied there went to nobody. The agent
197
+ who asked is now in it. A reply in such a thread made before (no agents) goes to whoever wrote the
198
+ message it hangs from, so existing threads work without migration.
199
+
200
+ ## 1.0.0-rc.74 — 2026-11-29
201
+
202
+ ### Threads under a message, like Slack's
203
+
204
+ Built on the records subthreads already had (`message.subthread`, a thread's `parent` and `fork`):
205
+ no data migration. Apps that don't opt in see no change.
206
+
207
+ - **Folded replies:** with `threads.replies: "folded"` (set by `chatChannels`), a subthread's
208
+ messages leave the channel's timeline. The message it hangs from shows "N replies · who · when",
209
+ and "writing…" while an agent answers there.
210
+ - **Opened beside:** tapping that opens the thread next to the channel on desktop, full screen on a
211
+ phone (the panel staff notes use), with its own composer. Opened as a page (a notification's tap),
212
+ it says which channel it's in and links back.
213
+ - **Reply in thread** on every message of a channel. The first reply makes the thread
214
+ (`<message>:sub`, a fork of the channel at that message, in its space); if the message is an
215
+ agent's, that agent answers there, else the channel's agents.
216
+ - **Also send to #channel:** a box in the thread's composer (off by default) also says the reply in
217
+ the channel, marked "Replied in a thread", to nobody there, so no agent answers it twice.
218
+ - **Server:** `chat.send { under, also }`; `message.also`; `message.conversation { folded }`. Who
219
+ may reply under a message is who writes in its space; contacts can't.
220
+ - **Context, unchanged:** agents in the channel see the ask and replies addressed to them, not the
221
+ thread's back-and-forth; the thread sees the channel up to the message it hangs from.
222
+ - **Known gap:** two people sending the very first reply under one message at the same instant: one
223
+ gets an error and sends again.
224
+
225
+ ## 1.0.0-rc.73 — 2026-11-29
226
+
227
+ ### Channels: a space's threads as Slack-like channels, by configuration
228
+
229
+ Same threads, same memory, agents and notifications; only how they're shown and started changes.
230
+ Apps that don't opt in see no change: chats stay as they were.
231
+
232
+ - **`chatChannels` (and `chatChannelsPtBR`)**, from `copilotz/web`: add it to the front end and a
233
+ space's threads are channels: named, few, long-lived. No "New chat" (sidebar, rail, headers,
234
+ palette); each space lists its channels by name, its starter ("general") first, with **Add
235
+ channel** in the list, the space's header and the palette. Adding a name that's there opens it.
236
+ - **Landing:** opening a space goes to the last channel opened there on this device, else the most
237
+ recently active, else the starter, made on first open. Back doesn't bounce
238
+ (`go(path, { replace })`).
239
+ - **Other conversations:** routine runs, agents' new threads and older chats are listed apart,
240
+ folded under the channels. Renaming one makes it a channel.
241
+ - **Server:** `thread.channel`, `thread.starter`; `chat.open { channel, starter }` (the starter at a
242
+ fixed id, made once even when two open it together), `chat.rename { channel }`,
243
+ `thread.recent { channel }`. The starter is never archived nor moved.
244
+ - **Agents:** `chat: { channels: true }` tells them to keep side work in subthreads and start a new
245
+ thread only when asked.
246
+ - **Settings**, for apps that want their own mix: the page resource
247
+ `threads: { create: "header" | "list" | "none", named, landing: "new" | "last", starter }`.
248
+ - **Permissions:** as for chats. Who may write in a space adds and renames channels; readers and
249
+ contacts can't, and contacts don't list them.
250
+
251
+ ## 1.0.0-rc.72 — 2026-11-28
252
+
253
+ An agent's message to a person in its own chat no longer pauses its turn: it's word while the agent
254
+ works, and the agent stops for their answer only when it says so. People are named by their names.
255
+
256
+ **Changes:**
257
+
258
+ - **`send_message` to a person in the same chat goes on.** It's said at once and the turn continues;
259
+ until now every message waited for a reply unless the agent remembered `expectReply: false`, so a
260
+ progress update could stop an agent until the person came back. To stop until they answer, the
261
+ agent sets `waitForReply: true` (or asks in its answer, which ends its turn, as before). To an
262
+ agent, or anywhere else (a subthread, a new thread, another chat or space), it still waits unless
263
+ told not to. Permission requests (approvals) are unchanged: they always wait.
264
+ - **`waitForReply`** is the option's name now; `expectReply`, its old name, still works. The stored
265
+ message field stays `expectReply`.
266
+ - **People by name.** The tool lists the people in the chat by their names (an id only for someone
267
+ without one, or beside a name two people share), and takes a person by name, in any spacing or
268
+ case, with or without `@`, or by id. Left out, `to` is the one person in the chat; with more than
269
+ one, the agent is told to say who it's for (until now: `nobody called ""`).
270
+
271
+ ## 1.0.0-rc.71 — 2026-11-27
272
+
273
+ Push notifications, in the library: a person turns them on per device, and is told when something
274
+ waits on them (an agent asks for their yes, a message is to them) while no tab of theirs shows the
275
+ app. Off in every app until it's given a VAPID key pair.
276
+
277
+ **New:**
278
+
279
+ - **The `push` plugin** (`copilotz/plugins/interfaces`; `pushWeb` from
280
+ `copilotz/plugins/interfaces/web`). Each device's subscription is its person's alone, changed only
281
+ through `push.subscribe` and `push.unsubscribe`; its endpoint and keys are private. `push.send`
282
+ `{ person, notice }`, for the app's own code only, encrypts for each device (RFC 8291,
283
+ `aes128gcm`) and signs with the app's key (RFC 8292 VAPID), on WebCrypto alone (Deno, Node, Bun);
284
+ a device its push service says is gone (404, 410) is forgotten. Its settings, `resources.push`:
285
+ `publicKey`, `privateKey` (make a pair once with `vapidKeys()`, and keep it: a new pair breaks
286
+ every subscription) and `contact` (`mailto:` or `https://`). Without a pair, push is off.
287
+ - **When it notifies:** an `approval` a person answers ("<agent> asks for your yes", with what it
288
+ would do), and a message whose `to` names them (an agent's reply in a chat they left, a person
289
+ writing to them, a mention): the sender's name and its first words; a tap opens the chat, and one
290
+ from the same chat replaces the last. Never their own message, an agent's private step, anything
291
+ over five minutes old, or while a tab of theirs shows the app: each signed-in tab says so
292
+ (`push.looking`, `reportLooking`) as it shows and hides.
293
+ - **The service worker** shows each push and, on a tap, focuses the app's window and moves it to the
294
+ notice's page (same-origin only), or opens one.
295
+ - **Notifications**, in the person's menu: this device's switch, why it can't be on (blocked, not
296
+ installed on an iPhone's Home Screen, unsupported, not set up), and their other devices to turn
297
+ off. English and Portuguese.
298
+ - The `bell` icon.
299
+
300
+ ## 1.0.0-rc.70 — 2026-11-26
301
+
302
+ A hotfix on rc.69: on a phone, the composer's tier picker no longer pushes the mic and send buttons
303
+ out of the box, and a person's images reach the plan engines that read them instead of being
304
+ dropped.
305
+
306
+ **Fixes:**
307
+
308
+ - **The composer keeps attach, mic and send.** Its row gives way instead: the controls beside send
309
+ may shrink (`min-width: 0`), and the tier picker shortens with an ellipsis. In a narrow composer
310
+ (under 520px of its own width, a phone or a side panel; `.chat-box` is now the `chat-box`
311
+ container) the picker shows the tier's name without its price.
312
+ - **A plan engine gets a message's images.** The `engine` model adapter takes images
313
+ (`media:
314
+ ["image"]`) and sends them as ACP image blocks beside the words, to Claude Code, Codex,
315
+ Antigravity (`agy acp`) and Cursor, whose runner now passes them to the SDK
316
+ (`send({ text, images })`) and says it takes them (`promptCapabilities.image`). Grok runs
317
+ `grok -p`, which takes words only: its images are named and left out ("… isn't shown: this model
318
+ can't read image files"), as before. Until now every plan engine was told that.
319
+
320
+ **New:**
321
+
322
+ - `Menu`'s `text` may be any node, not only a string (a string reads as before).
323
+
324
+ ## 1.0.0-rc.69 — 2026-11-26
325
+
326
+ A Processor can act on its own authority, as a named grant, and a new one can start at the log's end
327
+ instead of replaying it. The runtime refuses code going beyond its actor in its own words, and the
328
+ access plugin keeps its people-facing ones.
329
+
330
+ **Breaking:**
331
+
332
+ - **`labels.elevate` may answer a string,** what the code would go beyond, which refuses it in those
333
+ words (`"<action>" goes beyond <string>`). `true` still lets it go on and `false` refuses it, now
334
+ as going beyond "what the actor it acts for may do". Only `true` is a yes. The access plugin
335
+ answers "what everyone in this conversation may see", so its refusals read as before.
336
+ - **`copilotz.elevated.ops` also counts ops made as a named grant acting for nobody,** under that
337
+ grant: a Processor's `as`, and a grant the system's own work takes (an Action with `as` called by
338
+ a declared schedule).
339
+
340
+ **New:**
341
+
342
+ - **A Processor's `as: "<grant>"`.** It runs as `{ kind: "system", id: "<grant>", in }` instead of
343
+ as the event's actor: for nobody (no `via`), where the event was. The owner holds its deliveries
344
+ to that grant. Its writes and calls are on the record as the grant, each caused by the event it
345
+ handled, and code going beyond from it asks the labels nothing (it goes beyond no one). It reads
346
+ as the grant; `ctx.as(event.actor)` reads as whoever acted. A name that isn't one fails at
347
+ startup, as an Action's does. This is for what an app's own rules do when an event comes,
348
+ whoever's event it is: a Processor that hears an agent's reply in a chat shared with a contact,
349
+ and moves the chat to people, can now call `chat.move` as its grant. Without `as` it runs as the
350
+ agent, and is refused as an agent's tool is: an agent's turn is itself a Processor, so the
351
+ exemption is declared, not every Processor's.
352
+ - **A Processor's `start: "now"`.** With no saved position, it starts at the log's end instead of
353
+ its first event, and that position is saved before anything is delivered: a crash before its first
354
+ delivery doesn't move it later. A saved position is never moved, so after downtime it still gets
355
+ what it missed (at least once): an effect that mustn't come late checks `event.at`. Each store has
356
+ its own end, so in a pool of runtimes each tenant starts at its own, when first opened with it.
357
+ Without `start`, a new Processor starts at the first event, as before.
358
+ - `describe` says a Processor's `as` and `start`.
359
+
360
+ **Docs:**
361
+
362
+ - Renaming a Processor replays the log and runs its nested calls again, since its position and its
363
+ calls' ids are kept by name. To rename one, let it catch up (lag 0), then deploy the new name with
364
+ `start: "now"`. The reference's Processors, the architecture's events and owner pages, and the
365
+ spaces and chat plugins' docs say how `as` and `start` work, and why a Processor's exemption from
366
+ the contact rule is declared.
367
+
368
+ **Known limits:**
369
+
370
+ - **`start: "now"` finds the log's end by reading on from the furthest saved position.** A store
371
+ with a long log and no saved position at all reads all of it once, at the first start with such a
372
+ Processor.
373
+ - **A rename with `start: "now"` skips what the old name hadn't finished** when the new owner took
374
+ the store: let the old one reach lag 0 first.
375
+
376
+ ## 1.0.0-rc.68 — 2026-11-26
377
+
378
+ Each plan says which models it runs, and plans first goes by its list instead of names kept by hand.
379
+ Antigravity, which names its models its own way, now runs them.
380
+
381
+ **Breaking:**
382
+
383
+ - **`computer.connected` answers `{ plan, models }` for a plan with a known list,** and the others
384
+ by name, as before. Code that read its answer as names reads `.plan` for those.
385
+
386
+ **New:**
387
+
388
+ - **A plan says which models it runs.** Antigravity, Grok Build and Cursor list the models the
389
+ person's plan runs, by their own names, when the computer says its plans' status: Antigravity in
390
+ the session its sign-in check starts, Grok Build in `grok models`, Cursor from its SDK. The
391
+ computer's record keeps each list (`engines.<engine>.models`), and `computer.connected` answers
392
+ such a plan as `{ plan, models }`, the others by name as before (`PlansConnected`). The tiers
393
+ plugin keeps the lists: a turn's chain goes as `{ model, harnesses, served }` (`tiers.model` adds
394
+ `served` only where a plan said one), and so do a tier's price for the person looking (`yours`)
395
+ and the model a test of a plan tries. A plan with a list runs a model its list has by the model's
396
+ API name (`gemini-4-neon`), or by that name and the entry's `effort` (`gemini-4-hydrogen-high`),
397
+ the name it's then asked by; with both, the one with the effort first. Its `serves` map isn't
398
+ consulted then; a plan without a list (Claude Code, Codex, ChatGPT) uses its map, as before. The
399
+ model's catalog entry stays the API's, for its prices and limits.
400
+ - **Cursor's hand-copied list is gone.** Until its computer says its list, `cursor-plan` serves
401
+ every maker's models by the same names (`anthropic/*`, `openai/*`, `google/*`, `xai/*`), as
402
+ `gemini-plan` serves Google's. An entry naming `cursor-plan/…` stands for Cursor's own model.
403
+
404
+ **Fixed:**
405
+
406
+ - **Antigravity runs the models it has, by its own names** (rc.67's known limit). It names them with
407
+ the effort in the name and has no Gemini 4 Neon, and rc.66 asked it by Google's API names: each
408
+ turn tried it first among Google's models, it said it doesn't run that one, and the next plan or
409
+ the API answered. A model its list lacks now skips it without asking its computer, and one it
410
+ lists with the entry's effort runs on it.
411
+ - **The connect flow tests a plan on a model it runs.** Its test model was fixed as the flow opened,
412
+ before the plan's sign-in said its list: Antigravity was tested on Google's API name and failed.
413
+ The test now waits until the app's listing shows the plan connected, and runs on the model listed
414
+ there.
415
+
416
+ **Known limits:**
417
+
418
+ - **A plan's name that follows neither rule isn't matched** (`claude-opus-4-6-thinking`: neither the
419
+ API's name nor it with an effort). That model runs there only where a chain names it on the plan
420
+ (`gemini-plan/claude-opus-4-6-thinking`).
421
+ - **A model a plan names only with its effort** (Antigravity's `gemini-4-hydrogen-high`) runs there
422
+ only for an entry that sets an effort it has.
423
+ - **A computer on a program older than rc.68 says no list,** so its plans go by their `serves` maps
424
+ (Antigravity by Google's API names) until it updates.
425
+ - **A connected plan whose list runs none of the tiers' models doesn't show among Your AI's plans.**
426
+ - **Cursor's status asks Cursor's servers for its models,** for up to 10 s.
427
+
428
+ ## 1.0.0-rc.67 — 2026-11-26
429
+
430
+ A fix to rc.66's plans first: a turn whose first plan failed ran on the app's API, though another of
431
+ the person's plans could answer.
432
+
433
+ **Fixed:**
434
+
435
+ - **A turn's next plan runs, instead of getting the first one's failure.** A plan's prompt had the
436
+ same id for every plan and model in a turn, and the computer, which keeps its prompts by id for
437
+ all its plans, handed each next plan the first one's answer: its failure, in a fraction of a
438
+ second. A model one plan didn't run (Antigravity, asked for Gemini 4 Neon) then skipped every plan
439
+ after it, to the API, at the app's cost. A prompt's id now names its plan's engine and its model
440
+ too, so each plan in the turn is asked; a step tried again keeps its id.
441
+
442
+ **Known limits:**
443
+
444
+ - **Antigravity runs no model by its API name yet.** It names its models its own way, with the
445
+ effort in the name (`gemini-4-hydrogen-high`), and rc.66 asks it by Google's. Each turn asks it
446
+ first among Google's models, it says it doesn't run that one, and the next plan or API answers.
447
+ rc.68 asks each plan which models it runs.
448
+
449
+ ## 1.0.0-rc.66 — 2026-11-26
450
+
451
+ Agents run on the plans people already pay for, before the app's API. For each model a tier names, a
452
+ person's connected plans come first, in their own order, and Grok Build and Cursor join Claude Code,
453
+ Codex and Antigravity. A person connects their plans in one flow, with no terminal and a button for
454
+ every failure, from Your AI, which replaces Connected accounts. A tier is priced at what the person
455
+ looking would run, a cloud computer says what it costs, and a call that wakes one says so. Rare
456
+ cases are known limits, listed below, not code.
457
+
458
+ **Breaking:**
459
+
460
+ - **`account.uses` is gone,** with the `accounts.uses` View, the line it drew over the composer
461
+ ("Runs on your ChatGPT Plus plan"), and the types `Uses`, `Use` and `UsesParams` from
462
+ `copilotz/plugins/access`. It read only the first of an agent's own models. The tiers' composer
463
+ line says what a chat's agents run on, and what it costs.
464
+ - **`tiers.model`'s answer** is `{ model, harnesses }` in an app with plans: code that read it as a
465
+ list reads `.model`. An app without plans gets the list, as before.
466
+ - **`/accounts?signin=<engine>` no longer opens a sign-in.** Link
467
+ `/accounts?connect=<plan or provider>`: it opens the connect flow.
468
+
469
+ **New:**
470
+
471
+ - **Plans first, native first.** A tier names models, and each turn runs them on its person's plans
472
+ first: for each model, in the chain's order, every plan of theirs that serves it, in their order;
473
+ then the APIs, as the chain lists them. Each plan serves its own maker's models: Claude Code
474
+ Anthropic's, ChatGPT (on the server, then through Codex) OpenAI's, Grok Build xAI's, Antigravity
475
+ Google's. Someone with only ChatGPT gets `chatgpt/…sol` before Anthropic's API. A plan at its
476
+ limit hands over to the next plan while there is one.
477
+ - **Which models a plan serves** is data on its provider: `harness: { order, serves, plan }`.
478
+ `serves` maps API ids, or a whole provider (`"anthropic/*"`), to the plan's own names, and `plan`
479
+ is the name people know it by ("ChatGPT"). The default order is Claude Code (10), ChatGPT on the
480
+ server (20), Codex (30), Grok Build (40), Antigravity (50). A model list given `harnesses` runs on
481
+ them first; an entry naming a plan (`claude-plan/…`) stands for its model on plans only.
482
+ `models.check` answers what a list would try, in order.
483
+ - **A person's order of their plans.** `tiers.harnesses` `{ harnesses }` sets it, kept on their own
484
+ tier choice: theirs first, the rest after. It ranks the plans that serve one model; the tier's
485
+ model order still comes first. `modelChoice.harnesses` lists the app's plans in their order, each
486
+ with the plan it's on and whether they have it.
487
+ - **Which plans a person has** is asked on each turn, through the `connectedPlans` resource:
488
+ `account.connected` answers for their connected accounts, and `computer.connected` for plans
489
+ signed in on a computer of theirs that's on or wakes (none while nobody's there).
490
+ - **Grok Build: `grok-plan`.** A fourth engine, `grok`, on a person's Grok plan: `grok -p` as only
491
+ the engine (the agent's prompt, none of its tools, no memory, subagents, plan mode or web search),
492
+ the session's MCP server alone, its own `HOME` and `GROK_HOME`, never an xAI key. A prompt that
493
+ offers it tools of its own fails before the model acts. It signs in by device code, reports its
494
+ status with `grok models`, signs out with its own `grok logout` and installs with its official
495
+ installer. It serves xAI's models by their own names, at no cost to the app.
496
+ - **Cursor: `cursor-plan`.** A fifth engine, `cursor`, on a person's Cursor plan, which has no CLI:
497
+ Cursor's SDK (`@cursor/sdk@1.5.0`), installed into the engine's home by Sign in, run with Node by
498
+ a runner the program writes beside it, an ACP agent itself. A session is a Cursor local agent with
499
+ none of Cursor's tools but MCP's, the session's MCP server alone, resumed in a later process. The
500
+ agent's instructions go on top of Cursor's own prompt, as the session folder's one rule
501
+ (`.cursor/rules/agent.mdc`, always applied). Its sign-in is Cursor's (a link, nothing pasted
502
+ back): a user API key kept in its home. It serves the makers' models Cursor runs by the same names
503
+ (Claude, GPT-5.x, Gemini 4, Grok 4.x), last among a person's plans (60), at no cost to the app.
504
+ - **One connect flow.** "Connect your plans" opens for the plans its door picked: a plan's card on
505
+ Your AI (Connect, Fix), the address `/accounts?connect=<plan or provider>` (every fix-it link), or
506
+ a step of the app's welcome, which picks several at once. It asks where the plans run only when
507
+ one runs through an app on a computer and the person has none that can: in the cloud (made in a
508
+ click by a computer kind's `add.quick`), or on this computer (on a desktop browser, saying it
509
+ needs one line in a terminal, once). Then one checklist: the computer readied, then one line per
510
+ plan, one at a time, through its phases: its CLI installed as it signs in, signed in, and a test
511
+ answered on it. Every failure ends in Try again; a laptop that's off also offers a cloud computer.
512
+ A command shows only when an installer failed or can't run (Windows), with its output and the
513
+ computer's Terminal a click away.
514
+ - **`computer.prepare`** `{ computer }` readies one of the person's computers for plans, checking
515
+ each time, never from the record: woken (a cloud computer), its program brought to the app's
516
+ release (a cloud computer is restarted on a new VM through `computerWake`'s new `sleep`; a laptop
517
+ is offered the release and waited for), then what its CLIs are now, kept on the computer field by
518
+ field. It fails `computer_shared` or `offline`, saying why. A finished sign-in says whether its
519
+ CLI is there (`installed`).
520
+ - **`llm.test`** `{ model }` tries one model the person's own plan pays for (a provider tagged
521
+ `paid: "subscription"`), to show it answers there. It never spends the app's key.
522
+ - **Your AI.** The accounts page lists other front ends' sections first, then "Other accounts", then
523
+ the person's own API keys. A section with `plans: true` shows the accounts that pay for models
524
+ among the plans. Computers' front end adds Your plans (a card per plan the app uses: where it runs
525
+ now and its backup, its limit, one action; in the person's order, from the tiers' `planList`) and
526
+ Your computers (each one's state, the plans it runs, its month, its Terminal). In the flow,
527
+ ChatGPT on the server's line is the `accounts.connect` View: a button that opens the account's own
528
+ dialog. The page's frame and its connect dialog are in Brazilian Portuguese too.
529
+ - **The welcome's step.** `computer.plans.welcome`, for chat's `welcome` resource: "Which AI plans
530
+ do you have?", then the flow.
531
+ - **A plan at its limit** is kept on the computer (`engines.<engine>.limited`) until a call there
532
+ answers. Your AI says since when.
533
+ - **Pool VMs update themselves.** A free pool VM says what it is (`POOL.info`) and takes the app's
534
+ newer release (`POOL.update`), as a laptop does, then ends for its service to start it again. An
535
+ app offers it with `offerUpdate(ctx, POOL_KIND, vm)` in its pool's `ready`.
536
+ - **What a message costs you.** Tiers price a typical message for the person looking, at the first
537
+ model their turn would try, plans first. On one of their plans a kind of work costs them nothing
538
+ (`ModelShown.plan`), and a tier says what it comes to for them (`TierShown.yours`). The composer
539
+ reads "Everyday · on your plans · model $0", or "Everyday · 2¢" with no plan connected. `price`
540
+ stays what it costs on the app's models: the org's and a space's pages, which choose for others,
541
+ show it.
542
+ - **What a cloud computer costs.** `computer.cost` (a query, `{ computer? }`) says what one of the
543
+ asker's computers the app keeps costs them, or a new one: an hour awake; how long it stays awake
544
+ after; its disk a month; how far the plan's credits go after a month's disk; and this month so
545
+ far, from the usage ledger. The `computer.cost` View says it in a line, by mode (`price`, `cost`,
546
+ `month`). The app gives the prices: `computerWake.prices` names its query (`ComputerPrices`).
547
+ Nothing is priced in Copilotz.
548
+ - **Waking, said.** A plan's call that wakes a computer says so first: a `waking` model chunk, with
549
+ the app's estimate (`computerWake.estimate`: `{ seconds, slower? }`). Chat shows "Waking the
550
+ computer… (about 5 seconds)", or that it takes longer at this hour, then "Still waking the
551
+ computer…" past it.
552
+ - **`runtime.lost`**, a promise that resolves once another owner took the store, with the epoch it
553
+ held and the line it logged (the `Lost` type), after the runtime has stopped. `close()` after it
554
+ resolves without saving anything. Calls in the process (`call`, `query`, `emit`, `render`,
555
+ `bytes`) are refused with `fenced`, and so is a call whose job the loss cut short (it was
556
+ `executor_lost`).
557
+
558
+ **Changed:**
559
+
560
+ - **Your AI replaces Connected accounts,** at the same address (`/accounts`). The user menu and
561
+ messages that said "Connected accounts" say "Your AI".
562
+ - **The sign-in dialog is gone,** with its per-computer rows and the install command it always
563
+ showed: the connect flow replaces them. Its words go with it (`computers.signIn…`, `install…`,
564
+ `row…`, `shared…`, `step…` and others).
565
+ - **Check, don't remember.** Once a plan's call has woken a computer, it asks what the plan's CLI is
566
+ now, and keeps it. One that isn't signed in any more is passed over for the next computer at once.
567
+ - **A running step is use.** A plan's step touches its computer every minute while it runs, and once
568
+ more when it ends, so the app's idle check never puts it to sleep mid-step.
569
+ - **Your plans' words.** Your plans says "Your plan pays for the AI.", and, where the app keeps
570
+ computers, "A cloud computer you use for it is charged while it's awake.", in place of "Nothing is
571
+ charged here for those calls."
572
+ - **Model chunks.** `LlmChunk` has `waking`. `generate` passes it on without counting it as written,
573
+ so a call that fails after it still hands over to the next model.
574
+ - **`listen` and `serve` exit the process when the runtime they serve loses its store.** `listen`
575
+ does when it serves a runtime's own `runtime.fetch` (a function that calls it is any handler);
576
+ `serve` when its app's `lost` resolves, as a lost lease already stopped it. Both stop listening
577
+ and say code 1 to `stopped`, whose default is now to exit the process with the code it's given (it
578
+ was to do nothing), for `serve`'s handover and signal too. An app that passes `stopped` (the docs'
579
+ `pool.close().finally(() => process.exit(code))`) keeps doing what it says. With `Deno.serve`, add
580
+ `runtime.lost.then(() => Deno.exit(1))`.
581
+ - **A pool keeps a lost org's runtime answering 503** (`runtimes`): `get` hands it as it is without
582
+ counting as use, and the pool forgets it `idleMs` after the loss, opening it again on the next
583
+ use. It doesn't take the org straight back, which would have two processes trading it on every
584
+ request; the process keeps serving its other orgs. Why, and how an app that runs one process for
585
+ every org stops the process instead:
586
+ [the tenancy design](design/tenancy.md#many-orgs-per-process).
587
+
588
+ **Fixed:**
589
+
590
+ - **A laptop that's off came before an asleep cloud computer.** Once none of a person's computers
591
+ was online, a plan's call went to the signed-in one seen last, so a closed laptop sent the call to
592
+ the API instead of waking the cloud computer. There's one order now (`servingOrder`): online
593
+ first, then those the app keeps, then the rest.
594
+
595
+ **Known limits:** rare cases left to the app on purpose, a line each
596
+ ([the plans guide](docs/guides/agents-on-peoples-plans.md#known-limits)).
597
+
598
+ - **Plans first:**
599
+ - With one plan, a tier's checker can run on the same maker's models as its builder.
600
+ - A plan at its limit is tried first on each call until it resets: it fails in seconds.
601
+ - Plans run at their CLI's own effort, whatever the chain says.
602
+ - Antigravity serves Google's models; others once their names are checked.
603
+ - Grok Build reaches an agent's tools through its own search (a few more model turns), keeps its
604
+ built-in skills in its prompt, and keeps a copy of each session at xAI.
605
+ - Cursor's own prompt stays underneath the agent's instructions; a call takes about 15,000 input
606
+ tokens of the person's plan; it needs Node 22.13 or later on the computer; what each agent's use
607
+ costs isn't available, only its tokens.
608
+ - **Connecting plans:**
609
+ - On Windows a plan's CLI is installed from the computer's Terminal: the flow shows its command.
610
+ - "On this computer" needs one line in its terminal, once: the program's download isn't signed
611
+ yet.
612
+ - A cloud computer awake on an older program when a plan is set up there is restarted: the jobs it
613
+ keeps start again; others stop.
614
+ - A computer that can't be brought to the app's program is used as it is.
615
+ - A computer shared with others' agents doesn't run plans: Your AI shows such a plan as not
616
+ connected, and Connect sets it up on another computer, or a cloud one.
617
+ - The flow connects a plan's first way in: ChatGPT through Codex isn't offered beside ChatGPT on
618
+ the server.
619
+ - The flow signs a plan in on the person's best computer: a backup is one they've signed in on
620
+ before.
621
+ - A test of a model the plan doesn't include shows as a failure, in the provider's words.
622
+ - ChatGPT on the server doesn't show its limit on its card.
623
+ - With tiers, the cards follow the app's tiers, not tiers an org saved of its own.
624
+ - **Costs and waking:**
625
+ - The estimate takes a plan as it last said: a plan at its limit still shows $0.
626
+ - A wake's time is an estimate: past it, the notice says "Still waking…".
627
+ - A tool run on the server for longer than a cloud computer stays warm lets it sleep between
628
+ steps: the next step starts a fresh session, given the whole conversation.
629
+ - A CLI removed while its computer is awake still shows as signed in until the computer is asked
630
+ again.
631
+ - "This month" is the calendar month in UTC, and the disk shows at its monthly price, at the app's
632
+ disk size now.
633
+ - "Covers about N hours" counts the plan's credits, not what's left of them.
634
+ - **A runtime that lost its store stops serving, at once and loudly.** When a second process opened
635
+ the store (an instance the platform added, a deploy without the lease), the first one was fenced
636
+ but went on answering: every webhook it was sent got a 200 and was never recorded, and an idle one
637
+ never noticed. Now the first one finds out at its next write, or within 5 seconds while idle
638
+ (`fenceCheck` on `createRuntime`, in ms; `false` for a store no other process can open), and stops
639
+ for good: every request gets a 503 with `retry-after: 5` (routes, webhooks, `/health`, sockets'
640
+ upgrades), its sockets are moved off so clients reconnect to whoever serves next, its executors
641
+ and workers are let go, its timers and Processors stop, and nothing more goes to the store. It
642
+ logs one line saying which store (a SQLite file's path, a PostgreSQL schema and tenant, never a
643
+ URL), the epoch each holds, and that it stopped. Senders that retry a 503 reach the owner, so a
644
+ second instance costs seconds and delayed messages, not lost ones. Run one instance per store all
645
+ the same (Cloud Run's maximum instances 1): see
646
+ [One instance per store](docs/architecture/topology.md#one-instance-per-store).
647
+
648
+ **Docs:**
649
+
650
+ - [Agents on people's own plans](docs/guides/agents-on-peoples-plans.md) has "Plans first",
651
+ "Connecting plans: one flow" (readying a computer, a missing CLI, a test on the plan), "Your AI",
652
+ "Which computer a call runs on", "A plan at its limit", "Waking a computer" and "What a plan
653
+ costs", with Grok Build among the providers. The reference's "Models and providers" says how plans
654
+ come first.
655
+ - The plugins' reference pages show rc.66's Actions, queries, Views and fields: accounts, chat
656
+ (`live`'s `waking`), computers (`computer.prepare`, `computer.cost`), models (`llm.test`) and
657
+ tiers.
658
+ - The "Computers and plans" group of `AGENTS.md`'s "Find it" index has lines for plans first, Grok
659
+ Build, the connect flow, Your AI, readying a computer, a plan's test, the welcome's step, pool
660
+ updates, waking and costs.
661
+
662
+ **Upgrading:**
663
+
664
+ - **An app that keeps cloud computers** (a pool of VMs) adds three things for the connect flow:
665
+ - `add.quick` on its computer kind (`computerKinds.<kind>.add.quick: { action, input }`), so "In
666
+ the cloud" makes one in a click;
667
+ - `computerWake.sleep`, an Action that puts one to sleep now (`{ computer }`), so
668
+ `computer.prepare` can restart one awake on an older program on a new VM;
669
+ - `await offerUpdate(ctx, POOL_KIND, vm)` in its pool's `ready` (from `copilotz/plugins/compute`),
670
+ with the `downloads` resource in that runtime, so free VMs take the app's release.
671
+
672
+ `computerWake.estimate` (the waking notice's time) and `computerWake.prices` (the costs) are
673
+ optional: without them, the notice says "Waking the computer…" with no time, and nothing is
674
+ priced.
675
+ - **Write plan chains as models.** Name models (`anthropic/claude-opus-5-5`), and each person's
676
+ plans come first by themselves. Chains that name plans (`claude-plan/…`) keep working, on plans
677
+ only.
678
+ - **Code that reads `tiers.model`'s answer** in an app with plans reads `.model`. A page that showed
679
+ `accounts.uses` shows the tiers' composer line.
680
+ - **Words:** an app's own words for the sign-in dialog's keys do nothing now: give its words for the
681
+ connect flow's and Your AI's keys instead (`hosts/web/WORDS.md`).
682
+ - **The computer program:** one older than rc.66 has no Grok Build: Sign in says it doesn't know it
683
+ until it updates.
684
+
685
+ ## 1.0.0-rc.65 — 2026-11-25
686
+
687
+ This release finishes what rc.64 postponed. A retried Action finds the nested calls it completed,
688
+ wherever it makes them, so both of rc.64's known issues are fixed and none are left. The web toolkit
689
+ asks before going on and edits a record in a dialog. Chats can be archived, and a new message brings
690
+ one back. Date ranges go to the second, and typed dates are read back. A cloud computer keeps what's
691
+ installed in its home, so a plan's CLI is still there after it sleeps; Sign in installs a missing
692
+ CLI, and a plan signs out on one computer. Rare cases are known limits, listed below, not code: the
693
+ code stays small.
694
+
695
+ **Breaking:**
696
+
697
+ - **Nested-call ids change form.** A nested call's id is now `<caller>.<action>#<n>.<inputHash>`,
698
+ and a Processor's timers are `<event>:<processor>:timer.<n>`. rc.65 doesn't read the records rc.64
699
+ kept under the old ids, so finish work in flight before upgrading (Upgrading, below). Code that
700
+ read a position from an id must read `cause` and `data.action` instead.
701
+
702
+ **New:**
703
+
704
+ - **Asking before going on.** `useConfirm()` asks from a handler: draw its `dialog` once, then
705
+ `await confirm({ title, message, danger, onConfirm, toast })`. It's `true` once confirmed and
706
+ done, and `false` when cancelled. `ConfirmDialog` is the same question as a component, for a
707
+ dialog View at an address. One element is one question, so give it a `key`. An async `onConfirm`
708
+ keeps the dialog busy. If it fails, the dialog says why and stays open to try again. With
709
+ `danger`, the button is destructive and Cancel has the focus. Questions belong to the component
710
+ that asks: when it unmounts, a question still waiting is answered no and never shows.
711
+ - **A record in a dialog.** `RecordDialog` adds or edits one record: a `Dialog` holding a `Form`,
712
+ its fields bound to a draft by `form.text`, `form.number`, `form.checked`, `form.radio`,
713
+ `form.value` and `form.list`. Save gives `onSave` a `RecordChange`: a new record's `values` for
714
+ `insertOne`, or a stored one's `set`, `unset` and MongoDB `update` for `updateOne`. An untouched
715
+ field is never in it. An emptied text, number or choice is an `unset`, and an emptied list is
716
+ `[]`. A save runs to its end on the record it started on. The `EntityDialog` planned for rc.64
717
+ ships as `RecordDialog`.
718
+ - **Refused fields.** A save refused by its field (`detail.field`) shows under the `Field` whose
719
+ `error` is `form.error(name)`, in the words `errors` gives for it. With a plain `Form`,
720
+ `refusedField(error)` reads the field.
721
+ - **Dialog options.** `Dialog` takes `busy` (Escape, the backdrop and its × wait), `isolated` (it
722
+ answers only its own close and Escape, not those of a dialog shown inside it), `role`
723
+ (`"alertdialog"`) and `aria-describedby`. Confirmations and record dialogs are always isolated:
724
+ dismissing one never closes the `Dialog` or `Drawer` it's shown in.
725
+ - **Archiving a chat.** `chat.archive` (`{ thread, archived, latest? }`) puts a chat away for
726
+ everyone who sees it, as its title is. A person who may write where the chat is archives it from
727
+ its header's menu, a Chats tab row's menu or the command palette, or with `/archive` in the
728
+ terminal. Lists leave it out, with its staff notes and subthreads: `thread.recent`, and so the
729
+ sidebar, the Chats tab, the palette until you search, `/threads` and agents' `list_conversations`.
730
+ Nothing in it changes, and it still opens by its link.
731
+ - **Archived chats, listed and brought back.** `thread.recent` with `archived: true` lists them, as
732
+ do a folded "Archived" at the end of the Chats tab (read only once it's opened or the tab is
733
+ searched) and `/threads archived`. The palette finds them while searching. Restore brings one back
734
+ (`archived: false`, `/restore`), and so does any new message in it, its notes or a subthread, in
735
+ that message's own commit: a customer writing on WhatsApp reopens their chat.
736
+ - **Nothing new is archived unseen.** Front ends pass `latest`, the newest message they drew (`null`
737
+ for none). Archiving is refused (`conflict`) when anything in the conversation is newer: the chat,
738
+ its notes, or its subthreads at any level. The archiver's own messages count as seen.
739
+ - **Ranges to the second.** `DateRangePicker` with `seconds` takes each end to the second
740
+ (`YYYY-MM-DD HH:mm:ss`); a preset runs from `00:00:00` to `23:59:59`. From and To each hold the
741
+ end's day and time, typed or pasted whole. The field, the foot, From and To write the ends with
742
+ one pattern, which reads them back: the app's `format` when it can be read back, else the page
743
+ language's own, with its clock (12-hour in American English) and a four-digit Gregorian year. Text
744
+ that can't be read, or a range that would end before it starts, is marked and keeps Apply off, so
745
+ what's shown is what's saved. A typed end stays within `min` and `max`, and within 200 years of
746
+ `today` where they don't bound it, so a Buddhist or Persian year typed out of habit is refused.
747
+ - **Typed day-times read back.** `parseDayTime(text, pattern, locale)` reads what `formatPattern`
748
+ writes with the same pattern, in any language, for years 0000 to 9999: any case and spacing, names
749
+ without their final dot, the language's digits, seconds left out. It refuses what isn't one real
750
+ day and time (`31/02`, 13 PM), a two-digit year (it never guesses the century), and text that
751
+ could be two day-times. `patternProblem(pattern)` says why a pattern can't be read back (`yy`,
752
+ month names of a calendar other than the Gregorian one), and `dayTimePattern(locale)` is the
753
+ language's own pattern.
754
+ - **A wall-clock time's moment.** `dateOfDayTime(value, timeZone)` is the `Date` a day-time names in
755
+ a time zone, by Temporal's "compatible" rule: a time the clocks skip moves forward by the gap, and
756
+ a time they repeat is its first pass, as `new Date(…)` does in the page's zone. With no zone, it
757
+ reads the page's clock as `Date` does (`TZ=GMT+3` is three hours behind UTC).
758
+ - **A cloud computer keeps what's installed in its home.** In pool mode, a computer's work (its
759
+ terminal, jobs, the plans' CLIs and its browser) runs with `HOME` on its own disk (`<disk>/home`),
760
+ npm's global prefix under it (`NPM_CONFIG_PREFIX`), and both their programs' folders first on the
761
+ `PATH`. Claude Code from its installer, Codex from `npm i -g`, and anything else installed there
762
+ is still there on its next wake, on a new VM, signed in as it was. A person's own computer keeps
763
+ their own home.
764
+ - **Sign in installs a missing CLI.** On macOS and Linux, a computer whose plan CLI is missing
765
+ offers "Install Claude Code and sign in", on the plan's card and in the sign-in dialog. The dialog
766
+ says what it runs there, and the click is the consent. `computer.engine.login` with
767
+ `install: true` runs the plan's official installer (the app's own command, never the caller's) in
768
+ the computer's home, then the sign-in. An installer that fails shows what it said last and the
769
+ command to run by hand. Windows keeps the instructions.
770
+ - **A plan signs out on one computer.** `computer.engine.logout`, from the menu of the computer's
771
+ line on the plan. Claude Code and Codex run their own sign-out in the folder the computer program
772
+ keeps for them, and the folder goes when that fails. The person's own `~/.claude` and `~/.codex`
773
+ are never touched. Antigravity can't be signed out from here (`unsupported`): its sign-in may be
774
+ in the system's keyring. A cloud computer wakes to sign out; a laptop must be on.
775
+ - **Words**, in English and Brazilian Portuguese: `toolkit.confirm`, `toolkit.delete` and
776
+ `toolkit.notDone` for the dialogs; `computers.installAndSignIn`, `installRuns`, `stepInstall`,
777
+ `installFailedTitle`, `installFailedText`, `signOut`, `signOutFailed`, `shareSignedIn` and
778
+ `shareOwnWarning` for plans on computers.
779
+
780
+ **Changed:**
781
+
782
+ - **A cloud computer signed in to a plan isn't shared with others' agents.** `computer.share` and
783
+ `computer.move` refuse it a desk where agents answer to whoever they work for, outside a Personal
784
+ space, while it last said it's signed in to a plan (`plan_signed_in`). Its person signs out of it
785
+ first; the share dialog says so, with a link to the plans. A person's own computer may still be
786
+ shared, and the dialog says what that means: the space's agents can read everything on it, its
787
+ owner's own sign-ins included. A computer shared with others' agents still runs nobody's plan.
788
+ - A shared computer's line in the sign-in dialog says "Your plan runs on your own computer. This
789
+ shared one runs your agents' tools." (`computers.rowSharedSomewhere`).
790
+
791
+ **Fixed, here since rc.63 or before:**
792
+
793
+ - **A retried Action finds the nested calls it completed,** wherever it makes them (rc.64's first
794
+ known issue). A nested call's id names its caller, the Action, how many calls of it with the same
795
+ input the caller made before, and its input's hash, instead of its place among all the caller's
796
+ calls. Calls of other Actions or inputs no longer make a completed call run again, whether they're
797
+ refused or allowed on the retry, added, or started in another order. Identical calls are matched
798
+ in the order they're made: the same call made twice is still two calls, and an identical call made
799
+ earlier takes the lower number. A call a synchronous `allow` refuses takes no number, as before,
800
+ so the same call made next through a grant is found whichever way the permission went. One an
801
+ asynchronous `allow` refuses keeps the number it took before waiting.
802
+ - **Two Processors handling one event keep their calls and timers apart** (rc.64's second known
803
+ issue). A delivery's calls are named under `<event>:<processor>`, and its timers are
804
+ `<event>:<processor>:timer.<n>`. One Processor's call is no longer answered from another's record,
805
+ and one's timer no longer replaces another's. An unrecorded Action's calls are named under its
806
+ caller's Processor or branch.
807
+ - **From and To are read when they're done, here since rc.54.** In `DateRangePicker`, each keystroke
808
+ that made a valid day moved the range, and Apply took the moved end: typing `2` on the way to `20`
809
+ in To moved From to the 2nd. From and To are now read only when they're left, on Enter, or on
810
+ Apply. Text that isn't a day stays as typed, marked, and Apply is off until it's put right. A
811
+ field left empty is its end again, and a field's own text always reads as its end. With a first
812
+ day picked, To is empty until the second is; where rc.54 couldn't read an end's text back
813
+ (Arabic's short date, a function `format`), it kept showing the old end.
814
+
815
+ **Known limits:** rare cases left to the app on purpose, a line each.
816
+
817
+ - **Confirmations and record dialogs**
818
+ ([the toolkit guide](docs/guides/the-web-toolkit.md#known-limits)):
819
+ - What's typed while a save runs isn't in it; on success the dialog closes.
820
+ - A `useFormSubmit` part's value wins over an edit of the same field, even one typed while the
821
+ part runs.
822
+ - A field made invalid while a part runs isn't checked again; the schema refuses it.
823
+ - A path through a list or a map that isn't there yet (`lines.0.qty`) makes an object: give it a
824
+ value in `defaults` or the record, or set it whole with `form.set`.
825
+ - Don't put a `RecordDialog` inside a form, or a form in its fields: a submit goes to every form
826
+ around it.
827
+ - Questions show one at a time: don't await another `confirm()` inside `onConfirm`.
828
+ - Draw `useConfirm`'s `{dialog}` once.
829
+ - A busy confirmation a browser closes anyway answers when its operation ends; a dialog a browser
830
+ closes just as its operation ends may show the outcome in the closed dialog.
831
+ - A `ConfirmDialog` given a new `key` while open gives the focus back to the page, not to the
832
+ first opener.
833
+ - An app's own `Dialog` closing still closes an app's own dialog or `Drawer` around it, as in
834
+ rc.64, unless the outer one is an `isolated` `Dialog`.
835
+ - **Chats** ([the chats guide](docs/guides/chats.md#known-limits)):
836
+ - A newer message a page doesn't draw (deeper in a subthread, in closed notes) keeps it from
837
+ archiving there.
838
+ - An archived chat's notes aren't listed with it: open the chat to reach them.
839
+ - A subthread opened as a page doesn't say its chat is archived.
840
+ - A thread is a subthread only when its id is `<message>:sub`, as `send_message` makes them.
841
+ - A notes or subthread page passes its own newest message, so the chat's newer ones refuse it
842
+ there.
843
+ - A message's time is stamped before its commit, so one committed late can slip past the check.
844
+ - Notes made in the milliseconds before an archive aren't checked.
845
+ - An omitted `latest` (scripts, `/archive <id>`) checks nothing.
846
+ - **Dates** ([the toolkit guide](docs/guides/the-web-toolkit.md#known-limits-of-dates-and-times)):
847
+ - Fields of no fixed length run together (`yyyy/dM`) can't always be read back, and
848
+ `patternProblem` doesn't say so.
849
+ - With `seconds` and a year-first format in another order than the toolkit's (`yyyy-dd-MM`), text
850
+ read as two different ends is refused.
851
+ - Names typed in capitals may not read in Greek or Turkish.
852
+ - A format with spaces at its edges doesn't read back what it writes.
853
+ - With `seconds`, `today` must be 200 years or more from 0000 and 9999.
854
+ - Changing the format or the page's language while a range is open reads what's being typed by the
855
+ new one.
856
+ - `min` and `max` given as times of day hold for typed ends, not for picked days or presets.
857
+ - The months' Next button goes past December 9999 without `max`.
858
+ - **Computers and plans** ([the plans guide](docs/guides/agents-on-peoples-plans.md#known-limits)):
859
+ - A shared computer is shared whole: agents in its spaces can read everything on it, sign-ins kept
860
+ there included. Keep personal sign-ins on a computer you don't share.
861
+ - Antigravity can't be signed out from here: its sign-in may be in the system's keyring.
862
+ - On a laptop, a CLI installed where the program doesn't look (npm's prefix under a version
863
+ manager, not on the program's `PATH`) isn't found: the page then shows the command to run by
864
+ hand.
865
+
866
+ **Docs:**
867
+
868
+ - The reference has "Nested calls and retries" under Actions, and the stores page says how to see
869
+ [work in flight](docs/operations/stores.md#work-in-flight).
870
+ - The toolkit guide has "Confirming an action", "A record in a dialog", "Showing a refused field",
871
+ "Date ranges with seconds" and "Reading typed dates and times", with their known limits. In
872
+ [a business app's screens](docs/guides/a-business-apps-screens.md), the customer dialog is a
873
+ `RecordDialog`.
874
+ - [Chats: their lists and archive](docs/guides/chats.md), a new guide: listing chats, archiving and
875
+ restoring one, and what agents see.
876
+ - The REST guide's list of Actions a key can't call names `chat.rename` (missing since rc.63) and
877
+ `chat.archive`.
878
+ - [Agents on people's own plans](docs/guides/agents-on-peoples-plans.md) has "A missing CLI",
879
+ "Signing out", "What a cloud computer keeps" and its known limits.
880
+ - The "Find it" index in `AGENTS.md` has two new groups, "Chats" and "Computers and plans", and
881
+ lines for confirmations, record dialogs, refused fields, ranges to the second, typed dates and
882
+ nested calls.
883
+
884
+ **Upgrading:**
885
+
886
+ - **Finish work in flight before upgrading.** rc.65 doesn't read the records rc.64 kept under the
887
+ old nested-call ids. Work in flight is a Processor delivery not yet done, or a call that started,
888
+ didn't complete, and will be called again with the same id (by a client, a webhook sender, or a
889
+ timer's retry). Retried on rc.65, its nested calls that completed on rc.64 run once more, with all
890
+ they do (writes, emits without an `id`, outside calls), and timers are set a second time: a
891
+ Processor's and a nested call's. An Action's own timers keep their ids. Wait for `runtime.idle()`,
892
+ stop with `runtime.close({ drain })`, check what's left
893
+ ([work in flight](docs/operations/stores.md#work-in-flight)), then start rc.65, its owner and
894
+ executors together. Rolling back to rc.64 with work in flight does the same in reverse.
895
+ - **Renaming a Processor now runs its nested calls again.** A Processor's name is part of its calls'
896
+ ids. Renamed, it replays the log from the start, as before (its position is kept by name), and its
897
+ nested calls now run again for every event it replays; rc.64 answered them from the records left
898
+ under the event. Keep `/` and `:` out of Processor names and branch keys: they join a caller's
899
+ parts.
900
+ - **Existing date pickers:** without `seconds`, `DateRangePicker` draws as in rc.64, and only reads
901
+ From and To when they're done (Fixed, above). `DatePicker`, `DateTimePicker`, `parsePattern` and
902
+ `parseDay` are unchanged.
903
+ - **Computers:** an existing cloud computer gets its home at its next wake. A computer program older
904
+ than rc.65 neither installs a CLI nor signs one out: Sign in says the CLI is missing, and Sign out
905
+ fails, until it updates.
906
+
907
+ ## 1.0.0-rc.64 — 2026-11-25
908
+
909
+ Start a business app with `copilotz init`. Give each declaration a file and write its types once.
910
+ The compiler assembles the plugin and checks the names the app uses. The web toolkit now covers
911
+ table exports, printed invoices and barcode labels. The guides ship with the runtime.
912
+
913
+ **Breaking:**
914
+
915
+ - Code that calls an `ActionDef` or named query's `allow` directly must pass the caller's
916
+ `AllowContext` and await the result. A query may inherit the rule from its plugin. Existing
917
+ synchronous rules still work when the runtime calls them.
918
+
919
+ **New:**
920
+
921
+ - **Plugins from folders.** `copilotz init [dir]` makes a working orders app with a TSX loader,
922
+ checks and a test. `copilotz gen` builds server, web and terminal entry points and writes
923
+ `copilotz-env.d.ts`. Action, collection and query names are checked against the plugins in
924
+ `app.ts`. View names complete in the editor. Use `--watch` during development, `--check` in CI and
925
+ `--eject` to take over a plugin's assembly.
926
+ - **Schemas from TypeScript.** Type an Action's second parameter on `run`, or declare a collection
927
+ with `defineCollection<Order>({ indexes, queries })`. The compiler turns local and imported types
928
+ into runtime checks. Field comments describe tool inputs, tags such as `@minimum 1` constrain
929
+ them, and a named collection read knows the document and its string id.
930
+ - **Shorter Actions.** A plugin's `defaults.allow` covers its Actions and named queries. Each can
931
+ override it. An async `allow(actor, input, ctx)` can read the caller's permissions before a
932
+ declared grant (`as`) takes effect. `transaction: true` opens or joins a transaction and rolls
933
+ back the writes together on failure. An Action with no parameters can omit `input`. An explicit
934
+ schema types both `run` and `allow`.
935
+ - **Table files.** `tableSheet` projects the exported columns and totals into a `TableExportSheet`
936
+ of `ExportCell` values. `exportTableFile` builds the file and `downloadTableFile` saves it in the
937
+ browser. `TableExportOptions` sets `values` (raw or displayed), the SQL `tableName` and the `csv`
938
+ dialect (`quote`, `delimiter`, `lineEnding`, `finalNewline`, `header`).
939
+ - **Table controls.** Give `DataTable` the file settings in `tableExportOptions` and totals by
940
+ column key in `footerRows`. Supply a `TableExportFormat` through `formats` or share formats
941
+ through `TableExportFormats`. `exportChoices` orders the available menu entries. `toolbarContent`
942
+ adds a button or filter. `showSinglePageSize` keeps a lone page size visible on `DataTable` and
943
+ `Pagination`.
944
+ - **Printed invoices and labels.** `TablePdfOptions` adds `size`, `titleLines`, `subtitle`,
945
+ `headerImage` and `columns` with widths and alignment by key or in exported order. `pdfImage`
946
+ prepares a reusable `PdfImage` from PNG or JPEG. `drawDocumentPdf` places images and vector
947
+ barcodes on a page. `ProductBarcode`, `barcodeBars` and `barcodePng` draw the symbol selected by
948
+ `BarcodeOptions.format`. `code39` supports Mod 43 with `check`, `ean8` and `ean13` encode retail
949
+ symbols, and `eanDigits` completes or verifies the check digit.
950
+ - **Mail in tests.** `captureEmail()` keeps messages and attachments sent through `email.send`.
951
+ Inspect `messages` and reset with `clear()`. The capture adapter can also write MIME messages as
952
+ `.eml` files.
953
+
954
+ **Fixed:**
955
+
956
+ - Grant checks inside a held transaction see staged membership changes. Database-backed permission
957
+ rules use the same transaction reader on memory, SQLite and PGlite.
958
+ - The final record flush attempts each identity's appends in order and reports the first refusal.
959
+ - Dot-path updates resolve a field's `$ref` in its original schema resource, including embedded
960
+ collection schemas generated from TypeScript.
961
+ - JSON records keep sparse cells as `""` and explicit `null` as `null`. Table-shaped JSON with raw
962
+ values preserves each cell's type.
963
+ - XLSX exports with `values: "raw"` keep numeric-looking strings as text, preserving their digits.
964
+ - `tableSheet` accepts inline `DataTable` columns with `align` and `render` and infers the row type.
965
+ - PDF column widths and alignments follow the visible columns. A minimal-quoted CSV keeps a row with
966
+ one empty field (`""`). `copilotz/web/export`'s types need no React.
967
+ - A barcode with no `width` grows to fit its whole modules and quiet margins on screen and in PNG.
968
+ In `drawDocumentPdf`, an omitted width uses the space from `x` to the page edge. An undersized
969
+ explicit width grows to the minimum of one unit per module. Printed bars must fit on the page.
970
+ Their quiet margins may extend past the edge. `documentPdf` and `Drawn` keep their rc.63 page and
971
+ barcode types.
972
+
973
+ **Fixed, here since rc.63 or before:**
974
+
975
+ - **Security: a declared grant's reads are checked for the conversation's audience on every path.**
976
+ An unrecorded Action reading as a grant, called from a named query or a watched query, skipped the
977
+ check a direct call makes, so a staff grant could read into a conversation shared with a contact.
978
+ - **A transaction holds its `durable: false` writes until the durable commit,** so a failed write no
979
+ longer leaves durable data committed behind an error (`ctx.transaction` and `transaction: true`).
980
+ - **A `ctx.record` append is kept as the identity that made it,** a declared grant included; one the
981
+ owner refuses at completion fails the Action on the record.
982
+
983
+ **Fixed in this release's own work:** an Action input embedding `Infer<typeof schema>` keeps its
984
+ `$ref`s; `gen` resolves Deno import-map aliases; the `copilotz` command runs on Node 24.0 and 24.1;
985
+ and the capture mail adapter refuses a public `links` origin unless a test sets
986
+ `email.capture.allowPublicOrigin: true`.
987
+
988
+ **Known issues:**
989
+
990
+ - If permission for a nested call changes between attempts, a retried Action can run a later
991
+ completed nested call again, as in rc.63.
992
+ - Two Processors that make the same first nested call with the same input for the same event share
993
+ its record. After a crash, one Processor can receive the result from the other's record, as in
994
+ rc.63.
995
+
996
+ A coming release will fix both issues with nested-call IDs that name their caller.
997
+
998
+ **Docs:**
999
+
1000
+ - The “Find it” index in `AGENTS.md` links each job to an API and a guide. The npm and JSR packages
1001
+ include those pages and a root `llms.txt` with the full reading list. The compiler, toolkit and
1002
+ mail guides cover the new declarations, screens and files.
1003
+
1004
+ **Upgrading:**
1005
+
1006
+ - Existing plugins can keep their hand-written entry points and JSON Schemas. To generate a plugin,
1007
+ give each declaration a default export, move React components into `lib/web/`, and install
1008
+ TypeScript as a dev dependency. Keep `_id` out of document types and use a string tagged
1009
+ `@format date-time` for a JSON timestamp. An explicit `schema` or `input` takes precedence. Commit
1010
+ `copilotz-env.d.ts` and generate the host modules before type-checking.
1011
+ - A `ctx.record` made by an unrecorded Action that a watched query or View calls is now written as
1012
+ the viewer, under the collection's rules, as the call's other writes are (rc.63 wrote it as the
1013
+ system). One the rules refuse isn't kept, and the process logs it. An atomic Action's records now
1014
+ commit or roll back with the transaction it joined.
1015
+ - CSV, TXT and XLS exports write numeric text (`-12.5`, `-1e-7`, `+1`) as it is; rc.63 put an
1016
+ apostrophe before a leading `+` or `-`. Text that looks like a formula (`=SUM(…)`, `@cmd`) is
1017
+ still guarded.
1018
+
1019
+ ## 1.0.0-rc.63 — 2026-11-24
1020
+
1021
+ Chats can be renamed, the models catalog knows GPT-6.2 Astra and Sol, and rc.62's `"moderate"`
1022
+ validation level is gone before anything depends on it.
1023
+
1024
+ **New:**
1025
+
1026
+ - **Renaming a chat** (`chat.rename`): "Rename…" in its header's menu, a chat list's row and the
1027
+ command palette, its title ready to type over. A person who may write in its space renames it, for
1028
+ everyone there; its staff notes take the title too, and an agent that might have named it (a
1029
+ routine's run) no longer does.
1030
+ - **The models catalog, refreshed from models.dev:** GPT-6.2 Astra and GPT-6.2 Sol, with their
1031
+ prices, among others; models.dev's retired ones are gone (none Copilotz names).
1032
+
1033
+ **Breaking:**
1034
+
1035
+ - **`validation: "moderate"` is gone** (added in rc.62). Strict already lets a document older than
1036
+ its schema be updated with what adds nothing wrong to it; what moderate let through besides was an
1037
+ update writing what the schema refuses. Fix such documents with a migration. TypeScript refuses
1038
+ the option; in JavaScript it's ignored, and the collection's updates are checked.
1039
+
1040
+ ## 1.0.0-rc.62 — 2026-11-24
1041
+
1042
+ Apps are written as Copilotz's own plugins are: updates keep to the schema on every store, as
1043
+ MongoDB's do; screens, tools, scripts and REST save to collections, with Actions for business logic;
1044
+ and the docs teach one layout, a folder per primitive.
1045
+
1046
+ **Breaking:**
1047
+
1048
+ - **Updates are checked against the collection's schema** (they weren't: only inserts and replaces
1049
+ were), as MongoDB's `$jsonSchema` validator checks them with `validationLevel: "strict"`. What
1050
+ `$set` gives a field must fit it; a field the schema doesn't allow can't be set, nor a required
1051
+ one unset; `$inc` counts numbers; `$push` and `$addToSet` add items the list takes; and a document
1052
+ that was valid stays valid (an upsert's new one too). From plugin code, REST and the socket alike:
1053
+ what fails changes nothing (`invalid`, naming the field), so the stores agree on what they hold. A
1054
+ document older than its schema may still be updated: strict refuses only what an update adds to
1055
+ what was wrong with it, which every store tells alike.
1056
+ - **An update needs operators.** One with none (`updateOne(filter, { name: "x" })`, or `{}`)
1057
+ replaced the whole document, unchecked; it's refused now, as MongoDB refuses it. Use `$set`, or
1058
+ `replaceOne` to replace. REST's `PATCH` and the socket still read plain fields as `$set`.
1059
+ - **`$push` refuses modifiers it doesn't support** (`$slice`, `$sort`, `$position`), which it
1060
+ ignored.
1061
+
1062
+ **Fixed:**
1063
+
1064
+ - **`$addToSet` with `$each`** adds each item not there yet; it stored `{ $each: […] }` itself.
1065
+ - **An unrecorded Action a query or a View calls acts as someone else (`ctx.as`)** as it does when
1066
+ an Action calls it, read-only. It was quietly left as the reader, and read less than it asked for.
1067
+ **This widens what such reads return:** an Action acting as the system or a grant now reads as
1068
+ that, beyond the reader's reach, as it always did when an Action called it. Copilotz's own
1069
+ `person.email` is one: a View or query that calls it now gets the address.
1070
+
1071
+ **New:**
1072
+
1073
+ - **MongoDB's update operators `$setOnInsert`** (only when an upsert makes the document), **`$min`,
1074
+ `$max` and `$mul`,** on every store, checked against the schema as the others are. They were
1075
+ refused.
1076
+ - **A View's handlers write collections:** `ctx.db.collection(name)` has `insertOne`, `updateOne`
1077
+ (an update document, or the fields to set), `replaceOne` and `deleteOne`, each the viewer's own
1078
+ write, as REST and the socket make it: a rule must speak for the collection's writes, the schema
1079
+ checks it, it's recorded as theirs. In the owner (a terminal) and in a browser alike. A View
1080
+ writes nothing while it renders, nor when it's rendered once. A screen saves a record without an
1081
+ Action that only saves it.
1082
+ - **A schema failure names its field,** in `detail.field` (a dot path; for a missing required field,
1083
+ that field), and the error is about the innermost value that failed. A write from outside (REST,
1084
+ the socket, a View's handler) says it to its caller as a public failure, so a `Form` shows it by
1085
+ its field; REST's error body carries `detail` for a public failure.
1086
+ - **A guard knows which write it's asked about** (`write`: `"insert"`, `"update"`, `"replace"`,
1087
+ `"delete"`), so a rule can let people add and change documents but not delete them.
1088
+ `byCollection({ sale: …, item: … })` makes a plugin's guard of a rule per collection.
1089
+ - **A query says what it answers and what its params are** (`description`, `input`): callers from
1090
+ outside are held to its input, as an Action's are, and `GET /api/` and `describe()` list both.
1091
+ `describe()` lists a collection's `validation` too (the format is the same).
1092
+ - **A chat tool can be an Action, by name**
1093
+ (`tools: { complete_task: { action: "task.complete" }
1094
+ }`): offered with the Action's description
1095
+ and input, called as the agent. Read contexts and Views can `describe()` the app, as Actions do.
1096
+ - **Startup says what looks wrong** (`warn`: the console by default, once a message; `false` for
1097
+ none): a collection whose schema names no fields, and one another plugin's `shared` rule alone
1098
+ opens to outsiders. And, the first time it happens, an outsider let in by another plugin's guard
1099
+ alone, where the collection's own plugin says nothing of who reaches it. An unknown Action,
1100
+ collection or query is refused naming the closest known one.
1101
+ - **`boundaries({ root, plugins })`** (`copilotz/testing`): what breaks an app's plugin boundaries
1102
+ (another plugin's code imported, or a contract of one not required), for an app's test.
1103
+ - **`validation: "moderate"` on a collection**, as MongoDB's `validationLevel`: updates are checked
1104
+ only on documents that were valid, for a collection whose older documents predate its schema.
1105
+ Inserts and replaces are always checked.
1106
+
1107
+ **Docs:**
1108
+
1109
+ - **AGENTS.md and the copilotz skill teach apps as Copilotz's own plugins are made:** a folder per
1110
+ primitive, one declaration per file (`collections/` with each schema, its type and its named
1111
+ queries; `actions/`; `views/web/`; `resources/`; `lib/`), an optional `plugin.ts` for a plugin's
1112
+ single fields, `mod.ts` only assembling them. Plain saves are collection writes (a screen's
1113
+ handler, a tool, a script, REST); Actions are for business logic. The `shared` rules first, then
1114
+ the plugin's `guard`. Types from schemas (`Infer`), a Processor for what follows a commit, Node's
1115
+ TSX loader for `dev`, `start` and tests, and a test that fails on `describe()`'s problems.
1116
+ - **A business app's screens** save customers to the collection, with the schema refusing by field;
1117
+ the reference says how updates are checked, where that differs from MongoDB's `"strict"`, and how
1118
+ a View's handlers write.
1119
+
1120
+ **Upgrading:** check what queries and Views return where they call an unrecorded Action that acts as
1121
+ someone else (`ctx.as()`, `ctx.as(grant(…))`): it reads as that now, so it may return more than the
1122
+ reader reaches. Keep to what the reader may see in what the Action returns.
1123
+
1124
+ An app whose code writes what its schemas don't allow now gets `invalid` where it didn't. Run its
1125
+ tests first. A collection holding documents from before its schema said what it says now: set
1126
+ `validation: "moderate"` on it until they're fixed. PostgreSQL still runs plain `$set`, `$unset` and
1127
+ counters in one statement; an update whose check needs the documents it leaves (a `minimum` after
1128
+ `$inc`, an object a nested `$set` may create) runs in a transaction.
1129
+
1130
+ ## 1.0.0-rc.61 — 2026-11-24
1131
+
1132
+ **Fixed:**
1133
+
1134
+ - **The org's version of one of the app's agents answers every conversation, a contact's too.**
1135
+ Team's agent source read an org's version of an app's agent as the asker, and a contact (a web
1136
+ visitor, a WhatsApp customer) reaches nothing of the org's; and chat composed a turn's prompt as a
1137
+ read for the agent, which reads only what its person does. So the org's changes reached its own
1138
+ people's conversations and never its customers'. Team now reads the org's versions of the app's
1139
+ agents as the system (who may change one is still the rules': `agent.update`), and a turn gives
1140
+ its prompt the agent it found (the `llm.thread` View's `hints.agent`).
1141
+ - **E-mail sign-in says when a message didn't go.** `email.code`, `email.forgot` and `email.sign-up`
1142
+ answered as if a code had gone when the mail service failed, so the page said "sent" and nothing
1143
+ came; and a new code had already replaced the one sent before. Now a message that doesn't go is
1144
+ refused (`unavailable`, which the sign-in page says), and for 5 minutes after, every address is
1145
+ refused alike, with or without an account, so the answer still says nothing of who has one. The
1146
+ code sent before stays good until a new one went.
1147
+ - **A filter naming an operator there's none of is the caller's mistake:** `invalid` (a 400 on
1148
+ `GET /api/collections/<name>?filter=…`), not a 500, on every store.
1149
+ - **Gemini goes on in a conversation another model worked in.** A tool call Gemini didn't make (a
1150
+ step another model took: a turn handed over to Claude, then back) went to it without a thought
1151
+ signature, which Gemini 3 and later refuse (400, "Function call is missing a thought_signature").
1152
+ So once another model had used a tool in a conversation, every later step on Gemini failed at once
1153
+ and went to the next model of its list. Such a call now goes with the signature Google gives for
1154
+ it (`skip_thought_signature_validator`, on a step's first call: `UNSIGNED`, from the Gemini
1155
+ adapter); Gemini's own go back as they came.
1156
+ - **A Gemini model that thinks long isn't taken for a dropped call.** It sent nothing while it
1157
+ thought, so a think past 2 minutes was cut as silence and handed over. A model known to think (the
1158
+ catalog's `reasoning`) now streams summaries of its thoughts as it has them (`includeThoughts`),
1159
+ which keep its stream alive; what it thought isn't its answer.
1160
+
1161
+ **New:**
1162
+
1163
+ - **An agent's instructions are as long as the app lets them be** (team's `instructionsLimit`
1164
+ setting, the `team` resource): 100,000 characters unless it says, up from a fixed 20,000 in
1165
+ `agent.create`, `agent.update`, `propose_agent` and the agent's form.
1166
+ - **An MCP server's instructions can be an Action's** (`instructions: { action }`, given
1167
+ `{ server }`), asked as each session starts (`initialize`, `server/discover`): what an app changes
1168
+ reaches new conversations without a restart. An Action no plugin declares stops the app from
1169
+ starting; one that fails leaves the session without instructions.
1170
+
1171
+ **Breaking, in small ways:**
1172
+
1173
+ - **An MCP server's `instructions` is `string | { action }`** in its settings' type, so code that
1174
+ reads a declared server's instructions as text narrows it first.
1175
+ - **E-mail sign-in's Actions can fail with `unavailable`** (a 503) where they answered as if a
1176
+ message had gone: a front end of an app's own says it, as the sign-in page does.
1177
+
1178
+ ## 1.0.0-rc.60 — 2026-11-21
1179
+
1180
+ An agent is told in its chat when a job it started ends, and takes a turn then: it no longer looks
1181
+ at a long build or test run again and again to see whether it's done.
1182
+
1183
+ **New:**
1184
+
1185
+ - **An agent is told in its chat when a job it started ends** (the computers plugin): as the person
1186
+ it worked for, in their name (`via` the job, as a routine's message is theirs), with how it ended
1187
+ (its exit code, or that someone stopped it), how long it ran, and the end of what it wrote; and it
1188
+ takes a turn then, on their plan, within their reach. So it needn't look at a long build or test
1189
+ run again and again: `start_job` says so, and so does its answer ("You'll be told in this chat
1190
+ when it ends"). One it stops itself (`stop_job`) tells it nothing; `notify: false` starts one that
1191
+ doesn't. Only in a chat, for a person: a model outside (over MCP) and a contact's chat aren't
1192
+ told.
1193
+ - The app waits on the job (`computer.watch`, its watches kept in `jobWatch`): it asks the
1194
+ computer to answer once the job ends (`computer.jobs.wait`, up to 10 minutes, then again), as it
1195
+ asks a computer for everything; a computer still asks the app for nothing. A wait its computer
1196
+ went offline during, or a deploy cut, is taken up again when the computer comes back
1197
+ (`computer.ready`); a job the computer no longer has (it stopped with it) is told as that.
1198
+ - A computer whose program is older than this is asked how the job is each minute instead.
1199
+ - A job stopped by `computer.jobs.stop` says so (`stopped: true`).
1200
+
1201
+ ## 1.0.0-rc.59 — 2026-11-21
1202
+
1203
+ A person's plan answers its agents' steps however long its model thinks, and an agent waiting on
1204
+ another goes on for the same person when that one fails: two reasons plan steps went to an API key.
1205
+
1206
+ **Fixed:**
1207
+
1208
+ - **Work streamed from a plugin's worker isn't cut at 30 seconds.** A job's call to the owner ended
1209
+ 30 seconds after it opened, however much it had streamed (Oxian's default for host calls). So a
1210
+ model's step on a person's plan whose model thought longer than that before its first word (Claude
1211
+ Fable, Opus) was cut, and handed over to the next model of its list, an API key, while the plan's
1212
+ CLI went on with it; and a browser's actions past 30 seconds failed. Work sent on to a worker now
1213
+ lasts up to an hour (`WORK_MS`, the most a request lasts on Cloud Run), on both ends; a storage op
1214
+ keeps its 30 seconds (`OP_MS`).
1215
+ - **An agent waiting on another goes on for the same person when that one fails.** A turn that
1216
+ failed for good answered as the system, so the agent waiting on it went on as the system: on no
1217
+ one's plan (a person's plan runs only for a person, so it went to an API key), past anyone's
1218
+ reach. Its answer is now its agent's, for whom its turn worked, as an answer that came is; a final
1219
+ `processor.failed` carries the failed event's `actor` for that.
1220
+
1221
+ ## 1.0.0-rc.58 — 2026-11-21
1222
+
1223
+ Files go between a chat and a computer both ways, and people put files on a computer from its page.
1224
+ When a model hands over to the next in its list (a person's plan to an API key), the log and the
1225
+ usage say why. A tool call held for a person's plan waits past Claude Code's 5-minute idle limit,
1226
+ and the models catalog is refreshed.
1227
+
1228
+ **New:**
1229
+
1230
+ - **An agent saves a file sent in its chat on a computer** (`save_file`, the computers plugin): a
1231
+ zip to unpack, a spreadsheet to work on, an image to edit, into the space's folder, where commands
1232
+ and the other tools reach it. It's a write like `write_file`'s, asked first where writes are. Each
1233
+ file a message carries now says its id to the agent
1234
+ (`[file data.zip: application/zip, 3214000
1235
+ bytes, id …]`, and `[image …, id …]`,
1236
+ `[file notes.txt, id …]`), which the tool takes; it reads the file as the agent, so the rules
1237
+ decide which it reaches.
1238
+ - **An agent sends a file from a computer into its chat** (`send_file`): a report, a chart, a zip it
1239
+ made, as its own message with the file (`chat.say`), up to a chat file's size (about 10 MB). Run
1240
+ again as itself (a retried turn), it sends nothing more. Chat's contract exports `FILE_DATA`.
1241
+ - **Uploads to a computer** (`PUT /computers/upload?desk=&path=[&replace=1]`, the Files view): a
1242
+ person puts files in a space's folder on a computer, of up to 2 GiB each, streamed through to it
1243
+ as they come and put in place once whole, so a broken upload leaves nothing. Past what one request
1244
+ may carry on its way (Cloud Run's 32 MiB, a CDN's 100 MB), a file goes in parts, in order
1245
+ (`&upload=&offset=&total=`), kept apart on the computer until the last; parts nobody finished go
1246
+ after a day. Only where they may change the computer from its panel (`computer.upload`, on the
1247
+ record: who put what where), a computer that sleeps woken first, and one between connections
1248
+ waited for. A file there is kept unless replaced. The Files view takes files picked or dropped,
1249
+ with each one's progress, and asks before replacing one.
1250
+ - **The computer program says what it serves** (`Info.serves`), and takes a file streamed in
1251
+ (`computer.files.put`). The app asks a computer what it serves before an upload, so one whose
1252
+ program is older answers at once that it needs updating (501, `outdated`).
1253
+
1254
+ - **Why a model handed over, on the record.** A model of a list that doesn't answer and hands over
1255
+ to the next (a person's plan falling back to an API key) is logged by the process
1256
+ (`models: <model> didn't answer after 31.2 s, thinking (<code>: <words>); <next> answers instead
1257
+ [thread=… agent=… turn=…]`),
1258
+ and the model that answers instead says so on its usage (`fallback`, `fallbackWhy` tags). The
1259
+ engine adapter logs a session it starts over. The computer program logs a plan's prompt that
1260
+ failed, and a step the app stopped reading before it ended, with how long it ran (`computer.log`).
1261
+
1262
+ **Fixed:**
1263
+
1264
+ - **A tool call held for a person's plan no longer fails after 5 minutes.** Claude Code aborts a
1265
+ tool that sends nothing for 5 minutes, and a call held for its answer is silent until it comes (a
1266
+ person's yes, the app's next step). The computer program gives Claude Code's idle limit a day, as
1267
+ its whole limit already was (`CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT`, and the server's own `timeout`
1268
+ in its MCP config).
1269
+
1270
+ **Changed:**
1271
+
1272
+ - **The models catalog**, refreshed from models.dev (2026-11-21): Google's Gemini 4 Carbon, Neon and
1273
+ Hydrogen among what's new, with their prices and reasoning.
1274
+ - `computer.work`'s rules for a person working on a computer (in its space, its owner's where they
1275
+ answer for it, a computer that sleeps woken) are `personalDesk`, which uploads share. A desk that
1276
+ isn't there is `not_found` (it was `invalid`).
1277
+
1278
+ ## 1.0.0-rc.57 — 2026-11-20
1279
+
1280
+ Agents can run on the plan of the person they work for: Claude, ChatGPT through Codex, or Google AI
1281
+ through Antigravity, through the plan's CLI on a computer of theirs, signed in once.
1282
+
1283
+ **New:**
1284
+
1285
+ - **Agents on people's own plans** (the computers plugin). Three model providers run a model call on
1286
+ the plan's CLI on the person's own computer instead of an API key: `claude-plan/<model>` (Claude
1287
+ Code), `codex-plan/<model>` (Codex, on a ChatGPT plan) and `gemini-plan/<model>` (Antigravity, on
1288
+ a Google AI plan). An agent names one first and an API model next
1289
+ (`["claude-plan/claude-opus-5-5", "anthropic/claude-opus-5-5"]`): with nobody there (a routine),
1290
+ no plan signed in, the computer off or the plan's limit reached, the list moves on at once. The
1291
+ CLI is only the engine: the agent's instructions replace its own, its built-in tools are off, and
1292
+ the agent's tools reach it as MCP tools from the computer program, running where every tool runs.
1293
+ A tool call ends a step while the CLI waits; the next step answers it and goes on. A session per
1294
+ conversation saves time, and the conversation stays the truth: edited or summarized, a fresh
1295
+ session is given it all. Uses are metered as `paid: "subscription"`, at no cost to the app. See
1296
+ [Agents on people's own plans](docs/guides/agents-on-peoples-plans.md).
1297
+ - **Signing a plan in, once** (`computer.engines`, `computer.engine.login`): a person's computers
1298
+ and the CLIs each has, signed in or not, and the CLI's own sign-in, run there from the app. It
1299
+ stays on the computer, in a home the program keeps for each CLI, apart from the person's own use
1300
+ of it. A plan runs only on its person's own computer, never on one shared where others' agents
1301
+ work as them. Connected accounts shows them beside the ChatGPT plan, through a new
1302
+ `accountSections` resource other plugins can add to.
1303
+ - **The computer program speaks the Agent Client Protocol** to the CLIs (the `computer.agents.*`
1304
+ workloads): Antigravity natively, Claude Code and Codex through its own adapters. No CLI is
1305
+ shipped with it.
1306
+ - **A provider's adapter can ask Actions as whom a call is for** (`connection.call`), beside the
1307
+ `headers` function that already heard it.
1308
+
1309
+ ## 1.0.0-rc.56 — 2026-11-18
1310
+
1311
+ A security fix: `runtime.bytes` no longer serves an outside actor what no rule speaks for. And the
1312
+ docs of the record and bytes.
1313
+
1314
+ **Security:**
1315
+
1316
+ - **`runtime.bytes` reads for an actor only where a rule speaks for them.** With `{ actor }`, it
1317
+ read under the rules, but a collection no rule speaks for has nothing to narrow, so it answered
1318
+ any actor, the anonymous one too: a route of the app's that didn't check who asked served such a
1319
+ collection's files to anyone. Now an actor (anyone but the system) reads only a collection a rule
1320
+ speaks for, and their scope (a key's) lists, as their own reads from outside do; elsewhere, and in
1321
+ `sys.*`, it's refused (`forbidden`). Without an actor, or as a grant, it reads as the system, as
1322
+ before. Chat's `/files/<id>` is unchanged for people and contacts; a key now needs
1323
+ `read: ["file"]` in its scope to fetch a file there. **Upgrading:** a route that passes
1324
+ `{ actor }` for a collection with no rule (`shared` or a `guard`) is now refused: check who asks
1325
+ in the route, then read as the system.
1326
+
1327
+ **Docs:**
1328
+
1329
+ - **Docs: the record and bytes.** AGENTS.md says what the record keeps and how to read it back, what
1330
+ stays out of it (`private`, `record: false`, keys), where large values go (blobs, kept once by
1331
+ hash, never deleted) and how a route serves one with `runtime.bytes`, once it has checked who
1332
+ asks. Stores, the business app's guide (pictures in a list), Build Compass chapter 36 and Events
1333
+ say the rest.
1334
+
1335
+ ## 1.0.0-rc.55 — 2026-11-18
1336
+
1337
+ What an app's first minutes ask of Copilotz: a welcome, a team people can shape, models chosen by
1338
+ budget rather than agent by agent, and keys of a person's own.
1339
+
1340
+ **Breaking, in small ways:**
1341
+
1342
+ - **Tiers are templates; agents hold no model where tiers apply.** Each agent does a kind of work
1343
+ (one of the app's: a tier's keys, titled by the new `tierKinds` resource; or the org's own), and
1344
+ the tier in force gives that kind its model chain. Agents people make do a kind too (`like`), no
1345
+ longer keeping a model of their own. `tiers.pick` and per-agent picks (`modelChoice.custom`) are
1346
+ gone: an org changes a tier's chain for a kind (`tiers.save`), for every agent of that kind. With
1347
+ no tier chosen anywhere, the app's first applies.
1348
+ - **`modelChoice.offered` answers by kind of work**: each tier's `kinds` (in place of `agents`),
1349
+ `kinds` with the app's agents of each, `removed`, and `now` as `{ tier, by }`. `modelChoice.agent`
1350
+ answers an agent's kind, the tier in force and its chain. The page prices a typical **message**
1351
+ where the app measured one (`typicalMessage`), else a reply.
1352
+ - **`agentsNamed` asks `agentSources` first**: a source's answer for one of the app's agents is an
1353
+ org's own version of it, over the app's.
1354
+
1355
+ **Which tier, and an org's own tiers:**
1356
+
1357
+ - **Every conversation runs on a tier**, the first that applies: the conversation's, the person's
1358
+ own default for new chats, the space's, the org's, the plan's (`tiers.choose { thread }`,
1359
+ `{ mine }`, `{ space }`, `{}`). Chat passes the conversation to `agentModel`.
1360
+ - **An org's tiers:** its version of one of the app's (a kind's chain, its name), new ones made from
1361
+ another (`tiers.save`), the app's taken away and put back (`tiers.remove`, `tiers.restore`), kinds
1362
+ of work of its own based on the app's (`tiers.kind`), and a cap on what its members choose
1363
+ (`tiers.cap`). A chain set by hand keeps the `maxTokens` and `effort` of the one it replaces.
1364
+ - **A typical message, measured** (`typicalMessage`: each agent's calls and tokens per message) and
1365
+ **what the plan gives** (`planCredits`, credits' new `billing.credits`): the tiers say what a
1366
+ message comes to, and how far the credits go. A ChatGPT-plan entry is priced at the next that
1367
+ costs something.
1368
+ - **On the web:** the org's Agents page (tier cards with each kind's model and fallbacks, Customize,
1369
+ New tier, the members' cap, and on Free how much faster a heavier tier spends), a tier picker
1370
+ beside the send button (chat's new `composerControls`), a space's default tier, and `tiers.setup`,
1371
+ a short choice for a new org. Every word is the app's (`tiers.<key>`).
1372
+
1373
+ **The org's team** (`@copilotz/team`):
1374
+
1375
+ - **Every org starts with the app's agents; its owners and admins shape them.** Changing one keeps
1376
+ the org's version under its name (`agent.update`); `agent.delete` takes it off the team (it leaves
1377
+ every space, joins no new one), `agent.restore` puts it back, `agent.reset` drops the org's
1378
+ changes. An agent made for the org (`in: "*"`) works in every space and joins new ones. Spaces
1379
+ seat the org's team as they're made.
1380
+ - **Making an agent starts from what it should do:** `agent.sketch` drafts its name, emoji,
1381
+ description, instructions and kind of work in one quick call (the app's `cheap` model), for the
1382
+ person to check; the form asks for a kind of work instead of a model where tiers apply.
1383
+ - **An agent proposes one** (`propose_agent`): its person is asked as chat asks for everything, and
1384
+ it's made only on their yes, where they could have made it themselves.
1385
+
1386
+ **A welcome, and keys of one's own:**
1387
+
1388
+ - **Chat's `welcome`:** steps an app and its front ends add (a View each, with roles and kinds of
1389
+ org), shown once per person per org over home, in a dialog; `/?welcome=1` shows it again
1390
+ (`chat.welcomed`, `welcome.seen`). Credits adds a plan step for a new team org (`billing.setup`),
1391
+ whose payment page comes back to the welcome (`billing.checkout`'s new `back`).
1392
+ - **A person's own API keys** (`modelKey.set { mine }`): any provider a key can be brought for; a
1393
+ model call for them uses theirs, then the org's, then the app's. The Connected accounts page lists
1394
+ them, and says where the org's tiers use each provider's models.
1395
+
1396
+ **Words:**
1397
+
1398
+ - **`sayText`** (`copilotz/web/words`): text the app's data holds, in the app's words where it gives
1399
+ them under `text.` and the English (a tier's description, a kind of work, an agent's description);
1400
+ else as it is. The tiers' and team's pages say them so.
1401
+ - **The tiers' prices follow the page's language** ("2,3¢" in Portuguese).
1402
+
1403
+ ## 1.0.0-rc.54 — 2026-11-17
1404
+
1405
+ What a business app's screens still asked of the toolkit and of e-mail, and the docs that show a
1406
+ coding agent how to build them.
1407
+
1408
+ **Changed:**
1409
+
1410
+ - **`Field`'s `controlWidth` is a share of the whole row** (label and control), as a grid column is,
1411
+ no longer of the control's column: `labelWidth="33.33%"` with `controlWidth="66.67%"` fills the
1412
+ row. Its token `field-row-control-width` is `1fr` by default.
1413
+ - **A `Page`'s header doesn't print**, as the toolkit's bars don't; `printHeader` keeps it.
1414
+
1415
+ **Dates:**
1416
+
1417
+ - **`DateRangePicker`** has typed From and To fields over its months, in the field's `format`: a
1418
+ date moves the range and the months, anything else is marked and changes nothing. A long range
1419
+ opens on its start's months. `time` gives each end a time of day. Apply and Cancel stay in view
1420
+ when the panel scrolls.
1421
+ - **`DateTimePicker`** and the day-time helpers take `YYYY-MM-DD HH:mm:ss`: a value's seconds are
1422
+ kept until its time is changed (a form saving a record's date unchanged dropped them), and
1423
+ `seconds` shows them in a field of their own.
1424
+ - **A popover with no room over or under its field** (a range's panel low in a short window) goes on
1425
+ the roomier side, as tall as that room, and scrolls inside: it no longer runs past the window's
1426
+ foot, so the range's Apply and Cancel stay in view.
1427
+ - **New exports:** `TimeFields` (a time of day's fields alone, the pickers' own; its value a
1428
+ `Clock`, `{ hour, minute, second? }`), `parseDay` (a day read back in a picker's `format`),
1429
+ `parsePattern` (a day read back by a pattern) and `partsOfDayTime`.
1430
+
1431
+ **Tables and fields:**
1432
+
1433
+ - **Fields in `DataTable` cells** fill their column and shrink with it, `Select` and the pickers
1434
+ without their minimum width there; `layout="fixed"` keeps columns at their `width`s.
1435
+ - **`detailOpen`** opens a table's detail rows: all of them (`true`, with no button) or those a
1436
+ function picks.
1437
+ - **A wide table no longer widens the page**: its screen-reader header words stay inside its scroll.
1438
+ - **`Select`, `Picker` and `MultiPicker` take `addon` and `addonEnd`**, as `Input` does.
1439
+ - **`FileInput`** takes its own words (`chooseLabel`, `changeLabel`, `removeLabel`) and a file
1440
+ already stored (`current`, removed by `onRemove`).
1441
+ - **`FileInput` wraps in a narrow column** (a phone, a table's cell): the name takes a line of its
1442
+ own, cut short, and its buttons' words wrap, so Remove no longer runs past the field.
1443
+ - **`RowsEditor`**: `add={false}` leaves out its add buttons; `removeIcon` and `removeLabel` set the
1444
+ remove button.
1445
+ - **`Avatar`** shows a picture picked but not yet sent (`blob:`, image `data:`), and
1446
+ `initial={false}` draws an empty box.
1447
+
1448
+ **Layout:**
1449
+
1450
+ - **`hidden` hides any toolkit piece**: a `Stack`'s or `Grid`'s own display no longer wins over it.
1451
+ - **`Screen`**: a frame that fills the window, centring what it holds and keeping a `footer` at the
1452
+ window's foot: a sign-in's card, a route's own page.
1453
+ - **`Page` `align="center"`** centres the title and description; **`Toolbar` `grow`** takes the room
1454
+ left (a search field).
1455
+ - **Icons:** `cart`, `gift`, `credit-card`, `piggy-bank`, `tags`.
1456
+
1457
+ **E-mail:**
1458
+
1459
+ - **The `sendmail` adapter** hands a message to a sendmail program (Postfix's, Exim's, msmtp's):
1460
+ `adapter: "sendmail"`, `sendmail: { path, args, timeout }`. It runs the program with arguments,
1461
+ never a shell, recipients after `--`. The e-mail plugin exports its MIME writer (`mime`) for an
1462
+ app's own adapter, and the writer refuses a line break in a header.
1463
+ - **Inline images:** an attachment with an `id` is inline, and the HTML shows it as `cid:<id>` (a
1464
+ receipt's logo, without a data address counting against the HTML's 500,000 characters). SMTP,
1465
+ sendmail and Resend send them.
1466
+
1467
+ **Docs:**
1468
+
1469
+ - **AGENTS.md has a business app's web front end:** the files (`plugins/<name>/web/`, one View per
1470
+ file, `web.tsx` only naming them), the names (`screen:`, `dialog:`, `panel:`), an app's own frame
1471
+ (`web.shell`), Views that read with `ctx.db` and handlers that call Actions, `ctx.show` in a
1472
+ View's body, where a form's errors come from, the toolkit first with no CSS, its pieces by job,
1473
+ short recipes, and the common mistakes.
1474
+ - **[A business app's screens](docs/guides/a-business-apps-screens.md)**, a new guide: the recipes
1475
+ in full, as files that compile: an app's frame and home of tiles, a list with search, filters,
1476
+ paging and exports, a form in a dialog, a View inside a View, dates, sign-in, a printed document,
1477
+ keyboard shortcuts, files and pictures.
1478
+ - **[The web toolkit](docs/guides/the-web-toolkit.md)** for rc.54: `Screen` for a sign-in or a
1479
+ route's own page; `Field`'s widths as shares of the whole row, and how to convert one from rc.53;
1480
+ the range's typed From and To, and why a typed range wants a pattern `format` (a function can't be
1481
+ read back); ends with times, a preset's `00:00` to `23:59`; seconds in day-times; `TimeFields` and
1482
+ the day-time helpers.
1483
+
1484
+ ## 1.0.0-rc.53 — 2026-11-16
1485
+
1486
+ **A page on `*.localhost` connects.** A page served on a `*.localhost` host (`shop.localhost`) now
1487
+ connects: Oxian 0.23.7 lets its socket use `ws://` to any `*.localhost` host, which browsers keep on
1488
+ the machine (RFC 6761). Before, such a page loaded and stayed blank. rc.50 already let `devSignIn`
1489
+ answer there.
1490
+
1491
+ ## 1.0.0-rc.52 — 2026-11-16
1492
+
1493
+ The web toolkit becomes a whole app's: what rebuilding a point of sale on Copilotz asked of it, in
1494
+ Copilotz's own look. A screen is made of the toolkit's pieces and writes no CSS. Its look is the
1495
+ app's theme, down to each piece's sizes. [The web toolkit](docs/guides/the-web-toolkit.md) is the
1496
+ new guide to all of it.
1497
+
1498
+ **Breaking, in small ways:**
1499
+
1500
+ - **`Card`'s `title` is its heading** (a node), no longer the HTML attribute. No caller passed one.
1501
+ - **The popover's width variable is `--popover-width`**, a token like any other (it was
1502
+ `--copilotz-popover-width`).
1503
+ - **A small `Select` is 36px tall**, as a small `Input` is, so fields side by side line up (it was
1504
+ 34px).
1505
+ - **`ctx.show` after a View returned throws**, saying to show the View in the View's body or with
1506
+ `LazyView`. A component that rendered later and called it got a part that never loaded.
1507
+ - **An `Input` with an addon** puts its `className` on the group.
1508
+
1509
+ **A look from the theme alone:**
1510
+
1511
+ - **`theme.tokens`**: tokens the same on light and dark screens (sizes, paddings, radii, weights),
1512
+ merged token by token as `light` and `dark` are.
1513
+ - **Every piece's look is tokens**: its sizes, paddings, radii, fonts and own colours
1514
+ (`button-height`, `table-stripe`, `dialog-head-background`…), each with Copilotz's value as its
1515
+ default. The guide lists all 546, and a test keeps the list whole. `className` stays as an escape
1516
+ hatch.
1517
+ - **The toolkit's styles stay over the page's base** wherever React puts them in the page (a page
1518
+ served without the web host had its buttons' text in the base's colour).
1519
+
1520
+ **Laying a screen out:** `Stack` (with `Spacer` and `Divider`), `Grid` and `GridItem`, `Toolbar`,
1521
+ `Split` (a main column beside an aside that stays in view: a register's cart and its summary),
1522
+ `ListGroup`, `Text` and `Heading`, on one spacing scale (`space-xs` to `space-2xl`). `Card` takes a
1523
+ heading: `title`, `icon`, `action`. Grids and splits stack by their own width, not the window's.
1524
+
1525
+ **Forms:**
1526
+
1527
+ - **`Button`**: `success`, `info` and `warning` variants, an `xs` size, and `block`.
1528
+ - **`Input`**: `addon` and `addonEnd`, segments joined outside the box (words, an icon, a button, a
1529
+ switch).
1530
+ - **`Field`**: `required`, a control as its child with `htmlFor`, and `layout="row"`, the label in a
1531
+ column beside its control, aligned on its text.
1532
+ - **New**: `Radio`; `Switch`, with words on and off if wanted; `TagsInput`; `Picker` and
1533
+ `MultiPicker`, a choice the app draws, with `search` for a long list; `FileInput`, the browser's
1534
+ file field drawn as the toolkit's, files dropped on it too; `RowsEditor`, a list of records edited
1535
+ as one form, a row of fields each.
1536
+ - **`Form` with parts**: each part joins its save with `useFormSubmit`, another plugin's View shown
1537
+ inside it too, handing values up or stopping the save with its reason.
1538
+ - **`Dialog`**: `placement="top"`, and `focus="dialog"` not to focus its first field.
1539
+ - `className` on `Menu` and `Autocomplete`, `justified` tabs, and tooltips at the `start` side.
1540
+
1541
+ **Tables:** `DataTable` lists rows with a toolbar (the screen's actions, a search box that folds
1542
+ case and accents, a column chooser, an export menu), headers that sort, rows to tick, details under
1543
+ a row, and pages. It pages rows it's given, or shows a page its View asked for, with the state kept
1544
+ in the address (`tableAddress(where, 25)`, `tableState`, `tableQuery`). `Pagination` stands on its
1545
+ own. Its files: CSV (with a BOM, and guarded against formulas), a real `.xlsx`, PDF, JSON, XML, TXT,
1546
+ SQL and the HTML `.xls`, with no dependency; `exportFile` makes them on a server too.
1547
+
1548
+ **Dates:** `DateRangePicker` (presets beside two months), `DatePicker` and `Calendar`, a keyboard
1549
+ grid. Days are `YYYY-MM-DD` in the app's time zone (`todayIn`), in the app's format (a pattern or a
1550
+ function), with month and weekday names in the page's language. `rangePresets` builds the presets by
1551
+ key, a fiscal year's included. `DateTimePicker` picks a day and a time of it. `LiveClock` shows the
1552
+ time now in a format and a time zone.
1553
+
1554
+ **An app's own bars:** `AppBar` (the brand, the places with their icons, the current one marked),
1555
+ `TopBar` (a thin strip: a clock, the company, the person), and `TileGrid`, a home page's places.
1556
+ **`toast()`** says a few seconds' word over the page from anywhere; the shell shows them, and an app
1557
+ without it renders `<Toasts />`.
1558
+
1559
+ **Icons:** every piece that takes an icon takes an app's own too: `<Icon drawing={…} />` (its paths,
1560
+ `rule: "evenodd"` for glyphs drawn that way) or `<Icon src="…" />`.
1561
+
1562
+ **Shortcuts and printing:** `useShortcuts` binds keys to a screen's commands, waiting while a dialog
1563
+ is open or someone types; `shortcutLabel` says them. A printed page leaves out the shell's frame and
1564
+ what only works on a screen (bars, toolbars, toasts, buttons); `NoPrint` and `PrintOnly` mark an
1565
+ app's own parts.
1566
+
1567
+ **Documents:** `documentPdf` draws a document as a PDF (text, lines, rectangles, barcodes; A4,
1568
+ letter, or a receipt's width) on a server too, and `Barcode` draws Code 128.
1569
+ **`copilotz/web/export`** has the toolkit's files without React: the tables' formats, `documentPdf`,
1570
+ and Code 128's bars.
1571
+
1572
+ **A route's own page:** `routePage(runtime, { title, body })`, from `copilotz/web/server`, answers a
1573
+ page made with the toolkit, in the app's theme and words: an import screen before anyone signs in, a
1574
+ password reset.
1575
+
1576
+ **Words:** the new pieces' words are the app's to change (`toolkit.*`), and Brazilian Portuguese
1577
+ says them all.
1578
+
1579
+ ## 1.0.0-rc.51 — 2026-11-16
1580
+
1581
+ **Phones.**
1582
+
1583
+ - **A voice message records on an iPhone.** The live waveform's bars are scaled to their level, not
1584
+ animated. Safari on iOS kept memory for every transition the bars started, many times a second,
1585
+ until iOS closed the page, within a minute of recording, and the recording with it.
1586
+ - **On a touch screen, Enter starts a new line in chat's composer**, as the keyboard's return key
1587
+ says, and the Send button sends (so does Enter with ⌘ or Ctrl, from a keyboard attached to it). On
1588
+ a computer, Enter still sends, and the hint about the keys shows only there.
1589
+
1590
+ ## 1.0.0-rc.50 — 2026-11-15
1591
+
1592
+ What rebuilding real systems on rc.49 asked of Copilotz: a retail point of sale (Open Source Point
1593
+ of Sale 3.3.9) and two client systems. Each gap was checked against the code first. What already
1594
+ existed is now documented where people look; what didn't is here.
1595
+
1596
+ **Breaking, in small ways:**
1597
+
1598
+ - **REST answers an app's own failure with a 4xx, not a 500.** `failure(code, message)` with a code
1599
+ of the app's (`linha_lotada`) answers its code's status, or 422, with its code, and its words as
1600
+ the caller may be told them. `failure(code, message, { status })` picks the status (400 to 599).
1601
+ Errors with no code, and the runtime's own faults, stay a silent 500. Plugin routes keep a 500, so
1602
+ webhook providers still retry.
1603
+ - **`TransactionScope` has `call`, and `Context` has `describe()`.** Only code that builds a fake
1604
+ scope or context in its tests has to add them.
1605
+ - **What the public reads, everyone reads.** A space with the public as a viewer is read, read-only,
1606
+ by people, contacts, agents and keys that aren't its members (they used to see less than someone
1607
+ signed out). It isn't listed among their spaces.
1608
+ - **WhatsApp: what people say to a customer reaches their phone** (see below). A message said to a
1609
+ whole WhatsApp chat (`to: []`) by a person now goes to the phone. In a chat the desk took over,
1610
+ `chat.say` without `to` goes to the last person who wrote there, so app code says
1611
+ `to: ["contact:<id>"]`.
1612
+ - `ConversationView.view` is optional (an entry can be a `beforeSend` alone).
1613
+
1614
+ **Another plugin's work in the same commit.** An Action declared `atomic: true` (it only reads,
1615
+ writes, emits and schedules) can be called inside another plugin's transaction:
1616
+ `tx.call(action,
1617
+ input)`. Its reads see the transaction's writes; its writes, events and timers
1618
+ commit with it, or not at all; its own `ctx.transaction` joins; it may call only other atomic
1619
+ Actions; a stream, a fetch or a worker inside it throws. A recorded one's `action.started` and
1620
+ `action.completed` commit with the writes, so a retry after a rollback runs it again and a retry
1621
+ after a commit answers from the record. Each op is on record as its own Action's, with its own
1622
+ actor. A sale, its payments, its stock, a gift card's debit and reward points are one commit now.
1623
+ When an effect may come later, the outbox stays the pattern: emit in the transaction, and an
1624
+ idempotent Processor reacts (docs/architecture/the-owner.md).
1625
+
1626
+ **A transaction waits for a slow op.** The 5 seconds after which a held transaction rolls back now
1627
+ count only while it waits on its own code: an op slower than 5 seconds, or one waiting for the
1628
+ store's writer behind another transaction, no longer closes its own transaction ("The transaction is
1629
+ closed.").
1630
+
1631
+ **Code can see what the app declares:** `ctx.describe()`, the same as `runtime.describe()`
1632
+ (collections and their schemas, Actions, Views, resources). An optional call to another plugin's
1633
+ Action asks `ctx.describe().actions[name]` first.
1634
+
1635
+ **Text search in filters: `$regex`.** `{ name: { $regex: "joão", $options: "i" } }` works in every
1636
+ filter (reads, counts, `$match`, updates and deletes, rules, Processors' `where`, REST and the
1637
+ browser's reads) and on every store alike. It's the part of JavaScript's patterns every store reads
1638
+ the same way (classes, groups, `|`, `^` and `$`, quantifiers up to 255; `i` folds case as JavaScript
1639
+ does, so `joão` matches `JOÃO`; `s`), matched in linear time, so a caller's pattern can't stall the
1640
+ app; backreferences, lookarounds and `\b` are refused as `invalid`. Escape typed text with
1641
+ `RegExp.escape`. Accents aren't folded: search a folded copy of the field (stores/README.md).
1642
+
1643
+ **Chat and history read by indexes.** A thread's messages, its summaries, a space's recent chats,
1644
+ the questions waiting on someone and an agent's replies elsewhere are read by indexes declared on
1645
+ `message`, `thread`, `file` and `summary`: about 10 to 40 times faster at 30,000 messages. SQL
1646
+ stores now look an `_id` up by its key wherever a filter has it (inside `$and` and `$or`, as a
1647
+ person's reads come), and PostgreSQL's updates and deletes use declared indexes as reads do. A
1648
+ database made before builds the new indexes when it starts (on PostgreSQL, writes wait for them).
1649
+ `message.questions` takes `threads`, and finds questions older than the latest 20 too.
1650
+
1651
+ **Sign-in by username and password.** `passwordSignIn` (from `copilotz/plugins/access`), for staff
1652
+ and back-office apps whose accounts an admin or an import makes: `password.set`, `password.import`
1653
+ and `password.remove` (trusted code's), `password.sign-in` and `password.change`, routes under
1654
+ `/signin/password`. An identifier is a username, a badge number or a CPF: read without spaces or
1655
+ case, and without what `ignore` lists (`".-/"`). It shares email sign-in's hashing, limits and
1656
+ sessions, and the sign-in page offers it.
1657
+
1658
+ - **bcrypt hashes move in.** `$2a$`, `$2b$` and `$2y$` hashes (costs 4 to 15) verify through
1659
+ `email.import` and `password.import`, and are hashed again Copilotz's way at the first sign-in.
1660
+ Blowfish is in TypeScript, checked against published vectors; no new dependency.
1661
+ - **Sign-in by a code.** `emailSignIn.signInByCode`: "Email me a code instead" signs in with a
1662
+ 6-digit code (`email.code`, `email.enter`), and confirms the address.
1663
+ - **Per brand.** `emailSignIn.hosts` says, by the host the page was served on, the app's name, its
1664
+ sender, its messages' words and where its links go; `email.invite` takes the host.
1665
+
1666
+ **Email over SMTP.** The `email` resource's `adapter: "smtp"`
1667
+ (`smtp: { host, port, secure,
1668
+ starttls, user, password }`) sends over TLS from the start or by
1669
+ STARTTLS, on Node, Deno and Bun (not workerd). `email.send` takes `from` (the resource's, or one its
1670
+ `senders` allow), `replyTo` and `attachments` (`{ filename, contentType, content }`, base64, up to
1671
+ 10 and 10 MiB), through Resend too.
1672
+
1673
+ **Memberships until a time.** `member.set` takes `until`: reach ignores the membership after it, and
1674
+ a timer removes it then. Trusted code may seat a person directly with `member.set`.
1675
+
1676
+ **Secrets, documented.** A collection's `private` fields never reach the log or an actor's reads:
1677
+ that's where a secret goes. Settings kept as keys and values keep their secrets in a collection of
1678
+ their own, with `private: ["value"]`.
1679
+
1680
+ **The web.**
1681
+
1682
+ - **The sidebar folds to a rail.** The button at its top, ⌘B (Ctrl+B elsewhere) or "Collapse
1683
+ sidebar" in the palette folds it to a rail of icons, and back; the browser keeps it as each person
1684
+ left it, and phones keep the drawer. A `sidebar` entry may name a `rail` View; chat, spaces and
1685
+ invitations have one, and the org switcher sits on the rail (`OrgsSlot.rail`; the directory's
1686
+ `orgs.rail`). The `shell` resource (`{ sidebar: "rail" }`) starts it folded. The toolkit has
1687
+ `RailItem`, `side: "end"` on tooltips and popovers, and `shortcut` on `IconButton`.
1688
+ - **Brazilian Portuguese out of the box.** `ptBR`, from `copilotz/web/pt-br`, first among the page's
1689
+ plugins, says every word of the front ends and of the sign-in page in Portuguese, Copilotz's pitch
1690
+ too. An app's own words after it have the last word.
1691
+ - **An app puts words in the composer, and acts before it sends.** `handDraft(thread, text)`, from
1692
+ chat's contract. A `conversation` entry's `beforeSend(sending, call)` runs before the box sends
1693
+ anything: `false` holds the message, and a throw shows its words over the box.
1694
+ - **The first load after a restart no longer leaves the page blank.** A page whose ticket the server
1695
+ refuses before it's in asks for a new one (3 in all).
1696
+ - **Phones.** A link followed from the sidebar's drawer closes it at once, and a page on its way
1697
+ shows a thin bar at the top while it loads (the one before stays until it's ready). The shell, its
1698
+ drawers and the command palette keep clear of the screen's safe areas (status bar, notch, home
1699
+ indicator), so an installed web app no longer draws its header under the status bar.
1700
+ - `*.localhost` names are this machine's (RFC 6761): a page on `http://acme.localhost:8100` is no
1701
+ longer refused as another site, and dev sign-in answers there.
1702
+
1703
+ **WhatsApp.**
1704
+
1705
+ - **What people say to a customer reaches their phone.** Someone at the desk taking a chat over
1706
+ (`chat.send` with `to: ["contact:<id>"]`, or to the whole chat), the app's `chat.say`, and a
1707
+ teammate writing to a linked person are sent, with their files, once. What's private, or said to
1708
+ an agent alone, stays in the app. A customer quoting such a message answers its sender.
1709
+ - **Templates, for after Meta's 24 hours.** Declare them
1710
+ (`whatsappTemplates: { reminder: { name,
1711
+ language, body } }`) and send one with
1712
+ `whatsapp.template` (people, agents for them, keys, app code). The plugin knows when each phone
1713
+ last wrote: a message past the 24 hours goes as the number's `fallback` template (`{name}`,
1714
+ `{text}`), or fails once as `window_closed` before Meta is asked. Meta's own refusal for it
1715
+ (131047) gets the same fallback.
1716
+
1717
+ **Documented, not built:** a View's handler asks a query through an unrecorded Action; a report's
1718
+ queries hang on a collection of its own; starting a runtime over is closing it and creating another.
1719
+
1720
+ ## 1.0.0-rc.49 — 2026-11-13
1721
+
1722
+ **Breaking: hosted computers and apps are Compass's, not Copilotz's.** `cloud`, `cloudPool`,
1723
+ `remotePool`, `apps`, `cloudWeb`, `appsWeb` and their hosts (`gceHost`, `localHost` and
1724
+ `createLocalHost`, `cloudRun`, `cloudRunHost`, `localApps`) are no longer in
1725
+ `copilotz/plugins/compute` or `/web`, nor their contracts in `/contract`: a hosting model (Google
1726
+ Cloud's, `*.copilotz.app`) and its prices are one product's (see design/plugins.md). Compass keeps
1727
+ them, with the same names, so its data and routes don't change.
1728
+
1729
+ Computers people connect stay, as standard plugins, with the computer program and its downloads
1730
+ (`computers`, `computersWeb`, `computersTerminal`, `computerDownloads`), and so do connected
1731
+ accounts (`accounts`, `accountsWeb`); their reference pages are now published.
1732
+
1733
+ - **The program's pool mode** (`computer pool`, what a hosted computer's VM runs) is part of
1734
+ computers' contract: `POOL`, `POOL_KIND`, `PoolAssign` and `PoolRelease`, from
1735
+ `copilotz/plugins/compute/contract` (they were cloud's). Its code is a new entry point,
1736
+ `copilotz/plugins/compute/program` (`startPool`), for an app's local VMs and tests.
1737
+ - **Google's tokens** stay: `googleToken`, and now `verifyIdentityToken` (who a Compute Engine VM
1738
+ is), from `copilotz/plugins/compute`.
1739
+ - Computers' contract also has `TerminalResult` (what a `terminal` call answers), and
1740
+ `copilotz/testing` has Oxian's `createWorker`, so an app's tests fake a computer on the same Oxian
1741
+ as its runtime.
1742
+ - `scripts/cloud/` (setting up Google Cloud for cloud computers) went with them.
1743
+
1744
+ ## 1.0.0-rc.48 — 2026-11-13
1745
+
1746
+ - **Oxian 0.23.6:** each end of a worker connection keeps about 70 bytes per finished stream instead
1747
+ of about 170, for the connection's life (its handoff, at about 49,000 streams). A public MCP app,
1748
+ whose Hypervisor and worker share a process, keeps about 0.2 MiB less heap per 1,000 calls.
1749
+ - `copilotz/testing`'s `host()` on Deno loaded Oxian 0.23.4's adapter beside the runtime's own
1750
+ Oxian; it now names the same version.
1751
+
1752
+ ## 1.0.0-rc.47 — 2026-11-13
1753
+
1754
+ (rc.46 was tagged but never published: a file wasn't formatted, and a test read Windows line endings
1755
+ as part of the text. This is it.)
1756
+
1757
+ **Breaking: what an agent may say is bounded by who will see it.** The old labels (marks on answers,
1758
+ hidden until shared) are gone, along with the `share` Action, `needs_share`, message `sources`, the
1759
+ "Uses … Not everyone here can see it." notice and `/share`. In their place:
1760
+
1761
+ - **The bound.** An agent's work reads only what both its asker and its destination reach: a space
1762
+ and what it draws on; a customer's chat, what that customer reaches; its person's own Personal
1763
+ space, all they reach. Its answer there shows nobody what they couldn't see, so nothing is ever
1764
+ hidden once written. The turn's agent carries its conversation (`thread`), and so does a tool
1765
+ acting as its agent's person.
1766
+ - **Going wider asks first.** Writing anywhere whose readers don't all reach that bound (a Personal
1767
+ space's agent posting in Launch, a team's agent writing into a customer's chat, handing work to
1768
+ another space) is refused with `needs_approval` (`to`, `named`), and the turn asks its person:
1769
+ "May I post this to Launch? Its 12 members will see it.", yes this once, for this conversation,
1770
+ for the routine that set it going, or no; never always. On a yes it runs again. Don't catch
1771
+ `needs_approval` in a tool: let it through.
1772
+ - **One ask for every plugin, in chat** (`approval`, `grant`, `chat.approve`, `chat.forgetGrant`):
1773
+ each ask says which answers it takes. Computers use it (`computer.approve` and
1774
+ `computer.forgetGrant` are gone); their stored asks and yeses move over on the first start
1775
+ (`computer.upgradeAsks`).
1776
+ - **Answers handed back** from another space ask "Post here" / "Send it to me only" where that
1777
+ space's people don't all reach what the work drew on; from a Personal space they never ask. Work
1778
+ handed over from inside a customer's chat is refused: staff use its notes.
1779
+ - **In front of a customer,** trusted code going beyond its caller runs only in an Action a contact
1780
+ may call, or the app's own (no `allow`), recorded or not. A tool that goes past its caller,
1781
+ offered to a contact or the public, is a declassifier: scope it to them (AGENTS.md).
1782
+ - **A space drawing on another may let its contacts read it:** `member.set` with `contacts: "read"`
1783
+ (read only, one level), for a catalog or policies a line's customers may see.
1784
+ - **Staff notes** beside a customer's chat (`<chat>:notes`, `chat.notes`): the team works with its
1785
+ agents there, with the space's reach; the customer never sees it; a reply goes over as the
1786
+ person's own message.
1787
+ - **Moving a conversation names what it shows:** "Everyone in Launch (12) will see this whole
1788
+ conversation. It drew on Squad 1 and Finance." (`thread.moving`), from what its agents' messages
1789
+ record they drew on (`drew`: a record, never a gate, and only spaces their readers reach).
1790
+ - **The public:** `{ kind: "public" }` (`publicCallers`) reads only the spaces that have it as a
1791
+ viewer, and writes nothing; a call with no actor is still no one.
1792
+ - **Migration, by itself on the first start:** `chat.unmark` moves what the old marks kept hidden:
1793
+ in a Personal space they become `drew`; in a customer's chat, the message moves to its staff
1794
+ notes; elsewhere, to the Personal space of whom it answered, leaving a placeholder. One log line
1795
+ of counts. `deno task unmark --dry-run` rehearses it against a database, writing nothing. Until it
1796
+ has run, a contact reads nothing that still carries the old marks.
1797
+ - **What code writes is kept as what happened, and said in the reader's words.** A line where a
1798
+ reply went (the migration's placeholders; an answer handed back that went to its asker alone, or
1799
+ stayed) is a message's `held` (`{ for: <person> }`, or `{}`), with no text. Staff notes and what
1800
+ was held from a chat keep that chat's title as it is, `about` and `held: { from }` saying what
1801
+ they are. A share's or a hand-back's ask keeps where and to how many, not a sentence. Views say
1802
+ them in chat's words (`chat.heldMoved`, `chat.notesOf`, `chat.heldFrom`, `chat.askPost`…), English
1803
+ by default, names as they are when read; the asks' cards, the sidebar's waiting list and the
1804
+ terminal's notice take every word from there. Agents are told them in English.
1805
+ - **Runtime:** a declared schedule may run `once` (on the first start with it); a failure's `detail`
1806
+ reaches its caller; operators call `isMaintenance` Actions at
1807
+ `POST /maintenance/actions/<action>`.
1808
+ - **Less memory for the same app.** The docs app's shape (an MCP server with 3 tools, on the memory
1809
+ store), started, after a full GC: Deno 2.9 106 → 90 MiB RSS and Node 24 134 → 103 MiB, with 7 MiB
1810
+ less heap, when it imports each plugin from its own entry point.
1811
+ [Memory](docs/operations/memory.md), a new page, says how to run an app in a container of 512 MiB
1812
+ or less, with what each setting saves:
1813
+ - **The model catalog loads the first time a model is resolved,** not with the models plugin. An
1814
+ app that never calls a model saves about 5 MiB of heap; one that does sees no change.
1815
+ - **SQLite keeps a 2 MiB page cache per connection and maps nothing into memory,** where it kept
1816
+ 64 MiB and mapped up to 256 MiB: 15 to 40 MiB less at its peak over 1,000 calls.
1817
+ `cacheKiB: 65_536, mmapMiB: 256` gives the old sizes back.
1818
+ - **Copilotz needs Deno 2.9 or later.** On an older Deno, the SQLite store says so when it opens,
1819
+ instead of failing at its first read ("column index out of range").
1820
+ - **The read cache's size** is `createRuntime({ cache: { documents, queries } })` (10,000 and
1821
+ 1,000 by default); 1,000 and 100 kept 3.5 MiB less heap over 1,000 calls.
1822
+ - **V8's young generation, capped** (`--max-semi-space-size=2` on Node,
1823
+ `--v8-flags=--max-semi-space-size=2` on Deno), took 55 to 110 MiB off the peak over 1,000 calls.
1824
+ - The suite holds the docs app's shape to a memory budget on Deno and Node
1825
+ (`bench/memory/budget.test.ts`).
1826
+ - **A public MCP server keeps nothing** (`public: true` on `resources.mcp.<name>`, for a docs
1827
+ site's): each call runs its tool as the public, with no contact, chat, step, receipt or event. It
1828
+ lists only the tools that only read (`annotations.readOnly`), with no `chat` handle, and reads
1829
+ what the spaces that have the public as a viewer hold. Calls are limited at once, a minute by
1830
+ address (as the `caller` front says it, else the socket) and on the whole server (`ipPerMinute`,
1831
+ `linePerMinute`), in memory of a fixed size, and stopped past `timeout`. The docs app's shape,
1832
+ 1,000 calls without a handle: from 5 documents and 17 events a call to none, from 31.7 KB of heap
1833
+ 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
1834
+ to 113). A tool offered there that goes past the public's reach is a declassifier (see the `mcp`
1835
+ reference).
1836
+ - **New entry points, one per plugin:** `copilotz/plugins/agents/<name>` (`chat`, `history`,
1837
+ `memory`, `skills`, `routines`, `openapi`, `webtools`), `copilotz/plugins/access/<name>`
1838
+ (`spaces`, `identity`, `contacts`, `google`, `email`, `dev`, `accounts`) and
1839
+ `copilotz/plugins/interfaces/<name>` (`mcp`, `api`, `whatsapp`, `voice`), on npm and JSR. Each
1840
+ loads its plugin alone; the themes' entry points stay as they were.
1841
+
1842
+ **The Copilotz agent plugin.** Coding agents can install a `copilotz` skill (`skills/copilotz/`:
1843
+ setup, the offline test loop with the scripted model, the rules, the audience rule included) with
1844
+ `npx skills add copilotzhq/copilotz`, or as a plugin: Claude Code (`.claude-plugin/`), Agent Plugins
1845
+ (`plugin.json`, read by Codex, Cursor and Copilot CLI) and Gemini CLI (`gemini-extension.json`). The
1846
+ docs over MCP come in a later change, once they're live: no manifest wires a server before then.
1847
+ `testing/skill.test.ts` checks the skill's imports, docs slugs, links and commands, and that the
1848
+ manifests agree; the release script now sets their versions too.
1849
+
1850
+ ## 1.0.0-rc.45 — 2026-11-12
1851
+
1852
+ - **AGENTS.md, a guide for coding agents.** Claude Code, Codex, Cursor or Gemini building an app
1853
+ with Copilotz finds it in the package (`node_modules/copilotz/AGENTS.md`, and in
1854
+ `@copilotz/copilotz` on JSR): how Copilotz works, how to set up a project and test it offline with
1855
+ a scripted model, the rules the docs insist on, and links to the docs' pages as Markdown. It has
1856
+ each project keep an `AGENTS.md` of its own, with a `CLAUDE.md` that imports it.
1857
+ `testing/agents-md.test.ts` checks that what it imports, links and installs is there, and the npm
1858
+ smoke test that the installed package has it.
1859
+
1860
+ ## 1.0.0-rc.44 — 2026-11-12
1861
+
1862
+ (rc.43 was tagged but never published: a file wasn't formatted. This is it.)
1863
+
1864
+ - **The app opens in Firefox again.** Once its service worker was installed, every page load
1865
+ answered `{"error":"Not found"}`: the worker passes a page's own request on, and Firefox sends
1866
+ that as `Sec-Fetch-Mode: same-origin` rather than `navigate`, which the page took for a script's
1867
+ `fetch`. A request whose destination is a document (`Sec-Fetch-Dest: document`, or `iframe`) is
1868
+ now a page too, so browsers that already have the worker are fixed by the server alone; a script's
1869
+ `fetch` still gets a 404.
1870
+
1871
+ ## 1.0.0-rc.42 — 2026-11-11
1872
+
1873
+ (rc.41 was tagged but never published: a test failed on Node. This is it.)
1874
+
1875
+ - **In a person's own Personal space, what its agents drew on from elsewhere no longer gets in the
1876
+ way.** Only that person is there, and they see every space their agents read for them:
1877
+ - **Agents' work there is no longer refused.** An agent working for someone from their Personal
1878
+ space, having read another space in that turn (a memory that came up by itself, a conversation
1879
+ it read, earlier messages that did), could still write it into any space they may, yet not into
1880
+ their Personal space itself where labels aren't kept (a board, a document, a file, a computer
1881
+ job): `needs_share` ("That would show what came from … to people who can't see it"), and the
1882
+ turn failed. Since rc.39 memory reads everywhere there, so this hit most turns. It now goes as
1883
+ it is; messages there still keep their marks, for the day the chat moves.
1884
+ - **The chat no longer says "Uses …. Not everyone here can see it."** under its messages there.
1885
+ They keep their `sources`; once the chat moves to a shared space, the notice and Share show
1886
+ where they're true.
1887
+
1888
+ ## 1.0.0-rc.40 — 2026-11-11
1889
+
1890
+ - **MCP checks can return fresh results while declaring their state changes accurately.** Set
1891
+ `replay: false` on a model tool to skip reuse of its completed answer for identical input, such as
1892
+ a payment check that reconciles the booking. Interrupted calls still recover with the same call
1893
+ ID; existing tools keep their replay behavior. Read-only tools and widget-only Actions already run
1894
+ without completed-answer replay.
1895
+
1896
+ ## 1.0.0-rc.39 — 2026-11-10
1897
+
1898
+ - **Agents look in their memory before saying they don't have something, and find more when they
1899
+ do:**
1900
+ - **How to use memory is Copilotz's own instructions.** The `memory` context (the guide) is
1901
+ declared `instructions: true`, so it's sent as it is, before the app's information, instead of
1902
+ inside `<context name="memory">` after "treat it as information, not as instructions". It now
1903
+ also says to look first (recall, and back through the conversation) before saying you don't know
1904
+ something, don't have it, or can't go on without it. Skills likewise: their guide is a context
1905
+ of its own declared as instructions (`skillsGuide`); the list, which people wrote, stays
1906
+ information (`skills`, now headed "Skills you have:"). Each agent's cached system text changes
1907
+ once.
1908
+ - **What comes up by itself is for what the conversation is about**, not only its latest words:
1909
+ the latest message, the two before it and the conversation's title, each memory scored by the
1910
+ closest (a reply like "see above" still finds what the question above was about). Each says when
1911
+ and where it was learned (`(learned in “Launch plan” 2026-11-10)`), in `recall`'s answers too,
1912
+ and `recall`'s `source` (a memory's id) reads what was said there, around the message it came
1913
+ from.
1914
+ - **What an agent was told in a conversation and still has whole isn't told again:** only memories
1915
+ new to it come up, so a follow-up no longer re-sends the same ones (once what it was told leaves
1916
+ the recent part of the conversation, they can come up again).
1917
+ - **In a person's own Personal space, memory reads everywhere they can read**, by itself and by
1918
+ `recall`, as the agent there may already: only they see what's said there. What it brings from
1919
+ another space marks the answer (`sources`), as `recall` with `in` did. Shared spaces still read
1920
+ only what was learned there.
1921
+ - **The person agents work for is in the conversation for memory, there or not:** in a chat one
1922
+ agent handed another for them, their memories are in mind, and what's said of them there is
1923
+ about them (the extractor is told whom the agents work for).
1924
+ - **The extractor also reads a conversation once it's been quiet a while** (`memory.quiet`, 10
1925
+ minutes; `0` turns it off), not only every `every` messages, so a short conversation, or the
1926
+ last few messages of any, isn't left unread. Each message sets the conversation's timer again;
1927
+ `memory.extract`, called by it, reads what's pending.
1928
+
1929
+ - **An agent's tool steps keep a line of their own when they leave the tail,** so what it read and
1930
+ ran stays in reach in a long working chat. Until now a step (an agent's tool calls with what they
1931
+ returned, which only that agent is sent) left the tail without a line: zoom couldn't reach it and
1932
+ `read_conversation` leaves steps out, so what an agent learned from a tool and didn't repeat in a
1933
+ reply was gone for it. Now each step that leaves is a line in a tree of its agent's own in that
1934
+ thread: written as the thread's are (one as it is when short, else by the summarizer from the
1935
+ step's start and end), merged in pairs, within the outline's budget, and committed with the
1936
+ thread's lines, so a prompt's start still changes once a cut. Only that agent is sent its lines,
1937
+ among the thread's by when they were written (`s12+4|…`), and `zoom` opens them the same way
1938
+ (`zoom("s12", 4)`), down to the step whole; another agent's are no line of its own to open.
1939
+ `summary` documents of a step's tree say whose (`agent`), and the `outline` keeps each agent's
1940
+ lines (`steps`). Steps that left before this have no line.
1941
+
1942
+ ## 1.0.0-rc.38 — 2026-11-10
1943
+
1944
+ - **MCP 2026-07-28 cacheable results, widget read schemas, cross-origin MCP lines, and
1945
+ `/.well-known/`:**
1946
+ - `resources/list`, `resources/templates/list` and `resources/read` now include `ttlMs` and
1947
+ `cacheScope` on MCP `2026-07-28` (`CacheableResult`), and handshake versions (`2025-11-25` and
1948
+ earlier) omit them on `tools/list` and resource results where `CacheableResult` does not exist.
1949
+ - Widget tool inputs (`_reads` and `copilotz_read`'s `reads`) now declare their `items` object
1950
+ schema so strict MCP clients accept `tools/list` when widgets are enabled.
1951
+ - Stateless routes (`Route.crossOrigin`) enforce their own `Origin` rules without reading session
1952
+ cookies, so an MCP line's `origins` (including `"*"`) answers browser preflights (`OPTIONS`) and
1953
+ cross-origin `POST`s with CORS headers while keeping no-browser-origin (`403`) as the default.
1954
+ - `webPage`'s `/*` catch-all leaves `/.well-known/*` as `404` when no plugin serves a route there,
1955
+ instead of answering discovery probes with the HTML page.
1956
+ - **A person's next message answers the question an agent waits on them for,** as the web says it
1957
+ does ("Waiting on your answer: your next message replies"). `chat.send` finds it when a message
1958
+ names none (`replyTo`): the newest question to its sender in that chat that an agent still waits
1959
+ on; else one asked of them elsewhere by an agent whose turn waits in that chat, so what they tell
1960
+ it there resumes that turn instead of starting a second one beside it. Never for a message sent
1961
+ for them (`via`: a routine's), nor to an agent it doesn't go to (`to`, `@mentions`). Until now
1962
+ only WhatsApp found it (its own lookup is gone; a quoted message still names what it answers): on
1963
+ the web, an answer in the chat an agent opened to ask went to nobody, and the asking turn, with
1964
+ whatever waited on it (an answer to hand back to another space), never resumed.
1965
+
1966
+ ## 1.0.0-rc.37 — 2026-11-10
1967
+
1968
+ **Upgrading.** The web shell says nine new words, which an app in another language gives under
1969
+ `shell.<key>` (its words test names any it lacks): `yourName` ("Your name"), `addYourName` ("Add
1970
+ your name"), `nameAbout` ("How people and agents here see you."), `nameLabel` ("Name"), `nameEmpty`
1971
+ ("Leave it empty to go by your email."), `nameNotSaved` ("Your name wasn't saved. {reason}"),
1972
+ `nameTryAgain` ("Your name wasn't saved. Try again in a moment."), `cancel` ("Cancel") and `save`
1973
+ ("Save").
1974
+
1975
+ - **A person names themselves** (`person.rename` `{ name }`, identity's). Only a person, for
1976
+ themselves, in person: never a contact, a key, an agent or a routine, and there's no one else to
1977
+ name. The name is one line (spaces, tabs and breaks in a row are one space), trimmed, 80
1978
+ characters at most (said plainly past that); empty, it's cleared, and they have none. It's what
1979
+ everyone sees of them: their menu, home's greeting, the people beside them in a space, agents'
1980
+ prompts (the spaces plugin's profile follows it, else their email's name, as before).
1981
+ - **Sign-ins keep the name a person chose,** or their having none: Google's sign-in, email's, and
1982
+ the system's `person.set` (a directory's handoff into an org) no longer set it back. Until a
1983
+ person chooses (their record's `named`: when they last did), sign-ins keep their name current as
1984
+ before.
1985
+ - **The person's menu opens with their name,** "Your name" ("Add your name" with none), in a dialog:
1986
+ the field holds it, selected, so typing replaces it; Enter saves; a live preview shows how they'll
1987
+ appear; while it saves the field waits; a refusal is said under it and the dialog stays. So the
1988
+ menu is always a menu now, with or without front ends' entries.
1989
+ - **The new name shows at once, everywhere, without reloading:** in this tab and their others. The
1990
+ web host keeps the page's viewer as the person's own record says (it watches it: their name and
1991
+ email), and draws again when it changes; Views read it as before (`ctx.viewer.label`).
1992
+ - **No name, no id:** with none, the menu shows the person's email (`ctx.viewer.email`, new, from
1993
+ identity's `/me`), and home greets them plainly ("Good morning"). An app whose ids aren't names
1994
+ (`01JD3X…`) showed the id in both.
1995
+
1996
+ ## 1.0.0-rc.36 — 2026-11-10
1997
+
1998
+ **Upgrading.** Chat has two tools of its own, `list_conversations` and `read_conversation`, for the
1999
+ agents that list them in their `tools`. An app that made its own tools under those names drops them
2000
+ and lists chat's, which do the same and take a space. A Personal space's agents now write elsewhere
2001
+ for their person without labels from there (below): an app that relied on that refusal says so in
2002
+ its own rules.
2003
+
2004
+ - **Agents work under the authority of whoever asked** ([design](design/work.md), "Authority"). In a
2005
+ person's own Personal space, where only they read the answers, their agents reach every space they
2006
+ do, and now act there too. That makes the Personal chat a chief of staff:
2007
+ - **Tools take a space** (`in`, its id, which the `elsewhere` context lists): `list_conversations`
2008
+ and `read_conversation` (new, chat's own), boards (`list_boards`, `read_board`, `create_board`,
2009
+ `create_card`, `update_card`, `move_card`), documents (`list_documents`, `read_document`,
2010
+ `write_document`, `append_document`, `edit_document`), routines (`schedule_routine`,
2011
+ `list_routines`, `cancel_routine`: a routine kept elsewhere starts a new conversation there each
2012
+ run) and `recall`, as before. From a shared space they work only there and in what it draws on,
2013
+ and say so (`workIn`, in the agents' contract, for apps' tools).
2014
+ - **`send_message` takes `thread`:** a conversation that's there already, in this space or any
2015
+ other the person can write in. Who answers there gets it (`to`, or the conversation's own
2016
+ agent), it says where it came from, and the answer comes back, as a hand-over's does.
2017
+ - **What they write elsewhere is the person's:** work for someone from their own Personal space
2018
+ takes no labels from there (`labels.write`, `ownPersonal`). Before, everything an agent wrote
2019
+ from Personal into a space others see was refused (`needs_share`), even a card the person asked
2020
+ for. What's written in the Personal space itself keeps its marks (its conversation may move),
2021
+ and labels guard shared spaces and contacts' chats as before.
2022
+
2023
+ ## 1.0.0-rc.35 — 2026-11-09
2024
+
2025
+ **Fixed: a retried call's nested calls.** A call run again under its id (a retry after a failure or
2026
+ a stop) looked up its own nested recorded calls without its actor. In a person's or contact's job
2027
+ the runtime then refused the lookup ("This job can't act as that"), and the retry failed. It now
2028
+ asks as whom the call works for. This affected any person or contact Action retried after it made a
2029
+ nested recorded call, and retried Processor deliveries; it has been so since the authority checks.
2030
+
2031
+ The MCP line's tests now wait for what they assert rather than for fixed times (they flaked on macOS
2032
+ runners). Nothing to do when upgrading from rc.34.
2033
+
2034
+ ## 1.0.0-rc.34 — 2026-11-09
2035
+
2036
+ rc.33, released whole. rc.33's publish stopped before npm: packing its tarballs, npm took `dist/npm`
2037
+ for a GitHub repository. JSR has `@copilotz/copilotz@1.0.0-rc.33`, and nothing else has rc.33. This
2038
+ release is rc.33's code, with the publish workflow's paths starting with `./`. Upgrading from rc.32
2039
+ is as rc.33 says, below, with each version 1.0.0-rc.34.
2040
+
2041
+ ## 1.0.0-rc.33 — 2026-11-09
2042
+
2043
+ **Upgrading.** Copilotz's product plugins are packages of their own, released with it at its version
2044
+ ([design](design/plugins.md)). Their names (collections, Actions, events, Views, routes, resources)
2045
+ are as they were, so an app's data stays as it is: only its imports change.
2046
+
2047
+ - `copilotz/plugins/work` → `@copilotz/work`, and `copilotz/plugins/work/web` →
2048
+ `@copilotz/work/web`.
2049
+ - `copilotz/plugins/access`'s `directory` (with `Operations`, `OrgInfo`…) → `@copilotz/directory`;
2050
+ the directory's browser half in `copilotz/plugins/access/web` (`useOrgs`, `enterOrg`,
2051
+ `refreshOrgs`…) → `@copilotz/directory/web` (or `@copilotz/directory/contract`).
2052
+ - `copilotz/plugins/billing`'s `credits`, `stripe` and `stripeWebhook` → `@copilotz/billing`, and
2053
+ `creditsWeb` → `@copilotz/billing/web`. `usage` stays in `copilotz/plugins/billing`.
2054
+ - `copilotz/plugins/agents`'s `team` and `tiers` → `@copilotz/team`, and `teamWeb`, `tiersWeb` →
2055
+ `@copilotz/team/web`.
2056
+ - An app serving many orgs adds `directoryWeb` (from `@copilotz/directory/web`) to its page: the web
2057
+ shell has no org switcher, org page or console of its own any more. Their words keep their keys
2058
+ (`shell.<key>`).
2059
+ - On Deno, name each in the import map at Copilotz's version
2060
+ (`"@copilotz/work": "jsr:@copilotz/work@<version>"`); on npm, install it beside `copilotz` at the
2061
+ same version, or, until npm has it, from the release's tarball.
2062
+
2063
+ ```ts
2064
+ import { boards, documents } from "@copilotz/work"; // was copilotz/plugins/work
2065
+ import { directoryWeb } from "@copilotz/directory/web";
2066
+
2067
+ await web({ plugins: [webShell, chatWeb, spacesWeb, directoryWeb, boardsWeb], root });
2068
+ ```
2069
+
2070
+ - **Product packages** ([design](design/plugins.md)): `@copilotz/work` (boards, documents),
2071
+ `@copilotz/directory` (many orgs behind one address), `@copilotz/billing` (credits, Stripe) and
2072
+ `@copilotz/team` (agents people make, model tiers), each in `packages/<name>` with its `mod.ts`,
2073
+ `web.tsx`, `contract.ts`, tests and README, on JSR and npm. They import Copilotz by its entry
2074
+ points alone, as an outside plugin would; the core imports none of them, its tests neither.
2075
+ - **The web shell knows no orgs.** Its `orgs` slot (a resource) takes a switcher View, an overlay
2076
+ View and a hook for what the menu and palette list; `directoryWeb` fills it. The person's standing
2077
+ in the org is spaces' `org.me` (`useStanding`, in the shell's contract), which spaces' sidebar and
2078
+ credits' note read; renaming the org says so (`orgsChanged()`).
2079
+ - **The core's contracts are entry points:** `copilotz/plugins/<theme>/contract` (access, agents,
2080
+ models, interfaces, compute), each theme's plugins' `contract.ts` together.
2081
+ - **Testing:** `copilotz/testing/words` (`pseudoWords`, `englishLeft`, `wordsList`) and `openTo`
2082
+ (what a kind of caller is let into of some plugins), for packages' tests as for Copilotz's.
2083
+ - **Releases:** `npm run build` builds Copilotz and every package; the smoke test installs them all
2084
+ together from their tarballs and uses a plugin of each; a release attaches every tarball to its
2085
+ GitHub release before publishing, and publishes the packages after Copilotz, each on its own (one
2086
+ a registry doesn't have yet is skipped, with a notice). `node scripts/version.ts <version>` says a
2087
+ version everywhere, in lockstep.
2088
+
2089
+ ## 1.0.0-rc.32 — 2026-11-09
2090
+
2091
+ **Upgrading.** `people` now lets in an agent working for a person, and an Action's `allow` is asked
2092
+ of code acting for someone too (a tool's `ctx.call`, a Processor's, another Action's), not only of
2093
+ outside callers. Go through your Actions:
2094
+
2095
+ - Say `inPerson` for what only the person decides (consent, keys, who's in a space, money,
2096
+ publishing): it never lets in an agent, a key or a routine's work. Say `people` for the rest. An
2097
+ `allow` written as `(actor) => actor.kind === "person"` keeps your own tools' agents out: say
2098
+ `people`.
2099
+ - An Action whose run takes `ctx.actor.id` for a person's id, or checks something only when
2100
+ `ctx.actor.kind === "person"`, reads `personOf(ctx.actor)` instead (an agent's id isn't its
2101
+ person's).
2102
+ - A tool calling an Action its agent's person couldn't is refused (`forbidden`): let them in, or go
2103
+ beyond on purpose with a named grant, `ctx.as(grant("<why>"))`.
2104
+ - An agent's work reaches only where it is (its chat's space) and what that space draws on: a tool
2105
+ that read across its person's spaces from a shared chat finds less. Have the space draw on the
2106
+ other (`member.set` of a space), work from the person's Personal space, or hand the work over.
2107
+ - Tools read where they are from `ctx.in`, not their chat's `in`.
2108
+ - A developer key no longer calls what's now `inPerson` (`space.create`, `member.*`, `invitation.*`,
2109
+ `share`, `chat.move`, `agent.create`…), even listed in its scope.
2110
+ - An MCP line listing a tool without its `tool:<name>` View doesn't start: add the View.
2111
+
2112
+ ```ts
2113
+ import { grant, inPerson, people, personOf } from "@copilotz/copilotz";
2114
+
2115
+ "invoice.send": defineAction({ allow: inPerson, … }), // only the person decides
2116
+ "invoice.draft": defineAction({ allow: people, run: (ctx) => draft(personOf(ctx.actor)) }),
2117
+ // a tool, in its chat's space; going beyond its person on purpose, on the record:
2118
+ run: async (input, ctx) => await ctx.as(grant("availability")).call("slots.all", { in: ctx.in }),
2119
+ ```
2120
+
2121
+ - **Who, for whom, where** ([design](design/work.md)). All work runs as an actor, for whom it's done
2122
+ (`for`) and where (`in`, an opaque id: a space, to the access plugin), which the runtime carries
2123
+ as it carries the actor: into nested calls, tools, the Processors a call's events wake, its timers
2124
+ and the Views observed for it; every event records it; `guard` and `allow` see it; contexts say it
2125
+ (`ctx.in`, on Actions, Processors, tools, queries and Views). `ctx.as` stays where the work is
2126
+ unless told where. Every way in says it: a browser's calls (its page's space;
2127
+ `client.call(…,
2128
+ { in })`), the terminal (where its person works), a key (its space), WhatsApp,
2129
+ voice, web and MCP lines (theirs), routines (theirs), a chat's turn (its chat's).
2130
+ - **An agent's work reaches only where it is.** Reach for work done for someone is the person's
2131
+ reach ∩ the agent's memberships ∩ its space and what that draws on, at the role it draws on it
2132
+ with; in the person's own Personal space, all they reach. North working for Ana in a shared space
2133
+ reached every space of Ana's (the core agents are members of all of them), and only labels kept
2134
+ Finance from Launch's members: now it reads Launch and its sources. A person acting themselves
2135
+ isn't narrowed; a tool or routine acting as them is. An agent actor's `at` is `in`.
2136
+ - **`allow` is asked wherever someone acts:** from outside as before, and from code acting for an
2137
+ actor (`ctx.call`, a timer, a read's unrecorded calls); for an agent, of whom it works for too
2138
+ (`allows`). Actions without one stay internal. Going beyond is a named grant (`grant`), on the
2139
+ record as the grant, `via` whose work it was, and counted (`copilotz.elevated.ops`).
2140
+ - **Copilotz's own Actions say which:** `inPerson` for sessions, connected accounts, who's in a
2141
+ space or the org, `share`, `chat.move`, `memory.move`, `agent.create/update/delete`,
2142
+ `computer.code`, `computer.work` and `app.publish`, beside those that were; `people` for the rest,
2143
+ boards and documents included (their agents' own tools couldn't call them). `chat.send` and
2144
+ `chat.attach` let in people and contacts writing as themselves, never an agent. Code that took the
2145
+ actor's id for its person's (`space.personal`, invitations, accounts, desks, cloud computers,
2146
+ usage) asks `personOf`; an environment changes only by its space's managers, whoever asks.
2147
+ - **Reach is kept in the owner** per who, for whom and where, until a commit changes a membership or
2148
+ a space it read (`ReadContext.kept`: what rules work out from reads, let go exactly when what they
2149
+ read changes; `cache.kept`, 1,000). An agent's turn works out its reach once, not on every op.
2150
+ With narrowing, an agent's work for a person in one of 1,000 spaces (`examples/work-bench.ts`)
2151
+ 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
2152
+ person's own, 4.7 ms (11.7). Nothing measured got slower.
2153
+ - **Tools know where they are** (`ctx.in`): documents, boards, computers, cloud computers, apps,
2154
+ memory, skills, routines and an API's files no longer read their chat to find its space. What's
2155
+ learned stays where it's learned.
2156
+ - **Handing work to another space** writes under its grant (`chat.hand-over`, and `chat.hand-back`
2157
+ for the answer), for the same person, in the new space; its check is the person's, anywhere.
2158
+ - **mcp:** a listed tool without its `tool:<name>` View stops the app from starting (it was left
2159
+ out, said once in the log). A line's contact, its widgets and its tools work in its space.
2160
+ - **Model-use listeners** get `as` in a job; a web line's budget prices its visitors' use as its
2161
+ grant (`web.budget`).
2162
+ - **Startup checks** see the Views' names (`merged.views`).
2163
+
2164
+ ## 1.0.0-rc.31 — 2026-11-08
2165
+
2166
+ - **A write the rules refuse in a transaction no longer holds up every write.** Refused before it
2167
+ reached its transaction, it left the transaction open, holding the store's writer: the Action's
2168
+ failure and every other write in the app waited 30 s, until it was rolled back as idle. Now it
2169
+ ends its transaction at once, as an op that fails in one does: it rolls back, and its later ops
2170
+ fail ("The transaction is closed."), even when the error is caught. Code that caught a failed op
2171
+ and wrote on used to commit what came after it. A transaction with no op for 5 s (30 s before)
2172
+ rolls back, and `copilotz.transaction.duration` measures how long each one held the writer.
2173
+ - **Boards** no longer read a new card back inside its transaction: one round trip less per card.
2174
+
2175
+ ## 1.0.0-rc.30 — 2026-11-08
2176
+
2177
+ **Upgrading.** `chat.send` no longer takes a file's content. Upload each file first with
2178
+ `chat.attach` (`{ name, type, data, voice? }`, as `files` took it), and send what it answers by id:
2179
+
2180
+ ```ts
2181
+ const { id } = await runtime.call("chat.attach", {
2182
+ name: "plan.pdf",
2183
+ type: "application/pdf",
2184
+ data,
2185
+ });
2186
+ await runtime.call("chat.send", { text: "The plan", files: [{ id }] });
2187
+ ```
2188
+
2189
+ Call both as the same sender: a draft is sent only by its uploader's message. An API key that sends
2190
+ files needs `chat.attach` in its scope: the "Chat" preset has it now, and a key made with it before
2191
+ is made again (or given `chat.attach`).
2192
+
2193
+ - **Files of about 10 MB go, ten to a message.** `chat.send` carried every file's content, on record
2194
+ with what it wrote too, in one call, and a call carries at most 16 MiB to the owner: a file past
2195
+ about 6 MB was refused (`payload_too_large`). Now each file is its own call (`chat.attach`,
2196
+ unrecorded), kept as its sender's draft (`draft`, in no conversation: nobody else reads it, a rule
2197
+ of chat's own), and the message names it: its commit makes it the conversation's, under the rules
2198
+ as the message is. The web composer uploads each file as it's chosen (reading, uploading, its
2199
+ size, or why it couldn't), so sending is instant; a voice message uploads once, also when it's
2200
+ sent again without a transcript. WhatsApp uploads what a phone sends the same way.
2201
+ - **Drafts are bounded:** a sender holds 20 at most (the oldest go past them), and `chat.prune`
2202
+ (chat's schedule, every hour) drops those not sent within a day. A contact's upload is let in by
2203
+ the `contactSend` hooks as a message to nobody carrying it: a web line's file rules apply as it's
2204
+ uploaded, and it counts against the visitor's limits.
2205
+
2206
+ ## 1.0.0-rc.29 — 2026-11-07
2207
+
2208
+ - **An agent waiting on your yes waits within its turn.** A command, job or file write that needs a
2209
+ person's OK used to end the agent's turn ("Waiting for ana's yes…"). The turn's answer went to
2210
+ whoever had asked it, and the yes then started a new turn that answered the person. So when one
2211
+ agent asked another, and that one needed a yes, the first got "I'm waiting on your yes" as its
2212
+ answer and the real answer went to the person. Now the turn pauses, as it does for the messages it
2213
+ sends. The call asks its person a question: the agent's message to them, answered on the approval
2214
+ card. The answer is a reply to that question, and the same turn goes on. The call runs again as
2215
+ itself, in a step after the answer, so the agent reads its question, the answer, then what the
2216
+ command did, and its answer goes to whoever started the turn. Several asks in one step wait
2217
+ together, and the turn goes on once, when the last is answered: what was allowed runs, and what
2218
+ wasn't says no. A yes in this conversation, or always, answers the agent's other asks it covers,
2219
+ and their turns go on too. A reply typed to the question isn't a yes: the call doesn't run, and
2220
+ says what they said. A card asked in a side thread shows in its conversation too ("in a side
2221
+ thread"). A card answered before its step is written is refused (`busy`, "answer in a moment");
2222
+ the card shows only once the step is written anyway. Forgetting a computer tells a turn waiting on
2223
+ it no. A model outside (MCP) still gets "Waiting for…" and asks again later, as before.
2224
+ - **Tools can wait for a person** (`ToolContext.ask`, in chat's contract). In a turn, a tool asks
2225
+ `{ to, text }` and gets the question's id; the turn waits for a reply to it (a message with that
2226
+ `replyTo`), then runs the call again with `answer` (who answered, and what they said). The
2227
+ question is written with the step. Steps record it (`Step.asked`), as they record what they sent
2228
+ (`sent`). The `conversation` resource's Views get the conversation's side threads too (hint
2229
+ `side`).
2230
+
2231
+ ## 1.0.0-rc.28 — 2026-11-07
2232
+
2233
+ - **A deploy hands over instead of fencing** (`serve` in `copilotz/web/node`, `lease` in
2234
+ `copilotz/stores/postgres`). While a deploy moves traffic, the platform keeps the old process
2235
+ running for as long as its browsers' sockets stay open, and the new process's store fenced it:
2236
+ every write those browsers sent failed ("This owner was fenced"). Now one process at a time holds
2237
+ the store's lease: `serve` listens first (a request is told it's starting: a 503 to retry, a page
2238
+ that reloads itself), waits for the lease, then opens the app; the old process, asked for it,
2239
+ stops listening (its browsers reconnect, to the new one), lets running work finish, and lets go.
2240
+ Only a deploy at least as new asks (`revision`); a process that loses the lease stops. Its table
2241
+ is `copilotz_lease`, in the schema it's given (`public` by default).
2242
+ - **A contact's message may go to nobody** (`chat.send` with `to: []`), as a person's already could:
2243
+ it's kept in the chat, its agents read it the next time they answer there (with its `tap`, as
2244
+ `[tapped: <id>]`), and none answers it. It's how a page beside the chat says what the customer did
2245
+ there (a trip chosen in a booking panel) without a turn for each tap. A contact still names no
2246
+ agent: any other `to` goes to its chat's agents, as before. `contactSend` hooks are told
2247
+ (`to: []`): a web line's visitor's message to nobody counts against its limits but holds none of
2248
+ the line's budget, since no turn will be charged for it.
2249
+
2250
+ ## 1.0.0-rc.27 — 2026-11-06
2251
+
2252
+ **Upgrading.** Chat's `file.content` query is `file.about`, and answers a file without its content
2253
+ (`data`). Host code that wants the content reads it as bytes, in parts:
2254
+ `runtime.bytes("file", { _id }, "data", { actor })`, or serves it at `/files/<id>`. A file's content
2255
+ is plain base64 (no line breaks, no `data:` prefix): `chat.send` refuses anything else.
2256
+
2257
+ - **Files of any size are served** (`GET /files/<id>`): a picture or a recording whose base64 passed
2258
+ 1 MiB (about 750 KB) was answered as missing (404), so it showed broken. The route read the whole
2259
+ file through a query, whose answer comes from an executor over Oxian in one chunk, and Oxian takes
2260
+ at most 1 MiB a chunk. Now it reads what the file is (`file.about`, as whoever the request is),
2261
+ then its content from the owner, as them again (`runtime.bytes`), and decodes it as the response
2262
+ is read, 192 KiB at a time; a range (`206`) decodes only its part. Who reads a file is unchanged:
2263
+ the request's actor, a signed link as the system, and a file out of reach is a 404 alike. A
2264
+ failure that isn't about reach is now a 500, logged, not a 404.
2265
+ - **`runtime.bytes(collection, filter, field, { actor })`**: a large value's bytes for trusted host
2266
+ code, read by the owner itself, under the rules as `actor` (the system without one), its `size`
2267
+ and `read(start, end)`, from the document or its blob (loaded once, at the first part). The blob's
2268
+ reference never leaves the owner.
2269
+ - **Projections:** `find` and `findOne` take `{ projection }`, as MongoDB's (`{ name: 1 }` keeps,
2270
+ `{ data: 0 }` leaves out, `_id` either way; dotted paths into objects). The owner applies it
2271
+ before it loads any blob: a field left out costs no blob read. Stores never see it.
2272
+ - **Answers past 1 MiB go in parts:** a job's output (a query's answer, an Action's result, a
2273
+ View's) and what a browser is pushed are written in parts of at most 1 MiB, Oxian's bound on a
2274
+ chunk. A long history, a prompt with pictures (`thread.prompt`, `/prompt`) or a large read a
2275
+ browser watches failed whole before (the executor "lost", the browser's session closed).
2276
+ - **A message's files reach the prompt one read each:** `llm.message` read all of a message's files
2277
+ in one answer of the owner's, which carries at most 16 MiB; pictures that together passed it
2278
+ failed the turn.
2279
+ - **WhatsApp links a file without reading its content:** sending a chat's file by signed link reads
2280
+ only whether its recipient may see it; Meta's fetch streams the content from `/files/<id>`.
2281
+ - **Every word Copilotz's web front ends show is the app's to change.** An app in another language
2282
+ no longer rewrites the page as it is drawn: it gives a `words` resource
2283
+ (`{ "chat.send":
2284
+ "Enviar" }`), on any plugin the page runs, merged over the English in order.
2285
+ Words are by key (`hosts/web/WORDS.md` lists them: the shell, chat, spaces, memory, team, usage,
2286
+ the command palette, the toolkit and the host's notices), with `{blanks}` for names and numbers
2287
+ and plural forms by the page's language (`{ one, other }`). Dates, times, numbers and currency
2288
+ follow the page's `lang` (`webPage({ lang })`) instead of the browser's. Front ends of an app's
2289
+ own use the same way: `defineWords(area, { … })` from `copilotz/web`. English is unchanged, so an
2290
+ app that sets nothing looks as before. Not covered: the other front ends (billing's credits,
2291
+ routines, skills, computers, apps, API keys, WhatsApp, tiers), text the server sends, and the
2292
+ offline page.
2293
+ - **Boards and documents are Copilotz's** (`copilotz/plugins/work`, front ends in
2294
+ `copilotz/plugins/work/web`). `boards` is kanban in a space (boards with ordered columns, cards
2295
+ dragged between them, owners, labels, due dates; Actions `board.*` and `card.*`; agents' tools
2296
+ `list_boards`, `read_board`, `create_board`, `create_card`, `update_card`, `move_card`).
2297
+ `documents` is shared Markdown in a space (every save a version, saves merged line by line or
2298
+ refused as a `conflict`, restoring, presence; Actions `document.*`; agents' tools
2299
+ `list_documents`, `read_document`, `write_document`, `append_document`, `edit_document`). Each has
2300
+ its web front end (`boardsWeb`, `documentsWeb`). The empty Board tab's line about agents is the
2301
+ app's: `resources.boardsText.agentHint`.
2302
+ - **A `@word` is a mention only when it names someone.** Chat took any `@word` as a mention, so a
2303
+ message with a social handle ("my profile is @ana.marca") and no agent named reached no agent. Now
2304
+ a mention counts only when it names an agent, or a person in the conversation; any other `@word`
2305
+ is plain text, and the message goes where it would without it (the conversation's agents, or the
2306
+ space's default).
2307
+ - **A failed recall never sinks a turn.** When memory recall fails at the start of a turn (the
2308
+ embedder's provider refuses the key, or times out), the turn goes on without recalled memories.
2309
+ The failure is logged (`memory: recall failed…`) and counted (`copilotz.memory.recall_failures`).
2310
+ A failing `remember` is still a tool error the agent sees.
2311
+ - **Web tools** (`webTools`, in `copilotz/plugins/agents`): agents search the web and read a page
2312
+ without a computer. `web_search` `{ query, count?, language?, country? }` →
2313
+ `{ title, url,
2314
+ snippet }` results, through a new `search` adapter port (`duckduckgo`, the
2315
+ default: its HTML page, no key, no cost, a bot challenge or empty page is a public "search is
2316
+ unavailable" error; `serper`, optional; `fake`; one more adapter adds Brave or Google), and
2317
+ `read_page` `{ url, start? }` → the final URL, title, main text and links, in parts, marked as
2318
+ data. Reading refuses non-http(s) URLs, private, loopback, link-local and metadata addresses (the
2319
+ host resolved, checked again on every redirect), other ports than 80 and 443 unless
2320
+ `webTools.ports` lists them, pages over 2 MB or 15 s, and non-text types; a turn reads at most 8
2321
+ pages. A search is a `search` use of the usage ledger (in the `agents` category), priced from
2322
+ resources, asked of the `modelUse` listeners and the `spending` check first. The models contract
2323
+ now exports `mayUse` and `used`, for uses outside model calls.
2324
+ - **An agent's message with files.** `chat.say` takes `files`, and `text` may be left out when there
2325
+ are files. Trusted code, such as a tool during a turn, can now post what it made without writing
2326
+ chat's collections itself. Each file is one of these:
2327
+ - `{ id, collection? }`: a document the caller reads that holds a file as `type` and `data`.
2328
+ That's chat's own `file` by default, or another plugin's, such as the models plugin's `image`.
2329
+ - `{ name, type, data }`: the file given as it is.
2330
+
2331
+ Each becomes a file of the chat, with its `thread` and space. People and contacts read it there as
2332
+ they read people's files, and it meets the same limits: ten at most, about 10 MB each, and a media
2333
+ type. Its content is the same blob, so a picture kept elsewhere isn't stored twice. The answer
2334
+ adds the files' ids: `{ message, files }`. Saying it again sends nothing, files included. An
2335
+ agent's own message tells it next time what it sent: `[sent: logo.png]`.
2336
+
2337
+ - **A refusal says why.** A turn that fails with a refusal written for people answers in that
2338
+ refusal's own words, where only the codes `credits` and `budget` did before. That covers any
2339
+ failure made public, including the `spending` check's refusal whatever its `why`: an app's own
2340
+ reason, such as an inactive subscription, no longer needs to borrow `credits`. The `spending`
2341
+ refusal is now public, so a model outside the app reads its message too. A web line's spent budget
2342
+ now shows its own words ("This chat has done all it can for today…"). Every other failure still
2343
+ shows people the short line, with the details in the event. Moving in from another app. Nothing
2344
+ changes for an app that doesn't call these.
2345
+
2346
+ - **`chat.import`** (the system's: a migration) brings a conversation in as it was: its thread (the
2347
+ importer's id) in a space, with its title, and its messages with who said them (a person's id or
2348
+ an agent's name), to whom, what, their files (`data`, or the `id` of a document holding one:
2349
+ chat's `file` by default) and when (ISO 8601 with a zone, kept to the millisecond). Nothing runs:
2350
+ no turn, no transcript, nothing delivered. Importing again replaces what it made; a long
2351
+ conversation comes in several calls, and the thread's summary (count, first, latest, when it last
2352
+ moved) is worked out from every message it has. A thread already in another space is refused
2353
+ (`chat.move` moves it). Unrecorded: the documents it writes are their own record.
2354
+ - **`memory.import`** (the system's) brings memories in as they were, in a space: text, whom each is
2355
+ about, who wrote it, `core`, when it was learned and last changed, under the importer's ids. Each
2356
+ is embedded as it's kept (with an embedder), so recall finds it by meaning.
2357
+ - **Dev sign-in reaches someone already there:** an email a person has (one who moved in under an id
2358
+ of its own) signs in as them, and the id of someone there signs in as them too, both as they are
2359
+ (their name isn't touched). Anyone else signs in as before.
2360
+
2361
+ ## 1.0.0-rc.26 — 2026-11-06
2362
+
2363
+ **Upgrading from rc.25.** The `hosts` resource names the app's own hosts an entry each, without the
2364
+ `own` key it had alone. An app that names its hosts changes one line; one that doesn't changes
2365
+ nothing. The shape before is refused at start, saying what's expected.
2366
+
2367
+ ```ts
2368
+ // rc.25
2369
+ resources: { hosts: { own: ["app.example.com", "*.run.app"] } }
2370
+ // now
2371
+ resources: { hosts: { "app.example.com": true, "*.run.app": true } }
2372
+ ```
2373
+
2374
+ - **`resources.hosts` is an entry per host** (`{ "app.example.com": true }`), in place of
2375
+ `{ own: [...] }`, like every other resource: a later plugin adds a host, or takes one away with
2376
+ `null`, without restating the rest. What it does is unchanged: with the app's hosts named, any
2377
+ other host is answered only by routes that take it. `HostsSettings` is `Record<string, true>`.
2378
+ - **Email sign-in** (`emailSignIn`, in `copilotz/plugins/access`, with identity and `email`): people
2379
+ sign in with an email and a password. Nothing changes for apps that don't add it.
2380
+ - **Flows,** each an unrecorded Action behind a route, those that end signed in answering with
2381
+ identity's `signedIn`: `email.sign-up` (a six-digit code by email, the password waiting for it)
2382
+ and `email.verify` (the person made, and a session); `email.sign-in`, refused with `unverified`
2383
+ (and a new code sent) until the address is confirmed; `email.forgot` (the same answer for any
2384
+ address) and `email.reset` (the password set, the person's other sessions ended);
2385
+ `email.invite`, trusted code's (a webhook after a purchase: the person, answered at once, and a
2386
+ link that works once for a day, `/#email-invite=<token>`), `email.invitation` and `email.accept`
2387
+ (the password chosen, signed in); and `email.import`, the system's, which keeps another app's
2388
+ password hashes as they are, for a migration, with the person ids the importer chooses. Routes:
2389
+ `GET /signin/email` (it's here; `signUp`), `POST /signin/email`, and `/signin/email/sign-up`,
2390
+ `verify`, `forgot`, `reset`, `invitation`, `accept`; a refusal answers `{ error, code }`.
2391
+ - **Passwords:** legacy hashes (`"<saltHex>:<hashHex>"`, PBKDF2-HMAC-SHA256 at 100,000, as
2392
+ Copilotz 0.x apps kept them) verify as stored and are hashed again at the next sign-in; new ones
2393
+ are `pbkdf2-sha256$6x100000$<salt>$<hash>` (PBKDF2 in six stages of 100,000, each salted with
2394
+ the stage before: workerd refuses more than 100,000 in one call), on WebCrypto, compared in
2395
+ constant time, in a private field (`email_login.hash`) no event or actor's read holds.
2396
+ - **Codes and links** are kept only as HMACs under the `links` secret (still matching under its
2397
+ `previous` while it changes), used once; codes last 15 minutes and five wrong tries. A stranger
2398
+ signing up first with someone's address can't choose their password: each code confirms the
2399
+ password its sign-up came with. Messages to an address (5 an hour), tries at it (10 in 15
2400
+ minutes) and one caller's asks (30, by the `caller` resource or the socket's address) are
2401
+ limited (`too_many`), the same whether or not the address has an account (`emailSignIn.limits`).
2402
+ What's past goes every ten minutes (`email.prune`).
2403
+ - **Its words** are the `emailSignIn` resource's `messages` (`verify`, `reset`, `invite`,
2404
+ `exists`), English unless the app gives its own; `app` names the app in them (the `links`
2405
+ origin's host unless said). It needs the `links` resource (`{ origin, secret }`) to start.
2406
+ - **`email`, the app's email port:** `email.send` `{ to, subject, text, html? }` (trusted code's,
2407
+ unrecorded) through the adapter the `email` resource names: `resend` (Resend's API, through
2408
+ `ctx.fetch`, with its `apiKey` and `from`) or `console` (each message in the log, for a laptop;
2409
+ refused where the `links` origin is public). `EmailAdapter` and the settings' types are in its
2410
+ contract.
2411
+ - **The sign-in page offers email** when `GET /signin/email` says it's there: sign in, create an
2412
+ account, the code (sent on once typed or pasted; a new one every 30 seconds), a new password by
2413
+ code, and arriving by an invitation's link to choose a password. Signing in by name moves under
2414
+ it, a click away. The toolkit has an `eye-off` icon. The example web app takes `EMAIL=1` (and
2415
+ `EMAIL_INVITE=<address>`) to try it, its messages in the terminal.
2416
+ - **The sign-in page is the app's, in every word** (the `signInPage` resource of the browser's
2417
+ plugins, merged over Copilotz's as the theme is): `words` patch its phrases one by one by key
2418
+ (`SIGN_IN_WORDS` in `copilotz/web`: every heading, label, placeholder, button, hint and refusal of
2419
+ Google's, email's and dev sign-in's screens, refusals said by their code, never in the server's
2420
+ words); `about`, the panel beside the form (a headline, its quieter end, points with icons), is
2421
+ given whole (no Copilotz pitch stays beside an app's own), and `null` leaves the form alone. Its
2422
+ logo is the theme's and its name the page's title, as before; an app that says nothing shows
2423
+ Copilotz's words and pitch, as before. Google's button speaks `page.lang`. New in `copilotz/web`:
2424
+ `SIGN_IN_WORDS`, `COPILOTZ_ABOUT`, `signInPageOf` and the `SignInPage`, `SignInWords`,
2425
+ `SignInAbout` and `SignInPoint` types.
2426
+ - **Image generation** in `models`: `image.generate`
2427
+ `{ model, prompt, references?, count?, aspectRatio?, size?, tags? }` answers
2428
+ `{ images: [{ id, type, size }], text, usage }`. The images are kept in the `image` collection, a
2429
+ document each, with the content as a blob, and the answer names them by id. A reference is an
2430
+ image made here (`{ id }`), a document the caller may read that holds a file as `type` and `data`
2431
+ (`{ id, collection: "file" }`, read as the caller), or inline data (`{ data, type }`, or a data
2432
+ URL). Models are chosen as `llm`'s are: an alias, settings around one, or a list tried in order.
2433
+ Adapters go under `adapters.image`: `gemini` (`generateContent` with `responseModalities`; `count`
2434
+ images are that many calls, made together), `openai` (`/images/generations`, or `/images/edits`
2435
+ with references), and `fake` (`"fake/image"`).
2436
+ - **Metered like every model call.** The org's own key comes first. `modelUse` listeners and the
2437
+ `spending` check go before the call. Its tokens are told to the ledger after, with meter
2438
+ `image`, priced from the catalog as `llm`'s are, and counted under agents. The provider's
2439
+ `silence` and `retry` apply.
2440
+ - **Refusals are final.** A model whose safety rules say no fails `image_refused`, and no other
2441
+ model is asked. One that makes nothing fails `no_image` once the list is spent. Both are public
2442
+ messages: an agent's tool tells its model why.
2443
+ - **Recorded, unlike the other ports' Actions.** It writes what it made, so a job that runs again
2444
+ finds the call done and doesn't pay twice. `models.check` takes `port: "image"`.
2445
+ - `keyed` and `mayRun` (the org's own key, and the spending check) moved from the llm port to
2446
+ `shared/use.ts`, so every port that spends asks the same way. Nothing changes for `llm`.
2447
+
2448
+ ## 1.0.0-rc.25 — 2026-11-06
2449
+
2450
+ **Upgrading from rc.24.** The runtime now answers HTTP itself. `runtime.fetch(request)` is a fetch
2451
+ handler (a function from a web-standard `Request` to a `Response`) that every host calls; plugins
2452
+ declare their HTTP as `routes` (plain functions by URL pattern) and say who a request is with `who`
2453
+ (a function from a request to an actor, or nothing); the runtime names and sets every cookie; the
2454
+ page is a plugin (`webPage`); and many orgs are the directory's routes, forwarding each request to
2455
+ its org's runtime. Every URL, webhook path and cookie name stays as it was, so nobody signs in
2456
+ again. Developer keys made before stop working: make them again (step 7). The steps, in order:
2457
+
2458
+ 1. **Composition: the page is a plugin, and the runtime takes no browser options.** Drop
2459
+ `transports: [socket]` and `admit: tickets.admit`: the runtime keeps its own one-time tickets and
2460
+ takes its own socket at `/oxian`. Add `webPage` (from `copilotz/web/server`) with a `page`
2461
+ resource. What `serve` and `webServer` took as options are resources now: `code`, `title`,
2462
+ `lang`, `assets` and `base` go in `page`; `theme` in `theme`; `front: { secret }` is the `caller`
2463
+ resource's `front` (beside its `header`); `widgets` go in `widgets`. `code` may be a function
2464
+ that bundles once, on the page's first request.
2465
+
2466
+ ```ts
2467
+ // rc.24
2468
+ const tickets = createTickets(); // copilotz/web/tickets
2469
+ const runtime = await createRuntime({
2470
+ store,
2471
+ plugins: [...plugins, devSignIn],
2472
+ transports: [socket], // copilotz/web/server
2473
+ admit: tickets.admit,
2474
+ });
2475
+
2476
+ // now
2477
+ const runtime = await createRuntime({
2478
+ store,
2479
+ plugins: [
2480
+ ...plugins,
2481
+ devSignIn,
2482
+ webPage,
2483
+ definePlugin({
2484
+ name: "page",
2485
+ resources: {
2486
+ page: { title: "Notes", code: () => bundle(new URL("./browser.tsx", import.meta.url)) },
2487
+ theme: themeOf([]),
2488
+ },
2489
+ }),
2490
+ ],
2491
+ });
2492
+ ```
2493
+
2494
+ 2. **Serving: a listener calls `runtime.fetch`.** On Node and Bun, `listen(runtime.fetch, options)`
2495
+ from `copilotz/web/node` replaces `serve({ runtime, tickets, code, … })`. It answers a
2496
+ `Listener`, whose `shutdown()` stops listening, and you close the runtime yourself
2497
+ (`runtime.close({ drain })`). On Deno, `Deno.serve(runtime.fetch)` replaces serving
2498
+ `webServer({ …, upgrade })` with Oxian's Deno handler, and needs no `setClientAddress`: the
2499
+ runtime reads the socket's address from what `Deno.serve` hands it. On workerd,
2500
+ `export default { fetch: runtime.fetch }`. Bun's own `Bun.serve({ fetch: runtime.fetch })` serves
2501
+ requests but not the runtime's socket, so use `listen` there.
2502
+
2503
+ ```ts
2504
+ // rc.24
2505
+ const server = await serve({ runtime, tickets, code, theme, port: 8080 });
2506
+ process.once("SIGTERM", () => server.close({ drain: 8_000 }));
2507
+
2508
+ // now
2509
+ const server = await listen(runtime.fetch, { port: 8080 });
2510
+ process.once("SIGTERM", async () => {
2511
+ await server.shutdown();
2512
+ await runtime.close({ drain: 8_000 });
2513
+ });
2514
+ ```
2515
+
2516
+ 3. **Settings: flat named entries, one `caller`, and `ctx.fetch`.** Each interface plugin's resource
2517
+ is a map of what the app declares, by name, with no `lines` key. `web.caller` and `mcp.caller`
2518
+ are one `caller` resource. `caller.exempt` is the MCP server's own `exempt`, `voice.keep` each
2519
+ number's `keep`, and `mcp.atOnce` each server's `limits.atOnce`; `whatsapp.codeMinutes` and
2520
+ `whatsapp.maxFileMb` are constants now, and a declared entry's `org` is gone (each org's runtime
2521
+ declares its own). Types: `WhatsAppLine` is `DeclaredNumber`, `VoiceLine` `DeclaredVoiceNumber`,
2522
+ `McpLine` `DeclaredServer`, `WebLine` `DeclaredSite`, and `McpCaller` `CallerSettings`. Plugin
2523
+ code calls outside services through `ctx.fetch` (step 10), so the `whatsapp.graph` setting,
2524
+ Stripe's `settings.fetch`, `googleKeys(fetcher)`'s argument and openapi's `fetch` setting are
2525
+ gone.
2526
+
2527
+ ```ts
2528
+ // rc.24
2529
+ resources: {
2530
+ web: {
2531
+ caller: { header: "cf-connecting-ip", front },
2532
+ lines: { site: { in: "visitors", agent: "guide" } },
2533
+ },
2534
+ whatsapp: {
2535
+ lines: { vendas: { in: "customers", phoneId, token, secret, verify, agent: "mobi" } },
2536
+ },
2537
+ mcp: { atOnce: 4, lines: { chatgpt: { in: "customers", tools } } },
2538
+ }
2539
+
2540
+ // now
2541
+ resources: {
2542
+ caller: { header: "cf-connecting-ip", front },
2543
+ web: { site: { in: "visitors", agent: "guide" } },
2544
+ whatsapp: { vendas: { in: "customers", phoneId, token, secret, verify, agent: "mobi" } },
2545
+ mcp: { chatgpt: { in: "customers", tools } },
2546
+ }
2547
+ ```
2548
+
2549
+ 4. **Routes: plain functions on a plugin.** The `routes` resource goes, with its three shapes
2550
+ (`{ path, action }`, `{ path, serve }`, `{ host, serve }`), `methods`, `HttpRequest`,
2551
+ `HttpAnswer` and `Served`. A plugin's `routes` field maps a `URLPattern` pathname to a `Route`:
2552
+ `(request, { runtime, actor, params, cookies }) => Response`. A path that took everything under
2553
+ it (`"/hooks/"`) is `"/hooks/*"`; a host route is a whole URL pattern (`"*://*-preview.*:*/*"`);
2554
+ a route checks its own method. `host.runtime` is `ctx.runtime`, `await host.whom()` is
2555
+ `ctx.actor`, `host.host` is the request's own URL (already the site the browser asked for),
2556
+ `host.upgrade()` is Oxian's `upgradeWebSocket(request)`, and `host.widgets` is the `widgets`
2557
+ resource. A route calls Actions as trusted code, as the system unless it names an actor
2558
+ (`runtime.call(name, input, { actor })`): an Action that took an `HttpRequest` behind
2559
+ `{ path, action }` takes plain data now, and one only a route calls needs no `allow`.
2560
+
2561
+ ```ts
2562
+ // rc.24
2563
+ resources: {
2564
+ routes: {
2565
+ ping: {
2566
+ path: "/hooks/ping",
2567
+ methods: ["POST"],
2568
+ serve: async (request, host) =>
2569
+ Response.json(await host.runtime.call("relay.ping", { body: await request.text() })),
2570
+ },
2571
+ },
2572
+ },
2573
+
2574
+ // now
2575
+ routes: {
2576
+ "/hooks/ping": async (request, { runtime }) => {
2577
+ if (request.method !== "POST") return new Response("Only POST", { status: 405 });
2578
+ return Response.json(await runtime.call("relay.ping", { body: await request.text() }));
2579
+ },
2580
+ },
2581
+ ```
2582
+
2583
+ 5. **Sign-in: plugins' routes, `who`, and the runtime's cookies.** The `entrances` and `signIn`
2584
+ resources go. Apps on `googleSignIn` and `devSignIn` change nothing: their routes are
2585
+ `POST /signin/google` (with `GET /google` for the button's client id) and `/signin/dev`, which
2586
+ the page already used. A sign-in method of your own is a plugin built on identity whose route
2587
+ calls its Action and answers with identity's `signedIn` (from `copilotz/plugins/access`), which
2588
+ sets the session's cookie. A credential of your own (an entrance's `cookie` and `query`) is a
2589
+ plugin's `who`, and its cookie is set and cleared with `ctx.cookies`: no plugin writes
2590
+ `Set-Cookie`. Identity's `POST /signout` ends the session, disconnects its browsers and clears
2591
+ its cookie; its `GET /me` says whom the page shows.
2592
+
2593
+ ```ts
2594
+ // rc.24
2595
+ resources: {
2596
+ signIn: { mine: { action: "mine.sign-in" } },
2597
+ entrances: { badge: { cookie: "badge", query: "badge.actor" } },
2598
+ },
2599
+
2600
+ // now
2601
+ definePlugin({
2602
+ name: "mine-sign-in",
2603
+ requires: ["identity"],
2604
+ actions: { "mine.sign-in": signInAction }, // answers { person, session }, as before
2605
+ routes: {
2606
+ "/signin/mine": async (request, { runtime, cookies }) =>
2607
+ signedIn(cookies, await runtime.call("mine.sign-in", await request.json())),
2608
+ },
2609
+ who: (_request, { cookies, query }) => {
2610
+ const secret = cookies.get("badge");
2611
+ return secret ? query("badge.actor", { secret }) : null;
2612
+ },
2613
+ });
2614
+ ```
2615
+
2616
+ 6. **The site chat: its own route.** `web({ arrive: { line } })` is `web({ arrive: { name } })`. The
2617
+ page posts to the site chat's route, `POST /web/<name>` (with `{ challenge }` when it has one),
2618
+ before it connects, and `/connect` takes no JSON. `contact.arrive` loses its `secret` input. The
2619
+ cookie (`visitor`) and the limits are the same.
2620
+
2621
+ ```tsx
2622
+ // rc.24
2623
+ await web({ root, plugins: [siteShell, chatWeb], arrive: { line: "site", challenge: token } });
2624
+
2625
+ // now
2626
+ await web({ root, plugins: [siteShell, chatWeb], arrive: { name: "site", challenge: token } });
2627
+ ```
2628
+
2629
+ 7. **Keys: members of their space, with a scope.** Every key is the api plugin's, and every key has
2630
+ a scope: `api_key.create` takes `scope` (`call`, `query`, `view`, `read`, `write`) in place of
2631
+ `actions`, `queries` and `views`, and `apiPresets` are `{ title, description, scope }`. An Action
2632
+ that takes a space gets no default from a key: the key names `in`. Identity's unscoped keys
2633
+ (`key.create`, `key.revoke`, `credential.keys`) are gone. Keys made before stop working: make
2634
+ them again.
2635
+
2636
+ ```ts
2637
+ // rc.24
2638
+ await runtime.call("api_key.create", {
2639
+ in: space,
2640
+ name: "Bot",
2641
+ actions: ["chat.send"],
2642
+ queries: ["thread.recent"],
2643
+ }, { actor });
2644
+
2645
+ // now
2646
+ await runtime.call("api_key.create", {
2647
+ in: space,
2648
+ name: "Bot",
2649
+ scope: { call: ["chat.send"], query: ["thread.recent"] },
2650
+ }, { actor });
2651
+ ```
2652
+
2653
+ 8. **REST and the client.** `/api/` is the runtime's own now (the api plugin's `serveApi` is gone),
2654
+ answered for whoever `who` says: a key, a session from the app's own page, or anonymous. Its
2655
+ paths are unchanged, with more beside them (below). A View over `/api/` asked with `?follow=1` is
2656
+ asked with `Accept: text/event-stream`, and `?id=` is `?item=` (the item, as JSON). A script
2657
+ connects with the client instead of hand-made requests, over the socket or over HTTP, and its
2658
+ collections are spelled as plugin code's.
2659
+
2660
+ ```ts
2661
+ // rc.24
2662
+ const headers = { authorization: `Bearer ${key}`, "content-type": "application/json" };
2663
+ await fetch(`${app}/api/actions/booking.cancel`, {
2664
+ method: "POST",
2665
+ headers,
2666
+ body: '{"id":"42"}',
2667
+ });
2668
+ await fetch(`${app}/api/views/booking.panel?id=42&follow=1`, { headers });
2669
+
2670
+ // now
2671
+ const client = await connect(app, { key }); // the socket; { key, over: "http" } for the REST API
2672
+ await client.call("booking.cancel", { id: "42" });
2673
+ const stop = client.db.collection("booking").watch({ _id: "42" }, (rows) => show(rows));
2674
+ // by hand: GET /api/views/booking.panel?item={"_id":"42"}, with Accept: text/event-stream
2675
+ ```
2676
+
2677
+ 9. **Many orgs: the directory's routes.** `orgsHost` (`copilotz/orgs`) goes. The directory's runtime
2678
+ is the app's `fetch`, and its plugin's routes forward each request, untouched and sockets
2679
+ included, to its org's runtime. Its `directory` resource takes the orgs' runtimes as a pool
2680
+ (`orgs`: `runtimes(open)`, from `copilotz`) and a `lobby` for someone signed in nowhere (a
2681
+ runtime with the page), beside `staff` and `operations`; `hosts` is the `hosts` resource's `own`.
2682
+ Each org's runtime gets `directory.member(dir, org)`, in place of what `open` was given
2683
+ (`plugins`, `admit`, `transports`) and of `here(org)`. `listen(dir.fetch)` carries sockets too:
2684
+ no `hypervisor` picker. `org.get` is the `org.info` query, and front ends import the orgs'
2685
+ browser half (`useOrgs`, `enterOrg`…) from `copilotz/plugins/access/web`. Stripe's webhook is the
2686
+ `stripeWebhook` plugin, in the directory's runtime with the pool as the `stripe` resource's
2687
+ `orgs` (below).
2688
+
2689
+ ```ts
2690
+ // rc.24
2691
+ const host = orgsHost({
2692
+ directory: await createRuntime({ store, plugins: [identity, directory, devSignIn] }),
2693
+ open: async (org, given) =>
2694
+ await createRuntime({
2695
+ store: storeOf(org),
2696
+ plugins: [...plugins, ...given.plugins],
2697
+ transports: given.transports,
2698
+ admit: given.admit,
2699
+ browsers: given.browsers,
2700
+ }),
2701
+ upgrade: () => new Response("Connect again", { status: 503 }),
2702
+ code,
2703
+ theme,
2704
+ });
2705
+ await listen({ fetch: host.serve, hypervisor: (r) => host.openRuntime(r)?.hypervisor, port });
2706
+
2707
+ // now
2708
+ const orgs = runtimes(async (id) => {
2709
+ const org = await dir.query<OrgInfo | null>("org.info", { org: id });
2710
+ if (!org) return undefined;
2711
+ return await createRuntime({
2712
+ store: await storeOf(org),
2713
+ plugins: [...plugins, ...page, directory.member(dir, org)], // page: webPage and its resource
2714
+ browsers: { pool: visitors }, // const visitors = contactsPool()
2715
+ });
2716
+ });
2717
+ const lobby = await createRuntime({ store: memoryStore(), plugins: page });
2718
+ const dir: Runtime = await createRuntime({
2719
+ store,
2720
+ plugins: [
2721
+ identity,
2722
+ directory,
2723
+ devSignIn,
2724
+ definePlugin({
2725
+ name: "directory-settings",
2726
+ resources: { directory: { orgs, lobby } },
2727
+ }),
2728
+ ],
2729
+ });
2730
+ await listen(dir.fetch, { port });
2731
+ ```
2732
+
2733
+ 10. **Tests: `testWho`, `ticketFor`, `runtime.fetch` and `createRuntime({ fetch })`.** A test that
2734
+ made browsers with `createRuntime({ admit })` adds `testWho` (from `copilotz/testing`: a `who`
2735
+ that believes the `x-test-actor` header, for tests alone) and takes each ticket from the
2736
+ runtime's `/connect` with `ticketFor(runtime, actor)`. HTTP needs no listener:
2737
+ `await runtime.fetch(new Request(url, init))`. A fake outside service (Meta's Graph API, Stripe,
2738
+ Google's keys) is the `fetch` the runtime gives plugin code, as `clock` is replaced.
2739
+
2740
+ ```ts
2741
+ // rc.24
2742
+ const tickets = new Map<string, Actor>();
2743
+ const runtime = await createRuntime({
2744
+ store,
2745
+ plugins: [
2746
+ ...plugins,
2747
+ definePlugin({ name: "t", resources: { whatsapp: { graph: fake.url } } }),
2748
+ ],
2749
+ transports: [transport],
2750
+ admit: (secret) => tickets.get(secret),
2751
+ });
2752
+ const ticket = () => {
2753
+ const secret = crypto.randomUUID();
2754
+ tickets.set(secret, ana);
2755
+ return Promise.resolve(secret);
2756
+ };
2757
+
2758
+ // now
2759
+ const runtime = await createRuntime({
2760
+ store,
2761
+ plugins: [...plugins, testWho],
2762
+ transports: [transport],
2763
+ fetch: fakeMeta,
2764
+ });
2765
+ const ticket = () => ticketFor(runtime, ana);
2766
+ const hook = await runtime.fetch(new Request("http://localhost/hooks/whatsapp/vendas", init));
2767
+ ```
2768
+
2769
+ **What changes, and what goes:**
2770
+
2771
+ - **`runtime.fetch(request, info?)`** answers every request: a route with a host first (a host it
2772
+ takes is that route's alone); the socket (`/oxian`, and `<base>/oxian`); then requests from other
2773
+ sites are refused; `POST /connect`; the REST API (`/api/`); plugins' routes; `GET /health` when no
2774
+ route takes it (`ok`); else a 404. What a listener passes beside the request (Deno's `info`, Bun's
2775
+ server) says the socket's address. Another runtime's route may forward a request to it
2776
+ (`other.fetch(request)`), sockets included: a socket `Deno.serve` gave stays Deno's to accept. The
2777
+ runtime accepts its own socket: Deno's upgrade under `Deno.serve`, a `WebSocketPair` on workerd
2778
+ (not tested yet), else Oxian's route upgrade, whose decision `listen` takes directly (Oxian
2779
+ 0.23.4's asynchronous `prepare`).
2780
+ - **The site** is decided once, before anything else: the address the browser asked for, on the host
2781
+ the app's front says when the request carries the front's secret (`x-copilotz-front`, the `caller`
2782
+ resource's `front`; then `x-forwarded-host`), and under the app's base (`resources.page.base`: a
2783
+ route sees `/o/acme/x` as `/x`). Routes are matched, and cookies named and secured, by it. Without
2784
+ the secret, forwarded headers are ignored.
2785
+ - **Requests from other sites are refused** (403), in one rule in place of the web host's
2786
+ `fromPage`: a request that may change something (anything but GET, HEAD and OPTIONS), whose
2787
+ `Sec-Fetch-Site` isn't `same-origin` (or `none`) or whose `Origin` isn't the site's own, unless it
2788
+ carries `Authorization`. It holds for every route, not only `/connect`; a sibling host under the
2789
+ same domain is another site; webhooks send no `Origin`, and pass. So an MCP server's `origins`
2790
+ lets a browser's call through only with `Authorization`.
2791
+ - **`resources.hosts`** (`{ own: ["app.example.com", "*.run.app"] }`): the app's own hosts. With
2792
+ them named, a request to any other host is answered only by routes that take its host (a 404 when
2793
+ none does), never by the runtime's paths, its socket or `/connect`; and the app's own hosts are
2794
+ never a host route's. A host route for every host (`*`) takes only hosts that aren't the app's
2795
+ own: with none named, none.
2796
+ - **`who`** (`Plugin.who`, the `Who` and `WhoContext` types): asked in plugin order, once per
2797
+ request and when `/connect` issues a ticket; the first answer wins, and none is anonymous
2798
+ (`{ kind: "anonymous", id: "" }`). A `who` can't answer the system. What it queries is kept five
2799
+ seconds per query and params, and dropped when the actor is disconnected. `WhoContext` has
2800
+ `resources`, `query` and `call` (as the system: the api plugin notes a key's last use) and
2801
+ `cookies.get`. A request with both a session cookie and a key is whoever the first plugin in order
2802
+ says (usually the cookie). A store's failure while asking is a 500, never anonymous.
2803
+ - **Routes** (`Plugin.routes`, the `Route` and `RouteContext` types): matched more specific first,
2804
+ segment by segment (a literal before a parameter before a wildcard, deeper before shallower), `/*`
2805
+ last, and among patterns alike in plugin order; a later plugin's route replaces an earlier one of
2806
+ the same pattern, and `null` removes it. A route that isn't a pattern, or takes `/connect`,
2807
+ `/oxian`, `/api` or anything under `/api/`, stops the runtime from starting. What a route throws
2808
+ answers by its code: `invalid` 400, `unauthorized` 401, `forbidden` 403, `not_found` 404,
2809
+ `too_many` 429 (with `retry-after`), anything else 500 (logged), its words only when they're
2810
+ public.
2811
+ - **Cookies** (`ctx.cookies`, the `Cookies` type): `get(name)`,
2812
+ `set(name, secret, { days, sameSite })` and `clear(name, { sameSite })`, by the plain name; the
2813
+ runtime puts them on the route's response. Every cookie is httpOnly, `Path=/`, with no `Domain`;
2814
+ `Secure` and named `__Host-<name>` anywhere but plain http to this machine or one on its network;
2815
+ `SameSite=Lax` (30 days) unless said. A value is 1 to 512 cookie-safe characters (letters, digits
2816
+ and `._~+/=-`): a short one is fine where it's no secret; a cookie holding anything else reads as
2817
+ none. A response that sets or clears one is `no-store`. A name is the first plugin's to set;
2818
+ another may only when one builds on the other (`requires`), or both on the same one (Google's and
2819
+ dev sign-in's, and the directory's sign-out, all set identity's session); anything else is a
2820
+ plugin's mistake, and a 500. The `cookies` resource (`{ names, suffix }`, the `CookieSettings`
2821
+ type) renames them: `names` maps a name to the one it goes by, and `suffix` follows every other.
2822
+ - **Cookies the web host kept, and no longer does:** a leftover plain `session` cookie beside
2823
+ `__Host-session` is no longer cleared (it's ignored); a cookie that proves no one (forged, ended)
2824
+ is no longer cleared, and reads as nobody; `POST /signout` clears identity's `session` only (a
2825
+ site visitor's cookie stays).
2826
+ - **Tickets are the runtime's** (`runtime/tickets.ts`): one works once, for a minute; an actor has
2827
+ 30 a minute (`browsers.tickets`), past which `/connect` is a 429 with `retry-after`. Disconnecting
2828
+ an actor ends its tickets not yet used; a person's key has its own, apart from its person's.
2829
+ `createRuntime`'s `admit` is gone, and the runtime always has a key for remote executors (a new
2830
+ one each start, unless given).
2831
+ - **`POST /connect`** (POST only: else 405) answers `{ ticket, actor: { kind, id } }` (no `name`:
2832
+ the page asks `GET /me`), 401 for anonymous, and reads no body: arriving at a site chat is
2833
+ `POST /web/<name>`.
2834
+ - **Checked at start:** routes' patterns, `page.base` (a path with no trailing slash), the `cookies`
2835
+ and `hosts` resources, and the `links` secret (too short to sign with stops the start, rather than
2836
+ failing each link).
2837
+ - **New in `copilotz`:** `runtimes` and `Runtimes`; `connect` and the client's types
2838
+ (`ClientCollection`, `RemoteOptions`, `Watcher`…); `inScope` and `Scope`; `clientAddress`,
2839
+ `setClientAddress` and `loopbackAddress` (were in `copilotz/web/server`); `bodyOf` and `jsonOf`;
2840
+ `cookieSafe` and `CookieSettings`; `hostMatches`, `HostsSettings`, `ownHost`, `vouched`,
2841
+ `loopback` and `nearby`; `callerOf` and `exemptProblem`; and the `Route`, `RouteContext`, `Who`,
2842
+ `WhoContext` and `Cookies` types.
2843
+ - **`runtimes(open, { idleMs })`:** runtimes by id, each opened on its first `get`, the same one
2844
+ after (a failed opening is tried again), closed once idle (no browsers, nothing pending, 30
2845
+ minutes unless said) and opened again on its next use; `peek(id)` and `entries()` never open one;
2846
+ `close(id)` closes one now, and a `get` meanwhile opens another only once it has closed, so one id
2847
+ never has two writers; `close()` closes them all.
2848
+ - **`listen(fetch, { hostname, port, signal })`** (was `listen({ fetch, hypervisor, … })`) serves
2849
+ any fetch handler on Node, Bun and Deno through Oxian's Node adapter, sockets included, and
2850
+ answers a `Listener` (`url`, `finished`, `shutdown()`). `serve`, `ServeOptions` and `Server` are
2851
+ gone.
2852
+ - **The page plugin** (`webPage`, `copilotz/web/server`): `/app/*` (the code; the entry `no-cache`,
2853
+ chunks kept a year), `/assets/*`, `/manifest.webmanifest`, `/sw.js`, and `/*` for GET navigations
2854
+ only (`Sec-Fetch-Mode: navigate`, or an `Accept` with HTML, `*/*` or none): a script's `fetch`
2855
+ there is a 404, not the page. Its `/*` takes `GET /health` too, so the runtime's `ok` answers only
2856
+ an app without a page (with a page, `/health` was the page before as well). It refuses to start
2857
+ without `page.code`. The page tells its code the base (`appBase()`), and its `/connect` and socket
2858
+ follow it.
2859
+ - **The page in the browser:** `web()` posts to `/web/<name>` first when it arrives as a visitor
2860
+ (`arrive: { name, challenge? }`), asks identity's `GET /me` for the person's name while it takes
2861
+ its ticket, and finds the ways to sign in by asking `GET /google` and `GET /signin/dev`.
2862
+ - **Sign-in and sign-out are plugins' routes:** identity's `POST /signout` (ends the session,
2863
+ disconnects whoever it was, clears the cookie) and `GET /me` (401 for anyone but a person), and
2864
+ its contract's `signedIn` (sets the session's cookie, `SameSite=Lax` so an OAuth redirect back
2865
+ carries it, and answers `{ person }`); Google's `POST /signin/google` (`{ idToken }`) and
2866
+ `GET /google` (the first client id, cached five minutes); dev sign-in's `/signin/dev` (GET says
2867
+ it's there, POST `{ name }` signs in), from this machine only, as before. Nothing refuses to start
2868
+ with a recorded sign-in Action any more (the web host did): keep yours `record: false`, since its
2869
+ answer is the session's secret. `credential.revoke` (taking someone out of an org) disconnects
2870
+ their browsers and drops what `who` kept for them, so their next request is nobody at once.
2871
+ - **Webhooks and other plugins' HTTP are routes; their URLs are unchanged:**
2872
+ - WhatsApp: `/hooks/whatsapp/*` does Meta's handshake and checks the signature, then calls
2873
+ `whatsapp.receive` with `{ number, payload }`; `whatsapp.number` finds a number by its path.
2874
+ Both are the system's (no `allow`); `whatsapp.hook` is gone. `hookRoute` is exported, for a
2875
+ number's own path.
2876
+ - Voice: `/hooks/voice/<name>` and `/hooks/voice/<name>/over` check Twilio's signature and call
2877
+ `voice.ring` and `voice.hangup` (`voice.hook` is gone); `/hooks/voice/<name>/relay` takes the
2878
+ call's socket with Oxian's `upgradeWebSocket`.
2879
+ - MCP: `/mcp/*`, finding the app's widgets in the `widgets` resource (was
2880
+ `webServer({ widgets })`).
2881
+ - Maintenance: `/maintenance/*`; an org's runtime (`resources.org`) still never serves it.
2882
+ - Chat: `GET /files/<id>` is chat's route (was the web host's), read as whoever the request is, or
2883
+ by a link signed for the file.
2884
+ - Connected accounts: `GET /accounts/callback/<provider>` calls `account.callback` with
2885
+ `{ provider, code, state, error? }` as the session's person, and sends them back to Connected
2886
+ accounts.
2887
+ - Computers: previews are one route for every host shaped like a preview's
2888
+ (`*://*-preview.*:*/*`), answering only for the app's `previews.domain`, with the grant at
2889
+ `/__copilotz/previews/grant`; a release's downloads (`computerDownloads({ dir })`) are
2890
+ `/computer/download/*`.
2891
+ - Stripe: `stripeWebhook` is a plugin (was a function the app routed to by hand),
2892
+ `POST /__stripe/<seller>`: it checks the signature on the raw text, reads the event as facts
2893
+ (`stripe.fact`, asking Stripe for a dispute's charge through `ctx.fetch`), and hands them to the
2894
+ org's runtime as `billing.apply` under the event's id. Which runtime is the org's: the `stripe`
2895
+ resource's `orgs` (the directory's pool), or without them this runtime, when the event is for
2896
+ its org. The plan an org goes back to is the `billing` resource's `start` ("free" unless said),
2897
+ not a `start` option. What can be tried again answers 500; what never can, 200.
2898
+ - The cloud pool: its VMs' socket (`/__pool/oxian`) is `cloudPool`'s route, answered by its
2899
+ runtime's own socket.
2900
+ - **The site chat:** `POST /web/<name>` limits newcomers by address, runs the site's challenge,
2901
+ calls `contact.arrive` and sets the visitor cookie (`SameSite=Strict`); the site chat's `who`
2902
+ reads it. `contact_visitor.actor` now answers a visitor that hasn't spoken yet too.
2903
+ - **`ctx.fetch`** (`Context.fetch`, `ReadContext.fetch`): what plugin code calls outside services
2904
+ with, in Actions, Processors and queries, remote executors included; the platform's `fetch` unless
2905
+ `createRuntime({ fetch })` gives another. Adapters stay for real ports (model providers).
2906
+ - **The REST API is the runtime's own** (`/api/`, answered by `runtime.fetch` for whoever `who`
2907
+ says): collections (`GET /api/collections/<name>?filter=…`, `…/<id>`; `POST`, `PATCH`, `PUT`,
2908
+ `DELETE`), Actions by the caller's own call id (`Idempotency-Key`), queries (`GET ?params=` or
2909
+ `POST`), Views, emits (`POST /api/events/<type>`), the events stream, and the reference
2910
+ (`GET /api/`); any GET with `Accept: text/event-stream` is a watch. A credential that proves
2911
+ nobody is a 401, and so is a refusal to anonymous. Any origin may call it with a key; with a
2912
+ session's cookie, only the app's own page. Streams end at once when their actor is disconnected,
2913
+ and at each ping (every 20 s, on the runtime's clock) when `who` says someone else. The api
2914
+ plugin's `serveApi`, `Served`, its own HTTP, events and reference, and its `api_key.see` and
2915
+ `api_key.get` queries are gone; the reference says `actor` (no `key` record).
2916
+ - **Direct writes from outside** (REST, and the socket's new `core.write`): only where a rule speaks
2917
+ for the collection's writes (`Guard`'s operation gains `direct`), never `sys.*`, never a private
2918
+ field (nor a filter, sort or update that names one, over the socket too; a replacement keeps
2919
+ them), within the caller's reach, schema-checked, and recorded as the caller's events.
2920
+ **Breaking:** plugins' records change through their Actions: their rules refuse direct writes for
2921
+ spaces, memberships, invitations and requests; identity's people and sessions; keys; contacts;
2922
+ chat's messages, `live`, threads, files and what was shown (`shown`); memories; skills and their
2923
+ files; routines and their runs; the computers plugin's records; apps; cloud computers; agents;
2924
+ accounts; WhatsApp's phones and numbers; and voice blocks. Still writable directly, each under its
2925
+ rule: apps' own collections (an app guards its own the same way when its rules assume its
2926
+ Actions). Following events or watching a read holds a request open: an anonymous caller gets 401.
2927
+ The events stream follows the rules: a change is sent when the reader's rule matches the event's
2928
+ document.
2929
+ - **Identity: only a session proves someone.** `credential.actor` asks for `kind: "session"`: a key
2930
+ identity made before (`kind: "key"`, unscoped) proves nobody.
2931
+ - **The client** (`connect`, from `copilotz` and `copilotz/web`): `client.db.collection(name)`
2932
+ (`find` with `.toArray()`, `findOne`, `countDocuments`, `insertOne`, `updateOne`, `replaceOne`,
2933
+ `deleteOne`, `query`, `watch(filter, options?, onChange)`), `client.call(action, input, { id })`,
2934
+ and `connect(url, { key, over: "socket" | "http", plugins?, fetch? })` for scripts, beside the
2935
+ page's `connect({ transport, ticket, plugins })`. The socket gains a call's own id.
2936
+ - **Developer keys** are members of their space, with a scope. A key's actor is
2937
+ `{ kind: "person", id, key, scope }` (`within` is gone): `people` still lets it in and `inPerson`
2938
+ keeps it out. It's a member of its space (`key:<id>`), an editor when its scope calls or writes,
2939
+ else a viewer, never more than its person may be there, and reaches what both its membership and
2940
+ its person reach, with no org role (an admin's key reaches only its space). Its `scope` (exact
2941
+ names, no wildcards) is checked by the runtime (`inScope`) only where a call from outside comes
2942
+ in: calls, queries, Views rendered for it, direct reads and writes; a scoped actor emits nothing.
2943
+ Never inside a job: an Action it may call writes as usual. `api_key` records keep `scope` and
2944
+ `role`; their id is the start of the secret's hash (`hash` is private); they live in their space
2945
+ (`shared`), where its members see them in the Members tab and its managers revoke them.
2946
+ `api_key.actor` answers the actor; `api_key.revoke` (its person, or a manager) ends the key, its
2947
+ membership and its connections, and so does its person leaving the space or the org;
2948
+ `ctx.disconnect` of a key ends only its own. Spaces add `spaceMembers` (a section of the Members
2949
+ tab). A key's default space is gone: the runtime knows no spaces, and REST and the socket must
2950
+ behave the same.
2951
+ - **Identity makes no keys:** `key.create`, `key.revoke` and `credential.keys` are gone, and a
2952
+ credential is a session. People and sessions change only through identity's Actions.
2953
+ - **Many orgs, by forwarding** (see design/tenancy.md): the directory's routes forward `/o/<org>/…`
2954
+ to that org (404 for none, 403 when suspended), `/*` to the org the browser is in (a page asked
2955
+ for without a session there goes in first, to the org they were in, else their last, else their
2956
+ own, made now, then 302s back), and a host an org claimed to that org's host routes; anything else
2957
+ for someone signed in nowhere is the lobby's (without one, a 401). Entering an org (`POST /orgs`,
2958
+ `/orgs/enter`, `/orgs/invites/answer`, and a page's way in) is `org.enter`, then a signed handoff,
2959
+ a minute long and never out of the process, to the org's own `POST /enter`, which keeps who they
2960
+ are, joins them the first time, starts its session and sets its cookie (`s_<org>`). The
2961
+ directory's own: `GET /orgs`, `POST /signout` out of every org it holds a session for (each ended
2962
+ where its org is open; signing out never opens one), staff's `/console/orgs…` and
2963
+ `/console/codes…`, and the front's `/__copilotz/hosts/resolve` on any host. `directory.member`
2964
+ gives each org's runtime `resources.org` (id, name, kind, address), `page.base`, its cookies'
2965
+ names (`{ names: { session: "s_<org>" }, suffix: "_<org>" }`), the app's own hosts, the
2966
+ directory's hooks (invitations, leaving, renaming, claiming and releasing hosts, gift codes) and
2967
+ its `/enter`. The directory's session is still `__Host-dir` (the directory plugin's `cookies`
2968
+ resource), and which org a browser is in, `__Host-org`. `org.info` (a query, in place of the
2969
+ `org.get` Action) is kept 10 seconds, hosts' claims a minute, each forgotten at once when the
2970
+ directory changes it. The orgs host's tests are ported (`plugins/access/tests/orgs*.test.ts`).
2971
+ - **Removed entry points and exports:** `copilotz/web/tickets` (`createTickets`) and `copilotz/orgs`
2972
+ (`orgsHost`). From `copilotz/web/server`: `webServer`, `WebServerOptions`, `socket`, `Entrance`,
2973
+ `SignIn`, `Arrived`, `Door`, `Whom`, `whomOf`, `cookieOf`, `hostCookie`, `setCookie`, `siteOf`,
2974
+ `ANONYMOUS` (write `{ kind: "anonymous", id: "" }`), `Front`, `hostOf`, `HttpRequest`,
2975
+ `HttpAnswer`, `httpRequest`, `Route` (now the runtime's, a function), `RouteSocket` and `Served`;
2976
+ `clientAddress`, `setClientAddress` and `hostMatches` moved to `copilotz`. From `copilotz/web`:
2977
+ the orgs' browser half (now `copilotz/plugins/access/web`). From `copilotz/web/node`: `serve`,
2978
+ `ServeOptions` and `Server`. From `copilotz/plugins/interfaces`: `serveApi`, `WebLine` and the
2979
+ other `*Line` types. The `entrances`, `signIn` and `routes` resources; `createRuntime`'s `admit`;
2980
+ the actor's `within`; `whatsapp.hook` and `voice.hook`.
2981
+
2982
+ - **Oxian 0.23.5:** the Node adapter keeps an error listener on each request and response for their
2983
+ whole life, so a client leaving mid-response (a server-sent stream it stops) never reaches the
2984
+ process as an unhandled error (it did under Bun).
2985
+
2986
+ ## 1.0.0-rc.24 — 2026-11-06
2987
+
2988
+ **Upgrading from rc.23** (two breaking renames; no aliases, no data moves):
2989
+
2990
+ 1. **Views are found by name alone; the medium is gone.** Flatten `views`:
2991
+ `{ "booking.panel": { web: BookingPanel } }` becomes `{ "booking.panel": BookingPanel }` (`Views`
2992
+ is `Record<string, View>`). `render(medium, name, item, options)` and
2993
+ `observe(medium, name, item, options)` lose their first argument:
2994
+ `ctx.render("llm", "thread", t)` is `ctx.render("llm.thread", t)`,
2995
+ `client.observe("web", "booking.panel", item)` is `client.observe("booking.panel", item)`.
2996
+ `ViewContext` loses `medium`, and its `kind` is now `name`. `ctx.show(name, item)` shows exactly
2997
+ the View it names: there is no inheritance by place. The `"*"` fallback is gone; the hosts ask
2998
+ for their own default (`web.default`, `terminal.default`) when a name has no View.
2999
+ `runtime.describe().views` is the list of names. `GET /api/views/<name>` takes the name
3000
+ (`llm.thread`) and no longer reads `?medium=`; API keys that list a View by `thread` or `message`
3001
+ list `llm.thread` or `llm.message`. An MCP widget's `_meta` names the View without a medium.
3002
+ Where the same thing is shown in several places the name takes the place as a prefix; seven kinds
3003
+ were renamed:
3004
+ | Was | Is |
3005
+ | ------------------------- | ------------------------------------------------------------------------------------------- |
3006
+ | `message` | `llm.message`, `web.message`, `terminal.message`, `whatsapp.message`, `voice.message` |
3007
+ | `thread` | `llm.thread`, `web.thread`, `terminal.thread` |
3008
+ | `memory` | `llm.memory`, `terminal.memory` |
3009
+ | `live`, `shell`, `spaces` | `web.live`, `web.shell`, `web.spaces`; `terminal.live`, `terminal.shell`, `terminal.spaces` |
3010
+ | `*` | `web.default`, `terminal.default` |
3011
+
3012
+ Every other name stays (`tool:<name>`, `context:<name>`, `addition:<name>`, `mcp:offered`, and
3013
+ the rest). The last plugin to register a name still wins, so an app replaces WhatsApp's message
3014
+ with its own `whatsapp.message`. A page's address still names its View as before
3015
+ (`/thread/<id>`): the web shell looks for that name, then `web.<name>`, then `web.default` (hint
3016
+ `of` names the address's kind); the terminal's `open` does the same with `terminal.`.
3017
+ 2. **The anonymous actor is `anonymous`, not `visitor`:** a request nobody is signed in to is
3018
+ `{ kind: "anonymous", id: "" }` (`VISITOR` is `ANONYMOUS` in `copilotz/web/server`). Rules that
3019
+ named `visitor` name `anonymous` (identity's `callback` allows `person` or `anonymous`). The
3020
+ `visitor` entrance and its cookie keep their names. `runtime/actor.ts` now lists all six kinds
3021
+ (person, agent, contact, system, maintenance, anonymous); `routine` is an origin and `space` a
3022
+ kind of member, not actors.
3023
+
3024
+ - **Oxian 0.23.4:** its adapters await an asynchronous `prepare`, so a front serving several
3025
+ runtimes behind one listener can open the right one before deciding a socket upgrade.
3026
+
3027
+ ## 1.0.0-rc.23 — 2026-11-05
3028
+
3029
+ **Upgrading from rc.22** (three renames and one host change; nothing else needs doing):
3030
+
3031
+ 1. **`renderer` is `medium`:** rename `ctx.renderer` to `ctx.medium` in Views and in hand-made test
3032
+ contexts (`renderer: "web"` to `medium: "web"`). No alias.
3033
+ 2. **Web lines moved to the web interface:** add `webLines` beside `...access`
3034
+ (`plugins: [models, chat, ...access, webLines]`) and import `WebLine`, `WebLimits`, `WebSettings`
3035
+ and `WEB_LIMITS` from `copilotz/plugins/interfaces`. The `contactSend` hook's key is `web` (was
3036
+ `contacts`). No data moves.
3037
+ 3. **One web host:** `serveRoutes`, `routeHost` and `RouteListener` are gone, and so are `serve`'s
3038
+ `google` and `dev` options: declare sign-in with `googleSignIn` and `devSignIn` plugins instead.
3039
+ `serve` answers a `Server` (`close({ drain })`); `/connect` answers `{ ticket, actor, name? }`
3040
+ (`person` is gone).
3041
+
3042
+ - **Breaking: web lines are the web interface's, not contacts'.** `resources.web.lines`, arrival,
3043
+ the `visitor` entrance, the budget, the challenge, prune and the limits moved from
3044
+ `plugins/access/contacts` into `plugins/interfaces/web`, as one plugin, `webLines` (exported from
3045
+ `copilotz/plugins/interfaces`), as WhatsApp's, the phone's and MCP's lines are in theirs. The
3046
+ resource shape is the same (`web: { caller?, lines: { … } }`), and so are the Actions
3047
+ (`contact.arrive`, `contact.sending`, `contact.prune`, `contact.spent`, `contact.budget`) and
3048
+ collections (`contact_visitor`, `contact_rate`): nothing is renamed, so no data moves. Migrate by
3049
+ adding `webLines` beside `...access` (`plugins: [models, chat, ...access, webLines]`) and
3050
+ importing `WebLine`, `WebLimits`, `WebSettings` and `WEB_LIMITS` from
3051
+ `copilotz/plugins/interfaces` instead of `…/access`. Contacts keeps the contact, `contact.start`,
3052
+ `contact.chat` and `contact.forget`; erasing a visitor's contact now ends its cookie and its
3053
+ connections in a processor of `contact.deleted` (`web.forget`), a moment after the erasure, not in
3054
+ the same transaction. The `contactSend` hook's key is `web` (was `contacts`).
3055
+ - **Breaking: `renderer` is `medium`.** The docs said "medium" and the API said `renderer`; now one
3056
+ word. A View's context field `ctx.renderer` is `ctx.medium`, and the wire/owner `render` job's
3057
+ `renderer` field is `medium`. Migrate by renaming `ctx.renderer` to `ctx.medium` (and a test's
3058
+ hand-made context `renderer: "web"` to `medium: "web"`); `render(medium, kind, item)` already took
3059
+ the medium by position. The medium names are unchanged (`llm`, `web`, `terminal`, `whatsapp`,
3060
+ `voice`). No alias.
3061
+ - **One web host, its parts from the app's plugins.** `serve` (and `webServer` beneath it) is the
3062
+ host for every app: routes from `routes` resources, as before; the page and its code from `code`
3063
+ (none: no page, the routes and `/health`); who a browser is from a new `entrances` resource; how
3064
+ people sign in from a new `signIn` resource; browsers connecting with `tickets` (none: no browser
3065
+ connects). `serveRoutes`, `routeHost` and `RouteListener` are gone, and so are the host's `google`
3066
+ and `dev` options; `serve` answers a `Server`, whose `close({ drain })` stops listening and then
3067
+ closes the runtime.
3068
+ - **Entrances:** each is a cookie and the query that says who its secret is (`{ secret }` in, an
3069
+ actor out), asked in `order`; one may let a newcomer in on `POST /connect` (`arrive`, given the
3070
+ socket's address and the secret its cookie holds when that's no one yet), and end what it is on
3071
+ sign-out (`end`). The host keeps every cookie (httpOnly; `Secure` but over plain http to this
3072
+ machine or a LAN host, by the host the request is for as the app's front says it; `sameSite` lax
3073
+ or strict; `hostOnly`: `__Host-<name>` wherever it's Secure), clears one that's no one (forged,
3074
+ ended), and never takes a store's failure for no one. Identity declares the session (`session`,
3075
+ host-only, read by `credential.actor`, ended by `session.end`, which now takes `{ secret }` and
3076
+ is unrecorded: its secret was in the log). `/connect` answers `{ ticket, actor, name? }`
3077
+ (`person` is gone); `web()` connects as whoever it is (`start(client, actor)`), and
3078
+ `web({ arrive })` is what the page asks coming in, at the app's `base` (an org's, with many).
3079
+ - **Sign-in:** `POST /signin/<name>` for each way a plugin declares: an unrecorded Action (the
3080
+ host refuses to start with a recorded one), called as the system with the request's JSON,
3081
+ answering `{ person, session }`; `local` ones from this machine only: the socket's address (as
3082
+ the listener saw it, `clientAddress`) and the host must both be loopback, a request whose
3083
+ address nobody set is refused, and so is one carrying any header a proxy adds (`forwarded`,
3084
+ `via`, `x-forwarded-*`, `x-real-ip`, `cf-connecting-ip`…: a proxy on this machine that rewrites
3085
+ `Host` made every request this machine's). `devSignIn` refuses to start in an app whose `links`
3086
+ origin is public (a proxy that adds no header, as nginx's `proxy_pass` as it comes, can't be
3087
+ told from this machine). `googleSignIn` declares `google` (the page shows its button for the
3088
+ first client id); the new `devSignIn` plugin declares `dev` (by name or email, this machine
3089
+ only). The orgs host signs in with whatever its directory declares (`signIn: { at: directory }`
3090
+ for its orgs' pages). `describe()` marks unrecorded Actions (`record: false`).
3091
+ - **Visitors** (the contacts plugin's web lines, `resources.web.lines.<name>`: `in`, `agent`,
3092
+ `title`, `days`, `limits`, `files`, `transcribe`, `org`; `web.caller`, as MCP's; and the app's
3093
+ `links` secret, which visitors' cookies are signed with): a page asking to come in by a line
3094
+ (`{ line }`) that isn't anyone becomes a visitor, its browser keeping a signed secret in a
3095
+ `SameSite=Strict` cookie (`__Host-visitor` wherever it's Secure) that's the same visitor for
3096
+ `days` (30). Coming in makes and keeps nothing, in memory either: the visitor the server issues
3097
+ carries its line (`web`) and its networks' tags (`from`: HMACs, never the address), which its
3098
+ messages are counted by. Its first message (`chat.send`, naming no chat) makes its contact
3099
+ (`via: "web"`), its own chat in the line's space and its record (`contact_visitor`), through
3100
+ chat's new `contactSend` hook (`contact.sending`). Limits, each a plain 429 for that caller
3101
+ alone, by address held for each network it's in (`networksOf`: an IPv4 address and its /24, an
3102
+ IPv6 /64, its /56 and its /48, each as many callers' worth as it counts, `SCALE`: 8, 4 and 8):
3103
+ new visitors an hour from one address (`ipVisitorsPerHour`, 20), and as many first messages,
3104
+ counted by the address the app's front says, else the socket's (with neither, nobody's let in,
3105
+ said loudly; all from one private address, said once); a visitor's messages a minute and a day
3106
+ (`perMinute` 10, `perDay` 200), its address's (`ipPerMinute` 30, `ipPerDay` 1,000), the line's a
3107
+ minute (`linePerMinute` 300, of which newcomers, who hadn't spoken before the minute, send
3108
+ `newcomersPerMinute` 200: the rest is kept for conversations going on), and new visitors who
3109
+ speak an hour (`visitorsPerHour`, 600), each place taken in one conditional write, so messages
3110
+ at once can't pass a limit. A line's `budget`: what its visitors' turns may be charged a day
3111
+ (UTC), as the usage ledger prices them (`usage.quote`, through `modelUse`); past it, its
3112
+ visitors' messages wait for tomorrow. A line's `challenge`: an Action of the app's a newcomer
3113
+ passes first (a CAPTCHA's check, given what the page sent,
3114
+ `web({ arrive: { line, challenge }
3115
+ })`). Files only on a line that takes them
3116
+ (`files: { count, bytes }`, 1 of 5 MB unless said), each with a media type; audio transcribed
3117
+ only with `transcribe: true`. `contact.forget` ends a visitor's cookie and its browsers'
3118
+ connections at once (its record stays, ended, until its cookie's time is past), and so does
3119
+ removing its line. Every ten minutes (`contact.prune`) what's past goes: counters, records past
3120
+ their time, a contact made for a first message that never went in. A visitor fetches its own
3121
+ chat's files (`file.content` is open to contacts, under the rules), and finds its chats by its
3122
+ own memberships (`member` by its key, `contact:<id>`). Checked at start (a challenge that's no
3123
+ Action, a budget without the usage plugin).
3124
+ - **What a contact reads:** never an agent's private steps (each tool's input and output), a tool
3125
+ call being written, a step's words before it's known to be an answer, why a model's call broke
3126
+ (the provider's words), nor a tool's files. The access rules' `shared` resource takes `contact`,
3127
+ a filter a contact acting itself (never the agent working for it) reads and writes through:
3128
+ chat's messages without `private` or `toolCalls`; `live` without a tool call or a `retry`, and
3129
+ with words only of a turn that offers no tools (`open: true`, every step an answer; of one that
3130
+ does, a contact sees only that the agent is at work); files without a tool's (`private`, as
3131
+ OpenAPI's are now). A turn stopped mid-step keeps its words only when they were surely an
3132
+ answer. A contact's own reads from its browser name what of its own they read (its chat:
3133
+ `thread`, or `_id`, 32 at most, its read 2 KB of JSON at most: `CONTACT_READ`; of spaces and
3134
+ memberships, only its memberships by its key), else they're refused and never watched; it reads
3135
+ no `aggregate` or `nearest` directly. The voice relay reads its call as the line's agent working
3136
+ for the caller (only what both may read), and says what a web visitor reads: answers, never a
3137
+ step's words before its tools, and words as they're written only of a turn that offers no tools
3138
+ but those called beside an answer (a tool's new `aside: true`, as the voice plugin's `end_call`
3139
+ is): one with other tools says its answer once it's whole. A contact's message says 4,096
3140
+ characters at most (`CONTACT_TEXT`), never what sent it (`via`), and never titles its chat or
3141
+ lets an agent rename it (`title`, `renamable`); a file's media type is one (`MEDIA_TYPE`, 127
3142
+ characters at most, `MEDIA_TYPE_LENGTH`), which the agent is told. WhatsApp, voice and MCP
3143
+ contacts never held a browser connection: they read only through the app's own code.
3144
+ - **Security:** `/connect`, sign-in and sign-out (and the orgs host's own POSTs) answer only the
3145
+ app's own page: an `Origin` that isn't this host (as the front says it), over https off this
3146
+ machine and its LAN, or a cross-site `Sec-Fetch-Site`, is a 403, so another site can't make its
3147
+ visitors arrive here or sign anyone in. Bodies there are JSON objects of 16 KiB at most; route
3148
+ bodies are refused (413) as soon as `content-length` is over 10 MB, and read no further than
3149
+ that while streaming. What either host answers in JSON is `cache-control: no-store`, and what
3150
+ goes wrong says only its public words, with its code's status (500s are logged). So does a
3151
+ route's Action that refuses (`forbidden`, `invalid`, `not_found`, `unauthorized`: its status,
3152
+ and its words only when public). The caller's address parser (`callerFrom`, `callerProblem`,
3153
+ `CallerSettings`, and `countedOf` for a socket's) moved from MCP into the runtime, so MCP and
3154
+ web lines read callers one way. `mcp.call` refuses a contact without an MCP line (a web
3155
+ visitor), naming a line or not.
3156
+ - **Limits on browsers:** 30 tickets per actor a minute (`createTickets({ perMinute })`; past them
3157
+ `/connect` is a 429 with `retry-after`, and `issue` throws `too_many`), 16 browsers (worker ids)
3158
+ per actor, each on two connections at most (one coming while the last goes), 512 watched reads
3159
+ per connection (past them, `too_many`; those watched keep going), 16 resume credentials per
3160
+ actor (the oldest dropped), each working once, for the browser it was given to. A connection
3161
+ counts from the moment it's let in (Welcome) until it goes, ready or not, and one that doesn't
3162
+ say it's ready within 10 seconds is closed (the owner's Hypervisor `readyTimeoutMs`, for every
3163
+ worker: none starts anything before Ready). A contact far less: 2 browsers, 32 watched reads on
3164
+ each connection; and contacts together 16 connections from a network (as many times as it
3165
+ counts: by the tags of `actor.from`, `scaleOf`), 300 on a web line, 400 in all: well under what
3166
+ a listener holds (`LISTENER`, Oxian's Node adapter's 1,000), so people find room. Runtimes on
3167
+ one listener count their contacts together with one `contactsPool()`: the orgs host gives each
3168
+ org one (`open`'s `given.browsers`, for `createRuntime({ browsers })`). The limits are settings:
3169
+ `createRuntime({ browsers })` (`BrowserLimits`: `sockets`, `watches`, `resumes`, `contact`,
3170
+ `network`, `line`, `contacts`, `pool`), checked at start; people never count against contacts'.
3171
+ A contact's browser is told a failure's words only when they're for anyone (`public`), as MCP's
3172
+ callers are: never a provider's (a transcription's raw error said a key's prefix). Tickets and
3173
+ resumes expire on a timer (`runtime/expiring.ts`), never by looking through them all on each one
3174
+ issued.
3175
+ - **Cookie names, and a one-time sign-out:** every entrance's cookie is the host's alone unless it
3176
+ says `hostOnly: false`: identity's session is `__Host-session` wherever it's Secure, and the
3177
+ orgs host's own cookies (`dir`, `org`, `s_<org>`) and every org's entrances' are `__Host-` too,
3178
+ so no other host under the domain (a preview's page) can set one to make a browser someone it
3179
+ chose. The names change: every browser signed in before is signed out once, on upgrade, and what
3180
+ it held under the old plain name is ended where it lives and cleared (on `/connect` and on
3181
+ sign-out), so a version rolled back that reads the plain names finds no one there. Stripping
3182
+ `Domain` from a preview's Set-Cookie (as previews do) doesn't stop that by itself: a preview's
3183
+ page script can still set `document.cookie` with `Domain=<parent>`; the `__Host-` names are what
3184
+ stop it.
3185
+ - **Signing out, and erasing a contact, end their browsers** (`runtime.disconnect(actor)`, and
3186
+ `ctx.disconnect` from an Action): their resume credentials go and each connection closes. A
3187
+ browser comes back only with a new ticket: the client now asks for one when its way back is
3188
+ refused (it used to stop, until its page reloaded), which only a cookie that's still someone
3189
+ gets; another device of the same person comes straight back. A connection let in before (not yet
3190
+ ready) is never ready, and tickets handed out to them not yet used are no one's (`Tickets.end`,
3191
+ which sign-out calls). An org's own (`bound:`) executor can't end anyone's browsers; plugins are
3192
+ trusted code, as with `cancel`. With the orgs host, sign-out ends every open org's session the
3193
+ browser holds.
3194
+ - **Migration:** `serveRoutes({ runtime, … })` is `serve({ runtime, … })` with no `code`.
3195
+ `google: { clientId }` and `dev: true` are the plugins' resources now: add `googleSignIn` (with
3196
+ the `google` resource) and `devSignIn` to the runtime's plugins (the directory's, with orgs). A
3197
+ listener of the app's own (`Deno.serve`) says where each request came from
3198
+ (`setClientAddress(request, info.remoteAddr.hostname)`, from `copilotz/web/server`), and so do
3199
+ tests that sign in with dev sign-in through a hand-made `Request`
3200
+ (`setClientAddress(request, "127.0.0.1")`); `serve` and `listen` do it themselves. Web lines
3201
+ need the `links` resource. `whomOf(runtime, { cookie?, front? })` (was
3202
+ `whomOf(runtime,
3203
+ cookie?)`), and `setCookie` takes the request's site
3204
+ (`siteOf(request, front)`). An entrance whose cookie something else under the domain reads says
3205
+ `hostOnly: false`. A visitor's page finds its chat through its memberships (`member`
3206
+ `{ member: "contact:<id>" }`), not by reading every `thread`. An app that ran this branch
3207
+ before: visitors' cookies (their secret's format and key changed) and links signed before
3208
+ upgrading don't open; visitors are newcomers once.
3209
+ - **The runtime, for the web host's limits** (from the second security review of the one host):
3210
+ - **The in-memory store reaches a document by its id at once.** A filter that keeps to ids (`_id`
3211
+ a string, `$eq` one, `$in` strings, also in a top-level `$and`) looks them up, rather than
3212
+ copying and scanning the whole collection on every read and write; other reads scan without a
3213
+ copy, and stop at a `limit` without a `sort`. The `durable: false` collections (`live`, the web
3214
+ lines' counters, billing's `room`) share that store and its one transaction queue, so their cost
3215
+ no longer grows with what they hold. Results come in the same order.
3216
+ - **Links are signed with a key of their own** (`keyOf(secret, use)`, HKDF-SHA256 of the `links`
3217
+ secret; web visitors' cookies use another), never the secret itself, and the `links` resource
3218
+ takes the one before it (`previous`), while what it signed should still open: a link until it
3219
+ expires, a visitor's cookie (the same contact) while it lasts. **Breaking:** links signed before
3220
+ upgrading (an hour's) no longer open. A secret that leaked is never given as `previous`: it goes
3221
+ at once.
3222
+ - **A rule hears a browser's own reads** (`Guard`'s `direct`, asked with the read's filter before
3223
+ it's watched) and may refuse one it won't watch, throwing. Plugins' `check` sees every Action
3224
+ (`merged.actions`). A contact reads its own memberships by its key (anyone else, memberships as
3225
+ far as they reach: a key `within` a space, that space's).
3226
+ - **An aggregate with its own `$match` works under a rule:** the rule's filter joins it in one
3227
+ `$match`; before, every such read failed `invalid`.
3228
+ - **Who calls, by network:** `networksOf(counted)` (an address's wider networks, each with its
3229
+ prefix and `scale`), `SCALE`, `scaleOf(tag)`, `privateAddress(address)`.
3230
+ - **From the third security review of the one host:**
3231
+ - **A watched read is matched only against changes it could concern.** A read whose filter names
3232
+ values of a field of its own (a string, `$eq`, `$in` of up to 256 strings: a chat's `thread`, an
3233
+ `_id`) is filed under them; a change to a document holding none of them (before or after, in
3234
+ that field or an array there) skips it before any matching. The owner's read cache does the same
3235
+ for the queries it keeps. Results are exactly as before. New in the reference
3236
+ (`runtime/mongo.ts`): `namedBy(filter)`, `valuesAt(doc, field)`.
3237
+ - **A web line's budget holds, and fails closed.** Each visitor's message holds an estimate of its
3238
+ turn's cost as it goes in (the most one of the line's visitors' model calls cost lately; before
3239
+ any is known, the rest of the day's budget, so one turn goes at a time until a cost is),
3240
+ released as its first call is charged, or lapsing in two minutes: messages at once can't all
3241
+ pass a budget only one fits. Before each model call (and transcription) for a visitor, a spent
3242
+ budget refuses it, for good, so a turn's tool loop stops there: the models plugin's `modelUse`
3243
+ listeners may now refuse a call before it's made (`may`, its refusal `final`; `mayUse`,
3244
+ `ModelCall`). Use the ledger prices at nothing (no price for the model, or pricing failing)
3245
+ closes the line for the day, said in the log. New: `contact.budget`; `contact.spent` takes
3246
+ `contact`, and `unpriced`.
3247
+ - **Web visitors:** a secret dated more than 5 minutes ahead is nobody's. An erased visitor's
3248
+ record is kept as long as any cookie made before could last (400 days, the most a line may say,
3249
+ `MOST_DAYS`), so raising a line's `days` can't bring an erased visitor back.
3250
+ - **MCP's ids** (contacts, chats, users, addresses) are HMACs with the `mcp` key of the app's
3251
+ secret (`keyOf`), never the secret itself; with `links.previous`, a conversation made under the
3252
+ one before goes on as itself (the new system-only `mcp.conversation`; `mcp.call` takes the chat
3253
+ the route found, `thread`). **Breaking:** every MCP conversation from before is new once (no
3254
+ deployment uses the MCP interface yet).
3255
+ - **MCP widgets: an app's web Views drawn inside ChatGPT and other MCP Apps hosts** (#165). A line's
3256
+ tool can name a web View (`mcp.lines.<name>.tools.<tool>.widget`); the web host serves one
3257
+ `ui://<line>/widget-<version>.html` template per line (`webServer({ widgets: widgetsOf(...) })`),
3258
+ and a result carries the View, a snapshot of what it reads, and a short-lived grant in `_meta`
3259
+ only, never in what the model reads. Widget-only tools (`visibility: ["app"]`, `action`) refuse
3260
+ calls without a grant for that conversation. The widget host is `copilotz/web/widget`
3261
+ (`widget({ plugins, root })`), speaking MCP Apps' postMessage bridge with ChatGPT's
3262
+ `window.openai` as fallback.
3263
+ - **A tab comes back after a network flap.** A new connection on a worker id that already has two
3264
+ closes the oldest instead of being refused (a Welcome lost on the way no longer locks the tab
3265
+ out), and a client that was in once keeps re-enrolling, longer apart, when it's refused.
3266
+ - **A model the app doesn't pay for is checked against a web line's budget too** (`paid`-tagged ones
3267
+ skipped `may`, so a visitor's tool loop could go on past a spent day).
3268
+ - **A web line's budget loses no charge under load:** `charge` is one atomic write (`$inc` the
3269
+ spend, `$unset` the hold), and `hold` retries with jitter until a deadline instead of eight
3270
+ immediate tries (no more false "busy"). One call costing more than the whole budget no longer
3271
+ closes the line for 30 days: with nothing held, a message holds at most what's left.
3272
+ - **Voice: a line's `waiting` phrase** (`voice.lines.<name>.waiting`, none by default) is spoken
3273
+ once when a turn starts running tools before any answer, so a caller doesn't hear silence. Never
3274
+ for an answer without tools, nor for `end_call`.
3275
+
3276
+ ## 1.0.0-rc.22 — 2026-11-04
3277
+
3278
+ **A security release: upgrade now.** Before it, a Google sign-in wrote the new session's secret to
3279
+ the event log, and connecting a computer wrote the computer's secret (the first entry below). After
3280
+ upgrading, every deployment should:
3281
+
3282
+ 1. **End every session made before the upgrade:** delete the `credential` documents of
3283
+ `kind: "session"`, so every signed-in person signs in again. Keys are unaffected.
3284
+ 2. **Scrub the old events that hold these secrets**, from the store and from anything that copied it
3285
+ (backups, exports, exporters): the `action.started` and `action.completed` events of
3286
+ `google.sign-in`, `computer.code`, `computer.enrollment` and `computer.work`, and the
3287
+ `action.started` events of `session.end`, `computer.admit`, `pool.admit` and `pool.serve`.
3288
+ 3. **Reconnect computers whose log may have been read:** forget each one (`computer.forget`) and
3289
+ connect it again with a new code. A computer's secret can't be rotated yet.
3290
+
3291
+ - **Security: a Google sign-in no longer writes the session's secret to the log.** `google.sign-in`
3292
+ was a recorded Action, so the event log kept its input, the Google ID token, and its result,
3293
+ `{ person, session }`, with the new session's secret in plain text. Anyone who could read the log
3294
+ (a database reader, a backup, an export, an exporter) could sign in as that person, staff
3295
+ included. The identity plugin keeps secrets only as hashes, and this Action undid that. It is now
3296
+ unrecorded (`record: false`), like `session.start`. So is `session.end`, whose input is the secret
3297
+ being ended. Found by a security review.
3298
+ - **Computers' secrets are kept out of the log too**, found by checking every Action for the same
3299
+ mistake. These are now unrecorded: `computer.admit`, whose input is a computer's secret (or the
3300
+ code connecting it) on every connect; `pool.admit`, whose input is a pool VM's identity token;
3301
+ `computer.code`, whose result is the code that connects a computer as its person; and
3302
+ `computer.work`, whose input and result are what a person types and sees in their shell, files'
3303
+ contents and the env values they pass. `computer.enrollment`'s result (`code`) and
3304
+ `pool.serve`'s `assign.code` and `assign.secret` (also when forwarded by `remotePool`) are
3305
+ private: still recorded, so a retried wake gets the same code, but the code isn't logged.
3306
+ - **Deployments should end every session made before this fix.** Delete the `credential` documents
3307
+ of `kind: "session"`, so every signed-in person signs in again. Keys are unaffected. A
3308
+ computer's secret can't be rotated yet: where the log may have been read, forget the computer
3309
+ (`computer.forget`) and connect it again with a new code.
3310
+ - **Old events still hold these secrets until they're scrubbed**, from the store and from anything
3311
+ that copied it: the `action.started` and `action.completed` events of `google.sign-in`,
3312
+ `computer.code`, `computer.enrollment` and `computer.work`, and the `action.started` events of
3313
+ `session.end`, `computer.admit`, `pool.admit` and `pool.serve`. Ended sessions, used codes and
3314
+ expired tokens prove nobody, but scrub them anyway.
3315
+
3316
+ - **MCP: a conversation whose first call an owner stopped no longer ends for good.** A new
3317
+ conversation's chat is made (`chat.open`) and then shared with its contact (`member.set`), two
3318
+ writes; an owner that stopped between them (a deploy, which doesn't wait for running calls, or a
3319
+ crash) left a chat its contact couldn't reach, which is how a contact its people took out of its
3320
+ chat looks, so every later call said "This conversation with the app is over". A new
3321
+ conversation's opening is now noted with its first call's counts (`mcp_opening`, durable, no
3322
+ events, gone with its receipts after 15 minutes) and dropped once the chat is shared: a chat out
3323
+ of its contact's reach, with its opening noted, goes on as new (asked again within 15 minutes, its
3324
+ contact not erased); without one, it stays over. Erasure's tombstones are read first, as before.
3325
+ This is what failed the MCP restart test on slower machines (macOS CI); the test now waits on what
3326
+ it watches for, not on fixed times, and a new one stops an owner at each of a first call's writes.
3327
+ - **Contacts: a start cut short after a contact's record, before sharing it with the contact, is
3328
+ finished when it's started again** (`contact.start`, on WhatsApp, voice and MCP): the contact, and
3329
+ the agent working for it, read the record again. A known contact was returned as it was.
3330
+ - **Maintenance SQL can run as the store's own role, told so:**
3331
+ `postgresStore({ url, schema, maintenance: { storeRole: true } })`, beside a role of its own
3332
+ (`maintenance: { url }`; both at once stop the store from opening, and neither still refuses raw
3333
+ SQL on a server, its message naming both). Anyone holding the maintenance key can then do whatever
3334
+ the store's role can: drop or truncate its tables, delete from the log, read every schema it
3335
+ reaches. Only the allowlist check is skipped; the statement filter, a connection of its own for
3336
+ each statement over the extended protocol, the timeouts, caps and `connections`, fenced writes in
3337
+ the owner with their `maintenance.sql` event, the rollback of what changes `meta` or makes a
3338
+ trigger, and the emptied cache all hold. Still refused, before each statement and after a write: a
3339
+ role that is or may become a superuser, a member of `pg_execute_server_program`,
3340
+ `pg_read_server_files` or `pg_write_server_files`, one with `CREATEROLE` before PostgreSQL 16, or
3341
+ one that may run the server's file functions (`pg_read_file`, `lo_import`, `lo_export`…). Cloud
3342
+ SQL's `postgres` user passes from PostgreSQL 16. An orgs host's orgs still don't get the plugin.
3343
+
3344
+ ## 1.0.0-rc.21 — 2026-11-04
3345
+
3346
+ - **Security: a burst of calls no longer drops an executor's connection** (Oxian 0.23.3). About 35
3347
+ concurrent calls on one executor (around 20 holding transactions) filled Oxian's queues, and the
3348
+ connection was lost with every job in flight on it (`executor_lost`): a remote DoS on any app with
3349
+ a public entry point, flagged by a security review. Full queues now hold senders back instead.
3350
+ Long-lived workers also move to a fresh connection before one's streams run out, instead of
3351
+ failing calls with `capacity`; Copilotz treats the move as the same worker (#154).
3352
+ - **MCP: models outside the app call its tools** (the new `mcp` interface; widgets come next). An
3353
+ app declares lines in `resources.mcp.lines.<name>`, each an MCP server at `POST /mcp/<name>`
3354
+ (`/o/<org>/mcp/<name>` under many orgs): the space its chats live in (`in`), the tools it offers
3355
+ (`tools`, by name: only these, never an agent's; each needs its `tool:<name>` View, else it isn't
3356
+ offered, and one whose `offer` says no to a contact isn't either), how each is shown (`title`,
3357
+ `annotations`, ChatGPT's `invoking`/`invoked` lines, 64 characters), who calls (`client`, the
3358
+ steps' sender), `title`, `version`, `instructions`, `handles`, `origins`, `org` and `limits`; and
3359
+ plugin-wide, how it knows a caller's address (`caller`) and calls at once in the process
3360
+ (`atOnce`, 8). Checked at start; it needs the `links` resource's secret.
3361
+ - **The protocol:** Streamable HTTP and JSON-RPC 2.0, written in the plugin, answered as JSON,
3362
+ with no session (GET and DELETE are 405; no `Mcp-Session-Id`). MCP 2026-07-28 (per-request
3363
+ `_meta`, `server/discover`, the `MCP-Protocol-Version`, `Mcp-Method`, `Mcp-Name` and
3364
+ `Mcp-Param-*` headers checked against the body: -32020) and 2025-11-25, 2025-06-18 and
3365
+ 2025-03-26 (`initialize`; batches only for 2025-03-26, 10 messages at most, one after another).
3366
+ Unknown versions are -32022 with the supported ones. Every tool says `noauth`, and all four of
3367
+ MCP's hints. A request with an `Origin` the line doesn't name is 403; input nested past 64
3368
+ levels, or holding a `$blob`, is -32602.
3369
+ - **Conversations:** ChatGPT's `_meta["openai/session"]` (with `openai/subject`) names one; a
3370
+ client that names none gets a `chat` handle (128 random bits, an optional input on every tool,
3371
+ said once, at the end of the first answer), or with `handles: false` is refused. Each is a
3372
+ contact (`via: "mcp"`) in a chat of its own in the line's space, its ids HMACs of the key with
3373
+ the `links` secret: no table. A handle the app never gave is refused; a chat whose contact its
3374
+ people took out, or that was erased (`contact.forget`, `chat.erase`: a tombstone, `mcp_closed`,
3375
+ no personal data), is over for good.
3376
+ - **A call** is `mcp.call`, called by the route as the conversation's contact (an actor only the
3377
+ route makes: `{ kind: "contact", id, mcp, client }`, which the Action's `allow` asks for). It
3378
+ runs the tool through chat's runner, writes a private step from the line's `client` in the chat
3379
+ (in its space as it is now; only input that fit the tool's schema, else a note of what was
3380
+ sent), and answers with the tool's View, read as the contact, never its output as it is. Only a
3381
+ public error (below) says its message. `ctx.callId` is the step's id (the call's,
3382
+ `mcp:<thread>:<hash of the request id>:<hash of tool and input>`, and when it began), the same
3383
+ however often a call cut short runs again; a new call has a new one. A tool that changes things
3384
+ keeps a receipt (`mcp_receipt`, durable, no events, gone after 15 minutes) by what it asks in
3385
+ its conversation (tool and input), whatever the request's id: the same call while it runs waits
3386
+ for that run; asked again, under any id, within two minutes of its end it's answered what it
3387
+ said (kept up to 8,000 characters), beginning with a line saying it wasn't done again (so a
3388
+ second, deliberate purchase isn't taken for done); begun and never done (stopped, an owner
3389
+ restarted, or failed by accident and told to try again), it runs again as the same step, with
3390
+ `retry` and the same `callId`. A public refusal is an answer, and is said again. A read-only
3391
+ tool always runs.
3392
+ - **Limits** (`limits`): calls at once in the runtime (`mcp.atOnce`, 4: each org's own under the
3393
+ orgs host), on the line (4: an executor's connection takes about that many tools that change
3394
+ things at once until Oxian's send backpressure is released), from one caller's address (2; a
3395
+ batch's every call counts) and in one conversation (2), past any of which it's 503 busy, -31000
3396
+ (a batch, an error for each of its requests; a batch with more tool calls than `addressAtOnce`
3397
+ is refused, -32600); how long the route waits for an answer (`timeout`, 20 s: then the model is
3398
+ told it's still working, as long as few calls are, `lateAtOnce` 2 on the line and
3399
+ `addressLateAtOnce` 1 from an address, else it's stopped) and a call may run (`stop`, 60 s: then
3400
+ it's stopped; tools should honour `ctx.signal`); a request's body (64 KiB), calls a minute by
3401
+ conversation (30), by caller's address (60) and on the line (600), new conversations an hour by
3402
+ user (30, ChatGPT's `openai/subject`), by address (20) and on the line (600), and an answer's
3403
+ length (100,000 characters). Only calls taken count, and a new conversation once it's made. The
3404
+ address is believed only as the app's front says it (`caller`: its header, with the front's
3405
+ secret, a request without which is refused, or the proxies' `hops`, which a list header such as
3406
+ `x-forwarded-for` needs); IPv6 is counted by its /64, IPv4 written as IPv6 as IPv4, and an
3407
+ address that can't be read with every other such call, as one. Ranges in `caller.exempt`
3408
+ (OpenAI's) aren't limited by address.
3409
+ - **A failure can be public** (`failure(code, message, { public: true })`, `isPublic`): its message
3410
+ is for any caller, even a model outside the app over MCP, which no other error's words reach. It
3411
+ stays public from job to job. A code alone isn't public: libraries' errors have codes too.
3412
+ - **Chat's tool runner is in its contract** (`runTool`, `toolText`): a tool's input checked, run,
3413
+ and its result read as agents read it, as a turn does; the turn uses them. Input that doesn't fit
3414
+ a tool's schema is a public failure, and the runner says so (`unchecked`). `Tool` gains `title`
3415
+ and `annotations` (`readOnly`, `destructive`, `idempotent`, `openWorld`).
3416
+
3417
+ - **Phone calls: the `voice` plugin** (in `copilotz/plugins/interfaces`), on Twilio's
3418
+ ConversationRelay. The app declares its lines (`resources.voice.lines.<name>`: `in`, `account`,
3419
+ `token`, `origin`, and optionally `agent`, `language`, `tts`, `voice`, `stt`, `texts`, `gap`,
3420
+ `trustCallerId`, `keys`, `limits`, `org`), each a Twilio number open to anyone who calls; their
3421
+ settings are checked at start.
3422
+ - **Twilio's webhook** is `POST /hooks/voice/<line>` (the `voice.hook` route): checked against
3423
+ `X-Twilio-Signature` with the line's auth token. A caller the line's managers blocked isn't
3424
+ taken (`voice.block { thread, days? }`, kept by the number's hash; `voice.unblock { block }`
3425
+ lifts it by its id, whatever is left of the call); then a call is taken within its caller's
3426
+ limits (`callerAtOnce` 1, `callerPerDay` 10; withheld numbers, together, their own
3427
+ `hiddenAtOnce` and `hiddenPerDay`, by default the line's `atOnce` and half its `perDay`), then
3428
+ the line's (`atOnce` 2, `perDay` 50 calls that went on in any 24 hours), or rejected as busy
3429
+ (`<Reject reason="busy"/>`: nothing is spent). A call taken gets TwiML that opens the line's
3430
+ socket (`<Connect><ConversationRelay>`, the line's language, greeting and voice) with a ticket
3431
+ good once, for a minute; `POST /hooks/voice/<line>/over` hears the relay end and hangs up.
3432
+ - **The socket** (`GET /hooks/voice/<line>/relay`, a `serve` route): its signature checked, its
3433
+ ticket used, then Twilio's `setup` must name the call the ticket was for. The caller is a
3434
+ contact (`via: "voice"`) in a chat of their own in the line's space, answered by the line's
3435
+ agent (a line whose agent doesn't answer there fails the call). A number isn't proof of who's
3436
+ calling: calling back goes on in the same contact and chat (until the line's `gap`, 12 hours,
3437
+ and never into a chat with another call on, checked in the write that puts the call live) only
3438
+ when Twilio verified the number (`StirVerstat` `TN-Validation-Passed-A`) or the line sets
3439
+ `trustCallerId`; otherwise, and for withheld numbers (Twilio's placeholders, `+266696687`,
3440
+ `+7378742833` and the like), each call is a new contact.
3441
+ - **What's said:** what the caller says goes to the agent at once, one prompt after the other; a
3442
+ prompt said while the answer to the one before is still being written stops that turn, and the
3443
+ next turn reads both (Twilio already waits for the caller to finish: a quiet window would add to
3444
+ every answer). What the agent writes is said as it writes it, word by word (a step's words
3445
+ before its tools, then its answer), through the `voice_call` View read as the caller, and only
3446
+ of the turns the caller's own words started: a staff member's turn in their chat isn't said.
3447
+ Speaking over it (`interrupt`) cuts what was being said, and the agent is told what was heard
3448
+ (the `voice` context). Keys pressed (with `keys`) come as a tap, `keys:<digits>`.
3449
+ - **What a call may cost** (`limits`): an answer that failed, or took longer than `turn` (25 s,
3450
+ then stopped), says the line's `failed` text, never the error; one past `said` characters
3451
+ (1,200) is cut at a word and stopped; `idle` (90 s) of silence, a call past `call` (600 s) or
3452
+ past `turns` prompts (30) says `bye` and ends it. The goodbye waits 15 seconds at most for
3453
+ what's being said; a call is over by its hard end (`call`, the goodbye and closing), and holds
3454
+ its place among the line's calls until then. A call that ends stops its turn, and any turn of it
3455
+ that starts just after. The agent ends a call too, once its goodbye is said (the `end_call`
3456
+ tool, offered to whoever answers a call while it goes on). Twilio's `end` says why
3457
+ (`handoffData`).
3458
+ - **The phone is a medium:** messages are said through their `message` View (renderer `voice`: the
3459
+ words without Markdown, a link's words, a web address's site), which an app may replace.
3460
+ - Each call is a small record (`voice_call`, no events: when, how long, why it ended, whether the
3461
+ number was verified; the caller's number private), and `voice_phone` keeps each verified
3462
+ caller's contact and chat. Erasing a contact erases its number from both; erasing a chat
3463
+ (`chat.erase`, `contact.forget` with `chats`) erases what the calls kept of it. Calls' records
3464
+ go after the plugin's `keep` days (30, at least 1: `voice.prune`, daily), once they're over: a
3465
+ call going on is never pruned. Agents working for a caller are told it's a phone call, and that
3466
+ the number isn't proof of who they are (the `contact` context).
3467
+ - It needs a host that takes a route's socket (`host.upgrade()`: `serveRoutes`, or `serve`, from
3468
+ `copilotz/web/node`).
3469
+
3470
+ - **Maintenance endpoints** (the new `maintenance` plugin, in `copilotz/plugins/interfaces`): HTTP
3471
+ under `/maintenance/` for an app's operators when they can't reach its database. A key (`key`, or
3472
+ several in `keys` to rotate one; 32 random characters at least, a weak one stops the app),
3473
+ compared in constant time; without one, every request is unauthorized. Requests act as the
3474
+ maintenance actor (`{ kind: "maintenance", by }`), whose Actions run as the system on the record,
3475
+ and each writes a line (`log`) before it runs. An orgs host's orgs don't get it.
3476
+ - `POST /maintenance/sql`: one read-only statement, with `params`, at most `limit` rows and
3477
+ `bytes`, cut off after `timeout`.
3478
+ - `POST /maintenance/collections/<collection>/<op>`: insertOne… deleteMany, find… aggregate,
3479
+ through the owner's write path: schema-checked, recorded, cached, heard by Processors.
3480
+ - `POST /maintenance/queries/<collection>.<name>`: a collection's named query, the body its
3481
+ params, read as the system.
3482
+ - `POST /maintenance/sql/write`: one statement that writes, run by the owner alone among its
3483
+ writes, fenced by its epoch, with a `maintenance.sql` audit event in the same commit; then the
3484
+ owner empties its read cache, runs observed Views again and re-reads its timers. A statement
3485
+ that changes `meta` (the epoch, Processors' positions) is rolled back. An `Idempotency-Key`
3486
+ makes it safe to send again.
3487
+ - `GET /maintenance/blobs/<id>`: a blob's bytes, as a download.
3488
+ - **SQL on the store port, for maintenance only:**
3489
+ `Store.inspect?(sql, params?, { limit, timeout })` (now SQLite's too), a transaction's
3490
+ `execute?(sql, params?)` and `transaction(…, { maintenance })`. Both run exactly one statement: a
3491
+ second, or one that ends the transaction or changes the connection (`COMMIT`, `SET`…), is refused
3492
+ (PostgreSQL ran every statement of an unparameterized `inspect` before; PostgreSQL's line comments
3493
+ end at a CR too). `runtime.maintenance` is the owner's way to them; plugin code has none. The
3494
+ cache gains `clear()`, observers `stale()`.
3495
+ - **PostgreSQL servers:** raw SQL runs only as a role of its own
3496
+ (`postgresStore({ maintenance: { url, connections } })`), which must hold exactly maintenance's
3497
+ grants: no attribute but LOGIN, membership in no role (but Cloud SQL's IAM marker, itself held
3498
+ to the same), no settings of its own, nothing owned (a large object neither), nothing granted
3499
+ outside the store's schema, `CREATE` nowhere, no large object, table or column of another's to
3500
+ read, nothing on the store's tables beyond what it needs, no `SECURITY DEFINER` function to run,
3501
+ no `dblink` or `postgres_fdw`, no trigger on the store's tables: checked before each statement
3502
+ and again after a write, in its transaction, reading only `pg_catalog`'s names. `ALTER ROLE`,
3503
+ `DO` and `LOCK` don't run; a password literal is kept as `PASSWORD '***'`. Each statement on a
3504
+ connection of its own, over the extended protocol, closed after; at most 2 at once, else `busy`.
3505
+ A read stops fetching before a row would pass its bytes. PGlite runs it as its one session, and
3506
+ discards what it left there.
3507
+ - **SQLite:** the store names its tables in `main`, so a temporary object can't stand in for them
3508
+ (a write that leaves one, or a trigger, is rolled back); a read runs in a process of its own
3509
+ (`deno`, `node` or `bun` itself, never a compiled app; an empty environment; on Deno and Node,
3510
+ read access to the database's files alone), killed at its timeout. Else, on the reading
3511
+ connection, a pragma only from those that only read, said once and on each answer
3512
+ (`inline: true`).
3513
+
3514
+ - **Security: a forged blob reference is refused, never loaded.** Large strings are kept as blobs
3515
+ and documents hold `{ $blob, size, type }` in their place; the owner loaded any object with a
3516
+ string `$blob` on every read. So an Action that stores what it's given (a tool's input, a
3517
+ webhook's body) could plant one: an id no blob has made every read of that document fail (a chat
3518
+ that can't be read or erased, Processors giving up on its events); another document's hash pulled
3519
+ that content in; and a path or a name read a file (`fileBlobs`) or any object in the bucket
3520
+ (`gcsBlobs` without a prefix).
3521
+ - What plugin code writes (documents, updates, upserts' filters, edges, events, records, timers'
3522
+ inputs, Action results) and what an Action is called with may hold no `$blob` key: `invalid`.
3523
+ The owner checks it as it walks what it offloads, so it costs no extra pass.
3524
+ - No part of an update's field path may start with `$` (as MongoDB refuses) or be `__proto__`
3525
+ (`invalid`): `{ $set: { "bio.$blob": … } }` made a reference out of plain strings, and on Node
3526
+ and Bun `{ $set: { "__proto__.x": … } }` set `x` on every object's prototype (Deno has no
3527
+ `__proto__`). `constructor` and `prototype` are fields like any other: paths read and make a
3528
+ document's own fields only, so a filter on `constructor` no longer finds `Object` in every
3529
+ document.
3530
+ - A path ends at a blob reference as it does at a string, so a large string is treated like a
3531
+ small one (`$set: { "text.note": 1 }` replaced the reference's insides, losing the text), and at
3532
+ any other object with a `$blob` key, so no update turns a planted one into a reference.
3533
+ - An aggregate's `$group` can't name a field `$…` either: `_id: { $blob: …, size, type }` built a
3534
+ reference from strings, which a browser's own read then loaded.
3535
+ - The API's event stream sends a call's result whole; one over 16 KiB went as its reference.
3536
+ Published events (`runtime.subscribe`) have `full()`: the event with its large values.
3537
+ - Only an exact reference loads a blob: the keys `$blob`, `size` and `type`, a `sha256-<64 hex>`
3538
+ id, a numeric size and a string type. Any other object is data.
3539
+ - Every blob store (memory, SQLite, PostgreSQL, `fileBlobs`, `httpBlobs`, `gcsBlobs`) takes only a
3540
+ blob's id (`checkBlobId`, exported for your own `Blobs`).
3541
+ - Fixed on the way: a timer's input over 16 KiB reached its Action as a reference; it comes whole.
3542
+ An occurrence of one that a deploy to this version cuts short fails once when it resumes
3543
+ (`id_conflict`: it started with the reference as its input); the timer's next ones run.
3544
+ - A store may already hold planted references: an exact one still loads (its blob gone, reads
3545
+ fail), and any other, carried on, is now refused. #155 has read-only queries (PostgreSQL,
3546
+ SQLite) that find them; clean every one, `sys.timers` first.
3547
+
3548
+ - **Contacts: people outside the org who talk to its agents** (the new `contacts` plugin, part of
3549
+ `access`). A WhatsApp customer is a contact, its own kind of actor (`{ kind: "contact", id }`),
3550
+ never a person: every `allow: people` Action and query stays shut to it, and nothing that asks for
3551
+ a person (`personOf`) finds one. The runtime's `principalOf` says whom work is for, a person or a
3552
+ contact (it moved there from chat), and `peopleOrContacts` is what an Action opened to contacts
3553
+ allows: today only `chat.send`, whose message is then from `contact:<id>`.
3554
+ - A contact's chat is shared with it on its own (a membership `on` the thread, made by
3555
+ `contact.chat`): it reaches that chat, what's said and filed there, and its own record, nothing
3556
+ else. The space's people reach it as any chat there; the agent working for the contact reaches
3557
+ exactly that chat. Three generic completions in spaces make it so, and help people too (a person
3558
+ can now share one chat): a shared collection's documents can be part of another's (`part`: a
3559
+ message's `thread`), reached with it; an agent working for someone reaches a document one of
3560
+ them reaches on its own in a space the other reaches; and `present(ctx, space)` says whether
3561
+ someone reaches a space or a document in it, so `space.roster` tells a contact in its chat who
3562
+ answers (agents only).
3563
+ - A contact is let into documents only, never a whole space (`member.set`, a request granted), and
3564
+ never manages one. `request_access` isn't offered to agents working for a contact, nor memory: a
3565
+ customer's chat keeps to itself.
3566
+ - `contact.start` (trusted code, idempotent by id) and `contact.chat`; `contactOf(actor)` says
3567
+ whose work an event's actor's is (the contact's id, through the agent working for them too);
3568
+ agents are told whom they talk with (the `contact` context) and see them by name: the `names`
3569
+ resource is now a map of sources
3570
+ (`{ people: { collection: "profile" }, contact: { collection: "contact", prefix:
3571
+ "contact:" } }`),
3572
+ replacing `{ collection }`. On the web, add `contactsWeb` to show contacts by name.
3573
+ - **A WhatsApp number can be a customer line.** Its space's managers open it to anyone
3574
+ (`whatsapp.set { number, open, agent, gap }`). A stranger who writes is then a contact, in a chat
3575
+ of their own in the number's space, answered by the number's agent (or who answers new chats
3576
+ there); a chat quiet for `gap` hours (12 by default) is over, and their next message starts a new
3577
+ one. Their text always goes to the agent (commands stay linked people's); a code from the app
3578
+ still links a phone, and linked phones keep working as their person. The `whatsapp` plugin now
3579
+ requires `contacts`.
3580
+ - **WhatsApp is a medium.** A View for it (renderer `whatsapp`) returns parts, each one WhatsApp
3581
+ message, built with the toolkit in WhatsApp's contract (`text`, `buttons`, `list`, `carousel`,
3582
+ `image`, `document`, and `clip` for titles), which checks Meta's limits and throws `invalid`
3583
+ instead of cutting anything short. A message goes out as its `message` View there (the plugin's:
3584
+ its text as WhatsApp formats it; an app's replaces it).
3585
+ - **Additions:** chat declares the `additions` resource kind (`{ order?, agents? }`, each an
3586
+ `addition:<name>` View in the medium, given `{ thread, answer }`, returning `Addition`s:
3587
+ `{ key, parts, fallback?, note? }`). After an agent's final answer that didn't fail
3588
+ (`isAnswer`), each goes once per chat per key, recorded in chat's new `shown` ledger through
3589
+ `chat.shown` (trusted code, unrecorded); its `note` is told to the model after that answer
3590
+ (`[then shown: …]`).
3591
+ - **One message, not two:** an answer's last text goes as the first addition's body (or caption)
3592
+ when there's room, as Meta charges per message. A part Meta refuses (a 400 that isn't the token
3593
+ or the 24-hour window) sends the addition's fallback instead, with the answer joined to it;
3594
+ without one, it's logged. A retried delivery sends only what didn't go (`whatsapp_sent` now
3595
+ keeps each part by id, with its addition's `key` and `thread`).
3596
+ - **Taps:** a button's, a list row's, a carousel card's or a template's reply comes as its title
3597
+ with `tap: { id, title, key }` (`chat.send` takes `tap`; messages keep it), answering the
3598
+ message it was on; agents read `Carla: PIX [tapped: pay:pix]`. Typing the title is just text. A
3599
+ tap is a choice, not a permission: anyone can send any id, so a tool acting on one checks it
3600
+ against what was shown there. A quote or a tap answers only what went out in its own chat.
3601
+ - What a message and its additions show is read as whom they go to, never with the reach of
3602
+ whoever's work the answer was.
3603
+ - **"Typing…" while agents work:** each step an agent takes in a WhatsApp chat shows it again once
3604
+ WhatsApp may have hidden it (after 20 s, for up to five minutes); nothing says "please wait".
3605
+ - **Media:** a part's picture or file is a public https link (as given), one of the app's routes
3606
+ (`{ route, params }`: a link signed for a day with its params, which the route checks with
3607
+ `verifyLink`), or a chat's file (`{ file }`: a signed link to `/files/<id>`, or, without the
3608
+ app's `links`, uploaded to Meta and sent by its id). A carousel's pictures must be links: a file
3609
+ with nowhere to link it sends the fallback. A message's files go as images (jpeg, png up to 5
3610
+ MB) or documents, a short text as the first one's caption.
3611
+ - **WhatsApp lines for an app, as it uses them**:
3612
+ - **A line the app declares** in its settings (`resources.whatsapp.lines.<name>`: the space,
3613
+ Meta's number id, token and app secret, its own verify token, a webhook path it routes to
3614
+ `whatsapp.hook`, its agent, gap, rate, quiet window and language): open to anyone, kept as the
3615
+ settings say at every use, with no person connecting or opening it; people can't change it
3616
+ (`whatsapp.set`, `whatsapp.credentials` and `whatsapp.disconnect` refuse), and the web tab
3617
+ leaves it alone. `whatsapp.set` stays for numbers people connect.
3618
+ - **Spaces the app declares** (the spaces plugin's `spaces` resource, by id: `{ name, agents }`):
3619
+ the app's own, owned by no person, made and kept by the system when something needs them
3620
+ (`space.keep`, trusted code; a declared line keeps the space it's `in`). Its agents are editors
3621
+ there, the first answering its new chats; people neither take them out, nor change their role,
3622
+ nor rename the space. Otherwise it's a space like any other.
3623
+ - **The reply is the body:** after an answer, an addition's own words (a question its buttons ask)
3624
+ are what it says without one; with the answer, the answer is its whole body. A fallback keeps
3625
+ its words after the answer.
3626
+ - **What Meta took but couldn't deliver** (a failed status on the webhook, such as a picture it
3627
+ couldn't fetch: `whatsapp.undelivered`) sends that addition's fallback, once, with the answer's
3628
+ text when it went in the same message.
3629
+ - **A burst gets one answer:** a customer's messages wait for the line's quiet window (`quiet`, 4
3630
+ s by default, up to 30) before the agent answers, all of them in one turn and one reply
3631
+ (`chat.send`'s new `quiet`: a durable timer each message sets again, `chat.quiet`, so a restart
3632
+ in the window still answers once).
3633
+ - **A failed turn** tells a customer only that, in their line's language, never its error.
3634
+ - Each sender's quiet window is their own (`quiet:<thread>:<sender>:<agent>`): a staff member's
3635
+ message never takes a customer's place, nor the reverse. Erasing a chat ends its windows, and a
3636
+ window whose message is gone (or no longer theirs to read) starts no turn.
3637
+ - A declared line is one org's with the orgs host: it names the org (`org`), and every other org's
3638
+ runtime has nothing of it; a line naming none is a single-org app's.
3639
+ - What Meta couldn't deliver is rendered again as its addressee, as any reply is.
3640
+ - **Signed links** (the runtime's `signLink` and `verifyLink`, with the app's `links` resource:
3641
+ `{ origin, secret }`, a secret of at least 32 bytes, checked at start): the app's origin, a path,
3642
+ its params and an expiry (an hour unless said), HMAC-signed, with a line break between origin and
3643
+ path, so a link for one app or org never opens another (under `hosts/orgs`, give each org its own
3644
+ origin). The web host checks the secret as it starts serving. A chat's file is linked or uploaded
3645
+ only for someone who may read it. The web host serves a file at a signed `/files/<id>` link
3646
+ without a session, as the system; expired or altered, a 404.
3647
+ - **Chat in spaces declares its own `shared` entries** (`thread`, `message` with labels, `file`,
3648
+ `live` and `shown`, each a part of its thread). `chat.open` opens an empty chat in a space;
3649
+ `chat.say { id, thread, from, text, to? }` has an agent say a fixed message in a chat without a
3650
+ turn (trusted code only; the same `id` is said once), sent out like any of its answers.
3651
+ - **What a contact's chat shows stays theirs to see** (from a security review):
3652
+ - A document others are parts of (a chat) labels as itself, and so do its parts: a write into a
3653
+ chat shared with someone outside its space (a contact) that drew on anything else, even the same
3654
+ space, carries that space as its source (staff read it; the contact doesn't), or an agent
3655
+ writing it is refused (`needs_share`). WhatsApp sends only what its addressee may read.
3656
+ - Agents are told who else is in a chat from outside the org (the `where` context), from a chat's
3657
+ members on its own, which its space's people now read by asking for that chat.
3658
+ - A part of a shared document, and a document shared on its own, are reached only where it lives:
3659
+ nothing written as one lands in another space. `may`, `must` and `present` never take a document
3660
+ shared on its own for a space (`may(ctx, verb, id, on)` asks about the document).
3661
+ - A contact's message goes to whom its chat is with (or the agent that wrote what it replies to):
3662
+ never to agents it names. Anyone's `replyTo` is kept only for a message of the same chat that
3663
+ they read.
3664
+ - A tool whose `offer` is a function decides for agents that name it too; `request_access` refuses
3665
+ for a contact; computers aren't woken (or billed) for work that's no person's; memory declares
3666
+ its own `shared` entry; the identity guard keeps people's records to people.
3667
+ - `chat.say`'s message is `<thread>:say:<id>`, said only by an agent answering in that chat.
3668
+ - Work handed to another space from a chat shared with a contact comes back labelled with that
3669
+ space (`sources`): the contact doesn't read it (spaces' contract: `sharedWith`).
3670
+ - The `shared` resource's entries are its own keys: a collection named like what objects inherit
3671
+ (`constructor`) is none.
3672
+ - **Erasure:** `contact.forget { contact, chats? }` (managers of its space) ends a contact's access
3673
+ at once, deletes its record (`contact.deleted`: WhatsApp erases its phone, but a block on it
3674
+ stays, by the phone's hash) and, with `chats`, its chats, each for someone who manages that chat's
3675
+ space (chat's new `chat.erase`, trusted code only: messages, files, waits, steps in flight; the
3676
+ history plugin erases its summaries on `thread.deleted`). The event log keeps what happened (what
3677
+ WhatsApp delivered, each change with its document) until retention removes it; memories learned in
3678
+ staff's chats, and chats a hand-over opened elsewhere, aren't erased.
3679
+ - **An open line, kept in hand:** `whatsapp.block { thread, blocked }` (managers) blocks the phone
3680
+ behind a chat: what it sends goes nowhere, unanswered. A customer sending more than the number's
3681
+ `rate` a minute (20) goes unanswered. One taken out of their chat is heard again once it's been
3682
+ quiet for the gap. Customers are told what can't go on in the number's `language` (`en`, `pt`),
3683
+ never in an error's own words.
3684
+ - **Fixed:** `message.questions`, and the terminal's `shell.mine`, `shell.set` and `shell.print`,
3685
+ let anyone whose id matched in; they're a person's own now.
3686
+
3687
+ - **Private fields for recorded Actions.** `private: ["buyer", "passengers"]` on an Action (dot
3688
+ paths, as a collection's): its calls are recorded without them, in `action.started`'s input and
3689
+ `action.completed`'s result alike, so the personal data a booking's buyer gives (names, CPFs,
3690
+ emails) never lands in the log, while the calls are still recorded, retried and deduplicated.
3691
+ - The call's `inputHash`, and so a nested call's id, still covers the whole input: a retry with
3692
+ the same input answers from the log, and a changed one is a new call (under an outside call id,
3693
+ `id_conflict`).
3694
+ - A result that had private fields is kept whole in `sys.results` (a document by call id, written
3695
+ in the completion's commit, no events), and `action.completed` says `private: true`: a retry
3696
+ answers with all of it, as it would without them.
3697
+
3698
+ - **A host without the web app: `serveRoutes`** (`copilotz/web/node`), for an app people use on
3699
+ WhatsApp or on the phone. Given the runtime, it serves the app's routes alone (webhooks),
3700
+ `/health` (unless a route takes it), and 404 for anything else: no page, no code, no sign-in; a
3701
+ route's Action is called as a visitor. Its `close({ drain })` stops listening, letting running
3702
+ requests finish, then closes the runtime with those options. A runtime that declares the `socket`
3703
+ transport still takes its sockets at `/oxian`. `routeHost(runtime)` (`copilotz/web/server`) is the
3704
+ same as a fetch handler. On Node, Deno and Bun (`examples/web-node/routes.ts`).
3705
+ - **A route can take a WebSocket** (a voice call's relay): a `serve` route calls `host.upgrade()`,
3706
+ and answers with the response it gives; its `socket` is a browser's `WebSocket` as far as
3707
+ `onmessage`, `send` and `close` go. It can refuse first, before any handshake. `serveRoutes` and
3708
+ the web host's `serve` take it, through Oxian's adapter (route sockets, Oxian 0.23).
3709
+
3710
+ - **A tool call runs once, even when its turn is tried again.** A step that failed after its tools
3711
+ ran (a tool's `llm` View throwing, a commit failing) was run again whole: its model asked again,
3712
+ its tools run again, with whatever input the model now chose, and the model never saw the first
3713
+ run. Now a step's calls are written before any of them runs (chat's new `intent` collection, one
3714
+ document per running turn, no events), and what each returns as soon as it does. A retried turn
3715
+ goes on with those calls without asking its model: a call that returned answers from its record,
3716
+ and one cut short (its executor lost, the runtime closed) runs again as itself.
3717
+ - Tools get `ctx.callId`, the same however many times the call runs (`<turn>:<step>:<n>`): the
3718
+ idempotency key for what they do outside. `ctx.retry` is now true only for a call that may have
3719
+ run before. The recorded Actions a tool calls answer from the log when it runs again.
3720
+ - A turn that ends without its step (failed for good, or stopped mid-tool) keeps the step, with
3721
+ what each call returned, or that it never did ("Interrupted before it returned: it may or may
3722
+ not have taken effect…"); a stopped answer no longer repeats that step's text.
3723
+ - A tool step costs one more commit (its calls, before they run) and one per tool call (what it
3724
+ returned). A step that only sends messages costs nothing more: they commit with it.
3725
+ - **Closing drops no turn.** `runtime.close()` returned from a delivery it cut short as if it were
3726
+ done, then saved its Processor's cursor past it, so a turn running at a deploy never answered. Now
3727
+ closing starts no more deliveries or timer occurrences, gives the running ones `drain` ms to
3728
+ finish (`close({ drain })`, 5 s by default), and keeps each cursor before an event it didn't
3729
+ finish: the next owner delivers it again, with `retry`, and with the above it doesn't repeat its
3730
+ tools. Workers are told they're gone after the drain, so running work can still use them. The orgs
3731
+ host's `close({ drain })` passes it on to every org's runtime.
3732
+
3733
+ - **Fixed: messages in a row ended an agent's prompt with its own answer.** A person writing several
3734
+ messages a few seconds apart starts a turn for each; one that ran after the agent had answered
3735
+ (while it wrote, or with the next turn) was sent a conversation ending with that answer, which
3736
+ Anthropic's newer models refuse ("assistant message prefill", HTTP 400), so it failed. Now an
3737
+ answer keeps how far its turn had read its thread (`knew`, the `at` of the newest message there);
3738
+ the prompt reads what others said after that, while it wrote, after the answer; and the turn of a
3739
+ person's message that an answer to them had already read ends without a model call. Adapters never
3740
+ send a conversation ending with the model's own message: a user turn ("Continue.") follows it, for
3741
+ every provider alike.
3742
+ - **Fixed: a failed turn's answer said what its provider said.** "booking failed: Anthropic 400:
3743
+ {…}" was written in the chat, where everyone there read it (and a WhatsApp customer got it). It
3744
+ now says "booking failed: something went wrong, so it couldn't answer. Try again in a moment."
3745
+ What went wrong stays in the `processor.failed` event; a missing key still says who can add one.
3746
+ - **Fixed: MiniMax's usage counted no input.** Anthropic's adapter read input and cache counts only
3747
+ from `message_start`; MiniMax (on Anthropic's protocol) says them in `message_delta`, so its calls
3748
+ were recorded with 0 input tokens. It now reads every count from both, the greatest of each (they
3749
+ are totals so far), so Anthropic's, said in both, count once.
3750
+ - **OpenAI keeps nothing: `store: false`.** The Responses API stores every response (30 days) unless
3751
+ told not to, and Copilotz never read them back: a model's reasoning already comes back encrypted
3752
+ and goes back with each call. A server that refuses `store` is asked again without it, from then
3753
+ on, as one refusing `include` is. A model's `options` can still set it.
3754
+
3755
+ - **Fixed: a collection's private fields reached the log on PostgreSQL.** Writes that go as the
3756
+ store's single command (most of them) recorded `.created`, `.updated` and `.deleted` with the
3757
+ whole document, so `private` fields (a computer's `pending` secret, unsealed account tokens) were
3758
+ in the log there; memory and SQLite left them out. The command now records documents without them
3759
+ too. Events already written still hold them.
3760
+
3761
+ ## 1.0.0-rc.20 — 2026-11-04
3762
+
3763
+ - **A model thinking past two minutes isn't a dropped call.** A call counted as dropped once its
3764
+ adapter yielded nothing for `silence` (2 minutes), and was retried or handed to the next model. A
3765
+ reasoning model yields nothing while it thinks, though its provider's stream goes on (GPT-6 Luna
3766
+ at xhigh on a hard problem: 108 s before its first word), so its thinking was thrown away past two
3767
+ minutes while the page showed the agent thinking. Adapters now say a stream is alive (`thinking`
3768
+ chunks, at most about once a second, for every provider); `generate` passes them on without
3769
+ counting them as written, so a model that thinks and then truly stalls still hands over.
3770
+ `complete` no longer reads a chunk it doesn't know as usage.
3771
+ - **`terminal`: a running command is seen again by its `commandId` alone.** rc.19 said so, but sent
3772
+ the computer no input with it, and every look at a slow command answered "stdin is required". A
3773
+ `commandId` beside a blank `command` is a look too; beside a real one, the refusal says how to
3774
+ look, type into it or stop it.
3775
+ - **An agent's OK shows once its own turn is over.** With agents answering in parallel, the
3776
+ computer's approval cards waited for every agent's turn to end, so one that asked and finished
3777
+ waited on a card that didn't show. Chat's `conversation` Views get `busy` (the agents whose turns
3778
+ run, each held 600 ms after its last step) beside `working`.
3779
+ - **People show by name on the web.** The browser loads only front ends, and the `names` resource
3780
+ was declared only by the spaces plugin: everyone signed in with a sign-in id (`google:…`) showed
3781
+ as "someone", in Members, a chat's people and messages, memories, computers and routines. The
3782
+ spaces front end declares it too.
3783
+ - **People's pictures beside their names**, in a space's Members, a chat's "In this chat" and a
3784
+ person's messages: a `profile.pictures` query (`{ ids }`), and `picturesIn` for Views.
3785
+ - **`openai-compatible` sends a model's thinking back.** `reasoning_content` (DeepSeek, Moonshot,
3786
+ Qwen, vLLM) is kept as the answer's state and goes back with it, as Anthropic's, Gemini's and
3787
+ OpenAI's already did; DeepSeek asks for it once tools are given.
3788
+ - **OpenAPI tools** (`openapi({ name, spec })`, in `copilotz/plugins/agents`): an API's operations
3789
+ as recorded Actions (`<name>.<operationId>`, not called again when a turn is retried) and agent
3790
+ tools (`<name>_<operationId>`); settings per deployment in `resources.openapi.<name>` (base URL,
3791
+ headers, query, timeouts, size limits, file fields).
3792
+ - **History by age:** an agent's `history: { maxAge }` (ms) leaves older messages out of its prompt
3793
+ (they stay in the chat), counted back from the newest message it sees, its start on a grid of a
3794
+ tenth of `maxAge` so the prompt cache holds between steps.
3795
+ - **Blobs in Google Cloud Storage:** `gcsBlobs({ bucket, prefix? })` (`copilotz/blobs/gcs`), signed
3796
+ in as the process's service account on Cloud Run or Compute Engine.
3797
+
3798
+ ## 1.0.0-rc.19 — 2026-11-03
3799
+
3800
+ - **`terminal` takes the command in `command`.** It took it in `stdin`, while `start_job` takes
3801
+ `command`, and the tool answered any other field with an empty success: a model that sent
3802
+ `command` (gpt-6-luna in 21 of 22 calls in our tests, Claude Haiku 5.5 in 7 of 35) was told it ran
3803
+ when nothing had. Now `command` runs a command; `commandId` with `stdin` answers a running one,
3804
+ and with `operation: "interrupt"` stops it. A call it can't read (another field, both a command
3805
+ and a commandId, an empty command, `stdin` without a commandId) runs nothing and says what to give
3806
+ instead. The computer program is unchanged. A chat shows the command from `command`, and from
3807
+ `stdin` on calls made before.
3808
+
3809
+ ## 1.0.0-rc.18 — 2026-11-03
3810
+
3811
+ - **Model tiers for the app's agents** (the new `tiers` plugin, in `copilotz/plugins/agents`). An
3812
+ app declares its tiers (`tiers` resource: a title, what it's good for, and a model for each of its
3813
+ agents, as an agent's `model` takes one). Which one an agent thinks with, first that applies: a
3814
+ model picked for it in the space, the space's tier, a model picked for it by the org, the org's
3815
+ tier, the tier the org's plan names (`planTier`), else its own model.
3816
+ - An org's owners and admins choose for the org, a space's managers for the space (`tiers.choose`,
3817
+ `tiers.pick`); everyone who reaches them sees it (`modelChoice.offered`, `modelChoice.agent`).
3818
+ Choices keep the tier's name, so retuning a tier moves everyone on it.
3819
+ - A pick keeps the tier's list behind it as fallback, and carries the `maxTokens` of the entry it
3820
+ replaces, and its `effort` when the picked model takes it (`models.efforts`, from the catalog).
3821
+ - Chat asks through a new `agentModel` resource, once per run, for the app's agents only; agents
3822
+ people make keep their own model. A turn's usage now says its `space`.
3823
+ - On the web (`tiersWeb`): "Agents' models" in org settings (the tiers with a typical reply's
3824
+ price, choosing one with Undo, a model per agent), and on a space's Members tab its tier and
3825
+ each app agent's model with where it comes from. Team's model picker is a View (`model.pick`)
3826
+ other plugins show.
3827
+ - **Plans say whom they're for and which tier they give.** `PlanTerms.for` (`"personal"` or
3828
+ `"team"`) is enforced on every move to a plan (checkout, staff, a provider's webhook);
3829
+ `PlanTerms.models` names the plan's tier (`billing.tier`). The Billing page offers an org only the
3830
+ plans for its kind that its seller can sell (`billing.sellable`), says how much of this period's
3831
+ plan credits is left and when they lapse, and speaks of seats only to teams.
3832
+ - **The Usage page, rebuilt around money.** One line: spent this billing month, against the budget,
3833
+ what's left and how long it lasts at this pace. One "By" switch (kind, space, person, agent,
3834
+ model) drives a stacked daily chart and a ranked list; a row filters the page. Activity shows
3835
+ turns, computer sessions, app days and conversation upkeep instead of ledger records; staff see
3836
+ cost and margin in place.
3837
+ - `usage.calls` is gone: `usage.activity` replaces it. `usage.org` groups and filters by
3838
+ `category` (agents, computers, apps; `usage.categories`) and by `tags.space`, and names what it
3839
+ groups by as the caller reads them, through a new `usageNames` resource kind each owning plugin
3840
+ contributes (spaces, conversations, computers, apps).
3841
+ - Cloud computers' records say their `space` and, for VM time, their `session`; summaries, memory
3842
+ notes and their embeddings say their conversation's `thread` and `space`.
3843
+ - Rollups keep `tags.space`. A closed day remembers its shape; days closed with an older one are
3844
+ read from records until `usage.close` closes them again (the next nightly close, or by hand).
3845
+ - **An app's own instructions are sent as instructions.** A `context` entry with
3846
+ `instructions: true` (`system` only) goes right after the agent's instructions, without the
3847
+ `<context>` tag that marks other contexts as information, not instructions.
3848
+
3849
+ ## 1.0.0-rc.17 — 2026-11-03
3850
+
3851
+ - **A model's state goes back with its answers.** What a model returns to be sent back (Anthropic's
3852
+ signed thinking, Gemini's thought signatures) was kept on tool steps but dropped on the final
3853
+ answer, so the next turn started without it. Answers keep it now, and agents are sent it on
3854
+ text-only messages too. A message's `state` is private, like `told`: people's reads and events go
3855
+ without it, and an answer handed back to another space doesn't carry it.
3856
+ - **OpenAI's reasoning goes back to it.** The Responses adapter asks for a reasoning model's
3857
+ reasoning, encrypted (`include: ["reasoning.encrypted_content"]`), keeps it as its answer's state,
3858
+ in its place among the answer's text and calls, without ids, and sends it back. Between tool steps
3859
+ the model carries on instead of thinking again: on gpt-6.1-sol, a two-turn tool task wrote 42%
3860
+ fewer output tokens. A server that refuses `include` is asked again without it, and not asked
3861
+ again. Sent back, past reasoning stays in later prompts (a probe: 616 input tokens with it, 48
3862
+ without), so a state now says about what it adds (`LlmState.tokens`), and history counts it.
3863
+ - **History counts what a prompt really carries.** The history plugin's tail is measured in
3864
+ estimated tokens of what an agent is sent for each message: its text, its model's state, text
3865
+ files' content, transcripts, images (1,600 each) and PDFs (2,000 a page), and agents' tool steps,
3866
+ which leave the tail without a line. `tail` is in tokens now (was bytes), and its default stays
3867
+ `[16_000, 48_000]`, so a text-only conversation keeps about four times more whole.
3868
+ - Until the tail first cuts, every message is sent: no 50-message cut before anything is
3869
+ summarized. That holds for threads whose outline began with them; older ones get chat's window
3870
+ until their first cut.
3871
+ - The four newest shared messages always stay whole, so a big file stays while it's talked about.
3872
+ - A message's line names its files, and `zoom(id, 1)` gives the message as the agent is sent it,
3873
+ text files' content included.
3874
+ - After a cut, state from before it (thinking bound to how the conversation began) isn't sent
3875
+ again; and when a provider refuses a model's own state as stale anyway, the call is tried once
3876
+ more without any.
3877
+ - Outlines no longer log events.
3878
+ - **Without the history plugin,** an agent's window holds 50 to 100 messages and drops 50 at a time
3879
+ (was the latest 50, one off every turn), so the prompt cache holds between drops. `lineage`
3880
+ (exported) takes `batched`; its `since: ""` now means every message, and its db needs
3881
+ `countDocuments`.
3882
+ - **Fixed:** lifting a usage waiver gave back nothing for a use recorded in the very millisecond it
3883
+ was lifted (a flaky billing test showed it).
3884
+
3885
+ ## 1.0.0-rc.16 — 2026-11-02
3886
+
3887
+ - **Fixed:** staff by email weren't staff anywhere but going into an org. `org.mine` asked without
3888
+ their email, so anyone signed in with Google, whose id isn't their email, had no console and no
3889
+ "Enter as staff". It takes `email` now, and the orgs host passes the one they verified.
3890
+
3891
+ ## 1.0.0-rc.15 — 2026-11-02
3892
+
3893
+ - **Enter as staff, in your own org too.** Staff who belong to an org go in as one of its people, as
3894
+ before, but can now ask to go in as staff: from the console, or the org switcher. They keep their
3895
+ role, get the staff tools, and "Continue as Owner" takes them back. `POST /orgs/enter` takes
3896
+ `staff: true`, `org.enter` takes `staff`, and `GET /orgs` says `asStaff`, which `asStaff()` now
3897
+ reads instead of guessing from membership.
3898
+
3899
+ ## 1.0.0-rc.14 — 2026-11-02
3900
+
3901
+ - **Credits** (`plugins/billing/credits`): what an org can spend. Plans, credits and payments are
3902
+ its own rows, the balance is walked from them and the ledger, and one check stops model calls,
3903
+ computers and builds at the limit, in plain words. Staff set plans, give credits, waive usage or
3904
+ seats, and record payments; gift codes wait in the directory.
3905
+ - **Stripe** (`plugins/billing/stripe`): Checkout, the customer portal and signed webhooks, for one
3906
+ or more accounts. A subscription's credits come with its paid invoice.
3907
+ - **Prices:** a use on an org's own key costs nothing; a plan can name a price list; `usage.quotes`;
3908
+ the model picker shows the org's real price.
3909
+ - **Removed:** the cloud plugin's `create` and `budgetUsd` settings. Anyone in an org but its guests
3910
+ makes a computer; what the org can spend keeps the cost.
3911
+ - **Fixed:** model use listeners are awaited, so a late record isn't lost; a VM's seconds stop at
3912
+ its lease, so an org closed for days isn't charged for a VM long gone.
3913
+ - `composerNotes`, a note above the composer from another front end.
3914
+
3915
+ ## 1.0.0-rc.13 — 2026-11-01
3916
+
3917
+ - **Choose an agent's model from the catalog, with your own key.** The agent editor searches every
3918
+ provider and model in the models.dev catalog an agent can work with (`models.offered`): those with
3919
+ a protocol we speak and an address of their own. An org's owners and admins add a key for a
3920
+ provider right there (`modelKey.set`): it's sealed, shows only its end, and its agents' calls to
3921
+ that provider use it, over the app's. Those uses are tagged `paid: "own-key"`. The catalog now
3922
+ keeps names, release dates, and which models can't call tools or answer in text.
3923
+ - **Secrets stay out of the log.** `env.set` and `apps.configure` recorded their input, so a space's
3924
+ or an app's secret was kept in plain text in its `action.started` event, sealed field or not. Both
3925
+ are unrecorded now. Secrets set before this remain in events already written: rotate them.
3926
+ - **Agents manage cloud computers.** `list_computers`, `create_computer` and `manage_computer` (add,
3927
+ remove, rename, default, destroy) work in the conversation's space, as the person the agent works
3928
+ for, through the same Actions and rules a person has. Nothing asks first except destroying, which
3929
+ loses the disk: like publishing, it's asked every time and only "once" allows it. A person's own
3930
+ machine isn't an agent's to manage. An agent in a space with no computer is told it can make one.
3931
+ - **A query an Action runs knows who asks.** Named queries called from an Action or a transaction
3932
+ lost the actor for what they call themselves, so a query asking another Action could fail, or
3933
+ answer as though nobody asked.
3934
+ - **A read's answer no longer overwrites something newer.** The owner answers a batch of reads once
3935
+ its slowest is ready, so a change could be pushed before the answer that didn't include it. The
3936
+ client then showed the older answer until the read next changed: on a page's first load (the push
3937
+ was dropped) and after a reconnect (the push was overwritten). What's pushed while a read is asked
3938
+ for now wins over its answer, and a connection that's been replaced is no longer listened to.
3939
+
3940
+ ## 1.0.0-rc.12 — 2026-11-01
3941
+
3942
+ - **An agent can hand work to itself in another space.** "Itself" now means the same agent in the
3943
+ same chat: North in Personal and North in Project management are two pieces of work. Whoever a
3944
+ space says answers takes what's handed there, even the agent that sent it, instead of being
3945
+ skipped for someone else, so a space where only that agent answers can receive work too. It reads
3946
+ what it handed over, and the answer back, as input (`You (via delegated "Solo"): …`), not as
3947
+ something it said.
3948
+ - **Delegated messages name the other space:** "Delegated: Personal" there, "Delegated: Project
3949
+ management" back, with an icon of their own.
3950
+
3951
+ ## 1.0.0-rc.11 — 2026-10-31
3952
+
3953
+ - **A routine can run with nobody watching.** What its agent needs a yes for can now be allowed for
3954
+ that routine alone: "Allow for this routine" on the card, or "What it can do without asking" on
3955
+ its page (run commands, start jobs, change files, per computer), ahead of its first run. Allowing
3956
+ it answers every run already stopped on the same thing. What a run waits on shows on the routine's
3957
+ page, with the way to its chat. In the terminal: `/approve <n> routine`.
3958
+ - **That yes covers only that routine's runs, as it was.** A run's work carries the routine as its
3959
+ `origin`, on the actor (`originOf`, chat's contract), which only code can set: a person's own
3960
+ message to the same agent still asks, even one claiming `via` a routine. Changing what a routine
3961
+ does (what it asks, whom, as whom) makes a new version (`routine.rev`), which the yes doesn't
3962
+ cover: its page says so and offers "Allow again". Name and schedule don't count. Where a
3963
+ computer's owner keeps the answers, only they can say it (`computer.allowOrigin`).
3964
+ - **Plugins can add to a routine's page:** the `routinePanels` resource (`{ view, order? }`), a View
3965
+ given the routine.
3966
+ - **Authorization is one model.** `personOf`, `forbidden`, `invalid`, `failure`, `people` and
3967
+ `inPerson` come from the runtime; `may`, `must` and `mustOwnOr` from the spaces contract,
3968
+ replacing seven `personOf` copies, about 25 hand-written checks and about 30 local error helpers.
3969
+ `reachOf` is the only answer to what someone may do, and respects every limit on them.
3970
+ - **Fixed: taking over a space.** A thread named after a space could be used to become its manager.
3971
+ A document's memberships now live under its own name (`note:n1`), and only shared collections can
3972
+ be named.
3973
+ - **Fixed: keys left their space.** Actions that checked reach, then wrote as the system, ignored a
3974
+ key's limit. Reach respects it now (`within`, which replaces `at` on a key's actor), and the API's
3975
+ own narrowing rules are gone. Keys can't answer approvals.
3976
+ - **Fixed: agents asked by agents ran as the agent that asked.** A turn is always its own agent, for
3977
+ the person the work is for, including where a computer's owner answered.
3978
+ - **Publishing is asked every time.** Nothing wider than once is offered or honored.
3979
+ - **Approvals can be taken back,** from the Computer tab. What's allowed for a routine comes from
3980
+ the routine (`origins` resource), not from what the caller says.
3981
+ - **Roles are given one way** (`seat`): a granted request can't name a role that doesn't exist or
3982
+ make an agent a manager, and custom roles count everywhere.
3983
+ - **An archived space isn't written in,** which only views enforced before.
3984
+ - **Replacing or rebuilding an app** takes its publisher or a manager. **Where a computer's owner
3985
+ answers,** only they change anything on it directly; others still read it.
3986
+ - **Leaving ends what someone left behind,** however they left: desks, yeses and keys for that
3987
+ space, and out of the org, all of them and their own computers. Cloud computers stay for those who
3988
+ run the org. A preview's cookie asks whether its person is still a member on each request.
3989
+ - **Agents can hand work to other spaces.** `send_message` takes `space`: any space the person can
3990
+ write in, listed in the agent's context with who answers there. A new chat opens there, visible to
3991
+ its members and marked as delegated, for the same person; the answer comes back to the chat it
3992
+ came from, and stopping that chat stops the work. An agent can't hand work to itself.
3993
+
3994
+ ## 1.0.0-rc.10 — 2026-10-31
3995
+
3996
+ - **A routine made from a chat posts back in that chat.** `schedule_routine` keeps the chat it was
3997
+ called from (`routine.thread`), where before no setting could reach it: `same` meant a new chat
3998
+ made by the first run. `routine.create` takes `thread` (a chat in that space its maker can see),
3999
+ and `post` now defaults to `same`, in the web form too. Its confirmation says where it posts. If
4000
+ the chat is deleted or moved to another space, the run starts a new one and says why
4001
+ (`routineRun.note`).
4002
+ - **A new chat each run is a first-class choice,** for runs to open later (a daily analysis):
4003
+ `post:
4004
+ "new"`. Each chat is named by `chatName`, with `{name}`, `{date}`, `{time}` (its
4005
+ timezone) and `{run}` filled in; by default its name and the day (and time, for `hours` and
4006
+ `cron`), so runs no longer all share one name. Its agent may then name it for what it found, with
4007
+ the new `name_chat` tool, offered only in those chats. The routine's page lists runs by their
4008
+ chats' names. The form and the agent's confirmation say how many chats a day it comes to, when it
4009
+ runs at least hourly.
4010
+ - **A routine's messages say they're its.** `chat.send` takes `via` (`{ kind, name, path? }`): the
4011
+ message is still its sender's, but shows "Routine: Pricing", linked to the routine, and agents
4012
+ read `ana (via routine "Pricing"): …`, so they know nobody typed it just now. `chat.send` also
4013
+ takes `title` and `renamable` for a new thread, in the same commit as its first message.
4014
+
4015
+ ## 1.0.0-rc.9 — 2026-10-31
4016
+
4017
+ - **A space's page has a few tabs, and their sections.** A `spaceTabs` entry `under` another tab is
4018
+ a section of it, listed in its menu, with an optional `group` heading; a tab with sections names
4019
+ its own View among them (`own`) and shows them in a menu beside (`menu: "side"`) or as tabs above
4020
+ (`top`, the default). A section's key opens its tab there (`?tab=memories`), so every address
4021
+ still works, and the palette lists sections too. The tabs now: Chats, Board and Documents (an
4022
+ app's), Computer (Computers, Environment, Apps), Routines and Settings (General, Members,
4023
+ Memories, Skills, Channels: WhatsApp, API). Where there's no room for a menu beside (a phone),
4024
+ Settings is a list to tap into, and a section says how to get back; in the side panel, sections
4025
+ are tabs under the panel's. Who's waiting to join shows on Settings and on Members.
4026
+ - **On phones, an app's page.** The viewport spans the screen (`viewport-fit=cover`; the composer
4027
+ keeps clear of the home bar) and the keyboard resizes the page where browsers allow
4028
+ (`interactive-widget`); pinching still zooms. The page never scrolls sideways or bounces as a
4029
+ whole, and a tap is a tap (no double-tap zoom, no grey flash). On touch screens, text is 16px,
4030
+ fields too at least (so Safari never zooms in on one you type in), and buttons, icon buttons,
4031
+ fields and copy buttons are 44px targets (40px small).
4032
+ - **A conversation scrolls up and down only.** What's wider (a table, code) scrolls in its own box;
4033
+ text wraps; a file's chip and a tool call being written no longer widen it.
4034
+ - **What an agent asks you never covers the conversation.** The command or the file it shows scrolls
4035
+ within a few lines (a command can wrap into dozens), with a copy button, so the answers are always
4036
+ in sight; the cards keep to at most 60% of the chat's height and scroll there.
4037
+
4038
+ ## 1.0.0-rc.8 — 2026-10-31
4039
+
4040
+ - **Agents' prompts only grow, so the prompt cache keeps them whole.** A turn context (the
4041
+ computers', the spaces elsewhere, memories, an app's) is sent after the conversation only when it
4042
+ says something new: when its text isn't what the agent was last told there. The turn's first
4043
+ message keeps what it was told (`told`, `[{ name, text }]`, a private field: people's reads come
4044
+ without it), and later turns are sent it there. So each model call starts with the whole call
4045
+ before it, tool steps and earlier contexts included, where before a turn's context, dropped the
4046
+ next turn, cut the cached prefix at the turn's start. `Prompt.turn` is now `{ name, text }[]`:
4047
+ what's new this turn.
4048
+ - **OpenAI's newer models keep the prefix where told.** Since GPT-5.6, OpenAI caches only at
4049
+ breakpoints: its implicit one falls at the end of the latest user message, the turn's context,
4050
+ which the next turn didn't send, so a conversation reused only its system text. The Responses
4051
+ adapter now marks a message with `cache` (the end of the history) with an explicit
4052
+ `prompt_cache_breakpoint`, on the user's or tool's input at or before it. A model that refuses
4053
+ breakpoints (earlier ones, other servers) is asked again without, and never again. What OpenAI
4054
+ wrote to the cache is metered as `cacheWrite` (billed at a premium by models that report it).
4055
+ - **Memory: the system text says how to remember; what's remembered is told.** The `memory` context
4056
+ (system) is the guide alone, the same in every conversation, so the system text is cached across
4057
+ all of an agent's conversations in a space. Core memories about who's here are the new
4058
+ `remembered` turn context: those learned before the conversation began, told at its start and kept
4059
+ there. Core memories learned since come up in `recall` when relevant (query `relevant` takes
4060
+ `since`; `core` takes `before`), so a memory learned mid-conversation never rewrites its prompt.
4061
+ - **History summarizes a message when it leaves the tail**, not when it comes: only then is its line
4062
+ read (in the outline, or by `zoom`). A conversation that stays within the tail never calls the
4063
+ summarizer; a longer one builds the same tree, in batches, as its tail shrinks. The outline keeps
4064
+ the tail's message ids (`tailIds`); threads summarized before keep the lines they have.
4065
+ - Measured on Compass's own plugins with real OpenAI calls (gpt-6.1-sol; a 12-turn conversation,
4066
+ then a 4-turn one with tool steps, the same agent in the same space): the agent's calls read 95.5%
4067
+ of their input from the prompt cache, up from 59.3%, and every model call in the run (memory
4068
+ extraction included) 92.4%, up from 44.4%, with no summarizer call (101 before). A 24-turn
4069
+ conversation that outgrew its tail: 92.4% for the agent, its one miss when the outline arrives
4070
+ (the prompt is new from there).
4071
+
4072
+ ## 1.0.0-rc.7 — 2026-10-30
4073
+
4074
+ - **Agents choose among a space's computers.** Every computer tool (the terminal, jobs, files, the
4075
+ browser, web search, `preview`, and the apps' `publish`) takes `computer`: one of the space's
4076
+ computers by its name (any case, or part of it when only one has it) or its id; the space's
4077
+ default otherwise. An unknown or ambiguous name, or a computer that's offline, is told with the
4078
+ ones to choose from; naming a cloud computer that's asleep wakes it. Each turn, an agent's context
4079
+ lists the space's computers (whose, a cloud computer or a machine, how it is now, its system, what
4080
+ it asks first, the default marked) when there are several; one stays as it was. In a space with
4081
+ several, an answer says the computer it came from (`computer`), and the web's tool steps show it.
4082
+ - **A job is found on whichever computer runs it:** `computer.preview` and `computer.scope` (and so
4083
+ `app.publish` and the agents' `preview` and `publish`) take a job without a computer and look for
4084
+ it on the space's computers that are online, the default first. `computer.preview`,
4085
+ `computer.scope`, `computer.allowed` and `app.publish` take `computer` (a name or an id).
4086
+ - **The default computer** is named so on the web (a "Default" badge, "Make it the default") and in
4087
+ `/computers`.
4088
+ - **Apps: what serves a preview serves the app.** A folder with no Dockerfile is built into an image
4089
+ made for it (no more buildpacks, which found nothing to build in a plain folder): the computer's
4090
+ system (Debian 12) with Node.js 24 and Python, the folder as it was sent, its dependencies
4091
+ installed again (npm, pnpm, yarn; `requirements.txt`) and its `build` script run, then its job's
4092
+ command behind a front that passes the platform's port on to the job's port on localhost,
4093
+ WebSockets included. A job bound to `127.0.0.1` (as previews allow) is served all the same; the
4094
+ job is given its own port as `PORT`. `AppHost.build` answers the port its image serves on. Without
4095
+ a Dockerfile, an app is published from its job (its command).
4096
+ - **A space's environment: variables and secrets.** Each space has its own (collection `envVar`,
4097
+ `{ name, value, secret, computers, by, at }`, names like `API_URL`). Its managers change it
4098
+ (`env.set` `{ in, name, value?, secret?, computers? }`, `env.unset`); its members read names and
4099
+ the values of variables. A secret is sealed at rest (AES-GCM, with the new `computers: { key }`
4100
+ resource, else kept as given) and never read back by anyone: people see only that it's there (and
4101
+ a long one's last 4 characters), agents only its name. Every job and shell started in the space,
4102
+ from the web or by an agent, gets the variables with `computers` (true unless said), under its own
4103
+ `env` (`jobs.start` and `terminal` take `env`; the `start_job` tool too); a job kept running keeps
4104
+ its env on the computer's disk and starts again with it. A secret given to computers can be read
4105
+ by any process there, and the web says so where it's given. Agents' computer context lists the
4106
+ names they have (`$NAME`), never a value.
4107
+ - **Apps get the space's environment.** An app is deployed with all of its space's variables and
4108
+ secrets, and its own over them (`envVar` with `app`; queries `here` and `apps`), passed to Cloud
4109
+ Run as its env. `app.configure` `{ app, env? }` (its publisher, or the space's managers) changes
4110
+ its own and deploys its image again with them, without a build (the port the image serves is kept
4111
+ as `served`). A change to the space's environment doesn't redeploy anything: it reaches an app
4112
+ when it's published again, or at once with "Apply to apps". Taking an app down removes its own
4113
+ environment (`env.unset` `{ in, app }`).
4114
+ - **Web: Environment.** A space's Environment tab lists its variables (a secret masked, whether its
4115
+ computers get it, who set it and when); its managers add, change and remove them, with the honest
4116
+ limit shown beside a secret given to computers. Under it, its live apps and "Apply to apps"
4117
+ (through computers' new `envActions` resource). An app's row opens its environment: the space's
4118
+ shown, its own edited, saved with a redeploy. The job start form takes its own environment
4119
+ (`NAME=value` lines). The toolkit's `Time` also draws on a server.
4120
+ - **People by name, everywhere:** agents' prompts, notes, the terminal and the web show a person's
4121
+ name where they showed their id (`google:1139…`). The spaces plugin keeps each person's profile
4122
+ (collection `profile`: their name as sign-in verified it, else their email's name, and picture;
4123
+ never their email), from the identity plugin's `person` as it changes, at `org.join`, and on
4124
+ `space.personal` (each page load), so people known before it get one the next time they come.
4125
+ Anyone in the org reads names through the query `profile.names` `{ ids }` (a browser reads
4126
+ profiles only through it); two people of one name stay apart ("Ana (2762)"). The new `names`
4127
+ resource says where names are (`{ collection: "profile" }`), and the spaces contract (and
4128
+ `copilotz/plugins/access`) gives `nameOf`, `namesOf`, `namesIn` (Views), `namesFor` (Actions,
4129
+ Processors, tools), `withNames`, `idsIn` and `PROFILE`. A sign-in's id is never shown as a name:
4130
+ without a profile, it's "someone".
4131
+ - **Agents' prompts:** others' messages read "Ana Lima: …", "People here:" names people, a
4132
+ conversation's space is "Ana Lima's Personal space", the computers context says whose computer it
4133
+ is and who says yes by name, as do waiting asks, routines (who made one, whom it runs as), history
4134
+ summaries and zoom, and recall. Memory extraction writes names, and `remember`'s `about` takes a
4135
+ person by name.
4136
+ - **Notes and summaries written before names:** a memory or a summary that says someone's id
4137
+ (`google:1139…'s cloud computer…`) reads with their name wherever it shows (prompts, recall, the
4138
+ Memories page, the terminal), substituted when it's shown: nothing stored is changed, and nothing
4139
+ needs migrating.
4140
+ - **The web:** the Members tab (people, requests to join, invitations), the space header's faces,
4141
+ other people's Personal spaces ("Ana Lima's Personal"), invitations ("Ana Lima invited you"), chat
4142
+ messages and the conversation's people, memories (grouped, by whom, search), routines, skills
4143
+ ("Made by"), apps ("by"), computers (whose each is, who asks first, who started a job or made a
4144
+ preview), usage and the org's people show names. **The terminal:** `/computers`, `/approvals`,
4145
+ `/requests`, `/grant`, `/invitations`, memories and messages, likewise; `/remove` takes a person's
4146
+ id with a colon (`google:1139…`).
4147
+ - **Share refusals** name the spaces a write would reveal ("Ana Lima's Personal space"), not their
4148
+ ids. An org invitation made by a space invitation says who invited them.
4149
+
4150
+ ## 1.0.0-rc.6 — 2026-10-30
4151
+
4152
+ - **Computer program:** an app on another machine over plain `ws:` (an `http://` address that isn't
4153
+ localhost) fails at once, saying to use https, instead of waiting to connect forever: Oxian
4154
+ refuses plain `ws:` but to this machine.
4155
+ - **Cloud pools:** a pool grown for a wake isn't shrunk while its VM boots. `pool.take` records what
4156
+ it waits for (`poolWant`), and `pool.tick` sizes each pool to its floor, the takes of the last 2
4157
+ minutes and the wakes still waiting. Before, the next minute's sizing set the pool back to its
4158
+ floor, deleting the VM a wake had grown it for before it connected.
4159
+ - **Cloud computers:** `cloudComputer.sizes` also says whether the person asking may make one now
4160
+ (`create`, and `why` not: `admins`, `budget`), and the warm and view minutes; `cloud.may` says
4161
+ just that. The web's "Use a cloud computer" choice shows why it can't be picked, and the copy says
4162
+ the app's minutes.
4163
+ - **Cloud computers shared into a space:** each computer's state is kept on it and its desks
4164
+ (`status`: `{ kind: "cloud", state, size }`, set with the new system Action `computer.mark`, as
4165
+ the cloud plugin sees it change), so the space's members see how anyone's is (asleep, waking,
4166
+ awake), not "offline".
4167
+ - **Previews:** `preview.here` records carry their address (`url`); the web no longer works it out.
4168
+ `computer.preview` and `computer.scope` take a `desk` (one of the space's), and so does
4169
+ `app.publish`: the web makes previews and publishes apps from the computer it's on, not the
4170
+ space's default.
4171
+ - **Apps:** an agent's `publish` asks its person with where the app will be ("wants to publish Shop
4172
+ at https://shop.copilotz.app").
4173
+ - **`org.me`** isn't recorded (it only reads), so reads (queries, Views) ask it too.
4174
+ - **The local cloud host** is one per app and account, whichever executor asks: with several
4175
+ executors, a VM one started was turned away by another.
4176
+
4177
+ ## 1.0.0-rc.5 — 2026-10-30
4178
+
4179
+ - **Cloud computers** (plugin `cloud`, see design/cloud-computers.md): computers the app hosts for
4180
+ its people. A cloud computer is a disk; a VM from a pool serves it for one wake, then goes.
4181
+ `cloud.create` `{ size, in?, name? }` makes one (an org's owners and admins, or its members when
4182
+ the settings say, under the org's monthly `budgetUsd`); work for one that's asleep wakes it (a few
4183
+ seconds; about 30 from cold); unused for `warmMinutes` (10) it's released, and after `coldDays`
4184
+ (7) it goes cold, kept as a snapshot. A person with it open (`computer.view`, every few minutes
4185
+ from its panel) keeps it awake up to `viewMinutes` (120). Its agents ask their person nothing
4186
+ first (the `cloud` settings' `approve`, `[]` by default, in place of the computers plugin's;
4187
+ publishing an app is always asked). `cloud.destroy`, `cloud.org`, queries `cloudComputer.mine` and
4188
+ `cloudComputer.sizes` (each size priced an hour). Hosts are adapters: Compute Engine (`gceHost`:
4189
+ managed instance groups as pools, pd-balanced disks, VMs admitted by their Google identity tokens)
4190
+ and a local one for development and tests. Metered under `computer` as `cloud/<size>` (VM
4191
+ seconds), `cloud/disk` and `cloud/snapshot` (GB-hours).
4192
+ - **Cloud pools** (plugin `cloudPool`): the pools' VMs, where they connect (the `pool` worker kind),
4193
+ and the Actions `cloud` reaches them through: `pool.take`, `pool.serve`, `pool.stop`, `pool.drop`,
4194
+ `pool.renew`, and `pool.tick` each minute (pools sized by the hour). Each VM given is leased:
4195
+ renewed each minute while its computer uses it, deleted once nobody does. A VM serving a computer
4196
+ connects again as itself when its socket drops, until it's told to stop; then, or gone, never
4197
+ again. One runtime has both plugins; an app of many orgs runs `cloudPool` once (its directory's
4198
+ runtime, needing nothing else) and gives each org's runtime `remotePool(call, org)`, the same
4199
+ Actions forwarded there, each org touching only its own VMs.
4200
+ - **Computer program:** `computer pool --app <url>`, a free VM of an app's pool: it waits to serve a
4201
+ computer, mounts its disk, and runs it, connected at the address it's told (its org's). Given the
4202
+ app's socket (`wss://…`), its identity is still for the app's https origin. scripts/cloud has a
4203
+ Google Cloud project's setup and the pool VMs' startup script.
4204
+ - **Previews:** what a job serves, at `https://<computer>-preview.<domain>`, carried to the computer
4205
+ over its own connection (no inbound network), streamed both ways (`computer.http`). For a space's
4206
+ members (a signed cookie, given by the app) or anyone with the link. `computer.preview`,
4207
+ `computer.previews`, `computer.unpreview`, and the agents' `preview` tool. Settings
4208
+ `computers.previews` `{ domain, key }`. WebSockets aren't carried yet.
4209
+ - **Apps** (plugin `apps`): what a job serves, published to run on its own at
4210
+ `https://<label>.copilotz.app`. The space's folder is archived by its computer
4211
+ (`computer.archive`), built (its Dockerfile, else buildpacks) and deployed as a service that
4212
+ scales to zero. `app.publish` (and the agents' `publish` tool, always asked), `app.list`,
4213
+ `app.redeploy`, `app.remove`; builds and running metered under `app`. Hosts: Cloud Run
4214
+ (`cloudRun`) and a local one (`localApps`).
4215
+ - **Apps' safety:** services and images are named `cz-app-<name>` (an app never replaces another
4216
+ service in its project); builds run as `cz-build@<project>` (`buildServiceAccount`), never the
4217
+ project's default service account, as they run the app's own Dockerfile. `app.publish`'s `port`
4218
+ wins over its job's.
4219
+ - **Previews' safety:** a preview's `Set-Cookie` loses its `Domain` (no preview sets cookies for the
4220
+ domain's other hosts); a request with several `cz_preview` cookies gets in when any is its host's.
4221
+ - **Jobs** can say their `port` (a preview's) and be kept (`keep`): a kept job runs again when its
4222
+ computer wakes.
4223
+ - **A person's panel** (`computer.work`): `wake` wakes a computer that sleeps (its page opened);
4224
+ what only reads (`jobs.list`, `jobs.logs`, `files.list`, `files.read`, `search`) neither wakes it
4225
+ nor keeps it awake, so a page left open lets it sleep (`computer.view` keeps it awake while
4226
+ viewed, up to the limit). A computer the app makes says what its agents ask about
4227
+ (`computer.provision`'s `approve`, kept on it and its desks).
4228
+ - **On the web** (`copilotz/plugins/compute/web`: `computersWeb`, `cloudWeb`, `appsWeb`):
4229
+ - adding a computer is one choice: a cloud computer (its sizes, priced an hour), your own machine,
4230
+ or one of yours;
4231
+ - a cloud computer shows its state, how long it's been awake and about what that came to; asleep,
4232
+ waking it, with honest progress; deleting it, asked first;
4233
+ - a job serving a port can be previewed (members, or anyone with the link), opened, copied and
4234
+ published as an app (live as it builds), and a space has an Apps tab;
4235
+ - jobs can be kept running.
4236
+ - **Web host:** routes by host (`{ host }` beside `{ path }`); a trusted front (`front`: a secret
4237
+ header and the host it forwards) for apps behind a proxy; orgs claim hosts in the directory
4238
+ (`orgHost`), resolved at `/__copilotz/hosts/resolve`.
4239
+ - **Runtime:** `runtime.workers.dispatch(kind, id, workload, body?)`, for host code (a route)
4240
+ streaming work to a connected worker.
4241
+ - **Usage:** `usage.quote` prices quantities as a use would be, without recording one.
4242
+
4243
+ ## 1.0.0-rc.4 — 2026-10-30
4244
+
4245
+ - **Usage: every use has a price.** It's the cost (a margin of 0) unless the app's price book says
4246
+ otherwise: rates of its own, or a gross `margin` on the cost (`{ margin: 0.9 }` is ten times the
4247
+ cost), from its `since` date on. `markup` is gone: a margin says it. Uses recorded before count at
4248
+ their cost, in totals and when re-rated.
4249
+ - **Usage: by part.** Each record keeps its cost and price by part (input, cache reads, cache
4250
+ writes, output, reasoning…) and what caching saved; totals and rollups sum them.
4251
+ - **Usage: people see prices.** `usage.totals`, `usage.org` and `usage.calls` give people prices
4252
+ only; costs (and so margins) only platform staff and the system. Each of `usage.org` and
4253
+ `usage.calls` says whether it shows costs (`costs`).
4254
+ - **Usage page and `/usage`:** spend (the price) everywhere, with caching visible: hit rate, what
4255
+ reading and writing the cache was charged, and what it saved, overall and by model; cached tokens
4256
+ in the chart and in each call. Platform staff also see cost and gross margin, marked staff-only.
4257
+ - **Models:** OpenAI-compatible providers' cache reads and writes are read as each reports them
4258
+ (DeepSeek's cache hits, Moonshot's cached tokens, OpenRouter's cache writes).
4259
+
4260
+ ## 1.0.0-rc.3 — 2026-10-30
4261
+
4262
+ - **Computers:** connecting one more app (`computer install <app> --code`) no longer stops the
4263
+ computer running in the background: it enrolls beside it, then that one starts again with every
4264
+ app. Turned away, the background one runs on as it was (before, a code refused while it was
4265
+ stopping left it stopped). The state's lock waits a moment for one that's stopping.
4266
+ - **Computers:** a new app's folder never takes the name of a space folder kept in the root by a
4267
+ computer from before apps had folders of their own.
4268
+ - **Install script:** it always says, last, how the terminal it ran in gets `computer` (new ones
4269
+ have it).
4270
+
4271
+ ## 1.0.0-rc.2 — 2026-10-30
4272
+
4273
+ - **Orgs:** an org's socket is in its own address (`/o/<org>/oxian`), beside the shared `/oxian`, so
4274
+ a browser that sends no cookies with a WebSocket (Safari) reaches its org. The web host's page
4275
+ says which socket to use (`socket`) and its base (`base`).
4276
+ - **Web:** a person shows as their name, from their profile, not as their id: the viewer has a
4277
+ `label` beside its `name`, which the shell's account menu and the chat's greeting use.
4278
+ - **Computers:** one machine serves many apps, or many orgs of one. Each is a computer of its own
4279
+ there, with its own id and secret, all in one program; a state kept before becomes its one
4280
+ connection. `computer list` says which and where; `computer disconnect <app-url>` leaves one. An
4281
+ org's spaces go in a folder named for the org (`~/Copilotz/acme-studio`, `~/Copilotz/personal`): a
4282
+ code made on an org says it (`folder`), and the install lines pass it on (`--folder`).
4283
+ - **The computer program's release:** each release on GitHub has it, made by the publish workflow on
4284
+ a Mac. When the program is the same as the last release's (`source` in its manifest), the release
4285
+ has that one's binaries, version and all, so computers don't download what they have.
4286
+ `computerDownloads()` serves this Copilotz's own release by default.
4287
+
4288
+ ## 1.0.0-rc.1 — 2026-10-30
4289
+
4290
+ Copilotz 1.0 is a new runtime, written from scratch: one runtime for agents and the apps around
4291
+ them, on Node, Deno, Bun, Cloudflare Workers and the browser. It's published as `copilotz` on npm
4292
+ (Node first) and as `@copilotz/copilotz` on JSR.
4293
+
4294
+ - **Primitives only:** the runtime knows plugins, collections (JSON Schema, with the MongoDB
4295
+ collection API), Actions, Processors, Views, resources and adapters, and never what a plugin is
4296
+ for. Everything durable is an event, a document (node), an edge, a vector or a blob, in one store
4297
+ with one writer (the owner); executors run plugin code beside it or elsewhere, over Oxian.
4298
+ - **Plugins, by theme:** models (llm, embeddings, transcription, with the models.dev catalog),
4299
+ agents (chat, history, memory, team, skills, routines), access (spaces, identity, Google sign-in,
4300
+ connected accounts, the directory of orgs), billing (the usage ledger), compute (computers people
4301
+ connect, on macOS, Linux and Windows) and interfaces (the terminal and web shells, the developer
4302
+ API, WhatsApp).
4303
+ - **Stores:** memory, SQLite and PostgreSQL (a server, or PGlite), with the same MongoDB semantics
4304
+ and one conformance suite; blobs in the store, in files or in a bucket over HTTP. On PostgreSQL,
4305
+ many orgs share a schema, each a tenant, over one pool of connections per process; a tenant's rows
4306
+ are copied, exported (as SQL) or dropped on their own.
4307
+ - **Hosts:** the terminal (Ink) and the web (React 19 in the browser, signed in as a person under
4308
+ the access rules, with a design system an app rebrands by one theme resource), and orgs: many orgs
4309
+ behind one address, each a runtime of its own, opened when used, and reached by its own address
4310
+ too (`/o/<org>`) by what has no browser session: API keys, webhooks, computers. On Node,
4311
+ `copilotz/web/node` bundles the browser's code with esbuild and serves the web host, its sockets
4312
+ through Oxian's Node adapter, for one runtime or one per org.
4313
+ - **Entry points:** `copilotz`, `copilotz/stores/*`, `copilotz/blobs/*`, `copilotz/plugins/<theme>`
4314
+ with its `web` and `terminal` front ends, `copilotz/web` (with `server`, `tickets`, `theme` and
4315
+ `node`), `copilotz/orgs`, `copilotz/terminal`, `copilotz/exporters` and `copilotz/testing`; the
4316
+ same names on JSR.
4317
+ - **Metrics:** the runtime and plugins measure themselves the OpenTelemetry way, exported as OTLP or
4318
+ Prometheus text.
4319
+
4320
+ 1.0 doesn't read 0.x data, and there's no migration: a 1.0 app starts with a new database. Copilotz
4321
+ 0.x lives on the [`v0`](https://github.com/copilotzhq/copilotz/tree/v0) branch, where its releases
4322
+ and their changelog continue; its last release is 0.90.2.