pairz 0.0.1 → 1.0.0-rc.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1054 -0
- package/CHANGELOG.md +4460 -0
- package/CONTRIBUTING.md +326 -0
- package/LICENSE +21 -0
- package/README.md +343 -2
- package/cli/bin.js +37 -0
- package/cli/folders.js +155 -0
- package/cli/generate.js +163 -0
- package/cli/import-map.js +141 -0
- package/cli/init.js +40 -0
- package/cli/input-schema.js +580 -0
- package/cli/legacy.js +65 -0
- package/cli/mod.d.ts +2 -0
- package/cli/mod.js +11 -0
- package/cli/run.js +21 -0
- package/cli/template.js +184 -0
- package/cli/watch.js +65 -0
- package/docs/architecture/events.md +124 -0
- package/docs/architecture/the-owner.md +238 -0
- package/docs/architecture/topology.md +128 -0
- package/docs/architecture/transports.md +121 -0
- package/docs/architecture/views.md +100 -0
- package/docs/architecture.md +147 -0
- package/docs/build-compass/part-1-an-agent-of-your-own/01-one-agent-one-message.md +144 -0
- package/docs/build-compass/part-1-an-agent-of-your-own/02-north-in-your-terminal.md +284 -0
- package/docs/build-compass/part-1-an-agent-of-your-own/03-compass-in-the-browser.md +373 -0
- package/docs/build-compass/part-10-testing/31-fakes-at-the-edges.md +350 -0
- package/docs/build-compass/part-10-testing/32-parity.md +225 -0
- package/docs/build-compass/part-11-other-ways-in/33-the-rest-api.md +197 -0
- package/docs/build-compass/part-11-other-ways-in/34-the-client.md +147 -0
- package/docs/build-compass/part-11-other-ways-in/35-your-board-over-mcp.md +255 -0
- package/docs/build-compass/part-12-shipping/36-postgresql-and-blobs.md +200 -0
- package/docs/build-compass/part-12-shipping/37-watching-it-run.md +242 -0
- package/docs/build-compass/part-12-shipping/38-a-computer-for-your-agents.md +325 -0
- package/docs/build-compass/part-13-from-one-person-to-many/39-swapping-in-pairzs-plugins.md +245 -0
- package/docs/build-compass/part-13-from-one-person-to-many/40-sign-in-and-people.md +218 -0
- package/docs/build-compass/part-13-from-one-person-to-many/41-many-orgs-and-billing.md +246 -0
- package/docs/build-compass/part-2-your-own-plugins/04-today-every-turn.md +134 -0
- package/docs/build-compass/part-2-your-own-plugins/05-one-store.md +151 -0
- package/docs/build-compass/part-2-your-own-plugins/06-chats-that-name-themselves.md +157 -0
- package/docs/build-compass/part-2-your-own-plugins/07-spaces.md +299 -0
- package/docs/build-compass/part-2-your-own-plugins/08-spaces-on-the-web.md +169 -0
- package/docs/build-compass/part-3-the-board/09-the-boards-data-and-actions.md +182 -0
- package/docs/build-compass/part-3-the-board/10-the-board-on-screen.md +167 -0
- package/docs/build-compass/part-3-the-board/11-the-board-for-north.md +175 -0
- package/docs/build-compass/part-4-documents/12-documents-and-their-versions.md +305 -0
- package/docs/build-compass/part-4-documents/13-saves-that-merge-or-refuse.md +263 -0
- package/docs/build-compass/part-4-documents/14-documents-on-the-web-and-in-the-terminal.md +255 -0
- package/docs/build-compass/part-4-documents/15-documents-for-north.md +229 -0
- package/docs/build-compass/part-5-long-conversations/16-a-line-for-every-message.md +272 -0
- package/docs/build-compass/part-5-long-conversations/17-the-outline-in-norths-prompt.md +188 -0
- package/docs/build-compass/part-5-long-conversations/18-zoom.md +142 -0
- package/docs/build-compass/part-6-memory/19-memories-found-by-meaning.md +255 -0
- package/docs/build-compass/part-6-memory/20-recall-in-the-prompt.md +228 -0
- package/docs/build-compass/part-6-memory/21-remember-recall-forget.md +203 -0
- package/docs/build-compass/part-6-memory/22-memories-on-their-own.md +200 -0
- package/docs/build-compass/part-7-the-team/23-east-south-and-west.md +186 -0
- package/docs/build-compass/part-7-the-team/24-asking-in-parallel.md +162 -0
- package/docs/build-compass/part-7-the-team/25-reading-other-conversations.md +201 -0
- package/docs/build-compass/part-8-skills-and-routines/26-skills.md +338 -0
- package/docs/build-compass/part-8-skills-and-routines/27-routines-on-a-schedule.md +291 -0
- package/docs/build-compass/part-8-skills-and-routines/28-agents-that-schedule.md +281 -0
- package/docs/build-compass/part-9-the-web-for-agents/29-search-an-adapter-port.md +326 -0
- package/docs/build-compass/part-9-the-web-for-agents/30-reading-a-page-safely.md +246 -0
- package/docs/build-compass.md +323 -0
- package/docs/getting-started/01-one-booking.md +198 -0
- package/docs/getting-started/02-who-sees-what.md +243 -0
- package/docs/getting-started/03-its-own-web-page.md +235 -0
- package/docs/getting-started/04-its-own-agent.md +276 -0
- package/docs/getting-started/05-chatgpt-claude-and-gemini-over-mcp.md +182 -0
- package/docs/getting-started/06-the-same-bookings-every-way-in.md +173 -0
- package/docs/getting-started/07-a-widget-in-the-assistant.md +190 -0
- package/docs/getting-started/08-a-chat-on-your-site.md +206 -0
- package/docs/getting-started/09-whatsapp.md +175 -0
- package/docs/getting-started/10-shipping-the-salon.md +239 -0
- package/docs/getting-started.md +120 -0
- package/docs/guides/a-business-apps-screens.md +1586 -0
- package/docs/guides/agents-on-peoples-plans.md +450 -0
- package/docs/guides/chats.md +151 -0
- package/docs/guides/installing-a-computer.md +112 -0
- package/docs/guides/many-orgs.md +137 -0
- package/docs/guides/public-mcp-server.md +84 -0
- package/docs/guides/rest-and-the-client.md +172 -0
- package/docs/guides/serving-on-the-web.md +499 -0
- package/docs/guides/the-compiler.md +279 -0
- package/docs/guides/the-web-toolkit.md +1971 -0
- package/docs/guides/visitors.md +141 -0
- package/docs/manifest.json +739 -0
- package/docs/operations/maintenance.md +346 -0
- package/docs/operations/memory.md +111 -0
- package/docs/operations/metrics.md +96 -0
- package/docs/operations/stores.md +248 -0
- package/docs/reference/plugins/accounts-web.md +47 -0
- package/docs/reference/plugins/accounts.md +96 -0
- package/docs/reference/plugins/api-web.md +46 -0
- package/docs/reference/plugins/api.md +75 -0
- package/docs/reference/plugins/boards-web.md +47 -0
- package/docs/reference/plugins/boards.md +81 -0
- package/docs/reference/plugins/chat-channels-pt-br.md +53 -0
- package/docs/reference/plugins/chat-channels.md +55 -0
- package/docs/reference/plugins/chat-terminal.md +49 -0
- package/docs/reference/plugins/chat-web.md +65 -0
- package/docs/reference/plugins/chat.md +149 -0
- package/docs/reference/plugins/computers-terminal.md +45 -0
- package/docs/reference/plugins/computers-web.md +53 -0
- package/docs/reference/plugins/computers.md +185 -0
- package/docs/reference/plugins/contacts-web.md +45 -0
- package/docs/reference/plugins/contacts.md +72 -0
- package/docs/reference/plugins/credits-web.md +47 -0
- package/docs/reference/plugins/credits.md +95 -0
- package/docs/reference/plugins/dev-sign-in.md +52 -0
- package/docs/reference/plugins/directory-member.md +57 -0
- package/docs/reference/plugins/directory-web.md +47 -0
- package/docs/reference/plugins/directory.md +112 -0
- package/docs/reference/plugins/documents-web.md +48 -0
- package/docs/reference/plugins/documents.md +88 -0
- package/docs/reference/plugins/email-sign-in.md +100 -0
- package/docs/reference/plugins/email.md +83 -0
- package/docs/reference/plugins/google-sign-in.md +63 -0
- package/docs/reference/plugins/history.md +78 -0
- package/docs/reference/plugins/identity.md +77 -0
- package/docs/reference/plugins/maintenance.md +67 -0
- package/docs/reference/plugins/mcp.md +94 -0
- package/docs/reference/plugins/memory-extraction.md +57 -0
- package/docs/reference/plugins/memory-terminal.md +46 -0
- package/docs/reference/plugins/memory-web.md +47 -0
- package/docs/reference/plugins/memory.md +90 -0
- package/docs/reference/plugins/models.md +66 -0
- package/docs/reference/plugins/openapi.md +66 -0
- package/docs/reference/plugins/password-sign-in.md +82 -0
- package/docs/reference/plugins/push-web.md +46 -0
- package/docs/reference/plugins/push.md +75 -0
- package/docs/reference/plugins/routines-web.md +46 -0
- package/docs/reference/plugins/routines.md +87 -0
- package/docs/reference/plugins/skills-web.md +46 -0
- package/docs/reference/plugins/skills.md +79 -0
- package/docs/reference/plugins/spaces-terminal.md +49 -0
- package/docs/reference/plugins/spaces-web.md +51 -0
- package/docs/reference/plugins/spaces.md +116 -0
- package/docs/reference/plugins/stripe-webhook.md +63 -0
- package/docs/reference/plugins/stripe.md +73 -0
- package/docs/reference/plugins/team-web.md +46 -0
- package/docs/reference/plugins/team.md +93 -0
- package/docs/reference/plugins/terminal-shell.md +45 -0
- package/docs/reference/plugins/terminal.md +62 -0
- package/docs/reference/plugins/tiers-web.md +48 -0
- package/docs/reference/plugins/tiers.md +75 -0
- package/docs/reference/plugins/usage-terminal.md +46 -0
- package/docs/reference/plugins/usage-web.md +46 -0
- package/docs/reference/plugins/usage.md +85 -0
- package/docs/reference/plugins/voice.md +117 -0
- package/docs/reference/plugins/web-lines.md +89 -0
- package/docs/reference/plugins/web-page.md +69 -0
- package/docs/reference/plugins/web-shell.md +52 -0
- package/docs/reference/plugins/webTools.md +66 -0
- package/docs/reference/plugins/whatsapp-web.md +46 -0
- package/docs/reference/plugins/whatsapp.md +127 -0
- package/docs/reference/plugins.json +27020 -0
- package/docs/reference/plugins.md +146 -0
- package/docs/reference.md +1113 -0
- package/exporters/mod.d.ts +27 -0
- package/exporters/mod.js +27 -0
- package/exporters/otlp.d.ts +257 -0
- package/exporters/otlp.js +71 -0
- package/exporters/prometheus.d.ts +12 -0
- package/exporters/prometheus.js +40 -0
- package/hosts/terminal/composer.d.ts +22 -0
- package/hosts/terminal/composer.js +25 -0
- package/hosts/terminal/contract.d.ts +84 -0
- package/hosts/terminal/contract.js +10 -0
- package/hosts/terminal/host.d.ts +45 -0
- package/hosts/terminal/host.js +211 -0
- package/hosts/terminal/mod.d.ts +18 -0
- package/hosts/terminal/mod.js +18 -0
- package/hosts/terminal/part.d.ts +8 -0
- package/hosts/terminal/part.js +24 -0
- package/hosts/terminal/scrollback.d.ts +13 -0
- package/hosts/terminal/scrollback.js +32 -0
- package/hosts/web/assets.d.ts +48 -0
- package/hosts/web/assets.js +134 -0
- package/hosts/web/base.d.ts +6 -0
- package/hosts/web/base.js +16 -0
- package/hosts/web/dom-client.d.ts +9 -0
- package/hosts/web/dom-client.js +4 -0
- package/hosts/web/export.d.ts +19 -0
- package/hosts/web/export.js +19 -0
- package/hosts/web/head.d.ts +10 -0
- package/hosts/web/head.js +65 -0
- package/hosts/web/host-words.d.ts +1 -0
- package/hosts/web/host-words.js +24 -0
- package/hosts/web/host.d.ts +53 -0
- package/hosts/web/host.js +253 -0
- package/hosts/web/install.d.ts +14 -0
- package/hosts/web/install.js +96 -0
- package/hosts/web/lazy.d.ts +21 -0
- package/hosts/web/lazy.js +50 -0
- package/hosts/web/mod.d.ts +115 -0
- package/hosts/web/mod.js +138 -0
- package/hosts/web/node/bundle.d.ts +12 -0
- package/hosts/web/node/bundle.js +46 -0
- package/hosts/web/node/mod.d.ts +60 -0
- package/hosts/web/node/mod.js +60 -0
- package/hosts/web/node/serve.d.ts +92 -0
- package/hosts/web/node/serve.js +143 -0
- package/hosts/web/palette/list.d.ts +22 -0
- package/hosts/web/palette/list.js +51 -0
- package/hosts/web/palette/palette.d.ts +36 -0
- package/hosts/web/palette/palette.js +294 -0
- package/hosts/web/palette/rank.d.ts +16 -0
- package/hosts/web/palette/rank.js +110 -0
- package/hosts/web/palette/row.d.ts +19 -0
- package/hosts/web/palette/row.js +37 -0
- package/hosts/web/palette/sources.d.ts +10 -0
- package/hosts/web/palette/sources.js +67 -0
- package/hosts/web/palette/state.d.ts +120 -0
- package/hosts/web/palette/state.js +31 -0
- package/hosts/web/palette/words.d.ts +1 -0
- package/hosts/web/palette/words.js +23 -0
- package/hosts/web/part.d.ts +23 -0
- package/hosts/web/part.js +72 -0
- package/hosts/web/pt-br/about.d.ts +3 -0
- package/hosts/web/pt-br/about.js +21 -0
- package/hosts/web/pt-br/accounts.d.ts +6 -0
- package/hosts/web/pt-br/accounts.js +39 -0
- package/hosts/web/pt-br/chat.d.ts +3 -0
- package/hosts/web/pt-br/chat.js +330 -0
- package/hosts/web/pt-br/computers.d.ts +7 -0
- package/hosts/web/pt-br/computers.js +243 -0
- package/hosts/web/pt-br/host.d.ts +3 -0
- package/hosts/web/pt-br/host.js +18 -0
- package/hosts/web/pt-br/memory.d.ts +3 -0
- package/hosts/web/pt-br/memory.js +41 -0
- package/hosts/web/pt-br/mod.d.ts +23 -0
- package/hosts/web/pt-br/mod.js +54 -0
- package/hosts/web/pt-br/palette.d.ts +6 -0
- package/hosts/web/pt-br/palette.js +17 -0
- package/hosts/web/pt-br/push.d.ts +3 -0
- package/hosts/web/pt-br/push.js +24 -0
- package/hosts/web/pt-br/shell.d.ts +3 -0
- package/hosts/web/pt-br/shell.js +49 -0
- package/hosts/web/pt-br/sign-in.d.ts +3 -0
- package/hosts/web/pt-br/sign-in.js +97 -0
- package/hosts/web/pt-br/spaces.d.ts +3 -0
- package/hosts/web/pt-br/spaces.js +272 -0
- package/hosts/web/pt-br/toolkit.d.ts +3 -0
- package/hosts/web/pt-br/toolkit.js +114 -0
- package/hosts/web/pt-br/usage.d.ts +3 -0
- package/hosts/web/pt-br/usage.js +156 -0
- package/hosts/web/push.d.ts +32 -0
- package/hosts/web/push.js +138 -0
- package/hosts/web/pwa.d.ts +71 -0
- package/hosts/web/pwa.js +242 -0
- package/hosts/web/route-page.d.ts +53 -0
- package/hosts/web/route-page.js +83 -0
- package/hosts/web/screens.d.ts +17 -0
- package/hosts/web/screens.js +26 -0
- package/hosts/web/server.d.ts +76 -0
- package/hosts/web/server.js +218 -0
- package/hosts/web/session.d.ts +36 -0
- package/hosts/web/session.js +35 -0
- package/hosts/web/signin-email.d.ts +71 -0
- package/hosts/web/signin-email.js +420 -0
- package/hosts/web/signin-password.d.ts +19 -0
- package/hosts/web/signin-password.js +68 -0
- package/hosts/web/signin-words.d.ts +174 -0
- package/hosts/web/signin-words.js +197 -0
- package/hosts/web/signin.d.ts +40 -0
- package/hosts/web/signin.js +260 -0
- package/hosts/web/style.d.ts +16 -0
- package/hosts/web/style.js +65 -0
- package/hosts/web/surface.d.ts +20 -0
- package/hosts/web/surface.js +42 -0
- package/hosts/web/table-address.d.ts +31 -0
- package/hosts/web/table-address.js +71 -0
- package/hosts/web/theme/context.d.ts +2 -0
- package/hosts/web/theme/context.js +8 -0
- package/hosts/web/theme/css.d.ts +37 -0
- package/hosts/web/theme/css.js +125 -0
- package/hosts/web/theme/default.d.ts +68 -0
- package/hosts/web/theme/default.js +191 -0
- package/hosts/web/theme/files/OFL-Manrope.txt +93 -0
- package/hosts/web/theme/files/OFL-SpaceGrotesk.txt +93 -0
- package/hosts/web/theme/files/faces.d.ts +2 -0
- package/hosts/web/theme/files/faces.js +28 -0
- package/hosts/web/theme/files/icon-png.d.ts +2 -0
- package/hosts/web/theme/files/icon-png.js +2 -0
- package/hosts/web/theme/files/manrope-v23-latin-ext.d.ts +2 -0
- package/hosts/web/theme/files/manrope-v23-latin-ext.js +2 -0
- package/hosts/web/theme/files/manrope-v23-latin.d.ts +2 -0
- package/hosts/web/theme/files/manrope-v23-latin.js +2 -0
- package/hosts/web/theme/files/mod.d.ts +21 -0
- package/hosts/web/theme/files/mod.js +35 -0
- package/hosts/web/theme/files/space-grotesk-v22-latin-ext.d.ts +2 -0
- package/hosts/web/theme/files/space-grotesk-v22-latin-ext.js +2 -0
- package/hosts/web/theme/files/space-grotesk-v22-latin.d.ts +2 -0
- package/hosts/web/theme/files/space-grotesk-v22-latin.js +2 -0
- package/hosts/web/theme/files/temml-v0140.d.ts +2 -0
- package/hosts/web/theme/files/temml-v0140.js +2 -0
- package/hosts/web/theme/icon.d.ts +3 -0
- package/hosts/web/theme/icon.js +26 -0
- package/hosts/web/theme/own-path.d.ts +8 -0
- package/hosts/web/theme/own-path.js +14 -0
- package/hosts/web/theme/pairz.d.ts +12 -0
- package/hosts/web/theme/pairz.js +43 -0
- package/hosts/web/theme/picture.d.ts +18 -0
- package/hosts/web/theme/picture.js +74 -0
- package/hosts/web/theme/png.d.ts +19 -0
- package/hosts/web/theme/png.js +387 -0
- package/hosts/web/ticket.d.ts +11 -0
- package/hosts/web/ticket.js +37 -0
- package/hosts/web/toolkit/ago.d.ts +1 -0
- package/hosts/web/toolkit/ago.js +56 -0
- package/hosts/web/toolkit/anchor.d.ts +11 -0
- package/hosts/web/toolkit/anchor.js +80 -0
- package/hosts/web/toolkit/app-bar.d.ts +55 -0
- package/hosts/web/toolkit/app-bar.js +107 -0
- package/hosts/web/toolkit/audio-player.d.ts +29 -0
- package/hosts/web/toolkit/audio-player.js +164 -0
- package/hosts/web/toolkit/autocomplete.d.ts +56 -0
- package/hosts/web/toolkit/autocomplete.js +84 -0
- package/hosts/web/toolkit/avatar.d.ts +29 -0
- package/hosts/web/toolkit/avatar.js +81 -0
- package/hosts/web/toolkit/badge.d.ts +17 -0
- package/hosts/web/toolkit/badge.js +27 -0
- package/hosts/web/toolkit/barcode-png.d.ts +6 -0
- package/hosts/web/toolkit/barcode-png.js +7 -0
- package/hosts/web/toolkit/barcode.d.ts +33 -0
- package/hosts/web/toolkit/barcode.js +34 -0
- package/hosts/web/toolkit/button.d.ts +40 -0
- package/hosts/web/toolkit/button.js +81 -0
- package/hosts/web/toolkit/bytes.d.ts +2 -0
- package/hosts/web/toolkit/bytes.js +13 -0
- package/hosts/web/toolkit/calendar.d.ts +62 -0
- package/hosts/web/toolkit/calendar.js +223 -0
- package/hosts/web/toolkit/card.d.ts +38 -0
- package/hosts/web/toolkit/card.js +32 -0
- package/hosts/web/toolkit/checkbox.d.ts +15 -0
- package/hosts/web/toolkit/checkbox.js +24 -0
- package/hosts/web/toolkit/chip.d.ts +24 -0
- package/hosts/web/toolkit/chip.js +33 -0
- package/hosts/web/toolkit/clock.d.ts +6 -0
- package/hosts/web/toolkit/clock.js +12 -0
- package/hosts/web/toolkit/code-block.d.ts +45 -0
- package/hosts/web/toolkit/code-block.js +111 -0
- package/hosts/web/toolkit/code-lines.d.ts +15 -0
- package/hosts/web/toolkit/code-lines.js +33 -0
- package/hosts/web/toolkit/code128.d.ts +61 -0
- package/hosts/web/toolkit/code128.js +229 -0
- package/hosts/web/toolkit/confirm-dialog.d.ts +71 -0
- package/hosts/web/toolkit/confirm-dialog.js +168 -0
- package/hosts/web/toolkit/confirm-state.d.ts +40 -0
- package/hosts/web/toolkit/confirm-state.js +91 -0
- package/hosts/web/toolkit/copy-button.d.ts +6 -0
- package/hosts/web/toolkit/copy-button.js +28 -0
- package/hosts/web/toolkit/cx.d.ts +2 -0
- package/hosts/web/toolkit/cx.js +2 -0
- package/hosts/web/toolkit/data-table.d.ts +121 -0
- package/hosts/web/toolkit/data-table.js +339 -0
- package/hosts/web/toolkit/date-picker.d.ts +121 -0
- package/hosts/web/toolkit/date-picker.js +409 -0
- package/hosts/web/toolkit/date-time-picker.d.ts +91 -0
- package/hosts/web/toolkit/date-time-picker.js +181 -0
- package/hosts/web/toolkit/dates.d.ts +145 -0
- package/hosts/web/toolkit/dates.js +438 -0
- package/hosts/web/toolkit/day-time-field.d.ts +27 -0
- package/hosts/web/toolkit/day-time-field.js +46 -0
- package/hosts/web/toolkit/day-time-text.d.ts +92 -0
- package/hosts/web/toolkit/day-time-text.js +549 -0
- package/hosts/web/toolkit/day-time-zone.d.ts +16 -0
- package/hosts/web/toolkit/day-time-zone.js +87 -0
- package/hosts/web/toolkit/detail-list.d.ts +39 -0
- package/hosts/web/toolkit/detail-list.js +41 -0
- package/hosts/web/toolkit/detail-value.d.ts +22 -0
- package/hosts/web/toolkit/detail-value.js +135 -0
- package/hosts/web/toolkit/dialog.d.ts +62 -0
- package/hosts/web/toolkit/dialog.js +76 -0
- package/hosts/web/toolkit/drawer.d.ts +23 -0
- package/hosts/web/toolkit/drawer.js +38 -0
- package/hosts/web/toolkit/empty-state.d.ts +25 -0
- package/hosts/web/toolkit/empty-state.js +25 -0
- package/hosts/web/toolkit/export.d.ts +117 -0
- package/hosts/web/toolkit/export.js +294 -0
- package/hosts/web/toolkit/field.d.ts +50 -0
- package/hosts/web/toolkit/field.js +74 -0
- package/hosts/web/toolkit/file-input.d.ts +61 -0
- package/hosts/web/toolkit/file-input.js +152 -0
- package/hosts/web/toolkit/files.d.ts +20 -0
- package/hosts/web/toolkit/files.js +31 -0
- package/hosts/web/toolkit/form-submit.d.ts +29 -0
- package/hosts/web/toolkit/form-submit.js +38 -0
- package/hosts/web/toolkit/form.d.ts +65 -0
- package/hosts/web/toolkit/form.js +94 -0
- package/hosts/web/toolkit/formula-style.d.ts +7 -0
- package/hosts/web/toolkit/formula-style.js +309 -0
- package/hosts/web/toolkit/formula.d.ts +17 -0
- package/hosts/web/toolkit/formula.js +37 -0
- package/hosts/web/toolkit/grid.d.ts +44 -0
- package/hosts/web/toolkit/grid.js +66 -0
- package/hosts/web/toolkit/humanize.d.ts +1 -0
- package/hosts/web/toolkit/humanize.js +42 -0
- package/hosts/web/toolkit/icon-button.d.ts +35 -0
- package/hosts/web/toolkit/icon-button.js +52 -0
- package/hosts/web/toolkit/icon.d.ts +125 -0
- package/hosts/web/toolkit/icon.js +121 -0
- package/hosts/web/toolkit/inline-edit.d.ts +23 -0
- package/hosts/web/toolkit/inline-edit.js +58 -0
- package/hosts/web/toolkit/input.d.ts +49 -0
- package/hosts/web/toolkit/input.js +101 -0
- package/hosts/web/toolkit/kbd.d.ts +6 -0
- package/hosts/web/toolkit/kbd.js +12 -0
- package/hosts/web/toolkit/kept.d.ts +22 -0
- package/hosts/web/toolkit/kept.js +50 -0
- package/hosts/web/toolkit/line-editor.d.ts +44 -0
- package/hosts/web/toolkit/line-editor.js +167 -0
- package/hosts/web/toolkit/list-group.d.ts +47 -0
- package/hosts/web/toolkit/list-group.js +51 -0
- package/hosts/web/toolkit/live-clock.d.ts +31 -0
- package/hosts/web/toolkit/live-clock.js +55 -0
- package/hosts/web/toolkit/logo.d.ts +25 -0
- package/hosts/web/toolkit/logo.js +47 -0
- package/hosts/web/toolkit/long-text.d.ts +15 -0
- package/hosts/web/toolkit/long-text.js +31 -0
- package/hosts/web/toolkit/markdown/blocks.d.ts +46 -0
- package/hosts/web/toolkit/markdown/blocks.js +184 -0
- package/hosts/web/toolkit/markdown/markdown.d.ts +15 -0
- package/hosts/web/toolkit/markdown/markdown.js +123 -0
- package/hosts/web/toolkit/markdown/spans.d.ts +34 -0
- package/hosts/web/toolkit/markdown/spans.js +91 -0
- package/hosts/web/toolkit/mathml.d.ts +14 -0
- package/hosts/web/toolkit/mathml.js +18 -0
- package/hosts/web/toolkit/menu.d.ts +65 -0
- package/hosts/web/toolkit/menu.js +159 -0
- package/hosts/web/toolkit/modal.d.ts +34 -0
- package/hosts/web/toolkit/modal.js +75 -0
- package/hosts/web/toolkit/nav-item.d.ts +33 -0
- package/hosts/web/toolkit/nav-item.js +41 -0
- package/hosts/web/toolkit/notice.d.ts +26 -0
- package/hosts/web/toolkit/notice.js +37 -0
- package/hosts/web/toolkit/page.d.ts +61 -0
- package/hosts/web/toolkit/page.js +93 -0
- package/hosts/web/toolkit/pagination.d.ts +25 -0
- package/hosts/web/toolkit/pagination.js +55 -0
- package/hosts/web/toolkit/pdf-image.d.ts +15 -0
- package/hosts/web/toolkit/pdf-image.js +147 -0
- package/hosts/web/toolkit/pdf.d.ts +152 -0
- package/hosts/web/toolkit/pdf.js +597 -0
- package/hosts/web/toolkit/picker.d.ts +67 -0
- package/hosts/web/toolkit/picker.js +163 -0
- package/hosts/web/toolkit/png.d.ts +21 -0
- package/hosts/web/toolkit/png.js +206 -0
- package/hosts/web/toolkit/popover.d.ts +44 -0
- package/hosts/web/toolkit/popover.js +98 -0
- package/hosts/web/toolkit/print.d.ts +31 -0
- package/hosts/web/toolkit/print.js +28 -0
- package/hosts/web/toolkit/radio.d.ts +18 -0
- package/hosts/web/toolkit/radio.js +23 -0
- package/hosts/web/toolkit/rail-item.d.ts +39 -0
- package/hosts/web/toolkit/rail-item.js +47 -0
- package/hosts/web/toolkit/record-dialog.d.ts +142 -0
- package/hosts/web/toolkit/record-dialog.js +210 -0
- package/hosts/web/toolkit/record-draft.d.ts +64 -0
- package/hosts/web/toolkit/record-draft.js +169 -0
- package/hosts/web/toolkit/refusal.d.ts +8 -0
- package/hosts/web/toolkit/refusal.js +14 -0
- package/hosts/web/toolkit/resample.d.ts +10 -0
- package/hosts/web/toolkit/resample.js +31 -0
- package/hosts/web/toolkit/resize-handle.d.ts +26 -0
- package/hosts/web/toolkit/resize-handle.js +67 -0
- package/hosts/web/toolkit/retail-barcodes.d.ts +10 -0
- package/hosts/web/toolkit/retail-barcodes.js +106 -0
- package/hosts/web/toolkit/return-focus.d.ts +11 -0
- package/hosts/web/toolkit/return-focus.js +35 -0
- package/hosts/web/toolkit/rows-editor.d.ts +62 -0
- package/hosts/web/toolkit/rows-editor.js +126 -0
- package/hosts/web/toolkit/rows.d.ts +36 -0
- package/hosts/web/toolkit/rows.js +66 -0
- package/hosts/web/toolkit/screen.d.ts +20 -0
- package/hosts/web/toolkit/screen.js +15 -0
- package/hosts/web/toolkit/select.d.ts +24 -0
- package/hosts/web/toolkit/select.js +36 -0
- package/hosts/web/toolkit/sheet.d.ts +16 -0
- package/hosts/web/toolkit/sheet.js +2 -0
- package/hosts/web/toolkit/shortcuts.d.ts +72 -0
- package/hosts/web/toolkit/shortcuts.js +195 -0
- package/hosts/web/toolkit/skeleton.d.ts +17 -0
- package/hosts/web/toolkit/skeleton.js +13 -0
- package/hosts/web/toolkit/space.d.ts +6 -0
- package/hosts/web/toolkit/space.js +21 -0
- package/hosts/web/toolkit/spinner.d.ts +13 -0
- package/hosts/web/toolkit/spinner.js +23 -0
- package/hosts/web/toolkit/split.d.ts +31 -0
- package/hosts/web/toolkit/split.js +25 -0
- package/hosts/web/toolkit/stack.d.ts +48 -0
- package/hosts/web/toolkit/stack.js +61 -0
- package/hosts/web/toolkit/switch.d.ts +30 -0
- package/hosts/web/toolkit/switch.js +41 -0
- package/hosts/web/toolkit/table-sheet.d.ts +20 -0
- package/hosts/web/toolkit/table-sheet.js +25 -0
- package/hosts/web/toolkit/table.d.ts +101 -0
- package/hosts/web/toolkit/table.js +97 -0
- package/hosts/web/toolkit/tabs.d.ts +45 -0
- package/hosts/web/toolkit/tabs.js +105 -0
- package/hosts/web/toolkit/tags-input.d.ts +25 -0
- package/hosts/web/toolkit/tags-input.js +90 -0
- package/hosts/web/toolkit/tags.d.ts +10 -0
- package/hosts/web/toolkit/tags.js +18 -0
- package/hosts/web/toolkit/temml.d.ts +8 -0
- package/hosts/web/toolkit/temml.js +29 -0
- package/hosts/web/toolkit/terminal-theme.d.ts +18 -0
- package/hosts/web/toolkit/terminal-theme.js +83 -0
- package/hosts/web/toolkit/terminal.d.ts +58 -0
- package/hosts/web/toolkit/terminal.js +261 -0
- package/hosts/web/toolkit/text.d.ts +36 -0
- package/hosts/web/toolkit/text.js +55 -0
- package/hosts/web/toolkit/textarea.d.ts +13 -0
- package/hosts/web/toolkit/textarea.js +52 -0
- package/hosts/web/toolkit/tile-grid.d.ts +31 -0
- package/hosts/web/toolkit/tile-grid.js +43 -0
- package/hosts/web/toolkit/time.d.ts +12 -0
- package/hosts/web/toolkit/time.js +39 -0
- package/hosts/web/toolkit/title.d.ts +3 -0
- package/hosts/web/toolkit/title.js +10 -0
- package/hosts/web/toolkit/toast-state.d.ts +49 -0
- package/hosts/web/toolkit/toast-state.js +84 -0
- package/hosts/web/toolkit/toast.d.ts +30 -0
- package/hosts/web/toolkit/toast.js +117 -0
- package/hosts/web/toolkit/toolbar.d.ts +28 -0
- package/hosts/web/toolkit/toolbar.js +16 -0
- package/hosts/web/toolkit/tooltip.d.ts +22 -0
- package/hosts/web/toolkit/tooltip.js +76 -0
- package/hosts/web/toolkit/waveform.d.ts +35 -0
- package/hosts/web/toolkit/waveform.js +110 -0
- package/hosts/web/toolkit/words.d.ts +1 -0
- package/hosts/web/toolkit/words.js +132 -0
- package/hosts/web/toolkit/xterm-style.d.ts +3 -0
- package/hosts/web/toolkit/xterm-style.js +67 -0
- package/hosts/web/toolkit/xterm.d.ts +23 -0
- package/hosts/web/toolkit/xterm.js +44 -0
- package/hosts/web/toolkit/zip.d.ts +18 -0
- package/hosts/web/toolkit/zip.js +91 -0
- package/hosts/web/update.d.ts +8 -0
- package/hosts/web/update.js +29 -0
- package/hosts/web/widget.d.ts +31 -0
- package/hosts/web/widget.js +434 -0
- package/hosts/web/widgets.d.ts +43 -0
- package/hosts/web/widgets.js +118 -0
- package/hosts/web/words.d.ts +83 -0
- package/hosts/web/words.js +124 -0
- package/llms.txt +167 -0
- package/package.json +335 -4
- package/plugins/access/accounts/actions/callback.d.ts +1 -0
- package/plugins/access/accounts/actions/callback.js +38 -0
- package/plugins/access/accounts/actions/complete.d.ts +1 -0
- package/plugins/access/accounts/actions/complete.js +42 -0
- package/plugins/access/accounts/actions/connect.d.ts +1 -0
- package/plugins/access/accounts/actions/connect.js +23 -0
- package/plugins/access/accounts/actions/connected.d.ts +1 -0
- package/plugins/access/accounts/actions/connected.js +22 -0
- package/plugins/access/accounts/actions/disconnect.d.ts +1 -0
- package/plugins/access/accounts/actions/disconnect.js +50 -0
- package/plugins/access/accounts/actions/model-key.d.ts +5 -0
- package/plugins/access/accounts/actions/model-key.js +130 -0
- package/plugins/access/accounts/actions/refresh.d.ts +1 -0
- package/plugins/access/accounts/actions/refresh.js +48 -0
- package/plugins/access/accounts/actions/token.d.ts +1 -0
- package/plugins/access/accounts/actions/token.js +54 -0
- package/plugins/access/accounts/collections/account.d.ts +107 -0
- package/plugins/access/accounts/collections/account.js +51 -0
- package/plugins/access/accounts/collections/flow.d.ts +65 -0
- package/plugins/access/accounts/collections/flow.js +20 -0
- package/plugins/access/accounts/collections/model-key.d.ts +69 -0
- package/plugins/access/accounts/collections/model-key.js +42 -0
- package/plugins/access/accounts/contract.d.ts +156 -0
- package/plugins/access/accounts/contract.js +1 -0
- package/plugins/access/accounts/events/changed.d.ts +8 -0
- package/plugins/access/accounts/events/changed.js +14 -0
- package/plugins/access/accounts/mod.d.ts +63 -0
- package/plugins/access/accounts/mod.js +141 -0
- package/plugins/access/accounts/resources/chatgpt.d.ts +17 -0
- package/plugins/access/accounts/resources/chatgpt.js +52 -0
- package/plugins/access/accounts/resources/models.d.ts +24 -0
- package/plugins/access/accounts/resources/models.js +21 -0
- package/plugins/access/accounts/routes/callback.d.ts +10 -0
- package/plugins/access/accounts/routes/callback.js +33 -0
- package/plugins/access/accounts/shared/errors.d.ts +19 -0
- package/plugins/access/accounts/shared/errors.js +19 -0
- package/plugins/access/accounts/shared/flow.d.ts +28 -0
- package/plugins/access/accounts/shared/flow.js +141 -0
- package/plugins/access/accounts/shared/oauth.d.ts +50 -0
- package/plugins/access/accounts/shared/oauth.js +144 -0
- package/plugins/access/accounts/shared/renew.d.ts +20 -0
- package/plugins/access/accounts/shared/renew.js +104 -0
- package/plugins/access/accounts/shared/rules.d.ts +11 -0
- package/plugins/access/accounts/shared/rules.js +22 -0
- package/plugins/access/accounts/shared/seal.d.ts +11 -0
- package/plugins/access/accounts/shared/seal.js +63 -0
- package/plugins/access/accounts/shared/settings.d.ts +37 -0
- package/plugins/access/accounts/shared/settings.js +31 -0
- package/plugins/access/accounts/views/web/accounts.d.ts +21 -0
- package/plugins/access/accounts/views/web/accounts.js +84 -0
- package/plugins/access/accounts/views/web/card.d.ts +14 -0
- package/plugins/access/accounts/views/web/card.js +19 -0
- package/plugins/access/accounts/views/web/connect.d.ts +41 -0
- package/plugins/access/accounts/views/web/connect.js +163 -0
- package/plugins/access/accounts/views/web/disconnect.d.ts +16 -0
- package/plugins/access/accounts/views/web/disconnect.js +31 -0
- package/plugins/access/accounts/views/web/own-keys.d.ts +12 -0
- package/plugins/access/accounts/views/web/own-keys.js +112 -0
- package/plugins/access/accounts/views/web/palette.d.ts +11 -0
- package/plugins/access/accounts/views/web/palette.js +71 -0
- package/plugins/access/accounts/views/web/style.d.ts +6 -0
- package/plugins/access/accounts/views/web/style.js +79 -0
- package/plugins/access/accounts/views/web/words.d.ts +31 -0
- package/plugins/access/accounts/views/web/words.js +104 -0
- package/plugins/access/accounts/web.d.ts +28 -0
- package/plugins/access/accounts/web.js +47 -0
- package/plugins/access/contacts/actions/chat.d.ts +1 -0
- package/plugins/access/contacts/actions/chat.js +45 -0
- package/plugins/access/contacts/actions/forget.d.ts +1 -0
- package/plugins/access/contacts/actions/forget.js +58 -0
- package/plugins/access/contacts/actions/start.d.ts +1 -0
- package/plugins/access/contacts/actions/start.js +60 -0
- package/plugins/access/contacts/collections/contact.d.ts +74 -0
- package/plugins/access/contacts/collections/contact.js +58 -0
- package/plugins/access/contacts/contract.d.ts +10 -0
- package/plugins/access/contacts/contract.js +10 -0
- package/plugins/access/contacts/mod.d.ts +33 -0
- package/plugins/access/contacts/mod.js +64 -0
- package/plugins/access/contacts/views/contact.d.ts +8 -0
- package/plugins/access/contacts/views/contact.js +26 -0
- package/plugins/access/contacts/views/notes.d.ts +11 -0
- package/plugins/access/contacts/views/notes.js +34 -0
- package/plugins/access/contacts/web.d.ts +7 -0
- package/plugins/access/contacts/web.js +11 -0
- package/plugins/access/contract.d.ts +14 -0
- package/plugins/access/contract.js +12 -0
- package/plugins/access/dev/actions/sign-in.d.ts +1 -0
- package/plugins/access/dev/actions/sign-in.js +52 -0
- package/plugins/access/dev/mod.d.ts +17 -0
- package/plugins/access/dev/mod.js +32 -0
- package/plugins/access/dev/routes/sign-in.d.ts +8 -0
- package/plugins/access/dev/routes/sign-in.js +25 -0
- package/plugins/access/dev/shared/here.d.ts +4 -0
- package/plugins/access/dev/shared/here.js +32 -0
- package/plugins/access/dev/shared/nearby.d.ts +2 -0
- package/plugins/access/dev/shared/nearby.js +27 -0
- package/plugins/access/email/actions/code.d.ts +2 -0
- package/plugins/access/email/actions/code.js +112 -0
- package/plugins/access/email/actions/import.d.ts +1 -0
- package/plugins/access/email/actions/import.js +54 -0
- package/plugins/access/email/actions/invite.d.ts +5 -0
- package/plugins/access/email/actions/invite.js +143 -0
- package/plugins/access/email/actions/password-accounts.d.ts +3 -0
- package/plugins/access/email/actions/password-accounts.js +118 -0
- package/plugins/access/email/actions/password-sign-in.d.ts +2 -0
- package/plugins/access/email/actions/password-sign-in.js +84 -0
- package/plugins/access/email/actions/prune.d.ts +3 -0
- package/plugins/access/email/actions/prune.js +32 -0
- package/plugins/access/email/actions/reset.d.ts +2 -0
- package/plugins/access/email/actions/reset.js +101 -0
- package/plugins/access/email/actions/send.d.ts +1 -0
- package/plugins/access/email/actions/send.js +101 -0
- package/plugins/access/email/actions/sign-in.d.ts +1 -0
- package/plugins/access/email/actions/sign-in.js +70 -0
- package/plugins/access/email/actions/sign-up.d.ts +4 -0
- package/plugins/access/email/actions/sign-up.js +109 -0
- package/plugins/access/email/adapters/capture.d.ts +13 -0
- package/plugins/access/email/adapters/capture.js +28 -0
- package/plugins/access/email/adapters/console.d.ts +8 -0
- package/plugins/access/email/adapters/console.js +16 -0
- package/plugins/access/email/adapters/resend.d.ts +9 -0
- package/plugins/access/email/adapters/resend.js +42 -0
- package/plugins/access/email/adapters/sendmail.d.ts +13 -0
- package/plugins/access/email/adapters/sendmail.js +59 -0
- package/plugins/access/email/adapters/smtp.d.ts +10 -0
- package/plugins/access/email/adapters/smtp.js +16 -0
- package/plugins/access/email/collections/code.d.ts +111 -0
- package/plugins/access/email/collections/code.js +39 -0
- package/plugins/access/email/collections/login.d.ts +71 -0
- package/plugins/access/email/collections/login.js +28 -0
- package/plugins/access/email/collections/password-login.d.ts +63 -0
- package/plugins/access/email/collections/password-login.js +26 -0
- package/plugins/access/email/collections/rate.d.ts +44 -0
- package/plugins/access/email/collections/rate.js +14 -0
- package/plugins/access/email/contract.d.ts +240 -0
- package/plugins/access/email/contract.js +8 -0
- package/plugins/access/email/mod.d.ts +79 -0
- package/plugins/access/email/mod.js +204 -0
- package/plugins/access/email/password.d.ts +38 -0
- package/plugins/access/email/password.js +63 -0
- package/plugins/access/email/resources/messages.d.ts +9 -0
- package/plugins/access/email/resources/messages.js +64 -0
- package/plugins/access/email/routes/password.d.ts +13 -0
- package/plugins/access/email/routes/password.js +8 -0
- package/plugins/access/email/routes/sign-in.d.ts +38 -0
- package/plugins/access/email/routes/sign-in.js +31 -0
- package/plugins/access/email/shared/addresses.d.ts +13 -0
- package/plugins/access/email/shared/addresses.js +16 -0
- package/plugins/access/email/shared/bcrypt.d.ts +7 -0
- package/plugins/access/email/shared/bcrypt.js +138 -0
- package/plugins/access/email/shared/codes.d.ts +41 -0
- package/plugins/access/email/shared/codes.js +90 -0
- package/plugins/access/email/shared/identifiers.d.ts +8 -0
- package/plugins/access/email/shared/identifiers.js +22 -0
- package/plugins/access/email/shared/inputs.d.ts +37 -0
- package/plugins/access/email/shared/inputs.js +43 -0
- package/plugins/access/email/shared/limits.d.ts +54 -0
- package/plugins/access/email/shared/limits.js +71 -0
- package/plugins/access/email/shared/mail.d.ts +37 -0
- package/plugins/access/email/shared/mail.js +71 -0
- package/plugins/access/email/shared/mime.d.ts +28 -0
- package/plugins/access/email/shared/mime.js +179 -0
- package/plugins/access/email/shared/password.d.ts +18 -0
- package/plugins/access/email/shared/password.js +91 -0
- package/plugins/access/email/shared/people.d.ts +35 -0
- package/plugins/access/email/shared/people.js +55 -0
- package/plugins/access/email/shared/pi.d.ts +7 -0
- package/plugins/access/email/shared/pi.js +101 -0
- package/plugins/access/email/shared/settings.d.ts +33 -0
- package/plugins/access/email/shared/settings.js +41 -0
- package/plugins/access/email/shared/smtp.d.ts +22 -0
- package/plugins/access/email/shared/smtp.js +160 -0
- package/plugins/access/email/shared/step.d.ts +27 -0
- package/plugins/access/email/shared/step.js +87 -0
- package/plugins/access/google/actions/sign-in.d.ts +1 -0
- package/plugins/access/google/actions/sign-in.js +42 -0
- package/plugins/access/google/adapters/keys.d.ts +10 -0
- package/plugins/access/google/adapters/keys.js +17 -0
- package/plugins/access/google/mod.d.ts +22 -0
- package/plugins/access/google/mod.js +34 -0
- package/plugins/access/google/routes/sign-in.d.ts +12 -0
- package/plugins/access/google/routes/sign-in.js +36 -0
- package/plugins/access/google/shared/jwt.d.ts +19 -0
- package/plugins/access/google/shared/jwt.js +29 -0
- package/plugins/access/google/shared/settings.d.ts +9 -0
- package/plugins/access/google/shared/settings.js +1 -0
- package/plugins/access/identity/actions/person.d.ts +9 -0
- package/plugins/access/identity/actions/person.js +84 -0
- package/plugins/access/identity/actions/session.d.ts +3 -0
- package/plugins/access/identity/actions/session.js +71 -0
- package/plugins/access/identity/collections/credential.d.ts +82 -0
- package/plugins/access/identity/collections/credential.js +45 -0
- package/plugins/access/identity/collections/person.d.ts +78 -0
- package/plugins/access/identity/collections/person.js +33 -0
- package/plugins/access/identity/contract.d.ts +21 -0
- package/plugins/access/identity/contract.js +18 -0
- package/plugins/access/identity/mod.d.ts +32 -0
- package/plugins/access/identity/mod.js +71 -0
- package/plugins/access/identity/routes/session.d.ts +17 -0
- package/plugins/access/identity/routes/session.js +35 -0
- package/plugins/access/mod.d.ts +46 -0
- package/plugins/access/mod.js +15 -0
- package/plugins/access/spaces/actions/agents.d.ts +2 -0
- package/plugins/access/spaces/actions/agents.js +57 -0
- package/plugins/access/spaces/actions/archive.d.ts +1 -0
- package/plugins/access/spaces/actions/archive.js +34 -0
- package/plugins/access/spaces/actions/can.d.ts +1 -0
- package/plugins/access/spaces/actions/can.js +26 -0
- package/plugins/access/spaces/actions/create.d.ts +1 -0
- package/plugins/access/spaces/actions/create.js +54 -0
- package/plugins/access/spaces/actions/invitation.d.ts +3 -0
- package/plugins/access/spaces/actions/invitation.js +126 -0
- package/plugins/access/spaces/actions/keep.d.ts +1 -0
- package/plugins/access/spaces/actions/keep.js +55 -0
- package/plugins/access/spaces/actions/leave.d.ts +1 -0
- package/plugins/access/spaces/actions/leave.js +37 -0
- package/plugins/access/spaces/actions/member.d.ts +8 -0
- package/plugins/access/spaces/actions/member.js +195 -0
- package/plugins/access/spaces/actions/org.d.ts +32 -0
- package/plugins/access/spaces/actions/org.js +261 -0
- package/plugins/access/spaces/actions/personal.d.ts +1 -0
- package/plugins/access/spaces/actions/personal.js +41 -0
- package/plugins/access/spaces/actions/rename.d.ts +1 -0
- package/plugins/access/spaces/actions/rename.js +39 -0
- package/plugins/access/spaces/actions/request.d.ts +2 -0
- package/plugins/access/spaces/actions/request.js +46 -0
- package/plugins/access/spaces/collections/invitation.d.ts +80 -0
- package/plugins/access/spaces/collections/invitation.js +43 -0
- package/plugins/access/spaces/collections/member.d.ts +89 -0
- package/plugins/access/spaces/collections/member.js +32 -0
- package/plugins/access/spaces/collections/profile.d.ts +54 -0
- package/plugins/access/spaces/collections/profile.js +54 -0
- package/plugins/access/spaces/collections/request.d.ts +66 -0
- package/plugins/access/spaces/collections/request.js +29 -0
- package/plugins/access/spaces/collections/space.d.ts +85 -0
- package/plugins/access/spaces/collections/space.js +73 -0
- package/plugins/access/spaces/contract.d.ts +132 -0
- package/plugins/access/spaces/contract.js +5 -0
- package/plugins/access/spaces/mod.d.ts +80 -0
- package/plugins/access/spaces/mod.js +154 -0
- package/plugins/access/spaces/processors/agent-gone.d.ts +7 -0
- package/plugins/access/spaces/processors/agent-gone.js +13 -0
- 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.d.ts +11 -0
- package/plugins/access/spaces/resources/commands.js +212 -0
- package/plugins/access/spaces/resources/tools.d.ts +2 -0
- package/plugins/access/spaces/resources/tools.js +50 -0
- package/plugins/access/spaces/shared/agents.d.ts +48 -0
- package/plugins/access/spaces/shared/agents.js +101 -0
- package/plugins/access/spaces/shared/audience.d.ts +51 -0
- package/plugins/access/spaces/shared/audience.js +113 -0
- package/plugins/access/spaces/shared/can.d.ts +46 -0
- package/plugins/access/spaces/shared/can.js +76 -0
- package/plugins/access/spaces/shared/declared.d.ts +21 -0
- package/plugins/access/spaces/shared/declared.js +8 -0
- package/plugins/access/spaces/shared/labels.d.ts +33 -0
- package/plugins/access/spaces/shared/labels.js +97 -0
- package/plugins/access/spaces/shared/managers.d.ts +9 -0
- package/plugins/access/spaces/shared/managers.js +15 -0
- package/plugins/access/spaces/shared/names.d.ts +70 -0
- package/plugins/access/spaces/shared/names.js +105 -0
- package/plugins/access/spaces/shared/personal.d.ts +8 -0
- package/plugins/access/spaces/shared/personal.js +13 -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 +145 -0
- package/plugins/access/spaces/shared/reach.js +443 -0
- package/plugins/access/spaces/shared/rules.d.ts +47 -0
- package/plugins/access/spaces/shared/rules.js +152 -0
- package/plugins/access/spaces/shared/seat.d.ts +15 -0
- package/plugins/access/spaces/shared/seat.js +44 -0
- package/plugins/access/spaces/terminal.d.ts +7 -0
- package/plugins/access/spaces/terminal.js +14 -0
- package/plugins/access/spaces/views/elsewhere.d.ts +16 -0
- package/plugins/access/spaces/views/elsewhere.js +53 -0
- package/plugins/access/spaces/views/terminal/spaces.d.ts +10 -0
- package/plugins/access/spaces/views/terminal/spaces.js +3 -0
- package/plugins/access/spaces/views/web/agents.d.ts +44 -0
- package/plugins/access/spaces/views/web/agents.js +94 -0
- package/plugins/access/spaces/views/web/header.d.ts +29 -0
- package/plugins/access/spaces/views/web/header.js +97 -0
- package/plugins/access/spaces/views/web/invitation.d.ts +17 -0
- package/plugins/access/spaces/views/web/invitation.js +41 -0
- package/plugins/access/spaces/views/web/invitations.d.ts +12 -0
- package/plugins/access/spaces/views/web/invitations.js +24 -0
- package/plugins/access/spaces/views/web/invite-dialog.d.ts +21 -0
- package/plugins/access/spaces/views/web/invite-dialog.js +17 -0
- package/plugins/access/spaces/views/web/invite.d.ts +18 -0
- package/plugins/access/spaces/views/web/invite.js +59 -0
- package/plugins/access/spaces/views/web/invited.d.ts +9 -0
- package/plugins/access/spaces/views/web/invited.js +12 -0
- package/plugins/access/spaces/views/web/inviting.d.ts +15 -0
- package/plugins/access/spaces/views/web/inviting.js +54 -0
- package/plugins/access/spaces/views/web/members.d.ts +19 -0
- package/plugins/access/spaces/views/web/members.js +160 -0
- package/plugins/access/spaces/views/web/new-space.d.ts +5 -0
- package/plugins/access/spaces/views/web/new-space.js +42 -0
- package/plugins/access/spaces/views/web/not-here.d.ts +14 -0
- package/plugins/access/spaces/views/web/not-here.js +89 -0
- package/plugins/access/spaces/views/web/org-about.d.ts +12 -0
- package/plugins/access/spaces/views/web/org-about.js +89 -0
- package/plugins/access/spaces/views/web/org-members.d.ts +16 -0
- package/plugins/access/spaces/views/web/org-members.js +244 -0
- package/plugins/access/spaces/views/web/palette.d.ts +17 -0
- package/plugins/access/spaces/views/web/palette.js +156 -0
- package/plugins/access/spaces/views/web/panel.d.ts +14 -0
- package/plugins/access/spaces/views/web/panel.js +70 -0
- package/plugins/access/spaces/views/web/pending.d.ts +17 -0
- package/plugins/access/spaces/views/web/pending.js +34 -0
- package/plugins/access/spaces/views/web/pick.d.ts +21 -0
- package/plugins/access/spaces/views/web/pick.js +63 -0
- package/plugins/access/spaces/views/web/sections.d.ts +31 -0
- package/plugins/access/spaces/views/web/sections.js +23 -0
- package/plugins/access/spaces/views/web/settings.d.ts +13 -0
- package/plugins/access/spaces/views/web/settings.js +185 -0
- package/plugins/access/spaces/views/web/space.d.ts +17 -0
- package/plugins/access/spaces/views/web/space.js +85 -0
- package/plugins/access/spaces/views/web/spaces.d.ts +16 -0
- package/plugins/access/spaces/views/web/spaces.js +33 -0
- package/plugins/access/spaces/views/web/steps.d.ts +19 -0
- package/plugins/access/spaces/views/web/steps.js +122 -0
- package/plugins/access/spaces/views/web/style.d.ts +9 -0
- package/plugins/access/spaces/views/web/style.js +279 -0
- package/plugins/access/spaces/views/web/tabs.d.ts +39 -0
- package/plugins/access/spaces/views/web/tabs.js +41 -0
- package/plugins/access/spaces/views/web/tree.d.ts +52 -0
- package/plugins/access/spaces/views/web/tree.js +127 -0
- package/plugins/access/spaces/views/web/who.d.ts +102 -0
- package/plugins/access/spaces/views/web/who.js +150 -0
- package/plugins/access/spaces/views/web/words.d.ts +1 -0
- package/plugins/access/spaces/views/web/words.js +291 -0
- package/plugins/access/spaces/views/where.d.ts +11 -0
- package/plugins/access/spaces/views/where.js +48 -0
- package/plugins/access/spaces/web.d.ts +35 -0
- package/plugins/access/spaces/web.js +138 -0
- package/plugins/access/terminal.d.ts +2 -0
- package/plugins/access/terminal.js +2 -0
- package/plugins/access/web.d.ts +4 -0
- package/plugins/access/web.js +4 -0
- package/plugins/agents/chat/actions/approve.d.ts +1 -0
- package/plugins/agents/chat/actions/approve.js +109 -0
- package/plugins/agents/chat/actions/archive.d.ts +1 -0
- package/plugins/agents/chat/actions/archive.js +95 -0
- package/plugins/agents/chat/actions/attach.d.ts +3 -0
- package/plugins/agents/chat/actions/attach.js +92 -0
- package/plugins/agents/chat/actions/erase.d.ts +1 -0
- package/plugins/agents/chat/actions/erase.js +47 -0
- package/plugins/agents/chat/actions/forget-grant.d.ts +1 -0
- package/plugins/agents/chat/actions/forget-grant.js +16 -0
- package/plugins/agents/chat/actions/fork.d.ts +1 -0
- package/plugins/agents/chat/actions/fork.js +47 -0
- package/plugins/agents/chat/actions/import.d.ts +1 -0
- package/plugins/agents/chat/actions/import.js +244 -0
- package/plugins/agents/chat/actions/move.d.ts +1 -0
- package/plugins/agents/chat/actions/move.js +55 -0
- package/plugins/agents/chat/actions/notes.d.ts +1 -0
- package/plugins/agents/chat/actions/notes.js +48 -0
- package/plugins/agents/chat/actions/open.d.ts +1 -0
- package/plugins/agents/chat/actions/open.js +77 -0
- package/plugins/agents/chat/actions/prune.d.ts +3 -0
- package/plugins/agents/chat/actions/prune.js +20 -0
- package/plugins/agents/chat/actions/quiet.d.ts +1 -0
- package/plugins/agents/chat/actions/quiet.js +33 -0
- package/plugins/agents/chat/actions/rename.d.ts +1 -0
- package/plugins/agents/chat/actions/rename.js +49 -0
- package/plugins/agents/chat/actions/say.d.ts +1 -0
- package/plugins/agents/chat/actions/say.js +168 -0
- package/plugins/agents/chat/actions/send.d.ts +11 -0
- package/plugins/agents/chat/actions/send.js +419 -0
- package/plugins/agents/chat/actions/shown.d.ts +1 -0
- package/plugins/agents/chat/actions/shown.js +35 -0
- package/plugins/agents/chat/actions/stop.d.ts +1 -0
- package/plugins/agents/chat/actions/stop.js +81 -0
- package/plugins/agents/chat/actions/unmark.d.ts +1 -0
- package/plugins/agents/chat/actions/unmark.js +100 -0
- package/plugins/agents/chat/actions/welcomed.d.ts +1 -0
- package/plugins/agents/chat/actions/welcomed.js +20 -0
- package/plugins/agents/chat/channels.d.ts +27 -0
- package/plugins/agents/chat/channels.js +124 -0
- package/plugins/agents/chat/collections/approval.d.ts +300 -0
- package/plugins/agents/chat/collections/approval.js +107 -0
- package/plugins/agents/chat/collections/file.d.ts +214 -0
- package/plugins/agents/chat/collections/file.js +108 -0
- package/plugins/agents/chat/collections/grant.d.ts +107 -0
- package/plugins/agents/chat/collections/grant.js +47 -0
- package/plugins/agents/chat/collections/intent.d.ts +176 -0
- package/plugins/agents/chat/collections/intent.js +73 -0
- package/plugins/agents/chat/collections/live.d.ts +159 -0
- package/plugins/agents/chat/collections/live.js +75 -0
- package/plugins/agents/chat/collections/message.d.ts +557 -0
- package/plugins/agents/chat/collections/message.js +250 -0
- package/plugins/agents/chat/collections/shown.d.ts +98 -0
- package/plugins/agents/chat/collections/shown.js +34 -0
- package/plugins/agents/chat/collections/thread.d.ts +260 -0
- package/plugins/agents/chat/collections/thread.js +192 -0
- package/plugins/agents/chat/collections/wait.d.ts +98 -0
- package/plugins/agents/chat/collections/wait.js +23 -0
- package/plugins/agents/chat/collections/welcome.d.ts +16 -0
- package/plugins/agents/chat/collections/welcome.js +27 -0
- package/plugins/agents/chat/contract.d.ts +71 -0
- package/plugins/agents/chat/contract.js +45 -0
- package/plugins/agents/chat/events/turn-requested.d.ts +3 -0
- package/plugins/agents/chat/events/turn-requested.js +15 -0
- package/plugins/agents/chat/mod.d.ts +134 -0
- package/plugins/agents/chat/mod.js +310 -0
- package/plugins/agents/chat/processors/failed.d.ts +3 -0
- package/plugins/agents/chat/processors/failed.js +60 -0
- package/plugins/agents/chat/processors/turn.d.ts +17 -0
- package/plugins/agents/chat/processors/turn.js +474 -0
- package/plugins/agents/chat/resources/commands.d.ts +17 -0
- package/plugins/agents/chat/resources/commands.js +406 -0
- package/plugins/agents/chat/resources/tools.d.ts +3 -0
- package/plugins/agents/chat/resources/tools.js +136 -0
- package/plugins/agents/chat/routes/files.d.ts +39 -0
- package/plugins/agents/chat/routes/files.js +169 -0
- package/plugins/agents/chat/shared/agents.d.ts +87 -0
- package/plugins/agents/chat/shared/agents.js +114 -0
- package/plugins/agents/chat/shared/asks.d.ts +81 -0
- package/plugins/agents/chat/shared/asks.js +203 -0
- package/plugins/agents/chat/shared/chat-of.d.ts +27 -0
- package/plugins/agents/chat/shared/chat-of.js +32 -0
- package/plugins/agents/chat/shared/contact-send.d.ts +32 -0
- package/plugins/agents/chat/shared/contact-send.js +18 -0
- package/plugins/agents/chat/shared/delivery.d.ts +68 -0
- package/plugins/agents/chat/shared/delivery.js +294 -0
- package/plugins/agents/chat/shared/lineage.d.ts +44 -0
- package/plugins/agents/chat/shared/lineage.js +88 -0
- package/plugins/agents/chat/shared/live.d.ts +44 -0
- package/plugins/agents/chat/shared/live.js +88 -0
- package/plugins/agents/chat/shared/notes.d.ts +28 -0
- package/plugins/agents/chat/shared/notes.js +35 -0
- 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 +55 -0
- package/plugins/agents/chat/shared/send.js +380 -0
- package/plugins/agents/chat/shared/share.d.ts +48 -0
- package/plugins/agents/chat/shared/share.js +67 -0
- package/plugins/agents/chat/shared/summary.d.ts +65 -0
- package/plugins/agents/chat/shared/summary.js +41 -0
- package/plugins/agents/chat/shared/threads.d.ts +50 -0
- package/plugins/agents/chat/shared/threads.js +15 -0
- package/plugins/agents/chat/shared/tools.d.ts +42 -0
- package/plugins/agents/chat/shared/tools.js +61 -0
- package/plugins/agents/chat/shared/types.d.ts +404 -0
- package/plugins/agents/chat/shared/types.js +9 -0
- package/plugins/agents/chat/shared/unmark.d.ts +145 -0
- package/plugins/agents/chat/shared/unmark.js +237 -0
- package/plugins/agents/chat/shared/where.d.ts +20 -0
- package/plugins/agents/chat/shared/where.js +18 -0
- package/plugins/agents/chat/terminal.d.ts +12 -0
- package/plugins/agents/chat/terminal.js +34 -0
- package/plugins/agents/chat/views/asked.d.ts +35 -0
- package/plugins/agents/chat/views/asked.js +89 -0
- package/plugins/agents/chat/views/context.d.ts +11 -0
- package/plugins/agents/chat/views/context.js +9 -0
- package/plugins/agents/chat/views/held.d.ts +10 -0
- package/plugins/agents/chat/views/held.js +10 -0
- package/plugins/agents/chat/views/history.d.ts +16 -0
- package/plugins/agents/chat/views/history.js +3 -0
- package/plugins/agents/chat/views/message.d.ts +12 -0
- package/plugins/agents/chat/views/message.js +110 -0
- package/plugins/agents/chat/views/participants.d.ts +8 -0
- package/plugins/agents/chat/views/participants.js +26 -0
- package/plugins/agents/chat/views/prompt.d.ts +12 -0
- package/plugins/agents/chat/views/prompt.js +115 -0
- package/plugins/agents/chat/views/seen.d.ts +7 -0
- package/plugins/agents/chat/views/seen.js +7 -0
- package/plugins/agents/chat/views/terminal/agent-prompt.d.ts +7 -0
- package/plugins/agents/chat/views/terminal/agent-prompt.js +18 -0
- package/plugins/agents/chat/views/terminal/asks.d.ts +14 -0
- package/plugins/agents/chat/views/terminal/asks.js +35 -0
- package/plugins/agents/chat/views/terminal/author.d.ts +7 -0
- package/plugins/agents/chat/views/terminal/author.js +11 -0
- package/plugins/agents/chat/views/terminal/conversation.d.ts +5 -0
- package/plugins/agents/chat/views/terminal/conversation.js +24 -0
- package/plugins/agents/chat/views/terminal/live.d.ts +4 -0
- package/plugins/agents/chat/views/terminal/live.js +16 -0
- package/plugins/agents/chat/views/terminal/message.d.ts +4 -0
- package/plugins/agents/chat/views/terminal/message.js +34 -0
- package/plugins/agents/chat/views/terminal/moving.d.ts +11 -0
- package/plugins/agents/chat/views/terminal/moving.js +27 -0
- package/plugins/agents/chat/views/terminal/retrying.d.ts +7 -0
- package/plugins/agents/chat/views/terminal/retrying.js +22 -0
- package/plugins/agents/chat/views/terminal/threads.d.ts +13 -0
- package/plugins/agents/chat/views/terminal/threads.js +2 -0
- package/plugins/agents/chat/views/web/add.d.ts +33 -0
- package/plugins/agents/chat/views/web/add.js +88 -0
- package/plugins/agents/chat/views/web/agents.d.ts +89 -0
- package/plugins/agents/chat/views/web/agents.js +107 -0
- package/plugins/agents/chat/views/web/archive.d.ts +42 -0
- package/plugins/agents/chat/views/web/archive.js +45 -0
- package/plugins/agents/chat/views/web/archived-note.d.ts +15 -0
- package/plugins/agents/chat/views/web/archived-note.js +26 -0
- package/plugins/agents/chat/views/web/archived.d.ts +14 -0
- package/plugins/agents/chat/views/web/archived.js +26 -0
- package/plugins/agents/chat/views/web/asking.d.ts +15 -0
- package/plugins/agents/chat/views/web/asking.js +50 -0
- package/plugins/agents/chat/views/web/asks.d.ts +42 -0
- package/plugins/agents/chat/views/web/asks.js +170 -0
- package/plugins/agents/chat/views/web/attach.d.ts +28 -0
- package/plugins/agents/chat/views/web/attach.js +37 -0
- package/plugins/agents/chat/views/web/before-send.d.ts +9 -0
- package/plugins/agents/chat/views/web/before-send.js +7 -0
- package/plugins/agents/chat/views/web/chat-row.d.ts +25 -0
- package/plugins/agents/chat/views/web/chat-row.js +41 -0
- package/plugins/agents/chat/views/web/chats.d.ts +24 -0
- package/plugins/agents/chat/views/web/chats.js +138 -0
- package/plugins/agents/chat/views/web/composer.d.ts +135 -0
- package/plugins/agents/chat/views/web/composer.js +504 -0
- package/plugins/agents/chat/views/web/conversation.d.ts +94 -0
- package/plugins/agents/chat/views/web/conversation.js +351 -0
- package/plugins/agents/chat/views/web/download.d.ts +8 -0
- package/plugins/agents/chat/views/web/download.js +8 -0
- package/plugins/agents/chat/views/web/file.d.ts +23 -0
- package/plugins/agents/chat/views/web/file.js +15 -0
- package/plugins/agents/chat/views/web/handed.d.ts +17 -0
- package/plugins/agents/chat/views/web/handed.js +47 -0
- package/plugins/agents/chat/views/web/header.d.ts +48 -0
- package/plugins/agents/chat/views/web/header.js +34 -0
- package/plugins/agents/chat/views/web/held.d.ts +17 -0
- package/plugins/agents/chat/views/web/held.js +51 -0
- package/plugins/agents/chat/views/web/home.d.ts +27 -0
- package/plugins/agents/chat/views/web/home.js +122 -0
- package/plugins/agents/chat/views/web/lane.d.ts +11 -0
- package/plugins/agents/chat/views/web/lane.js +44 -0
- package/plugins/agents/chat/views/web/listed.d.ts +33 -0
- package/plugins/agents/chat/views/web/listed.js +67 -0
- package/plugins/agents/chat/views/web/live.d.ts +14 -0
- package/plugins/agents/chat/views/web/live.js +37 -0
- package/plugins/agents/chat/views/web/message.d.ts +34 -0
- package/plugins/agents/chat/views/web/message.js +112 -0
- package/plugins/agents/chat/views/web/missing.d.ts +5 -0
- package/plugins/agents/chat/views/web/missing.js +6 -0
- package/plugins/agents/chat/views/web/move.d.ts +23 -0
- package/plugins/agents/chat/views/web/move.js +55 -0
- package/plugins/agents/chat/views/web/moving.d.ts +21 -0
- package/plugins/agents/chat/views/web/moving.js +46 -0
- package/plugins/agents/chat/views/web/new-thread.d.ts +10 -0
- package/plugins/agents/chat/views/web/new-thread.js +13 -0
- package/plugins/agents/chat/views/web/notes-lane.d.ts +74 -0
- package/plugins/agents/chat/views/web/notes-lane.js +67 -0
- package/plugins/agents/chat/views/web/notes.d.ts +16 -0
- package/plugins/agents/chat/views/web/notes.js +36 -0
- package/plugins/agents/chat/views/web/over.d.ts +24 -0
- package/plugins/agents/chat/views/web/over.js +28 -0
- package/plugins/agents/chat/views/web/palette.d.ts +18 -0
- package/plugins/agents/chat/views/web/palette.js +157 -0
- package/plugins/agents/chat/views/web/picture.d.ts +12 -0
- package/plugins/agents/chat/views/web/picture.js +17 -0
- package/plugins/agents/chat/views/web/plain.d.ts +15 -0
- package/plugins/agents/chat/views/web/plain.js +32 -0
- package/plugins/agents/chat/views/web/queued.d.ts +19 -0
- package/plugins/agents/chat/views/web/queued.js +28 -0
- package/plugins/agents/chat/views/web/recent.d.ts +13 -0
- package/plugins/agents/chat/views/web/recent.js +55 -0
- package/plugins/agents/chat/views/web/record.d.ts +37 -0
- package/plugins/agents/chat/views/web/record.js +230 -0
- package/plugins/agents/chat/views/web/recorder.d.ts +23 -0
- package/plugins/agents/chat/views/web/recorder.js +51 -0
- package/plugins/agents/chat/views/web/rename.d.ts +15 -0
- package/plugins/agents/chat/views/web/rename.js +29 -0
- package/plugins/agents/chat/views/web/replies.d.ts +71 -0
- package/plugins/agents/chat/views/web/replies.js +122 -0
- package/plugins/agents/chat/views/web/retrying.d.ts +12 -0
- package/plugins/agents/chat/views/web/retrying.js +29 -0
- package/plugins/agents/chat/views/web/send-on.d.ts +29 -0
- package/plugins/agents/chat/views/web/send-on.js +68 -0
- package/plugins/agents/chat/views/web/shelf.d.ts +18 -0
- package/plugins/agents/chat/views/web/shelf.js +14 -0
- package/plugins/agents/chat/views/web/steps.d.ts +29 -0
- package/plugins/agents/chat/views/web/steps.js +45 -0
- package/plugins/agents/chat/views/web/style.d.ts +9 -0
- package/plugins/agents/chat/views/web/style.js +572 -0
- package/plugins/agents/chat/views/web/tool-view.d.ts +15 -0
- package/plugins/agents/chat/views/web/tool-view.js +15 -0
- package/plugins/agents/chat/views/web/transcript.d.ts +13 -0
- package/plugins/agents/chat/views/web/transcript.js +58 -0
- package/plugins/agents/chat/views/web/voice-failed.d.ts +15 -0
- package/plugins/agents/chat/views/web/voice-failed.js +6 -0
- package/plugins/agents/chat/views/web/voice-note.d.ts +20 -0
- package/plugins/agents/chat/views/web/voice-note.js +20 -0
- package/plugins/agents/chat/views/web/waiting.d.ts +10 -0
- package/plugins/agents/chat/views/web/waiting.js +9 -0
- package/plugins/agents/chat/views/web/waking.d.ts +12 -0
- package/plugins/agents/chat/views/web/waking.js +30 -0
- package/plugins/agents/chat/views/web/welcome.d.ts +25 -0
- package/plugins/agents/chat/views/web/welcome.js +44 -0
- package/plugins/agents/chat/views/web/who.d.ts +15 -0
- package/plugins/agents/chat/views/web/who.js +18 -0
- package/plugins/agents/chat/views/web/words.d.ts +1 -0
- package/plugins/agents/chat/views/web/words.js +384 -0
- package/plugins/agents/chat/web.d.ts +71 -0
- package/plugins/agents/chat/web.js +131 -0
- package/plugins/agents/contract.d.ts +12 -0
- package/plugins/agents/contract.js +12 -0
- package/plugins/agents/history/collections/outline.d.ts +195 -0
- package/plugins/agents/history/collections/outline.js +44 -0
- package/plugins/agents/history/collections/summary.d.ts +89 -0
- package/plugins/agents/history/collections/summary.js +31 -0
- package/plugins/agents/history/mod.d.ts +38 -0
- package/plugins/agents/history/mod.js +61 -0
- package/plugins/agents/history/processors/compact.d.ts +9 -0
- package/plugins/agents/history/processors/compact.js +339 -0
- package/plugins/agents/history/processors/erase.d.ts +3 -0
- package/plugins/agents/history/processors/erase.js +11 -0
- package/plugins/agents/history/resources/tools.d.ts +1 -0
- package/plugins/agents/history/resources/tools.js +70 -0
- package/plugins/agents/history/shared/lines.d.ts +28 -0
- package/plugins/agents/history/shared/lines.js +48 -0
- package/plugins/agents/history/shared/settings.d.ts +23 -0
- package/plugins/agents/history/shared/settings.js +8 -0
- package/plugins/agents/history/shared/summarized.d.ts +8 -0
- package/plugins/agents/history/shared/summarized.js +9 -0
- 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 +15 -0
- package/plugins/agents/history/views/history.js +59 -0
- package/plugins/agents/history/views/since.d.ts +10 -0
- package/plugins/agents/history/views/since.js +10 -0
- package/plugins/agents/history/views/summary.d.ts +6 -0
- package/plugins/agents/history/views/summary.js +8 -0
- package/plugins/agents/memory/actions/import.d.ts +1 -0
- package/plugins/agents/memory/actions/import.js +88 -0
- package/plugins/agents/memory/collections/memory.d.ts +134 -0
- package/plugins/agents/memory/collections/memory.js +77 -0
- package/plugins/agents/memory/collections/progress.d.ts +19 -0
- package/plugins/agents/memory/collections/progress.js +8 -0
- package/plugins/agents/memory/mod.d.ts +48 -0
- package/plugins/agents/memory/mod.js +106 -0
- package/plugins/agents/memory/processors/extract.d.ts +12 -0
- package/plugins/agents/memory/processors/extract.js +149 -0
- package/plugins/agents/memory/resources/commands.d.ts +3 -0
- package/plugins/agents/memory/resources/commands.js +13 -0
- package/plugins/agents/memory/resources/context.d.ts +20 -0
- package/plugins/agents/memory/resources/context.js +13 -0
- package/plugins/agents/memory/resources/tools.d.ts +5 -0
- package/plugins/agents/memory/resources/tools.js +153 -0
- package/plugins/agents/memory/shared/scope.d.ts +82 -0
- package/plugins/agents/memory/shared/scope.js +172 -0
- package/plugins/agents/memory/shared/search.d.ts +32 -0
- package/plugins/agents/memory/shared/search.js +108 -0
- package/plugins/agents/memory/shared/settings.d.ts +41 -0
- package/plugins/agents/memory/shared/settings.js +46 -0
- package/plugins/agents/memory/terminal.d.ts +6 -0
- package/plugins/agents/memory/terminal.js +13 -0
- package/plugins/agents/memory/views/context.d.ts +8 -0
- package/plugins/agents/memory/views/context.js +97 -0
- package/plugins/agents/memory/views/memory.d.ts +5 -0
- package/plugins/agents/memory/views/memory.js +4 -0
- package/plugins/agents/memory/views/terminal/memory.d.ts +5 -0
- package/plugins/agents/memory/views/terminal/memory.js +8 -0
- package/plugins/agents/memory/views/web/card.d.ts +19 -0
- package/plugins/agents/memory/views/web/card.js +25 -0
- package/plugins/agents/memory/views/web/list.d.ts +28 -0
- package/plugins/agents/memory/views/web/list.js +87 -0
- package/plugins/agents/memory/views/web/memories.d.ts +15 -0
- package/plugins/agents/memory/views/web/memories.js +39 -0
- package/plugins/agents/memory/views/web/move.d.ts +13 -0
- package/plugins/agents/memory/views/web/move.js +13 -0
- package/plugins/agents/memory/views/web/palette.d.ts +11 -0
- package/plugins/agents/memory/views/web/palette.js +42 -0
- package/plugins/agents/memory/views/web/pick.d.ts +10 -0
- package/plugins/agents/memory/views/web/pick.js +42 -0
- package/plugins/agents/memory/views/web/style.d.ts +6 -0
- package/plugins/agents/memory/views/web/style.js +41 -0
- package/plugins/agents/memory/views/web/words.d.ts +1 -0
- package/plugins/agents/memory/views/web/words.js +48 -0
- package/plugins/agents/memory/web.d.ts +11 -0
- package/plugins/agents/memory/web.js +34 -0
- package/plugins/agents/mod.d.ts +24 -0
- package/plugins/agents/mod.js +24 -0
- 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 +77 -0
- package/plugins/agents/openapi/contract.js +1 -0
- package/plugins/agents/openapi/mod.d.ts +5 -0
- package/plugins/agents/openapi/mod.js +75 -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 +128 -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.d.ts +1 -0
- package/plugins/agents/routines/actions/create.js +72 -0
- package/plugins/agents/routines/actions/delete.d.ts +1 -0
- package/plugins/agents/routines/actions/delete.js +20 -0
- package/plugins/agents/routines/actions/fire.d.ts +1 -0
- package/plugins/agents/routines/actions/fire.js +26 -0
- 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.d.ts +1 -0
- package/plugins/agents/routines/actions/pause.js +23 -0
- package/plugins/agents/routines/actions/resume.d.ts +1 -0
- package/plugins/agents/routines/actions/resume.js +26 -0
- package/plugins/agents/routines/actions/run.d.ts +1 -0
- package/plugins/agents/routines/actions/run.js +21 -0
- package/plugins/agents/routines/actions/update.d.ts +1 -0
- package/plugins/agents/routines/actions/update.js +88 -0
- package/plugins/agents/routines/collections/routine.d.ts +149 -0
- package/plugins/agents/routines/collections/routine.js +95 -0
- package/plugins/agents/routines/collections/run.d.ts +108 -0
- package/plugins/agents/routines/collections/run.js +31 -0
- package/plugins/agents/routines/contract.d.ts +17 -0
- package/plugins/agents/routines/contract.js +1 -0
- package/plugins/agents/routines/mod.d.ts +38 -0
- package/plugins/agents/routines/mod.js +79 -0
- package/plugins/agents/routines/resources/tools.d.ts +2 -0
- package/plugins/agents/routines/resources/tools.js +207 -0
- package/plugins/agents/routines/shared/fire.d.ts +26 -0
- package/plugins/agents/routines/shared/fire.js +101 -0
- package/plugins/agents/routines/shared/routines.d.ts +118 -0
- package/plugins/agents/routines/shared/routines.js +91 -0
- package/plugins/agents/routines/shared/schedule.d.ts +148 -0
- package/plugins/agents/routines/shared/schedule.js +347 -0
- package/plugins/agents/routines/views/web/delete.d.ts +16 -0
- package/plugins/agents/routines/views/web/delete.js +26 -0
- package/plugins/agents/routines/views/web/form.d.ts +31 -0
- package/plugins/agents/routines/views/web/form.js +102 -0
- package/plugins/agents/routines/views/web/list.d.ts +16 -0
- package/plugins/agents/routines/views/web/list.js +145 -0
- package/plugins/agents/routines/views/web/new.d.ts +26 -0
- package/plugins/agents/routines/views/web/new.js +37 -0
- package/plugins/agents/routines/views/web/page.d.ts +15 -0
- package/plugins/agents/routines/views/web/page.js +174 -0
- package/plugins/agents/routines/views/web/palette.d.ts +16 -0
- package/plugins/agents/routines/views/web/palette.js +145 -0
- package/plugins/agents/routines/views/web/picker.d.ts +19 -0
- package/plugins/agents/routines/views/web/picker.js +57 -0
- package/plugins/agents/routines/views/web/routines.d.ts +66 -0
- package/plugins/agents/routines/views/web/routines.js +110 -0
- package/plugins/agents/routines/views/web/step.d.ts +12 -0
- package/plugins/agents/routines/views/web/step.js +24 -0
- package/plugins/agents/routines/views/web/style.d.ts +8 -0
- package/plugins/agents/routines/views/web/style.js +196 -0
- package/plugins/agents/routines/web.d.ts +17 -0
- package/plugins/agents/routines/web.js +37 -0
- package/plugins/agents/skills/actions/create.d.ts +1 -0
- package/plugins/agents/skills/actions/create.js +43 -0
- package/plugins/agents/skills/actions/delete.d.ts +1 -0
- package/plugins/agents/skills/actions/delete.js +29 -0
- package/plugins/agents/skills/actions/update.d.ts +1 -0
- package/plugins/agents/skills/actions/update.js +58 -0
- package/plugins/agents/skills/collections/skill-file.d.ts +62 -0
- package/plugins/agents/skills/collections/skill-file.js +20 -0
- package/plugins/agents/skills/collections/skill.d.ts +133 -0
- package/plugins/agents/skills/collections/skill.js +105 -0
- package/plugins/agents/skills/contract.d.ts +11 -0
- package/plugins/agents/skills/contract.js +1 -0
- package/plugins/agents/skills/mod.d.ts +31 -0
- package/plugins/agents/skills/mod.js +80 -0
- package/plugins/agents/skills/resources/planning.d.ts +11 -0
- package/plugins/agents/skills/resources/planning.js +114 -0
- package/plugins/agents/skills/resources/tools.d.ts +7 -0
- package/plugins/agents/skills/resources/tools.js +57 -0
- package/plugins/agents/skills/shared/check.d.ts +37 -0
- package/plugins/agents/skills/shared/check.js +92 -0
- package/plugins/agents/skills/shared/skill-md.d.ts +18 -0
- package/plugins/agents/skills/shared/skill-md.js +63 -0
- package/plugins/agents/skills/shared/skills.d.ts +53 -0
- package/plugins/agents/skills/shared/skills.js +53 -0
- package/plugins/agents/skills/shared/write.d.ts +72 -0
- package/plugins/agents/skills/shared/write.js +54 -0
- package/plugins/agents/skills/views/context.d.ts +14 -0
- package/plugins/agents/skills/views/context.js +17 -0
- package/plugins/agents/skills/views/web/delete.d.ts +19 -0
- package/plugins/agents/skills/views/web/delete.js +27 -0
- package/plugins/agents/skills/views/web/form.d.ts +28 -0
- package/plugins/agents/skills/views/web/form.js +190 -0
- package/plugins/agents/skills/views/web/list.d.ts +13 -0
- package/plugins/agents/skills/views/web/list.js +88 -0
- package/plugins/agents/skills/views/web/page.d.ts +13 -0
- package/plugins/agents/skills/views/web/page.js +117 -0
- package/plugins/agents/skills/views/web/palette.d.ts +21 -0
- package/plugins/agents/skills/views/web/palette.js +133 -0
- package/plugins/agents/skills/views/web/skills.d.ts +42 -0
- package/plugins/agents/skills/views/web/skills.js +97 -0
- package/plugins/agents/skills/views/web/step.d.ts +10 -0
- package/plugins/agents/skills/views/web/step.js +26 -0
- package/plugins/agents/skills/views/web/style.d.ts +8 -0
- package/plugins/agents/skills/views/web/style.js +155 -0
- package/plugins/agents/skills/web.d.ts +16 -0
- package/plugins/agents/skills/web.js +37 -0
- package/plugins/agents/terminal.d.ts +3 -0
- package/plugins/agents/terminal.js +3 -0
- package/plugins/agents/web.d.ts +6 -0
- package/plugins/agents/web.js +6 -0
- package/plugins/agents/webtools/adapters/duckduckgo.d.ts +21 -0
- package/plugins/agents/webtools/adapters/duckduckgo.js +168 -0
- package/plugins/agents/webtools/adapters/fake.d.ts +3 -0
- package/plugins/agents/webtools/adapters/fake.js +8 -0
- package/plugins/agents/webtools/adapters/serper.d.ts +2 -0
- package/plugins/agents/webtools/adapters/serper.js +30 -0
- package/plugins/agents/webtools/contract.d.ts +72 -0
- package/plugins/agents/webtools/contract.js +1 -0
- package/plugins/agents/webtools/mod.d.ts +55 -0
- package/plugins/agents/webtools/mod.js +75 -0
- package/plugins/agents/webtools/resources/tools.d.ts +2 -0
- package/plugins/agents/webtools/resources/tools.js +82 -0
- package/plugins/agents/webtools/shared/address.d.ts +9 -0
- package/plugins/agents/webtools/shared/address.js +112 -0
- package/plugins/agents/webtools/shared/read.d.ts +11 -0
- package/plugins/agents/webtools/shared/read.js +129 -0
- package/plugins/agents/webtools/shared/search.d.ts +15 -0
- package/plugins/agents/webtools/shared/search.js +54 -0
- package/plugins/agents/webtools/shared/settings.d.ts +20 -0
- package/plugins/agents/webtools/shared/settings.js +21 -0
- package/plugins/agents/webtools/shared/text.d.ts +15 -0
- package/plugins/agents/webtools/shared/text.js +88 -0
- package/plugins/billing/mod.d.ts +12 -0
- package/plugins/billing/mod.js +12 -0
- package/plugins/billing/terminal.d.ts +2 -0
- package/plugins/billing/terminal.js +2 -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.d.ts +1 -0
- package/plugins/billing/usage/actions/close.js +172 -0
- package/plugins/billing/usage/actions/org.d.ts +30 -0
- package/plugins/billing/usage/actions/org.js +64 -0
- package/plugins/billing/usage/actions/quote.d.ts +7 -0
- package/plugins/billing/usage/actions/quote.js +86 -0
- package/plugins/billing/usage/actions/record.d.ts +1 -0
- package/plugins/billing/usage/actions/record.js +25 -0
- package/plugins/billing/usage/actions/rerate.d.ts +1 -0
- package/plugins/billing/usage/actions/rerate.js +69 -0
- package/plugins/billing/usage/collections/closed.d.ts +65 -0
- package/plugins/billing/usage/collections/closed.js +22 -0
- package/plugins/billing/usage/collections/rollup.d.ts +203 -0
- package/plugins/billing/usage/collections/rollup.js +50 -0
- package/plugins/billing/usage/collections/usage.d.ts +218 -0
- package/plugins/billing/usage/collections/usage.js +75 -0
- package/plugins/billing/usage/mod.d.ts +61 -0
- package/plugins/billing/usage/mod.js +94 -0
- package/plugins/billing/usage/resources/commands.d.ts +3 -0
- package/plugins/billing/usage/resources/commands.js +21 -0
- package/plugins/billing/usage/resources/ledger.d.ts +3 -0
- package/plugins/billing/usage/resources/ledger.js +2 -0
- package/plugins/billing/usage/shared/categories.d.ts +24 -0
- package/plugins/billing/usage/shared/categories.js +40 -0
- package/plugins/billing/usage/shared/days.d.ts +17 -0
- package/plugins/billing/usage/shared/days.js +28 -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 +79 -0
- package/plugins/billing/usage/shared/rate.js +157 -0
- package/plugins/billing/usage/shared/settings.d.ts +34 -0
- package/plugins/billing/usage/shared/settings.js +18 -0
- package/plugins/billing/usage/shared/totals.d.ts +80 -0
- package/plugins/billing/usage/shared/totals.js +193 -0
- package/plugins/billing/usage/shared/use.d.ts +42 -0
- package/plugins/billing/usage/shared/use.js +51 -0
- package/plugins/billing/usage/terminal.d.ts +6 -0
- package/plugins/billing/usage/terminal.js +13 -0
- package/plugins/billing/usage/views/terminal/totals.d.ts +9 -0
- package/plugins/billing/usage/views/terminal/totals.js +48 -0
- package/plugins/billing/usage/views/web/chart.d.ts +31 -0
- package/plugins/billing/usage/views/web/chart.js +125 -0
- package/plugins/billing/usage/views/web/numbers.d.ts +167 -0
- package/plugins/billing/usage/views/web/numbers.js +330 -0
- package/plugins/billing/usage/views/web/org.d.ts +129 -0
- package/plugins/billing/usage/views/web/org.js +642 -0
- package/plugins/billing/usage/views/web/style.d.ts +12 -0
- package/plugins/billing/usage/views/web/style.js +199 -0
- package/plugins/billing/usage/views/web/words.d.ts +1 -0
- package/plugins/billing/usage/views/web/words.js +173 -0
- package/plugins/billing/usage/web.d.ts +14 -0
- package/plugins/billing/usage/web.js +22 -0
- package/plugins/billing/web.d.ts +2 -0
- package/plugins/billing/web.js +2 -0
- package/plugins/compute/computers/actions/admit.d.ts +1 -0
- package/plugins/compute/computers/actions/admit.js +62 -0
- package/plugins/compute/computers/actions/allow-origin.d.ts +5 -0
- package/plugins/compute/computers/actions/allow-origin.js +47 -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/claim-names.d.ts +1 -0
- package/plugins/compute/computers/actions/claim-names.js +25 -0
- package/plugins/compute/computers/actions/code.d.ts +1 -0
- package/plugins/compute/computers/actions/code.js +52 -0
- package/plugins/compute/computers/actions/connected.d.ts +1 -0
- package/plugins/compute/computers/actions/connected.js +43 -0
- package/plugins/compute/computers/actions/default.d.ts +1 -0
- package/plugins/compute/computers/actions/default.js +23 -0
- package/plugins/compute/computers/actions/domain.d.ts +4 -0
- package/plugins/compute/computers/actions/domain.js +121 -0
- package/plugins/compute/computers/actions/engine.d.ts +12 -0
- package/plugins/compute/computers/actions/engine.js +167 -0
- package/plugins/compute/computers/actions/engines.d.ts +16 -0
- package/plugins/compute/computers/actions/engines.js +133 -0
- package/plugins/compute/computers/actions/enrollment.d.ts +1 -0
- package/plugins/compute/computers/actions/enrollment.js +51 -0
- package/plugins/compute/computers/actions/env.d.ts +3 -0
- package/plugins/compute/computers/actions/env.js +137 -0
- package/plugins/compute/computers/actions/forget.d.ts +1 -0
- package/plugins/compute/computers/actions/forget.js +30 -0
- package/plugins/compute/computers/actions/gone.d.ts +1 -0
- package/plugins/compute/computers/actions/gone.js +12 -0
- 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.d.ts +1 -0
- package/plugins/compute/computers/actions/move.js +36 -0
- package/plugins/compute/computers/actions/prepare.d.ts +13 -0
- package/plugins/compute/computers/actions/prepare.js +98 -0
- package/plugins/compute/computers/actions/preview.d.ts +43 -0
- package/plugins/compute/computers/actions/preview.js +215 -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/publish.d.ts +3 -0
- package/plugins/compute/computers/actions/publish.js +71 -0
- package/plugins/compute/computers/actions/ready.d.ts +1 -0
- package/plugins/compute/computers/actions/ready.js +53 -0
- package/plugins/compute/computers/actions/rename.d.ts +1 -0
- package/plugins/compute/computers/actions/rename.js +22 -0
- 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.d.ts +1 -0
- package/plugins/compute/computers/actions/share.js +44 -0
- package/plugins/compute/computers/actions/unshare.d.ts +1 -0
- package/plugins/compute/computers/actions/unshare.js +27 -0
- package/plugins/compute/computers/actions/upgrade-asks.d.ts +1 -0
- package/plugins/compute/computers/actions/upgrade-asks.js +29 -0
- package/plugins/compute/computers/actions/upload.d.ts +1 -0
- package/plugins/compute/computers/actions/upload.js +35 -0
- package/plugins/compute/computers/actions/view.d.ts +1 -0
- package/plugins/compute/computers/actions/view.js +29 -0
- package/plugins/compute/computers/actions/watch.d.ts +7 -0
- package/plugins/compute/computers/actions/watch.js +159 -0
- package/plugins/compute/computers/actions/work.d.ts +1 -0
- package/plugins/compute/computers/actions/work.js +80 -0
- package/plugins/compute/computers/adapters/engine.d.ts +34 -0
- package/plugins/compute/computers/adapters/engine.js +297 -0
- package/plugins/compute/computers/collections/computer.d.ts +185 -0
- package/plugins/compute/computers/collections/computer.js +69 -0
- package/plugins/compute/computers/collections/desk.d.ts +182 -0
- package/plugins/compute/computers/collections/desk.js +63 -0
- package/plugins/compute/computers/collections/domain.d.ts +91 -0
- package/plugins/compute/computers/collections/domain.js +39 -0
- package/plugins/compute/computers/collections/enrollment.d.ts +64 -0
- package/plugins/compute/computers/collections/enrollment.js +22 -0
- package/plugins/compute/computers/collections/env-var.d.ts +115 -0
- package/plugins/compute/computers/collections/env-var.js +51 -0
- package/plugins/compute/computers/collections/job-watch.d.ts +141 -0
- package/plugins/compute/computers/collections/job-watch.js +39 -0
- package/plugins/compute/computers/collections/preview.d.ts +138 -0
- package/plugins/compute/computers/collections/preview.js +98 -0
- package/plugins/compute/computers/contract.d.ts +24 -0
- package/plugins/compute/computers/contract.js +12 -0
- package/plugins/compute/computers/mod.d.ts +68 -0
- package/plugins/compute/computers/mod.js +224 -0
- package/plugins/compute/computers/processors/left.d.ts +8 -0
- package/plugins/compute/computers/processors/left.js +31 -0
- package/plugins/compute/computers/program/agents/acp.d.ts +46 -0
- package/plugins/compute/computers/program/agents/acp.js +479 -0
- package/plugins/compute/computers/program/agents/claude.d.ts +4 -0
- package/plugins/compute/computers/program/agents/claude.js +439 -0
- package/plugins/compute/computers/program/agents/codex.d.ts +78 -0
- package/plugins/compute/computers/program/agents/codex.js +580 -0
- package/plugins/compute/computers/program/agents/cursor-runner.d.ts +28 -0
- package/plugins/compute/computers/program/agents/cursor-runner.js +228 -0
- package/plugins/compute/computers/program/agents/engines.d.ts +43 -0
- package/plugins/compute/computers/program/agents/engines.js +539 -0
- package/plugins/compute/computers/program/agents/grok.d.ts +2 -0
- package/plugins/compute/computers/program/agents/grok.js +296 -0
- package/plugins/compute/computers/program/agents/mcp.d.ts +28 -0
- package/plugins/compute/computers/program/agents/mcp.js +252 -0
- package/plugins/compute/computers/program/agents/permission.d.ts +11 -0
- package/plugins/compute/computers/program/agents/permission.js +46 -0
- package/plugins/compute/computers/program/agents/rpc.d.ts +37 -0
- package/plugins/compute/computers/program/agents/rpc.js +192 -0
- package/plugins/compute/computers/program/agents/steps.d.ts +68 -0
- package/plugins/compute/computers/program/agents/steps.js +146 -0
- package/plugins/compute/computers/program/agents/types.d.ts +153 -0
- package/plugins/compute/computers/program/agents/types.js +13 -0
- package/plugins/compute/computers/program/agents/write.d.ts +2 -0
- package/plugins/compute/computers/program/agents/write.js +13 -0
- package/plugins/compute/computers/program/browser/actions.d.ts +6 -0
- package/plugins/compute/computers/program/browser/actions.js +256 -0
- package/plugins/compute/computers/program/browser/async.d.ts +27 -0
- package/plugins/compute/computers/program/browser/async.js +65 -0
- package/plugins/compute/computers/program/browser/batch.d.ts +2 -0
- package/plugins/compute/computers/program/browser/batch.js +46 -0
- package/plugins/compute/computers/program/browser/cdp.d.ts +40 -0
- package/plugins/compute/computers/program/browser/cdp.js +151 -0
- package/plugins/compute/computers/program/browser/chrome.d.ts +64 -0
- package/plugins/compute/computers/program/browser/chrome.js +250 -0
- package/plugins/compute/computers/program/browser/control.d.ts +18 -0
- package/plugins/compute/computers/program/browser/control.js +65 -0
- package/plugins/compute/computers/program/browser/live.d.ts +95 -0
- package/plugins/compute/computers/program/browser/live.js +345 -0
- package/plugins/compute/computers/program/browser/math.d.ts +8 -0
- package/plugins/compute/computers/program/browser/math.js +38 -0
- package/plugins/compute/computers/program/browser/mod.d.ts +32 -0
- package/plugins/compute/computers/program/browser/mod.js +202 -0
- package/plugins/compute/computers/program/browser/page.d.ts +56 -0
- package/plugins/compute/computers/program/browser/page.js +346 -0
- package/plugins/compute/computers/program/browser/profile.d.ts +14 -0
- package/plugins/compute/computers/program/browser/profile.js +79 -0
- package/plugins/compute/computers/program/browser/refs.d.ts +35 -0
- package/plugins/compute/computers/program/browser/refs.js +79 -0
- package/plugins/compute/computers/program/browser/schema.d.ts +73 -0
- package/plugins/compute/computers/program/browser/schema.js +73 -0
- package/plugins/compute/computers/program/browser/session.d.ts +62 -0
- package/plugins/compute/computers/program/browser/session.js +294 -0
- package/plugins/compute/computers/program/browser/storage.d.ts +8 -0
- package/plugins/compute/computers/program/browser/storage.js +70 -0
- package/plugins/compute/computers/program/browser/types.d.ts +93 -0
- package/plugins/compute/computers/program/browser/types.js +1 -0
- package/plugins/compute/computers/program/computer.d.ts +72 -0
- package/plugins/compute/computers/program/computer.js +313 -0
- package/plugins/compute/computers/program/legacy-paths.d.ts +16 -0
- package/plugins/compute/computers/program/legacy-paths.js +33 -0
- package/plugins/compute/computers/program/mod.d.ts +8 -0
- package/plugins/compute/computers/program/mod.js +8 -0
- package/plugins/compute/computers/program/pool.d.ts +44 -0
- package/plugins/compute/computers/program/pool.js +387 -0
- package/plugins/compute/computers/program/release.d.ts +85 -0
- package/plugins/compute/computers/program/release.js +88 -0
- package/plugins/compute/computers/program/state.d.ts +78 -0
- package/plugins/compute/computers/program/state.js +212 -0
- package/plugins/compute/computers/program/update.d.ts +17 -0
- package/plugins/compute/computers/program/update.js +144 -0
- package/plugins/compute/computers/program/version.d.ts +2 -0
- package/plugins/compute/computers/program/version.js +2 -0
- package/plugins/compute/computers/program/workloads/agents.d.ts +32 -0
- package/plugins/compute/computers/program/workloads/agents.js +46 -0
- package/plugins/compute/computers/program/workloads/answer.d.ts +13 -0
- package/plugins/compute/computers/program/workloads/answer.js +29 -0
- package/plugins/compute/computers/program/workloads/archive.d.ts +6 -0
- package/plugins/compute/computers/program/workloads/archive.js +128 -0
- package/plugins/compute/computers/program/workloads/browser.d.ts +16 -0
- package/plugins/compute/computers/program/workloads/browser.js +17 -0
- package/plugins/compute/computers/program/workloads/files.d.ts +28 -0
- package/plugins/compute/computers/program/workloads/files.js +393 -0
- package/plugins/compute/computers/program/workloads/http.d.ts +26 -0
- package/plugins/compute/computers/program/workloads/http.js +169 -0
- package/plugins/compute/computers/program/workloads/info.d.ts +8 -0
- package/plugins/compute/computers/program/workloads/info.js +22 -0
- package/plugins/compute/computers/program/workloads/jobs.d.ts +54 -0
- package/plugins/compute/computers/program/workloads/jobs.js +403 -0
- package/plugins/compute/computers/program/workloads/ports.d.ts +5 -0
- package/plugins/compute/computers/program/workloads/ports.js +160 -0
- package/plugins/compute/computers/program/workloads/processes.d.ts +32 -0
- package/plugins/compute/computers/program/workloads/processes.js +121 -0
- package/plugins/compute/computers/program/workloads/search.d.ts +23 -0
- package/plugins/compute/computers/program/workloads/search.js +170 -0
- package/plugins/compute/computers/program/workloads/shell.d.ts +21 -0
- package/plugins/compute/computers/program/workloads/shell.js +140 -0
- package/plugins/compute/computers/program/workloads/sockets.d.ts +17 -0
- package/plugins/compute/computers/program/workloads/sockets.js +86 -0
- package/plugins/compute/computers/program/workloads/spaces.d.ts +13 -0
- package/plugins/compute/computers/program/workloads/spaces.js +47 -0
- package/plugins/compute/computers/program/workloads/streams.d.ts +20 -0
- package/plugins/compute/computers/program/workloads/streams.js +94 -0
- package/plugins/compute/computers/program/workloads/terminal.d.ts +30 -0
- package/plugins/compute/computers/program/workloads/terminal.js +388 -0
- package/plugins/compute/computers/resources/commands.d.ts +11 -0
- package/plugins/compute/computers/resources/commands.js +122 -0
- package/plugins/compute/computers/resources/downloads.d.ts +21 -0
- package/plugins/compute/computers/resources/downloads.js +122 -0
- package/plugins/compute/computers/resources/engines.d.ts +62 -0
- package/plugins/compute/computers/resources/engines.js +62 -0
- package/plugins/compute/computers/resources/preview-sockets.d.ts +28 -0
- package/plugins/compute/computers/resources/preview-sockets.js +86 -0
- package/plugins/compute/computers/resources/previews.d.ts +35 -0
- package/plugins/compute/computers/resources/previews.js +436 -0
- package/plugins/compute/computers/resources/tools.d.ts +8 -0
- package/plugins/compute/computers/resources/tools.js +705 -0
- package/plugins/compute/computers/routes/upload.d.ts +30 -0
- package/plugins/compute/computers/routes/upload.js +169 -0
- package/plugins/compute/computers/shared/ask.d.ts +63 -0
- package/plugins/compute/computers/shared/ask.js +73 -0
- package/plugins/compute/computers/shared/browser.d.ts +106 -0
- package/plugins/compute/computers/shared/browser.js +89 -0
- package/plugins/compute/computers/shared/claims.d.ts +26 -0
- package/plugins/compute/computers/shared/claims.js +3 -0
- package/plugins/compute/computers/shared/cost.d.ts +58 -0
- package/plugins/compute/computers/shared/cost.js +70 -0
- package/plugins/compute/computers/shared/desks.d.ts +28 -0
- package/plugins/compute/computers/shared/desks.js +88 -0
- package/plugins/compute/computers/shared/domains.d.ts +52 -0
- package/plugins/compute/computers/shared/domains.js +123 -0
- package/plugins/compute/computers/shared/engines.d.ts +87 -0
- package/plugins/compute/computers/shared/engines.js +147 -0
- package/plugins/compute/computers/shared/env.d.ts +20 -0
- package/plugins/compute/computers/shared/env.js +50 -0
- package/plugins/compute/computers/shared/failed.d.ts +3 -0
- package/plugins/compute/computers/shared/failed.js +6 -0
- package/plugins/compute/computers/shared/folder.d.ts +4 -0
- package/plugins/compute/computers/shared/folder.js +13 -0
- package/plugins/compute/computers/shared/hosts.d.ts +14 -0
- package/plugins/compute/computers/shared/hosts.js +92 -0
- package/plugins/compute/computers/shared/install.d.ts +8 -0
- package/plugins/compute/computers/shared/install.js +8 -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/pool.d.ts +54 -0
- package/plugins/compute/computers/shared/pool.js +25 -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/publish.d.ts +40 -0
- package/plugins/compute/computers/shared/publish.js +116 -0
- package/plugins/compute/computers/shared/seal.d.ts +4 -0
- package/plugins/compute/computers/shared/seal.js +68 -0
- package/plugins/compute/computers/shared/secret.d.ts +8 -0
- package/plugins/compute/computers/shared/secret.js +24 -0
- package/plugins/compute/computers/shared/served.d.ts +33 -0
- package/plugins/compute/computers/shared/served.js +61 -0
- package/plugins/compute/computers/shared/serving.d.ts +19 -0
- package/plugins/compute/computers/shared/serving.js +15 -0
- package/plugins/compute/computers/shared/settings.d.ts +87 -0
- package/plugins/compute/computers/shared/settings.js +38 -0
- package/plugins/compute/computers/shared/sockets.d.ts +67 -0
- package/plugins/compute/computers/shared/sockets.js +296 -0
- package/plugins/compute/computers/shared/streams.d.ts +13 -0
- package/plugins/compute/computers/shared/streams.js +36 -0
- package/plugins/compute/computers/shared/update.d.ts +29 -0
- package/plugins/compute/computers/shared/update.js +39 -0
- package/plugins/compute/computers/shared/upgrade.d.ts +42 -0
- package/plugins/compute/computers/shared/upgrade.js +44 -0
- package/plugins/compute/computers/shared/wake.d.ts +96 -0
- package/plugins/compute/computers/shared/wake.js +139 -0
- package/plugins/compute/computers/shared/where.d.ts +49 -0
- package/plugins/compute/computers/shared/where.js +108 -0
- package/plugins/compute/computers/shared/workloads.d.ts +527 -0
- package/plugins/compute/computers/shared/workloads.js +68 -0
- package/plugins/compute/computers/terminal.d.ts +8 -0
- package/plugins/compute/computers/terminal.js +13 -0
- package/plugins/compute/computers/views/context.d.ts +14 -0
- package/plugins/compute/computers/views/context.js +140 -0
- 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 +55 -0
- package/plugins/compute/computers/views/web/asked.js +75 -0
- package/plugins/compute/computers/views/web/asks.d.ts +17 -0
- package/plugins/compute/computers/views/web/asks.js +22 -0
- package/plugins/compute/computers/views/web/calls.d.ts +38 -0
- package/plugins/compute/computers/views/web/calls.js +60 -0
- package/plugins/compute/computers/views/web/computer.d.ts +17 -0
- package/plugins/compute/computers/views/web/computer.js +45 -0
- package/plugins/compute/computers/views/web/connect-flow.d.ts +45 -0
- package/plugins/compute/computers/views/web/connect-flow.js +245 -0
- package/plugins/compute/computers/views/web/connect-lines.d.ts +90 -0
- package/plugins/compute/computers/views/web/connect-lines.js +111 -0
- package/plugins/compute/computers/views/web/connect.d.ts +44 -0
- package/plugins/compute/computers/views/web/connect.js +205 -0
- package/plugins/compute/computers/views/web/cost.d.ts +25 -0
- package/plugins/compute/computers/views/web/cost.js +56 -0
- package/plugins/compute/computers/views/web/desks.d.ts +48 -0
- package/plugins/compute/computers/views/web/desks.js +237 -0
- package/plugins/compute/computers/views/web/diff.d.ts +15 -0
- package/plugins/compute/computers/views/web/diff.js +66 -0
- 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/file-view.d.ts +27 -0
- package/plugins/compute/computers/views/web/file-view.js +147 -0
- package/plugins/compute/computers/views/web/files.d.ts +37 -0
- package/plugins/compute/computers/views/web/files.js +223 -0
- package/plugins/compute/computers/views/web/jobs.d.ts +39 -0
- package/plugins/compute/computers/views/web/jobs.js +215 -0
- package/plugins/compute/computers/views/web/kinds.d.ts +112 -0
- package/plugins/compute/computers/views/web/kinds.js +37 -0
- package/plugins/compute/computers/views/web/mark.d.ts +11 -0
- package/plugins/compute/computers/views/web/mark.js +5 -0
- package/plugins/compute/computers/views/web/move.d.ts +16 -0
- package/plugins/compute/computers/views/web/move.js +10 -0
- package/plugins/compute/computers/views/web/names.d.ts +39 -0
- package/plugins/compute/computers/views/web/names.js +49 -0
- package/plugins/compute/computers/views/web/page.d.ts +38 -0
- package/plugins/compute/computers/views/web/page.js +91 -0
- package/plugins/compute/computers/views/web/palette.d.ts +11 -0
- package/plugins/compute/computers/views/web/palette.js +33 -0
- package/plugins/compute/computers/views/web/plan-card.d.ts +28 -0
- package/plugins/compute/computers/views/web/plan-card.js +58 -0
- package/plugins/compute/computers/views/web/plan-shared.d.ts +11 -0
- package/plugins/compute/computers/views/web/plan-shared.js +7 -0
- package/plugins/compute/computers/views/web/plan-states.d.ts +196 -0
- package/plugins/compute/computers/views/web/plan-states.js +271 -0
- package/plugins/compute/computers/views/web/plans-data.d.ts +29 -0
- package/plugins/compute/computers/views/web/plans-data.js +55 -0
- package/plugins/compute/computers/views/web/plans-palette.d.ts +10 -0
- package/plugins/compute/computers/views/web/plans-palette.js +36 -0
- package/plugins/compute/computers/views/web/plans.d.ts +19 -0
- package/plugins/compute/computers/views/web/plans.js +76 -0
- package/plugins/compute/computers/views/web/platform.d.ts +8 -0
- package/plugins/compute/computers/views/web/platform.js +58 -0
- 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/publish.d.ts +25 -0
- package/plugins/compute/computers/views/web/publish.js +114 -0
- package/plugins/compute/computers/views/web/routine-panel.d.ts +14 -0
- package/plugins/compute/computers/views/web/routine-panel.js +98 -0
- package/plugins/compute/computers/views/web/serve.d.ts +48 -0
- package/plugins/compute/computers/views/web/serve.js +180 -0
- package/plugins/compute/computers/views/web/shell.d.ts +34 -0
- package/plugins/compute/computers/views/web/shell.js +87 -0
- package/plugins/compute/computers/views/web/space-tab.d.ts +17 -0
- package/plugins/compute/computers/views/web/space-tab.js +87 -0
- package/plugins/compute/computers/views/web/step.d.ts +16 -0
- package/plugins/compute/computers/views/web/step.js +276 -0
- package/plugins/compute/computers/views/web/style.d.ts +10 -0
- package/plugins/compute/computers/views/web/style.js +669 -0
- package/plugins/compute/computers/views/web/terminal-tab.d.ts +21 -0
- package/plugins/compute/computers/views/web/terminal-tab.js +18 -0
- package/plugins/compute/computers/views/web/transfer.d.ts +18 -0
- package/plugins/compute/computers/views/web/transfer.js +42 -0
- package/plugins/compute/computers/views/web/upload-tray.d.ts +70 -0
- package/plugins/compute/computers/views/web/upload-tray.js +249 -0
- package/plugins/compute/computers/views/web/uploads.d.ts +184 -0
- package/plugins/compute/computers/views/web/uploads.js +425 -0
- package/plugins/compute/computers/views/web/welcome.d.ts +18 -0
- package/plugins/compute/computers/views/web/welcome.js +51 -0
- package/plugins/compute/computers/views/web/words.d.ts +1 -0
- package/plugins/compute/computers/views/web/words.js +265 -0
- package/plugins/compute/computers/views/web/workspace.d.ts +46 -0
- package/plugins/compute/computers/views/web/workspace.js +142 -0
- package/plugins/compute/computers/views/web/yours.d.ts +11 -0
- package/plugins/compute/computers/views/web/yours.js +33 -0
- package/plugins/compute/computers/web.d.ts +44 -0
- package/plugins/compute/computers/web.js +123 -0
- package/plugins/compute/contract.d.ts +6 -0
- package/plugins/compute/contract.js +6 -0
- package/plugins/compute/google.d.ts +75 -0
- package/plugins/compute/google.js +218 -0
- package/plugins/compute/mod.d.ts +4 -0
- package/plugins/compute/mod.js +4 -0
- package/plugins/compute/web.d.ts +9 -0
- package/plugins/compute/web.js +9 -0
- package/plugins/interfaces/api/actions/create.d.ts +1 -0
- package/plugins/interfaces/api/actions/create.js +89 -0
- package/plugins/interfaces/api/actions/revoke.d.ts +2 -0
- package/plugins/interfaces/api/actions/revoke.js +45 -0
- package/plugins/interfaces/api/collections/key.d.ts +205 -0
- package/plugins/interfaces/api/collections/key.js +73 -0
- package/plugins/interfaces/api/contract.d.ts +33 -0
- package/plugins/interfaces/api/contract.js +1 -0
- package/plugins/interfaces/api/mod.d.ts +32 -0
- package/plugins/interfaces/api/mod.js +55 -0
- package/plugins/interfaces/api/processors/left.d.ts +7 -0
- package/plugins/interfaces/api/processors/left.js +19 -0
- package/plugins/interfaces/api/resources/presets.d.ts +9 -0
- package/plugins/interfaces/api/resources/presets.js +17 -0
- package/plugins/interfaces/api/shared/actor.d.ts +30 -0
- package/plugins/interfaces/api/shared/actor.js +34 -0
- package/plugins/interfaces/api/shared/end.d.ts +9 -0
- package/plugins/interfaces/api/shared/end.js +10 -0
- package/plugins/interfaces/api/shared/rules.d.ts +10 -0
- package/plugins/interfaces/api/shared/rules.js +24 -0
- package/plugins/interfaces/api/shared/secret.d.ts +7 -0
- package/plugins/interfaces/api/shared/secret.js +11 -0
- package/plugins/interfaces/api/views/web/catalog.d.ts +24 -0
- package/plugins/interfaces/api/views/web/catalog.js +43 -0
- package/plugins/interfaces/api/views/web/create.d.ts +23 -0
- package/plugins/interfaces/api/views/web/create.js +138 -0
- package/plugins/interfaces/api/views/web/keys.d.ts +30 -0
- package/plugins/interfaces/api/views/web/keys.js +88 -0
- package/plugins/interfaces/api/views/web/members.d.ts +13 -0
- package/plugins/interfaces/api/views/web/members.js +35 -0
- package/plugins/interfaces/api/views/web/palette.d.ts +9 -0
- package/plugins/interfaces/api/views/web/palette.js +17 -0
- package/plugins/interfaces/api/views/web/reference.d.ts +11 -0
- package/plugins/interfaces/api/views/web/reference.js +36 -0
- package/plugins/interfaces/api/views/web/snippet.d.ts +31 -0
- package/plugins/interfaces/api/views/web/snippet.js +66 -0
- package/plugins/interfaces/api/views/web/style.d.ts +8 -0
- package/plugins/interfaces/api/views/web/style.js +134 -0
- package/plugins/interfaces/api/web.d.ts +17 -0
- package/plugins/interfaces/api/web.js +33 -0
- package/plugins/interfaces/contract.d.ts +16 -0
- package/plugins/interfaces/contract.js +14 -0
- package/plugins/interfaces/maintenance/actions/read.d.ts +4 -0
- package/plugins/interfaces/maintenance/actions/read.js +76 -0
- package/plugins/interfaces/maintenance/actions/write.d.ts +4 -0
- package/plugins/interfaces/maintenance/actions/write.js +64 -0
- package/plugins/interfaces/maintenance/contract.d.ts +64 -0
- package/plugins/interfaces/maintenance/contract.js +2 -0
- package/plugins/interfaces/maintenance/mod.d.ts +57 -0
- package/plugins/interfaces/maintenance/mod.js +69 -0
- package/plugins/interfaces/maintenance/resources/routes.d.ts +65 -0
- package/plugins/interfaces/maintenance/resources/routes.js +471 -0
- package/plugins/interfaces/maintenance/shared/ops.d.ts +4 -0
- package/plugins/interfaces/maintenance/shared/ops.js +19 -0
- package/plugins/interfaces/mcp/actions/call.d.ts +15 -0
- package/plugins/interfaces/mcp/actions/call.js +392 -0
- package/plugins/interfaces/mcp/actions/conversation.d.ts +1 -0
- package/plugins/interfaces/mcp/actions/conversation.js +49 -0
- package/plugins/interfaces/mcp/actions/prune.d.ts +1 -0
- package/plugins/interfaces/mcp/actions/prune.js +20 -0
- package/plugins/interfaces/mcp/actions/public.d.ts +8 -0
- package/plugins/interfaces/mcp/actions/public.js +81 -0
- package/plugins/interfaces/mcp/collections/closed.d.ts +16 -0
- package/plugins/interfaces/mcp/collections/closed.js +17 -0
- package/plugins/interfaces/mcp/collections/opening.d.ts +17 -0
- package/plugins/interfaces/mcp/collections/opening.js +28 -0
- package/plugins/interfaces/mcp/collections/rate.d.ts +20 -0
- package/plugins/interfaces/mcp/collections/rate.js +18 -0
- package/plugins/interfaces/mcp/collections/receipt.d.ts +39 -0
- package/plugins/interfaces/mcp/collections/receipt.js +46 -0
- package/plugins/interfaces/mcp/contract.d.ts +8 -0
- package/plugins/interfaces/mcp/contract.js +8 -0
- package/plugins/interfaces/mcp/mod.d.ts +145 -0
- package/plugins/interfaces/mcp/mod.js +196 -0
- package/plugins/interfaces/mcp/processors/closed.d.ts +13 -0
- package/plugins/interfaces/mcp/processors/closed.js +16 -0
- package/plugins/interfaces/mcp/resources/limits.d.ts +38 -0
- package/plugins/interfaces/mcp/resources/limits.js +77 -0
- package/plugins/interfaces/mcp/resources/public.d.ts +45 -0
- package/plugins/interfaces/mcp/resources/public.js +99 -0
- package/plugins/interfaces/mcp/resources/running.d.ts +21 -0
- package/plugins/interfaces/mcp/resources/running.js +36 -0
- package/plugins/interfaces/mcp/resources/server.d.ts +60 -0
- package/plugins/interfaces/mcp/resources/server.js +643 -0
- package/plugins/interfaces/mcp/resources/tools.d.ts +183 -0
- package/plugins/interfaces/mcp/resources/tools.js +432 -0
- package/plugins/interfaces/mcp/resources/widgets.d.ts +161 -0
- package/plugins/interfaces/mcp/resources/widgets.js +247 -0
- package/plugins/interfaces/mcp/shared/keys.d.ts +56 -0
- package/plugins/interfaces/mcp/shared/keys.js +99 -0
- package/plugins/interfaces/mcp/shared/settings.d.ts +244 -0
- package/plugins/interfaces/mcp/shared/settings.js +243 -0
- package/plugins/interfaces/mcp/shared/shown.d.ts +20 -0
- package/plugins/interfaces/mcp/shared/shown.js +31 -0
- package/plugins/interfaces/mcp/views/offered.d.ts +19 -0
- package/plugins/interfaces/mcp/views/offered.js +20 -0
- package/plugins/interfaces/mod.d.ts +13 -0
- package/plugins/interfaces/mod.js +13 -0
- package/plugins/interfaces/push/actions/send.d.ts +4 -0
- package/plugins/interfaces/push/actions/send.js +61 -0
- package/plugins/interfaces/push/actions/subscribe.d.ts +3 -0
- package/plugins/interfaces/push/actions/subscribe.js +95 -0
- package/plugins/interfaces/push/collections/looking.d.ts +32 -0
- package/plugins/interfaces/push/collections/looking.js +20 -0
- package/plugins/interfaces/push/collections/subscription.d.ts +58 -0
- package/plugins/interfaces/push/collections/subscription.js +40 -0
- package/plugins/interfaces/push/contract.d.ts +34 -0
- package/plugins/interfaces/push/contract.js +6 -0
- package/plugins/interfaces/push/mod.d.ts +36 -0
- package/plugins/interfaces/push/mod.js +68 -0
- package/plugins/interfaces/push/processors/notify.d.ts +20 -0
- package/plugins/interfaces/push/processors/notify.js +58 -0
- package/plugins/interfaces/push/shared/deliver.d.ts +20 -0
- package/plugins/interfaces/push/shared/deliver.js +68 -0
- package/plugins/interfaces/push/shared/rules.d.ts +7 -0
- package/plugins/interfaces/push/shared/rules.js +19 -0
- package/plugins/interfaces/push/shared/settings.d.ts +12 -0
- package/plugins/interfaces/push/shared/settings.js +12 -0
- package/plugins/interfaces/push/shared/webpush.d.ts +42 -0
- package/plugins/interfaces/push/shared/webpush.js +111 -0
- package/plugins/interfaces/push/views/web/notifications.d.ts +17 -0
- package/plugins/interfaces/push/views/web/notifications.js +99 -0
- package/plugins/interfaces/push/views/web/words.d.ts +1 -0
- package/plugins/interfaces/push/views/web/words.js +26 -0
- package/plugins/interfaces/push/web.d.ts +12 -0
- package/plugins/interfaces/push/web.js +22 -0
- package/plugins/interfaces/terminal/actions/print.d.ts +1 -0
- package/plugins/interfaces/terminal/actions/print.js +30 -0
- package/plugins/interfaces/terminal/actions/set.d.ts +1 -0
- package/plugins/interfaces/terminal/actions/set.js +38 -0
- package/plugins/interfaces/terminal/collections/output.d.ts +36 -0
- package/plugins/interfaces/terminal/collections/output.js +21 -0
- package/plugins/interfaces/terminal/collections/shell.d.ts +42 -0
- package/plugins/interfaces/terminal/collections/shell.js +30 -0
- package/plugins/interfaces/terminal/mod.d.ts +13 -0
- package/plugins/interfaces/terminal/mod.js +21 -0
- package/plugins/interfaces/terminal/terminal.d.ts +18 -0
- package/plugins/interfaces/terminal/terminal.js +30 -0
- package/plugins/interfaces/terminal/views/default.d.ts +1 -0
- package/plugins/interfaces/terminal/views/default.js +23 -0
- package/plugins/interfaces/terminal/views/prompt.d.ts +7 -0
- package/plugins/interfaces/terminal/views/prompt.js +5 -0
- package/plugins/interfaces/terminal/views/shell.d.ts +5 -0
- package/plugins/interfaces/terminal/views/shell.js +32 -0
- package/plugins/interfaces/voice/actions/block.d.ts +2 -0
- package/plugins/interfaces/voice/actions/block.js +74 -0
- package/plugins/interfaces/voice/actions/call.d.ts +19 -0
- package/plugins/interfaces/voice/actions/call.js +253 -0
- package/plugins/interfaces/voice/actions/prune.d.ts +1 -0
- package/plugins/interfaces/voice/actions/prune.js +43 -0
- package/plugins/interfaces/voice/actions/ring.d.ts +6 -0
- package/plugins/interfaces/voice/actions/ring.js +165 -0
- package/plugins/interfaces/voice/collections/blocked.d.ts +80 -0
- package/plugins/interfaces/voice/collections/blocked.js +34 -0
- package/plugins/interfaces/voice/collections/call.d.ts +272 -0
- package/plugins/interfaces/voice/collections/call.js +77 -0
- package/plugins/interfaces/voice/collections/phone.d.ts +67 -0
- package/plugins/interfaces/voice/collections/phone.js +26 -0
- package/plugins/interfaces/voice/contract.d.ts +14 -0
- package/plugins/interfaces/voice/contract.js +2 -0
- package/plugins/interfaces/voice/mod.d.ts +56 -0
- package/plugins/interfaces/voice/mod.js +124 -0
- package/plugins/interfaces/voice/processors/forget.d.ts +13 -0
- package/plugins/interfaces/voice/processors/forget.js +27 -0
- package/plugins/interfaces/voice/resources/tools.d.ts +1 -0
- package/plugins/interfaces/voice/resources/tools.js +27 -0
- package/plugins/interfaces/voice/routes/hook.d.ts +21 -0
- package/plugins/interfaces/voice/routes/hook.js +114 -0
- package/plugins/interfaces/voice/routes/relay.d.ts +69 -0
- package/plugins/interfaces/voice/routes/relay.js +437 -0
- package/plugins/interfaces/voice/shared/caller.d.ts +27 -0
- package/plugins/interfaces/voice/shared/caller.js +38 -0
- package/plugins/interfaces/voice/shared/settings.d.ts +128 -0
- package/plugins/interfaces/voice/shared/settings.js +115 -0
- package/plugins/interfaces/voice/shared/signature.d.ts +11 -0
- package/plugins/interfaces/voice/shared/signature.js +34 -0
- package/plugins/interfaces/voice/views/call.d.ts +48 -0
- package/plugins/interfaces/voice/views/call.js +42 -0
- package/plugins/interfaces/voice/views/context.d.ts +9 -0
- package/plugins/interfaces/voice/views/context.js +14 -0
- package/plugins/interfaces/voice/views/message.d.ts +17 -0
- package/plugins/interfaces/voice/views/message.js +41 -0
- package/plugins/interfaces/web/actions/arrive.d.ts +1 -0
- package/plugins/interfaces/web/actions/arrive.js +104 -0
- package/plugins/interfaces/web/actions/prune.d.ts +1 -0
- package/plugins/interfaces/web/actions/prune.js +51 -0
- package/plugins/interfaces/web/actions/sending.d.ts +1 -0
- package/plugins/interfaces/web/actions/sending.js +226 -0
- package/plugins/interfaces/web/actions/spent.d.ts +2 -0
- package/plugins/interfaces/web/actions/spent.js +59 -0
- package/plugins/interfaces/web/collections/rate.d.ts +115 -0
- package/plugins/interfaces/web/collections/rate.js +37 -0
- package/plugins/interfaces/web/collections/visitor.d.ts +103 -0
- package/plugins/interfaces/web/collections/visitor.js +69 -0
- package/plugins/interfaces/web/contract.d.ts +32 -0
- package/plugins/interfaces/web/contract.js +3 -0
- package/plugins/interfaces/web/lines.d.ts +35 -0
- package/plugins/interfaces/web/lines.js +83 -0
- package/plugins/interfaces/web/mod.d.ts +79 -0
- package/plugins/interfaces/web/mod.js +81 -0
- package/plugins/interfaces/web/processors/forget.d.ts +10 -0
- package/plugins/interfaces/web/processors/forget.js +14 -0
- package/plugins/interfaces/web/resources/spend.d.ts +2 -0
- package/plugins/interfaces/web/resources/spend.js +68 -0
- package/plugins/interfaces/web/routes/arrive.d.ts +20 -0
- package/plugins/interfaces/web/routes/arrive.js +92 -0
- package/plugins/interfaces/web/shared/budget.d.ts +65 -0
- package/plugins/interfaces/web/shared/budget.js +134 -0
- package/plugins/interfaces/web/shared/lines.d.ts +147 -0
- package/plugins/interfaces/web/shared/lines.js +147 -0
- package/plugins/interfaces/web/shared/menu.d.ts +14 -0
- package/plugins/interfaces/web/shared/menu.js +4 -0
- package/plugins/interfaces/web/shared/orgs.d.ts +98 -0
- package/plugins/interfaces/web/shared/orgs.js +72 -0
- package/plugins/interfaces/web/shared/palette.d.ts +36 -0
- package/plugins/interfaces/web/shared/palette.js +30 -0
- package/plugins/interfaces/web/shared/panel.d.ts +28 -0
- package/plugins/interfaces/web/shared/panel.js +29 -0
- package/plugins/interfaces/web/shared/secret.d.ts +33 -0
- package/plugins/interfaces/web/shared/secret.js +86 -0
- package/plugins/interfaces/web/shared/sidebar.d.ts +22 -0
- package/plugins/interfaces/web/shared/sidebar.js +29 -0
- package/plugins/interfaces/web/shared/standing.d.ts +7 -0
- package/plugins/interfaces/web/shared/standing.js +36 -0
- package/plugins/interfaces/web/shared/style.d.ts +23 -0
- package/plugins/interfaces/web/shared/style.js +130 -0
- package/plugins/interfaces/web/views/default.d.ts +10 -0
- package/plugins/interfaces/web/views/default.js +28 -0
- package/plugins/interfaces/web/views/frame.d.ts +76 -0
- package/plugins/interfaces/web/views/frame.js +171 -0
- package/plugins/interfaces/web/views/me.d.ts +27 -0
- package/plugins/interfaces/web/views/me.js +94 -0
- package/plugins/interfaces/web/views/panel.d.ts +42 -0
- package/plugins/interfaces/web/views/panel.js +62 -0
- package/plugins/interfaces/web/views/rail.d.ts +41 -0
- package/plugins/interfaces/web/views/rail.js +55 -0
- package/plugins/interfaces/web/views/shell.d.ts +32 -0
- package/plugins/interfaces/web/views/shell.js +54 -0
- package/plugins/interfaces/web/views/words.d.ts +1 -0
- package/plugins/interfaces/web/views/words.js +60 -0
- package/plugins/interfaces/web.d.ts +5 -0
- package/plugins/interfaces/web.js +5 -0
- package/plugins/interfaces/whatsapp/actions/connect.d.ts +17 -0
- package/plugins/interfaces/whatsapp/actions/connect.js +123 -0
- package/plugins/interfaces/whatsapp/actions/disconnect.d.ts +2 -0
- package/plugins/interfaces/whatsapp/actions/disconnect.js +58 -0
- package/plugins/interfaces/whatsapp/actions/hook.d.ts +10 -0
- package/plugins/interfaces/whatsapp/actions/hook.js +125 -0
- package/plugins/interfaces/whatsapp/actions/link.d.ts +3 -0
- package/plugins/interfaces/whatsapp/actions/link.js +90 -0
- package/plugins/interfaces/whatsapp/actions/set.d.ts +8 -0
- package/plugins/interfaces/whatsapp/actions/set.js +152 -0
- package/plugins/interfaces/whatsapp/actions/template.d.ts +1 -0
- package/plugins/interfaces/whatsapp/actions/template.js +89 -0
- package/plugins/interfaces/whatsapp/collections/blocked.d.ts +22 -0
- package/plugins/interfaces/whatsapp/collections/blocked.js +22 -0
- package/plugins/interfaces/whatsapp/collections/code.d.ts +71 -0
- package/plugins/interfaces/whatsapp/collections/code.js +27 -0
- package/plugins/interfaces/whatsapp/collections/number.d.ts +267 -0
- package/plugins/interfaces/whatsapp/collections/number.js +84 -0
- package/plugins/interfaces/whatsapp/collections/phone.d.ts +160 -0
- package/plugins/interfaces/whatsapp/collections/phone.js +55 -0
- package/plugins/interfaces/whatsapp/collections/rate.d.ts +20 -0
- package/plugins/interfaces/whatsapp/collections/rate.js +13 -0
- package/plugins/interfaces/whatsapp/collections/secret.d.ts +57 -0
- package/plugins/interfaces/whatsapp/collections/secret.js +25 -0
- package/plugins/interfaces/whatsapp/collections/sent.d.ts +73 -0
- package/plugins/interfaces/whatsapp/collections/sent.js +28 -0
- package/plugins/interfaces/whatsapp/collections/template.d.ts +89 -0
- package/plugins/interfaces/whatsapp/collections/template.js +30 -0
- package/plugins/interfaces/whatsapp/collections/thread.d.ts +67 -0
- package/plugins/interfaces/whatsapp/collections/thread.js +21 -0
- package/plugins/interfaces/whatsapp/collections/typing.d.ts +63 -0
- package/plugins/interfaces/whatsapp/collections/typing.js +21 -0
- package/plugins/interfaces/whatsapp/contract.d.ts +44 -0
- package/plugins/interfaces/whatsapp/contract.js +41 -0
- package/plugins/interfaces/whatsapp/events/received.d.ts +7 -0
- package/plugins/interfaces/whatsapp/events/received.js +17 -0
- package/plugins/interfaces/whatsapp/events/undelivered.d.ts +8 -0
- package/plugins/interfaces/whatsapp/events/undelivered.js +17 -0
- package/plugins/interfaces/whatsapp/mod.d.ts +83 -0
- package/plugins/interfaces/whatsapp/mod.js +186 -0
- package/plugins/interfaces/whatsapp/processors/forget.d.ts +7 -0
- package/plugins/interfaces/whatsapp/processors/forget.js +17 -0
- package/plugins/interfaces/whatsapp/processors/receive.d.ts +42 -0
- package/plugins/interfaces/whatsapp/processors/receive.js +434 -0
- package/plugins/interfaces/whatsapp/processors/reply.d.ts +49 -0
- package/plugins/interfaces/whatsapp/processors/reply.js +358 -0
- package/plugins/interfaces/whatsapp/processors/typing.d.ts +8 -0
- package/plugins/interfaces/whatsapp/processors/typing.js +25 -0
- package/plugins/interfaces/whatsapp/routes/hook.d.ts +16 -0
- package/plugins/interfaces/whatsapp/routes/hook.js +52 -0
- package/plugins/interfaces/whatsapp/shared/commands.d.ts +27 -0
- package/plugins/interfaces/whatsapp/shared/commands.js +43 -0
- package/plugins/interfaces/whatsapp/shared/customers.d.ts +13 -0
- package/plugins/interfaces/whatsapp/shared/customers.js +16 -0
- package/plugins/interfaces/whatsapp/shared/graph.d.ts +79 -0
- package/plugins/interfaces/whatsapp/shared/graph.js +202 -0
- package/plugins/interfaces/whatsapp/shared/media.d.ts +24 -0
- package/plugins/interfaces/whatsapp/shared/media.js +49 -0
- package/plugins/interfaces/whatsapp/shared/number.d.ts +39 -0
- package/plugins/interfaces/whatsapp/shared/number.js +115 -0
- package/plugins/interfaces/whatsapp/shared/parts.d.ts +94 -0
- package/plugins/interfaces/whatsapp/shared/parts.js +184 -0
- package/plugins/interfaces/whatsapp/shared/payload.d.ts +102 -0
- package/plugins/interfaces/whatsapp/shared/payload.js +129 -0
- package/plugins/interfaces/whatsapp/shared/rules.d.ts +11 -0
- package/plugins/interfaces/whatsapp/shared/rules.js +17 -0
- package/plugins/interfaces/whatsapp/shared/settings.d.ts +98 -0
- package/plugins/interfaces/whatsapp/shared/settings.js +11 -0
- package/plugins/interfaces/whatsapp/shared/signature.d.ts +11 -0
- package/plugins/interfaces/whatsapp/shared/signature.js +28 -0
- package/plugins/interfaces/whatsapp/shared/template.d.ts +48 -0
- package/plugins/interfaces/whatsapp/shared/template.js +117 -0
- package/plugins/interfaces/whatsapp/shared/text.d.ts +16 -0
- package/plugins/interfaces/whatsapp/shared/text.js +88 -0
- package/plugins/interfaces/whatsapp/views/message.d.ts +13 -0
- package/plugins/interfaces/whatsapp/views/message.js +13 -0
- package/plugins/interfaces/whatsapp/views/web/connect.d.ts +45 -0
- package/plugins/interfaces/whatsapp/views/web/connect.js +136 -0
- package/plugins/interfaces/whatsapp/views/web/line.d.ts +24 -0
- package/plugins/interfaces/whatsapp/views/web/line.js +44 -0
- package/plugins/interfaces/whatsapp/views/web/palette.d.ts +10 -0
- package/plugins/interfaces/whatsapp/views/web/palette.js +26 -0
- package/plugins/interfaces/whatsapp/views/web/phone.d.ts +25 -0
- package/plugins/interfaces/whatsapp/views/web/phone.js +60 -0
- package/plugins/interfaces/whatsapp/views/web/space.d.ts +17 -0
- package/plugins/interfaces/whatsapp/views/web/space.js +98 -0
- package/plugins/interfaces/whatsapp/views/web/style.d.ts +7 -0
- package/plugins/interfaces/whatsapp/views/web/style.js +84 -0
- package/plugins/interfaces/whatsapp/views/web/words.d.ts +15 -0
- package/plugins/interfaces/whatsapp/views/web/words.js +26 -0
- package/plugins/interfaces/whatsapp/web.d.ts +15 -0
- package/plugins/interfaces/whatsapp/web.js +37 -0
- package/plugins/models/actions/check.d.ts +2 -0
- package/plugins/models/actions/check.js +64 -0
- package/plugins/models/actions/embed.d.ts +1 -0
- package/plugins/models/actions/embed.js +22 -0
- package/plugins/models/actions/generate.d.ts +1 -0
- package/plugins/models/actions/generate.js +28 -0
- package/plugins/models/actions/image.d.ts +1 -0
- package/plugins/models/actions/image.js +46 -0
- package/plugins/models/actions/offered.d.ts +43 -0
- package/plugins/models/actions/offered.js +313 -0
- package/plugins/models/actions/price.d.ts +1 -0
- package/plugins/models/actions/price.js +23 -0
- package/plugins/models/actions/stream.d.ts +1 -0
- package/plugins/models/actions/stream.js +27 -0
- package/plugins/models/actions/test.d.ts +2 -0
- package/plugins/models/actions/test.js +44 -0
- package/plugins/models/actions/transcribe.d.ts +1 -0
- package/plugins/models/actions/transcribe.js +27 -0
- package/plugins/models/adapters/embeddings/hash.d.ts +7 -0
- package/plugins/models/adapters/embeddings/hash.js +24 -0
- package/plugins/models/adapters/embeddings/openai.d.ts +2 -0
- package/plugins/models/adapters/embeddings/openai.js +21 -0
- package/plugins/models/adapters/image/fake.d.ts +6 -0
- package/plugins/models/adapters/image/fake.js +8 -0
- package/plugins/models/adapters/image/gemini.d.ts +2 -0
- package/plugins/models/adapters/image/gemini.js +111 -0
- package/plugins/models/adapters/image/openai.d.ts +2 -0
- package/plugins/models/adapters/image/openai.js +69 -0
- package/plugins/models/adapters/llm/anthropic.d.ts +12 -0
- package/plugins/models/adapters/llm/anthropic.js +237 -0
- package/plugins/models/adapters/llm/fake.d.ts +10 -0
- package/plugins/models/adapters/llm/fake.js +30 -0
- package/plugins/models/adapters/llm/gemini.d.ts +18 -0
- package/plugins/models/adapters/llm/gemini.js +218 -0
- package/plugins/models/adapters/llm/openai-compatible.d.ts +9 -0
- package/plugins/models/adapters/llm/openai-compatible.js +147 -0
- package/plugins/models/adapters/llm/openai.d.ts +2 -0
- package/plugins/models/adapters/llm/openai.js +268 -0
- package/plugins/models/adapters/transcription/fake.d.ts +3 -0
- package/plugins/models/adapters/transcription/fake.js +3 -0
- package/plugins/models/adapters/transcription/openai.d.ts +2 -0
- package/plugins/models/adapters/transcription/openai.js +44 -0
- package/plugins/models/collections/image.d.ts +89 -0
- package/plugins/models/collections/image.js +27 -0
- package/plugins/models/contract.d.ts +53 -0
- package/plugins/models/contract.js +8 -0
- package/plugins/models/mod.d.ts +66 -0
- package/plugins/models/mod.js +126 -0
- package/plugins/models/resources/providers.d.ts +15 -0
- package/plugins/models/resources/providers.js +9 -0
- package/plugins/models/shared/catalog.json +12418 -0
- package/plugins/models/shared/choice.d.ts +197 -0
- package/plugins/models/shared/choice.js +163 -0
- package/plugins/models/shared/embed.d.ts +46 -0
- package/plugins/models/shared/embed.js +51 -0
- package/plugins/models/shared/files.d.ts +18 -0
- package/plugins/models/shared/files.js +47 -0
- package/plugins/models/shared/generate.d.ts +53 -0
- package/plugins/models/shared/generate.js +269 -0
- package/plugins/models/shared/image.d.ts +110 -0
- package/plugins/models/shared/image.js +172 -0
- package/plugins/models/shared/plans.d.ts +72 -0
- package/plugins/models/shared/plans.js +81 -0
- package/plugins/models/shared/provider.d.ts +71 -0
- package/plugins/models/shared/provider.js +87 -0
- package/plugins/models/shared/request.d.ts +58 -0
- package/plugins/models/shared/request.js +19 -0
- package/plugins/models/shared/retry.d.ts +29 -0
- package/plugins/models/shared/retry.js +90 -0
- package/plugins/models/shared/telemetry.d.ts +18 -0
- package/plugins/models/shared/telemetry.js +66 -0
- package/plugins/models/shared/transcribe.d.ts +51 -0
- package/plugins/models/shared/transcribe.js +54 -0
- package/plugins/models/shared/types.d.ts +147 -0
- package/plugins/models/shared/types.js +11 -0
- package/plugins/models/shared/use.d.ts +75 -0
- package/plugins/models/shared/use.js +92 -0
- package/runtime/action-input.d.ts +10 -0
- package/runtime/action-input.js +4 -0
- package/runtime/actor.d.ts +122 -0
- package/runtime/actor.js +139 -0
- package/runtime/address.d.ts +11 -0
- package/runtime/address.js +48 -0
- package/runtime/aggregate.d.ts +57 -0
- package/runtime/aggregate.js +202 -0
- package/runtime/api.d.ts +49 -0
- package/runtime/api.js +719 -0
- package/runtime/blobs.d.ts +45 -0
- package/runtime/blobs.js +114 -0
- package/runtime/body.d.ts +16 -0
- package/runtime/body.js +57 -0
- package/runtime/browsers.d.ts +208 -0
- package/runtime/browsers.js +539 -0
- package/runtime/cache.d.ts +24 -0
- package/runtime/cache.js +243 -0
- package/runtime/call-ids.d.ts +8 -0
- package/runtime/call-ids.js +36 -0
- package/runtime/caller.d.ts +105 -0
- package/runtime/caller.js +225 -0
- package/runtime/client.d.ts +203 -0
- package/runtime/client.js +561 -0
- package/runtime/collection.d.ts +125 -0
- package/runtime/collection.js +94 -0
- package/runtime/cookies.d.ts +72 -0
- package/runtime/cookies.js +125 -0
- package/runtime/define.d.ts +822 -0
- package/runtime/define.js +18 -0
- package/runtime/describe.d.ts +331 -0
- package/runtime/describe.js +610 -0
- package/runtime/errors.d.ts +65 -0
- package/runtime/errors.js +41 -0
- package/runtime/executor.d.ts +24 -0
- package/runtime/executor.js +918 -0
- package/runtime/expiring.d.ts +23 -0
- package/runtime/expiring.js +64 -0
- package/runtime/fetch.d.ts +119 -0
- package/runtime/fetch.js +487 -0
- package/runtime/kept.d.ts +22 -0
- package/runtime/kept.js +128 -0
- package/runtime/legacy-env.d.ts +25 -0
- package/runtime/legacy-env.js +35 -0
- package/runtime/links.d.ts +65 -0
- package/runtime/links.js +110 -0
- package/runtime/maintain.d.ts +89 -0
- package/runtime/maintain.js +120 -0
- package/runtime/memory.d.ts +2 -0
- package/runtime/memory.js +328 -0
- package/runtime/metrics.d.ts +83 -0
- package/runtime/metrics.js +167 -0
- package/runtime/mod.d.ts +32 -0
- package/runtime/mod.js +21 -0
- package/runtime/mongo.d.ts +75 -0
- package/runtime/mongo.js +482 -0
- package/runtime/names.d.ts +14 -0
- package/runtime/names.js +1 -0
- package/runtime/observe.d.ts +66 -0
- package/runtime/observe.js +463 -0
- package/runtime/ops.d.ts +187 -0
- package/runtime/ops.js +304 -0
- package/runtime/owner.d.ts +248 -0
- package/runtime/owner.js +2300 -0
- package/runtime/pattern.d.ts +44 -0
- package/runtime/pattern.js +476 -0
- package/runtime/presence.d.ts +18 -0
- package/runtime/presence.js +25 -0
- package/runtime/reads.d.ts +31 -0
- package/runtime/reads.js +87 -0
- package/runtime/registry.d.ts +131 -0
- package/runtime/registry.js +464 -0
- package/runtime/rest.d.ts +10 -0
- package/runtime/rest.js +247 -0
- package/runtime/routes.d.ts +51 -0
- package/runtime/routes.js +79 -0
- package/runtime/runtime.d.ts +52 -0
- package/runtime/runtime.js +59 -0
- package/runtime/runtimes.d.ts +62 -0
- package/runtime/runtimes.js +95 -0
- package/runtime/schedules.d.ts +161 -0
- package/runtime/schedules.js +156 -0
- package/runtime/site.d.ts +61 -0
- package/runtime/site.js +188 -0
- package/runtime/store.d.ts +300 -0
- package/runtime/store.js +27 -0
- package/runtime/tickets.d.ts +15 -0
- package/runtime/tickets.js +65 -0
- package/runtime/timers.d.ts +44 -0
- package/runtime/timers.js +308 -0
- package/runtime/updates.d.ts +16 -0
- package/runtime/updates.js +222 -0
- package/runtime/views.d.ts +37 -0
- package/runtime/views.js +105 -0
- package/runtime/wire.d.ts +145 -0
- package/runtime/wire.js +113 -0
- package/stores/blobs/files/mod.d.ts +4 -0
- package/stores/blobs/files/mod.js +39 -0
- package/stores/blobs/gcs/mod.d.ts +30 -0
- package/stores/blobs/gcs/mod.js +106 -0
- package/stores/blobs/http/mod.d.ts +15 -0
- package/stores/blobs/http/mod.js +33 -0
- package/stores/latency/mod.d.ts +7 -0
- package/stores/latency/mod.js +46 -0
- package/stores/memory/mod.d.ts +7 -0
- package/stores/memory/mod.js +7 -0
- package/stores/sql/postgres/dialect.d.ts +13 -0
- package/stores/sql/postgres/dialect.js +108 -0
- package/stores/sql/postgres/layout.d.ts +53 -0
- package/stores/sql/postgres/layout.js +241 -0
- package/stores/sql/postgres/lease.d.ts +30 -0
- package/stores/sql/postgres/lease.js +142 -0
- package/stores/sql/postgres/legacy.d.ts +47 -0
- package/stores/sql/postgres/legacy.js +108 -0
- package/stores/sql/postgres/maintenance.d.ts +32 -0
- package/stores/sql/postgres/maintenance.js +325 -0
- package/stores/sql/postgres/mod.d.ts +73 -0
- package/stores/sql/postgres/mod.js +1300 -0
- package/stores/sql/postgres/pattern.d.ts +10 -0
- package/stores/sql/postgres/pattern.js +70 -0
- package/stores/sql/postgres/pool.d.ts +35 -0
- package/stores/sql/postgres/pool.js +47 -0
- package/stores/sql/postgres/tenants.d.ts +60 -0
- package/stores/sql/postgres/tenants.js +309 -0
- package/stores/sql/postgres/update.d.ts +13 -0
- package/stores/sql/postgres/update.js +71 -0
- package/stores/sql/shared/aggregate.d.ts +32 -0
- package/stores/sql/shared/aggregate.js +80 -0
- package/stores/sql/shared/capped.d.ts +2 -0
- package/stores/sql/shared/capped.js +22 -0
- package/stores/sql/shared/filter.d.ts +84 -0
- package/stores/sql/shared/filter.js +153 -0
- package/stores/sql/shared/rows.d.ts +14 -0
- package/stores/sql/shared/rows.js +29 -0
- package/stores/sql/shared/statement.d.ts +12 -0
- package/stores/sql/shared/statement.js +244 -0
- package/stores/sql/sqlite/apart.d.ts +11 -0
- package/stores/sql/sqlite/apart.js +219 -0
- package/stores/sql/sqlite/dialect.d.ts +17 -0
- package/stores/sql/sqlite/dialect.js +119 -0
- package/stores/sql/sqlite/mod.d.ts +78 -0
- package/stores/sql/sqlite/mod.js +713 -0
- package/testing/boundaries.d.ts +10 -0
- package/testing/boundaries.js +72 -0
- package/testing/mod.d.ts +81 -0
- package/testing/mod.js +225 -0
- package/testing/words.d.ts +18 -0
- package/testing/words.js +60 -0
- package/index.js +0 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Temml, loaded the first time a formula needs it: a dynamic import, which a
|
|
3
|
+
* bundle split by code (`deno bundle --code-splitting`) makes a file of its
|
|
4
|
+
* own, so a page with no math never fetches it. When it arrives, every
|
|
5
|
+
* formula waiting for it redraws; if it can't be fetched (offline), the next
|
|
6
|
+
* formula tries again.
|
|
7
|
+
*/
|
|
8
|
+
import { useEffect, useSyncExternalStore } from "react";
|
|
9
|
+
let loaded;
|
|
10
|
+
let loading;
|
|
11
|
+
const waiting = new Set();
|
|
12
|
+
/** Starts loading Temml, once. */
|
|
13
|
+
export function loadTemml() {
|
|
14
|
+
return loading ??= import("temml").then((module) => {
|
|
15
|
+
loaded = module.default;
|
|
16
|
+
for (const redraw of waiting)
|
|
17
|
+
redraw();
|
|
18
|
+
}, () => {
|
|
19
|
+
loading = undefined;
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
/** Temml, once it's here; asking for it starts loading it. */
|
|
23
|
+
export function useTemml() {
|
|
24
|
+
useEffect(() => void loadTemml(), []);
|
|
25
|
+
return useSyncExternalStore((redraw) => {
|
|
26
|
+
waiting.add(redraw);
|
|
27
|
+
return () => void waiting.delete(redraw);
|
|
28
|
+
}, () => loaded, () => undefined);
|
|
29
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A terminal's colours, from the theme's tokens: its surface and text, the
|
|
3
|
+
* cursor and selection, and the sixteen ANSI colours, each a CSS value over
|
|
4
|
+
* the theme's variables (`var(--destructive-text)` for red, `var(--info-text)`
|
|
5
|
+
* for blue…), so a brand's terminal is in its colours, light and dark.
|
|
6
|
+
* Terminals want colours, not CSS: `terminalTheme(element)` resolves each
|
|
7
|
+
* where the terminal is (`getComputedStyle`, then a pixel drawn, which reads
|
|
8
|
+
* whatever colour syntax the browser knows) as `#rrggbb` or `#rrggbbaa`. On
|
|
9
|
+
* a dark surface the greys turn around, so "black" is still the faint one.
|
|
10
|
+
*/
|
|
11
|
+
/** What a terminal's theme names (xterm.js's `ITheme`). */
|
|
12
|
+
export type TerminalColors = Record<string, string>;
|
|
13
|
+
/** On a light surface: black is the text, white a mid grey (so it still shows). */
|
|
14
|
+
export declare const LIGHT: TerminalColors;
|
|
15
|
+
/** On a dark one: black a faint grey, white the text. */
|
|
16
|
+
export declare const DARK: TerminalColors;
|
|
17
|
+
/** The theme's terminal colours where `element` is. */
|
|
18
|
+
export declare function terminalTheme(element: Element): TerminalColors;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A terminal's colours, from the theme's tokens: its surface and text, the
|
|
3
|
+
* cursor and selection, and the sixteen ANSI colours, each a CSS value over
|
|
4
|
+
* the theme's variables (`var(--destructive-text)` for red, `var(--info-text)`
|
|
5
|
+
* for blue…), so a brand's terminal is in its colours, light and dark.
|
|
6
|
+
* Terminals want colours, not CSS: `terminalTheme(element)` resolves each
|
|
7
|
+
* where the terminal is (`getComputedStyle`, then a pixel drawn, which reads
|
|
8
|
+
* whatever colour syntax the browser knows) as `#rrggbb` or `#rrggbbaa`. On
|
|
9
|
+
* a dark surface the greys turn around, so "black" is still the faint one.
|
|
10
|
+
*/
|
|
11
|
+
/** Every colour but the greys, for light and dark alike. */
|
|
12
|
+
const HUES = {
|
|
13
|
+
red: "var(--destructive-text)",
|
|
14
|
+
green: "var(--success-text)",
|
|
15
|
+
yellow: "var(--warning-text)",
|
|
16
|
+
blue: "var(--info-text)",
|
|
17
|
+
magenta: "color-mix(in oklab, var(--destructive-text) 45%, var(--info-text))",
|
|
18
|
+
cyan: "color-mix(in oklab, var(--info-text) 55%, var(--success-text))",
|
|
19
|
+
};
|
|
20
|
+
const bright = (toward) => Object.fromEntries(Object.entries(HUES).map(([name, value]) => [
|
|
21
|
+
`bright${name[0].toUpperCase()}${name.slice(1)}`,
|
|
22
|
+
`color-mix(in oklab, ${value} 78%, ${toward})`,
|
|
23
|
+
]));
|
|
24
|
+
const BASE = {
|
|
25
|
+
background: "var(--card)",
|
|
26
|
+
foreground: "var(--foreground)",
|
|
27
|
+
cursor: "var(--primary-text)",
|
|
28
|
+
cursorAccent: "var(--card)",
|
|
29
|
+
selectionBackground: "color-mix(in oklab, var(--primary-text) 24%, transparent)",
|
|
30
|
+
selectionInactiveBackground: "color-mix(in oklab, var(--muted-foreground) 18%, transparent)",
|
|
31
|
+
scrollbarSliderBackground: "color-mix(in oklab, var(--muted-foreground) 26%, transparent)",
|
|
32
|
+
scrollbarSliderHoverBackground: "color-mix(in oklab, var(--muted-foreground) 40%, transparent)",
|
|
33
|
+
scrollbarSliderActiveBackground: "color-mix(in oklab, var(--muted-foreground) 52%, transparent)",
|
|
34
|
+
...HUES,
|
|
35
|
+
};
|
|
36
|
+
/** On a light surface: black is the text, white a mid grey (so it still shows). */
|
|
37
|
+
export const LIGHT = {
|
|
38
|
+
...BASE,
|
|
39
|
+
black: "var(--foreground)",
|
|
40
|
+
white: "var(--muted-foreground)",
|
|
41
|
+
brightBlack: "color-mix(in oklab, var(--muted-foreground) 88%, var(--card))",
|
|
42
|
+
brightWhite: "color-mix(in oklab, var(--muted-foreground) 62%, var(--card))",
|
|
43
|
+
...bright("var(--foreground)"),
|
|
44
|
+
};
|
|
45
|
+
/** On a dark one: black a faint grey, white the text. */
|
|
46
|
+
export const DARK = {
|
|
47
|
+
...BASE,
|
|
48
|
+
black: "color-mix(in oklab, var(--muted-foreground) 45%, var(--card))",
|
|
49
|
+
white: "var(--secondary-foreground)",
|
|
50
|
+
brightBlack: "var(--muted-foreground)",
|
|
51
|
+
brightWhite: "var(--foreground)",
|
|
52
|
+
...bright("var(--foreground)"),
|
|
53
|
+
};
|
|
54
|
+
const hex = (n) => n.toString(16).padStart(2, "0");
|
|
55
|
+
/** How light a colour is (0 to 1), roughly as eyes see it. */
|
|
56
|
+
const lightness = ([r, g, b]) => (0.2126 * r + 0.7152 * g + 0.0722 * b) / 255;
|
|
57
|
+
/** The theme's terminal colours where `element` is. */
|
|
58
|
+
export function terminalTheme(element) {
|
|
59
|
+
const probe = document.createElement("span");
|
|
60
|
+
probe.style.display = "none";
|
|
61
|
+
element.appendChild(probe);
|
|
62
|
+
const canvas = document.createElement("canvas");
|
|
63
|
+
canvas.width = canvas.height = 1;
|
|
64
|
+
const pen = canvas.getContext("2d", { willReadFrequently: true });
|
|
65
|
+
const rgba = (value) => {
|
|
66
|
+
probe.style.color = "";
|
|
67
|
+
probe.style.color = value;
|
|
68
|
+
pen.clearRect(0, 0, 1, 1);
|
|
69
|
+
pen.fillStyle = getComputedStyle(probe).color;
|
|
70
|
+
pen.fillRect(0, 0, 1, 1);
|
|
71
|
+
return [...pen.getImageData(0, 0, 1, 1).data];
|
|
72
|
+
};
|
|
73
|
+
try {
|
|
74
|
+
const dark = lightness(rgba(BASE.background)) < 0.45;
|
|
75
|
+
return Object.fromEntries(Object.entries(dark ? DARK : LIGHT).map(([name, value]) => {
|
|
76
|
+
const [r, g, b, a] = rgba(value);
|
|
77
|
+
return [name, `#${hex(r)}${hex(g)}${hex(b)}${a < 255 ? hex(a) : ""}`];
|
|
78
|
+
}));
|
|
79
|
+
}
|
|
80
|
+
finally {
|
|
81
|
+
probe.remove();
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A terminal, for a shell that runs a line at a time (not a PTY): xterm.js
|
|
3
|
+
* in the theme's colours (`terminal-theme.ts`, light and dark), filling its
|
|
4
|
+
* box and fitting it as it changes size.
|
|
5
|
+
*
|
|
6
|
+
* You type at a prompt (where you are, `session.prompt()`, then `$`), with
|
|
7
|
+
* the history ↑ ↓ and a shell's editing keys (`line-editor.ts`). Enter runs
|
|
8
|
+
* the line (`session.run`), and what it prints comes as it comes: plain, as
|
|
9
|
+
* an error, or as a quiet note of the terminal's own. While it runs, a line
|
|
10
|
+
* you type is its input (`session.input`), and Ctrl+C stops it
|
|
11
|
+
* (`session.interrupt`); Ctrl+L clears the screen. `session.start` runs
|
|
12
|
+
* first, as a command would (to pick up one still running). What's entered
|
|
13
|
+
* is kept in the browser under `historyKey`, for next time.
|
|
14
|
+
*
|
|
15
|
+
* xterm.js loads the first time a terminal shows (`xterm.ts`), in files of
|
|
16
|
+
* its own; until then it says it's opening, and if it can't, why.
|
|
17
|
+
*
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <Terminal label="Terminal" historyKey="laptop:personal" session={{
|
|
20
|
+
* prompt: () => "personal",
|
|
21
|
+
* run: async (line, out) => out.write(`you said ${line}\n`),
|
|
22
|
+
* }} />
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
import { type ReactNode } from "react";
|
|
26
|
+
/** Where a running line's output goes. */
|
|
27
|
+
export type TerminalOutput = {
|
|
28
|
+
/** What it printed. */
|
|
29
|
+
write(text: string): void;
|
|
30
|
+
/** What went wrong (its stderr), in the error tone. */
|
|
31
|
+
error(text: string): void;
|
|
32
|
+
/** A quiet line of the terminal's own, on a line of its own: how it ended, why it can't. */
|
|
33
|
+
note(text: string): void;
|
|
34
|
+
/** Aborted when the terminal goes (what runs may go on; the terminal stops listening). */
|
|
35
|
+
signal: AbortSignal;
|
|
36
|
+
};
|
|
37
|
+
/** What a terminal runs lines with. */
|
|
38
|
+
export type TerminalSession = {
|
|
39
|
+
/** Where you are, shown before what you type; asked each time the prompt shows. */
|
|
40
|
+
prompt(): string;
|
|
41
|
+
/** Runs a line entered at the prompt; it resolves when it's done. */
|
|
42
|
+
run(line: string, out: TerminalOutput): Promise<void>;
|
|
43
|
+
/** A line typed while one runs: its input. */
|
|
44
|
+
input?(line: string, out: TerminalOutput): void | Promise<void>;
|
|
45
|
+
/** Ctrl+C while one runs. */
|
|
46
|
+
interrupt?(out: TerminalOutput): void | Promise<void>;
|
|
47
|
+
/** What it does first, as a line run would; it resolves when that's done. */
|
|
48
|
+
start?(out: TerminalOutput): Promise<void>;
|
|
49
|
+
};
|
|
50
|
+
export declare function Terminal({ session, label, historyKey, autoFocus, className }: {
|
|
51
|
+
session: TerminalSession;
|
|
52
|
+
/** What it is, said to screen readers. */
|
|
53
|
+
label?: string;
|
|
54
|
+
/** Where its history is kept in the browser: one per shell, say. */
|
|
55
|
+
historyKey?: string;
|
|
56
|
+
autoFocus?: boolean;
|
|
57
|
+
className?: string;
|
|
58
|
+
}): ReactNode;
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* A terminal, for a shell that runs a line at a time (not a PTY): xterm.js
|
|
4
|
+
* in the theme's colours (`terminal-theme.ts`, light and dark), filling its
|
|
5
|
+
* box and fitting it as it changes size.
|
|
6
|
+
*
|
|
7
|
+
* You type at a prompt (where you are, `session.prompt()`, then `$`), with
|
|
8
|
+
* the history ↑ ↓ and a shell's editing keys (`line-editor.ts`). Enter runs
|
|
9
|
+
* the line (`session.run`), and what it prints comes as it comes: plain, as
|
|
10
|
+
* an error, or as a quiet note of the terminal's own. While it runs, a line
|
|
11
|
+
* you type is its input (`session.input`), and Ctrl+C stops it
|
|
12
|
+
* (`session.interrupt`); Ctrl+L clears the screen. `session.start` runs
|
|
13
|
+
* first, as a command would (to pick up one still running). What's entered
|
|
14
|
+
* is kept in the browser under `historyKey`, for next time.
|
|
15
|
+
*
|
|
16
|
+
* xterm.js loads the first time a terminal shows (`xterm.ts`), in files of
|
|
17
|
+
* its own; until then it says it's opening, and if it can't, why.
|
|
18
|
+
*
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <Terminal label="Terminal" historyKey="laptop:personal" session={{
|
|
21
|
+
* prompt: () => "personal",
|
|
22
|
+
* run: async (line, out) => out.write(`you said ${line}\n`),
|
|
23
|
+
* }} />
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
import { useEffect, useRef } from "react";
|
|
27
|
+
import { Button } from "./button.js";
|
|
28
|
+
import { cx } from "./cx.js";
|
|
29
|
+
import { cells, edit, emptyLine, HISTORY } from "./line-editor.js";
|
|
30
|
+
import { Notice } from "./notice.js";
|
|
31
|
+
import { sheet } from "./sheet.js";
|
|
32
|
+
import { say } from "./words.js";
|
|
33
|
+
import { Spinner } from "./spinner.js";
|
|
34
|
+
import { terminalTheme } from "./terminal-theme.js";
|
|
35
|
+
import { loadXterm, useXterm } from "./xterm.js";
|
|
36
|
+
const SHEET = sheet("terminal", `
|
|
37
|
+
.pairz-terminal { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0;
|
|
38
|
+
padding: 10px 4px 4px 14px; border: 1px solid var(--border); border-radius: var(--radius-xl);
|
|
39
|
+
background: var(--card); overflow: hidden; transition: border-color .15s, outline-color .15s;
|
|
40
|
+
outline: 3px solid transparent; }
|
|
41
|
+
.pairz-terminal:focus-within { border-color: color-mix(in oklab, var(--ring) 45%, var(--border));
|
|
42
|
+
outline-color: color-mix(in oklab, var(--ring) 10%, transparent); }
|
|
43
|
+
.pairz-terminal-screen { flex: 1; min-height: 0; }
|
|
44
|
+
.pairz-terminal-screen .xterm { height: 100%; }
|
|
45
|
+
.pairz-terminal-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
|
|
46
|
+
gap: 10px; color: var(--muted-foreground); font-size: 13.5px; }
|
|
47
|
+
.pairz-terminal-failed { position: absolute; inset: 14px; align-self: center; height: fit-content; }
|
|
48
|
+
`);
|
|
49
|
+
/** Each line of `text` in an SGR colour (`31`: red), so any part redrawn keeps it. */
|
|
50
|
+
const toned = (text, code) => text.split("\n").map((line) => line ? `\x1b[${code}m${line}\x1b[39m` : line).join("\n");
|
|
51
|
+
/** A line of output longer than this is left as it is, not redrawn with what's typed after it. */
|
|
52
|
+
const LONGEST = 2000;
|
|
53
|
+
const stored = (key) => {
|
|
54
|
+
if (!key)
|
|
55
|
+
return [];
|
|
56
|
+
try {
|
|
57
|
+
const kept = JSON.parse(localStorage.getItem(`pairz-terminal:${key}`) ?? "[]");
|
|
58
|
+
return Array.isArray(kept) ? kept.filter((s) => typeof s === "string").slice(-HISTORY) : [];
|
|
59
|
+
}
|
|
60
|
+
catch {
|
|
61
|
+
return [];
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
const store = (key, history) => {
|
|
65
|
+
if (!key)
|
|
66
|
+
return;
|
|
67
|
+
try {
|
|
68
|
+
localStorage.setItem(`pairz-terminal:${key}`, JSON.stringify(history));
|
|
69
|
+
}
|
|
70
|
+
catch { /* Private, or full: it's kept for this page only. */ }
|
|
71
|
+
};
|
|
72
|
+
/** Opens xterm.js in `screen`, over the session `latest` gives; what to call when it goes. */
|
|
73
|
+
function open(xterm, screen, options) {
|
|
74
|
+
const style = getComputedStyle(screen);
|
|
75
|
+
const term = new xterm.Terminal({
|
|
76
|
+
convertEol: true,
|
|
77
|
+
cursorBlink: true,
|
|
78
|
+
fontFamily: style.getPropertyValue("--font-mono").trim() || "monospace",
|
|
79
|
+
fontSize: 13,
|
|
80
|
+
lineHeight: 1.3,
|
|
81
|
+
scrollback: 5000,
|
|
82
|
+
theme: terminalTheme(screen),
|
|
83
|
+
});
|
|
84
|
+
const fit = new xterm.FitAddon();
|
|
85
|
+
term.loadAddon(fit);
|
|
86
|
+
term.open(screen);
|
|
87
|
+
fit.fit();
|
|
88
|
+
const gone = new AbortController();
|
|
89
|
+
let line = emptyLine(stored(options.historyKey));
|
|
90
|
+
/** A line running: what's typed goes to it. */
|
|
91
|
+
let busy = false;
|
|
92
|
+
/** What comes before what's typed on its row: the prompt, or what's running wrote last. */
|
|
93
|
+
let lead = "";
|
|
94
|
+
/** The cursor's row, counting from the row the lead starts on. */
|
|
95
|
+
let row = 0;
|
|
96
|
+
const prompt = () => `\x1b[1;34m${options.session().prompt()}\x1b[0m \x1b[90m$\x1b[39m `;
|
|
97
|
+
/** The lead and the line, the cursor where it is in it, over what was there. */
|
|
98
|
+
const draw = () => {
|
|
99
|
+
const cols = Math.max(1, term.cols);
|
|
100
|
+
const before = cells(lead);
|
|
101
|
+
const total = before + [...line.text].length;
|
|
102
|
+
const target = before + line.at;
|
|
103
|
+
let out = (row > 0 ? `\x1b[${row}A` : "") + "\r\x1b[J" + lead + line.text;
|
|
104
|
+
// Ending in the last column, the cursor waits there: a space takes it on to the next row.
|
|
105
|
+
if (total > 0 && total % cols === 0)
|
|
106
|
+
out += " \r";
|
|
107
|
+
const end = Math.floor(total / cols);
|
|
108
|
+
row = Math.floor(target / cols);
|
|
109
|
+
if (end > row)
|
|
110
|
+
out += `\x1b[${end - row}A`;
|
|
111
|
+
out += "\r" + (target % cols ? `\x1b[${target % cols}C` : "");
|
|
112
|
+
term.write(out);
|
|
113
|
+
};
|
|
114
|
+
/** Takes the lead and the line off the screen; the cursor where they started. */
|
|
115
|
+
const erase = () => {
|
|
116
|
+
term.write((row > 0 ? `\x1b[${row}A` : "") + "\r\x1b[J");
|
|
117
|
+
row = 0;
|
|
118
|
+
};
|
|
119
|
+
/** Output, above what's being typed. */
|
|
120
|
+
const print = (text) => {
|
|
121
|
+
if (gone.signal.aborted || !text)
|
|
122
|
+
return;
|
|
123
|
+
if (!busy) {
|
|
124
|
+
erase();
|
|
125
|
+
term.write(text.endsWith("\n") ? text : `${text}\n`);
|
|
126
|
+
return draw();
|
|
127
|
+
}
|
|
128
|
+
const all = lead + text;
|
|
129
|
+
const cut = all.lastIndexOf("\n") + 1;
|
|
130
|
+
erase();
|
|
131
|
+
term.write(all.slice(0, cut));
|
|
132
|
+
lead = all.slice(cut);
|
|
133
|
+
if (cells(lead) > LONGEST) {
|
|
134
|
+
term.write(`${lead}\n`);
|
|
135
|
+
lead = "";
|
|
136
|
+
}
|
|
137
|
+
draw();
|
|
138
|
+
};
|
|
139
|
+
const out = {
|
|
140
|
+
write: print,
|
|
141
|
+
error: (text) => print(toned(text, "31")),
|
|
142
|
+
note: (text) => print(`${cells(lead) ? "\n" : ""}${toned(text.replace(/\n$/, ""), "90")}\n`),
|
|
143
|
+
signal: gone.signal,
|
|
144
|
+
};
|
|
145
|
+
/** Runs what `work` does (a line, or the start) while the terminal waits, then prompts again. */
|
|
146
|
+
const running = async (work) => {
|
|
147
|
+
busy = true;
|
|
148
|
+
lead = "";
|
|
149
|
+
row = 0;
|
|
150
|
+
try {
|
|
151
|
+
await work();
|
|
152
|
+
}
|
|
153
|
+
catch (error) {
|
|
154
|
+
out.error(`${error instanceof Error ? error.message : String(error)}\n`);
|
|
155
|
+
}
|
|
156
|
+
if (gone.signal.aborted)
|
|
157
|
+
return;
|
|
158
|
+
busy = false;
|
|
159
|
+
erase();
|
|
160
|
+
// What it wrote last, unfinished, keeps a line of its own.
|
|
161
|
+
if (cells(lead))
|
|
162
|
+
term.write(`${lead}\n`);
|
|
163
|
+
lead = prompt();
|
|
164
|
+
draw();
|
|
165
|
+
};
|
|
166
|
+
/** The line, as entered, keeps its place on the screen; the cursor goes under it. */
|
|
167
|
+
const commit = (text, after = "") => {
|
|
168
|
+
erase();
|
|
169
|
+
term.write(`${lead}${text}${after}\n`);
|
|
170
|
+
lead = busy ? "" : lead;
|
|
171
|
+
};
|
|
172
|
+
term.onData((data) => {
|
|
173
|
+
const was = line;
|
|
174
|
+
const edited = edit(line, data);
|
|
175
|
+
line = edited.line;
|
|
176
|
+
switch (edited.happened) {
|
|
177
|
+
case "enter": {
|
|
178
|
+
const text = edited.entered;
|
|
179
|
+
const session = options.session();
|
|
180
|
+
// What's typed into a running command is its input, not a command to remember.
|
|
181
|
+
if (busy)
|
|
182
|
+
line = { ...line, history: was.history };
|
|
183
|
+
else
|
|
184
|
+
store(options.historyKey, line.history);
|
|
185
|
+
if (busy) {
|
|
186
|
+
commit(text);
|
|
187
|
+
draw();
|
|
188
|
+
void Promise.resolve(session.input?.(text, out)).catch((error) => out.error(`${error instanceof Error ? error.message : String(error)}\n`));
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
commit(text);
|
|
192
|
+
if (!text.trim()) {
|
|
193
|
+
lead = prompt();
|
|
194
|
+
return draw();
|
|
195
|
+
}
|
|
196
|
+
return void running(() => session.run(text, out));
|
|
197
|
+
}
|
|
198
|
+
case "interrupt":
|
|
199
|
+
commit(was.text, "\x1b[90m^C\x1b[39m");
|
|
200
|
+
if (busy)
|
|
201
|
+
void options.session().interrupt?.(out);
|
|
202
|
+
else
|
|
203
|
+
lead = prompt();
|
|
204
|
+
return draw();
|
|
205
|
+
case "clear":
|
|
206
|
+
term.write("\x1b[2J\x1b[3J\x1b[H");
|
|
207
|
+
row = 0;
|
|
208
|
+
return draw();
|
|
209
|
+
case "beep":
|
|
210
|
+
return;
|
|
211
|
+
default:
|
|
212
|
+
return draw();
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
// It fits its box, and keeps the theme's colours when the screen's scheme changes.
|
|
216
|
+
const fitted = () => {
|
|
217
|
+
if (!screen.isConnected || !screen.clientWidth)
|
|
218
|
+
return;
|
|
219
|
+
fit.fit();
|
|
220
|
+
row = Math.floor((cells(lead) + line.at) / Math.max(1, term.cols));
|
|
221
|
+
};
|
|
222
|
+
const watch = new ResizeObserver(() => requestAnimationFrame(fitted));
|
|
223
|
+
watch.observe(screen);
|
|
224
|
+
const scheme = matchMedia("(prefers-color-scheme: dark)");
|
|
225
|
+
const recolor = () => term.options.theme = terminalTheme(screen);
|
|
226
|
+
scheme.addEventListener("change", recolor);
|
|
227
|
+
void document.fonts?.ready.then(fitted);
|
|
228
|
+
const session = options.session();
|
|
229
|
+
if (session.start)
|
|
230
|
+
void running(() => session.start(out));
|
|
231
|
+
else {
|
|
232
|
+
lead = prompt();
|
|
233
|
+
draw();
|
|
234
|
+
}
|
|
235
|
+
if (options.focus)
|
|
236
|
+
term.focus();
|
|
237
|
+
return () => {
|
|
238
|
+
gone.abort();
|
|
239
|
+
watch.disconnect();
|
|
240
|
+
scheme.removeEventListener("change", recolor);
|
|
241
|
+
term.dispose();
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
export function Terminal({ session, label, historyKey, autoFocus = true, className }) {
|
|
245
|
+
const { xterm, error } = useXterm();
|
|
246
|
+
const screen = useRef(null);
|
|
247
|
+
const latest = useRef(session);
|
|
248
|
+
latest.current = session;
|
|
249
|
+
useEffect(() => {
|
|
250
|
+
if (!xterm || !screen.current)
|
|
251
|
+
return;
|
|
252
|
+
return open(xterm, screen.current, {
|
|
253
|
+
session: () => latest.current,
|
|
254
|
+
historyKey,
|
|
255
|
+
focus: autoFocus,
|
|
256
|
+
});
|
|
257
|
+
}, [xterm, historyKey]);
|
|
258
|
+
return (_jsxs("div", { className: cx("pairz-terminal", className), role: "group", "aria-label": label ?? say("terminal"), children: [SHEET, xterm?.sheet, _jsx("div", { ref: screen, className: "pairz-terminal-screen" }), xterm ? null : error
|
|
259
|
+
? (_jsx(Notice, { tone: "destructive", className: "pairz-terminal-failed", title: say("terminalFailedTitle"), action: _jsx(Button, { size: "sm", onClick: () => void loadXterm(), children: say("tryAgain") }), children: say("terminalFailed") }))
|
|
260
|
+
: (_jsxs("div", { className: "pairz-terminal-wait", role: "status", children: [_jsx(Spinner, { size: 15 }), say("terminalOpening")] }))] }));
|
|
261
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Words in the theme's type, without CSS. `Text` is a run of text: a `size`
|
|
3
|
+
* (`xs` to `lg`), a `tone` (`muted` for what's quieter; `primary`,
|
|
4
|
+
* `success`, `warning`, `danger`, `info` for what it says), a `weight`, an
|
|
5
|
+
* `align`ment, `mono` for figures and codes, `truncate` to one line; a
|
|
6
|
+
* `span` unless `as` says (`p`, `div`, `label`, `strong`). `Heading` is a
|
|
7
|
+
* section's title, `h1` to `h4` (`level`), in the theme's display font,
|
|
8
|
+
* sized by its level unless `size` says (each size a token).
|
|
9
|
+
*
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <Heading level={2}>Payments</Heading>
|
|
12
|
+
* <Text as="p" tone="muted" size="sm">Fields marked * are required.</Text>
|
|
13
|
+
* <Text weight="bold" align="end" mono>{total}</Text>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
import { type ComponentProps, type ReactNode } from "react";
|
|
17
|
+
/** What a text says, by colour. */
|
|
18
|
+
export type TextTone = "default" | "muted" | "primary" | "success" | "warning" | "danger" | "info";
|
|
19
|
+
export declare function Text({ as, size, tone, weight, align, mono, truncate, className, children, ...rest }: {
|
|
20
|
+
as?: "span" | "p" | "div" | "label" | "strong" | "small" | "em";
|
|
21
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
22
|
+
tone?: TextTone;
|
|
23
|
+
weight?: "regular" | "medium" | "bold";
|
|
24
|
+
align?: "start" | "center" | "end";
|
|
25
|
+
mono?: boolean;
|
|
26
|
+
truncate?: boolean;
|
|
27
|
+
className?: string;
|
|
28
|
+
children?: ReactNode;
|
|
29
|
+
} & Omit<ComponentProps<"span">, "className" | "children">): ReactNode;
|
|
30
|
+
export declare function Heading({ level, size, className, children, ...rest }: {
|
|
31
|
+
level?: 1 | 2 | 3 | 4;
|
|
32
|
+
/** Sized as another level's (an `h2` that looks like an `h3`). */
|
|
33
|
+
size?: 1 | 2 | 3 | 4;
|
|
34
|
+
className?: string;
|
|
35
|
+
children?: ReactNode;
|
|
36
|
+
} & Omit<ComponentProps<"h2">, "className" | "children">): ReactNode;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Words in the theme's type, without CSS. `Text` is a run of text: a `size`
|
|
3
|
+
* (`xs` to `lg`), a `tone` (`muted` for what's quieter; `primary`,
|
|
4
|
+
* `success`, `warning`, `danger`, `info` for what it says), a `weight`, an
|
|
5
|
+
* `align`ment, `mono` for figures and codes, `truncate` to one line; a
|
|
6
|
+
* `span` unless `as` says (`p`, `div`, `label`, `strong`). `Heading` is a
|
|
7
|
+
* section's title, `h1` to `h4` (`level`), in the theme's display font,
|
|
8
|
+
* sized by its level unless `size` says (each size a token).
|
|
9
|
+
*
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <Heading level={2}>Payments</Heading>
|
|
12
|
+
* <Text as="p" tone="muted" size="sm">Fields marked * are required.</Text>
|
|
13
|
+
* <Text weight="bold" align="end" mono>{total}</Text>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
import { createElement } from "react";
|
|
17
|
+
import { cx } from "./cx.js";
|
|
18
|
+
import { sheet } from "./sheet.js";
|
|
19
|
+
const SHEET = sheet("text", `
|
|
20
|
+
.pairz-text-xs { font-size: var(--text-size-xs, 12px); line-height: 1.4; }
|
|
21
|
+
.pairz-text-sm { font-size: var(--text-size-sm, 13px); line-height: 1.45; }
|
|
22
|
+
.pairz-text-md { font-size: var(--text-size-md, 14.5px); line-height: 1.55; }
|
|
23
|
+
.pairz-text-lg { font-size: var(--text-size-lg, 17px); line-height: 1.5; }
|
|
24
|
+
p.pairz-text { margin: 0; }
|
|
25
|
+
.pairz-text-muted { color: var(--muted-foreground); }
|
|
26
|
+
.pairz-text-primary { color: var(--primary-text); }
|
|
27
|
+
.pairz-text-success { color: var(--success-text); }
|
|
28
|
+
.pairz-text-warning { color: var(--warning-text); }
|
|
29
|
+
.pairz-text-danger { color: var(--destructive-text); }
|
|
30
|
+
.pairz-text-info { color: var(--info-text); }
|
|
31
|
+
.pairz-text-regular { font-weight: 400; }
|
|
32
|
+
.pairz-text-medium { font-weight: 560; }
|
|
33
|
+
.pairz-text-bold { font-weight: 680; }
|
|
34
|
+
.pairz-text-start { text-align: start; }
|
|
35
|
+
.pairz-text-center { text-align: center; }
|
|
36
|
+
.pairz-text-end { text-align: end; }
|
|
37
|
+
.pairz-text-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
|
|
38
|
+
.pairz-text-truncate { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
39
|
+
.pairz-heading { margin: 0; color: var(--foreground); font-family: var(--heading-font, var(--font-display));
|
|
40
|
+
font-weight: var(--heading-font-weight, 650); letter-spacing: var(--heading-letter-spacing, -.015em);
|
|
41
|
+
line-height: 1.25; overflow-wrap: anywhere; }
|
|
42
|
+
.pairz-heading-1 { font-size: var(--heading-size-1, 28px); letter-spacing: -.025em; }
|
|
43
|
+
.pairz-heading-2 { font-size: var(--heading-size-2, 21px); }
|
|
44
|
+
.pairz-heading-3 { font-size: var(--heading-size-3, 17px); }
|
|
45
|
+
.pairz-heading-4 { font-size: var(--heading-size-4, 15px); }
|
|
46
|
+
`);
|
|
47
|
+
export function Text({ as = "span", size, tone = "default", weight, align, mono, truncate, className, children, ...rest }) {
|
|
48
|
+
return createElement(as, {
|
|
49
|
+
...rest,
|
|
50
|
+
className: cx("pairz-text", size && `pairz-text-${size}`, tone !== "default" && `pairz-text-${tone}`, weight && `pairz-text-${weight}`, align && `pairz-text-${align}`, mono && "pairz-text-mono", truncate && "pairz-text-truncate", className),
|
|
51
|
+
}, SHEET, children);
|
|
52
|
+
}
|
|
53
|
+
export function Heading({ level = 2, size, className, children, ...rest }) {
|
|
54
|
+
return createElement(`h${level}`, { ...rest, className: cx("pairz-heading", `pairz-heading-${size ?? level}`, className) }, SHEET, children);
|
|
55
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Text over several lines. `autoGrow` makes it as tall as what's written (up
|
|
3
|
+
* to `maxHeight`); `bare` leaves out its box, for a front end that frames it
|
|
4
|
+
* itself (chat's composer). `invalid` (or `aria-invalid`) marks it.
|
|
5
|
+
*/
|
|
6
|
+
import { type ComponentProps, type ReactNode } from "react";
|
|
7
|
+
export declare function Textarea({ autoGrow, maxHeight, bare, invalid, className, ref, ...rest }: {
|
|
8
|
+
autoGrow?: boolean;
|
|
9
|
+
maxHeight?: number;
|
|
10
|
+
bare?: boolean;
|
|
11
|
+
invalid?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
} & ComponentProps<"textarea">): ReactNode;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Text over several lines. `autoGrow` makes it as tall as what's written (up
|
|
4
|
+
* to `maxHeight`); `bare` leaves out its box, for a front end that frames it
|
|
5
|
+
* itself (chat's composer). `invalid` (or `aria-invalid`) marks it.
|
|
6
|
+
*/
|
|
7
|
+
import { useLayoutEffect, useRef } from "react";
|
|
8
|
+
import { cx } from "./cx.js";
|
|
9
|
+
import { sheet } from "./sheet.js";
|
|
10
|
+
const SHEET = sheet("textarea", `
|
|
11
|
+
.pairz-textarea { display: block; width: 100%; min-height: var(--textarea-min-height, 84px); margin: 0;
|
|
12
|
+
padding: var(--textarea-padding, 10px 12px);
|
|
13
|
+
border: var(--textarea-border-width, var(--input-border-width, 1px)) solid var(--input);
|
|
14
|
+
border-radius: var(--textarea-radius, var(--input-radius, var(--radius-lg)));
|
|
15
|
+
background: var(--textarea-background, var(--input-background, var(--card)));
|
|
16
|
+
color: var(--foreground); font-size: var(--textarea-font-size, var(--input-font-size, 14.5px));
|
|
17
|
+
line-height: var(--textarea-line-height, 1.5); resize: vertical;
|
|
18
|
+
transition: border-color .15s, box-shadow .15s; }
|
|
19
|
+
.pairz-textarea:focus-visible { outline: none; border-color: var(--ring);
|
|
20
|
+
box-shadow: var(--textarea-focus-shadow,
|
|
21
|
+
var(--input-focus-shadow, 0 0 0 4px color-mix(in oklab, var(--ring) 16%, transparent))); }
|
|
22
|
+
.pairz-textarea[aria-invalid=true] { border-color: var(--destructive); }
|
|
23
|
+
.pairz-textarea:is(:disabled, [readonly]):not(.pairz-textarea-bare) {
|
|
24
|
+
background: var(--textarea-disabled-background, var(--input-disabled-background,
|
|
25
|
+
var(--textarea-background, var(--input-background, var(--card))))); }
|
|
26
|
+
.pairz-textarea::placeholder { color: var(--input-placeholder, var(--muted-foreground));
|
|
27
|
+
opacity: var(--input-placeholder-opacity, .85); }
|
|
28
|
+
.pairz-textarea-grow { resize: none; overflow-y: auto; }
|
|
29
|
+
.pairz-textarea-bare, .pairz-textarea-bare:focus-visible { min-height: 0; padding: 0; border: 0; border-radius: 0;
|
|
30
|
+
background: transparent; box-shadow: none; outline: none; resize: none; }
|
|
31
|
+
`);
|
|
32
|
+
export function Textarea({ autoGrow, maxHeight = 260, bare, invalid, className, ref, ...rest }) {
|
|
33
|
+
const own = useRef(null);
|
|
34
|
+
const grow = () => {
|
|
35
|
+
const el = own.current;
|
|
36
|
+
if (!autoGrow || !el)
|
|
37
|
+
return;
|
|
38
|
+
el.style.height = "auto";
|
|
39
|
+
el.style.height = `${Math.min(el.scrollHeight, maxHeight)}px`;
|
|
40
|
+
};
|
|
41
|
+
useLayoutEffect(grow, [rest.value, autoGrow, maxHeight]);
|
|
42
|
+
return (_jsxs(_Fragment, { children: [SHEET, _jsx("textarea", { ...rest, ref: (el) => {
|
|
43
|
+
own.current = el;
|
|
44
|
+
if (typeof ref === "function")
|
|
45
|
+
ref(el);
|
|
46
|
+
else if (ref)
|
|
47
|
+
ref.current = el;
|
|
48
|
+
}, className: cx("pairz-textarea", autoGrow && "pairz-textarea-grow", bare && "pairz-textarea-bare", className), "aria-invalid": invalid || rest["aria-invalid"] || undefined, onInput: (event) => {
|
|
49
|
+
grow();
|
|
50
|
+
rest.onInput?.(event);
|
|
51
|
+
} })] }));
|
|
52
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A home page's places as tiles: each a link with a large icon (the
|
|
3
|
+
* toolkit's, or the app's own image or drawing) and its name under it,
|
|
4
|
+
* wrapping into as many rows as it takes. A tile's `description` is its
|
|
5
|
+
* words on hover and what screen readers say after its name.
|
|
6
|
+
*
|
|
7
|
+
* ```tsx
|
|
8
|
+
* <TileGrid label="Modules" tiles={[
|
|
9
|
+
* { href: "/sales", label: "Sales", icon: <Icon src="/assets/modules/sales.png" />,
|
|
10
|
+
* description: "Process sales and returns." },
|
|
11
|
+
* { href: "/reports", label: "Reports", icon: "chart" },
|
|
12
|
+
* ]} />
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
import { type ReactNode } from "react";
|
|
16
|
+
import { type IconLike } from "./icon.js";
|
|
17
|
+
/** One tile: where it goes, its name and icon, and what it's for. */
|
|
18
|
+
export type Tile = {
|
|
19
|
+
href: string;
|
|
20
|
+
label: string;
|
|
21
|
+
icon: IconLike;
|
|
22
|
+
description?: string;
|
|
23
|
+
/** Its React key (its `href` unless given). */
|
|
24
|
+
key?: string;
|
|
25
|
+
};
|
|
26
|
+
export declare function TileGrid({ tiles, label, className }: {
|
|
27
|
+
tiles: Tile[];
|
|
28
|
+
/** What the tiles are, said to screen readers. */
|
|
29
|
+
label?: string;
|
|
30
|
+
className?: string;
|
|
31
|
+
}): ReactNode;
|