copilotz 1.0.0-rc.31 → 1.0.0-rc.34
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 +130 -0
- package/README.md +169 -158
- package/hosts/terminal/host.js +12 -4
- package/hosts/web/host.js +5 -0
- package/package.json +29 -9
- package/plugins/access/accounts/actions/callback.js +2 -2
- 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/collections/account.js +2 -2
- package/plugins/access/contacts/collections/contact.d.ts +1 -1
- package/plugins/access/contacts/collections/contact.js +2 -2
- package/plugins/access/contract.d.ts +14 -0
- package/plugins/access/contract.js +12 -0
- package/plugins/access/identity/actions/session.js +2 -2
- package/plugins/access/mod.d.ts +5 -4
- package/plugins/access/mod.js +0 -1
- package/plugins/access/spaces/actions/can.js +2 -2
- package/plugins/access/spaces/actions/create.js +2 -2
- package/plugins/access/spaces/actions/invitation.js +4 -4
- package/plugins/access/spaces/actions/leave.js +2 -2
- package/plugins/access/spaces/actions/member.js +3 -3
- package/plugins/access/spaces/actions/org.js +6 -6
- package/plugins/access/spaces/actions/personal.js +9 -6
- package/plugins/access/spaces/actions/request.js +3 -3
- package/plugins/access/spaces/actions/share.js +2 -2
- package/plugins/access/spaces/collections/invitation.js +6 -4
- package/plugins/access/spaces/collections/profile.js +3 -3
- package/plugins/access/spaces/collections/space.d.ts +1 -1
- package/plugins/access/spaces/collections/space.js +2 -1
- package/plugins/access/spaces/shared/labels.js +2 -1
- package/plugins/access/spaces/shared/reach.d.ts +31 -3
- package/plugins/access/spaces/shared/reach.js +120 -9
- package/plugins/access/spaces/shared/rules.js +8 -3
- package/plugins/access/spaces/views/elsewhere.d.ts +5 -2
- package/plugins/access/spaces/views/web/org-about.js +3 -3
- package/plugins/access/spaces/views/web/spaces.js +1 -1
- package/plugins/access/spaces/views/web/tree.d.ts +5 -1
- package/plugins/access/spaces/views/web/tree.js +10 -6
- package/plugins/access/spaces/views/web/who.d.ts +12 -9
- package/plugins/access/spaces/views/web/words.d.ts +1 -1
- package/plugins/access/web.d.ts +0 -1
- package/plugins/access/web.js +0 -2
- package/plugins/agents/chat/actions/attach.js +3 -3
- package/plugins/agents/chat/actions/move.js +2 -2
- package/plugins/agents/chat/actions/send.js +4 -4
- package/plugins/agents/chat/collections/file.d.ts +10 -1
- package/plugins/agents/chat/collections/file.js +7 -0
- package/plugins/agents/chat/collections/intent.d.ts +1 -1
- package/plugins/agents/chat/collections/live.d.ts +2 -2
- package/plugins/agents/chat/collections/message.d.ts +1 -1
- package/plugins/agents/chat/collections/shown.d.ts +1 -1
- package/plugins/agents/chat/collections/thread.d.ts +1 -1
- package/plugins/agents/chat/collections/wait.d.ts +1 -1
- package/plugins/agents/chat/processors/turn.js +13 -13
- package/plugins/agents/chat/shared/delivery.d.ts +1 -1
- package/plugins/agents/chat/shared/delivery.js +4 -1
- package/plugins/agents/chat/shared/send.js +2 -1
- package/plugins/agents/chat/views/web/words.d.ts +1 -1
- package/plugins/agents/contract.d.ts +12 -0
- package/plugins/agents/contract.js +12 -0
- package/plugins/agents/memory/collections/memory.d.ts +1 -1
- package/plugins/agents/memory/mod.js +2 -2
- package/plugins/agents/memory/shared/scope.d.ts +4 -1
- package/plugins/agents/memory/shared/scope.js +6 -6
- package/plugins/agents/memory/views/web/words.d.ts +1 -1
- package/plugins/agents/mod.d.ts +7 -9
- package/plugins/agents/mod.js +7 -9
- package/plugins/agents/openapi/shared/files.js +2 -2
- package/plugins/agents/routines/collections/routine.d.ts +2 -2
- package/plugins/agents/routines/resources/tools.js +11 -9
- package/plugins/agents/routines/shared/fire.d.ts +3 -1
- package/plugins/agents/routines/shared/fire.js +4 -2
- package/plugins/agents/skills/collections/skill.d.ts +1 -1
- package/plugins/agents/skills/resources/tools.js +1 -1
- package/plugins/agents/skills/shared/skills.d.ts +2 -2
- package/plugins/agents/skills/shared/skills.js +3 -6
- package/plugins/agents/web.d.ts +0 -2
- package/plugins/agents/web.js +0 -2
- package/plugins/billing/mod.d.ts +6 -8
- package/plugins/billing/mod.js +6 -7
- package/plugins/billing/usage/collections/usage.js +4 -3
- package/plugins/billing/usage/views/web/words.d.ts +1 -1
- package/plugins/billing/web.d.ts +1 -2
- package/plugins/billing/web.js +1 -2
- package/plugins/compute/apps/actions/list.js +2 -2
- package/plugins/compute/apps/actions/publish.js +2 -2
- package/plugins/compute/apps/resources/tools.js +7 -7
- package/plugins/compute/cloud/actions/create.js +5 -2
- package/plugins/compute/cloud/collections/cloud-computer.d.ts +1 -1
- package/plugins/compute/cloud/resources/tools.js +10 -9
- package/plugins/compute/computers/actions/allowed.js +1 -1
- package/plugins/compute/computers/actions/code.js +2 -2
- package/plugins/compute/computers/actions/env.js +5 -2
- package/plugins/compute/computers/actions/work.js +2 -2
- package/plugins/compute/computers/collections/approval.d.ts +6 -6
- package/plugins/compute/computers/collections/desk.d.ts +1 -1
- package/plugins/compute/computers/collections/desk.js +2 -2
- package/plugins/compute/computers/collections/enrollment.d.ts +1 -1
- package/plugins/compute/computers/collections/grant.d.ts +1 -1
- package/plugins/compute/computers/collections/grant.js +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/compute/computers/resources/tools.js +3 -5
- package/plugins/compute/computers/shared/grants.js +2 -0
- package/plugins/compute/computers/shared/wake.d.ts +4 -4
- package/plugins/compute/computers/shared/wake.js +7 -9
- package/plugins/compute/computers/shared/where.d.ts +4 -4
- package/plugins/compute/computers/shared/where.js +9 -10
- package/plugins/compute/contract.d.ts +9 -0
- package/plugins/compute/contract.js +9 -0
- package/plugins/interfaces/api/collections/key.d.ts +7 -4
- package/plugins/interfaces/api/collections/key.js +5 -1
- package/plugins/interfaces/api/shared/actor.d.ts +1 -0
- package/plugins/interfaces/contract.d.ts +16 -0
- package/plugins/interfaces/contract.js +14 -0
- package/plugins/interfaces/mcp/actions/call.js +5 -1
- package/plugins/interfaces/mcp/mod.d.ts +15 -9
- package/plugins/interfaces/mcp/mod.js +16 -10
- package/plugins/interfaces/mcp/resources/server.js +3 -3
- package/plugins/interfaces/mcp/resources/tools.d.ts +4 -9
- package/plugins/interfaces/mcp/resources/tools.js +7 -20
- package/plugins/interfaces/mcp/resources/widgets.js +2 -1
- package/plugins/interfaces/mcp/shared/settings.d.ts +2 -2
- package/plugins/interfaces/mcp/shared/settings.js +5 -1
- package/plugins/interfaces/voice/collections/blocked.d.ts +1 -1
- package/plugins/interfaces/voice/collections/call.d.ts +1 -1
- package/plugins/interfaces/voice/routes/relay.js +6 -5
- package/plugins/interfaces/web/actions/arrive.js +1 -1
- package/plugins/interfaces/web/collections/visitor.js +8 -4
- package/plugins/interfaces/web/contract.d.ts +10 -5
- package/plugins/interfaces/web/contract.js +2 -1
- package/plugins/interfaces/web/mod.d.ts +12 -12
- package/plugins/interfaces/web/mod.js +11 -15
- package/plugins/interfaces/web/resources/spend.js +9 -3
- package/plugins/interfaces/web/shared/orgs.d.ts +61 -60
- package/plugins/interfaces/web/shared/orgs.js +14 -33
- package/plugins/interfaces/web/shared/standing.js +4 -3
- package/plugins/interfaces/web/shared/style.d.ts +3 -4
- package/plugins/interfaces/web/shared/style.js +3 -192
- package/plugins/interfaces/web/views/frame.d.ts +16 -6
- package/plugins/interfaces/web/views/frame.js +20 -26
- package/plugins/interfaces/web/views/me.d.ts +5 -13
- package/plugins/interfaces/web/views/me.js +9 -19
- package/plugins/interfaces/web/views/shell.d.ts +3 -1
- package/plugins/interfaces/web/views/shell.js +14 -1
- package/plugins/interfaces/web/views/words.d.ts +1 -1
- package/plugins/interfaces/web/views/words.js +2 -185
- package/plugins/interfaces/whatsapp/collections/number.d.ts +1 -1
- package/plugins/interfaces/whatsapp/processors/receive.js +7 -4
- package/plugins/models/shared/use.d.ts +6 -8
- package/runtime/actor.d.ts +37 -0
- package/runtime/actor.js +39 -0
- package/runtime/browsers.d.ts +11 -1
- package/runtime/browsers.js +20 -3
- package/runtime/client.d.ts +10 -2
- package/runtime/client.js +19 -5
- package/runtime/define.d.ts +34 -5
- package/runtime/describe.d.ts +315 -0
- package/runtime/describe.js +590 -0
- package/runtime/errors.d.ts +16 -6
- package/runtime/errors.js +20 -7
- package/runtime/executor.js +26 -4
- package/runtime/kept.d.ts +22 -0
- package/runtime/kept.js +128 -0
- package/runtime/mod.d.ts +1 -1
- package/runtime/mod.js +1 -1
- package/runtime/observe.d.ts +6 -1
- package/runtime/observe.js +2 -1
- package/runtime/owner.d.ts +5 -1
- package/runtime/owner.js +38 -15
- package/runtime/reads.d.ts +3 -1
- package/runtime/reads.js +8 -1
- package/runtime/registry.js +9 -0
- package/runtime/runtimes.d.ts +1 -1
- package/runtime/store.d.ts +3 -1
- package/runtime/views.js +1 -0
- package/testing/mod.d.ts +13 -1
- package/testing/mod.js +28 -2
- package/testing/words.d.ts +18 -0
- package/testing/words.js +60 -0
- package/plugins/access/directory/actions/code.d.ts +0 -4
- package/plugins/access/directory/actions/code.js +0 -135
- package/plugins/access/directory/actions/host.d.ts +0 -2
- package/plugins/access/directory/actions/host.js +0 -55
- package/plugins/access/directory/actions/invite.d.ts +0 -5
- package/plugins/access/directory/actions/invite.js +0 -129
- package/plugins/access/directory/actions/org.d.ts +0 -10
- package/plugins/access/directory/actions/org.js +0 -273
- package/plugins/access/directory/collections/credit-code.d.ts +0 -114
- package/plugins/access/directory/collections/credit-code.js +0 -28
- package/plugins/access/directory/collections/invite.d.ts +0 -81
- package/plugins/access/directory/collections/invite.js +0 -20
- package/plugins/access/directory/collections/membership.d.ts +0 -72
- package/plugins/access/directory/collections/membership.js +0 -22
- package/plugins/access/directory/collections/org-host.d.ts +0 -62
- package/plugins/access/directory/collections/org-host.js +0 -30
- package/plugins/access/directory/collections/org.d.ts +0 -141
- package/plugins/access/directory/collections/org.js +0 -58
- package/plugins/access/directory/collections/staff.d.ts +0 -42
- package/plugins/access/directory/collections/staff.js +0 -12
- package/plugins/access/directory/contract.d.ts +0 -8
- package/plugins/access/directory/contract.js +0 -8
- package/plugins/access/directory/mod.d.ts +0 -64
- package/plugins/access/directory/mod.js +0 -119
- package/plugins/access/directory/routes/console.d.ts +0 -26
- package/plugins/access/directory/routes/console.js +0 -129
- package/plugins/access/directory/routes/enter.d.ts +0 -18
- package/plugins/access/directory/routes/enter.js +0 -47
- package/plugins/access/directory/routes/forward.d.ts +0 -35
- package/plugins/access/directory/routes/forward.js +0 -119
- package/plugins/access/directory/routes/orgs.d.ts +0 -25
- package/plugins/access/directory/routes/orgs.js +0 -113
- package/plugins/access/directory/routes/signout.d.ts +0 -11
- package/plugins/access/directory/routes/signout.js +0 -36
- package/plugins/access/directory/shared/enter.d.ts +0 -36
- package/plugins/access/directory/shared/enter.js +0 -82
- package/plugins/access/directory/shared/http.d.ts +0 -42
- package/plugins/access/directory/shared/http.js +0 -77
- package/plugins/access/directory/shared/member.d.ts +0 -21
- package/plugins/access/directory/shared/member.js +0 -73
- package/plugins/access/directory/shared/settings.d.ts +0 -53
- package/plugins/access/directory/shared/settings.js +0 -16
- package/plugins/access/directory/shared/state.d.ts +0 -74
- package/plugins/access/directory/shared/state.js +0 -101
- package/plugins/access/directory/web.d.ts +0 -148
- package/plugins/access/directory/web.js +0 -248
- package/plugins/access/directory/words.d.ts +0 -1
- package/plugins/access/directory/words.js +0 -6
- package/plugins/agents/team/actions/agent.d.ts +0 -4
- package/plugins/agents/team/actions/agent.js +0 -179
- package/plugins/agents/team/actions/define.d.ts +0 -1
- package/plugins/agents/team/actions/define.js +0 -27
- package/plugins/agents/team/collections/agent.d.ts +0 -132
- package/plugins/agents/team/collections/agent.js +0 -75
- package/plugins/agents/team/contract.d.ts +0 -10
- package/plugins/agents/team/contract.js +0 -1
- package/plugins/agents/team/mod.d.ts +0 -21
- package/plugins/agents/team/mod.js +0 -49
- package/plugins/agents/team/shared/definition.d.ts +0 -3
- package/plugins/agents/team/shared/definition.js +0 -10
- package/plugins/agents/team/views/web/agent-add.d.ts +0 -14
- package/plugins/agents/team/views/web/agent-add.js +0 -48
- package/plugins/agents/team/views/web/agent-fields.d.ts +0 -33
- package/plugins/agents/team/views/web/agent-fields.js +0 -88
- package/plugins/agents/team/views/web/agent-known.d.ts +0 -22
- package/plugins/agents/team/views/web/agent-known.js +0 -61
- package/plugins/agents/team/views/web/agent-new.d.ts +0 -24
- package/plugins/agents/team/views/web/agent-new.js +0 -129
- package/plugins/agents/team/views/web/agent-palette.d.ts +0 -19
- package/plugins/agents/team/views/web/agent-palette.js +0 -203
- package/plugins/agents/team/views/web/agent-steps.d.ts +0 -23
- package/plugins/agents/team/views/web/agent-steps.js +0 -56
- package/plugins/agents/team/views/web/agent.d.ts +0 -17
- package/plugins/agents/team/views/web/agent.js +0 -257
- package/plugins/agents/team/views/web/agents.d.ts +0 -48
- package/plugins/agents/team/views/web/agents.js +0 -59
- package/plugins/agents/team/views/web/model-pick.d.ts +0 -25
- package/plugins/agents/team/views/web/model-pick.js +0 -39
- package/plugins/agents/team/views/web/model-picker.d.ts +0 -57
- package/plugins/agents/team/views/web/model-picker.js +0 -218
- package/plugins/agents/team/views/web/places.d.ts +0 -24
- package/plugins/agents/team/views/web/places.js +0 -10
- package/plugins/agents/team/views/web/style.d.ts +0 -9
- package/plugins/agents/team/views/web/style.js +0 -246
- package/plugins/agents/team/views/web/words.d.ts +0 -1
- package/plugins/agents/team/views/web/words.js +0 -208
- package/plugins/agents/team/web.d.ts +0 -22
- package/plugins/agents/team/web.js +0 -41
- package/plugins/agents/tiers/actions/choose.d.ts +0 -2
- package/plugins/agents/tiers/actions/choose.js +0 -98
- package/plugins/agents/tiers/actions/model.d.ts +0 -1
- package/plugins/agents/tiers/actions/model.js +0 -36
- package/plugins/agents/tiers/collections/choice.d.ts +0 -48
- package/plugins/agents/tiers/collections/choice.js +0 -59
- package/plugins/agents/tiers/contract.d.ts +0 -19
- package/plugins/agents/tiers/contract.js +0 -1
- package/plugins/agents/tiers/mod.d.ts +0 -54
- package/plugins/agents/tiers/mod.js +0 -92
- package/plugins/agents/tiers/shared/shown.d.ts +0 -87
- package/plugins/agents/tiers/shared/shown.js +0 -155
- package/plugins/agents/tiers/shared/tiers.d.ts +0 -103
- package/plugins/agents/tiers/shared/tiers.js +0 -129
- package/plugins/agents/tiers/views/web/org.d.ts +0 -38
- package/plugins/agents/tiers/views/web/org.js +0 -142
- package/plugins/agents/tiers/views/web/space.d.ts +0 -43
- package/plugins/agents/tiers/views/web/space.js +0 -103
- package/plugins/agents/tiers/views/web/style.d.ts +0 -7
- package/plugins/agents/tiers/views/web/style.js +0 -87
- package/plugins/agents/tiers/views/web/words.d.ts +0 -21
- package/plugins/agents/tiers/views/web/words.js +0 -49
- package/plugins/agents/tiers/web.d.ts +0 -18
- package/plugins/agents/tiers/web.js +0 -40
- package/plugins/billing/credits/actions/check.d.ts +0 -5
- package/plugins/billing/credits/actions/check.js +0 -97
- package/plugins/billing/credits/actions/manage.d.ts +0 -9
- package/plugins/billing/credits/actions/manage.js +0 -266
- package/plugins/billing/credits/actions/state.d.ts +0 -2
- package/plugins/billing/credits/actions/state.js +0 -172
- package/plugins/billing/credits/collections/credit.d.ts +0 -110
- package/plugins/billing/credits/collections/credit.js +0 -31
- package/plugins/billing/credits/collections/payment.d.ts +0 -139
- package/plugins/billing/credits/collections/payment.js +0 -32
- package/plugins/billing/credits/collections/plan.d.ts +0 -428
- package/plugins/billing/credits/collections/plan.js +0 -97
- package/plugins/billing/credits/collections/room.d.ts +0 -85
- package/plugins/billing/credits/collections/room.js +0 -24
- package/plugins/billing/credits/contract.d.ts +0 -19
- package/plugins/billing/credits/contract.js +0 -12
- package/plugins/billing/credits/mod.d.ts +0 -38
- package/plugins/billing/credits/mod.js +0 -72
- package/plugins/billing/credits/shared/apply.d.ts +0 -66
- package/plugins/billing/credits/shared/apply.js +0 -106
- package/plugins/billing/credits/shared/settings.d.ts +0 -70
- package/plugins/billing/credits/shared/settings.js +0 -28
- package/plugins/billing/credits/shared/standing.d.ts +0 -71
- package/plugins/billing/credits/shared/standing.js +0 -235
- package/plugins/billing/credits/shared/walk.d.ts +0 -50
- package/plugins/billing/credits/shared/walk.js +0 -127
- package/plugins/billing/credits/views/web/add.d.ts +0 -25
- package/plugins/billing/credits/views/web/add.js +0 -92
- package/plugins/billing/credits/views/web/budget.d.ts +0 -16
- package/plugins/billing/credits/views/web/budget.js +0 -62
- package/plugins/billing/credits/views/web/composer.d.ts +0 -13
- package/plugins/billing/credits/views/web/composer.js +0 -65
- package/plugins/billing/credits/views/web/history.d.ts +0 -12
- package/plugins/billing/credits/views/web/history.js +0 -55
- package/plugins/billing/credits/views/web/numbers.d.ts +0 -256
- package/plugins/billing/credits/views/web/numbers.js +0 -291
- package/plugins/billing/credits/views/web/org.d.ts +0 -31
- package/plugins/billing/credits/views/web/org.js +0 -238
- package/plugins/billing/credits/views/web/plan.d.ts +0 -28
- package/plugins/billing/credits/views/web/plan.js +0 -84
- package/plugins/billing/credits/views/web/staff.d.ts +0 -20
- package/plugins/billing/credits/views/web/staff.js +0 -265
- package/plugins/billing/credits/views/web/style.d.ts +0 -9
- package/plugins/billing/credits/views/web/style.js +0 -190
- package/plugins/billing/credits/views/web/types.d.ts +0 -17
- package/plugins/billing/credits/views/web/types.js +0 -32
- package/plugins/billing/credits/web.d.ts +0 -12
- package/plugins/billing/credits/web.js +0 -33
- package/plugins/billing/stripe/actions/checkout.d.ts +0 -4
- package/plugins/billing/stripe/actions/checkout.js +0 -188
- package/plugins/billing/stripe/actions/fact.d.ts +0 -1
- package/plugins/billing/stripe/actions/fact.js +0 -39
- package/plugins/billing/stripe/mod.d.ts +0 -30
- package/plugins/billing/stripe/mod.js +0 -52
- package/plugins/billing/stripe/routes/webhook.d.ts +0 -16
- package/plugins/billing/stripe/routes/webhook.js +0 -56
- package/plugins/billing/stripe/shared/api.d.ts +0 -14
- package/plugins/billing/stripe/shared/api.js +0 -42
- package/plugins/billing/stripe/shared/events.d.ts +0 -42
- package/plugins/billing/stripe/shared/events.js +0 -226
- package/plugins/billing/stripe/shared/settings.d.ts +0 -39
- package/plugins/billing/stripe/shared/settings.js +0 -10
- package/plugins/interfaces/web/shared/codes.d.ts +0 -27
- package/plugins/interfaces/web/shared/codes.js +0 -50
- package/plugins/interfaces/web/views/console-codes.d.ts +0 -37
- package/plugins/interfaces/web/views/console-codes.js +0 -166
- package/plugins/interfaces/web/views/console.d.ts +0 -37
- package/plugins/interfaces/web/views/console.js +0 -223
- package/plugins/interfaces/web/views/org.d.ts +0 -12
- package/plugins/interfaces/web/views/org.js +0 -62
- package/plugins/interfaces/web/views/orgs.d.ts +0 -45
- package/plugins/interfaces/web/views/orgs.js +0 -274
- package/plugins/work/boards/actions/create-board.d.ts +0 -1
- package/plugins/work/boards/actions/create-board.js +0 -47
- package/plugins/work/boards/actions/create-card.d.ts +0 -1
- package/plugins/work/boards/actions/create-card.js +0 -83
- package/plugins/work/boards/actions/delete-board.d.ts +0 -1
- package/plugins/work/boards/actions/delete-board.js +0 -30
- package/plugins/work/boards/actions/delete-card.d.ts +0 -1
- package/plugins/work/boards/actions/delete-card.js +0 -24
- package/plugins/work/boards/actions/move-card.d.ts +0 -1
- package/plugins/work/boards/actions/move-card.js +0 -85
- package/plugins/work/boards/actions/update-board.d.ts +0 -1
- package/plugins/work/boards/actions/update-board.js +0 -110
- package/plugins/work/boards/actions/update-card.d.ts +0 -1
- package/plugins/work/boards/actions/update-card.js +0 -67
- package/plugins/work/boards/collections/board.d.ts +0 -71
- package/plugins/work/boards/collections/board.js +0 -32
- package/plugins/work/boards/collections/card.d.ts +0 -74
- package/plugins/work/boards/collections/card.js +0 -29
- package/plugins/work/boards/contract.d.ts +0 -67
- package/plugins/work/boards/contract.js +0 -20
- package/plugins/work/boards/mod.d.ts +0 -34
- package/plugins/work/boards/mod.js +0 -72
- package/plugins/work/boards/resources/tools.d.ts +0 -2
- package/plugins/work/boards/resources/tools.js +0 -416
- package/plugins/work/boards/shared/columns.d.ts +0 -39
- package/plugins/work/boards/shared/columns.js +0 -88
- package/plugins/work/boards/shared/dates.d.ts +0 -11
- package/plugins/work/boards/shared/dates.js +0 -22
- package/plugins/work/boards/shared/errors.d.ts +0 -24
- package/plugins/work/boards/shared/errors.js +0 -20
- package/plugins/work/boards/shared/fields.d.ts +0 -65
- package/plugins/work/boards/shared/fields.js +0 -44
- package/plugins/work/boards/shared/load.d.ts +0 -22
- package/plugins/work/boards/shared/load.js +0 -32
- package/plugins/work/boards/shared/order.d.ts +0 -30
- package/plugins/work/boards/shared/order.js +0 -47
- package/plugins/work/boards/shared/people.d.ts +0 -30
- package/plugins/work/boards/shared/people.js +0 -87
- package/plugins/work/boards/shared/said.d.ts +0 -28
- package/plugins/work/boards/shared/said.js +0 -30
- package/plugins/work/boards/views/web/board-head.d.ts +0 -62
- package/plugins/work/boards/views/web/board-head.js +0 -170
- package/plugins/work/boards/views/web/board-page.d.ts +0 -17
- package/plugins/work/boards/views/web/board-page.js +0 -97
- package/plugins/work/boards/views/web/board-view.d.ts +0 -40
- package/plugins/work/boards/views/web/board-view.js +0 -341
- package/plugins/work/boards/views/web/boards-tab.d.ts +0 -13
- package/plugins/work/boards/views/web/boards-tab.js +0 -109
- package/plugins/work/boards/views/web/card-sheet.d.ts +0 -47
- package/plugins/work/boards/views/web/card-sheet.js +0 -314
- package/plugins/work/boards/views/web/card-tile.d.ts +0 -29
- package/plugins/work/boards/views/web/card-tile.js +0 -20
- package/plugins/work/boards/views/web/column.d.ts +0 -38
- package/plugins/work/boards/views/web/column.js +0 -171
- package/plugins/work/boards/views/web/drag.d.ts +0 -36
- package/plugins/work/boards/views/web/drag.js +0 -276
- package/plugins/work/boards/views/web/glyphs.d.ts +0 -29
- package/plugins/work/boards/views/web/glyphs.js +0 -25
- package/plugins/work/boards/views/web/load.d.ts +0 -32
- package/plugins/work/boards/views/web/load.js +0 -33
- package/plugins/work/boards/views/web/palette.d.ts +0 -15
- package/plugins/work/boards/views/web/palette.js +0 -180
- package/plugins/work/boards/views/web/pickers.d.ts +0 -45
- package/plugins/work/boards/views/web/pickers.js +0 -83
- package/plugins/work/boards/views/web/shown.d.ts +0 -77
- package/plugins/work/boards/views/web/shown.js +0 -136
- package/plugins/work/boards/views/web/step.d.ts +0 -13
- package/plugins/work/boards/views/web/step.js +0 -41
- package/plugins/work/boards/views/web/style.d.ts +0 -10
- package/plugins/work/boards/views/web/style.js +0 -380
- package/plugins/work/boards/views/web/toolbar.d.ts +0 -21
- package/plugins/work/boards/views/web/toolbar.js +0 -39
- package/plugins/work/boards/web.d.ts +0 -26
- package/plugins/work/boards/web.js +0 -52
- package/plugins/work/documents/actions/create.d.ts +0 -1
- package/plugins/work/documents/actions/create.js +0 -28
- package/plugins/work/documents/actions/delete.d.ts +0 -1
- package/plugins/work/documents/actions/delete.js +0 -32
- package/plugins/work/documents/actions/presence.d.ts +0 -1
- package/plugins/work/documents/actions/presence.js +0 -45
- package/plugins/work/documents/actions/rename.d.ts +0 -1
- package/plugins/work/documents/actions/rename.js +0 -33
- package/plugins/work/documents/actions/restore.d.ts +0 -1
- package/plugins/work/documents/actions/restore.js +0 -39
- package/plugins/work/documents/actions/save.d.ts +0 -1
- package/plugins/work/documents/actions/save.js +0 -78
- package/plugins/work/documents/collections/document-presence.d.ts +0 -79
- package/plugins/work/documents/collections/document-presence.js +0 -25
- package/plugins/work/documents/collections/document-version.d.ts +0 -166
- package/plugins/work/documents/collections/document-version.js +0 -60
- package/plugins/work/documents/collections/document.d.ts +0 -131
- package/plugins/work/documents/collections/document.js +0 -72
- package/plugins/work/documents/contract.d.ts +0 -17
- package/plugins/work/documents/contract.js +0 -1
- package/plugins/work/documents/mod.d.ts +0 -38
- package/plugins/work/documents/mod.js +0 -75
- package/plugins/work/documents/resources/tools.d.ts +0 -2
- package/plugins/work/documents/resources/tools.js +0 -255
- package/plugins/work/documents/shared/diff.d.ts +0 -37
- package/plugins/work/documents/shared/diff.js +0 -148
- package/plugins/work/documents/shared/merge.d.ts +0 -29
- package/plugins/work/documents/shared/merge.js +0 -120
- package/plugins/work/documents/shared/presence.d.ts +0 -7
- package/plugins/work/documents/shared/presence.js +0 -7
- package/plugins/work/documents/shared/text.d.ts +0 -36
- package/plugins/work/documents/shared/text.js +0 -67
- package/plugins/work/documents/shared/who.d.ts +0 -23
- package/plugins/work/documents/shared/who.js +0 -39
- package/plugins/work/documents/shared/write.d.ts +0 -54
- package/plugins/work/documents/shared/write.js +0 -123
- package/plugins/work/documents/views/web/changes.d.ts +0 -22
- package/plugins/work/documents/views/web/changes.js +0 -57
- package/plugins/work/documents/views/web/conflict.d.ts +0 -38
- package/plugins/work/documents/views/web/conflict.js +0 -96
- package/plugins/work/documents/views/web/draft.d.ts +0 -18
- package/plugins/work/documents/views/web/draft.js +0 -32
- package/plugins/work/documents/views/web/editor.d.ts +0 -57
- package/plugins/work/documents/views/web/editor.js +0 -268
- package/plugins/work/documents/views/web/format.d.ts +0 -56
- package/plugins/work/documents/views/web/format.js +0 -245
- package/plugins/work/documents/views/web/history.d.ts +0 -23
- package/plugins/work/documents/views/web/history.js +0 -118
- package/plugins/work/documents/views/web/list.d.ts +0 -37
- package/plugins/work/documents/views/web/list.js +0 -211
- package/plugins/work/documents/views/web/page.d.ts +0 -35
- package/plugins/work/documents/views/web/page.js +0 -416
- package/plugins/work/documents/views/web/palette.d.ts +0 -16
- package/plugins/work/documents/views/web/palette.js +0 -168
- package/plugins/work/documents/views/web/people.d.ts +0 -60
- package/plugins/work/documents/views/web/people.js +0 -63
- package/plugins/work/documents/views/web/presence.d.ts +0 -30
- package/plugins/work/documents/views/web/presence.js +0 -75
- package/plugins/work/documents/views/web/step.d.ts +0 -25
- package/plugins/work/documents/views/web/step.js +0 -81
- package/plugins/work/documents/views/web/style.d.ts +0 -7
- package/plugins/work/documents/views/web/style.js +0 -266
- package/plugins/work/documents/web.d.ts +0 -18
- package/plugins/work/documents/web.js +0 -46
- package/plugins/work/mod.d.ts +0 -3
- package/plugins/work/mod.js +0 -3
- package/plugins/work/web.d.ts +0 -10
- package/plugins/work/web.js +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,133 @@
|
|
|
1
|
+
## 1.0.0-rc.34 — 2026-11-09
|
|
2
|
+
|
|
3
|
+
rc.33, released whole. rc.33's publish stopped before npm: packing its tarballs, npm took `dist/npm`
|
|
4
|
+
for a GitHub repository. JSR has `@copilotz/copilotz@1.0.0-rc.33`, and nothing else has rc.33. This
|
|
5
|
+
release is rc.33's code, with the publish workflow's paths starting with `./`. Upgrading from rc.32
|
|
6
|
+
is as rc.33 says, below, with each version 1.0.0-rc.34.
|
|
7
|
+
|
|
8
|
+
## 1.0.0-rc.33 — 2026-11-09
|
|
9
|
+
|
|
10
|
+
**Upgrading.** Copilotz's product plugins are packages of their own, released with it at its version
|
|
11
|
+
([design](design/plugins.md)). Their names (collections, Actions, events, Views, routes, resources)
|
|
12
|
+
are as they were, so an app's data stays as it is: only its imports change.
|
|
13
|
+
|
|
14
|
+
- `copilotz/plugins/work` → `@copilotz/work`, and `copilotz/plugins/work/web` →
|
|
15
|
+
`@copilotz/work/web`.
|
|
16
|
+
- `copilotz/plugins/access`'s `directory` (with `Operations`, `OrgInfo`…) → `@copilotz/directory`;
|
|
17
|
+
the directory's browser half in `copilotz/plugins/access/web` (`useOrgs`, `enterOrg`,
|
|
18
|
+
`refreshOrgs`…) → `@copilotz/directory/web` (or `@copilotz/directory/contract`).
|
|
19
|
+
- `copilotz/plugins/billing`'s `credits`, `stripe` and `stripeWebhook` → `@copilotz/billing`, and
|
|
20
|
+
`creditsWeb` → `@copilotz/billing/web`. `usage` stays in `copilotz/plugins/billing`.
|
|
21
|
+
- `copilotz/plugins/agents`'s `team` and `tiers` → `@copilotz/team`, and `teamWeb`, `tiersWeb` →
|
|
22
|
+
`@copilotz/team/web`.
|
|
23
|
+
- An app serving many orgs adds `directoryWeb` (from `@copilotz/directory/web`) to its page: the web
|
|
24
|
+
shell has no org switcher, org page or console of its own any more. Their words keep their keys
|
|
25
|
+
(`shell.<key>`).
|
|
26
|
+
- On Deno, name each in the import map at Copilotz's version
|
|
27
|
+
(`"@copilotz/work": "jsr:@copilotz/work@<version>"`); on npm, install it beside `copilotz` at the
|
|
28
|
+
same version, or, until npm has it, from the release's tarball.
|
|
29
|
+
|
|
30
|
+
```ts
|
|
31
|
+
import { boards, documents } from "@copilotz/work"; // was copilotz/plugins/work
|
|
32
|
+
import { directoryWeb } from "@copilotz/directory/web";
|
|
33
|
+
|
|
34
|
+
await web({ plugins: [webShell, chatWeb, spacesWeb, directoryWeb, boardsWeb], root });
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
- **Product packages** ([design](design/plugins.md)): `@copilotz/work` (boards, documents),
|
|
38
|
+
`@copilotz/directory` (many orgs behind one address), `@copilotz/billing` (credits, Stripe) and
|
|
39
|
+
`@copilotz/team` (agents people make, model tiers), each in `packages/<name>` with its `mod.ts`,
|
|
40
|
+
`web.tsx`, `contract.ts`, tests and README, on JSR and npm. They import Copilotz by its entry
|
|
41
|
+
points alone, as an outside plugin would; the core imports none of them, its tests neither.
|
|
42
|
+
- **The web shell knows no orgs.** Its `orgs` slot (a resource) takes a switcher View, an overlay
|
|
43
|
+
View and a hook for what the menu and palette list; `directoryWeb` fills it. The person's standing
|
|
44
|
+
in the org is spaces' `org.me` (`useStanding`, in the shell's contract), which spaces' sidebar and
|
|
45
|
+
credits' note read; renaming the org says so (`orgsChanged()`).
|
|
46
|
+
- **The core's contracts are entry points:** `copilotz/plugins/<theme>/contract` (access, agents,
|
|
47
|
+
models, interfaces, compute), each theme's plugins' `contract.ts` together.
|
|
48
|
+
- **Testing:** `copilotz/testing/words` (`pseudoWords`, `englishLeft`, `wordsList`) and `openTo`
|
|
49
|
+
(what a kind of caller is let into of some plugins), for packages' tests as for Copilotz's.
|
|
50
|
+
- **Releases:** `npm run build` builds Copilotz and every package; the smoke test installs them all
|
|
51
|
+
together from their tarballs and uses a plugin of each; a release attaches every tarball to its
|
|
52
|
+
GitHub release before publishing, and publishes the packages after Copilotz, each on its own (one
|
|
53
|
+
a registry doesn't have yet is skipped, with a notice). `node scripts/version.ts <version>` says a
|
|
54
|
+
version everywhere, in lockstep.
|
|
55
|
+
|
|
56
|
+
## 1.0.0-rc.32 — 2026-11-09
|
|
57
|
+
|
|
58
|
+
**Upgrading.** `people` now lets in an agent working for a person, and an Action's `allow` is asked
|
|
59
|
+
of code acting for someone too (a tool's `ctx.call`, a Processor's, another Action's), not only of
|
|
60
|
+
outside callers. Go through your Actions:
|
|
61
|
+
|
|
62
|
+
- Say `inPerson` for what only the person decides (consent, keys, who's in a space, money,
|
|
63
|
+
publishing): it never lets in an agent, a key or a routine's work. Say `people` for the rest. An
|
|
64
|
+
`allow` written as `(actor) => actor.kind === "person"` keeps your own tools' agents out: say
|
|
65
|
+
`people`.
|
|
66
|
+
- An Action whose run takes `ctx.actor.id` for a person's id, or checks something only when
|
|
67
|
+
`ctx.actor.kind === "person"`, reads `personOf(ctx.actor)` instead (an agent's id isn't its
|
|
68
|
+
person's).
|
|
69
|
+
- A tool calling an Action its agent's person couldn't is refused (`forbidden`): let them in, or go
|
|
70
|
+
beyond on purpose with a named grant, `ctx.as(grant("<why>"))`.
|
|
71
|
+
- An agent's work reaches only where it is (its chat's space) and what that space draws on: a tool
|
|
72
|
+
that read across its person's spaces from a shared chat finds less. Have the space draw on the
|
|
73
|
+
other (`member.set` of a space), work from the person's Personal space, or hand the work over.
|
|
74
|
+
- Tools read where they are from `ctx.in`, not their chat's `in`.
|
|
75
|
+
- A developer key no longer calls what's now `inPerson` (`space.create`, `member.*`, `invitation.*`,
|
|
76
|
+
`share`, `chat.move`, `agent.create`…), even listed in its scope.
|
|
77
|
+
- An MCP line listing a tool without its `tool:<name>` View doesn't start: add the View.
|
|
78
|
+
|
|
79
|
+
```ts
|
|
80
|
+
import { grant, inPerson, people, personOf } from "@copilotz/copilotz";
|
|
81
|
+
|
|
82
|
+
"invoice.send": defineAction({ allow: inPerson, … }), // only the person decides
|
|
83
|
+
"invoice.draft": defineAction({ allow: people, run: (ctx) => draft(personOf(ctx.actor)) }),
|
|
84
|
+
// a tool, in its chat's space; going beyond its person on purpose, on the record:
|
|
85
|
+
run: async (input, ctx) => await ctx.as(grant("availability")).call("slots.all", { in: ctx.in }),
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
- **Who, for whom, where** ([design](design/work.md)). All work runs as an actor, for whom it's done
|
|
89
|
+
(`for`) and where (`in`, an opaque id: a space, to the access plugin), which the runtime carries
|
|
90
|
+
as it carries the actor: into nested calls, tools, the Processors a call's events wake, its timers
|
|
91
|
+
and the Views observed for it; every event records it; `guard` and `allow` see it; contexts say it
|
|
92
|
+
(`ctx.in`, on Actions, Processors, tools, queries and Views). `ctx.as` stays where the work is
|
|
93
|
+
unless told where. Every way in says it: a browser's calls (its page's space;
|
|
94
|
+
`client.call(…,
|
|
95
|
+
{ in })`), the terminal (where its person works), a key (its space), WhatsApp,
|
|
96
|
+
voice, web and MCP lines (theirs), routines (theirs), a chat's turn (its chat's).
|
|
97
|
+
- **An agent's work reaches only where it is.** Reach for work done for someone is the person's
|
|
98
|
+
reach ∩ the agent's memberships ∩ its space and what that draws on, at the role it draws on it
|
|
99
|
+
with; in the person's own Personal space, all they reach. North working for Ana in a shared space
|
|
100
|
+
reached every space of Ana's (the core agents are members of all of them), and only labels kept
|
|
101
|
+
Finance from Launch's members: now it reads Launch and its sources. A person acting themselves
|
|
102
|
+
isn't narrowed; a tool or routine acting as them is. An agent actor's `at` is `in`.
|
|
103
|
+
- **`allow` is asked wherever someone acts:** from outside as before, and from code acting for an
|
|
104
|
+
actor (`ctx.call`, a timer, a read's unrecorded calls); for an agent, of whom it works for too
|
|
105
|
+
(`allows`). Actions without one stay internal. Going beyond is a named grant (`grant`), on the
|
|
106
|
+
record as the grant, `via` whose work it was, and counted (`copilotz.elevated.ops`).
|
|
107
|
+
- **Copilotz's own Actions say which:** `inPerson` for sessions, connected accounts, who's in a
|
|
108
|
+
space or the org, `share`, `chat.move`, `memory.move`, `agent.create/update/delete`,
|
|
109
|
+
`computer.code`, `computer.work` and `app.publish`, beside those that were; `people` for the rest,
|
|
110
|
+
boards and documents included (their agents' own tools couldn't call them). `chat.send` and
|
|
111
|
+
`chat.attach` let in people and contacts writing as themselves, never an agent. Code that took the
|
|
112
|
+
actor's id for its person's (`space.personal`, invitations, accounts, desks, cloud computers,
|
|
113
|
+
usage) asks `personOf`; an environment changes only by its space's managers, whoever asks.
|
|
114
|
+
- **Reach is kept in the owner** per who, for whom and where, until a commit changes a membership or
|
|
115
|
+
a space it read (`ReadContext.kept`: what rules work out from reads, let go exactly when what they
|
|
116
|
+
read changes; `cache.kept`, 1,000). An agent's turn works out its reach once, not on every op.
|
|
117
|
+
With narrowing, an agent's work for a person in one of 1,000 spaces (`examples/work-bench.ts`)
|
|
118
|
+
takes a fifth of the time: a turn's 13 ops, 4.4 ms median (21.5 before), 5.3 ms at p95 (22.9); the
|
|
119
|
+
person's own, 4.7 ms (11.7). Nothing measured got slower.
|
|
120
|
+
- **Tools know where they are** (`ctx.in`): documents, boards, computers, cloud computers, apps,
|
|
121
|
+
memory, skills, routines and an API's files no longer read their chat to find its space. What's
|
|
122
|
+
learned stays where it's learned.
|
|
123
|
+
- **Handing work to another space** writes under its grant (`chat.hand-over`, and `chat.hand-back`
|
|
124
|
+
for the answer), for the same person, in the new space; its check is the person's, anywhere.
|
|
125
|
+
- **mcp:** a listed tool without its `tool:<name>` View stops the app from starting (it was left
|
|
126
|
+
out, said once in the log). A line's contact, its widgets and its tools work in its space.
|
|
127
|
+
- **Model-use listeners** get `as` in a job; a web line's budget prices its visitors' use as its
|
|
128
|
+
grant (`web.budget`).
|
|
129
|
+
- **Startup checks** see the Views' names (`merged.views`).
|
|
130
|
+
|
|
1
131
|
## 1.0.0-rc.31 — 2026-11-08
|
|
2
132
|
|
|
3
133
|
- **A write the rules refuse in a transaction no longer holds up every write.** Refused before it
|