copilotz 1.0.0-rc.25 → 1.0.0-rc.27
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.
- package/CHANGELOG.md +198 -0
- package/README.md +352 -68
- package/hosts/web/host-words.d.ts +1 -0
- package/hosts/web/host-words.js +24 -0
- package/hosts/web/host.js +29 -7
- package/hosts/web/mod.d.ts +2 -0
- package/hosts/web/mod.js +5 -0
- package/hosts/web/palette/palette.js +10 -10
- package/hosts/web/palette/words.d.ts +1 -0
- package/hosts/web/palette/words.js +23 -0
- package/hosts/web/part.js +5 -4
- package/hosts/web/signin-email.d.ts +56 -0
- package/hosts/web/signin-email.js +389 -0
- package/hosts/web/signin-words.d.ts +146 -0
- package/hosts/web/signin-words.js +167 -0
- package/hosts/web/signin.d.ts +19 -8
- package/hosts/web/signin.js +90 -57
- package/hosts/web/toolkit/ago.d.ts +0 -5
- package/hosts/web/toolkit/ago.js +17 -17
- package/hosts/web/toolkit/audio-player.d.ts +1 -1
- package/hosts/web/toolkit/audio-player.js +12 -7
- package/hosts/web/toolkit/code-block.js +4 -3
- package/hosts/web/toolkit/copy-button.js +4 -2
- package/hosts/web/toolkit/detail-value.js +11 -7
- package/hosts/web/toolkit/dialog.js +2 -1
- package/hosts/web/toolkit/drawer.js +2 -1
- package/hosts/web/toolkit/formula.js +3 -2
- package/hosts/web/toolkit/humanize.d.ts +0 -12
- package/hosts/web/toolkit/humanize.js +2 -1
- package/hosts/web/toolkit/icon.d.ts +1 -0
- package/hosts/web/toolkit/icon.js +2 -0
- package/hosts/web/toolkit/inline-edit.js +2 -1
- package/hosts/web/toolkit/long-text.js +2 -1
- package/hosts/web/toolkit/markdown/markdown.js +4 -3
- package/hosts/web/toolkit/terminal.js +5 -4
- package/hosts/web/toolkit/time.js +2 -1
- package/hosts/web/toolkit/words.d.ts +1 -0
- package/hosts/web/toolkit/words.js +60 -0
- package/hosts/web/update.js +2 -1
- package/hosts/web/widget.js +6 -5
- package/hosts/web/words.d.ts +76 -0
- package/hosts/web/words.js +114 -0
- package/package.json +13 -1
- package/plugins/access/accounts/collections/flow.d.ts +1 -1
- package/plugins/access/dev/actions/sign-in.js +16 -2
- package/plugins/access/directory/collections/credit-code.d.ts +1 -1
- package/plugins/access/directory/mod.d.ts +2 -2
- package/plugins/access/directory/mod.js +3 -3
- package/plugins/access/directory/routes/forward.d.ts +1 -1
- package/plugins/access/directory/routes/forward.js +1 -1
- package/plugins/access/directory/shared/member.js +1 -1
- package/plugins/access/directory/web.js +2 -1
- package/plugins/access/directory/words.d.ts +1 -0
- package/plugins/access/directory/words.js +6 -0
- package/plugins/access/email/actions/import.d.ts +1 -0
- package/plugins/access/email/actions/import.js +54 -0
- package/plugins/access/email/actions/invite.d.ts +5 -0
- package/plugins/access/email/actions/invite.js +139 -0
- package/plugins/access/email/actions/prune.d.ts +1 -0
- package/plugins/access/email/actions/prune.js +20 -0
- package/plugins/access/email/actions/reset.d.ts +2 -0
- package/plugins/access/email/actions/reset.js +98 -0
- package/plugins/access/email/actions/send.d.ts +1 -0
- package/plugins/access/email/actions/send.js +41 -0
- package/plugins/access/email/actions/sign-in.d.ts +1 -0
- package/plugins/access/email/actions/sign-in.js +68 -0
- package/plugins/access/email/actions/sign-up.d.ts +4 -0
- package/plugins/access/email/actions/sign-up.js +105 -0
- package/plugins/access/email/adapters/console.d.ts +8 -0
- package/plugins/access/email/adapters/console.js +8 -0
- package/plugins/access/email/adapters/resend.d.ts +8 -0
- package/plugins/access/email/adapters/resend.js +29 -0
- package/plugins/access/email/collections/code.d.ts +118 -0
- package/plugins/access/email/collections/code.js +39 -0
- package/plugins/access/email/collections/login.d.ts +78 -0
- package/plugins/access/email/collections/login.js +28 -0
- package/plugins/access/email/collections/rate.d.ts +51 -0
- package/plugins/access/email/collections/rate.js +14 -0
- package/plugins/access/email/contract.d.ts +94 -0
- package/plugins/access/email/contract.js +7 -0
- package/plugins/access/email/mod.d.ts +63 -0
- package/plugins/access/email/mod.js +145 -0
- package/plugins/access/email/resources/messages.d.ts +9 -0
- package/plugins/access/email/resources/messages.js +55 -0
- package/plugins/access/email/routes/sign-in.d.ts +30 -0
- package/plugins/access/email/routes/sign-in.js +107 -0
- package/plugins/access/email/shared/codes.d.ts +41 -0
- package/plugins/access/email/shared/codes.js +90 -0
- package/plugins/access/email/shared/inputs.d.ts +32 -0
- package/plugins/access/email/shared/inputs.js +41 -0
- package/plugins/access/email/shared/limits.d.ts +31 -0
- package/plugins/access/email/shared/limits.js +56 -0
- package/plugins/access/email/shared/mail.d.ts +11 -0
- package/plugins/access/email/shared/mail.js +13 -0
- package/plugins/access/email/shared/password.d.ts +36 -0
- package/plugins/access/email/shared/password.js +85 -0
- package/plugins/access/email/shared/people.d.ts +33 -0
- package/plugins/access/email/shared/people.js +53 -0
- package/plugins/access/email/shared/settings.d.ts +29 -0
- package/plugins/access/email/shared/settings.js +39 -0
- package/plugins/access/mod.d.ts +5 -1
- package/plugins/access/mod.js +1 -0
- package/plugins/access/spaces/views/web/agents.js +16 -18
- package/plugins/access/spaces/views/web/header.js +22 -21
- package/plugins/access/spaces/views/web/invitation.js +11 -8
- package/plugins/access/spaces/views/web/invitations.js +3 -2
- package/plugins/access/spaces/views/web/invite-dialog.d.ts +2 -2
- package/plugins/access/spaces/views/web/invite-dialog.js +6 -5
- package/plugins/access/spaces/views/web/invite.js +6 -5
- package/plugins/access/spaces/views/web/invited.js +2 -1
- package/plugins/access/spaces/views/web/inviting.js +6 -3
- package/plugins/access/spaces/views/web/members.js +14 -11
- package/plugins/access/spaces/views/web/new-space.js +4 -3
- package/plugins/access/spaces/views/web/not-here.js +12 -16
- package/plugins/access/spaces/views/web/org-about.js +18 -16
- package/plugins/access/spaces/views/web/org-members.js +28 -22
- package/plugins/access/spaces/views/web/palette.js +28 -25
- package/plugins/access/spaces/views/web/panel.js +5 -4
- package/plugins/access/spaces/views/web/pending.js +7 -4
- package/plugins/access/spaces/views/web/pick.js +10 -6
- package/plugins/access/spaces/views/web/sections.js +2 -1
- package/plugins/access/spaces/views/web/settings.js +26 -29
- package/plugins/access/spaces/views/web/space.js +7 -6
- package/plugins/access/spaces/views/web/steps.js +19 -20
- package/plugins/access/spaces/views/web/tabs.js +2 -1
- package/plugins/access/spaces/views/web/tree.js +11 -9
- package/plugins/access/spaces/views/web/who.d.ts +12 -11
- package/plugins/access/spaces/views/web/who.js +51 -13
- package/plugins/access/spaces/views/web/words.d.ts +1 -0
- package/plugins/access/spaces/views/web/words.js +286 -0
- package/plugins/access/spaces/web.js +35 -7
- package/plugins/agents/chat/actions/import.d.ts +1 -0
- package/plugins/agents/chat/actions/import.js +244 -0
- package/plugins/agents/chat/actions/say.js +97 -14
- package/plugins/agents/chat/actions/send.js +25 -5
- package/plugins/agents/chat/collections/file.d.ts +18 -0
- package/plugins/agents/chat/collections/file.js +21 -6
- package/plugins/agents/chat/contract.d.ts +1 -1
- package/plugins/agents/chat/mod.d.ts +6 -2
- package/plugins/agents/chat/mod.js +8 -2
- package/plugins/agents/chat/processors/failed.js +7 -4
- package/plugins/agents/chat/routes/files.d.ts +17 -3
- package/plugins/agents/chat/routes/files.js +79 -17
- package/plugins/agents/chat/shared/agents.d.ts +8 -2
- package/plugins/agents/chat/shared/agents.js +11 -2
- package/plugins/agents/chat/views/message.d.ts +1 -1
- package/plugins/agents/chat/views/message.js +11 -7
- package/plugins/agents/chat/views/web/attach.js +12 -5
- package/plugins/agents/chat/views/web/chats.js +9 -6
- package/plugins/agents/chat/views/web/composer.js +17 -13
- package/plugins/agents/chat/views/web/conversation.js +6 -5
- package/plugins/agents/chat/views/web/download.js +2 -1
- package/plugins/agents/chat/views/web/header.js +8 -7
- package/plugins/agents/chat/views/web/home.js +11 -16
- package/plugins/agents/chat/views/web/listed.js +9 -7
- package/plugins/agents/chat/views/web/live.js +7 -6
- package/plugins/agents/chat/views/web/message.js +26 -13
- package/plugins/agents/chat/views/web/missing.js +2 -1
- package/plugins/agents/chat/views/web/move.js +4 -3
- package/plugins/agents/chat/views/web/new-thread.js +2 -1
- package/plugins/agents/chat/views/web/palette.js +20 -14
- package/plugins/agents/chat/views/web/picture.js +2 -1
- package/plugins/agents/chat/views/web/queued.js +3 -3
- package/plugins/agents/chat/views/web/recent.js +4 -3
- package/plugins/agents/chat/views/web/record.js +10 -12
- package/plugins/agents/chat/views/web/recorder.js +10 -9
- package/plugins/agents/chat/views/web/retrying.js +5 -4
- package/plugins/agents/chat/views/web/steps.js +8 -5
- package/plugins/agents/chat/views/web/transcript.js +3 -2
- package/plugins/agents/chat/views/web/voice-failed.js +2 -1
- package/plugins/agents/chat/views/web/voice-note.js +2 -1
- package/plugins/agents/chat/views/web/who.js +4 -1
- package/plugins/agents/chat/views/web/words.d.ts +1 -0
- package/plugins/agents/chat/views/web/words.js +197 -0
- package/plugins/agents/memory/actions/import.d.ts +1 -0
- package/plugins/agents/memory/actions/import.js +88 -0
- package/plugins/agents/memory/collections/memory.js +19 -5
- package/plugins/agents/memory/mod.d.ts +2 -0
- package/plugins/agents/memory/mod.js +5 -0
- package/plugins/agents/memory/views/web/card.js +10 -7
- package/plugins/agents/memory/views/web/list.js +12 -11
- package/plugins/agents/memory/views/web/memories.js +4 -3
- package/plugins/agents/memory/views/web/move.js +4 -3
- package/plugins/agents/memory/views/web/palette.js +8 -5
- package/plugins/agents/memory/views/web/pick.js +8 -6
- package/plugins/agents/memory/views/web/words.d.ts +1 -0
- package/plugins/agents/memory/views/web/words.js +48 -0
- package/plugins/agents/mod.d.ts +3 -1
- package/plugins/agents/mod.js +3 -1
- package/plugins/agents/team/views/web/agent-add.js +4 -3
- package/plugins/agents/team/views/web/agent-fields.js +18 -13
- package/plugins/agents/team/views/web/agent-known.js +9 -8
- package/plugins/agents/team/views/web/agent-new.js +17 -12
- package/plugins/agents/team/views/web/agent-palette.js +37 -34
- package/plugins/agents/team/views/web/agent-steps.js +12 -8
- package/plugins/agents/team/views/web/agent.js +46 -36
- package/plugins/agents/team/views/web/agents.d.ts +1 -1
- package/plugins/agents/team/views/web/agents.js +6 -2
- package/plugins/agents/team/views/web/model-picker.d.ts +35 -1
- package/plugins/agents/team/views/web/model-picker.js +55 -43
- package/plugins/agents/team/views/web/places.js +2 -7
- package/plugins/agents/team/views/web/words.d.ts +1 -0
- package/plugins/agents/team/views/web/words.js +208 -0
- package/plugins/agents/webtools/adapters/duckduckgo.d.ts +21 -0
- package/plugins/agents/webtools/adapters/duckduckgo.js +168 -0
- package/plugins/agents/webtools/adapters/fake.d.ts +3 -0
- package/plugins/agents/webtools/adapters/fake.js +8 -0
- package/plugins/agents/webtools/adapters/serper.d.ts +2 -0
- package/plugins/agents/webtools/adapters/serper.js +30 -0
- package/plugins/agents/webtools/contract.d.ts +72 -0
- package/plugins/agents/webtools/contract.js +1 -0
- package/plugins/agents/webtools/mod.d.ts +55 -0
- package/plugins/agents/webtools/mod.js +75 -0
- package/plugins/agents/webtools/resources/tools.d.ts +2 -0
- package/plugins/agents/webtools/resources/tools.js +82 -0
- package/plugins/agents/webtools/shared/address.d.ts +9 -0
- package/plugins/agents/webtools/shared/address.js +112 -0
- package/plugins/agents/webtools/shared/read.d.ts +11 -0
- package/plugins/agents/webtools/shared/read.js +129 -0
- package/plugins/agents/webtools/shared/search.d.ts +15 -0
- package/plugins/agents/webtools/shared/search.js +54 -0
- package/plugins/agents/webtools/shared/settings.d.ts +20 -0
- package/plugins/agents/webtools/shared/settings.js +21 -0
- package/plugins/agents/webtools/shared/text.d.ts +15 -0
- package/plugins/agents/webtools/shared/text.js +88 -0
- package/plugins/billing/credits/collections/room.d.ts +1 -1
- package/plugins/billing/usage/shared/categories.d.ts +2 -1
- package/plugins/billing/usage/shared/categories.js +1 -1
- package/plugins/billing/usage/shared/use.d.ts +1 -1
- package/plugins/billing/usage/views/web/chart.js +12 -7
- package/plugins/billing/usage/views/web/numbers.d.ts +3 -1
- package/plugins/billing/usage/views/web/numbers.js +74 -43
- package/plugins/billing/usage/views/web/org.d.ts +91 -0
- package/plugins/billing/usage/views/web/org.js +158 -118
- package/plugins/billing/usage/views/web/words.d.ts +1 -0
- package/plugins/billing/usage/views/web/words.js +173 -0
- package/plugins/compute/cloud/collections/cloud-computer.d.ts +1 -1
- package/plugins/compute/cloud/collections/pool-vm.d.ts +1 -1
- package/plugins/compute/computers/program/version.d.ts +1 -1
- package/plugins/compute/computers/program/version.js +1 -1
- package/plugins/compute/computers/resources/downloads.js +1 -1
- package/plugins/interfaces/web/shared/codes.d.ts +3 -7
- package/plugins/interfaces/web/shared/codes.js +16 -10
- package/plugins/interfaces/web/shared/orgs.d.ts +9 -9
- package/plugins/interfaces/web/shared/orgs.js +27 -10
- package/plugins/interfaces/web/shared/panel.d.ts +0 -5
- package/plugins/interfaces/web/shared/panel.js +5 -1
- package/plugins/interfaces/web/views/console-codes.d.ts +24 -1
- package/plugins/interfaces/web/views/console-codes.js +29 -23
- package/plugins/interfaces/web/views/console.d.ts +22 -0
- package/plugins/interfaces/web/views/console.js +47 -51
- package/plugins/interfaces/web/views/default.js +2 -1
- package/plugins/interfaces/web/views/frame.js +13 -12
- package/plugins/interfaces/web/views/me.js +6 -5
- package/plugins/interfaces/web/views/org.js +13 -12
- package/plugins/interfaces/web/views/orgs.js +60 -53
- package/plugins/interfaces/web/views/panel.js +3 -2
- package/plugins/interfaces/web/views/shell.js +2 -1
- package/plugins/interfaces/web/views/words.d.ts +1 -0
- package/plugins/interfaces/web/views/words.js +228 -0
- package/plugins/interfaces/whatsapp/collections/phone.d.ts +1 -1
- package/plugins/interfaces/whatsapp/shared/media.js +3 -2
- package/plugins/models/actions/check.js +4 -1
- package/plugins/models/actions/image.d.ts +1 -0
- package/plugins/models/actions/image.js +46 -0
- package/plugins/models/adapters/image/fake.d.ts +6 -0
- package/plugins/models/adapters/image/fake.js +8 -0
- package/plugins/models/adapters/image/gemini.d.ts +2 -0
- package/plugins/models/adapters/image/gemini.js +111 -0
- package/plugins/models/adapters/image/openai.d.ts +2 -0
- package/plugins/models/adapters/image/openai.js +69 -0
- package/plugins/models/collections/image.d.ts +96 -0
- package/plugins/models/collections/image.js +27 -0
- package/plugins/models/contract.d.ts +13 -3
- package/plugins/models/contract.js +2 -1
- package/plugins/models/mod.d.ts +19 -4
- package/plugins/models/mod.js +30 -4
- package/plugins/models/resources/providers.d.ts +2 -2
- package/plugins/models/resources/providers.js +2 -2
- package/plugins/models/shared/generate.js +4 -52
- package/plugins/models/shared/image.d.ts +110 -0
- package/plugins/models/shared/image.js +171 -0
- package/plugins/models/shared/retry.d.ts +9 -2
- package/plugins/models/shared/retry.js +26 -2
- package/plugins/models/shared/telemetry.d.ts +4 -2
- package/plugins/models/shared/use.d.ts +21 -2
- package/plugins/models/shared/use.js +50 -0
- package/plugins/work/boards/actions/create-board.d.ts +1 -0
- package/plugins/work/boards/actions/create-board.js +47 -0
- package/plugins/work/boards/actions/create-card.d.ts +1 -0
- package/plugins/work/boards/actions/create-card.js +85 -0
- package/plugins/work/boards/actions/delete-board.d.ts +1 -0
- package/plugins/work/boards/actions/delete-board.js +30 -0
- package/plugins/work/boards/actions/delete-card.d.ts +1 -0
- package/plugins/work/boards/actions/delete-card.js +24 -0
- package/plugins/work/boards/actions/move-card.d.ts +1 -0
- package/plugins/work/boards/actions/move-card.js +85 -0
- package/plugins/work/boards/actions/update-board.d.ts +1 -0
- package/plugins/work/boards/actions/update-board.js +110 -0
- package/plugins/work/boards/actions/update-card.d.ts +1 -0
- package/plugins/work/boards/actions/update-card.js +67 -0
- package/plugins/work/boards/collections/board.d.ts +71 -0
- package/plugins/work/boards/collections/board.js +32 -0
- package/plugins/work/boards/collections/card.d.ts +74 -0
- package/plugins/work/boards/collections/card.js +29 -0
- package/plugins/work/boards/contract.d.ts +67 -0
- package/plugins/work/boards/contract.js +20 -0
- package/plugins/work/boards/mod.d.ts +34 -0
- package/plugins/work/boards/mod.js +72 -0
- package/plugins/work/boards/resources/tools.d.ts +2 -0
- package/plugins/work/boards/resources/tools.js +416 -0
- package/plugins/work/boards/shared/columns.d.ts +39 -0
- package/plugins/work/boards/shared/columns.js +88 -0
- package/plugins/work/boards/shared/dates.d.ts +11 -0
- package/plugins/work/boards/shared/dates.js +22 -0
- package/plugins/work/boards/shared/errors.d.ts +24 -0
- package/plugins/work/boards/shared/errors.js +20 -0
- package/plugins/work/boards/shared/fields.d.ts +65 -0
- package/plugins/work/boards/shared/fields.js +44 -0
- package/plugins/work/boards/shared/load.d.ts +22 -0
- package/plugins/work/boards/shared/load.js +32 -0
- package/plugins/work/boards/shared/order.d.ts +30 -0
- package/plugins/work/boards/shared/order.js +47 -0
- package/plugins/work/boards/shared/people.d.ts +30 -0
- package/plugins/work/boards/shared/people.js +87 -0
- package/plugins/work/boards/shared/said.d.ts +28 -0
- package/plugins/work/boards/shared/said.js +30 -0
- package/plugins/work/boards/views/web/board-head.d.ts +62 -0
- package/plugins/work/boards/views/web/board-head.js +170 -0
- package/plugins/work/boards/views/web/board-page.d.ts +17 -0
- package/plugins/work/boards/views/web/board-page.js +97 -0
- package/plugins/work/boards/views/web/board-view.d.ts +40 -0
- package/plugins/work/boards/views/web/board-view.js +341 -0
- package/plugins/work/boards/views/web/boards-tab.d.ts +13 -0
- package/plugins/work/boards/views/web/boards-tab.js +109 -0
- package/plugins/work/boards/views/web/card-sheet.d.ts +47 -0
- package/plugins/work/boards/views/web/card-sheet.js +314 -0
- package/plugins/work/boards/views/web/card-tile.d.ts +29 -0
- package/plugins/work/boards/views/web/card-tile.js +20 -0
- package/plugins/work/boards/views/web/column.d.ts +38 -0
- package/plugins/work/boards/views/web/column.js +171 -0
- package/plugins/work/boards/views/web/drag.d.ts +36 -0
- package/plugins/work/boards/views/web/drag.js +276 -0
- package/plugins/work/boards/views/web/glyphs.d.ts +29 -0
- package/plugins/work/boards/views/web/glyphs.js +25 -0
- package/plugins/work/boards/views/web/load.d.ts +32 -0
- package/plugins/work/boards/views/web/load.js +33 -0
- package/plugins/work/boards/views/web/palette.d.ts +15 -0
- package/plugins/work/boards/views/web/palette.js +180 -0
- package/plugins/work/boards/views/web/pickers.d.ts +45 -0
- package/plugins/work/boards/views/web/pickers.js +83 -0
- package/plugins/work/boards/views/web/shown.d.ts +77 -0
- package/plugins/work/boards/views/web/shown.js +136 -0
- package/plugins/work/boards/views/web/step.d.ts +13 -0
- package/plugins/work/boards/views/web/step.js +41 -0
- package/plugins/work/boards/views/web/style.d.ts +10 -0
- package/plugins/work/boards/views/web/style.js +380 -0
- package/plugins/work/boards/views/web/toolbar.d.ts +21 -0
- package/plugins/work/boards/views/web/toolbar.js +39 -0
- package/plugins/work/boards/web.d.ts +26 -0
- package/plugins/work/boards/web.js +52 -0
- package/plugins/work/documents/actions/create.d.ts +1 -0
- package/plugins/work/documents/actions/create.js +28 -0
- package/plugins/work/documents/actions/delete.d.ts +1 -0
- package/plugins/work/documents/actions/delete.js +32 -0
- package/plugins/work/documents/actions/presence.d.ts +1 -0
- package/plugins/work/documents/actions/presence.js +45 -0
- package/plugins/work/documents/actions/rename.d.ts +1 -0
- package/plugins/work/documents/actions/rename.js +33 -0
- package/plugins/work/documents/actions/restore.d.ts +1 -0
- package/plugins/work/documents/actions/restore.js +39 -0
- package/plugins/work/documents/actions/save.d.ts +1 -0
- package/plugins/work/documents/actions/save.js +78 -0
- package/plugins/work/documents/collections/document-presence.d.ts +79 -0
- package/plugins/work/documents/collections/document-presence.js +25 -0
- package/plugins/work/documents/collections/document-version.d.ts +166 -0
- package/plugins/work/documents/collections/document-version.js +60 -0
- package/plugins/work/documents/collections/document.d.ts +131 -0
- package/plugins/work/documents/collections/document.js +72 -0
- package/plugins/work/documents/contract.d.ts +17 -0
- package/plugins/work/documents/contract.js +1 -0
- package/plugins/work/documents/mod.d.ts +38 -0
- package/plugins/work/documents/mod.js +75 -0
- package/plugins/work/documents/resources/tools.d.ts +2 -0
- package/plugins/work/documents/resources/tools.js +255 -0
- package/plugins/work/documents/shared/diff.d.ts +37 -0
- package/plugins/work/documents/shared/diff.js +148 -0
- package/plugins/work/documents/shared/merge.d.ts +29 -0
- package/plugins/work/documents/shared/merge.js +120 -0
- package/plugins/work/documents/shared/presence.d.ts +7 -0
- package/plugins/work/documents/shared/presence.js +7 -0
- package/plugins/work/documents/shared/text.d.ts +36 -0
- package/plugins/work/documents/shared/text.js +67 -0
- package/plugins/work/documents/shared/who.d.ts +23 -0
- package/plugins/work/documents/shared/who.js +39 -0
- package/plugins/work/documents/shared/write.d.ts +54 -0
- package/plugins/work/documents/shared/write.js +123 -0
- package/plugins/work/documents/views/web/changes.d.ts +22 -0
- package/plugins/work/documents/views/web/changes.js +57 -0
- package/plugins/work/documents/views/web/conflict.d.ts +38 -0
- package/plugins/work/documents/views/web/conflict.js +96 -0
- package/plugins/work/documents/views/web/draft.d.ts +18 -0
- package/plugins/work/documents/views/web/draft.js +32 -0
- package/plugins/work/documents/views/web/editor.d.ts +57 -0
- package/plugins/work/documents/views/web/editor.js +268 -0
- package/plugins/work/documents/views/web/format.d.ts +56 -0
- package/plugins/work/documents/views/web/format.js +245 -0
- package/plugins/work/documents/views/web/history.d.ts +23 -0
- package/plugins/work/documents/views/web/history.js +118 -0
- package/plugins/work/documents/views/web/list.d.ts +37 -0
- package/plugins/work/documents/views/web/list.js +211 -0
- package/plugins/work/documents/views/web/page.d.ts +35 -0
- package/plugins/work/documents/views/web/page.js +416 -0
- package/plugins/work/documents/views/web/palette.d.ts +16 -0
- package/plugins/work/documents/views/web/palette.js +168 -0
- package/plugins/work/documents/views/web/people.d.ts +60 -0
- package/plugins/work/documents/views/web/people.js +63 -0
- package/plugins/work/documents/views/web/presence.d.ts +30 -0
- package/plugins/work/documents/views/web/presence.js +75 -0
- package/plugins/work/documents/views/web/step.d.ts +25 -0
- package/plugins/work/documents/views/web/step.js +81 -0
- package/plugins/work/documents/views/web/style.d.ts +7 -0
- package/plugins/work/documents/views/web/style.js +266 -0
- package/plugins/work/documents/web.d.ts +18 -0
- package/plugins/work/documents/web.js +46 -0
- package/plugins/work/mod.d.ts +3 -0
- package/plugins/work/mod.js +3 -0
- package/plugins/work/web.d.ts +10 -0
- package/plugins/work/web.js +10 -0
- package/runtime/browsers.js +2 -3
- package/runtime/fetch.d.ts +1 -1
- package/runtime/mod.d.ts +2 -2
- package/runtime/mongo.d.ts +21 -4
- package/runtime/mongo.js +69 -0
- package/runtime/owner.d.ts +24 -1
- package/runtime/owner.js +63 -6
- package/runtime/site.d.ts +7 -5
- package/runtime/site.js +20 -14
- package/runtime/store.d.ts +10 -0
- package/runtime/wire.d.ts +11 -0
- package/runtime/wire.js +17 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,203 @@
|
|
|
1
1
|
## Unreleased
|
|
2
2
|
|
|
3
|
+
## 1.0.0-rc.27 — 2026-11-06
|
|
4
|
+
|
|
5
|
+
**Upgrading.** Chat's `file.content` query is `file.about`, and answers a file without its content
|
|
6
|
+
(`data`). Host code that wants the content reads it as bytes, in parts:
|
|
7
|
+
`runtime.bytes("file", { _id }, "data", { actor })`, or serves it at `/files/<id>`. A file's content
|
|
8
|
+
is plain base64 (no line breaks, no `data:` prefix): `chat.send` refuses anything else.
|
|
9
|
+
|
|
10
|
+
- **Files of any size are served** (`GET /files/<id>`): a picture or a recording whose base64 passed
|
|
11
|
+
1 MiB (about 750 KB) was answered as missing (404), so it showed broken. The route read the whole
|
|
12
|
+
file through a query, whose answer comes from an executor over Oxian in one chunk, and Oxian takes
|
|
13
|
+
at most 1 MiB a chunk. Now it reads what the file is (`file.about`, as whoever the request is),
|
|
14
|
+
then its content from the owner, as them again (`runtime.bytes`), and decodes it as the response
|
|
15
|
+
is read, 192 KiB at a time; a range (`206`) decodes only its part. Who reads a file is unchanged:
|
|
16
|
+
the request's actor, a signed link as the system, and a file out of reach is a 404 alike. A
|
|
17
|
+
failure that isn't about reach is now a 500, logged, not a 404.
|
|
18
|
+
- **`runtime.bytes(collection, filter, field, { actor })`**: a large value's bytes for trusted host
|
|
19
|
+
code, read by the owner itself, under the rules as `actor` (the system without one), its `size`
|
|
20
|
+
and `read(start, end)`, from the document or its blob (loaded once, at the first part). The blob's
|
|
21
|
+
reference never leaves the owner.
|
|
22
|
+
- **Projections:** `find` and `findOne` take `{ projection }`, as MongoDB's (`{ name: 1 }` keeps,
|
|
23
|
+
`{ data: 0 }` leaves out, `_id` either way; dotted paths into objects). The owner applies it
|
|
24
|
+
before it loads any blob: a field left out costs no blob read. Stores never see it.
|
|
25
|
+
- **Answers past 1 MiB go in parts:** a job's output (a query's answer, an Action's result, a
|
|
26
|
+
View's) and what a browser is pushed are written in parts of at most 1 MiB, Oxian's bound on a
|
|
27
|
+
chunk. A long history, a prompt with pictures (`thread.prompt`, `/prompt`) or a large read a
|
|
28
|
+
browser watches failed whole before (the executor "lost", the browser's session closed).
|
|
29
|
+
- **A message's files reach the prompt one read each:** `llm.message` read all of a message's files
|
|
30
|
+
in one answer of the owner's, which carries at most 16 MiB; pictures that together passed it
|
|
31
|
+
failed the turn.
|
|
32
|
+
- **WhatsApp links a file without reading its content:** sending a chat's file by signed link reads
|
|
33
|
+
only whether its recipient may see it; Meta's fetch streams the content from `/files/<id>`.
|
|
34
|
+
- **Every word Copilotz's web front ends show is the app's to change.** An app in another language
|
|
35
|
+
no longer rewrites the page as it is drawn: it gives a `words` resource
|
|
36
|
+
(`{ "chat.send":
|
|
37
|
+
"Enviar" }`), on any plugin the page runs, merged over the English in order.
|
|
38
|
+
Words are by key (`hosts/web/WORDS.md` lists them: the shell, chat, spaces, memory, team, usage,
|
|
39
|
+
the command palette, the toolkit and the host's notices), with `{blanks}` for names and numbers
|
|
40
|
+
and plural forms by the page's language (`{ one, other }`). Dates, times, numbers and currency
|
|
41
|
+
follow the page's `lang` (`webPage({ lang })`) instead of the browser's. Front ends of an app's
|
|
42
|
+
own use the same way: `defineWords(area, { … })` from `copilotz/web`. English is unchanged, so an
|
|
43
|
+
app that sets nothing looks as before. Not covered: the other front ends (billing's credits,
|
|
44
|
+
routines, skills, computers, apps, API keys, WhatsApp, tiers), text the server sends, and the
|
|
45
|
+
offline page.
|
|
46
|
+
- **Boards and documents are Copilotz's** (`copilotz/plugins/work`, front ends in
|
|
47
|
+
`copilotz/plugins/work/web`). `boards` is kanban in a space (boards with ordered columns, cards
|
|
48
|
+
dragged between them, owners, labels, due dates; Actions `board.*` and `card.*`; agents' tools
|
|
49
|
+
`list_boards`, `read_board`, `create_board`, `create_card`, `update_card`, `move_card`).
|
|
50
|
+
`documents` is shared Markdown in a space (every save a version, saves merged line by line or
|
|
51
|
+
refused as a `conflict`, restoring, presence; Actions `document.*`; agents' tools
|
|
52
|
+
`list_documents`, `read_document`, `write_document`, `append_document`, `edit_document`). Each has
|
|
53
|
+
its web front end (`boardsWeb`, `documentsWeb`). The empty Board tab's line about agents is the
|
|
54
|
+
app's: `resources.boardsText.agentHint`.
|
|
55
|
+
- **A `@word` is a mention only when it names someone.** Chat took any `@word` as a mention, so a
|
|
56
|
+
message with a social handle ("my profile is @ana.marca") and no agent named reached no agent. Now
|
|
57
|
+
a mention counts only when it names an agent, or a person in the conversation; any other `@word`
|
|
58
|
+
is plain text, and the message goes where it would without it (the conversation's agents, or the
|
|
59
|
+
space's default).
|
|
60
|
+
- **A failed recall never sinks a turn.** When memory recall fails at the start of a turn (the
|
|
61
|
+
embedder's provider refuses the key, or times out), the turn goes on without recalled memories.
|
|
62
|
+
The failure is logged (`memory: recall failed…`) and counted (`copilotz.memory.recall_failures`).
|
|
63
|
+
A failing `remember` is still a tool error the agent sees.
|
|
64
|
+
- **Web tools** (`webTools`, in `copilotz/plugins/agents`): agents search the web and read a page
|
|
65
|
+
without a computer. `web_search` `{ query, count?, language?, country? }` →
|
|
66
|
+
`{ title, url,
|
|
67
|
+
snippet }` results, through a new `search` adapter port (`duckduckgo`, the
|
|
68
|
+
default: its HTML page, no key, no cost, a bot challenge or empty page is a public "search is
|
|
69
|
+
unavailable" error; `serper`, optional; `fake`; one more adapter adds Brave or Google), and
|
|
70
|
+
`read_page` `{ url, start? }` → the final URL, title, main text and links, in parts, marked as
|
|
71
|
+
data. Reading refuses non-http(s) URLs, private, loopback, link-local and metadata addresses (the
|
|
72
|
+
host resolved, checked again on every redirect), other ports than 80 and 443 unless
|
|
73
|
+
`webTools.ports` lists them, pages over 2 MB or 15 s, and non-text types; a turn reads at most 8
|
|
74
|
+
pages. A search is a `search` use of the usage ledger (in the `agents` category), priced from
|
|
75
|
+
resources, asked of the `modelUse` listeners and the `spending` check first. The models contract
|
|
76
|
+
now exports `mayUse` and `used`, for uses outside model calls.
|
|
77
|
+
- **An agent's message with files.** `chat.say` takes `files`, and `text` may be left out when there
|
|
78
|
+
are files. Trusted code, such as a tool during a turn, can now post what it made without writing
|
|
79
|
+
chat's collections itself. Each file is one of these:
|
|
80
|
+
- `{ id, collection? }`: a document the caller reads that holds a file as `type` and `data`.
|
|
81
|
+
That's chat's own `file` by default, or another plugin's, such as the models plugin's `image`.
|
|
82
|
+
- `{ name, type, data }`: the file given as it is.
|
|
83
|
+
|
|
84
|
+
Each becomes a file of the chat, with its `thread` and space. People and contacts read it there as
|
|
85
|
+
they read people's files, and it meets the same limits: ten at most, about 10 MB each, and a media
|
|
86
|
+
type. Its content is the same blob, so a picture kept elsewhere isn't stored twice. The answer
|
|
87
|
+
adds the files' ids: `{ message, files }`. Saying it again sends nothing, files included. An
|
|
88
|
+
agent's own message tells it next time what it sent: `[sent: logo.png]`.
|
|
89
|
+
|
|
90
|
+
- **A refusal says why.** A turn that fails with a refusal written for people answers in that
|
|
91
|
+
refusal's own words, where only the codes `credits` and `budget` did before. That covers any
|
|
92
|
+
failure made public, including the `spending` check's refusal whatever its `why`: an app's own
|
|
93
|
+
reason, such as an inactive subscription, no longer needs to borrow `credits`. The `spending`
|
|
94
|
+
refusal is now public, so a model outside the app reads its message too. A web line's spent budget
|
|
95
|
+
now shows its own words ("This chat has done all it can for today…"). Every other failure still
|
|
96
|
+
shows people the short line, with the details in the event. Moving in from another app. Nothing
|
|
97
|
+
changes for an app that doesn't call these.
|
|
98
|
+
|
|
99
|
+
- **`chat.import`** (the system's: a migration) brings a conversation in as it was: its thread (the
|
|
100
|
+
importer's id) in a space, with its title, and its messages with who said them (a person's id or
|
|
101
|
+
an agent's name), to whom, what, their files (`data`, or the `id` of a document holding one:
|
|
102
|
+
chat's `file` by default) and when (ISO 8601 with a zone, kept to the millisecond). Nothing runs:
|
|
103
|
+
no turn, no transcript, nothing delivered. Importing again replaces what it made; a long
|
|
104
|
+
conversation comes in several calls, and the thread's summary (count, first, latest, when it last
|
|
105
|
+
moved) is worked out from every message it has. A thread already in another space is refused
|
|
106
|
+
(`chat.move` moves it). Unrecorded: the documents it writes are their own record.
|
|
107
|
+
- **`memory.import`** (the system's) brings memories in as they were, in a space: text, whom each is
|
|
108
|
+
about, who wrote it, `core`, when it was learned and last changed, under the importer's ids. Each
|
|
109
|
+
is embedded as it's kept (with an embedder), so recall finds it by meaning.
|
|
110
|
+
- **Dev sign-in reaches someone already there:** an email a person has (one who moved in under an id
|
|
111
|
+
of its own) signs in as them, and the id of someone there signs in as them too, both as they are
|
|
112
|
+
(their name isn't touched). Anyone else signs in as before.
|
|
113
|
+
|
|
114
|
+
## 1.0.0-rc.26 — 2026-11-06
|
|
115
|
+
|
|
116
|
+
**Upgrading from rc.25.** The `hosts` resource names the app's own hosts an entry each, without the
|
|
117
|
+
`own` key it had alone. An app that names its hosts changes one line; one that doesn't changes
|
|
118
|
+
nothing. The shape before is refused at start, saying what's expected.
|
|
119
|
+
|
|
120
|
+
```ts
|
|
121
|
+
// rc.25
|
|
122
|
+
resources: { hosts: { own: ["app.example.com", "*.run.app"] } }
|
|
123
|
+
// now
|
|
124
|
+
resources: { hosts: { "app.example.com": true, "*.run.app": true } }
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
- **`resources.hosts` is an entry per host** (`{ "app.example.com": true }`), in place of
|
|
128
|
+
`{ own: [...] }`, like every other resource: a later plugin adds a host, or takes one away with
|
|
129
|
+
`null`, without restating the rest. What it does is unchanged: with the app's hosts named, any
|
|
130
|
+
other host is answered only by routes that take it. `HostsSettings` is `Record<string, true>`.
|
|
131
|
+
- **Email sign-in** (`emailSignIn`, in `copilotz/plugins/access`, with identity and `email`): people
|
|
132
|
+
sign in with an email and a password. Nothing changes for apps that don't add it.
|
|
133
|
+
- **Flows,** each an unrecorded Action behind a route, those that end signed in answering with
|
|
134
|
+
identity's `signedIn`: `email.sign-up` (a six-digit code by email, the password waiting for it)
|
|
135
|
+
and `email.verify` (the person made, and a session); `email.sign-in`, refused with `unverified`
|
|
136
|
+
(and a new code sent) until the address is confirmed; `email.forgot` (the same answer for any
|
|
137
|
+
address) and `email.reset` (the password set, the person's other sessions ended);
|
|
138
|
+
`email.invite`, trusted code's (a webhook after a purchase: the person, answered at once, and a
|
|
139
|
+
link that works once for a day, `/#email-invite=<token>`), `email.invitation` and `email.accept`
|
|
140
|
+
(the password chosen, signed in); and `email.import`, the system's, which keeps another app's
|
|
141
|
+
password hashes as they are, for a migration, with the person ids the importer chooses. Routes:
|
|
142
|
+
`GET /signin/email` (it's here; `signUp`), `POST /signin/email`, and `/signin/email/sign-up`,
|
|
143
|
+
`verify`, `forgot`, `reset`, `invitation`, `accept`; a refusal answers `{ error, code }`.
|
|
144
|
+
- **Passwords:** legacy hashes (`"<saltHex>:<hashHex>"`, PBKDF2-HMAC-SHA256 at 100,000, as
|
|
145
|
+
Copilotz 0.x apps kept them) verify as stored and are hashed again at the next sign-in; new ones
|
|
146
|
+
are `pbkdf2-sha256$6x100000$<salt>$<hash>` (PBKDF2 in six stages of 100,000, each salted with
|
|
147
|
+
the stage before: workerd refuses more than 100,000 in one call), on WebCrypto, compared in
|
|
148
|
+
constant time, in a private field (`email_login.hash`) no event or actor's read holds.
|
|
149
|
+
- **Codes and links** are kept only as HMACs under the `links` secret (still matching under its
|
|
150
|
+
`previous` while it changes), used once; codes last 15 minutes and five wrong tries. A stranger
|
|
151
|
+
signing up first with someone's address can't choose their password: each code confirms the
|
|
152
|
+
password its sign-up came with. Messages to an address (5 an hour), tries at it (10 in 15
|
|
153
|
+
minutes) and one caller's asks (30, by the `caller` resource or the socket's address) are
|
|
154
|
+
limited (`too_many`), the same whether or not the address has an account (`emailSignIn.limits`).
|
|
155
|
+
What's past goes every ten minutes (`email.prune`).
|
|
156
|
+
- **Its words** are the `emailSignIn` resource's `messages` (`verify`, `reset`, `invite`,
|
|
157
|
+
`exists`), English unless the app gives its own; `app` names the app in them (the `links`
|
|
158
|
+
origin's host unless said). It needs the `links` resource (`{ origin, secret }`) to start.
|
|
159
|
+
- **`email`, the app's email port:** `email.send` `{ to, subject, text, html? }` (trusted code's,
|
|
160
|
+
unrecorded) through the adapter the `email` resource names: `resend` (Resend's API, through
|
|
161
|
+
`ctx.fetch`, with its `apiKey` and `from`) or `console` (each message in the log, for a laptop;
|
|
162
|
+
refused where the `links` origin is public). `EmailAdapter` and the settings' types are in its
|
|
163
|
+
contract.
|
|
164
|
+
- **The sign-in page offers email** when `GET /signin/email` says it's there: sign in, create an
|
|
165
|
+
account, the code (sent on once typed or pasted; a new one every 30 seconds), a new password by
|
|
166
|
+
code, and arriving by an invitation's link to choose a password. Signing in by name moves under
|
|
167
|
+
it, a click away. The toolkit has an `eye-off` icon. The example web app takes `EMAIL=1` (and
|
|
168
|
+
`EMAIL_INVITE=<address>`) to try it, its messages in the terminal.
|
|
169
|
+
- **The sign-in page is the app's, in every word** (the `signInPage` resource of the browser's
|
|
170
|
+
plugins, merged over Copilotz's as the theme is): `words` patch its phrases one by one by key
|
|
171
|
+
(`SIGN_IN_WORDS` in `copilotz/web`: every heading, label, placeholder, button, hint and refusal of
|
|
172
|
+
Google's, email's and dev sign-in's screens, refusals said by their code, never in the server's
|
|
173
|
+
words); `about`, the panel beside the form (a headline, its quieter end, points with icons), is
|
|
174
|
+
given whole (no Copilotz pitch stays beside an app's own), and `null` leaves the form alone. Its
|
|
175
|
+
logo is the theme's and its name the page's title, as before; an app that says nothing shows
|
|
176
|
+
Copilotz's words and pitch, as before. Google's button speaks `page.lang`. New in `copilotz/web`:
|
|
177
|
+
`SIGN_IN_WORDS`, `COPILOTZ_ABOUT`, `signInPageOf` and the `SignInPage`, `SignInWords`,
|
|
178
|
+
`SignInAbout` and `SignInPoint` types.
|
|
179
|
+
- **Image generation** in `models`: `image.generate`
|
|
180
|
+
`{ model, prompt, references?, count?, aspectRatio?, size?, tags? }` answers
|
|
181
|
+
`{ images: [{ id, type, size }], text, usage }`. The images are kept in the `image` collection, a
|
|
182
|
+
document each, with the content as a blob, and the answer names them by id. A reference is an
|
|
183
|
+
image made here (`{ id }`), a document the caller may read that holds a file as `type` and `data`
|
|
184
|
+
(`{ id, collection: "file" }`, read as the caller), or inline data (`{ data, type }`, or a data
|
|
185
|
+
URL). Models are chosen as `llm`'s are: an alias, settings around one, or a list tried in order.
|
|
186
|
+
Adapters go under `adapters.image`: `gemini` (`generateContent` with `responseModalities`; `count`
|
|
187
|
+
images are that many calls, made together), `openai` (`/images/generations`, or `/images/edits`
|
|
188
|
+
with references), and `fake` (`"fake/image"`).
|
|
189
|
+
- **Metered like every model call.** The org's own key comes first. `modelUse` listeners and the
|
|
190
|
+
`spending` check go before the call. Its tokens are told to the ledger after, with meter
|
|
191
|
+
`image`, priced from the catalog as `llm`'s are, and counted under agents. The provider's
|
|
192
|
+
`silence` and `retry` apply.
|
|
193
|
+
- **Refusals are final.** A model whose safety rules say no fails `image_refused`, and no other
|
|
194
|
+
model is asked. One that makes nothing fails `no_image` once the list is spent. Both are public
|
|
195
|
+
messages: an agent's tool tells its model why.
|
|
196
|
+
- **Recorded, unlike the other ports' Actions.** It writes what it made, so a job that runs again
|
|
197
|
+
finds the call done and doesn't pay twice. `models.check` takes `port: "image"`.
|
|
198
|
+
- `keyed` and `mayRun` (the org's own key, and the spending check) moved from the llm port to
|
|
199
|
+
`shared/use.ts`, so every port that spends asks the same way. Nothing changes for `llm`.
|
|
200
|
+
|
|
3
201
|
## 1.0.0-rc.25 — 2026-11-06
|
|
4
202
|
|
|
5
203
|
**Upgrading from rc.24.** The runtime now answers HTTP itself. `runtime.fetch(request)` is a fetch
|