copilotz 1.0.0-rc.2 → 1.0.0-rc.20
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 +510 -0
- package/README.md +58 -18
- package/hosts/orgs/mod.d.ts +25 -2
- package/hosts/orgs/mod.js +133 -10
- package/hosts/web/mod.d.ts +1 -1
- package/hosts/web/mod.js +1 -1
- package/hosts/web/node/serve.js +5 -2
- package/hosts/web/orgs.d.ts +36 -0
- package/hosts/web/orgs.js +21 -3
- package/hosts/web/pwa.js +1 -1
- package/hosts/web/routes.d.ts +62 -5
- package/hosts/web/routes.js +135 -34
- package/hosts/web/server.d.ts +12 -2
- package/hosts/web/server.js +12 -4
- package/hosts/web/style.d.ts +1 -1
- package/hosts/web/style.js +10 -0
- package/hosts/web/toolkit/button.js +6 -0
- package/hosts/web/toolkit/copy-button.js +4 -0
- package/hosts/web/toolkit/icon-button.js +6 -0
- package/hosts/web/toolkit/icon.d.ts +1 -0
- package/hosts/web/toolkit/icon.js +2 -0
- package/hosts/web/toolkit/input.js +6 -0
- package/hosts/web/toolkit/time.js +2 -1
- package/package.json +9 -5
- package/plugins/access/accounts/actions/complete.js +2 -2
- package/plugins/access/accounts/actions/connect.js +2 -2
- package/plugins/access/accounts/actions/disconnect.js +2 -2
- package/plugins/access/accounts/actions/model-key.d.ts +5 -0
- package/plugins/access/accounts/actions/model-key.js +102 -0
- package/plugins/access/accounts/collections/account.d.ts +3 -3
- package/plugins/access/accounts/collections/account.js +1 -2
- package/plugins/access/accounts/collections/flow.d.ts +1 -1
- package/plugins/access/accounts/collections/model-key.d.ts +58 -0
- package/plugins/access/accounts/collections/model-key.js +17 -0
- package/plugins/access/accounts/mod.d.ts +5 -0
- package/plugins/access/accounts/mod.js +14 -1
- package/plugins/access/accounts/resources/models.js +2 -0
- package/plugins/access/accounts/shared/rules.js +1 -1
- package/plugins/access/accounts/shared/settings.js +2 -2
- package/plugins/access/directory/actions/code.d.ts +4 -0
- package/plugins/access/directory/actions/code.js +135 -0
- package/plugins/access/directory/actions/host.d.ts +2 -0
- package/plugins/access/directory/actions/host.js +54 -0
- package/plugins/access/directory/actions/invite.js +1 -2
- package/plugins/access/directory/actions/org.js +19 -9
- package/plugins/access/directory/collections/credit-code.d.ts +114 -0
- package/plugins/access/directory/collections/credit-code.js +28 -0
- package/plugins/access/directory/collections/org-host.d.ts +61 -0
- package/plugins/access/directory/collections/org-host.js +29 -0
- package/plugins/access/directory/collections/org.d.ts +3 -3
- package/plugins/access/directory/mod.d.ts +4 -1
- package/plugins/access/directory/mod.js +13 -2
- package/plugins/access/identity/actions/key.js +3 -3
- package/plugins/access/identity/actions/session.js +2 -2
- package/plugins/access/identity/collections/credential.d.ts +1 -1
- package/plugins/access/identity/collections/credential.js +2 -2
- package/plugins/access/spaces/actions/agents.js +4 -7
- package/plugins/access/spaces/actions/archive.js +4 -5
- package/plugins/access/spaces/actions/can.js +4 -4
- package/plugins/access/spaces/actions/create.js +2 -2
- package/plugins/access/spaces/actions/invitation.js +12 -12
- package/plugins/access/spaces/actions/leave.js +2 -2
- package/plugins/access/spaces/actions/member.js +32 -37
- package/plugins/access/spaces/actions/org.d.ts +1 -0
- package/plugins/access/spaces/actions/org.js +26 -17
- package/plugins/access/spaces/actions/personal.js +5 -2
- package/plugins/access/spaces/actions/rename.js +4 -5
- package/plugins/access/spaces/actions/request.js +8 -13
- package/plugins/access/spaces/actions/share.js +2 -3
- package/plugins/access/spaces/collections/invitation.js +2 -2
- package/plugins/access/spaces/collections/profile.d.ts +61 -0
- package/plugins/access/spaces/collections/profile.js +54 -0
- package/plugins/access/spaces/collections/request.js +2 -2
- package/plugins/access/spaces/collections/space.js +31 -4
- package/plugins/access/spaces/contract.d.ts +48 -5
- package/plugins/access/spaces/contract.js +3 -0
- package/plugins/access/spaces/mod.d.ts +6 -1
- package/plugins/access/spaces/mod.js +19 -3
- package/plugins/access/spaces/processors/profile.d.ts +7 -0
- package/plugins/access/spaces/processors/profile.js +10 -0
- package/plugins/access/spaces/resources/commands.js +14 -4
- package/plugins/access/spaces/resources/tools.js +3 -1
- package/plugins/access/spaces/shared/can.d.ts +12 -0
- package/plugins/access/spaces/shared/can.js +24 -0
- package/plugins/access/spaces/shared/labels.js +23 -3
- package/plugins/access/spaces/shared/managers.js +1 -1
- package/plugins/access/spaces/shared/names.d.ts +66 -0
- package/plugins/access/spaces/shared/names.js +88 -0
- package/plugins/access/spaces/shared/profile.d.ts +21 -0
- package/plugins/access/spaces/shared/profile.js +27 -0
- package/plugins/access/spaces/shared/reach.d.ts +11 -1
- package/plugins/access/spaces/shared/reach.js +28 -3
- package/plugins/access/spaces/shared/rules.js +4 -2
- package/plugins/access/spaces/shared/seat.d.ts +9 -0
- package/plugins/access/spaces/shared/seat.js +22 -0
- package/plugins/access/spaces/views/elsewhere.d.ts +2 -1
- package/plugins/access/spaces/views/elsewhere.js +30 -8
- package/plugins/access/spaces/views/web/agents.d.ts +6 -1
- package/plugins/access/spaces/views/web/agents.js +7 -5
- package/plugins/access/spaces/views/web/header.d.ts +3 -1
- package/plugins/access/spaces/views/web/header.js +5 -5
- package/plugins/access/spaces/views/web/invitation.d.ts +3 -1
- package/plugins/access/spaces/views/web/invitation.js +2 -2
- package/plugins/access/spaces/views/web/invitations.js +3 -1
- package/plugins/access/spaces/views/web/invited.js +3 -1
- package/plugins/access/spaces/views/web/inviting.js +5 -3
- package/plugins/access/spaces/views/web/members.d.ts +3 -1
- package/plugins/access/spaces/views/web/members.js +52 -19
- package/plugins/access/spaces/views/web/org-about.js +3 -3
- package/plugins/access/spaces/views/web/org-members.d.ts +1 -1
- package/plugins/access/spaces/views/web/org-members.js +8 -7
- package/plugins/access/spaces/views/web/palette.js +18 -10
- package/plugins/access/spaces/views/web/panel.d.ts +3 -2
- package/plugins/access/spaces/views/web/panel.js +33 -17
- package/plugins/access/spaces/views/web/pending.d.ts +3 -1
- package/plugins/access/spaces/views/web/pending.js +5 -5
- package/plugins/access/spaces/views/web/sections.d.ts +31 -0
- package/plugins/access/spaces/views/web/sections.js +22 -0
- package/plugins/access/spaces/views/web/space.d.ts +4 -2
- package/plugins/access/spaces/views/web/space.js +25 -9
- package/plugins/access/spaces/views/web/spaces.js +3 -2
- package/plugins/access/spaces/views/web/style.d.ts +1 -1
- package/plugins/access/spaces/views/web/style.js +41 -0
- package/plugins/access/spaces/views/web/tabs.d.ts +18 -6
- package/plugins/access/spaces/views/web/tabs.js +24 -8
- package/plugins/access/spaces/views/web/tree.d.ts +3 -1
- package/plugins/access/spaces/views/web/tree.js +10 -9
- package/plugins/access/spaces/views/web/who.d.ts +14 -5
- package/plugins/access/spaces/views/web/who.js +25 -10
- package/plugins/access/spaces/views/where.js +9 -3
- package/plugins/access/spaces/web.js +19 -2
- package/plugins/agents/chat/actions/fork.js +2 -2
- package/plugins/agents/chat/actions/move.js +2 -2
- package/plugins/agents/chat/actions/send.js +25 -4
- package/plugins/agents/chat/actions/stop.js +9 -2
- package/plugins/agents/chat/collections/file.d.ts +2 -0
- package/plugins/agents/chat/collections/file.js +4 -2
- package/plugins/agents/chat/collections/message.d.ts +149 -2
- package/plugins/agents/chat/collections/message.js +50 -5
- package/plugins/agents/chat/collections/thread.d.ts +9 -0
- package/plugins/agents/chat/collections/thread.js +5 -3
- package/plugins/agents/chat/contract.d.ts +7 -4
- package/plugins/agents/chat/contract.js +3 -0
- package/plugins/agents/chat/mod.d.ts +11 -6
- package/plugins/agents/chat/mod.js +21 -7
- package/plugins/agents/chat/processors/failed.js +6 -0
- package/plugins/agents/chat/processors/turn.js +48 -12
- package/plugins/agents/chat/shared/agents.d.ts +9 -0
- package/plugins/agents/chat/shared/delivery.d.ts +7 -1
- package/plugins/agents/chat/shared/delivery.js +36 -5
- package/plugins/agents/chat/shared/lineage.d.ts +31 -5
- package/plugins/agents/chat/shared/lineage.js +65 -21
- package/plugins/agents/chat/shared/origin.d.ts +22 -0
- package/plugins/agents/chat/shared/origin.js +11 -0
- package/plugins/agents/chat/shared/send.d.ts +5 -1
- package/plugins/agents/chat/shared/send.js +89 -3
- package/plugins/agents/chat/shared/types.d.ts +46 -8
- package/plugins/agents/chat/shared/types.js +3 -0
- package/plugins/agents/chat/views/context.d.ts +4 -2
- package/plugins/agents/chat/views/context.js +7 -3
- package/plugins/agents/chat/views/history.d.ts +4 -0
- package/plugins/agents/chat/views/message.d.ts +5 -1
- package/plugins/agents/chat/views/message.js +27 -9
- package/plugins/agents/chat/views/participants.js +7 -1
- package/plugins/agents/chat/views/prompt.d.ts +3 -1
- package/plugins/agents/chat/views/prompt.js +29 -15
- package/plugins/agents/chat/views/terminal/agent-prompt.js +2 -2
- package/plugins/agents/chat/views/terminal/author.js +5 -1
- package/plugins/agents/chat/views/web/composer.d.ts +7 -2
- package/plugins/agents/chat/views/web/composer.js +9 -1
- package/plugins/agents/chat/views/web/conversation.d.ts +3 -2
- package/plugins/agents/chat/views/web/conversation.js +18 -5
- package/plugins/agents/chat/views/web/header.d.ts +2 -1
- package/plugins/agents/chat/views/web/header.js +1 -1
- package/plugins/agents/chat/views/web/held.d.ts +10 -9
- package/plugins/agents/chat/views/web/held.js +27 -20
- package/plugins/agents/chat/views/web/home.d.ts +3 -2
- package/plugins/agents/chat/views/web/home.js +1 -1
- package/plugins/agents/chat/views/web/message.d.ts +10 -1
- package/plugins/agents/chat/views/web/message.js +23 -5
- package/plugins/agents/chat/views/web/over.d.ts +9 -8
- package/plugins/agents/chat/views/web/over.js +10 -9
- package/plugins/agents/chat/views/web/style.d.ts +1 -1
- package/plugins/agents/chat/views/web/style.js +19 -6
- package/plugins/agents/chat/web.d.ts +5 -1
- package/plugins/agents/chat/web.js +5 -1
- package/plugins/agents/history/collections/outline.d.ts +73 -6
- package/plugins/agents/history/collections/outline.js +20 -4
- package/plugins/agents/history/collections/summary.d.ts +1 -1
- package/plugins/agents/history/mod.d.ts +14 -6
- package/plugins/agents/history/mod.js +14 -6
- package/plugins/agents/history/processors/compact.d.ts +6 -1
- package/plugins/agents/history/processors/compact.js +112 -43
- package/plugins/agents/history/resources/tools.js +12 -3
- package/plugins/agents/history/shared/lines.d.ts +5 -2
- package/plugins/agents/history/shared/lines.js +10 -2
- package/plugins/agents/history/shared/settings.d.ts +5 -1
- package/plugins/agents/history/shared/weight.d.ts +28 -0
- package/plugins/agents/history/shared/weight.js +62 -0
- package/plugins/agents/history/views/history.d.ts +4 -1
- package/plugins/agents/history/views/history.js +21 -7
- package/plugins/agents/history/views/since.d.ts +6 -3
- package/plugins/agents/history/views/since.js +9 -2
- package/plugins/agents/memory/collections/memory.js +17 -6
- package/plugins/agents/memory/mod.js +2 -2
- package/plugins/agents/memory/processors/extract.js +9 -4
- package/plugins/agents/memory/resources/context.d.ts +9 -1
- package/plugins/agents/memory/resources/context.js +7 -1
- package/plugins/agents/memory/resources/tools.js +11 -8
- package/plugins/agents/memory/shared/scope.d.ts +12 -3
- package/plugins/agents/memory/shared/scope.js +25 -6
- package/plugins/agents/memory/shared/search.d.ts +3 -1
- package/plugins/agents/memory/shared/search.js +18 -4
- package/plugins/agents/memory/shared/settings.d.ts +5 -2
- package/plugins/agents/memory/shared/settings.js +6 -3
- package/plugins/agents/memory/views/context.d.ts +4 -1
- package/plugins/agents/memory/views/context.js +27 -11
- package/plugins/agents/memory/views/memory.d.ts +1 -0
- package/plugins/agents/memory/views/memory.js +4 -2
- package/plugins/agents/memory/views/terminal/memory.d.ts +4 -1
- package/plugins/agents/memory/views/terminal/memory.js +7 -2
- package/plugins/agents/memory/views/web/card.d.ts +4 -2
- package/plugins/agents/memory/views/web/card.js +4 -3
- package/plugins/agents/memory/views/web/list.d.ts +3 -1
- package/plugins/agents/memory/views/web/list.js +20 -9
- package/plugins/agents/memory/views/web/memories.js +5 -1
- package/plugins/agents/memory/views/web/pick.js +8 -5
- package/plugins/agents/memory/web.js +9 -1
- package/plugins/agents/mod.d.ts +7 -3
- package/plugins/agents/mod.js +7 -3
- package/plugins/agents/openapi/actions/operation.d.ts +11 -0
- package/plugins/agents/openapi/actions/operation.js +86 -0
- package/plugins/agents/openapi/contract.d.ts +79 -0
- package/plugins/agents/openapi/contract.js +1 -0
- package/plugins/agents/openapi/mod.d.ts +5 -0
- package/plugins/agents/openapi/mod.js +78 -0
- package/plugins/agents/openapi/resources/tools.d.ts +9 -0
- package/plugins/agents/openapi/resources/tools.js +23 -0
- package/plugins/agents/openapi/shared/files.d.ts +4 -0
- package/plugins/agents/openapi/shared/files.js +126 -0
- package/plugins/agents/openapi/shared/plan.d.ts +34 -0
- package/plugins/agents/openapi/shared/plan.js +122 -0
- package/plugins/agents/openapi/shared/request.d.ts +15 -0
- package/plugins/agents/openapi/shared/request.js +87 -0
- package/plugins/agents/openapi/shared/response.d.ts +24 -0
- package/plugins/agents/openapi/shared/response.js +133 -0
- package/plugins/agents/openapi/shared/schema.d.ts +20 -0
- package/plugins/agents/openapi/shared/schema.js +128 -0
- package/plugins/agents/openapi/shared/settings.d.ts +22 -0
- package/plugins/agents/openapi/shared/settings.js +34 -0
- package/plugins/agents/openapi/shared/spec.d.ts +55 -0
- package/plugins/agents/openapi/shared/spec.js +99 -0
- package/plugins/agents/routines/actions/create.js +24 -12
- package/plugins/agents/routines/actions/delete.js +2 -2
- package/plugins/agents/routines/actions/origin.d.ts +1 -0
- package/plugins/agents/routines/actions/origin.js +32 -0
- package/plugins/agents/routines/actions/pause.js +2 -2
- package/plugins/agents/routines/actions/resume.js +2 -2
- package/plugins/agents/routines/actions/run.js +4 -4
- package/plugins/agents/routines/actions/update.js +18 -10
- package/plugins/agents/routines/collections/routine.d.ts +14 -2
- package/plugins/agents/routines/collections/routine.js +14 -8
- package/plugins/agents/routines/collections/run.d.ts +9 -0
- package/plugins/agents/routines/collections/run.js +2 -0
- package/plugins/agents/routines/contract.d.ts +7 -1
- package/plugins/agents/routines/mod.d.ts +10 -2
- package/plugins/agents/routines/mod.js +14 -2
- package/plugins/agents/routines/resources/tools.js +64 -13
- package/plugins/agents/routines/shared/fire.d.ts +5 -2
- package/plugins/agents/routines/shared/fire.js +30 -14
- package/plugins/agents/routines/shared/routines.d.ts +17 -8
- package/plugins/agents/routines/shared/routines.js +33 -19
- package/plugins/agents/routines/shared/schedule.d.ts +5 -0
- package/plugins/agents/routines/shared/schedule.js +12 -1
- package/plugins/agents/routines/views/web/form.d.ts +4 -3
- package/plugins/agents/routines/views/web/form.js +29 -7
- package/plugins/agents/routines/views/web/new.js +1 -1
- package/plugins/agents/routines/views/web/page.d.ts +2 -1
- package/plugins/agents/routines/views/web/page.js +32 -10
- package/plugins/agents/routines/views/web/routines.d.ts +2 -1
- package/plugins/agents/routines/views/web/routines.js +1 -1
- package/plugins/agents/routines/views/web/step.js +3 -1
- package/plugins/agents/routines/views/web/style.d.ts +1 -1
- package/plugins/agents/routines/views/web/style.js +1 -0
- package/plugins/agents/routines/web.js +1 -1
- package/plugins/agents/skills/actions/create.js +2 -2
- package/plugins/agents/skills/actions/delete.js +2 -2
- package/plugins/agents/skills/actions/update.js +2 -2
- package/plugins/agents/skills/collections/skill.js +4 -4
- package/plugins/agents/skills/shared/write.d.ts +2 -3
- package/plugins/agents/skills/shared/write.js +2 -1
- package/plugins/agents/skills/views/web/page.js +7 -3
- package/plugins/agents/skills/web.js +3 -1
- package/plugins/agents/team/actions/agent.js +5 -6
- package/plugins/agents/team/collections/agent.js +3 -3
- package/plugins/agents/team/contract.d.ts +7 -4
- package/plugins/agents/team/views/web/agent-fields.js +3 -4
- package/plugins/agents/team/views/web/model-pick.d.ts +25 -0
- package/plugins/agents/team/views/web/model-pick.js +39 -0
- package/plugins/agents/team/views/web/model-picker.d.ts +23 -0
- package/plugins/agents/team/views/web/model-picker.js +206 -0
- package/plugins/agents/team/views/web/style.d.ts +2 -2
- package/plugins/agents/team/views/web/style.js +52 -1
- package/plugins/agents/team/web.d.ts +4 -2
- package/plugins/agents/team/web.js +6 -2
- package/plugins/agents/tiers/actions/choose.d.ts +2 -0
- package/plugins/agents/tiers/actions/choose.js +98 -0
- package/plugins/agents/tiers/actions/model.d.ts +1 -0
- package/plugins/agents/tiers/actions/model.js +36 -0
- package/plugins/agents/tiers/collections/choice.d.ts +48 -0
- package/plugins/agents/tiers/collections/choice.js +59 -0
- package/plugins/agents/tiers/contract.d.ts +19 -0
- package/plugins/agents/tiers/contract.js +1 -0
- package/plugins/agents/tiers/mod.d.ts +54 -0
- package/plugins/agents/tiers/mod.js +92 -0
- package/plugins/agents/tiers/shared/shown.d.ts +87 -0
- package/plugins/agents/tiers/shared/shown.js +155 -0
- package/plugins/agents/tiers/shared/tiers.d.ts +103 -0
- package/plugins/agents/tiers/shared/tiers.js +129 -0
- package/plugins/agents/tiers/views/web/org.d.ts +38 -0
- package/plugins/agents/tiers/views/web/org.js +142 -0
- package/plugins/agents/tiers/views/web/space.d.ts +43 -0
- package/plugins/agents/tiers/views/web/space.js +103 -0
- package/plugins/agents/tiers/views/web/style.d.ts +7 -0
- package/plugins/agents/tiers/views/web/style.js +87 -0
- package/plugins/agents/tiers/views/web/words.d.ts +21 -0
- package/plugins/agents/tiers/views/web/words.js +49 -0
- package/plugins/agents/tiers/web.d.ts +18 -0
- package/plugins/agents/tiers/web.js +40 -0
- package/plugins/agents/web.d.ts +1 -0
- package/plugins/agents/web.js +1 -0
- package/plugins/billing/credits/actions/check.d.ts +5 -0
- package/plugins/billing/credits/actions/check.js +97 -0
- package/plugins/billing/credits/actions/manage.d.ts +9 -0
- package/plugins/billing/credits/actions/manage.js +266 -0
- package/plugins/billing/credits/actions/state.d.ts +2 -0
- package/plugins/billing/credits/actions/state.js +172 -0
- package/plugins/billing/credits/collections/credit.d.ts +110 -0
- package/plugins/billing/credits/collections/credit.js +31 -0
- package/plugins/billing/credits/collections/payment.d.ts +139 -0
- package/plugins/billing/credits/collections/payment.js +32 -0
- package/plugins/billing/credits/collections/plan.d.ts +428 -0
- package/plugins/billing/credits/collections/plan.js +97 -0
- package/plugins/billing/credits/collections/room.d.ts +85 -0
- package/plugins/billing/credits/collections/room.js +24 -0
- package/plugins/billing/credits/contract.d.ts +19 -0
- package/plugins/billing/credits/contract.js +12 -0
- package/plugins/billing/credits/mod.d.ts +38 -0
- package/plugins/billing/credits/mod.js +72 -0
- package/plugins/billing/credits/shared/apply.d.ts +66 -0
- package/plugins/billing/credits/shared/apply.js +106 -0
- package/plugins/billing/credits/shared/settings.d.ts +70 -0
- package/plugins/billing/credits/shared/settings.js +28 -0
- package/plugins/billing/credits/shared/standing.d.ts +71 -0
- package/plugins/billing/credits/shared/standing.js +235 -0
- package/plugins/billing/credits/shared/walk.d.ts +50 -0
- package/plugins/billing/credits/shared/walk.js +127 -0
- package/plugins/billing/credits/views/web/add.d.ts +25 -0
- package/plugins/billing/credits/views/web/add.js +92 -0
- package/plugins/billing/credits/views/web/budget.d.ts +16 -0
- package/plugins/billing/credits/views/web/budget.js +62 -0
- package/plugins/billing/credits/views/web/composer.d.ts +13 -0
- package/plugins/billing/credits/views/web/composer.js +64 -0
- package/plugins/billing/credits/views/web/history.d.ts +12 -0
- package/plugins/billing/credits/views/web/history.js +55 -0
- package/plugins/billing/credits/views/web/numbers.d.ts +256 -0
- package/plugins/billing/credits/views/web/numbers.js +291 -0
- package/plugins/billing/credits/views/web/org.d.ts +31 -0
- package/plugins/billing/credits/views/web/org.js +238 -0
- package/plugins/billing/credits/views/web/plan.d.ts +28 -0
- package/plugins/billing/credits/views/web/plan.js +84 -0
- package/plugins/billing/credits/views/web/staff.d.ts +20 -0
- package/plugins/billing/credits/views/web/staff.js +265 -0
- package/plugins/billing/credits/views/web/style.d.ts +9 -0
- package/plugins/billing/credits/views/web/style.js +190 -0
- package/plugins/billing/credits/views/web/types.d.ts +17 -0
- package/plugins/billing/credits/views/web/types.js +32 -0
- package/plugins/billing/credits/web.d.ts +12 -0
- package/plugins/billing/credits/web.js +33 -0
- package/plugins/billing/mod.d.ts +8 -3
- package/plugins/billing/mod.js +7 -3
- package/plugins/billing/stripe/actions/checkout.d.ts +4 -0
- package/plugins/billing/stripe/actions/checkout.js +188 -0
- package/plugins/billing/stripe/mod.d.ts +18 -0
- package/plugins/billing/stripe/mod.js +33 -0
- package/plugins/billing/stripe/shared/api.d.ts +14 -0
- package/plugins/billing/stripe/shared/api.js +42 -0
- package/plugins/billing/stripe/shared/events.d.ts +42 -0
- package/plugins/billing/stripe/shared/events.js +226 -0
- package/plugins/billing/stripe/shared/settings.d.ts +34 -0
- package/plugins/billing/stripe/shared/settings.js +10 -0
- package/plugins/billing/stripe/webhook.d.ts +17 -0
- package/plugins/billing/stripe/webhook.js +45 -0
- package/plugins/billing/usage/actions/activity.d.ts +84 -0
- package/plugins/billing/usage/actions/activity.js +310 -0
- package/plugins/billing/usage/actions/close.js +36 -5
- package/plugins/billing/usage/actions/org.d.ts +29 -1
- package/plugins/billing/usage/actions/org.js +32 -62
- package/plugins/billing/usage/actions/quote.d.ts +7 -0
- package/plugins/billing/usage/actions/quote.js +86 -0
- package/plugins/billing/usage/actions/rerate.js +23 -2
- package/plugins/billing/usage/collections/closed.d.ts +11 -1
- package/plugins/billing/usage/collections/closed.js +4 -1
- package/plugins/billing/usage/collections/rollup.d.ts +81 -2
- package/plugins/billing/usage/collections/rollup.js +16 -4
- package/plugins/billing/usage/collections/usage.d.ts +75 -5
- package/plugins/billing/usage/collections/usage.js +34 -15
- package/plugins/billing/usage/mod.d.ts +31 -11
- package/plugins/billing/usage/mod.js +41 -13
- package/plugins/billing/usage/resources/commands.js +1 -1
- package/plugins/billing/usage/shared/categories.d.ts +23 -0
- package/plugins/billing/usage/shared/categories.js +40 -0
- package/plugins/billing/usage/shared/names.d.ts +45 -0
- package/plugins/billing/usage/shared/names.js +60 -0
- package/plugins/billing/usage/shared/rate.d.ts +39 -11
- package/plugins/billing/usage/shared/rate.js +90 -32
- package/plugins/billing/usage/shared/settings.d.ts +18 -1
- package/plugins/billing/usage/shared/settings.js +11 -2
- package/plugins/billing/usage/shared/totals.d.ts +38 -8
- package/plugins/billing/usage/shared/totals.js +87 -22
- package/plugins/billing/usage/shared/use.d.ts +12 -1
- package/plugins/billing/usage/shared/use.js +14 -7
- package/plugins/billing/usage/views/terminal/totals.d.ts +6 -2
- package/plugins/billing/usage/views/terminal/totals.js +38 -6
- package/plugins/billing/usage/views/web/chart.d.ts +25 -10
- package/plugins/billing/usage/views/web/chart.js +67 -39
- package/plugins/billing/usage/views/web/numbers.d.ts +143 -48
- package/plugins/billing/usage/views/web/numbers.js +250 -56
- package/plugins/billing/usage/views/web/org.d.ts +32 -6
- package/plugins/billing/usage/views/web/org.js +538 -123
- package/plugins/billing/usage/views/web/style.d.ts +9 -5
- package/plugins/billing/usage/views/web/style.js +148 -65
- package/plugins/billing/usage/web.d.ts +8 -5
- package/plugins/billing/usage/web.js +8 -5
- package/plugins/billing/web.d.ts +3 -0
- package/plugins/billing/web.js +3 -0
- package/plugins/compute/apps/actions/build.d.ts +1 -0
- package/plugins/compute/apps/actions/build.js +99 -0
- package/plugins/compute/apps/actions/configure.d.ts +1 -0
- package/plugins/compute/apps/actions/configure.js +74 -0
- package/plugins/compute/apps/actions/list.d.ts +1 -0
- package/plugins/compute/apps/actions/list.js +13 -0
- package/plugins/compute/apps/actions/meter.d.ts +1 -0
- package/plugins/compute/apps/actions/meter.js +43 -0
- package/plugins/compute/apps/actions/publish.d.ts +1 -0
- package/plugins/compute/apps/actions/publish.js +41 -0
- package/plugins/compute/apps/actions/redeploy.d.ts +1 -0
- package/plugins/compute/apps/actions/redeploy.js +26 -0
- package/plugins/compute/apps/actions/remove.d.ts +1 -0
- package/plugins/compute/apps/actions/remove.js +47 -0
- package/plugins/compute/apps/adapters/cloudrun.d.ts +90 -0
- package/plugins/compute/apps/adapters/cloudrun.js +353 -0
- package/plugins/compute/apps/adapters/front.d.ts +24 -0
- package/plugins/compute/apps/adapters/front.js +131 -0
- package/plugins/compute/apps/adapters/local.d.ts +15 -0
- package/plugins/compute/apps/adapters/local.js +139 -0
- package/plugins/compute/apps/adapters/tar.d.ts +29 -0
- package/plugins/compute/apps/adapters/tar.js +178 -0
- package/plugins/compute/apps/collections/app.d.ts +143 -0
- package/plugins/compute/apps/collections/app.js +60 -0
- package/plugins/compute/apps/contract.d.ts +73 -0
- package/plugins/compute/apps/contract.js +8 -0
- package/plugins/compute/apps/mod.d.ts +42 -0
- package/plugins/compute/apps/mod.js +69 -0
- package/plugins/compute/apps/resources/tools.d.ts +10 -0
- package/plugins/compute/apps/resources/tools.js +85 -0
- package/plugins/compute/apps/shared/archive.d.ts +24 -0
- package/plugins/compute/apps/shared/archive.js +69 -0
- package/plugins/compute/apps/shared/claims.d.ts +28 -0
- package/plugins/compute/apps/shared/claims.js +18 -0
- package/plugins/compute/apps/shared/environment.d.ts +8 -0
- package/plugins/compute/apps/shared/environment.js +15 -0
- package/plugins/compute/apps/shared/errors.d.ts +4 -0
- package/plugins/compute/apps/shared/errors.js +4 -0
- package/plugins/compute/apps/shared/host.d.ts +19 -0
- package/plugins/compute/apps/shared/host.js +19 -0
- package/plugins/compute/apps/shared/label.d.ts +21 -0
- package/plugins/compute/apps/shared/label.js +51 -0
- package/plugins/compute/apps/shared/meter.d.ts +17 -0
- package/plugins/compute/apps/shared/meter.js +29 -0
- package/plugins/compute/apps/shared/publish.d.ts +41 -0
- package/plugins/compute/apps/shared/publish.js +141 -0
- package/plugins/compute/apps/shared/settings.d.ts +49 -0
- package/plugins/compute/apps/shared/settings.js +22 -0
- package/plugins/compute/apps/views/web/apps.d.ts +54 -0
- package/plugins/compute/apps/views/web/apps.js +48 -0
- package/plugins/compute/apps/views/web/env.d.ts +54 -0
- package/plugins/compute/apps/views/web/env.js +195 -0
- package/plugins/compute/apps/views/web/publish.d.ts +24 -0
- package/plugins/compute/apps/views/web/publish.js +158 -0
- package/plugins/compute/apps/views/web/space.d.ts +16 -0
- package/plugins/compute/apps/views/web/space.js +138 -0
- package/plugins/compute/apps/views/web/style.d.ts +7 -0
- package/plugins/compute/apps/views/web/style.js +155 -0
- package/plugins/compute/apps/web.d.ts +17 -0
- package/plugins/compute/apps/web.js +35 -0
- package/plugins/compute/cloud/actions/create.d.ts +1 -0
- package/plugins/compute/cloud/actions/create.js +76 -0
- package/plugins/compute/cloud/actions/daily.d.ts +1 -0
- package/plugins/compute/cloud/actions/daily.js +75 -0
- package/plugins/compute/cloud/actions/destroy.d.ts +1 -0
- package/plugins/compute/cloud/actions/destroy.js +71 -0
- package/plugins/compute/cloud/actions/may.d.ts +1 -0
- package/plugins/compute/cloud/actions/may.js +15 -0
- package/plugins/compute/cloud/actions/org.d.ts +1 -0
- package/plugins/compute/cloud/actions/org.js +21 -0
- package/plugins/compute/cloud/actions/pool-tick.d.ts +4 -0
- package/plugins/compute/cloud/actions/pool-tick.js +96 -0
- package/plugins/compute/cloud/actions/pool.d.ts +3 -0
- package/plugins/compute/cloud/actions/pool.js +98 -0
- package/plugins/compute/cloud/actions/release.d.ts +1 -0
- package/plugins/compute/cloud/actions/release.js +58 -0
- package/plugins/compute/cloud/actions/remote.d.ts +10 -0
- package/plugins/compute/cloud/actions/remote.js +24 -0
- package/plugins/compute/cloud/actions/tick.d.ts +1 -0
- package/plugins/compute/cloud/actions/tick.js +105 -0
- package/plugins/compute/cloud/actions/touch.d.ts +1 -0
- package/plugins/compute/cloud/actions/touch.js +32 -0
- package/plugins/compute/cloud/actions/vms.d.ts +7 -0
- package/plugins/compute/cloud/actions/vms.js +211 -0
- package/plugins/compute/cloud/actions/wake.d.ts +1 -0
- package/plugins/compute/cloud/actions/wake.js +153 -0
- package/plugins/compute/cloud/adapters/gce/index.d.ts +73 -0
- package/plugins/compute/cloud/adapters/gce/index.js +242 -0
- package/plugins/compute/cloud/adapters/local.d.ts +48 -0
- package/plugins/compute/cloud/adapters/local.js +188 -0
- package/plugins/compute/cloud/collections/cloud-computer.d.ts +109 -0
- package/plugins/compute/cloud/collections/cloud-computer.js +89 -0
- package/plugins/compute/cloud/collections/pool-vm.d.ts +79 -0
- package/plugins/compute/cloud/collections/pool-vm.js +36 -0
- package/plugins/compute/cloud/collections/pool-want.d.ts +94 -0
- package/plugins/compute/cloud/collections/pool-want.js +27 -0
- package/plugins/compute/cloud/contract.d.ts +236 -0
- package/plugins/compute/cloud/contract.js +67 -0
- package/plugins/compute/cloud/mod.d.ts +97 -0
- package/plugins/compute/cloud/mod.js +197 -0
- package/plugins/compute/cloud/processors/mark.d.ts +9 -0
- package/plugins/compute/cloud/processors/mark.js +13 -0
- package/plugins/compute/cloud/resources/tools.d.ts +3 -0
- package/plugins/compute/cloud/resources/tools.js +237 -0
- package/plugins/compute/cloud/shared/google.d.ts +75 -0
- package/plugins/compute/cloud/shared/google.js +218 -0
- package/plugins/compute/cloud/shared/host.d.ts +11 -0
- package/plugins/compute/cloud/shared/host.js +29 -0
- package/plugins/compute/cloud/shared/may.d.ts +21 -0
- package/plugins/compute/cloud/shared/may.js +22 -0
- package/plugins/compute/cloud/shared/meter.d.ts +36 -0
- package/plugins/compute/cloud/shared/meter.js +68 -0
- package/plugins/compute/cloud/shared/names.d.ts +10 -0
- package/plugins/compute/cloud/shared/names.js +11 -0
- package/plugins/compute/cloud/shared/people.d.ts +19 -0
- package/plugins/compute/cloud/shared/people.js +12 -0
- package/plugins/compute/cloud/shared/records.d.ts +31 -0
- package/plugins/compute/cloud/shared/records.js +18 -0
- package/plugins/compute/cloud/shared/settings.d.ts +70 -0
- package/plugins/compute/cloud/shared/settings.js +47 -0
- package/plugins/compute/cloud/shared/time.d.ts +21 -0
- package/plugins/compute/cloud/shared/time.js +33 -0
- package/plugins/compute/cloud/views/web/cloud.d.ts +79 -0
- package/plugins/compute/cloud/views/web/cloud.js +122 -0
- package/plugins/compute/cloud/views/web/computer.d.ts +37 -0
- package/plugins/compute/cloud/views/web/computer.js +195 -0
- package/plugins/compute/cloud/views/web/new.d.ts +27 -0
- package/plugins/compute/cloud/views/web/new.js +103 -0
- package/plugins/compute/cloud/views/web/style.d.ts +6 -0
- package/plugins/compute/cloud/views/web/style.js +84 -0
- package/plugins/compute/cloud/web.d.ts +19 -0
- package/plugins/compute/cloud/web.js +61 -0
- package/plugins/compute/computers/actions/allow-origin.d.ts +5 -0
- package/plugins/compute/computers/actions/allow-origin.js +48 -0
- package/plugins/compute/computers/actions/allowed.d.ts +1 -0
- package/plugins/compute/computers/actions/allowed.js +50 -0
- package/plugins/compute/computers/actions/approve.js +19 -10
- package/plugins/compute/computers/actions/code.js +4 -4
- package/plugins/compute/computers/actions/default.js +4 -8
- package/plugins/compute/computers/actions/enrollment.d.ts +1 -0
- package/plugins/compute/computers/actions/enrollment.js +49 -0
- package/plugins/compute/computers/actions/env.d.ts +3 -0
- package/plugins/compute/computers/actions/env.js +134 -0
- package/plugins/compute/computers/actions/forget-grant.d.ts +1 -0
- package/plugins/compute/computers/actions/forget-grant.js +16 -0
- package/plugins/compute/computers/actions/forget.js +2 -2
- package/plugins/compute/computers/actions/mark.d.ts +1 -0
- package/plugins/compute/computers/actions/mark.js +36 -0
- package/plugins/compute/computers/actions/move.js +5 -4
- package/plugins/compute/computers/actions/preview.d.ts +4 -0
- package/plugins/compute/computers/actions/preview.js +183 -0
- package/plugins/compute/computers/actions/provision.d.ts +1 -0
- package/plugins/compute/computers/actions/provision.js +51 -0
- package/plugins/compute/computers/actions/rename.js +2 -2
- package/plugins/compute/computers/actions/running.d.ts +1 -0
- package/plugins/compute/computers/actions/running.js +33 -0
- package/plugins/compute/computers/actions/scope.d.ts +1 -0
- package/plugins/compute/computers/actions/scope.js +61 -0
- package/plugins/compute/computers/actions/share.js +5 -4
- package/plugins/compute/computers/actions/unshare.js +5 -8
- package/plugins/compute/computers/actions/view.d.ts +1 -0
- package/plugins/compute/computers/actions/view.js +29 -0
- package/plugins/compute/computers/actions/work.js +41 -6
- package/plugins/compute/computers/collections/approval.d.ts +57 -5
- package/plugins/compute/computers/collections/approval.js +16 -4
- package/plugins/compute/computers/collections/computer.d.ts +70 -1
- package/plugins/compute/computers/collections/computer.js +18 -2
- package/plugins/compute/computers/collections/desk.d.ts +53 -0
- package/plugins/compute/computers/collections/desk.js +11 -3
- package/plugins/compute/computers/collections/env-var.d.ts +122 -0
- package/plugins/compute/computers/collections/env-var.js +51 -0
- package/plugins/compute/computers/collections/grant.d.ts +20 -3
- package/plugins/compute/computers/collections/grant.js +21 -5
- package/plugins/compute/computers/collections/preview.d.ts +111 -0
- package/plugins/compute/computers/collections/preview.js +58 -0
- package/plugins/compute/computers/contract.d.ts +18 -0
- package/plugins/compute/computers/contract.js +8 -0
- package/plugins/compute/computers/mod.d.ts +9 -1
- package/plugins/compute/computers/mod.js +50 -6
- package/plugins/compute/computers/processors/left.d.ts +8 -0
- package/plugins/compute/computers/processors/left.js +31 -0
- package/plugins/compute/computers/program/version.d.ts +1 -1
- package/plugins/compute/computers/program/version.js +1 -1
- package/plugins/compute/computers/resources/commands.js +29 -13
- package/plugins/compute/computers/resources/downloads.js +1 -1
- package/plugins/compute/computers/resources/previews.d.ts +48 -0
- package/plugins/compute/computers/resources/previews.js +391 -0
- package/plugins/compute/computers/resources/tools.d.ts +11 -5
- package/plugins/compute/computers/resources/tools.js +155 -22
- package/plugins/compute/computers/shared/ask.d.ts +7 -3
- package/plugins/compute/computers/shared/ask.js +36 -11
- package/plugins/compute/computers/shared/asks.d.ts +2 -2
- package/plugins/compute/computers/shared/asks.js +3 -2
- package/plugins/compute/computers/shared/desks.d.ts +1 -5
- package/plugins/compute/computers/shared/desks.js +2 -11
- package/plugins/compute/computers/shared/env.d.ts +20 -0
- package/plugins/compute/computers/shared/env.js +50 -0
- package/plugins/compute/computers/shared/grants.d.ts +26 -0
- package/plugins/compute/computers/shared/grants.js +49 -0
- package/plugins/compute/computers/shared/jobs.d.ts +13 -0
- package/plugins/compute/computers/shared/jobs.js +16 -0
- package/plugins/compute/computers/shared/preview-url.d.ts +5 -0
- package/plugins/compute/computers/shared/preview-url.js +5 -0
- package/plugins/compute/computers/shared/seal.d.ts +4 -0
- package/plugins/compute/computers/shared/seal.js +60 -0
- package/plugins/compute/computers/shared/settings.d.ts +32 -5
- package/plugins/compute/computers/shared/settings.js +12 -0
- package/plugins/compute/computers/shared/wake.d.ts +43 -0
- package/plugins/compute/computers/shared/wake.js +63 -0
- package/plugins/compute/computers/shared/where.d.ts +34 -7
- package/plugins/compute/computers/shared/where.js +81 -11
- package/plugins/compute/computers/shared/workloads.d.ts +50 -0
- package/plugins/compute/computers/shared/workloads.js +4 -0
- package/plugins/compute/computers/views/context.d.ts +6 -3
- package/plugins/compute/computers/views/context.js +85 -6
- package/plugins/compute/computers/views/terminal/approvals.js +3 -1
- package/plugins/compute/computers/views/web/add.d.ts +41 -0
- package/plugins/compute/computers/views/web/add.js +60 -0
- package/plugins/compute/computers/views/web/allowed.d.ts +16 -0
- package/plugins/compute/computers/views/web/allowed.js +38 -0
- package/plugins/compute/computers/views/web/asked.d.ts +26 -7
- package/plugins/compute/computers/views/web/asked.js +47 -10
- package/plugins/compute/computers/views/web/asks.d.ts +10 -5
- package/plugins/compute/computers/views/web/asks.js +38 -13
- package/plugins/compute/computers/views/web/calls.js +5 -2
- package/plugins/compute/computers/views/web/computer.d.ts +4 -1
- package/plugins/compute/computers/views/web/computer.js +21 -2
- package/plugins/compute/computers/views/web/connect.d.ts +18 -3
- package/plugins/compute/computers/views/web/connect.js +52 -35
- package/plugins/compute/computers/views/web/desks.d.ts +19 -8
- package/plugins/compute/computers/views/web/desks.js +67 -37
- package/plugins/compute/computers/views/web/env.d.ts +32 -0
- package/plugins/compute/computers/views/web/env.js +154 -0
- package/plugins/compute/computers/views/web/environment.d.ts +23 -0
- package/plugins/compute/computers/views/web/environment.js +47 -0
- package/plugins/compute/computers/views/web/jobs.d.ts +18 -6
- package/plugins/compute/computers/views/web/jobs.js +56 -21
- package/plugins/compute/computers/views/web/kinds.d.ts +102 -0
- package/plugins/compute/computers/views/web/kinds.js +37 -0
- package/plugins/compute/computers/views/web/mark.d.ts +7 -2
- package/plugins/compute/computers/views/web/mark.js +2 -2
- package/plugins/compute/computers/views/web/names.d.ts +3 -2
- package/plugins/compute/computers/views/web/names.js +5 -3
- package/plugins/compute/computers/views/web/page.d.ts +14 -2
- package/plugins/compute/computers/views/web/page.js +48 -26
- package/plugins/compute/computers/views/web/previews.d.ts +44 -0
- package/plugins/compute/computers/views/web/previews.js +33 -0
- package/plugins/compute/computers/views/web/routine-panel.d.ts +14 -0
- package/plugins/compute/computers/views/web/routine-panel.js +91 -0
- package/plugins/compute/computers/views/web/serve.d.ts +47 -0
- package/plugins/compute/computers/views/web/serve.js +168 -0
- package/plugins/compute/computers/views/web/space-tab.d.ts +4 -3
- package/plugins/compute/computers/views/web/space-tab.js +39 -9
- package/plugins/compute/computers/views/web/step.js +7 -1
- package/plugins/compute/computers/views/web/style.d.ts +1 -1
- package/plugins/compute/computers/views/web/style.js +166 -2
- package/plugins/compute/computers/views/web/workspace.d.ts +16 -3
- package/plugins/compute/computers/views/web/workspace.js +49 -6
- package/plugins/compute/computers/web.d.ts +17 -4
- package/plugins/compute/computers/web.js +32 -5
- package/plugins/compute/mod.d.ts +8 -1
- package/plugins/compute/mod.js +8 -1
- package/plugins/compute/web.d.ts +13 -0
- package/plugins/compute/web.js +13 -0
- package/plugins/interfaces/api/actions/create.js +2 -3
- package/plugins/interfaces/api/actions/revoke.js +2 -2
- package/plugins/interfaces/api/collections/key.d.ts +1 -1
- package/plugins/interfaces/api/collections/key.js +3 -3
- package/plugins/interfaces/api/mod.js +2 -0
- package/plugins/interfaces/api/processors/left.d.ts +6 -0
- package/plugins/interfaces/api/processors/left.js +12 -0
- package/plugins/interfaces/api/shared/actor.d.ts +3 -11
- package/plugins/interfaces/api/shared/actor.js +1 -23
- package/plugins/interfaces/api/shared/events.js +2 -2
- package/plugins/interfaces/api/shared/rules.d.ts +3 -10
- package/plugins/interfaces/api/shared/rules.js +8 -24
- package/plugins/interfaces/api/shared/server.js +1 -1
- package/plugins/interfaces/api/web.js +3 -1
- package/plugins/interfaces/web/shared/codes.d.ts +31 -0
- package/plugins/interfaces/web/shared/codes.js +44 -0
- package/plugins/interfaces/web/shared/orgs.d.ts +1 -1
- package/plugins/interfaces/web/shared/orgs.js +1 -1
- package/plugins/interfaces/web/shared/style.d.ts +1 -1
- package/plugins/interfaces/web/shared/style.js +3 -0
- package/plugins/interfaces/web/views/console-codes.d.ts +14 -0
- package/plugins/interfaces/web/views/console-codes.js +159 -0
- package/plugins/interfaces/web/views/console.d.ts +4 -2
- package/plugins/interfaces/web/views/console.js +24 -10
- package/plugins/interfaces/web/views/org.js +12 -6
- package/plugins/interfaces/web/views/orgs.js +13 -3
- package/plugins/interfaces/whatsapp/actions/connect.js +8 -10
- package/plugins/interfaces/whatsapp/actions/disconnect.js +3 -3
- package/plugins/interfaces/whatsapp/actions/link.js +10 -13
- package/plugins/interfaces/whatsapp/collections/phone.d.ts +2 -2
- package/plugins/interfaces/whatsapp/processors/receive.js +3 -10
- package/plugins/interfaces/whatsapp/shared/rules.d.ts +1 -3
- package/plugins/interfaces/whatsapp/shared/rules.js +1 -9
- package/plugins/interfaces/whatsapp/web.js +8 -1
- package/plugins/models/actions/check.d.ts +1 -0
- package/plugins/models/actions/check.js +25 -0
- package/plugins/models/actions/offered.d.ts +34 -0
- package/plugins/models/actions/offered.js +186 -0
- package/plugins/models/adapters/llm/anthropic.js +10 -5
- package/plugins/models/adapters/llm/gemini.js +5 -1
- package/plugins/models/adapters/llm/openai-compatible.js +34 -6
- package/plugins/models/adapters/llm/openai.js +146 -28
- package/plugins/models/contract.d.ts +6 -1
- package/plugins/models/mod.d.ts +7 -1
- package/plugins/models/mod.js +12 -2
- package/plugins/models/shared/catalog.json +9208 -8909
- package/plugins/models/shared/choice.d.ts +31 -0
- package/plugins/models/shared/choice.js +19 -3
- package/plugins/models/shared/generate.d.ts +3 -1
- package/plugins/models/shared/generate.js +91 -11
- package/plugins/models/shared/provider.d.ts +5 -0
- package/plugins/models/shared/provider.js +14 -0
- package/plugins/models/shared/types.d.ts +13 -2
- package/plugins/models/shared/use.d.ts +6 -2
- package/plugins/models/shared/use.js +15 -5
- package/runtime/actor.d.ts +9 -0
- package/{plugins/compute/computers/shared/person.js → runtime/actor.js} +1 -0
- package/runtime/client.js +28 -5
- package/runtime/errors.d.ts +18 -0
- package/runtime/errors.js +7 -0
- package/runtime/executor.js +2 -2
- package/runtime/mod.d.ts +2 -0
- package/runtime/mod.js +2 -0
- package/runtime/owner.d.ts +13 -1
- package/runtime/owner.js +35 -1
- package/stores/blobs/gcs/mod.d.ts +27 -0
- package/stores/blobs/gcs/mod.js +105 -0
- package/plugins/compute/computers/shared/person.d.ts +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,513 @@
|
|
|
1
|
+
## 1.0.0-rc.20 — 2026-11-04
|
|
2
|
+
|
|
3
|
+
- **A model thinking past two minutes isn't a dropped call.** A call counted as dropped once its
|
|
4
|
+
adapter yielded nothing for `silence` (2 minutes), and was retried or handed to the next model. A
|
|
5
|
+
reasoning model yields nothing while it thinks, though its provider's stream goes on (GPT-6 Luna
|
|
6
|
+
at xhigh on a hard problem: 108 s before its first word), so its thinking was thrown away past two
|
|
7
|
+
minutes while the page showed the agent thinking. Adapters now say a stream is alive (`thinking`
|
|
8
|
+
chunks, at most about once a second, for every provider); `generate` passes them on without
|
|
9
|
+
counting them as written, so a model that thinks and then truly stalls still hands over.
|
|
10
|
+
`complete` no longer reads a chunk it doesn't know as usage.
|
|
11
|
+
- **`terminal`: a running command is seen again by its `commandId` alone.** rc.19 said so, but sent
|
|
12
|
+
the computer no input with it, and every look at a slow command answered "stdin is required". A
|
|
13
|
+
`commandId` beside a blank `command` is a look too; beside a real one, the refusal says how to
|
|
14
|
+
look, type into it or stop it.
|
|
15
|
+
- **An agent's OK shows once its own turn is over.** With agents answering in parallel, the
|
|
16
|
+
computer's approval cards waited for every agent's turn to end, so one that asked and finished
|
|
17
|
+
waited on a card that didn't show. Chat's `conversation` Views get `busy` (the agents whose turns
|
|
18
|
+
run, each held 600 ms after its last step) beside `working`.
|
|
19
|
+
- **People show by name on the web.** The browser loads only front ends, and the `names` resource
|
|
20
|
+
was declared only by the spaces plugin: everyone signed in with a sign-in id (`google:…`) showed
|
|
21
|
+
as "someone", in Members, a chat's people and messages, memories, computers and routines. The
|
|
22
|
+
spaces front end declares it too.
|
|
23
|
+
- **People's pictures beside their names**, in a space's Members, a chat's "In this chat" and a
|
|
24
|
+
person's messages: a `profile.pictures` query (`{ ids }`), and `picturesIn` for Views.
|
|
25
|
+
- **`openai-compatible` sends a model's thinking back.** `reasoning_content` (DeepSeek, Moonshot,
|
|
26
|
+
Qwen, vLLM) is kept as the answer's state and goes back with it, as Anthropic's, Gemini's and
|
|
27
|
+
OpenAI's already did; DeepSeek asks for it once tools are given.
|
|
28
|
+
- **OpenAPI tools** (`openapi({ name, spec })`, in `copilotz/plugins/agents`): an API's operations
|
|
29
|
+
as recorded Actions (`<name>.<operationId>`, not called again when a turn is retried) and agent
|
|
30
|
+
tools (`<name>_<operationId>`); settings per deployment in `resources.openapi.<name>` (base URL,
|
|
31
|
+
headers, query, timeouts, size limits, file fields).
|
|
32
|
+
- **History by age:** an agent's `history: { maxAge }` (ms) leaves older messages out of its prompt
|
|
33
|
+
(they stay in the chat), counted back from the newest message it sees, its start on a grid of a
|
|
34
|
+
tenth of `maxAge` so the prompt cache holds between steps.
|
|
35
|
+
- **Blobs in Google Cloud Storage:** `gcsBlobs({ bucket, prefix? })` (`copilotz/blobs/gcs`), signed
|
|
36
|
+
in as the process's service account on Cloud Run or Compute Engine.
|
|
37
|
+
|
|
38
|
+
## 1.0.0-rc.19 — 2026-11-03
|
|
39
|
+
|
|
40
|
+
- **`terminal` takes the command in `command`.** It took it in `stdin`, while `start_job` takes
|
|
41
|
+
`command`, and the tool answered any other field with an empty success: a model that sent
|
|
42
|
+
`command` (gpt-6-luna in 21 of 22 calls in our tests, Claude Haiku 5.5 in 7 of 35) was told it ran
|
|
43
|
+
when nothing had. Now `command` runs a command; `commandId` with `stdin` answers a running one,
|
|
44
|
+
and with `operation: "interrupt"` stops it. A call it can't read (another field, both a command
|
|
45
|
+
and a commandId, an empty command, `stdin` without a commandId) runs nothing and says what to give
|
|
46
|
+
instead. The computer program is unchanged. A chat shows the command from `command`, and from
|
|
47
|
+
`stdin` on calls made before.
|
|
48
|
+
|
|
49
|
+
## 1.0.0-rc.18 — 2026-11-03
|
|
50
|
+
|
|
51
|
+
- **Model tiers for the app's agents** (the new `tiers` plugin, in `copilotz/plugins/agents`). An
|
|
52
|
+
app declares its tiers (`tiers` resource: a title, what it's good for, and a model for each of its
|
|
53
|
+
agents, as an agent's `model` takes one). Which one an agent thinks with, first that applies: a
|
|
54
|
+
model picked for it in the space, the space's tier, a model picked for it by the org, the org's
|
|
55
|
+
tier, the tier the org's plan names (`planTier`), else its own model.
|
|
56
|
+
- An org's owners and admins choose for the org, a space's managers for the space (`tiers.choose`,
|
|
57
|
+
`tiers.pick`); everyone who reaches them sees it (`modelChoice.offered`, `modelChoice.agent`).
|
|
58
|
+
Choices keep the tier's name, so retuning a tier moves everyone on it.
|
|
59
|
+
- A pick keeps the tier's list behind it as fallback, and carries the `maxTokens` of the entry it
|
|
60
|
+
replaces, and its `effort` when the picked model takes it (`models.efforts`, from the catalog).
|
|
61
|
+
- Chat asks through a new `agentModel` resource, once per run, for the app's agents only; agents
|
|
62
|
+
people make keep their own model. A turn's usage now says its `space`.
|
|
63
|
+
- On the web (`tiersWeb`): "Agents' models" in org settings (the tiers with a typical reply's
|
|
64
|
+
price, choosing one with Undo, a model per agent), and on a space's Members tab its tier and
|
|
65
|
+
each app agent's model with where it comes from. Team's model picker is a View (`model.pick`)
|
|
66
|
+
other plugins show.
|
|
67
|
+
- **Plans say whom they're for and which tier they give.** `PlanTerms.for` (`"personal"` or
|
|
68
|
+
`"team"`) is enforced on every move to a plan (checkout, staff, a provider's webhook);
|
|
69
|
+
`PlanTerms.models` names the plan's tier (`billing.tier`). The Billing page offers an org only the
|
|
70
|
+
plans for its kind that its seller can sell (`billing.sellable`), says how much of this period's
|
|
71
|
+
plan credits is left and when they lapse, and speaks of seats only to teams.
|
|
72
|
+
- **The Usage page, rebuilt around money.** One line: spent this billing month, against the budget,
|
|
73
|
+
what's left and how long it lasts at this pace. One "By" switch (kind, space, person, agent,
|
|
74
|
+
model) drives a stacked daily chart and a ranked list; a row filters the page. Activity shows
|
|
75
|
+
turns, computer sessions, app days and conversation upkeep instead of ledger records; staff see
|
|
76
|
+
cost and margin in place.
|
|
77
|
+
- `usage.calls` is gone: `usage.activity` replaces it. `usage.org` groups and filters by
|
|
78
|
+
`category` (agents, computers, apps; `usage.categories`) and by `tags.space`, and names what it
|
|
79
|
+
groups by as the caller reads them, through a new `usageNames` resource kind each owning plugin
|
|
80
|
+
contributes (spaces, conversations, computers, apps).
|
|
81
|
+
- Cloud computers' records say their `space` and, for VM time, their `session`; summaries, memory
|
|
82
|
+
notes and their embeddings say their conversation's `thread` and `space`.
|
|
83
|
+
- Rollups keep `tags.space`. A closed day remembers its shape; days closed with an older one are
|
|
84
|
+
read from records until `usage.close` closes them again (the next nightly close, or by hand).
|
|
85
|
+
- **An app's own instructions are sent as instructions.** A `context` entry with
|
|
86
|
+
`instructions: true` (`system` only) goes right after the agent's instructions, without the
|
|
87
|
+
`<context>` tag that marks other contexts as information, not instructions.
|
|
88
|
+
|
|
89
|
+
## 1.0.0-rc.17 — 2026-11-03
|
|
90
|
+
|
|
91
|
+
- **A model's state goes back with its answers.** What a model returns to be sent back (Anthropic's
|
|
92
|
+
signed thinking, Gemini's thought signatures) was kept on tool steps but dropped on the final
|
|
93
|
+
answer, so the next turn started without it. Answers keep it now, and agents are sent it on
|
|
94
|
+
text-only messages too. A message's `state` is private, like `told`: people's reads and events go
|
|
95
|
+
without it, and an answer handed back to another space doesn't carry it.
|
|
96
|
+
- **OpenAI's reasoning goes back to it.** The Responses adapter asks for a reasoning model's
|
|
97
|
+
reasoning, encrypted (`include: ["reasoning.encrypted_content"]`), keeps it as its answer's state,
|
|
98
|
+
in its place among the answer's text and calls, without ids, and sends it back. Between tool steps
|
|
99
|
+
the model carries on instead of thinking again: on gpt-6.1-sol, a two-turn tool task wrote 42%
|
|
100
|
+
fewer output tokens. A server that refuses `include` is asked again without it, and not asked
|
|
101
|
+
again. Sent back, past reasoning stays in later prompts (a probe: 616 input tokens with it, 48
|
|
102
|
+
without), so a state now says about what it adds (`LlmState.tokens`), and history counts it.
|
|
103
|
+
- **History counts what a prompt really carries.** The history plugin's tail is measured in
|
|
104
|
+
estimated tokens of what an agent is sent for each message: its text, its model's state, text
|
|
105
|
+
files' content, transcripts, images (1,600 each) and PDFs (2,000 a page), and agents' tool steps,
|
|
106
|
+
which leave the tail without a line. `tail` is in tokens now (was bytes), and its default stays
|
|
107
|
+
`[16_000, 48_000]`, so a text-only conversation keeps about four times more whole.
|
|
108
|
+
- Until the tail first cuts, every message is sent: no 50-message cut before anything is
|
|
109
|
+
summarized. That holds for threads whose outline began with them; older ones get chat's window
|
|
110
|
+
until their first cut.
|
|
111
|
+
- The four newest shared messages always stay whole, so a big file stays while it's talked about.
|
|
112
|
+
- A message's line names its files, and `zoom(id, 1)` gives the message as the agent is sent it,
|
|
113
|
+
text files' content included.
|
|
114
|
+
- After a cut, state from before it (thinking bound to how the conversation began) isn't sent
|
|
115
|
+
again; and when a provider refuses a model's own state as stale anyway, the call is tried once
|
|
116
|
+
more without any.
|
|
117
|
+
- Outlines no longer log events.
|
|
118
|
+
- **Without the history plugin,** an agent's window holds 50 to 100 messages and drops 50 at a time
|
|
119
|
+
(was the latest 50, one off every turn), so the prompt cache holds between drops. `lineage`
|
|
120
|
+
(exported) takes `batched`; its `since: ""` now means every message, and its db needs
|
|
121
|
+
`countDocuments`.
|
|
122
|
+
- **Fixed:** lifting a usage waiver gave back nothing for a use recorded in the very millisecond it
|
|
123
|
+
was lifted (a flaky billing test showed it).
|
|
124
|
+
|
|
125
|
+
## 1.0.0-rc.16 — 2026-11-02
|
|
126
|
+
|
|
127
|
+
- **Fixed:** staff by email weren't staff anywhere but going into an org. `org.mine` asked without
|
|
128
|
+
their email, so anyone signed in with Google, whose id isn't their email, had no console and no
|
|
129
|
+
"Enter as staff". It takes `email` now, and the orgs host passes the one they verified.
|
|
130
|
+
|
|
131
|
+
## 1.0.0-rc.15 — 2026-11-02
|
|
132
|
+
|
|
133
|
+
- **Enter as staff, in your own org too.** Staff who belong to an org go in as one of its people, as
|
|
134
|
+
before, but can now ask to go in as staff: from the console, or the org switcher. They keep their
|
|
135
|
+
role, get the staff tools, and "Continue as Owner" takes them back. `POST /orgs/enter` takes
|
|
136
|
+
`staff: true`, `org.enter` takes `staff`, and `GET /orgs` says `asStaff`, which `asStaff()` now
|
|
137
|
+
reads instead of guessing from membership.
|
|
138
|
+
|
|
139
|
+
## 1.0.0-rc.14 — 2026-11-02
|
|
140
|
+
|
|
141
|
+
- **Credits** (`plugins/billing/credits`): what an org can spend. Plans, credits and payments are
|
|
142
|
+
its own rows, the balance is walked from them and the ledger, and one check stops model calls,
|
|
143
|
+
computers and builds at the limit, in plain words. Staff set plans, give credits, waive usage or
|
|
144
|
+
seats, and record payments; gift codes wait in the directory.
|
|
145
|
+
- **Stripe** (`plugins/billing/stripe`): Checkout, the customer portal and signed webhooks, for one
|
|
146
|
+
or more accounts. A subscription's credits come with its paid invoice.
|
|
147
|
+
- **Prices:** a use on an org's own key costs nothing; a plan can name a price list; `usage.quotes`;
|
|
148
|
+
the model picker shows the org's real price.
|
|
149
|
+
- **Removed:** the cloud plugin's `create` and `budgetUsd` settings. Anyone in an org but its guests
|
|
150
|
+
makes a computer; what the org can spend keeps the cost.
|
|
151
|
+
- **Fixed:** model use listeners are awaited, so a late record isn't lost; a VM's seconds stop at
|
|
152
|
+
its lease, so an org closed for days isn't charged for a VM long gone.
|
|
153
|
+
- `composerNotes`, a note above the composer from another front end.
|
|
154
|
+
|
|
155
|
+
## 1.0.0-rc.13 — 2026-11-01
|
|
156
|
+
|
|
157
|
+
- **Choose an agent's model from the catalog, with your own key.** The agent editor searches every
|
|
158
|
+
provider and model in the models.dev catalog an agent can work with (`models.offered`): those with
|
|
159
|
+
a protocol we speak and an address of their own. An org's owners and admins add a key for a
|
|
160
|
+
provider right there (`modelKey.set`): it's sealed, shows only its end, and its agents' calls to
|
|
161
|
+
that provider use it, over the app's. Those uses are tagged `paid: "own-key"`. The catalog now
|
|
162
|
+
keeps names, release dates, and which models can't call tools or answer in text.
|
|
163
|
+
- **Secrets stay out of the log.** `env.set` and `apps.configure` recorded their input, so a space's
|
|
164
|
+
or an app's secret was kept in plain text in its `action.started` event, sealed field or not. Both
|
|
165
|
+
are unrecorded now. Secrets set before this remain in events already written: rotate them.
|
|
166
|
+
- **Agents manage cloud computers.** `list_computers`, `create_computer` and `manage_computer` (add,
|
|
167
|
+
remove, rename, default, destroy) work in the conversation's space, as the person the agent works
|
|
168
|
+
for, through the same Actions and rules a person has. Nothing asks first except destroying, which
|
|
169
|
+
loses the disk: like publishing, it's asked every time and only "once" allows it. A person's own
|
|
170
|
+
machine isn't an agent's to manage. An agent in a space with no computer is told it can make one.
|
|
171
|
+
- **A query an Action runs knows who asks.** Named queries called from an Action or a transaction
|
|
172
|
+
lost the actor for what they call themselves, so a query asking another Action could fail, or
|
|
173
|
+
answer as though nobody asked.
|
|
174
|
+
- **A read's answer no longer overwrites something newer.** The owner answers a batch of reads once
|
|
175
|
+
its slowest is ready, so a change could be pushed before the answer that didn't include it. The
|
|
176
|
+
client then showed the older answer until the read next changed: on a page's first load (the push
|
|
177
|
+
was dropped) and after a reconnect (the push was overwritten). What's pushed while a read is asked
|
|
178
|
+
for now wins over its answer, and a connection that's been replaced is no longer listened to.
|
|
179
|
+
|
|
180
|
+
## 1.0.0-rc.12 — 2026-11-01
|
|
181
|
+
|
|
182
|
+
- **An agent can hand work to itself in another space.** "Itself" now means the same agent in the
|
|
183
|
+
same chat: North in Personal and North in Project management are two pieces of work. Whoever a
|
|
184
|
+
space says answers takes what's handed there, even the agent that sent it, instead of being
|
|
185
|
+
skipped for someone else, so a space where only that agent answers can receive work too. It reads
|
|
186
|
+
what it handed over, and the answer back, as input (`You (via delegated "Solo"): …`), not as
|
|
187
|
+
something it said.
|
|
188
|
+
- **Delegated messages name the other space:** "Delegated: Personal" there, "Delegated: Project
|
|
189
|
+
management" back, with an icon of their own.
|
|
190
|
+
|
|
191
|
+
## 1.0.0-rc.11 — 2026-10-31
|
|
192
|
+
|
|
193
|
+
- **A routine can run with nobody watching.** What its agent needs a yes for can now be allowed for
|
|
194
|
+
that routine alone: "Allow for this routine" on the card, or "What it can do without asking" on
|
|
195
|
+
its page (run commands, start jobs, change files, per computer), ahead of its first run. Allowing
|
|
196
|
+
it answers every run already stopped on the same thing. What a run waits on shows on the routine's
|
|
197
|
+
page, with the way to its chat. In the terminal: `/approve <n> routine`.
|
|
198
|
+
- **That yes covers only that routine's runs, as it was.** A run's work carries the routine as its
|
|
199
|
+
`origin`, on the actor (`originOf`, chat's contract), which only code can set: a person's own
|
|
200
|
+
message to the same agent still asks, even one claiming `via` a routine. Changing what a routine
|
|
201
|
+
does (what it asks, whom, as whom) makes a new version (`routine.rev`), which the yes doesn't
|
|
202
|
+
cover: its page says so and offers "Allow again". Name and schedule don't count. Where a
|
|
203
|
+
computer's owner keeps the answers, only they can say it (`computer.allowOrigin`).
|
|
204
|
+
- **Plugins can add to a routine's page:** the `routinePanels` resource (`{ view, order? }`), a View
|
|
205
|
+
given the routine.
|
|
206
|
+
- **Authorization is one model.** `personOf`, `forbidden`, `invalid`, `failure`, `people` and
|
|
207
|
+
`inPerson` come from the runtime; `may`, `must` and `mustOwnOr` from the spaces contract,
|
|
208
|
+
replacing seven `personOf` copies, about 25 hand-written checks and about 30 local error helpers.
|
|
209
|
+
`reachOf` is the only answer to what someone may do, and respects every limit on them.
|
|
210
|
+
- **Fixed: taking over a space.** A thread named after a space could be used to become its manager.
|
|
211
|
+
A document's memberships now live under its own name (`note:n1`), and only shared collections can
|
|
212
|
+
be named.
|
|
213
|
+
- **Fixed: keys left their space.** Actions that checked reach, then wrote as the system, ignored a
|
|
214
|
+
key's limit. Reach respects it now (`within`, which replaces `at` on a key's actor), and the API's
|
|
215
|
+
own narrowing rules are gone. Keys can't answer approvals.
|
|
216
|
+
- **Fixed: agents asked by agents ran as the agent that asked.** A turn is always its own agent, for
|
|
217
|
+
the person the work is for, including where a computer's owner answered.
|
|
218
|
+
- **Publishing is asked every time.** Nothing wider than once is offered or honored.
|
|
219
|
+
- **Approvals can be taken back,** from the Computer tab. What's allowed for a routine comes from
|
|
220
|
+
the routine (`origins` resource), not from what the caller says.
|
|
221
|
+
- **Roles are given one way** (`seat`): a granted request can't name a role that doesn't exist or
|
|
222
|
+
make an agent a manager, and custom roles count everywhere.
|
|
223
|
+
- **An archived space isn't written in,** which only views enforced before.
|
|
224
|
+
- **Replacing or rebuilding an app** takes its publisher or a manager. **Where a computer's owner
|
|
225
|
+
answers,** only they change anything on it directly; others still read it.
|
|
226
|
+
- **Leaving ends what someone left behind,** however they left: desks, yeses and keys for that
|
|
227
|
+
space, and out of the org, all of them and their own computers. Cloud computers stay for those who
|
|
228
|
+
run the org. A preview's cookie asks whether its person is still a member on each request.
|
|
229
|
+
- **Agents can hand work to other spaces.** `send_message` takes `space`: any space the person can
|
|
230
|
+
write in, listed in the agent's context with who answers there. A new chat opens there, visible to
|
|
231
|
+
its members and marked as delegated, for the same person; the answer comes back to the chat it
|
|
232
|
+
came from, and stopping that chat stops the work. An agent can't hand work to itself.
|
|
233
|
+
|
|
234
|
+
## 1.0.0-rc.10 — 2026-10-31
|
|
235
|
+
|
|
236
|
+
- **A routine made from a chat posts back in that chat.** `schedule_routine` keeps the chat it was
|
|
237
|
+
called from (`routine.thread`), where before no setting could reach it: `same` meant a new chat
|
|
238
|
+
made by the first run. `routine.create` takes `thread` (a chat in that space its maker can see),
|
|
239
|
+
and `post` now defaults to `same`, in the web form too. Its confirmation says where it posts. If
|
|
240
|
+
the chat is deleted or moved to another space, the run starts a new one and says why
|
|
241
|
+
(`routineRun.note`).
|
|
242
|
+
- **A new chat each run is a first-class choice,** for runs to open later (a daily analysis):
|
|
243
|
+
`post:
|
|
244
|
+
"new"`. Each chat is named by `chatName`, with `{name}`, `{date}`, `{time}` (its
|
|
245
|
+
timezone) and `{run}` filled in; by default its name and the day (and time, for `hours` and
|
|
246
|
+
`cron`), so runs no longer all share one name. Its agent may then name it for what it found, with
|
|
247
|
+
the new `name_chat` tool, offered only in those chats. The routine's page lists runs by their
|
|
248
|
+
chats' names. The form and the agent's confirmation say how many chats a day it comes to, when it
|
|
249
|
+
runs at least hourly.
|
|
250
|
+
- **A routine's messages say they're its.** `chat.send` takes `via` (`{ kind, name, path? }`): the
|
|
251
|
+
message is still its sender's, but shows "Routine: Pricing", linked to the routine, and agents
|
|
252
|
+
read `ana (via routine "Pricing"): …`, so they know nobody typed it just now. `chat.send` also
|
|
253
|
+
takes `title` and `renamable` for a new thread, in the same commit as its first message.
|
|
254
|
+
|
|
255
|
+
## 1.0.0-rc.9 — 2026-10-31
|
|
256
|
+
|
|
257
|
+
- **A space's page has a few tabs, and their sections.** A `spaceTabs` entry `under` another tab is
|
|
258
|
+
a section of it, listed in its menu, with an optional `group` heading; a tab with sections names
|
|
259
|
+
its own View among them (`own`) and shows them in a menu beside (`menu: "side"`) or as tabs above
|
|
260
|
+
(`top`, the default). A section's key opens its tab there (`?tab=memories`), so every address
|
|
261
|
+
still works, and the palette lists sections too. The tabs now: Chats, Board and Documents (an
|
|
262
|
+
app's), Computer (Computers, Environment, Apps), Routines and Settings (General, Members,
|
|
263
|
+
Memories, Skills, Channels: WhatsApp, API). Where there's no room for a menu beside (a phone),
|
|
264
|
+
Settings is a list to tap into, and a section says how to get back; in the side panel, sections
|
|
265
|
+
are tabs under the panel's. Who's waiting to join shows on Settings and on Members.
|
|
266
|
+
- **On phones, an app's page.** The viewport spans the screen (`viewport-fit=cover`; the composer
|
|
267
|
+
keeps clear of the home bar) and the keyboard resizes the page where browsers allow
|
|
268
|
+
(`interactive-widget`); pinching still zooms. The page never scrolls sideways or bounces as a
|
|
269
|
+
whole, and a tap is a tap (no double-tap zoom, no grey flash). On touch screens, text is 16px,
|
|
270
|
+
fields too at least (so Safari never zooms in on one you type in), and buttons, icon buttons,
|
|
271
|
+
fields and copy buttons are 44px targets (40px small).
|
|
272
|
+
- **A conversation scrolls up and down only.** What's wider (a table, code) scrolls in its own box;
|
|
273
|
+
text wraps; a file's chip and a tool call being written no longer widen it.
|
|
274
|
+
- **What an agent asks you never covers the conversation.** The command or the file it shows scrolls
|
|
275
|
+
within a few lines (a command can wrap into dozens), with a copy button, so the answers are always
|
|
276
|
+
in sight; the cards keep to at most 60% of the chat's height and scroll there.
|
|
277
|
+
|
|
278
|
+
## 1.0.0-rc.8 — 2026-10-31
|
|
279
|
+
|
|
280
|
+
- **Agents' prompts only grow, so the prompt cache keeps them whole.** A turn context (the
|
|
281
|
+
computers', the spaces elsewhere, memories, an app's) is sent after the conversation only when it
|
|
282
|
+
says something new: when its text isn't what the agent was last told there. The turn's first
|
|
283
|
+
message keeps what it was told (`told`, `[{ name, text }]`, a private field: people's reads come
|
|
284
|
+
without it), and later turns are sent it there. So each model call starts with the whole call
|
|
285
|
+
before it, tool steps and earlier contexts included, where before a turn's context, dropped the
|
|
286
|
+
next turn, cut the cached prefix at the turn's start. `Prompt.turn` is now `{ name, text }[]`:
|
|
287
|
+
what's new this turn.
|
|
288
|
+
- **OpenAI's newer models keep the prefix where told.** Since GPT-5.6, OpenAI caches only at
|
|
289
|
+
breakpoints: its implicit one falls at the end of the latest user message, the turn's context,
|
|
290
|
+
which the next turn didn't send, so a conversation reused only its system text. The Responses
|
|
291
|
+
adapter now marks a message with `cache` (the end of the history) with an explicit
|
|
292
|
+
`prompt_cache_breakpoint`, on the user's or tool's input at or before it. A model that refuses
|
|
293
|
+
breakpoints (earlier ones, other servers) is asked again without, and never again. What OpenAI
|
|
294
|
+
wrote to the cache is metered as `cacheWrite` (billed at a premium by models that report it).
|
|
295
|
+
- **Memory: the system text says how to remember; what's remembered is told.** The `memory` context
|
|
296
|
+
(system) is the guide alone, the same in every conversation, so the system text is cached across
|
|
297
|
+
all of an agent's conversations in a space. Core memories about who's here are the new
|
|
298
|
+
`remembered` turn context: those learned before the conversation began, told at its start and kept
|
|
299
|
+
there. Core memories learned since come up in `recall` when relevant (query `relevant` takes
|
|
300
|
+
`since`; `core` takes `before`), so a memory learned mid-conversation never rewrites its prompt.
|
|
301
|
+
- **History summarizes a message when it leaves the tail**, not when it comes: only then is its line
|
|
302
|
+
read (in the outline, or by `zoom`). A conversation that stays within the tail never calls the
|
|
303
|
+
summarizer; a longer one builds the same tree, in batches, as its tail shrinks. The outline keeps
|
|
304
|
+
the tail's message ids (`tailIds`); threads summarized before keep the lines they have.
|
|
305
|
+
- Measured on Compass's own plugins with real OpenAI calls (gpt-6.1-sol; a 12-turn conversation,
|
|
306
|
+
then a 4-turn one with tool steps, the same agent in the same space): the agent's calls read 95.5%
|
|
307
|
+
of their input from the prompt cache, up from 59.3%, and every model call in the run (memory
|
|
308
|
+
extraction included) 92.4%, up from 44.4%, with no summarizer call (101 before). A 24-turn
|
|
309
|
+
conversation that outgrew its tail: 92.4% for the agent, its one miss when the outline arrives
|
|
310
|
+
(the prompt is new from there).
|
|
311
|
+
|
|
312
|
+
## 1.0.0-rc.7 — 2026-10-30
|
|
313
|
+
|
|
314
|
+
- **Agents choose among a space's computers.** Every computer tool (the terminal, jobs, files, the
|
|
315
|
+
browser, web search, `preview`, and the apps' `publish`) takes `computer`: one of the space's
|
|
316
|
+
computers by its name (any case, or part of it when only one has it) or its id; the space's
|
|
317
|
+
default otherwise. An unknown or ambiguous name, or a computer that's offline, is told with the
|
|
318
|
+
ones to choose from; naming a cloud computer that's asleep wakes it. Each turn, an agent's context
|
|
319
|
+
lists the space's computers (whose, a cloud computer or a machine, how it is now, its system, what
|
|
320
|
+
it asks first, the default marked) when there are several; one stays as it was. In a space with
|
|
321
|
+
several, an answer says the computer it came from (`computer`), and the web's tool steps show it.
|
|
322
|
+
- **A job is found on whichever computer runs it:** `computer.preview` and `computer.scope` (and so
|
|
323
|
+
`app.publish` and the agents' `preview` and `publish`) take a job without a computer and look for
|
|
324
|
+
it on the space's computers that are online, the default first. `computer.preview`,
|
|
325
|
+
`computer.scope`, `computer.allowed` and `app.publish` take `computer` (a name or an id).
|
|
326
|
+
- **The default computer** is named so on the web (a "Default" badge, "Make it the default") and in
|
|
327
|
+
`/computers`.
|
|
328
|
+
- **Apps: what serves a preview serves the app.** A folder with no Dockerfile is built into an image
|
|
329
|
+
made for it (no more buildpacks, which found nothing to build in a plain folder): the computer's
|
|
330
|
+
system (Debian 12) with Node.js 24 and Python, the folder as it was sent, its dependencies
|
|
331
|
+
installed again (npm, pnpm, yarn; `requirements.txt`) and its `build` script run, then its job's
|
|
332
|
+
command behind a front that passes the platform's port on to the job's port on localhost,
|
|
333
|
+
WebSockets included. A job bound to `127.0.0.1` (as previews allow) is served all the same; the
|
|
334
|
+
job is given its own port as `PORT`. `AppHost.build` answers the port its image serves on. Without
|
|
335
|
+
a Dockerfile, an app is published from its job (its command).
|
|
336
|
+
- **A space's environment: variables and secrets.** Each space has its own (collection `envVar`,
|
|
337
|
+
`{ name, value, secret, computers, by, at }`, names like `API_URL`). Its managers change it
|
|
338
|
+
(`env.set` `{ in, name, value?, secret?, computers? }`, `env.unset`); its members read names and
|
|
339
|
+
the values of variables. A secret is sealed at rest (AES-GCM, with the new `computers: { key }`
|
|
340
|
+
resource, else kept as given) and never read back by anyone: people see only that it's there (and
|
|
341
|
+
a long one's last 4 characters), agents only its name. Every job and shell started in the space,
|
|
342
|
+
from the web or by an agent, gets the variables with `computers` (true unless said), under its own
|
|
343
|
+
`env` (`jobs.start` and `terminal` take `env`; the `start_job` tool too); a job kept running keeps
|
|
344
|
+
its env on the computer's disk and starts again with it. A secret given to computers can be read
|
|
345
|
+
by any process there, and the web says so where it's given. Agents' computer context lists the
|
|
346
|
+
names they have (`$NAME`), never a value.
|
|
347
|
+
- **Apps get the space's environment.** An app is deployed with all of its space's variables and
|
|
348
|
+
secrets, and its own over them (`envVar` with `app`; queries `here` and `apps`), passed to Cloud
|
|
349
|
+
Run as its env. `app.configure` `{ app, env? }` (its publisher, or the space's managers) changes
|
|
350
|
+
its own and deploys its image again with them, without a build (the port the image serves is kept
|
|
351
|
+
as `served`). A change to the space's environment doesn't redeploy anything: it reaches an app
|
|
352
|
+
when it's published again, or at once with "Apply to apps". Taking an app down removes its own
|
|
353
|
+
environment (`env.unset` `{ in, app }`).
|
|
354
|
+
- **Web: Environment.** A space's Environment tab lists its variables (a secret masked, whether its
|
|
355
|
+
computers get it, who set it and when); its managers add, change and remove them, with the honest
|
|
356
|
+
limit shown beside a secret given to computers. Under it, its live apps and "Apply to apps"
|
|
357
|
+
(through computers' new `envActions` resource). An app's row opens its environment: the space's
|
|
358
|
+
shown, its own edited, saved with a redeploy. The job start form takes its own environment
|
|
359
|
+
(`NAME=value` lines). The toolkit's `Time` also draws on a server.
|
|
360
|
+
- **People by name, everywhere:** agents' prompts, notes, the terminal and the web show a person's
|
|
361
|
+
name where they showed their id (`google:1139…`). The spaces plugin keeps each person's profile
|
|
362
|
+
(collection `profile`: their name as sign-in verified it, else their email's name, and picture;
|
|
363
|
+
never their email), from the identity plugin's `person` as it changes, at `org.join`, and on
|
|
364
|
+
`space.personal` (each page load), so people known before it get one the next time they come.
|
|
365
|
+
Anyone in the org reads names through the query `profile.names` `{ ids }` (a browser reads
|
|
366
|
+
profiles only through it); two people of one name stay apart ("Ana (2762)"). The new `names`
|
|
367
|
+
resource says where names are (`{ collection: "profile" }`), and the spaces contract (and
|
|
368
|
+
`copilotz/plugins/access`) gives `nameOf`, `namesOf`, `namesIn` (Views), `namesFor` (Actions,
|
|
369
|
+
Processors, tools), `withNames`, `idsIn` and `PROFILE`. A sign-in's id is never shown as a name:
|
|
370
|
+
without a profile, it's "someone".
|
|
371
|
+
- **Agents' prompts:** others' messages read "Ana Lima: …", "People here:" names people, a
|
|
372
|
+
conversation's space is "Ana Lima's Personal space", the computers context says whose computer it
|
|
373
|
+
is and who says yes by name, as do waiting asks, routines (who made one, whom it runs as), history
|
|
374
|
+
summaries and zoom, and recall. Memory extraction writes names, and `remember`'s `about` takes a
|
|
375
|
+
person by name.
|
|
376
|
+
- **Notes and summaries written before names:** a memory or a summary that says someone's id
|
|
377
|
+
(`google:1139…'s cloud computer…`) reads with their name wherever it shows (prompts, recall, the
|
|
378
|
+
Memories page, the terminal), substituted when it's shown: nothing stored is changed, and nothing
|
|
379
|
+
needs migrating.
|
|
380
|
+
- **The web:** the Members tab (people, requests to join, invitations), the space header's faces,
|
|
381
|
+
other people's Personal spaces ("Ana Lima's Personal"), invitations ("Ana Lima invited you"), chat
|
|
382
|
+
messages and the conversation's people, memories (grouped, by whom, search), routines, skills
|
|
383
|
+
("Made by"), apps ("by"), computers (whose each is, who asks first, who started a job or made a
|
|
384
|
+
preview), usage and the org's people show names. **The terminal:** `/computers`, `/approvals`,
|
|
385
|
+
`/requests`, `/grant`, `/invitations`, memories and messages, likewise; `/remove` takes a person's
|
|
386
|
+
id with a colon (`google:1139…`).
|
|
387
|
+
- **Share refusals** name the spaces a write would reveal ("Ana Lima's Personal space"), not their
|
|
388
|
+
ids. An org invitation made by a space invitation says who invited them.
|
|
389
|
+
|
|
390
|
+
## 1.0.0-rc.6 — 2026-10-30
|
|
391
|
+
|
|
392
|
+
- **Computer program:** an app on another machine over plain `ws:` (an `http://` address that isn't
|
|
393
|
+
localhost) fails at once, saying to use https, instead of waiting to connect forever: Oxian
|
|
394
|
+
refuses plain `ws:` but to this machine.
|
|
395
|
+
- **Cloud pools:** a pool grown for a wake isn't shrunk while its VM boots. `pool.take` records what
|
|
396
|
+
it waits for (`poolWant`), and `pool.tick` sizes each pool to its floor, the takes of the last 2
|
|
397
|
+
minutes and the wakes still waiting. Before, the next minute's sizing set the pool back to its
|
|
398
|
+
floor, deleting the VM a wake had grown it for before it connected.
|
|
399
|
+
- **Cloud computers:** `cloudComputer.sizes` also says whether the person asking may make one now
|
|
400
|
+
(`create`, and `why` not: `admins`, `budget`), and the warm and view minutes; `cloud.may` says
|
|
401
|
+
just that. The web's "Use a cloud computer" choice shows why it can't be picked, and the copy says
|
|
402
|
+
the app's minutes.
|
|
403
|
+
- **Cloud computers shared into a space:** each computer's state is kept on it and its desks
|
|
404
|
+
(`status`: `{ kind: "cloud", state, size }`, set with the new system Action `computer.mark`, as
|
|
405
|
+
the cloud plugin sees it change), so the space's members see how anyone's is (asleep, waking,
|
|
406
|
+
awake), not "offline".
|
|
407
|
+
- **Previews:** `preview.here` records carry their address (`url`); the web no longer works it out.
|
|
408
|
+
`computer.preview` and `computer.scope` take a `desk` (one of the space's), and so does
|
|
409
|
+
`app.publish`: the web makes previews and publishes apps from the computer it's on, not the
|
|
410
|
+
space's default.
|
|
411
|
+
- **Apps:** an agent's `publish` asks its person with where the app will be ("wants to publish Shop
|
|
412
|
+
at https://shop.copilotz.app").
|
|
413
|
+
- **`org.me`** isn't recorded (it only reads), so reads (queries, Views) ask it too.
|
|
414
|
+
- **The local cloud host** is one per app and account, whichever executor asks: with several
|
|
415
|
+
executors, a VM one started was turned away by another.
|
|
416
|
+
|
|
417
|
+
## 1.0.0-rc.5 — 2026-10-30
|
|
418
|
+
|
|
419
|
+
- **Cloud computers** (plugin `cloud`, see design/cloud-computers.md): computers the app hosts for
|
|
420
|
+
its people. A cloud computer is a disk; a VM from a pool serves it for one wake, then goes.
|
|
421
|
+
`cloud.create` `{ size, in?, name? }` makes one (an org's owners and admins, or its members when
|
|
422
|
+
the settings say, under the org's monthly `budgetUsd`); work for one that's asleep wakes it (a few
|
|
423
|
+
seconds; about 30 from cold); unused for `warmMinutes` (10) it's released, and after `coldDays`
|
|
424
|
+
(7) it goes cold, kept as a snapshot. A person with it open (`computer.view`, every few minutes
|
|
425
|
+
from its panel) keeps it awake up to `viewMinutes` (120). Its agents ask their person nothing
|
|
426
|
+
first (the `cloud` settings' `approve`, `[]` by default, in place of the computers plugin's;
|
|
427
|
+
publishing an app is always asked). `cloud.destroy`, `cloud.org`, queries `cloudComputer.mine` and
|
|
428
|
+
`cloudComputer.sizes` (each size priced an hour). Hosts are adapters: Compute Engine (`gceHost`:
|
|
429
|
+
managed instance groups as pools, pd-balanced disks, VMs admitted by their Google identity tokens)
|
|
430
|
+
and a local one for development and tests. Metered under `computer` as `cloud/<size>` (VM
|
|
431
|
+
seconds), `cloud/disk` and `cloud/snapshot` (GB-hours).
|
|
432
|
+
- **Cloud pools** (plugin `cloudPool`): the pools' VMs, where they connect (the `pool` worker kind),
|
|
433
|
+
and the Actions `cloud` reaches them through: `pool.take`, `pool.serve`, `pool.stop`, `pool.drop`,
|
|
434
|
+
`pool.renew`, and `pool.tick` each minute (pools sized by the hour). Each VM given is leased:
|
|
435
|
+
renewed each minute while its computer uses it, deleted once nobody does. A VM serving a computer
|
|
436
|
+
connects again as itself when its socket drops, until it's told to stop; then, or gone, never
|
|
437
|
+
again. One runtime has both plugins; an app of many orgs runs `cloudPool` once (its directory's
|
|
438
|
+
runtime, needing nothing else) and gives each org's runtime `remotePool(call, org)`, the same
|
|
439
|
+
Actions forwarded there, each org touching only its own VMs.
|
|
440
|
+
- **Computer program:** `computer pool --app <url>`, a free VM of an app's pool: it waits to serve a
|
|
441
|
+
computer, mounts its disk, and runs it, connected at the address it's told (its org's). Given the
|
|
442
|
+
app's socket (`wss://…`), its identity is still for the app's https origin. scripts/cloud has a
|
|
443
|
+
Google Cloud project's setup and the pool VMs' startup script.
|
|
444
|
+
- **Previews:** what a job serves, at `https://<computer>-preview.<domain>`, carried to the computer
|
|
445
|
+
over its own connection (no inbound network), streamed both ways (`computer.http`). For a space's
|
|
446
|
+
members (a signed cookie, given by the app) or anyone with the link. `computer.preview`,
|
|
447
|
+
`computer.previews`, `computer.unpreview`, and the agents' `preview` tool. Settings
|
|
448
|
+
`computers.previews` `{ domain, key }`. WebSockets aren't carried yet.
|
|
449
|
+
- **Apps** (plugin `apps`): what a job serves, published to run on its own at
|
|
450
|
+
`https://<label>.copilotz.app`. The space's folder is archived by its computer
|
|
451
|
+
(`computer.archive`), built (its Dockerfile, else buildpacks) and deployed as a service that
|
|
452
|
+
scales to zero. `app.publish` (and the agents' `publish` tool, always asked), `app.list`,
|
|
453
|
+
`app.redeploy`, `app.remove`; builds and running metered under `app`. Hosts: Cloud Run
|
|
454
|
+
(`cloudRun`) and a local one (`localApps`).
|
|
455
|
+
- **Apps' safety:** services and images are named `cz-app-<name>` (an app never replaces another
|
|
456
|
+
service in its project); builds run as `cz-build@<project>` (`buildServiceAccount`), never the
|
|
457
|
+
project's default service account, as they run the app's own Dockerfile. `app.publish`'s `port`
|
|
458
|
+
wins over its job's.
|
|
459
|
+
- **Previews' safety:** a preview's `Set-Cookie` loses its `Domain` (no preview sets cookies for the
|
|
460
|
+
domain's other hosts); a request with several `cz_preview` cookies gets in when any is its host's.
|
|
461
|
+
- **Jobs** can say their `port` (a preview's) and be kept (`keep`): a kept job runs again when its
|
|
462
|
+
computer wakes.
|
|
463
|
+
- **A person's panel** (`computer.work`): `wake` wakes a computer that sleeps (its page opened);
|
|
464
|
+
what only reads (`jobs.list`, `jobs.logs`, `files.list`, `files.read`, `search`) neither wakes it
|
|
465
|
+
nor keeps it awake, so a page left open lets it sleep (`computer.view` keeps it awake while
|
|
466
|
+
viewed, up to the limit). A computer the app makes says what its agents ask about
|
|
467
|
+
(`computer.provision`'s `approve`, kept on it and its desks).
|
|
468
|
+
- **On the web** (`copilotz/plugins/compute/web`: `computersWeb`, `cloudWeb`, `appsWeb`):
|
|
469
|
+
- adding a computer is one choice: a cloud computer (its sizes, priced an hour), your own machine,
|
|
470
|
+
or one of yours;
|
|
471
|
+
- a cloud computer shows its state, how long it's been awake and about what that came to; asleep,
|
|
472
|
+
waking it, with honest progress; deleting it, asked first;
|
|
473
|
+
- a job serving a port can be previewed (members, or anyone with the link), opened, copied and
|
|
474
|
+
published as an app (live as it builds), and a space has an Apps tab;
|
|
475
|
+
- jobs can be kept running.
|
|
476
|
+
- **Web host:** routes by host (`{ host }` beside `{ path }`); a trusted front (`front`: a secret
|
|
477
|
+
header and the host it forwards) for apps behind a proxy; orgs claim hosts in the directory
|
|
478
|
+
(`orgHost`), resolved at `/__copilotz/hosts/resolve`.
|
|
479
|
+
- **Runtime:** `runtime.workers.dispatch(kind, id, workload, body?)`, for host code (a route)
|
|
480
|
+
streaming work to a connected worker.
|
|
481
|
+
- **Usage:** `usage.quote` prices quantities as a use would be, without recording one.
|
|
482
|
+
|
|
483
|
+
## 1.0.0-rc.4 — 2026-10-30
|
|
484
|
+
|
|
485
|
+
- **Usage: every use has a price.** It's the cost (a margin of 0) unless the app's price book says
|
|
486
|
+
otherwise: rates of its own, or a gross `margin` on the cost (`{ margin: 0.9 }` is ten times the
|
|
487
|
+
cost), from its `since` date on. `markup` is gone: a margin says it. Uses recorded before count at
|
|
488
|
+
their cost, in totals and when re-rated.
|
|
489
|
+
- **Usage: by part.** Each record keeps its cost and price by part (input, cache reads, cache
|
|
490
|
+
writes, output, reasoning…) and what caching saved; totals and rollups sum them.
|
|
491
|
+
- **Usage: people see prices.** `usage.totals`, `usage.org` and `usage.calls` give people prices
|
|
492
|
+
only; costs (and so margins) only platform staff and the system. Each of `usage.org` and
|
|
493
|
+
`usage.calls` says whether it shows costs (`costs`).
|
|
494
|
+
- **Usage page and `/usage`:** spend (the price) everywhere, with caching visible: hit rate, what
|
|
495
|
+
reading and writing the cache was charged, and what it saved, overall and by model; cached tokens
|
|
496
|
+
in the chart and in each call. Platform staff also see cost and gross margin, marked staff-only.
|
|
497
|
+
- **Models:** OpenAI-compatible providers' cache reads and writes are read as each reports them
|
|
498
|
+
(DeepSeek's cache hits, Moonshot's cached tokens, OpenRouter's cache writes).
|
|
499
|
+
|
|
500
|
+
## 1.0.0-rc.3 — 2026-10-30
|
|
501
|
+
|
|
502
|
+
- **Computers:** connecting one more app (`computer install <app> --code`) no longer stops the
|
|
503
|
+
computer running in the background: it enrolls beside it, then that one starts again with every
|
|
504
|
+
app. Turned away, the background one runs on as it was (before, a code refused while it was
|
|
505
|
+
stopping left it stopped). The state's lock waits a moment for one that's stopping.
|
|
506
|
+
- **Computers:** a new app's folder never takes the name of a space folder kept in the root by a
|
|
507
|
+
computer from before apps had folders of their own.
|
|
508
|
+
- **Install script:** it always says, last, how the terminal it ran in gets `computer` (new ones
|
|
509
|
+
have it).
|
|
510
|
+
|
|
1
511
|
## 1.0.0-rc.2 — 2026-10-30
|
|
2
512
|
|
|
3
513
|
- **Orgs:** an org's socket is in its own address (`/o/<org>/oxian`), beside the shared `/oxian`, so
|