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,549 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Day-times as people type them. A pattern is checked once (`patternProblem`): it can be read
|
|
3
|
+
* back when it has each field once, and none drops its century. Then `formatPattern`
|
|
4
|
+
* writes with it and `parseDayTime` reads with it, so whatever was written reads back as the value
|
|
5
|
+
* it was written from, in any language. `dayTimePattern` is a language's own: its order,
|
|
6
|
+
* separators and clock, with a four-digit year and the Gregorian calendar.
|
|
7
|
+
*
|
|
8
|
+
* ```ts
|
|
9
|
+
* parseDayTime("02/11/2026 14:30:05", "dd/MM/yyyy HH:mm:ss"); // "2026-11-02 14:30:05"
|
|
10
|
+
* parseDayTime("11/02/2026 02:30 PM", undefined, "en-US"); // "2026-11-02 14:30:00"
|
|
11
|
+
* patternProblem("dd/MM/yy HH:mm"); // "`yy` leaves out the century: write `yyyy`"
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
import { dayOf, dayTimeOf, formatPattern, isDay, isDayTime, partsOf, weekdayOf, } from "./dates.js";
|
|
15
|
+
/** `formatPattern`'s letters, the same expression: a pattern reads as it's written. */
|
|
16
|
+
const TOKENS = /yyyy|yy|MMMM|MMM|MM|M|dd|d|EEEE|EEE|HH|H|hh|h|mm|ss|a|'[^']*'/g;
|
|
17
|
+
const FIELD_OF = {
|
|
18
|
+
yyyy: "year",
|
|
19
|
+
yy: "year",
|
|
20
|
+
MMMM: "month",
|
|
21
|
+
MMM: "month",
|
|
22
|
+
MM: "month",
|
|
23
|
+
M: "month",
|
|
24
|
+
dd: "day",
|
|
25
|
+
d: "day",
|
|
26
|
+
EEEE: "weekday",
|
|
27
|
+
EEE: "weekday",
|
|
28
|
+
HH: "hour",
|
|
29
|
+
H: "hour",
|
|
30
|
+
hh: "hour",
|
|
31
|
+
h: "hour",
|
|
32
|
+
mm: "minute",
|
|
33
|
+
ss: "second",
|
|
34
|
+
a: "period",
|
|
35
|
+
};
|
|
36
|
+
const known = new Map();
|
|
37
|
+
/** Whether the runtime supports a language: has its data, not only accepts its tag. */
|
|
38
|
+
function knows(locale) {
|
|
39
|
+
let yes = known.get(locale);
|
|
40
|
+
if (yes === undefined) {
|
|
41
|
+
try {
|
|
42
|
+
yes = Intl.DateTimeFormat.supportedLocalesOf([locale]).length === 1;
|
|
43
|
+
}
|
|
44
|
+
catch {
|
|
45
|
+
yes = false;
|
|
46
|
+
}
|
|
47
|
+
known.set(locale, yes);
|
|
48
|
+
}
|
|
49
|
+
return yes;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Text as it's compared, the pattern's and the typed alike: composed, without invisible format
|
|
53
|
+
* marks (bidi marks, joiners), in lower case.
|
|
54
|
+
*/
|
|
55
|
+
const keyOf = (text) => text.normalize("NFC").replace(/\p{Cf}/gu, "").toLowerCase();
|
|
56
|
+
const escaped = (text) => text.replace(/[.*+?^${}()|[\]\\/]/g, "\\$&");
|
|
57
|
+
/** A literal's expression: as written, any run of spaces for its spaces. */
|
|
58
|
+
const literalSource = (text) => text.split(/(\s+)/).map((part) => /^\s+$/.test(part) ? "\\s+" : escaped(part)).join("");
|
|
59
|
+
/** A character's kind, as a boundary sees it: a digit (any, or the language's own), a space, or itself. */
|
|
60
|
+
const kindOf = (char, digits) => /\p{Nd}/u.test(char) || digits.includes(char) ? "digit" : /\s/.test(char) ? "space" : char;
|
|
61
|
+
/** Letters and their marks: what AM and PM are told apart by. */
|
|
62
|
+
const lettersOf = (key) => key.replace(/[^\p{L}\p{M}]/gu, "");
|
|
63
|
+
/** The language's own digits, 0 to 9 (none when the runtime doesn't know it, or they're ASCII). */
|
|
64
|
+
function digitsOf(locale) {
|
|
65
|
+
if (!knows(locale))
|
|
66
|
+
return [];
|
|
67
|
+
const format = new Intl.NumberFormat(locale, { useGrouping: false });
|
|
68
|
+
const digits = Array.from({ length: 10 }, (_, n) => format.format(n));
|
|
69
|
+
return digits[0] === "0" ? [] : digits;
|
|
70
|
+
}
|
|
71
|
+
const two = (n) => String(n).padStart(2, "0");
|
|
72
|
+
/** Whether a language's calendar is the Gregorian one, so its month names are the Gregorian months. */
|
|
73
|
+
const gregorian = (locale) => ["gregory", "iso8601"].includes(new Intl.DateTimeFormat(locale).resolvedOptions().calendar);
|
|
74
|
+
const nameCache = new Map();
|
|
75
|
+
/**
|
|
76
|
+
* A name field's names in a language, or why they can't be read: another calendar's months, two
|
|
77
|
+
* that read alike.
|
|
78
|
+
*/
|
|
79
|
+
function namesOf(token, locale) {
|
|
80
|
+
const id = `${locale}\u0000${token}`;
|
|
81
|
+
const cached = nameCache.get(id);
|
|
82
|
+
if (cached)
|
|
83
|
+
return cached;
|
|
84
|
+
let result;
|
|
85
|
+
if (token === "a")
|
|
86
|
+
result = periodNames(locale);
|
|
87
|
+
else if (token[0] === "M" && !gregorian(locale)) {
|
|
88
|
+
result = `\`${token}\` names in ${locale} are another calendar's months: write \`MM\``;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
const keys = (token[0] === "M"
|
|
92
|
+
? Array.from({ length: 12 }, (_, i) => formatPattern(`2026-${two(i + 1)}-15`, token, locale))
|
|
93
|
+
: Array.from({ length: 7 }, (_, w) => formatPattern(`2026-11-0${w + 1}`, token, locale)))
|
|
94
|
+
.map(keyOf);
|
|
95
|
+
const spellings = keys.map((key) => {
|
|
96
|
+
const bare = key.replace(/\.$/, "");
|
|
97
|
+
return bare === key ? [key] : [key, bare];
|
|
98
|
+
});
|
|
99
|
+
const all = spellings.flat();
|
|
100
|
+
if (keys.some((key) => !key.trim()) || new Set(all).size !== all.length) {
|
|
101
|
+
result = `two \`${token}\` names read alike in ${locale}`;
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
result = keys.map((key, i) => ({
|
|
105
|
+
value: token[0] === "M" ? i + 1 : i,
|
|
106
|
+
spellings: spellings[i],
|
|
107
|
+
match: new RegExp(literalSource(key.replace(/\.$/, "")) + (key.endsWith(".") ? "\\.?" : ""), "uy"),
|
|
108
|
+
}));
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
nameCache.set(id, result);
|
|
112
|
+
return result;
|
|
113
|
+
}
|
|
114
|
+
const periodCache = new Map();
|
|
115
|
+
/** Each hour's AM or PM in a language, as its letters, or why they can't be read. */
|
|
116
|
+
function periodsOf(locale) {
|
|
117
|
+
const cached = periodCache.get(locale);
|
|
118
|
+
if (cached)
|
|
119
|
+
return cached;
|
|
120
|
+
const hours = [];
|
|
121
|
+
let problem;
|
|
122
|
+
for (let hour = 0; hour < 24 && !problem; hour++) {
|
|
123
|
+
const said = new Set([0, 1, 29, 30, 59].map((minute) => lettersOf(keyOf(formatPattern({ year: 2026, month: 1, day: 5, hour, minute, second: 0 }, "a", locale)))));
|
|
124
|
+
if (said.size !== 1 || [...said][0] === "")
|
|
125
|
+
problem = `AM and PM (\`a\`) change within an hour`;
|
|
126
|
+
hours.push([...said][0]);
|
|
127
|
+
}
|
|
128
|
+
for (let hour = 0; hour < 12 && !problem; hour++) {
|
|
129
|
+
if (hours[hour] === hours[hour + 12]) {
|
|
130
|
+
problem = `AM and PM (\`a\`) can't be told apart in ${locale}`;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
const result = problem ?? hours;
|
|
134
|
+
periodCache.set(locale, result);
|
|
135
|
+
return result;
|
|
136
|
+
}
|
|
137
|
+
function periodNames(locale) {
|
|
138
|
+
const hours = periodsOf(locale);
|
|
139
|
+
if (typeof hours === "string")
|
|
140
|
+
return hours;
|
|
141
|
+
return [...new Set(hours)].map((letters) => {
|
|
142
|
+
const value = hours.indexOf(letters);
|
|
143
|
+
const at = { year: 2026, month: 1, day: 5, hour: value, minute: 0, second: 0 };
|
|
144
|
+
const written = keyOf(formatPattern(at, "a", locale));
|
|
145
|
+
// As the language writes it (Dzongkha's `སྔ་ཆ་`, Anii's `1ka`), or its letters in order, with
|
|
146
|
+
// dots or spaces between them, and a dot after: P.M., pm, p. m.
|
|
147
|
+
const spelled = [...letters].map(escaped).join("[.\\s]*") + "\\.?";
|
|
148
|
+
return {
|
|
149
|
+
value,
|
|
150
|
+
spellings: [written, letters],
|
|
151
|
+
match: new RegExp(`(?:${literalSource(written)}|${spelled})`, "uy"),
|
|
152
|
+
};
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
/** The kinds of character an element can start with. */
|
|
156
|
+
function startsOf(element, digits) {
|
|
157
|
+
if (!element)
|
|
158
|
+
return new Set();
|
|
159
|
+
if (element.kind === "literal")
|
|
160
|
+
return new Set([kindOf([...element.text][0], digits)]);
|
|
161
|
+
if (element.kind === "number")
|
|
162
|
+
return new Set(["digit"]);
|
|
163
|
+
return new Set(element.names.flatMap((n) => n.spellings.map((s) => kindOf([...s][0], digits))));
|
|
164
|
+
}
|
|
165
|
+
const compiled = new Map();
|
|
166
|
+
function compile(pattern, locale) {
|
|
167
|
+
const id = `${locale}\u0000${pattern}`;
|
|
168
|
+
let found = compiled.get(id);
|
|
169
|
+
if (!found) {
|
|
170
|
+
found = build(pattern, locale);
|
|
171
|
+
compiled.set(id, found);
|
|
172
|
+
}
|
|
173
|
+
return found;
|
|
174
|
+
}
|
|
175
|
+
const NEEDED = [
|
|
176
|
+
["year", "no year (`yyyy`)"],
|
|
177
|
+
["month", "no month (`MM`, `M`, `MMM`, `MMMM`)"],
|
|
178
|
+
["day", "no day (`dd`, `d`)"],
|
|
179
|
+
["hour", "no hour (`HH`, `H`, `hh`, `h`)"],
|
|
180
|
+
["minute", "no minutes (`mm`)"],
|
|
181
|
+
];
|
|
182
|
+
function build(pattern, locale) {
|
|
183
|
+
const result = {
|
|
184
|
+
elements: [],
|
|
185
|
+
seconds: false,
|
|
186
|
+
twelve: false,
|
|
187
|
+
periods: [],
|
|
188
|
+
digits: digitsOf(locale),
|
|
189
|
+
};
|
|
190
|
+
const fail = (problem) => ({ ...result, problem });
|
|
191
|
+
// The pattern's pieces: its letters, and the words between them, as text is compared.
|
|
192
|
+
const pieces = [];
|
|
193
|
+
let last = 0;
|
|
194
|
+
const literal = (text) => {
|
|
195
|
+
const kept = keyOf(text);
|
|
196
|
+
const before = pieces[pieces.length - 1];
|
|
197
|
+
if (before && "text" in before)
|
|
198
|
+
before.text += kept;
|
|
199
|
+
else if (kept)
|
|
200
|
+
pieces.push({ text: kept });
|
|
201
|
+
};
|
|
202
|
+
for (const hit of pattern.matchAll(TOKENS)) {
|
|
203
|
+
literal(pattern.slice(last, hit.index));
|
|
204
|
+
last = hit.index + hit[0].length;
|
|
205
|
+
if (hit[0][0] === "'")
|
|
206
|
+
literal(hit[0].slice(1, -1));
|
|
207
|
+
else
|
|
208
|
+
pieces.push({ token: hit[0] });
|
|
209
|
+
}
|
|
210
|
+
literal(pattern.slice(last));
|
|
211
|
+
// P1, P2: the fields, once each.
|
|
212
|
+
const tokens = pieces.flatMap((p) => ("token" in p ? [p.token] : []));
|
|
213
|
+
if (tokens.includes("yy"))
|
|
214
|
+
return fail("`yy` leaves out the century: write `yyyy`");
|
|
215
|
+
const seen = new Map();
|
|
216
|
+
for (const token of tokens) {
|
|
217
|
+
const field = FIELD_OF[token];
|
|
218
|
+
const before = seen.get(field);
|
|
219
|
+
if (before)
|
|
220
|
+
return fail(`the ${field} twice (\`${before}\`, \`${token}\`)`);
|
|
221
|
+
seen.set(field, token);
|
|
222
|
+
}
|
|
223
|
+
for (const [field, problem] of NEEDED)
|
|
224
|
+
if (!seen.has(field))
|
|
225
|
+
return fail(problem);
|
|
226
|
+
const hour = seen.get("hour");
|
|
227
|
+
result.twelve = hour === "h" || hour === "hh";
|
|
228
|
+
if (result.twelve && !seen.has("period"))
|
|
229
|
+
return fail(`\`${hour}\` needs \`a\` (AM or PM)`);
|
|
230
|
+
if (!result.twelve && seen.has("period")) {
|
|
231
|
+
return fail("`a` needs a 12-hour hour (`h`, `hh`)");
|
|
232
|
+
}
|
|
233
|
+
result.seconds = seen.has("second");
|
|
234
|
+
// P5, P4: a language the runtime knows, for names, and names that can be read.
|
|
235
|
+
const named = tokens.some((t) => /^(MMMM?|EEEE?|a)$/.test(t));
|
|
236
|
+
if (named && !knows(locale))
|
|
237
|
+
return fail(`the runtime doesn't know the language "${locale}"`);
|
|
238
|
+
for (const piece of pieces) {
|
|
239
|
+
if ("text" in piece) {
|
|
240
|
+
result.elements.push({
|
|
241
|
+
kind: "literal",
|
|
242
|
+
text: piece.text,
|
|
243
|
+
match: new RegExp(literalSource(piece.text), "uy"),
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
else if (/^(MMMM?|EEEE?|a)$/.test(piece.token)) {
|
|
247
|
+
const names = namesOf(piece.token, locale);
|
|
248
|
+
if (typeof names === "string")
|
|
249
|
+
return fail(names);
|
|
250
|
+
result.elements.push({
|
|
251
|
+
kind: "name",
|
|
252
|
+
token: piece.token,
|
|
253
|
+
field: FIELD_OF[piece.token],
|
|
254
|
+
names,
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
else {
|
|
258
|
+
const width = piece.token === "yyyy" ? 4 : piece.token.length;
|
|
259
|
+
result.elements.push({
|
|
260
|
+
kind: "number",
|
|
261
|
+
token: piece.token,
|
|
262
|
+
field: FIELD_OF[piece.token],
|
|
263
|
+
min: piece.token.length === 1 ? 1 : width,
|
|
264
|
+
max: piece.token.length === 1 ? 2 : width,
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
if (result.twelve) {
|
|
269
|
+
const periods = periodsOf(locale);
|
|
270
|
+
if (typeof periods === "string")
|
|
271
|
+
return fail(periods);
|
|
272
|
+
result.periods = periods;
|
|
273
|
+
}
|
|
274
|
+
// Seconds may be left out with a one-character separator before them.
|
|
275
|
+
const { elements, digits } = result;
|
|
276
|
+
const s = elements.findIndex((e) => e.kind === "number" && e.field === "second");
|
|
277
|
+
const separator = elements[s - 1];
|
|
278
|
+
if (s > 0 && separator.kind === "literal" && [...separator.text].length === 1 &&
|
|
279
|
+
!/[\p{L}\p{Nd}\s]/u.test(separator.text) && !digits.includes(separator.text) &&
|
|
280
|
+
!startsOf(elements[s + 1], digits).has(kindOf(separator.text, digits)))
|
|
281
|
+
result.optional = s - 1;
|
|
282
|
+
// Two-digit fields take one digit when what follows can't be a digit.
|
|
283
|
+
for (const [i, element] of elements.entries()) {
|
|
284
|
+
const next = startsOf(elements[i + 1], digits);
|
|
285
|
+
// Before the seconds' separator: what follows the seconds may come next too.
|
|
286
|
+
if (result.optional === i + 1) {
|
|
287
|
+
for (const kind of startsOf(elements[i + 3], digits))
|
|
288
|
+
next.add(kind);
|
|
289
|
+
}
|
|
290
|
+
if (element.kind === "number" && element.token.length === 2 && !next.has("digit")) {
|
|
291
|
+
element.min = 1;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
return result;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Why a day-time pattern can't be read back in a language, as a sentence for the developer
|
|
298
|
+
* ("`yy` leaves out the century: write `yyyy`"), or `undefined` when every text it writes
|
|
299
|
+
* (`formatPattern`) reads back (`parseDayTime`) as the value it was written from. Check an app's
|
|
300
|
+
* patterns with it at startup or in a test.
|
|
301
|
+
*
|
|
302
|
+
* A pattern that can be read back has one year (`yyyy`, never `yy`), month (`MM`, `M`, `MMM`,
|
|
303
|
+
* `MMMM`), day (`dd`, `d`), hour (`HH`, `H`, or `hh`, `h` with `a`) and minutes (`mm`), and
|
|
304
|
+
* maybe seconds (`ss`) and a weekday (`EEE`, `EEEE`). Its names, in the language, are distinct,
|
|
305
|
+
* and its month names the Gregorian months: Persian and Thai patterns write `MM`. A pattern with
|
|
306
|
+
* names needs a language the runtime supports. Fields of no fixed length (`d`, `M`, names) need
|
|
307
|
+
* something between them: `yyyy/dM` writes `2026/211` for November 2nd and January 21st, and that
|
|
308
|
+
* text is refused.
|
|
309
|
+
*/
|
|
310
|
+
export function patternProblem(pattern, locale = "en") {
|
|
311
|
+
return compile(pattern, locale).problem;
|
|
312
|
+
}
|
|
313
|
+
/** A field's value read from digits at a place: ASCII or the language's, one kind. */
|
|
314
|
+
function numbersAt(input, at, element, digits) {
|
|
315
|
+
const out = [];
|
|
316
|
+
let system;
|
|
317
|
+
let value = 0;
|
|
318
|
+
let end = at;
|
|
319
|
+
for (let count = 1; count <= element.max; count++) {
|
|
320
|
+
const char = String.fromCodePoint(input.codePointAt(end) ?? 0);
|
|
321
|
+
const ascii = char >= "0" && char <= "9" && char.length === 1;
|
|
322
|
+
const own = digits.indexOf(char);
|
|
323
|
+
const kind = ascii ? "ascii" : own >= 0 ? "own" : undefined;
|
|
324
|
+
if (!kind || (system && kind !== system))
|
|
325
|
+
break;
|
|
326
|
+
system = kind;
|
|
327
|
+
value = value * 10 + (ascii ? +char : own);
|
|
328
|
+
end += char.length;
|
|
329
|
+
if (count >= element.min)
|
|
330
|
+
out.push([end, value]);
|
|
331
|
+
}
|
|
332
|
+
return out;
|
|
333
|
+
}
|
|
334
|
+
/** The day-times the text reads as, to the second one (one is enough to refuse it). */
|
|
335
|
+
function readings(input, c) {
|
|
336
|
+
const found = new Set();
|
|
337
|
+
const walk = (i, at, read) => {
|
|
338
|
+
if (found.size > 1)
|
|
339
|
+
return;
|
|
340
|
+
if (i === c.elements.length) {
|
|
341
|
+
const value = at === input.length ? valueOf(read, c) : undefined;
|
|
342
|
+
if (value)
|
|
343
|
+
found.add(value);
|
|
344
|
+
return;
|
|
345
|
+
}
|
|
346
|
+
if (i === c.optional)
|
|
347
|
+
walk(i + 2, at, { ...read, second: 0 });
|
|
348
|
+
const element = c.elements[i];
|
|
349
|
+
if (element.kind === "literal") {
|
|
350
|
+
element.match.lastIndex = at;
|
|
351
|
+
if (element.match.test(input))
|
|
352
|
+
walk(i + 1, element.match.lastIndex, read);
|
|
353
|
+
}
|
|
354
|
+
else if (element.kind === "number") {
|
|
355
|
+
for (const [end, value] of numbersAt(input, at, element, c.digits)) {
|
|
356
|
+
walk(i + 1, end, { ...read, [element.field]: value });
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
else {
|
|
360
|
+
for (const name of element.names) {
|
|
361
|
+
name.match.lastIndex = at;
|
|
362
|
+
if (name.match.test(input)) {
|
|
363
|
+
walk(i + 1, name.match.lastIndex, { ...read, [element.field]: name.value });
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
};
|
|
368
|
+
walk(0, 0, {});
|
|
369
|
+
return found;
|
|
370
|
+
}
|
|
371
|
+
/** The day-time a reading names, if it's a real one. */
|
|
372
|
+
function valueOf(read, c) {
|
|
373
|
+
const { year = -1, month = 0, day = 0, minute = -1, second = 0 } = read;
|
|
374
|
+
if (month < 1 || month > 12 || day < 1)
|
|
375
|
+
return undefined;
|
|
376
|
+
const date = dayOf(year, month, day);
|
|
377
|
+
if (!isDay(date) || partsOf(date)[0] !== year || partsOf(date)[1] !== month)
|
|
378
|
+
return undefined;
|
|
379
|
+
if (read.weekday !== undefined && weekdayOf(date) !== read.weekday)
|
|
380
|
+
return undefined;
|
|
381
|
+
let hour = read.hour ?? -1;
|
|
382
|
+
if (c.twelve) {
|
|
383
|
+
if (hour < 1 || hour > 12)
|
|
384
|
+
return undefined;
|
|
385
|
+
// The hour whose AM or PM is the one typed: `read.period` is the first hour that says it.
|
|
386
|
+
const said = c.periods[read.period];
|
|
387
|
+
const hours = [hour % 12, hour % 12 + 12].filter((h) => c.periods[h] === said);
|
|
388
|
+
if (hours.length !== 1)
|
|
389
|
+
return undefined;
|
|
390
|
+
hour = hours[0];
|
|
391
|
+
}
|
|
392
|
+
if (hour < 0 || hour > 23 || minute < 0 || minute > 59 || second > 59)
|
|
393
|
+
return undefined;
|
|
394
|
+
return dayTimeOf(date, hour, minute, c.seconds ? second : undefined);
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* A day and a time read from text typed in a pattern (`dd/MM/yyyy HH:mm:ss`, `M/d/yyyy h:mm a`;
|
|
398
|
+
* see `formatPattern`), the inverse of `formatPattern` with the same pattern and language:
|
|
399
|
+
* `parseDayTime(formatPattern(value, pattern, locale), pattern, locale)` is `value`. With no
|
|
400
|
+
* pattern, the language's own (`dayTimePattern(locale)`). `locale` is the language of month,
|
|
401
|
+
* weekday and AM/PM words, and of the digits it reads besides ASCII (English by default; the
|
|
402
|
+
* page's is `lang()`).
|
|
403
|
+
*
|
|
404
|
+
* It reads what the pattern writes, allowing only this: spaces of any kind and number where the
|
|
405
|
+
* pattern has spaces, and at the text's edges; letters in any case; a month or weekday name
|
|
406
|
+
* without its final dot; AM and PM with or without dots (`p.m.`, `pm`); one digit where the
|
|
407
|
+
* pattern writes two and no digit follows; the language's own digits
|
|
408
|
+
* (Arabic-Indic, Persian, Bengali…), one kind to a field; invisible marks (right-to-left marks)
|
|
409
|
+
* anywhere; and seconds left out with the `:` before them, when the pattern writes them (they're
|
|
410
|
+
* `:00`).
|
|
411
|
+
*
|
|
412
|
+
* `undefined` for text that isn't one real day and time in the pattern: February 30th, 25:00,
|
|
413
|
+
* 13 PM, a two-digit year, a weekday that isn't the date's, seconds the pattern doesn't write,
|
|
414
|
+
* text that could be two day-times. Every text is `undefined` when the pattern can't be read back
|
|
415
|
+
* (`patternProblem` says why). Days are Gregorian, whatever the language's calendar: a Buddhist
|
|
416
|
+
* year typed in Thai is read as that Gregorian year. Years have four digits, 0000 (1 BC) to 9999.
|
|
417
|
+
* The value has seconds (`YYYY-MM-DD HH:mm:ss`) when the pattern writes them, and none when it
|
|
418
|
+
* doesn't.
|
|
419
|
+
*
|
|
420
|
+
* ```ts
|
|
421
|
+
* parseDayTime("02/11/2026 14:30:05", "dd/MM/yyyy HH:mm:ss"); // "2026-11-02 14:30:05"
|
|
422
|
+
* parseDayTime("11/2/2026 2:30 PM", "M/d/yyyy h:mm a"); // "2026-11-02 14:30"
|
|
423
|
+
* parseDayTime("31/02/2026 10:00", "dd/MM/yyyy HH:mm"); // undefined: February has no 31st
|
|
424
|
+
* parseDayTime("11/02/2026 02:30 PM", undefined, "en-US"); // "2026-11-02 14:30:00"
|
|
425
|
+
* ```
|
|
426
|
+
*/
|
|
427
|
+
export function parseDayTime(text, pattern, locale = "en") {
|
|
428
|
+
const c = compile(pattern ?? dayTimePattern(locale), locale);
|
|
429
|
+
if (c.problem)
|
|
430
|
+
return undefined;
|
|
431
|
+
const values = readings(keyOf(text).trim(), c);
|
|
432
|
+
return values.size === 1 ? [...values][0] : undefined;
|
|
433
|
+
}
|
|
434
|
+
const ownCache = new Map();
|
|
435
|
+
/** A part of `Intl`'s writing as a pattern's letters, or undefined for a part it doesn't know. */
|
|
436
|
+
const letter = (type, twelve) => ({
|
|
437
|
+
year: "yyyy",
|
|
438
|
+
month: "MM",
|
|
439
|
+
day: "dd",
|
|
440
|
+
hour: twelve ? "hh" : "HH",
|
|
441
|
+
minute: "mm",
|
|
442
|
+
second: "ss",
|
|
443
|
+
dayPeriod: "a",
|
|
444
|
+
}[type]);
|
|
445
|
+
/** A language's own pattern, its day and its time apart (the toolkit's order when it has none). */
|
|
446
|
+
function ownParts(locale, seconds) {
|
|
447
|
+
const id = `${locale}\u0000${seconds}`;
|
|
448
|
+
const made = ownCache.get(id);
|
|
449
|
+
if (made)
|
|
450
|
+
return made;
|
|
451
|
+
let parts = { day: "yyyy-MM-dd", time: seconds ? "HH:mm:ss" : "HH:mm" };
|
|
452
|
+
if (!knows(locale)) {
|
|
453
|
+
ownCache.set(id, parts);
|
|
454
|
+
return parts;
|
|
455
|
+
}
|
|
456
|
+
try {
|
|
457
|
+
const cycle = new Intl.DateTimeFormat(locale, { hour: "numeric" }).resolvedOptions().hourCycle;
|
|
458
|
+
const twelve = cycle === "h11" || cycle === "h12";
|
|
459
|
+
const sample = new Date(Date.UTC(2026, 10, 2, 14, 30, 5));
|
|
460
|
+
const common = { calendar: "gregory", numberingSystem: "latn", timeZone: "UTC" };
|
|
461
|
+
const lettered = (options) => {
|
|
462
|
+
const written = new Intl.DateTimeFormat(locale, { ...common, ...options });
|
|
463
|
+
const out = written.formatToParts(sample).map(({ type, value }) => {
|
|
464
|
+
if (type === "literal") {
|
|
465
|
+
const text = value.replace(/'/g, "").replace(/\s+/g, " ");
|
|
466
|
+
return text ? `'${text}'` : "";
|
|
467
|
+
}
|
|
468
|
+
return letter(type, twelve);
|
|
469
|
+
});
|
|
470
|
+
return out.includes(undefined) ? undefined : out.join("");
|
|
471
|
+
};
|
|
472
|
+
const day = lettered({ year: "numeric", month: "2-digit", day: "2-digit" });
|
|
473
|
+
const time = lettered({
|
|
474
|
+
hour: "2-digit",
|
|
475
|
+
minute: "2-digit",
|
|
476
|
+
...(seconds ? { second: "2-digit" } : {}),
|
|
477
|
+
hourCycle: twelve ? "h12" : "h23",
|
|
478
|
+
});
|
|
479
|
+
if (day && time && patternProblem(`${day} ${time}`, locale) === undefined) {
|
|
480
|
+
parts = { day, time };
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
catch {
|
|
484
|
+
// A language the runtime doesn't know: the toolkit's own order.
|
|
485
|
+
}
|
|
486
|
+
ownCache.set(id, parts);
|
|
487
|
+
return parts;
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* The pattern a language writes a day and a time in, as people type them: the language's order
|
|
491
|
+
* and separators and its 12- or 24-hour clock, with a four-digit year, two-digit fields, the
|
|
492
|
+
* Gregorian calendar, and seconds unless `seconds` is false. `MM/dd/yyyy hh:mm:ss a` in American
|
|
493
|
+
* English, `dd/MM/yyyy HH:mm:ss` in Brazilian Portuguese, `yyyy/MM/dd HH:mm:ss` in Japanese,
|
|
494
|
+
* `dd.MM.yyyy HH.mm.ss` in Finnish; Thai and Persian patterns write the Gregorian year too. Its
|
|
495
|
+
* words are quoted (`MM'/'dd'/'yyyy hh':'mm':'ss' 'a`), with plain spaces. A language the runtime
|
|
496
|
+
* doesn't support (`Intl.DateTimeFormat.supportedLocalesOf` leaves it out: `zz-ZZ`), or one whose
|
|
497
|
+
* own pattern can't be read back, gets `yyyy-MM-dd HH:mm:ss`.
|
|
498
|
+
*
|
|
499
|
+
* What `parseDayTime` reads with no pattern, and what `DateRangePicker` with `seconds` shows
|
|
500
|
+
* without a `format` it can read back; `formatPattern(value, dayTimePattern(locale), locale)` writes
|
|
501
|
+
* a value in it.
|
|
502
|
+
*/
|
|
503
|
+
export function dayTimePattern(locale = "en", seconds = true) {
|
|
504
|
+
const { day, time } = ownParts(locale, seconds);
|
|
505
|
+
return `${day} ${time}`;
|
|
506
|
+
}
|
|
507
|
+
const TIME_FIELDS = new Set(["hour", "minute", "second", "period"]);
|
|
508
|
+
/**
|
|
509
|
+
* The pattern a range to the second (`DateRangePicker` with `seconds`) writes and reads its ends
|
|
510
|
+
* by, in a language: `format` when it can be read back (a day's pattern with the language's time
|
|
511
|
+
* after it; a day-time pattern to the minute with `:ss` after its minutes), or else the
|
|
512
|
+
* language's own (`dayTimePattern`), with why `format` was set aside.
|
|
513
|
+
*/
|
|
514
|
+
export function rangeSecondsPattern(format, locale) {
|
|
515
|
+
const own = dayTimePattern(locale);
|
|
516
|
+
if (format === undefined)
|
|
517
|
+
return { pattern: own };
|
|
518
|
+
if (typeof format !== "string") {
|
|
519
|
+
return { pattern: own, setAside: "a function can't be read back" };
|
|
520
|
+
}
|
|
521
|
+
const tokens = [...format.matchAll(TOKENS)].filter(([token]) => token[0] !== "'");
|
|
522
|
+
const mm = tokens.find(([token]) => token === "mm");
|
|
523
|
+
const pattern = !tokens.some(([token]) => TIME_FIELDS.has(FIELD_OF[token]))
|
|
524
|
+
? `${format} ${ownParts(locale, true).time}`
|
|
525
|
+
: tokens.some(([token]) => token === "ss") || !mm
|
|
526
|
+
? format
|
|
527
|
+
: `${format.slice(0, mm.index + 2)}:ss${format.slice(mm.index + 2)}`;
|
|
528
|
+
const problem = patternProblem(pattern, locale);
|
|
529
|
+
return problem ? { pattern: own, setAside: problem } : { pattern };
|
|
530
|
+
}
|
|
531
|
+
/** An end as the toolkit keeps one, typed or pasted: `2026-11-02 14:30:05`, or with a `T`. */
|
|
532
|
+
const KEPT = /^(\d{4}-\d{2}-\d{2})[ T](\d{2}:\d{2}(?::\d{2})?)$/;
|
|
533
|
+
/**
|
|
534
|
+
* An end of a range to the second read from typed text, always with seconds: by the range's
|
|
535
|
+
* pattern (`rangeSecondsPattern`), or as the toolkit keeps one. Text the two read as different
|
|
536
|
+
* ends is refused (`yyyy-dd-MM` reads `2026-11-02` as February 11th).
|
|
537
|
+
*/
|
|
538
|
+
export function readEnd(text, pattern, locale) {
|
|
539
|
+
const read = parseDayTime(text, pattern, locale);
|
|
540
|
+
const byPattern = read && read.length === 16 ? `${read}:00` : read;
|
|
541
|
+
const kept = KEPT.exec(text.replace(/\p{Cf}/gu, "").trim());
|
|
542
|
+
const value = kept && `${kept[1]} ${kept[2]}`;
|
|
543
|
+
const asKept = value && isDayTime(value)
|
|
544
|
+
? (value.length === 16 ? `${value}:00` : value)
|
|
545
|
+
: undefined;
|
|
546
|
+
if (byPattern && asKept && byPattern !== asKept)
|
|
547
|
+
return undefined;
|
|
548
|
+
return byPattern ?? asKept;
|
|
549
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The moment a day-time (or a day, at 00:00:00) is in a time zone (IANA: `America/Sao_Paulo`;
|
|
3
|
+
* the page's when none is given), as a `Date`: for a timestamp to store, or the ends of a report's
|
|
4
|
+
* range to compare stored timestamps with. `dateOfDayTime("2026-11-16 14:30", "America/Sao_Paulo")`
|
|
5
|
+
* is `2026-11-16T17:30:00.000Z`.
|
|
6
|
+
*
|
|
7
|
+
* Where the clocks change, one rule, Temporal's "compatible": a time they skip moves forward by
|
|
8
|
+
* the gap (02:30 on the night New York springs forward is 03:30 there, `07:30Z`), and a time they
|
|
9
|
+
* repeat is its first pass (01:30 on the night New York falls back is `05:30Z`, not `06:30Z`).
|
|
10
|
+
* It's what `new Date(y, m - 1, d, h, mi, s)` does in the page's zone, and a named zone and the
|
|
11
|
+
* page's own follow it alike. With no zone, the page's clock is read as `Date` reads it, so a
|
|
12
|
+
* zone set the POSIX way (`TZ=GMT+3`, `EST5EDT`) is the one `Date` uses. Years are 0000 to 9999.
|
|
13
|
+
* `undefined` when the value isn't a day (`YYYY-MM-DD`) or a day-time (`YYYY-MM-DD HH:mm`,
|
|
14
|
+
* `YYYY-MM-DD HH:mm:ss`); a zone `Intl` doesn't know throws its `RangeError`.
|
|
15
|
+
*/
|
|
16
|
+
export declare function dateOfDayTime(value: string, timeZone?: string): Date | undefined;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The moment a day-time names in a time zone: what a timestamp to store, or a report's range to
|
|
3
|
+
* compare stored timestamps with, needs from the app's clock time. One rule where the clocks
|
|
4
|
+
* change, wherever the zone comes from (Temporal's "compatible"): a time they skip moves forward
|
|
5
|
+
* by the gap, a time they repeat is its first pass.
|
|
6
|
+
*
|
|
7
|
+
* ```ts
|
|
8
|
+
* dateOfDayTime("2026-11-16 14:30", "America/Sao_Paulo")?.toISOString(); // "2026-11-16T17:30:00.000Z"
|
|
9
|
+
* dateOfDayTime("2026-03-08 02:30", "America/New_York")?.toISOString(); // "2026-03-08T07:30:00.000Z"
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
import { isDay, isDayTime, partsOf, partsOfDayTime } from "./dates.js";
|
|
13
|
+
const DAY = 86_400_000;
|
|
14
|
+
const clocks = new Map();
|
|
15
|
+
/** A zone's clock: its wall time, era and all, so year 0 is 1 BC. Throws for a zone `Intl` doesn't know. */
|
|
16
|
+
function clockOf(zone) {
|
|
17
|
+
let clock = clocks.get(zone);
|
|
18
|
+
if (!clock) {
|
|
19
|
+
clock = new Intl.DateTimeFormat("en-US", {
|
|
20
|
+
timeZone: zone,
|
|
21
|
+
era: "short",
|
|
22
|
+
year: "numeric",
|
|
23
|
+
month: "numeric",
|
|
24
|
+
day: "numeric",
|
|
25
|
+
hour: "numeric",
|
|
26
|
+
minute: "numeric",
|
|
27
|
+
second: "numeric",
|
|
28
|
+
hourCycle: "h23",
|
|
29
|
+
});
|
|
30
|
+
clocks.set(zone, clock);
|
|
31
|
+
}
|
|
32
|
+
return clock;
|
|
33
|
+
}
|
|
34
|
+
/** A wall time, in milliseconds as if it were UTC. */
|
|
35
|
+
function wallMs(year, month, day, h, m, s) {
|
|
36
|
+
const at = new Date(0);
|
|
37
|
+
at.setUTCFullYear(year, month - 1, day);
|
|
38
|
+
at.setUTCHours(h, m, s, 0);
|
|
39
|
+
return at.getTime();
|
|
40
|
+
}
|
|
41
|
+
/** What a named zone's clock shows at an instant, as `wallMs` writes it. */
|
|
42
|
+
function wallAt(zone, ms) {
|
|
43
|
+
const parts = {};
|
|
44
|
+
for (const { type, value } of clockOf(zone).formatToParts(new Date(ms)))
|
|
45
|
+
parts[type] = value;
|
|
46
|
+
const year = /^B/.test(parts.era) ? 1 - Number(parts.year) : Number(parts.year);
|
|
47
|
+
return wallMs(year, Number(parts.month), Number(parts.day), Number(parts.hour) % 24, Number(parts.minute), Number(parts.second));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* What the page's own clock (the process's) shows at an instant, as `Date` reads it: its zone may
|
|
51
|
+
* have no IANA name `Intl` reads alike (`TZ=GMT+3` is three hours behind UTC by POSIX's sign, and
|
|
52
|
+
* `Intl` may read it as ahead).
|
|
53
|
+
*/
|
|
54
|
+
function localWallAt(ms) {
|
|
55
|
+
const at = new Date(ms);
|
|
56
|
+
return wallMs(at.getFullYear(), at.getMonth() + 1, at.getDate(), at.getHours(), at.getMinutes(), at.getSeconds());
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The moment a day-time (or a day, at 00:00:00) is in a time zone (IANA: `America/Sao_Paulo`;
|
|
60
|
+
* the page's when none is given), as a `Date`: for a timestamp to store, or the ends of a report's
|
|
61
|
+
* range to compare stored timestamps with. `dateOfDayTime("2026-11-16 14:30", "America/Sao_Paulo")`
|
|
62
|
+
* is `2026-11-16T17:30:00.000Z`.
|
|
63
|
+
*
|
|
64
|
+
* Where the clocks change, one rule, Temporal's "compatible": a time they skip moves forward by
|
|
65
|
+
* the gap (02:30 on the night New York springs forward is 03:30 there, `07:30Z`), and a time they
|
|
66
|
+
* repeat is its first pass (01:30 on the night New York falls back is `05:30Z`, not `06:30Z`).
|
|
67
|
+
* It's what `new Date(y, m - 1, d, h, mi, s)` does in the page's zone, and a named zone and the
|
|
68
|
+
* page's own follow it alike. With no zone, the page's clock is read as `Date` reads it, so a
|
|
69
|
+
* zone set the POSIX way (`TZ=GMT+3`, `EST5EDT`) is the one `Date` uses. Years are 0000 to 9999.
|
|
70
|
+
* `undefined` when the value isn't a day (`YYYY-MM-DD`) or a day-time (`YYYY-MM-DD HH:mm`,
|
|
71
|
+
* `YYYY-MM-DD HH:mm:ss`); a zone `Intl` doesn't know throws its `RangeError`.
|
|
72
|
+
*/
|
|
73
|
+
export function dateOfDayTime(value, timeZone) {
|
|
74
|
+
const timed = isDayTime(value);
|
|
75
|
+
if (!timed && !isDay(value))
|
|
76
|
+
return undefined;
|
|
77
|
+
const [year, month, day] = partsOf(value);
|
|
78
|
+
const { hour, minute, second = 0 } = timed ? partsOfDayTime(value) : { hour: 0, minute: 0 };
|
|
79
|
+
const wall = wallMs(year, month, day, hour, minute, second);
|
|
80
|
+
const clock = timeZone === undefined ? localWallAt : (ms) => wallAt(timeZone, ms);
|
|
81
|
+
// The zone's offsets a day either side: one, or the two a change of the clocks is between.
|
|
82
|
+
const before = clock(wall - DAY) - (wall - DAY);
|
|
83
|
+
const after = clock(wall + DAY) - (wall + DAY);
|
|
84
|
+
const shown = [wall - before, wall - after].filter((at) => clock(at) === wall);
|
|
85
|
+
// A time the clock shows: its first instant. A skipped one: by the offset before the change.
|
|
86
|
+
return new Date(shown.length ? Math.min(...shown) : wall - before);
|
|
87
|
+
}
|