aimeat 2.7.0 → 3.1.0
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/dist/.env.example +86 -2
- package/dist/build-stamp.json +4 -4
- package/dist/locales/en.json +9103 -8612
- package/dist/locales/es.json +9095 -0
- package/dist/locales/fi.json +9103 -8612
- package/dist/public/agent-consent.html +17 -2
- package/dist/public/changelog.json +169 -0
- package/dist/public/components/AgentConsent.js +158 -0
- package/dist/public/components/CardMenu.js +100 -0
- package/dist/public/components/CopyButton.js +20 -4
- package/dist/public/components/HomeUiSwitch.js +78 -0
- package/dist/public/components/ImageDeliverable.js +2 -3
- package/dist/public/components/LinkPreview.js +28 -5
- package/dist/public/components/NotificationBell.js +4 -3
- package/dist/public/components/OpenItemsButton.js +67 -0
- package/dist/public/components/OpenItemsList.js +151 -0
- package/dist/public/components/PromptCard.js +128 -0
- package/dist/public/cortex-bundled/aimeat-input.js +611 -0
- package/dist/public/cortex-bundled/aimeat-input.yaml +149 -0
- package/dist/public/css/components/card-menu.css +64 -0
- package/dist/public/css/components/hello-mcp.css +8 -0
- package/dist/public/css/style-testbed.css +2 -5
- package/dist/public/css/theme.css +86 -35
- package/dist/public/css/views/agents-detail.css +12 -16
- package/dist/public/css/views/help.css +7 -33
- package/dist/public/css/views/home.css +538 -0
- package/dist/public/css/views/inbox.css +40 -1
- package/dist/public/css/views/landing.css +25 -8
- package/dist/public/css/views/portal-classic.css +3 -17
- package/dist/public/css/views/portal-dev.css +23 -12
- package/dist/public/css/views/profile.css +3683 -3553
- package/dist/public/css/views/start.css +1 -1
- package/dist/public/js/api.js +17 -17
- package/dist/public/js/components/auth-image.js +2 -8
- package/dist/public/js/services/admin.js +0 -8
- package/dist/public/js/services/auth.js +261 -79
- package/dist/public/js/services/memory.js +2 -5
- package/dist/public/js/services/offers.js +22 -2
- package/dist/public/js/services/open-items.js +116 -0
- package/dist/public/js/services/organisms.images.js +2 -2
- package/dist/public/js/services/organisms.js +7 -11
- package/dist/public/js/services/organisms.prompts.js +29 -9
- package/dist/public/js/services/packages.js +3 -6
- package/dist/public/js/services/shares.js +70 -0
- package/dist/public/js/services/skills.js +5 -8
- package/dist/public/js/services/unfurl.js +2 -3
- package/dist/public/js/style-testbed.js +13 -15
- package/dist/public/js/use-session.js +38 -0
- package/dist/public/js/utils.js +12 -7
- package/dist/public/lib/VENDORED.md +1 -0
- package/dist/public/lib/three-world@1.min.js +4335 -0
- package/dist/public/oauth-consent.html +54 -10
- package/dist/public/spa.html +1028 -959
- package/dist/public/style-testbed.html +12 -11
- package/dist/public/views/admin/csm-tab.js +4 -1
- package/dist/public/views/admin/email-tab.js +459 -458
- package/dist/public/views/admin/portal-tab.js +4 -2
- package/dist/public/views/admin/prompts-tab.js +16 -0
- package/dist/public/views/admin/security-tab.js +2 -2
- package/dist/public/views/admin.js +1 -4
- package/dist/public/views/app-grant.js +7 -12
- package/dist/public/views/help.js +3 -1
- package/dist/public/views/home/feed.js +209 -0
- package/dist/public/views/home/header.js +44 -0
- package/dist/public/views/home/index.js +227 -0
- package/dist/public/views/home/settings-dialog.js +96 -0
- package/dist/public/views/home/step-agent.js +277 -0
- package/dist/public/views/home/step-branch-b.js +186 -0
- package/dist/public/views/home/step-mat.js +228 -0
- package/dist/public/views/home/welcome-door.js +143 -0
- package/dist/public/views/invite-accept.js +17 -20
- package/dist/public/views/landing-prompts.js +170 -0
- package/dist/public/views/landing.js +89 -188
- package/dist/public/views/portal-classic.js +19 -13
- package/dist/public/views/portal-dev.js +28 -16
- package/dist/public/views/portal-dev.panels.js +18 -30
- package/dist/public/views/portal-dev.shared.js +9 -4
- package/dist/public/views/portfolio/builder.js +4 -1
- package/dist/public/views/portfolio/shared.js +4 -8
- package/dist/public/views/portfolio.js +9 -25
- package/dist/public/views/profile/access-tab/access-tokens.js +3 -8
- package/dist/public/views/profile/access-tab/connections.js +158 -3
- package/dist/public/views/profile/access-tab/shares-incoming.js +63 -0
- package/dist/public/views/profile/access-tab/sharing-groups.js +119 -2
- package/dist/public/views/profile/access-tab.js +11 -4
- package/dist/public/views/profile/agents/agent-card.js +69 -32
- package/dist/public/views/profile/agents/scope-config.js +27 -43
- package/dist/public/views/profile/agents/scope-model.js +296 -0
- package/dist/public/views/profile/agents/scopes-modal.js +54 -43
- package/dist/public/views/profile/agents/shared-board.js +20 -16
- package/dist/public/views/profile/agents/state-detector.js +35 -29
- package/dist/public/views/profile/agents/tab-agent-config.js +5 -2
- package/dist/public/views/profile/agents/tab-integration.js +8 -4
- package/dist/public/views/profile/agents-tab.js +46 -73
- package/dist/public/views/profile/ai-setup-guide.js +7 -3
- package/dist/public/views/profile/appdev-tab.js +46 -2
- package/dist/public/views/profile/apps-tab.js +19 -13
- package/dist/public/views/profile/calibrator-batch.helpers.js +2 -3
- package/dist/public/views/profile/calibrator-batch.js +5 -2
- package/dist/public/views/profile/calibrator-tab.js +6 -3
- package/dist/public/views/profile/companies-front-page.js +172 -0
- package/dist/public/views/profile/companies-prompts.js +194 -0
- package/dist/public/views/profile/companies-tab.js +354 -0
- package/dist/public/views/profile/ecosystem-tab.cards.js +3 -1
- package/dist/public/views/profile/ecosystem-tab.helpers.js +12 -1
- package/dist/public/views/profile/extensions-tab.js +8 -8
- package/dist/public/views/profile/hello-mcp-panel.js +5 -2
- package/dist/public/views/profile/inbox-tab/components.js +24 -40
- package/dist/public/views/profile/inbox-tab/helpers.js +57 -4
- package/dist/public/views/profile/inbox-tab/panels.js +7 -0
- package/dist/public/views/profile/inbox-tab/use-thread-ux.js +48 -2
- package/dist/public/views/profile/inbox-tab.js +63 -57
- package/dist/public/views/profile/instruction-block.js +4 -1
- package/dist/public/views/profile/landing-page.cards.js +32 -2
- package/dist/public/views/profile/landing-page.js +52 -7
- package/dist/public/views/profile/landing-page.modals.js +2 -6
- package/dist/public/views/profile/memory-tab/backup.js +77 -0
- package/dist/public/views/profile/memory-tab/browse-view.js +4 -1
- package/dist/public/views/profile/memory-tab/components.js +16 -46
- package/dist/public/views/profile/memory-tab/entries-view.js +50 -10
- package/dist/public/views/profile/memory-tab/file-helpers.js +2 -5
- package/dist/public/views/profile/memory-tab/files-view.js +5 -2
- package/dist/public/views/profile/memory-tab/sharing.js +74 -0
- package/dist/public/views/profile/memory-tab.js +19 -57
- package/dist/public/views/profile/nodes-tab.js +4 -1
- package/dist/public/views/profile/notifications-tab.js +2 -1
- package/dist/public/views/profile/organisms/helpers.js +2 -2
- package/dist/public/views/profile/organisms/home.js +4 -1
- package/dist/public/views/profile/organisms/invite-panel.js +6 -5
- package/dist/public/views/profile/organisms/members.js +2 -1
- package/dist/public/views/profile/organisms/panels.js +4 -1
- package/dist/public/views/profile/organisms/readme-panel.js +17 -7
- package/dist/public/views/profile/organisms/workspace/generator.js +4 -1
- package/dist/public/views/profile/organisms/workspace/model.js +4 -7
- package/dist/public/views/profile/organisms/workspace/panels.js +7 -2
- package/dist/public/views/profile/organisms/workspace/record-space.js +9 -1
- package/dist/public/views/profile/organisms/workspace-comments.js +2 -1
- package/dist/public/views/profile/organisms/workspace-list.js +3 -3
- package/dist/public/views/profile/organisms/workspace.js +8 -5
- package/dist/public/views/profile/organisms-tab.js +37 -4
- package/dist/public/views/profile/pnl-tab.js +236 -0
- package/dist/public/views/profile/portfolio-tab.js +4 -1
- package/dist/public/views/profile/wallet-tab.js +48 -3
- package/dist/public/views/profile.js +4 -0
- package/dist/public/views/public-knowledge-viewer.js +4 -1
- package/dist/public/views/public-workspace-viewer.js +7 -16
- package/dist/public/views/start.js +6 -4
- package/dist/public/views/transparency.js +11 -0
- package/dist/scripts/audit-mcp-tools.js +32 -1
- package/dist/scripts/audit-mcp-tools.js.map +1 -1
- package/dist/scripts/changelog-add.d.ts +2 -0
- package/dist/scripts/changelog-add.d.ts.map +1 -0
- package/dist/scripts/changelog-add.js +133 -0
- package/dist/scripts/changelog-add.js.map +1 -0
- package/dist/scripts/check-ai-disclosure.d.ts.map +1 -1
- package/dist/scripts/check-ai-disclosure.js +44 -21
- package/dist/scripts/check-ai-disclosure.js.map +1 -1
- package/dist/scripts/check-copied-logic.d.ts +2 -0
- package/dist/scripts/check-copied-logic.d.ts.map +1 -0
- package/dist/scripts/check-copied-logic.js +201 -0
- package/dist/scripts/check-copied-logic.js.map +1 -0
- package/dist/scripts/check-ext-entrypoints.d.ts +2 -0
- package/dist/scripts/check-ext-entrypoints.d.ts.map +1 -0
- package/dist/scripts/check-ext-entrypoints.js +118 -0
- package/dist/scripts/check-ext-entrypoints.js.map +1 -0
- package/dist/scripts/check-js-syntax.d.ts +1 -26
- package/dist/scripts/check-js-syntax.d.ts.map +1 -1
- package/dist/scripts/check-js-syntax.js +9 -82
- package/dist/scripts/check-js-syntax.js.map +1 -1
- package/dist/scripts/check-liaison-surface.d.ts +2 -0
- package/dist/scripts/check-liaison-surface.d.ts.map +1 -0
- package/dist/scripts/check-liaison-surface.js +181 -0
- package/dist/scripts/check-liaison-surface.js.map +1 -0
- package/dist/scripts/check-locales.d.ts +2 -0
- package/dist/scripts/check-locales.d.ts.map +1 -0
- package/dist/scripts/check-locales.js +46 -0
- package/dist/scripts/check-locales.js.map +1 -0
- package/dist/scripts/check-outbound-fetch.d.ts +8 -0
- package/dist/scripts/check-outbound-fetch.d.ts.map +1 -0
- package/dist/scripts/check-outbound-fetch.js +134 -0
- package/dist/scripts/check-outbound-fetch.js.map +1 -0
- package/dist/scripts/check-profile-tabs.d.ts +2 -0
- package/dist/scripts/check-profile-tabs.d.ts.map +1 -0
- package/dist/scripts/check-profile-tabs.js +71 -0
- package/dist/scripts/check-profile-tabs.js.map +1 -0
- package/dist/scripts/check-route-scopes.d.ts +8 -0
- package/dist/scripts/check-route-scopes.d.ts.map +1 -0
- package/dist/scripts/check-route-scopes.js +174 -0
- package/dist/scripts/check-route-scopes.js.map +1 -0
- package/dist/scripts/check-shared-implementation.d.ts +2 -0
- package/dist/scripts/check-shared-implementation.d.ts.map +1 -0
- package/dist/scripts/check-shared-implementation.js +158 -0
- package/dist/scripts/check-shared-implementation.js.map +1 -0
- package/dist/scripts/check-sse-parity.d.ts +2 -0
- package/dist/scripts/check-sse-parity.d.ts.map +1 -0
- package/dist/scripts/check-sse-parity.js +195 -0
- package/dist/scripts/check-sse-parity.js.map +1 -0
- package/dist/scripts/check-storage-parity.d.ts +2 -0
- package/dist/scripts/check-storage-parity.d.ts.map +1 -0
- package/dist/scripts/check-storage-parity.js +121 -0
- package/dist/scripts/check-storage-parity.js.map +1 -0
- package/dist/scripts/check-trusted-keys.d.ts +9 -0
- package/dist/scripts/check-trusted-keys.d.ts.map +1 -0
- package/dist/scripts/check-trusted-keys.js +122 -0
- package/dist/scripts/check-trusted-keys.js.map +1 -0
- package/dist/scripts/lib/locale-files.d.ts +40 -0
- package/dist/scripts/lib/locale-files.d.ts.map +1 -0
- package/dist/scripts/lib/locale-files.js +181 -0
- package/dist/scripts/lib/locale-files.js.map +1 -0
- package/dist/scripts/locale-extract.d.ts +2 -0
- package/dist/scripts/locale-extract.d.ts.map +1 -0
- package/dist/scripts/locale-extract.js +99 -0
- package/dist/scripts/locale-extract.js.map +1 -0
- package/dist/scripts/locale-merge.d.ts +2 -0
- package/dist/scripts/locale-merge.d.ts.map +1 -0
- package/dist/scripts/locale-merge.js +114 -0
- package/dist/scripts/locale-merge.js.map +1 -0
- package/dist/scripts/migrate-group-shares.d.ts +2 -0
- package/dist/scripts/migrate-group-shares.d.ts.map +1 -0
- package/dist/scripts/migrate-group-shares.js +89 -0
- package/dist/scripts/migrate-group-shares.js.map +1 -0
- package/dist/src/auth/jwt.d.ts.map +1 -1
- package/dist/src/auth/jwt.js +12 -2
- package/dist/src/auth/jwt.js.map +1 -1
- package/dist/src/auth/middleware.d.ts +56 -0
- package/dist/src/auth/middleware.d.ts.map +1 -1
- package/dist/src/auth/middleware.js +121 -4
- package/dist/src/auth/middleware.js.map +1 -1
- package/dist/src/auth/sse-domain-scopes.d.ts +4 -7
- package/dist/src/auth/sse-domain-scopes.d.ts.map +1 -1
- package/dist/src/auth/sse-domain-scopes.js +15 -4
- package/dist/src/auth/sse-domain-scopes.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/agent-management.d.ts +1 -0
- package/dist/src/cli/connect/mcp/tools/agent-management.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/agent-management.js +9 -0
- package/dist/src/cli/connect/mcp/tools/agent-management.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/appdev.d.ts +8 -1
- package/dist/src/cli/connect/mcp/tools/appdev.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/appdev.js +13 -13
- package/dist/src/cli/connect/mcp/tools/appdev.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/companies.d.ts +20 -0
- package/dist/src/cli/connect/mcp/tools/companies.d.ts.map +1 -0
- package/dist/src/cli/connect/mcp/tools/companies.js +103 -0
- package/dist/src/cli/connect/mcp/tools/companies.js.map +1 -0
- package/dist/src/cli/connect/mcp/tools/groups.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/groups.js +27 -0
- package/dist/src/cli/connect/mcp/tools/groups.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/index.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/index.js +4 -2
- package/dist/src/cli/connect/mcp/tools/index.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/knowledge.d.ts +7 -0
- package/dist/src/cli/connect/mcp/tools/knowledge.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/knowledge.js +9 -5
- package/dist/src/cli/connect/mcp/tools/knowledge.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/portfolio.d.ts +19 -0
- package/dist/src/cli/connect/mcp/tools/portfolio.d.ts.map +1 -0
- package/dist/src/cli/connect/mcp/tools/portfolio.js +13 -0
- package/dist/src/cli/connect/mcp/tools/portfolio.js.map +1 -0
- package/dist/src/cli/connect/mcp/tools/schedules.d.ts +3 -0
- package/dist/src/cli/connect/mcp/tools/schedules.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/schedules.js +5 -0
- package/dist/src/cli/connect/mcp/tools/schedules.js.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-agent.d.ts +3 -1
- package/dist/src/cli/connect/tool-call-defs-agent.d.ts.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-agent.js +16 -31
- package/dist/src/cli/connect/tool-call-defs-agent.js.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-apps.d.ts +39 -0
- package/dist/src/cli/connect/tool-call-defs-apps.d.ts.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-apps.js +116 -21
- package/dist/src/cli/connect/tool-call-defs-apps.js.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-core.d.ts +33 -0
- package/dist/src/cli/connect/tool-call-defs-core.d.ts.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-core.js +64 -4
- package/dist/src/cli/connect/tool-call-defs-core.js.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-organism.d.ts.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-organism.js +6 -0
- package/dist/src/cli/connect/tool-call-defs-organism.js.map +1 -1
- package/dist/src/cli/init-wizard/presets.d.ts.map +1 -1
- package/dist/src/cli/init-wizard/presets.js +2 -0
- package/dist/src/cli/init-wizard/presets.js.map +1 -1
- package/dist/src/cli/init-wizard/steps-advanced.d.ts +3 -0
- package/dist/src/cli/init-wizard/steps-advanced.d.ts.map +1 -1
- package/dist/src/cli/init-wizard/steps-advanced.js +30 -0
- package/dist/src/cli/init-wizard/steps-advanced.js.map +1 -1
- package/dist/src/commerce/beneficiary-book.d.ts +19 -0
- package/dist/src/commerce/beneficiary-book.d.ts.map +1 -1
- package/dist/src/commerce/beneficiary-book.js +20 -0
- package/dist/src/commerce/beneficiary-book.js.map +1 -1
- package/dist/src/commerce/hold-book.d.ts +49 -0
- package/dist/src/commerce/hold-book.d.ts.map +1 -0
- package/dist/src/commerce/hold-book.js +181 -0
- package/dist/src/commerce/hold-book.js.map +1 -0
- package/dist/src/commerce/session-service.d.ts +8 -1
- package/dist/src/commerce/session-service.d.ts.map +1 -1
- package/dist/src/commerce/session-service.js +45 -1
- package/dist/src/commerce/session-service.js.map +1 -1
- package/dist/src/commerce/stripe-handler.d.ts +3 -0
- package/dist/src/commerce/stripe-handler.d.ts.map +1 -1
- package/dist/src/commerce/stripe-handler.js +49 -0
- package/dist/src/commerce/stripe-handler.js.map +1 -1
- package/dist/src/commerce/test-money-handler.d.ts +1 -1
- package/dist/src/commerce/test-money-handler.d.ts.map +1 -1
- package/dist/src/commerce/test-money-handler.js +36 -5
- package/dist/src/commerce/test-money-handler.js.map +1 -1
- package/dist/src/commerce/types.d.ts +41 -0
- package/dist/src/commerce/types.d.ts.map +1 -1
- package/dist/src/config-hosts.d.ts +25 -0
- package/dist/src/config-hosts.d.ts.map +1 -0
- package/dist/src/config-hosts.js +43 -0
- package/dist/src/config-hosts.js.map +1 -0
- package/dist/src/config-operator.d.ts +4 -1
- package/dist/src/config-operator.d.ts.map +1 -1
- package/dist/src/config-operator.js +4 -4
- package/dist/src/config-operator.js.map +1 -1
- package/dist/src/config-posture.d.ts +25 -0
- package/dist/src/config-posture.d.ts.map +1 -0
- package/dist/src/config-posture.js +30 -0
- package/dist/src/config-posture.js.map +1 -0
- package/dist/src/config-site-contacts.d.ts +24 -0
- package/dist/src/config-site-contacts.d.ts.map +1 -0
- package/dist/src/config-site-contacts.js +42 -0
- package/dist/src/config-site-contacts.js.map +1 -0
- package/dist/src/config-types.d.ts +54 -0
- package/dist/src/config-types.d.ts.map +1 -1
- package/dist/src/config.d.ts +1 -7
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/config.js +60 -94
- package/dist/src/config.js.map +1 -1
- package/dist/src/data/app-templates/components.d.ts +1 -0
- package/dist/src/data/app-templates/components.d.ts.map +1 -1
- package/dist/src/data/app-templates/components.js +28 -0
- package/dist/src/data/app-templates/components.js.map +1 -1
- package/dist/src/data/app-templates.d.ts.map +1 -1
- package/dist/src/data/app-templates.js +2 -1
- package/dist/src/data/app-templates.js.map +1 -1
- package/dist/src/data/appdev-pitfalls.d.ts +4 -0
- package/dist/src/data/appdev-pitfalls.d.ts.map +1 -1
- package/dist/src/data/appdev-pitfalls.js +34 -0
- package/dist/src/data/appdev-pitfalls.js.map +1 -1
- package/dist/src/data/builtin-skills.d.ts +8 -0
- package/dist/src/data/builtin-skills.d.ts.map +1 -1
- package/dist/src/data/builtin-skills.js +25 -3
- package/dist/src/data/builtin-skills.js.map +1 -1
- package/dist/src/data/builtin-skills.open-items.d.ts +19 -0
- package/dist/src/data/builtin-skills.open-items.d.ts.map +1 -0
- package/dist/src/data/builtin-skills.open-items.js +130 -0
- package/dist/src/data/builtin-skills.open-items.js.map +1 -0
- package/dist/src/data/getting-started.d.ts +29 -0
- package/dist/src/data/getting-started.d.ts.map +1 -0
- package/dist/src/data/getting-started.js +89 -0
- package/dist/src/data/getting-started.js.map +1 -0
- package/dist/src/data/library-packs/cortex.d.ts +3 -0
- package/dist/src/data/library-packs/cortex.d.ts.map +1 -1
- package/dist/src/data/library-packs/cortex.js +58 -0
- package/dist/src/data/library-packs/cortex.js.map +1 -1
- package/dist/src/data/library-packs/sdk.js +2 -2
- package/dist/src/data/library-packs/sdk.js.map +1 -1
- package/dist/src/data/library-packs/vendored.d.ts.map +1 -1
- package/dist/src/data/library-packs/vendored.js +41 -0
- package/dist/src/data/library-packs/vendored.js.map +1 -1
- package/dist/src/generated/api-types.d.ts +23904 -19849
- package/dist/src/generated/api-types.d.ts.map +1 -1
- package/dist/src/i18n.d.ts +1 -1
- package/dist/src/i18n.d.ts.map +1 -1
- package/dist/src/i18n.js +13 -6
- package/dist/src/i18n.js.map +1 -1
- package/dist/src/mcp/agent-capabilities.d.ts +5 -0
- package/dist/src/mcp/agent-capabilities.d.ts.map +1 -1
- package/dist/src/mcp/agent-capabilities.js +13 -23
- package/dist/src/mcp/agent-capabilities.js.map +1 -1
- package/dist/src/mcp/agent-management.d.ts +11 -2
- package/dist/src/mcp/agent-management.d.ts.map +1 -1
- package/dist/src/mcp/agent-management.js +51 -66
- package/dist/src/mcp/agent-management.js.map +1 -1
- package/dist/src/mcp/agent-messages.d.ts +8 -0
- package/dist/src/mcp/agent-messages.d.ts.map +1 -1
- package/dist/src/mcp/agent-messages.js +39 -43
- package/dist/src/mcp/agent-messages.js.map +1 -1
- package/dist/src/mcp/agent-onboarding.d.ts +5 -1
- package/dist/src/mcp/agent-onboarding.d.ts.map +1 -1
- package/dist/src/mcp/agent-onboarding.js +44 -135
- package/dist/src/mcp/agent-onboarding.js.map +1 -1
- package/dist/src/mcp/agent-schedules.d.ts +17 -5
- package/dist/src/mcp/agent-schedules.d.ts.map +1 -1
- package/dist/src/mcp/agent-schedules.js +88 -80
- package/dist/src/mcp/agent-schedules.js.map +1 -1
- package/dist/src/mcp/agent-tasks.d.ts +20 -0
- package/dist/src/mcp/agent-tasks.d.ts.map +1 -1
- package/dist/src/mcp/agent-tasks.js +118 -172
- package/dist/src/mcp/agent-tasks.js.map +1 -1
- package/dist/src/mcp/agent-telemetry.d.ts.map +1 -1
- package/dist/src/mcp/agent-telemetry.js +5 -23
- package/dist/src/mcp/agent-telemetry.js.map +1 -1
- package/dist/src/mcp/annotations.d.ts +2 -0
- package/dist/src/mcp/annotations.d.ts.map +1 -1
- package/dist/src/mcp/annotations.js +19 -3
- package/dist/src/mcp/annotations.js.map +1 -1
- package/dist/src/mcp/appdev-pitfalls.d.ts +9 -1
- package/dist/src/mcp/appdev-pitfalls.d.ts.map +1 -1
- package/dist/src/mcp/appdev-pitfalls.js +37 -18
- package/dist/src/mcp/appdev-pitfalls.js.map +1 -1
- package/dist/src/mcp/appdev-proofs.d.ts +11 -3
- package/dist/src/mcp/appdev-proofs.d.ts.map +1 -1
- package/dist/src/mcp/appdev-proofs.js +33 -72
- package/dist/src/mcp/appdev-proofs.js.map +1 -1
- package/dist/src/mcp/apps-fork.d.ts +22 -0
- package/dist/src/mcp/apps-fork.d.ts.map +1 -0
- package/dist/src/mcp/apps-fork.js +71 -0
- package/dist/src/mcp/apps-fork.js.map +1 -0
- package/dist/src/mcp/apps-ui.d.ts +39 -0
- package/dist/src/mcp/apps-ui.d.ts.map +1 -0
- package/dist/src/mcp/apps-ui.js +291 -0
- package/dist/src/mcp/apps-ui.js.map +1 -0
- package/dist/src/mcp/apps.d.ts +27 -0
- package/dist/src/mcp/apps.d.ts.map +1 -1
- package/dist/src/mcp/apps.js +180 -228
- package/dist/src/mcp/apps.js.map +1 -1
- package/dist/src/mcp/boards.d.ts +5 -0
- package/dist/src/mcp/boards.d.ts.map +1 -1
- package/dist/src/mcp/boards.js +68 -98
- package/dist/src/mcp/boards.js.map +1 -1
- package/dist/src/mcp/capabilities.d.ts +11 -0
- package/dist/src/mcp/capabilities.d.ts.map +1 -1
- package/dist/src/mcp/capabilities.js +76 -79
- package/dist/src/mcp/capabilities.js.map +1 -1
- package/dist/src/mcp/catalog/definitions/agent-messaging.d.ts +2 -0
- package/dist/src/mcp/catalog/definitions/agent-messaging.d.ts.map +1 -1
- package/dist/src/mcp/catalog/definitions/agent-messaging.js +12 -0
- package/dist/src/mcp/catalog/definitions/agent-messaging.js.map +1 -1
- package/dist/src/mcp/catalog/definitions/capabilities-groups-skills.d.ts +2 -1
- package/dist/src/mcp/catalog/definitions/capabilities-groups-skills.d.ts.map +1 -1
- package/dist/src/mcp/catalog/definitions/capabilities-groups-skills.js +30 -21
- package/dist/src/mcp/catalog/definitions/capabilities-groups-skills.js.map +1 -1
- package/dist/src/mcp/catalog/definitions/companies.d.ts +20 -0
- package/dist/src/mcp/catalog/definitions/companies.d.ts.map +1 -0
- package/dist/src/mcp/catalog/definitions/companies.js +81 -0
- package/dist/src/mcp/catalog/definitions/companies.js.map +1 -0
- package/dist/src/mcp/catalog/definitions/organisms-workspaces-apps.js +2 -2
- package/dist/src/mcp/catalog/definitions/organisms-workspaces-apps.js.map +1 -1
- package/dist/src/mcp/catalog/definitions/schedules-tasks-memory.d.ts.map +1 -1
- package/dist/src/mcp/catalog/definitions/schedules-tasks-memory.js +13 -1
- package/dist/src/mcp/catalog/definitions/schedules-tasks-memory.js.map +1 -1
- package/dist/src/mcp/catalog/definitions.d.ts.map +1 -1
- package/dist/src/mcp/catalog/definitions.js +2 -0
- package/dist/src/mcp/catalog/definitions.js.map +1 -1
- package/dist/src/mcp/catalog/scopes.d.ts +21 -43
- package/dist/src/mcp/catalog/scopes.d.ts.map +1 -1
- package/dist/src/mcp/catalog/scopes.js +195 -16
- package/dist/src/mcp/catalog/scopes.js.map +1 -1
- package/dist/src/mcp/catalog/surfaces.d.ts.map +1 -1
- package/dist/src/mcp/catalog/surfaces.js +12 -4
- package/dist/src/mcp/catalog/surfaces.js.map +1 -1
- package/dist/src/mcp/chat-instances.d.ts +4 -0
- package/dist/src/mcp/chat-instances.d.ts.map +1 -1
- package/dist/src/mcp/chat-instances.js +14 -34
- package/dist/src/mcp/chat-instances.js.map +1 -1
- package/dist/src/mcp/commerce.d.ts +19 -4
- package/dist/src/mcp/commerce.d.ts.map +1 -1
- package/dist/src/mcp/commerce.js +131 -62
- package/dist/src/mcp/commerce.js.map +1 -1
- package/dist/src/mcp/companies.d.ts +21 -0
- package/dist/src/mcp/companies.d.ts.map +1 -0
- package/dist/src/mcp/companies.js +156 -0
- package/dist/src/mcp/companies.js.map +1 -0
- package/dist/src/mcp/consent.d.ts +4 -1
- package/dist/src/mcp/consent.d.ts.map +1 -1
- package/dist/src/mcp/consent.js +30 -33
- package/dist/src/mcp/consent.js.map +1 -1
- package/dist/src/mcp/core-admin.d.ts +4 -0
- package/dist/src/mcp/core-admin.d.ts.map +1 -1
- package/dist/src/mcp/core-admin.js +12 -22
- package/dist/src/mcp/core-admin.js.map +1 -1
- package/dist/src/mcp/core-storage.d.ts +6 -0
- package/dist/src/mcp/core-storage.d.ts.map +1 -1
- package/dist/src/mcp/core-storage.js +37 -37
- package/dist/src/mcp/core-storage.js.map +1 -1
- package/dist/src/mcp/core.d.ts +27 -1
- package/dist/src/mcp/core.d.ts.map +1 -1
- package/dist/src/mcp/core.js +161 -160
- package/dist/src/mcp/core.js.map +1 -1
- package/dist/src/mcp/cortex.d.ts +9 -0
- package/dist/src/mcp/cortex.d.ts.map +1 -1
- package/dist/src/mcp/cortex.js +87 -123
- package/dist/src/mcp/cortex.js.map +1 -1
- package/dist/src/mcp/dm-messages.d.ts.map +1 -1
- package/dist/src/mcp/dm-messages.js +38 -5
- package/dist/src/mcp/dm-messages.js.map +1 -1
- package/dist/src/mcp/exchange-run.d.ts.map +1 -1
- package/dist/src/mcp/exchange-run.js +8 -0
- package/dist/src/mcp/exchange-run.js.map +1 -1
- package/dist/src/mcp/exchange.d.ts.map +1 -1
- package/dist/src/mcp/exchange.js +12 -41
- package/dist/src/mcp/exchange.js.map +1 -1
- package/dist/src/mcp/extensions.d.ts +23 -1
- package/dist/src/mcp/extensions.d.ts.map +1 -1
- package/dist/src/mcp/extensions.js +202 -255
- package/dist/src/mcp/extensions.js.map +1 -1
- package/dist/src/mcp/flags.d.ts +7 -2
- package/dist/src/mcp/flags.d.ts.map +1 -1
- package/dist/src/mcp/flags.js +24 -25
- package/dist/src/mcp/flags.js.map +1 -1
- package/dist/src/mcp/index.d.ts +17 -0
- package/dist/src/mcp/index.d.ts.map +1 -1
- package/dist/src/mcp/index.js +65 -33
- package/dist/src/mcp/index.js.map +1 -1
- package/dist/src/mcp/instructions.d.ts +31 -0
- package/dist/src/mcp/instructions.d.ts.map +1 -0
- package/dist/src/mcp/instructions.js +38 -0
- package/dist/src/mcp/instructions.js.map +1 -0
- package/dist/src/mcp/knowledge.d.ts +7 -1
- package/dist/src/mcp/knowledge.d.ts.map +1 -1
- package/dist/src/mcp/knowledge.js +32 -114
- package/dist/src/mcp/knowledge.js.map +1 -1
- package/dist/src/mcp/memory-namespace-hints.d.ts.map +1 -1
- package/dist/src/mcp/memory-namespace-hints.js +11 -8
- package/dist/src/mcp/memory-namespace-hints.js.map +1 -1
- package/dist/src/mcp/memory-version-lock.d.ts +43 -0
- package/dist/src/mcp/memory-version-lock.d.ts.map +1 -0
- package/dist/src/mcp/memory-version-lock.js +49 -0
- package/dist/src/mcp/memory-version-lock.js.map +1 -0
- package/dist/src/mcp/oauth.d.ts +2 -0
- package/dist/src/mcp/oauth.d.ts.map +1 -1
- package/dist/src/mcp/oauth.js +11 -0
- package/dist/src/mcp/oauth.js.map +1 -1
- package/dist/src/mcp/operator-config.d.ts +29 -1
- package/dist/src/mcp/operator-config.d.ts.map +1 -1
- package/dist/src/mcp/operator-config.js +84 -31
- package/dist/src/mcp/operator-config.js.map +1 -1
- package/dist/src/mcp/organisms-email-invites.d.ts +6 -0
- package/dist/src/mcp/organisms-email-invites.d.ts.map +1 -1
- package/dist/src/mcp/organisms-email-invites.js +19 -8
- package/dist/src/mcp/organisms-email-invites.js.map +1 -1
- package/dist/src/mcp/organisms-name-invites.d.ts +3 -0
- package/dist/src/mcp/organisms-name-invites.d.ts.map +1 -1
- package/dist/src/mcp/organisms-name-invites.js +8 -2
- package/dist/src/mcp/organisms-name-invites.js.map +1 -1
- package/dist/src/mcp/organisms.d.ts +4 -0
- package/dist/src/mcp/organisms.d.ts.map +1 -1
- package/dist/src/mcp/organisms.js +56 -125
- package/dist/src/mcp/organisms.js.map +1 -1
- package/dist/src/mcp/portfolio.d.ts +28 -0
- package/dist/src/mcp/portfolio.d.ts.map +1 -0
- package/dist/src/mcp/portfolio.js +49 -0
- package/dist/src/mcp/portfolio.js.map +1 -0
- package/dist/src/mcp/prompts-managed.d.ts +30 -0
- package/dist/src/mcp/prompts-managed.d.ts.map +1 -0
- package/dist/src/mcp/prompts-managed.js +102 -0
- package/dist/src/mcp/prompts-managed.js.map +1 -0
- package/dist/src/mcp/schema-flags.d.ts +33 -0
- package/dist/src/mcp/schema-flags.d.ts.map +1 -0
- package/dist/src/mcp/schema-flags.js +31 -0
- package/dist/src/mcp/schema-flags.js.map +1 -0
- package/dist/src/mcp/sharing-groups.d.ts +9 -2
- package/dist/src/mcp/sharing-groups.d.ts.map +1 -1
- package/dist/src/mcp/sharing-groups.js +93 -68
- package/dist/src/mcp/sharing-groups.js.map +1 -1
- package/dist/src/mcp/skills.d.ts.map +1 -1
- package/dist/src/mcp/skills.js +7 -0
- package/dist/src/mcp/skills.js.map +1 -1
- package/dist/src/mcp/workflows.d.ts.map +1 -1
- package/dist/src/mcp/workflows.js +15 -20
- package/dist/src/mcp/workflows.js.map +1 -1
- package/dist/src/mcp/workspace-create.d.ts +41 -0
- package/dist/src/mcp/workspace-create.d.ts.map +1 -0
- package/dist/src/mcp/workspace-create.js +52 -0
- package/dist/src/mcp/workspace-create.js.map +1 -0
- package/dist/src/mcp/workspace-transfer.d.ts.map +1 -1
- package/dist/src/mcp/workspace-transfer.js +4 -1
- package/dist/src/mcp/workspace-transfer.js.map +1 -1
- package/dist/src/mcp/workspaces.d.ts +11 -0
- package/dist/src/mcp/workspaces.d.ts.map +1 -1
- package/dist/src/mcp/workspaces.js +152 -228
- package/dist/src/mcp/workspaces.js.map +1 -1
- package/dist/src/middleware/cors.d.ts +5 -0
- package/dist/src/middleware/cors.d.ts.map +1 -1
- package/dist/src/middleware/cors.js +30 -2
- package/dist/src/middleware/cors.js.map +1 -1
- package/dist/src/middleware/envelope.d.ts.map +1 -1
- package/dist/src/middleware/envelope.js +25 -2
- package/dist/src/middleware/envelope.js.map +1 -1
- package/dist/src/middleware/readiness-gate.d.ts +12 -0
- package/dist/src/middleware/readiness-gate.d.ts.map +1 -1
- package/dist/src/middleware/readiness-gate.js +26 -0
- package/dist/src/middleware/readiness-gate.js.map +1 -1
- package/dist/src/middleware/subdomain.d.ts +27 -0
- package/dist/src/middleware/subdomain.d.ts.map +1 -1
- package/dist/src/middleware/subdomain.js +103 -10
- package/dist/src/middleware/subdomain.js.map +1 -1
- package/dist/src/middleware/workspace-access.d.ts +6 -4
- package/dist/src/middleware/workspace-access.d.ts.map +1 -1
- package/dist/src/middleware/workspace-access.js +9 -138
- package/dist/src/middleware/workspace-access.js.map +1 -1
- package/dist/src/models/agent-onboarding-schemas.d.ts +9 -0
- package/dist/src/models/agent-onboarding-schemas.d.ts.map +1 -1
- package/dist/src/models/agent-onboarding-schemas.js +22 -0
- package/dist/src/models/agent-onboarding-schemas.js.map +1 -1
- package/dist/src/models/company-schemas.d.ts +85 -0
- package/dist/src/models/company-schemas.d.ts.map +1 -0
- package/dist/src/models/company-schemas.js +24 -0
- package/dist/src/models/company-schemas.js.map +1 -0
- package/dist/src/models/company-smtp-schemas.d.ts +31 -0
- package/dist/src/models/company-smtp-schemas.d.ts.map +1 -0
- package/dist/src/models/company-smtp-schemas.js +15 -0
- package/dist/src/models/company-smtp-schemas.js.map +1 -0
- package/dist/src/models/connection-schemas.d.ts +77 -2
- package/dist/src/models/connection-schemas.d.ts.map +1 -1
- package/dist/src/models/finance-schemas.d.ts +268 -0
- package/dist/src/models/finance-schemas.d.ts.map +1 -0
- package/dist/src/models/finance-schemas.js +33 -0
- package/dist/src/models/finance-schemas.js.map +1 -0
- package/dist/src/models/message-schemas.d.ts +3 -1
- package/dist/src/models/message-schemas.d.ts.map +1 -1
- package/dist/src/models/message-schemas.js +9 -2
- package/dist/src/models/message-schemas.js.map +1 -1
- package/dist/src/models/outbound-schemas.d.ts +81 -0
- package/dist/src/models/outbound-schemas.d.ts.map +1 -0
- package/dist/src/models/outbound-schemas.js +20 -0
- package/dist/src/models/outbound-schemas.js.map +1 -0
- package/dist/src/models/schemas.d.ts +3 -0
- package/dist/src/models/schemas.d.ts.map +1 -1
- package/dist/src/models/schemas.js +16 -0
- package/dist/src/models/schemas.js.map +1 -1
- package/dist/src/models/workflow-schemas.d.ts +1 -0
- package/dist/src/models/workflow-schemas.d.ts.map +1 -1
- package/dist/src/models/workflow-schemas.js +1 -1
- package/dist/src/models/workflow-schemas.js.map +1 -1
- package/dist/src/routes/access-tokens.d.ts.map +1 -1
- package/dist/src/routes/access-tokens.js +6 -0
- package/dist/src/routes/access-tokens.js.map +1 -1
- package/dist/src/routes/admin-economy.d.ts +4 -1
- package/dist/src/routes/admin-economy.d.ts.map +1 -1
- package/dist/src/routes/admin-economy.js +12 -41
- package/dist/src/routes/admin-economy.js.map +1 -1
- package/dist/src/routes/admin-features.d.ts.map +1 -1
- package/dist/src/routes/admin-features.js +5 -4
- package/dist/src/routes/admin-features.js.map +1 -1
- package/dist/src/routes/admin-monitoring.d.ts.map +1 -1
- package/dist/src/routes/admin-monitoring.js +98 -0
- package/dist/src/routes/admin-monitoring.js.map +1 -1
- package/dist/src/routes/agent-capabilities.d.ts +3 -0
- package/dist/src/routes/agent-capabilities.d.ts.map +1 -1
- package/dist/src/routes/agent-capabilities.js +18 -33
- package/dist/src/routes/agent-capabilities.js.map +1 -1
- package/dist/src/routes/agent-messages.d.ts +6 -0
- package/dist/src/routes/agent-messages.d.ts.map +1 -1
- package/dist/src/routes/agent-messages.js +17 -83
- package/dist/src/routes/agent-messages.js.map +1 -1
- package/dist/src/routes/agent-onboarding.d.ts +12 -0
- package/dist/src/routes/agent-onboarding.d.ts.map +1 -1
- package/dist/src/routes/agent-onboarding.js +95 -144
- package/dist/src/routes/agent-onboarding.js.map +1 -1
- package/dist/src/routes/agent-tasks/completion.d.ts +13 -0
- package/dist/src/routes/agent-tasks/completion.d.ts.map +1 -1
- package/dist/src/routes/agent-tasks/completion.js +54 -149
- package/dist/src/routes/agent-tasks/completion.js.map +1 -1
- package/dist/src/routes/agent-tasks/create-read.d.ts +3 -0
- package/dist/src/routes/agent-tasks/create-read.d.ts.map +1 -1
- package/dist/src/routes/agent-tasks/create-read.js +27 -158
- package/dist/src/routes/agent-tasks/create-read.js.map +1 -1
- package/dist/src/routes/agent-tasks/helpers.d.ts +22 -1
- package/dist/src/routes/agent-tasks/helpers.d.ts.map +1 -1
- package/dist/src/routes/agent-tasks/helpers.js +35 -1
- package/dist/src/routes/agent-tasks/helpers.js.map +1 -1
- package/dist/src/routes/agent-tasks/lifecycle.d.ts +3 -0
- package/dist/src/routes/agent-tasks/lifecycle.d.ts.map +1 -1
- package/dist/src/routes/agent-tasks/lifecycle.js +12 -106
- package/dist/src/routes/agent-tasks/lifecycle.js.map +1 -1
- package/dist/src/routes/agent-telemetry.d.ts.map +1 -1
- package/dist/src/routes/agent-telemetry.js +3 -25
- package/dist/src/routes/agent-telemetry.js.map +1 -1
- package/dist/src/routes/agents/constants.d.ts +18 -2
- package/dist/src/routes/agents/constants.d.ts.map +1 -1
- package/dist/src/routes/agents/constants.js +18 -2
- package/dist/src/routes/agents/constants.js.map +1 -1
- package/dist/src/routes/agents/device-auth.d.ts +25 -0
- package/dist/src/routes/agents/device-auth.d.ts.map +1 -1
- package/dist/src/routes/agents/device-auth.js +75 -10
- package/dist/src/routes/agents/device-auth.js.map +1 -1
- package/dist/src/routes/agents/management.d.ts +7 -0
- package/dist/src/routes/agents/management.d.ts.map +1 -1
- package/dist/src/routes/agents/management.js +59 -4
- package/dist/src/routes/agents/management.js.map +1 -1
- package/dist/src/routes/agents/profile-metadata.d.ts +12 -0
- package/dist/src/routes/agents/profile-metadata.d.ts.map +1 -1
- package/dist/src/routes/agents/profile-metadata.js +74 -101
- package/dist/src/routes/agents/profile-metadata.js.map +1 -1
- package/dist/src/routes/agents/registration.d.ts +8 -0
- package/dist/src/routes/agents/registration.d.ts.map +1 -1
- package/dist/src/routes/agents/registration.js +11 -1
- package/dist/src/routes/agents/registration.js.map +1 -1
- package/dist/src/routes/ai-transparency.d.ts +10 -4
- package/dist/src/routes/ai-transparency.d.ts.map +1 -1
- package/dist/src/routes/ai-transparency.js +68 -7
- package/dist/src/routes/ai-transparency.js.map +1 -1
- package/dist/src/routes/ai.d.ts +4 -0
- package/dist/src/routes/ai.d.ts.map +1 -1
- package/dist/src/routes/ai.js +10 -1
- package/dist/src/routes/ai.js.map +1 -1
- package/dist/src/routes/app-grants.d.ts +26 -0
- package/dist/src/routes/app-grants.d.ts.map +1 -1
- package/dist/src/routes/app-grants.js +139 -5
- package/dist/src/routes/app-grants.js.map +1 -1
- package/dist/src/routes/apps/catalogue-admin.d.ts.map +1 -1
- package/dist/src/routes/apps/catalogue-admin.js +15 -1
- package/dist/src/routes/apps/catalogue-admin.js.map +1 -1
- package/dist/src/routes/apps/drafts.d.ts +8 -0
- package/dist/src/routes/apps/drafts.d.ts.map +1 -1
- package/dist/src/routes/apps/drafts.js +41 -69
- package/dist/src/routes/apps/drafts.js.map +1 -1
- package/dist/src/routes/apps/fork-manage.d.ts +5 -0
- package/dist/src/routes/apps/fork-manage.d.ts.map +1 -1
- package/dist/src/routes/apps/fork-manage.js +37 -176
- package/dist/src/routes/apps/fork-manage.js.map +1 -1
- package/dist/src/routes/apps/helpers.d.ts +25 -2
- package/dist/src/routes/apps/helpers.d.ts.map +1 -1
- package/dist/src/routes/apps/helpers.js +57 -12
- package/dist/src/routes/apps/helpers.js.map +1 -1
- package/dist/src/routes/apps/publish.d.ts +4 -0
- package/dist/src/routes/apps/publish.d.ts.map +1 -1
- package/dist/src/routes/apps/publish.js +8 -3
- package/dist/src/routes/apps/publish.js.map +1 -1
- package/dist/src/routes/apps/read.d.ts +10 -0
- package/dist/src/routes/apps/read.d.ts.map +1 -1
- package/dist/src/routes/apps/read.js +93 -10
- package/dist/src/routes/apps/read.js.map +1 -1
- package/dist/src/routes/attestations.d.ts +18 -0
- package/dist/src/routes/attestations.d.ts.map +1 -0
- package/dist/src/routes/attestations.js +92 -0
- package/dist/src/routes/attestations.js.map +1 -0
- package/dist/src/routes/auth.d.ts +9 -0
- package/dist/src/routes/auth.d.ts.map +1 -1
- package/dist/src/routes/auth.js +45 -20
- package/dist/src/routes/auth.js.map +1 -1
- package/dist/src/routes/boards.d.ts +13 -1
- package/dist/src/routes/boards.d.ts.map +1 -1
- package/dist/src/routes/boards.js +104 -303
- package/dist/src/routes/boards.js.map +1 -1
- package/dist/src/routes/bootstrap.d.ts.map +1 -1
- package/dist/src/routes/bootstrap.js +10 -61
- package/dist/src/routes/bootstrap.js.map +1 -1
- package/dist/src/routes/capabilities.d.ts +10 -0
- package/dist/src/routes/capabilities.d.ts.map +1 -1
- package/dist/src/routes/capabilities.js +39 -177
- package/dist/src/routes/capabilities.js.map +1 -1
- package/dist/src/routes/chat-instances.d.ts +4 -0
- package/dist/src/routes/chat-instances.d.ts.map +1 -1
- package/dist/src/routes/chat-instances.js +10 -30
- package/dist/src/routes/chat-instances.js.map +1 -1
- package/dist/src/routes/commerce-acp.d.ts +1 -0
- package/dist/src/routes/commerce-acp.d.ts.map +1 -1
- package/dist/src/routes/commerce-acp.js +2 -1
- package/dist/src/routes/commerce-acp.js.map +1 -1
- package/dist/src/routes/commerce-beneficiaries.d.ts.map +1 -1
- package/dist/src/routes/commerce-beneficiaries.js +1 -13
- package/dist/src/routes/commerce-beneficiaries.js.map +1 -1
- package/dist/src/routes/commerce-ucp.d.ts +1 -0
- package/dist/src/routes/commerce-ucp.d.ts.map +1 -1
- package/dist/src/routes/commerce-ucp.js +2 -1
- package/dist/src/routes/commerce-ucp.js.map +1 -1
- package/dist/src/routes/commerce-webhooks.d.ts +35 -0
- package/dist/src/routes/commerce-webhooks.d.ts.map +1 -0
- package/dist/src/routes/commerce-webhooks.js +178 -0
- package/dist/src/routes/commerce-webhooks.js.map +1 -0
- package/dist/src/routes/commerce.d.ts +4 -0
- package/dist/src/routes/commerce.d.ts.map +1 -1
- package/dist/src/routes/commerce.js +100 -3
- package/dist/src/routes/commerce.js.map +1 -1
- package/dist/src/routes/companies.d.ts +22 -0
- package/dist/src/routes/companies.d.ts.map +1 -0
- package/dist/src/routes/companies.js +291 -0
- package/dist/src/routes/companies.js.map +1 -0
- package/dist/src/routes/connections.d.ts +3 -0
- package/dist/src/routes/connections.d.ts.map +1 -1
- package/dist/src/routes/connections.js +232 -18
- package/dist/src/routes/connections.js.map +1 -1
- package/dist/src/routes/consent.d.ts.map +1 -1
- package/dist/src/routes/consent.js +21 -60
- package/dist/src/routes/consent.js.map +1 -1
- package/dist/src/routes/cortex.d.ts +5 -0
- package/dist/src/routes/cortex.d.ts.map +1 -1
- package/dist/src/routes/cortex.js +64 -176
- package/dist/src/routes/cortex.js.map +1 -1
- package/dist/src/routes/disputes.d.ts +4 -0
- package/dist/src/routes/disputes.d.ts.map +1 -1
- package/dist/src/routes/disputes.js +18 -1
- package/dist/src/routes/disputes.js.map +1 -1
- package/dist/src/routes/exchange-market.d.ts.map +1 -1
- package/dist/src/routes/exchange-market.js +7 -44
- package/dist/src/routes/exchange-market.js.map +1 -1
- package/dist/src/routes/extensions/actions.d.ts +6 -1
- package/dist/src/routes/extensions/actions.d.ts.map +1 -1
- package/dist/src/routes/extensions/actions.js +62 -423
- package/dist/src/routes/extensions/actions.js.map +1 -1
- package/dist/src/routes/extensions/crud.d.ts +7 -0
- package/dist/src/routes/extensions/crud.d.ts.map +1 -1
- package/dist/src/routes/extensions/crud.js +64 -215
- package/dist/src/routes/extensions/crud.js.map +1 -1
- package/dist/src/routes/extensions/entitlement-gate.d.ts +4 -3
- package/dist/src/routes/extensions/entitlement-gate.d.ts.map +1 -1
- package/dist/src/routes/extensions/entitlement-gate.js.map +1 -1
- package/dist/src/routes/extensions/instances.d.ts +2 -0
- package/dist/src/routes/extensions/instances.d.ts.map +1 -1
- package/dist/src/routes/extensions/instances.js +10 -3
- package/dist/src/routes/extensions/instances.js.map +1 -1
- package/dist/src/routes/extensions/internal-pass.d.ts +2 -0
- package/dist/src/routes/extensions/internal-pass.d.ts.map +1 -1
- package/dist/src/routes/extensions/internal-pass.js +12 -0
- package/dist/src/routes/extensions/internal-pass.js.map +1 -1
- package/dist/src/routes/extensions/manifest.d.ts +40 -7
- package/dist/src/routes/extensions/manifest.d.ts.map +1 -1
- package/dist/src/routes/extensions/manifest.js +115 -5
- package/dist/src/routes/extensions/manifest.js.map +1 -1
- package/dist/src/routes/extensions/metered-response.d.ts +31 -2
- package/dist/src/routes/extensions/metered-response.d.ts.map +1 -1
- package/dist/src/routes/extensions/metered-response.js +18 -0
- package/dist/src/routes/extensions/metered-response.js.map +1 -1
- package/dist/src/routes/extensions/pacing.d.ts +4 -3
- package/dist/src/routes/extensions/pacing.d.ts.map +1 -1
- package/dist/src/routes/extensions/pacing.js.map +1 -1
- package/dist/src/routes/extensions/paywall.d.ts +2 -2
- package/dist/src/routes/extensions/paywall.d.ts.map +1 -1
- package/dist/src/routes/extensions/paywall.js +111 -3
- package/dist/src/routes/extensions/paywall.js.map +1 -1
- package/dist/src/routes/extensions/permissions.d.ts +38 -0
- package/dist/src/routes/extensions/permissions.d.ts.map +1 -1
- package/dist/src/routes/extensions/permissions.js +44 -3
- package/dist/src/routes/extensions/permissions.js.map +1 -1
- package/dist/src/routes/federation-genesis.d.ts +2 -0
- package/dist/src/routes/federation-genesis.d.ts.map +1 -1
- package/dist/src/routes/federation-genesis.js +14 -8
- package/dist/src/routes/federation-genesis.js.map +1 -1
- package/dist/src/routes/federation-peer/lifecycle.d.ts +4 -1
- package/dist/src/routes/federation-peer/lifecycle.d.ts.map +1 -1
- package/dist/src/routes/federation-peer/lifecycle.js +49 -4
- package/dist/src/routes/federation-peer/lifecycle.js.map +1 -1
- package/dist/src/routes/federation-peer/peers.d.ts +3 -1
- package/dist/src/routes/federation-peer/peers.d.ts.map +1 -1
- package/dist/src/routes/federation-peer/peers.js +26 -16
- package/dist/src/routes/federation-peer/peers.js.map +1 -1
- package/dist/src/routes/federation-settlements.d.ts +3 -0
- package/dist/src/routes/federation-settlements.d.ts.map +1 -1
- package/dist/src/routes/federation-settlements.js +11 -3
- package/dist/src/routes/federation-settlements.js.map +1 -1
- package/dist/src/routes/federation-sync/templates.d.ts +4 -0
- package/dist/src/routes/federation-sync/templates.d.ts.map +1 -1
- package/dist/src/routes/federation-sync/templates.js +39 -1
- package/dist/src/routes/federation-sync/templates.js.map +1 -1
- package/dist/src/routes/finance-ledger.d.ts +17 -0
- package/dist/src/routes/finance-ledger.d.ts.map +1 -0
- package/dist/src/routes/finance-ledger.js +384 -0
- package/dist/src/routes/finance-ledger.js.map +1 -0
- package/dist/src/routes/finance.d.ts +22 -0
- package/dist/src/routes/finance.d.ts.map +1 -0
- package/dist/src/routes/finance.js +338 -0
- package/dist/src/routes/finance.js.map +1 -0
- package/dist/src/routes/flags.d.ts +4 -2
- package/dist/src/routes/flags.d.ts.map +1 -1
- package/dist/src/routes/flags.js +18 -111
- package/dist/src/routes/flags.js.map +1 -1
- package/dist/src/routes/ghii/attach-email.d.ts +18 -0
- package/dist/src/routes/ghii/attach-email.d.ts.map +1 -0
- package/dist/src/routes/ghii/attach-email.js +90 -0
- package/dist/src/routes/ghii/attach-email.js.map +1 -0
- package/dist/src/routes/ghii/profile.d.ts +6 -0
- package/dist/src/routes/ghii/profile.d.ts.map +1 -1
- package/dist/src/routes/ghii/profile.js +31 -7
- package/dist/src/routes/ghii/profile.js.map +1 -1
- package/dist/src/routes/ghii/recovery.d.ts +8 -0
- package/dist/src/routes/ghii/recovery.d.ts.map +1 -1
- package/dist/src/routes/ghii/recovery.js +34 -9
- package/dist/src/routes/ghii/recovery.js.map +1 -1
- package/dist/src/routes/ghii/register-login.d.ts +10 -0
- package/dist/src/routes/ghii/register-login.d.ts.map +1 -1
- package/dist/src/routes/ghii/register-login.js +31 -121
- package/dist/src/routes/ghii/register-login.js.map +1 -1
- package/dist/src/routes/ghii/web-verify.d.ts +7 -0
- package/dist/src/routes/ghii/web-verify.d.ts.map +1 -1
- package/dist/src/routes/ghii/web-verify.js +32 -10
- package/dist/src/routes/ghii/web-verify.js.map +1 -1
- package/dist/src/routes/ghii.d.ts.map +1 -1
- package/dist/src/routes/ghii.js +2 -0
- package/dist/src/routes/ghii.js.map +1 -1
- package/dist/src/routes/home/feed.d.ts +17 -0
- package/dist/src/routes/home/feed.d.ts.map +1 -0
- package/dist/src/routes/home/feed.js +51 -0
- package/dist/src/routes/home/feed.js.map +1 -0
- package/dist/src/routes/home/first-agent.d.ts +24 -0
- package/dist/src/routes/home/first-agent.d.ts.map +1 -0
- package/dist/src/routes/home/first-agent.js +41 -0
- package/dist/src/routes/home/first-agent.js.map +1 -0
- package/dist/src/routes/home/state.d.ts +18 -0
- package/dist/src/routes/home/state.d.ts.map +1 -0
- package/dist/src/routes/home/state.js +56 -0
- package/dist/src/routes/home/state.js.map +1 -0
- package/dist/src/routes/home/track.d.ts +32 -0
- package/dist/src/routes/home/track.d.ts.map +1 -0
- package/dist/src/routes/home/track.js +73 -0
- package/dist/src/routes/home/track.js.map +1 -0
- package/dist/src/routes/home/welcome-mat.d.ts +45 -0
- package/dist/src/routes/home/welcome-mat.d.ts.map +1 -0
- package/dist/src/routes/home/welcome-mat.js +193 -0
- package/dist/src/routes/home/welcome-mat.js.map +1 -0
- package/dist/src/routes/home.d.ts +26 -0
- package/dist/src/routes/home.d.ts.map +1 -0
- package/dist/src/routes/home.js +38 -0
- package/dist/src/routes/home.js.map +1 -0
- package/dist/src/routes/instances/install.d.ts +1 -0
- package/dist/src/routes/instances/install.d.ts.map +1 -1
- package/dist/src/routes/instances/install.js +2 -0
- package/dist/src/routes/instances/install.js.map +1 -1
- package/dist/src/routes/instances/migration.d.ts +3 -0
- package/dist/src/routes/instances/migration.d.ts.map +1 -1
- package/dist/src/routes/instances/migration.js +23 -1
- package/dist/src/routes/instances/migration.js.map +1 -1
- package/dist/src/routes/invite-accept.d.ts +39 -0
- package/dist/src/routes/invite-accept.d.ts.map +1 -0
- package/dist/src/routes/invite-accept.js +304 -0
- package/dist/src/routes/invite-accept.js.map +1 -0
- package/dist/src/routes/ledger.js +1 -1
- package/dist/src/routes/ledger.js.map +1 -1
- package/dist/src/routes/librarian.d.ts +3 -0
- package/dist/src/routes/librarian.d.ts.map +1 -1
- package/dist/src/routes/librarian.js +8 -1
- package/dist/src/routes/librarian.js.map +1 -1
- package/dist/src/routes/libs.d.ts.map +1 -1
- package/dist/src/routes/libs.js +7 -1
- package/dist/src/routes/libs.js.map +1 -1
- package/dist/src/routes/memory/bulk.d.ts +2 -0
- package/dist/src/routes/memory/bulk.d.ts.map +1 -1
- package/dist/src/routes/memory/bulk.js +4 -2
- package/dist/src/routes/memory/bulk.js.map +1 -1
- package/dist/src/routes/memory/crud.d.ts +3 -0
- package/dist/src/routes/memory/crud.d.ts.map +1 -1
- package/dist/src/routes/memory/crud.js +62 -156
- package/dist/src/routes/memory/crud.js.map +1 -1
- package/dist/src/routes/memory/federation.d.ts +2 -0
- package/dist/src/routes/memory/federation.d.ts.map +1 -1
- package/dist/src/routes/memory/federation.js +19 -2
- package/dist/src/routes/memory/federation.js.map +1 -1
- package/dist/src/routes/memory/files.d.ts +2 -0
- package/dist/src/routes/memory/files.d.ts.map +1 -1
- package/dist/src/routes/memory/files.js +6 -4
- package/dist/src/routes/memory/files.js.map +1 -1
- package/dist/src/routes/memory/key.d.ts +5 -0
- package/dist/src/routes/memory/key.d.ts.map +1 -1
- package/dist/src/routes/memory/key.js +22 -2
- package/dist/src/routes/memory/key.js.map +1 -1
- package/dist/src/routes/memory/owner-target.d.ts +105 -0
- package/dist/src/routes/memory/owner-target.d.ts.map +1 -0
- package/dist/src/routes/memory/owner-target.js +104 -0
- package/dist/src/routes/memory/owner-target.js.map +1 -0
- package/dist/src/routes/memory/patch.d.ts +32 -0
- package/dist/src/routes/memory/patch.d.ts.map +1 -0
- package/dist/src/routes/memory/patch.js +264 -0
- package/dist/src/routes/memory/patch.js.map +1 -0
- package/dist/src/routes/memory.d.ts.map +1 -1
- package/dist/src/routes/memory.js +3 -0
- package/dist/src/routes/memory.js.map +1 -1
- package/dist/src/routes/messages.d.ts.map +1 -1
- package/dist/src/routes/messages.js +80 -2
- package/dist/src/routes/messages.js.map +1 -1
- package/dist/src/routes/open-items.d.ts +22 -0
- package/dist/src/routes/open-items.d.ts.map +1 -0
- package/dist/src/routes/open-items.js +183 -0
- package/dist/src/routes/open-items.js.map +1 -0
- package/dist/src/routes/organisms/crud.d.ts +6 -0
- package/dist/src/routes/organisms/crud.d.ts.map +1 -1
- package/dist/src/routes/organisms/crud.js +44 -202
- package/dist/src/routes/organisms/crud.js.map +1 -1
- package/dist/src/routes/organisms/gates.d.ts.map +1 -1
- package/dist/src/routes/organisms/gates.js +5 -0
- package/dist/src/routes/organisms/gates.js.map +1 -1
- package/dist/src/routes/organisms/membership.d.ts +6 -0
- package/dist/src/routes/organisms/membership.d.ts.map +1 -1
- package/dist/src/routes/organisms/membership.js +47 -30
- package/dist/src/routes/organisms/membership.js.map +1 -1
- package/dist/src/routes/organisms/record-helpers.d.ts +33 -0
- package/dist/src/routes/organisms/record-helpers.d.ts.map +1 -0
- package/dist/src/routes/organisms/record-helpers.js +44 -0
- package/dist/src/routes/organisms/record-helpers.js.map +1 -0
- package/dist/src/routes/organisms/shared.d.ts +14 -5
- package/dist/src/routes/organisms/shared.d.ts.map +1 -1
- package/dist/src/routes/organisms/shared.js +44 -50
- package/dist/src/routes/organisms/shared.js.map +1 -1
- package/dist/src/routes/organisms/workspace-access.d.ts +7 -0
- package/dist/src/routes/organisms/workspace-access.d.ts.map +1 -1
- package/dist/src/routes/organisms/workspace-access.js +58 -232
- package/dist/src/routes/organisms/workspace-access.js.map +1 -1
- package/dist/src/routes/organisms/workspace-ops.d.ts.map +1 -1
- package/dist/src/routes/organisms/workspace-ops.js +1 -0
- package/dist/src/routes/organisms/workspace-ops.js.map +1 -1
- package/dist/src/routes/organisms.d.ts.map +1 -1
- package/dist/src/routes/organisms.js +4 -0
- package/dist/src/routes/organisms.js.map +1 -1
- package/dist/src/routes/outbound.d.ts +22 -0
- package/dist/src/routes/outbound.d.ts.map +1 -0
- package/dist/src/routes/outbound.js +212 -0
- package/dist/src/routes/outbound.js.map +1 -0
- package/dist/src/routes/owners/export.d.ts +25 -0
- package/dist/src/routes/owners/export.d.ts.map +1 -0
- package/dist/src/routes/owners/export.js +417 -0
- package/dist/src/routes/owners/export.js.map +1 -0
- package/dist/src/routes/owners.d.ts +6 -0
- package/dist/src/routes/owners.d.ts.map +1 -1
- package/dist/src/routes/owners.js +30 -555
- package/dist/src/routes/owners.js.map +1 -1
- package/dist/src/routes/portal.d.ts +3 -0
- package/dist/src/routes/portal.d.ts.map +1 -1
- package/dist/src/routes/portal.js +42 -17
- package/dist/src/routes/portal.js.map +1 -1
- package/dist/src/routes/portfolio.d.ts +58 -1
- package/dist/src/routes/portfolio.d.ts.map +1 -1
- package/dist/src/routes/portfolio.js +157 -54
- package/dist/src/routes/portfolio.js.map +1 -1
- package/dist/src/routes/prompts-intent-pool.d.ts +13 -0
- package/dist/src/routes/prompts-intent-pool.d.ts.map +1 -0
- package/dist/src/routes/prompts-intent-pool.js +27 -0
- package/dist/src/routes/prompts-intent-pool.js.map +1 -0
- package/dist/src/routes/prompts-open-items.d.ts +32 -0
- package/dist/src/routes/prompts-open-items.d.ts.map +1 -0
- package/dist/src/routes/prompts-open-items.js +115 -0
- package/dist/src/routes/prompts-open-items.js.map +1 -0
- package/dist/src/routes/prompts.d.ts +4 -0
- package/dist/src/routes/prompts.d.ts.map +1 -1
- package/dist/src/routes/prompts.js +75 -4
- package/dist/src/routes/prompts.js.map +1 -1
- package/dist/src/routes/push.d.ts +9 -4
- package/dist/src/routes/push.d.ts.map +1 -1
- package/dist/src/routes/push.js +73 -14
- package/dist/src/routes/push.js.map +1 -1
- package/dist/src/routes/registration-invites.d.ts +31 -0
- package/dist/src/routes/registration-invites.d.ts.map +1 -0
- package/dist/src/routes/registration-invites.js +110 -0
- package/dist/src/routes/registration-invites.js.map +1 -0
- package/dist/src/routes/schedules.d.ts +21 -0
- package/dist/src/routes/schedules.d.ts.map +1 -1
- package/dist/src/routes/schedules.js +57 -294
- package/dist/src/routes/schedules.js.map +1 -1
- package/dist/src/routes/sharing-groups.d.ts +13 -0
- package/dist/src/routes/sharing-groups.d.ts.map +1 -1
- package/dist/src/routes/sharing-groups.js +119 -99
- package/dist/src/routes/sharing-groups.js.map +1 -1
- package/dist/src/routes/storage-files.d.ts +13 -0
- package/dist/src/routes/storage-files.d.ts.map +1 -1
- package/dist/src/routes/storage-files.js +58 -64
- package/dist/src/routes/storage-files.js.map +1 -1
- package/dist/src/routes/subdomain-admin.d.ts +17 -0
- package/dist/src/routes/subdomain-admin.d.ts.map +1 -0
- package/dist/src/routes/subdomain-admin.js +132 -0
- package/dist/src/routes/subdomain-admin.js.map +1 -0
- package/dist/src/routes/subdomains.d.ts +18 -5
- package/dist/src/routes/subdomains.d.ts.map +1 -1
- package/dist/src/routes/subdomains.js +76 -125
- package/dist/src/routes/subdomains.js.map +1 -1
- package/dist/src/routes/totp.d.ts +5 -0
- package/dist/src/routes/totp.d.ts.map +1 -1
- package/dist/src/routes/totp.js +18 -9
- package/dist/src/routes/totp.js.map +1 -1
- package/dist/src/routes/upload.d.ts +29 -1
- package/dist/src/routes/upload.d.ts.map +1 -1
- package/dist/src/routes/upload.js +123 -35
- package/dist/src/routes/upload.js.map +1 -1
- package/dist/src/routes/verification.d.ts +5 -0
- package/dist/src/routes/verification.d.ts.map +1 -1
- package/dist/src/routes/verification.js +13 -5
- package/dist/src/routes/verification.js.map +1 -1
- package/dist/src/routes/work.d.ts +74 -16
- package/dist/src/routes/work.d.ts.map +1 -1
- package/dist/src/routes/work.js +38 -206
- package/dist/src/routes/work.js.map +1 -1
- package/dist/src/routes/workflows.d.ts.map +1 -1
- package/dist/src/routes/workflows.js +4 -20
- package/dist/src/routes/workflows.js.map +1 -1
- package/dist/src/server-bootstrap/routes-loader.d.ts.map +1 -1
- package/dist/src/server-bootstrap/routes-loader.js +25 -3
- package/dist/src/server-bootstrap/routes-loader.js.map +1 -1
- package/dist/src/server-bootstrap/service-init.d.ts.map +1 -1
- package/dist/src/server-bootstrap/service-init.js +8 -0
- package/dist/src/server-bootstrap/service-init.js.map +1 -1
- package/dist/src/server.d.ts.map +1 -1
- package/dist/src/server.js +4 -0
- package/dist/src/server.js.map +1 -1
- package/dist/src/services/access-guard.d.ts +4 -0
- package/dist/src/services/access-guard.d.ts.map +1 -1
- package/dist/src/services/access-guard.js +13 -0
- package/dist/src/services/access-guard.js.map +1 -1
- package/dist/src/services/agent-connect-prompt.d.ts +41 -0
- package/dist/src/services/agent-connect-prompt.d.ts.map +1 -0
- package/dist/src/services/agent-connect-prompt.js +113 -0
- package/dist/src/services/agent-connect-prompt.js.map +1 -0
- package/dist/src/services/agent-health.d.ts +104 -0
- package/dist/src/services/agent-health.d.ts.map +1 -0
- package/dist/src/services/agent-health.js +130 -0
- package/dist/src/services/agent-health.js.map +1 -0
- package/dist/src/services/agent-message-send.d.ts +52 -0
- package/dist/src/services/agent-message-send.d.ts.map +1 -0
- package/dist/src/services/agent-message-send.js +142 -0
- package/dist/src/services/agent-message-send.js.map +1 -0
- package/dist/src/services/agent-offers-write.d.ts +108 -0
- package/dist/src/services/agent-offers-write.d.ts.map +1 -0
- package/dist/src/services/agent-offers-write.js +98 -0
- package/dist/src/services/agent-offers-write.js.map +1 -0
- package/dist/src/services/agent-onboard-prompt.d.ts +23 -0
- package/dist/src/services/agent-onboard-prompt.d.ts.map +1 -0
- package/dist/src/services/agent-onboard-prompt.js +78 -0
- package/dist/src/services/agent-onboard-prompt.js.map +1 -0
- package/dist/src/services/agent-profile-write.d.ts +164 -0
- package/dist/src/services/agent-profile-write.d.ts.map +1 -0
- package/dist/src/services/agent-profile-write.js +383 -0
- package/dist/src/services/agent-profile-write.js.map +1 -0
- package/dist/src/services/agent-task-fanout.d.ts +40 -0
- package/dist/src/services/agent-task-fanout.d.ts.map +1 -0
- package/dist/src/services/agent-task-fanout.js +150 -0
- package/dist/src/services/agent-task-fanout.js.map +1 -0
- package/dist/src/services/agent-task-rules.d.ts +67 -0
- package/dist/src/services/agent-task-rules.d.ts.map +1 -0
- package/dist/src/services/agent-task-rules.js +54 -0
- package/dist/src/services/agent-task-rules.js.map +1 -0
- package/dist/src/services/agent-task-write.d.ts +116 -0
- package/dist/src/services/agent-task-write.d.ts.map +1 -0
- package/dist/src/services/agent-task-write.js +395 -0
- package/dist/src/services/agent-task-write.js.map +1 -0
- package/dist/src/services/ai-provenance-marks.d.ts +5 -0
- package/dist/src/services/ai-provenance-marks.d.ts.map +1 -1
- package/dist/src/services/ai-provenance-marks.js +39 -8
- package/dist/src/services/ai-provenance-marks.js.map +1 -1
- package/dist/src/services/ai-provenance.d.ts.map +1 -1
- package/dist/src/services/ai-provenance.js +22 -1
- package/dist/src/services/ai-provenance.js.map +1 -1
- package/dist/src/services/ai-tool-setup.d.ts +117 -0
- package/dist/src/services/ai-tool-setup.d.ts.map +1 -1
- package/dist/src/services/ai-tool-setup.js +195 -17
- package/dist/src/services/ai-tool-setup.js.map +1 -1
- package/dist/src/services/app-access-token.d.ts +26 -0
- package/dist/src/services/app-access-token.d.ts.map +1 -0
- package/dist/src/services/app-access-token.js +94 -0
- package/dist/src/services/app-access-token.js.map +1 -0
- package/dist/src/services/app-artifact-lint.d.ts +60 -0
- package/dist/src/services/app-artifact-lint.d.ts.map +1 -0
- package/dist/src/services/app-artifact-lint.js +285 -0
- package/dist/src/services/app-artifact-lint.js.map +1 -0
- package/dist/src/services/app-lifecycle.d.ts +156 -0
- package/dist/src/services/app-lifecycle.d.ts.map +1 -0
- package/dist/src/services/app-lifecycle.js +410 -0
- package/dist/src/services/app-lifecycle.js.map +1 -0
- package/dist/src/services/app-publish-next-steps.d.ts +30 -0
- package/dist/src/services/app-publish-next-steps.d.ts.map +1 -0
- package/dist/src/services/app-publish-next-steps.js +40 -0
- package/dist/src/services/app-publish-next-steps.js.map +1 -0
- package/dist/src/services/app-publish.d.ts +14 -0
- package/dist/src/services/app-publish.d.ts.map +1 -1
- package/dist/src/services/app-publish.js +64 -5
- package/dist/src/services/app-publish.js.map +1 -1
- package/dist/src/services/app-serve-marks.d.ts +4 -0
- package/dist/src/services/app-serve-marks.d.ts.map +1 -1
- package/dist/src/services/app-serve-marks.js +7 -0
- package/dist/src/services/app-serve-marks.js.map +1 -1
- package/dist/src/services/app-spec-gate.d.ts +60 -0
- package/dist/src/services/app-spec-gate.d.ts.map +1 -0
- package/dist/src/services/app-spec-gate.js +48 -0
- package/dist/src/services/app-spec-gate.js.map +1 -0
- package/dist/src/services/appdev-kb.d.ts +18 -2
- package/dist/src/services/appdev-kb.d.ts.map +1 -1
- package/dist/src/services/appdev-kb.js +26 -4
- package/dist/src/services/appdev-kb.js.map +1 -1
- package/dist/src/services/attestation.d.ts +39 -0
- package/dist/src/services/attestation.d.ts.map +1 -0
- package/dist/src/services/attestation.js +142 -0
- package/dist/src/services/attestation.js.map +1 -0
- package/dist/src/services/board-post.d.ts +79 -0
- package/dist/src/services/board-post.d.ts.map +1 -0
- package/dist/src/services/board-post.js +215 -0
- package/dist/src/services/board-post.js.map +1 -0
- package/dist/src/services/board-read-access.d.ts +46 -0
- package/dist/src/services/board-read-access.d.ts.map +1 -0
- package/dist/src/services/board-read-access.js +30 -0
- package/dist/src/services/board-read-access.js.map +1 -0
- package/dist/src/services/board-subscribers.d.ts +28 -0
- package/dist/src/services/board-subscribers.d.ts.map +1 -0
- package/dist/src/services/board-subscribers.js +37 -0
- package/dist/src/services/board-subscribers.js.map +1 -0
- package/dist/src/services/board-write.d.ts +95 -0
- package/dist/src/services/board-write.d.ts.map +1 -0
- package/dist/src/services/board-write.js +195 -0
- package/dist/src/services/board-write.js.map +1 -0
- package/dist/src/services/build-app-prompt.d.ts +7 -69
- package/dist/src/services/build-app-prompt.d.ts.map +1 -1
- package/dist/src/services/build-app-prompt.js +189 -5
- package/dist/src/services/build-app-prompt.js.map +1 -1
- package/dist/src/services/capability-record.d.ts +103 -0
- package/dist/src/services/capability-record.d.ts.map +1 -0
- package/dist/src/services/capability-record.js +298 -0
- package/dist/src/services/capability-record.js.map +1 -0
- package/dist/src/services/chat-instance-write.d.ts +91 -0
- package/dist/src/services/chat-instance-write.d.ts.map +1 -0
- package/dist/src/services/chat-instance-write.js +59 -0
- package/dist/src/services/chat-instance-write.js.map +1 -0
- package/dist/src/services/company/company-portfolio.d.ts +53 -0
- package/dist/src/services/company/company-portfolio.d.ts.map +1 -0
- package/dist/src/services/company/company-portfolio.js +78 -0
- package/dist/src/services/company/company-portfolio.js.map +1 -0
- package/dist/src/services/company/company-service.d.ts +30 -0
- package/dist/src/services/company/company-service.d.ts.map +1 -0
- package/dist/src/services/company/company-service.js +217 -0
- package/dist/src/services/company/company-service.js.map +1 -0
- package/dist/src/services/company/company-smtp.d.ts +42 -0
- package/dist/src/services/company/company-smtp.d.ts.map +1 -0
- package/dist/src/services/company/company-smtp.js +127 -0
- package/dist/src/services/company/company-smtp.js.map +1 -0
- package/dist/src/services/component-registrar.d.ts +26 -0
- package/dist/src/services/component-registrar.d.ts.map +1 -1
- package/dist/src/services/component-registrar.js +67 -29
- package/dist/src/services/component-registrar.js.map +1 -1
- package/dist/src/services/config-schema.d.ts.map +1 -1
- package/dist/src/services/config-schema.js +5 -1
- package/dist/src/services/config-schema.js.map +1 -1
- package/dist/src/services/connections/attach.d.ts.map +1 -1
- package/dist/src/services/connections/attach.js +2 -0
- package/dist/src/services/connections/attach.js.map +1 -1
- package/dist/src/services/connections/instance.d.ts.map +1 -1
- package/dist/src/services/connections/instance.js +2 -0
- package/dist/src/services/connections/instance.js.map +1 -1
- package/dist/src/services/connections/metrics.d.ts +62 -0
- package/dist/src/services/connections/metrics.d.ts.map +1 -0
- package/dist/src/services/connections/metrics.js +287 -0
- package/dist/src/services/connections/metrics.js.map +1 -0
- package/dist/src/services/connections/oauth.d.ts.map +1 -1
- package/dist/src/services/connections/oauth.js +88 -16
- package/dist/src/services/connections/oauth.js.map +1 -1
- package/dist/src/services/connections/providers.d.ts +53 -2
- package/dist/src/services/connections/providers.d.ts.map +1 -1
- package/dist/src/services/connections/providers.js +191 -9
- package/dist/src/services/connections/providers.js.map +1 -1
- package/dist/src/services/connections/publish-gate.d.ts +9 -1
- package/dist/src/services/connections/publish-gate.d.ts.map +1 -1
- package/dist/src/services/connections/publish-gate.js +0 -0
- package/dist/src/services/connections/publish-gate.js.map +1 -1
- package/dist/src/services/connections/publish-run.d.ts +64 -0
- package/dist/src/services/connections/publish-run.d.ts.map +1 -0
- package/dist/src/services/connections/publish-run.js +120 -0
- package/dist/src/services/connections/publish-run.js.map +1 -0
- package/dist/src/services/connections/publish.d.ts +9 -1
- package/dist/src/services/connections/publish.d.ts.map +1 -1
- package/dist/src/services/connections/publish.js +211 -1
- package/dist/src/services/connections/publish.js.map +1 -1
- package/dist/src/services/connections/refresh.d.ts.map +1 -1
- package/dist/src/services/connections/refresh.js +49 -17
- package/dist/src/services/connections/refresh.js.map +1 -1
- package/dist/src/services/connections/scheduled-publish-job.d.ts +57 -0
- package/dist/src/services/connections/scheduled-publish-job.d.ts.map +1 -0
- package/dist/src/services/connections/scheduled-publish-job.js +101 -0
- package/dist/src/services/connections/scheduled-publish-job.js.map +1 -0
- package/dist/src/services/consent-write.d.ts +49 -0
- package/dist/src/services/consent-write.d.ts.map +1 -0
- package/dist/src/services/consent-write.js +141 -0
- package/dist/src/services/consent-write.js.map +1 -0
- package/dist/src/services/contribution-proofs.d.ts +92 -0
- package/dist/src/services/contribution-proofs.d.ts.map +1 -0
- package/dist/src/services/contribution-proofs.js +144 -0
- package/dist/src/services/contribution-proofs.js.map +1 -0
- package/dist/src/services/conversation-group.d.ts +90 -0
- package/dist/src/services/conversation-group.d.ts.map +1 -0
- package/dist/src/services/conversation-group.js +201 -0
- package/dist/src/services/conversation-group.js.map +1 -0
- package/dist/src/services/core-jobs.d.ts.map +1 -1
- package/dist/src/services/core-jobs.js +12 -0
- package/dist/src/services/core-jobs.js.map +1 -1
- package/dist/src/services/cortex-lifecycle.d.ts +138 -0
- package/dist/src/services/cortex-lifecycle.d.ts.map +1 -0
- package/dist/src/services/cortex-lifecycle.js +187 -0
- package/dist/src/services/cortex-lifecycle.js.map +1 -0
- package/dist/src/services/db/access-tab-db-service.js +1 -1
- package/dist/src/services/db/access-tab-db-service.js.map +1 -1
- package/dist/src/services/db/agent-activity-overview-db-service.js +1 -1
- package/dist/src/services/db/agent-activity-overview-db-service.js.map +1 -1
- package/dist/src/services/db/agent-data-access-overview-db-service.js +1 -1
- package/dist/src/services/db/agent-data-access-overview-db-service.js.map +1 -1
- package/dist/src/services/db/agent-db-service.d.ts +3 -3
- package/dist/src/services/db/agent-db-service.d.ts.map +1 -1
- package/dist/src/services/db/agent-db-service.js +2 -2
- package/dist/src/services/db/agent-db-service.js.map +1 -1
- package/dist/src/services/db/agent-integration-overview-db-service.js +1 -1
- package/dist/src/services/db/agent-integration-overview-db-service.js.map +1 -1
- package/dist/src/services/db/agent-messages-overview-db-service.js +1 -1
- package/dist/src/services/db/agent-messages-overview-db-service.js.map +1 -1
- package/dist/src/services/db/calibrator-detail-db-service.js +1 -1
- package/dist/src/services/db/calibrator-detail-db-service.js.map +1 -1
- package/dist/src/services/db/data-wallet-db-service.js +1 -1
- package/dist/src/services/db/data-wallet-db-service.js.map +1 -1
- package/dist/src/services/db/home-dashboard-service.js +1 -1
- package/dist/src/services/db/home-dashboard-service.js.map +1 -1
- package/dist/src/services/db/knowledge-tab-db-service.js +1 -1
- package/dist/src/services/db/knowledge-tab-db-service.js.map +1 -1
- package/dist/src/services/db/living-docs-db-service.js +1 -1
- package/dist/src/services/db/living-docs-db-service.js.map +1 -1
- package/dist/src/services/db/memory-tab-db-service.js +1 -1
- package/dist/src/services/db/memory-tab-db-service.js.map +1 -1
- package/dist/src/services/db/messages-inbox-db-service.d.ts +16 -1
- package/dist/src/services/db/messages-inbox-db-service.d.ts.map +1 -1
- package/dist/src/services/db/messages-inbox-db-service.js +33 -2
- package/dist/src/services/db/messages-inbox-db-service.js.map +1 -1
- package/dist/src/services/db/messaging-db-service.js +1 -1
- package/dist/src/services/db/messaging-db-service.js.map +1 -1
- package/dist/src/services/db/notebook-db-service.js +1 -1
- package/dist/src/services/db/notebook-db-service.js.map +1 -1
- package/dist/src/services/db/owner-identity.d.ts +5 -5
- package/dist/src/services/db/owner-identity.d.ts.map +1 -1
- package/dist/src/services/db/owner-identity.js +10 -10
- package/dist/src/services/db/owner-identity.js.map +1 -1
- package/dist/src/services/db/packages-tab-db-service.js +1 -1
- package/dist/src/services/db/packages-tab-db-service.js.map +1 -1
- package/dist/src/services/db/security-tab-db-service.js +1 -1
- package/dist/src/services/db/security-tab-db-service.js.map +1 -1
- package/dist/src/services/db/wallet-tab-db-service.js +1 -1
- package/dist/src/services/db/wallet-tab-db-service.js.map +1 -1
- package/dist/src/services/db/work-tab-db-service.js +1 -1
- package/dist/src/services/db/work-tab-db-service.js.map +1 -1
- package/dist/src/services/discovery/sources/memory-source.d.ts +4 -0
- package/dist/src/services/discovery/sources/memory-source.d.ts.map +1 -1
- package/dist/src/services/discovery/sources/memory-source.js +5 -1
- package/dist/src/services/discovery/sources/memory-source.js.map +1 -1
- package/dist/src/services/email-templates.d.ts +46 -0
- package/dist/src/services/email-templates.d.ts.map +1 -1
- package/dist/src/services/email-templates.js +299 -106
- package/dist/src/services/email-templates.js.map +1 -1
- package/dist/src/services/email-verification-start.d.ts +7 -0
- package/dist/src/services/email-verification-start.d.ts.map +1 -0
- package/dist/src/services/email-verification-start.js +34 -0
- package/dist/src/services/email-verification-start.js.map +1 -0
- package/dist/src/services/email.d.ts +13 -0
- package/dist/src/services/email.d.ts.map +1 -1
- package/dist/src/services/email.js +23 -0
- package/dist/src/services/email.js.map +1 -1
- package/dist/src/services/exchange-market.d.ts +43 -0
- package/dist/src/services/exchange-market.d.ts.map +1 -1
- package/dist/src/services/exchange-market.js +81 -1
- package/dist/src/services/exchange-market.js.map +1 -1
- package/dist/src/services/extension-ctx.d.ts +108 -0
- package/dist/src/services/extension-ctx.d.ts.map +1 -0
- package/dist/src/services/extension-ctx.js +347 -0
- package/dist/src/services/extension-ctx.js.map +1 -0
- package/dist/src/services/extension-lifecycle.d.ts +109 -0
- package/dist/src/services/extension-lifecycle.d.ts.map +1 -0
- package/dist/src/services/extension-lifecycle.js +200 -0
- package/dist/src/services/extension-lifecycle.js.map +1 -0
- package/dist/src/services/extension-notify.d.ts +21 -0
- package/dist/src/services/extension-notify.d.ts.map +1 -0
- package/dist/src/services/extension-notify.js +102 -0
- package/dist/src/services/extension-notify.js.map +1 -0
- package/dist/src/services/extension-purchase.d.ts.map +1 -1
- package/dist/src/services/extension-purchase.js +30 -6
- package/dist/src/services/extension-purchase.js.map +1 -1
- package/dist/src/services/extension-runtime.d.ts +3 -0
- package/dist/src/services/extension-runtime.d.ts.map +1 -1
- package/dist/src/services/extension-runtime.js.map +1 -1
- package/dist/src/services/extension-secrets.d.ts +27 -0
- package/dist/src/services/extension-secrets.d.ts.map +1 -1
- package/dist/src/services/extension-secrets.js +37 -0
- package/dist/src/services/extension-secrets.js.map +1 -1
- package/dist/src/services/extension-upsert.d.ts +52 -0
- package/dist/src/services/extension-upsert.d.ts.map +1 -0
- package/dist/src/services/extension-upsert.js +61 -0
- package/dist/src/services/extension-upsert.js.map +1 -0
- package/dist/src/services/federation.d.ts +11 -0
- package/dist/src/services/federation.d.ts.map +1 -1
- package/dist/src/services/federation.js +11 -0
- package/dist/src/services/federation.js.map +1 -1
- package/dist/src/services/finance/accountant-access.d.ts +40 -0
- package/dist/src/services/finance/accountant-access.d.ts.map +1 -0
- package/dist/src/services/finance/accountant-access.js +84 -0
- package/dist/src/services/finance/accountant-access.js.map +1 -0
- package/dist/src/services/finance/errors.d.ts +14 -0
- package/dist/src/services/finance/errors.d.ts.map +1 -0
- package/dist/src/services/finance/errors.js +19 -0
- package/dist/src/services/finance/errors.js.map +1 -0
- package/dist/src/services/finance/export.d.ts +16 -0
- package/dist/src/services/finance/export.d.ts.map +1 -0
- package/dist/src/services/finance/export.js +116 -0
- package/dist/src/services/finance/export.js.map +1 -0
- package/dist/src/services/finance/finvoice-operator.d.ts +22 -0
- package/dist/src/services/finance/finvoice-operator.d.ts.map +1 -0
- package/dist/src/services/finance/finvoice-operator.js +154 -0
- package/dist/src/services/finance/finvoice-operator.js.map +1 -0
- package/dist/src/services/finance/finvoice.d.ts +29 -0
- package/dist/src/services/finance/finvoice.d.ts.map +1 -0
- package/dist/src/services/finance/finvoice.js +151 -0
- package/dist/src/services/finance/finvoice.js.map +1 -0
- package/dist/src/services/finance/invoice-pdf.d.ts +4 -0
- package/dist/src/services/finance/invoice-pdf.d.ts.map +1 -0
- package/dist/src/services/finance/invoice-pdf.js +177 -0
- package/dist/src/services/finance/invoice-pdf.js.map +1 -0
- package/dist/src/services/finance/invoice-service.d.ts +55 -0
- package/dist/src/services/finance/invoice-service.d.ts.map +1 -0
- package/dist/src/services/finance/invoice-service.js +292 -0
- package/dist/src/services/finance/invoice-service.js.map +1 -0
- package/dist/src/services/finance/pnl.d.ts +37 -0
- package/dist/src/services/finance/pnl.d.ts.map +1 -0
- package/dist/src/services/finance/pnl.js +51 -0
- package/dist/src/services/finance/pnl.js.map +1 -0
- package/dist/src/services/finance/reference-number.d.ts +28 -0
- package/dist/src/services/finance/reference-number.d.ts.map +1 -0
- package/dist/src/services/finance/reference-number.js +74 -0
- package/dist/src/services/finance/reference-number.js.map +1 -0
- package/dist/src/services/finance/vat-codes.d.ts +28 -0
- package/dist/src/services/finance/vat-codes.d.ts.map +1 -0
- package/dist/src/services/finance/vat-codes.js +84 -0
- package/dist/src/services/finance/vat-codes.js.map +1 -0
- package/dist/src/services/finance/vat-report.d.ts +41 -0
- package/dist/src/services/finance/vat-report.d.ts.map +1 -0
- package/dist/src/services/finance/vat-report.js +59 -0
- package/dist/src/services/finance/vat-report.js.map +1 -0
- package/dist/src/services/finance/vouchers.d.ts +30 -0
- package/dist/src/services/finance/vouchers.d.ts.map +1 -0
- package/dist/src/services/finance/vouchers.js +101 -0
- package/dist/src/services/finance/vouchers.js.map +1 -0
- package/dist/src/services/group-shares.d.ts +103 -0
- package/dist/src/services/group-shares.d.ts.map +1 -0
- package/dist/src/services/group-shares.js +224 -0
- package/dist/src/services/group-shares.js.map +1 -0
- package/dist/src/services/handbooks/agent.d.ts +4 -1
- package/dist/src/services/handbooks/agent.d.ts.map +1 -1
- package/dist/src/services/handbooks/agent.js +13 -6
- package/dist/src/services/handbooks/agent.js.map +1 -1
- package/dist/src/services/hello-mcp.d.ts +3 -0
- package/dist/src/services/hello-mcp.d.ts.map +1 -1
- package/dist/src/services/hello-mcp.js +12 -2
- package/dist/src/services/hello-mcp.js.map +1 -1
- package/dist/src/services/home-feed.d.ts +49 -0
- package/dist/src/services/home-feed.d.ts.map +1 -0
- package/dist/src/services/home-feed.js +61 -0
- package/dist/src/services/home-feed.js.map +1 -0
- package/dist/src/services/home-rooms.d.ts +58 -0
- package/dist/src/services/home-rooms.d.ts.map +1 -0
- package/dist/src/services/home-rooms.js +80 -0
- package/dist/src/services/home-rooms.js.map +1 -0
- package/dist/src/services/home-state.d.ts +117 -0
- package/dist/src/services/home-state.d.ts.map +1 -0
- package/dist/src/services/home-state.js +160 -0
- package/dist/src/services/home-state.js.map +1 -0
- package/dist/src/services/inactivity-nudge.d.ts +103 -0
- package/dist/src/services/inactivity-nudge.d.ts.map +1 -0
- package/dist/src/services/inactivity-nudge.js +207 -0
- package/dist/src/services/inactivity-nudge.js.map +1 -0
- package/dist/src/services/install-quotas.d.ts +52 -0
- package/dist/src/services/install-quotas.d.ts.map +1 -0
- package/dist/src/services/install-quotas.js +47 -0
- package/dist/src/services/install-quotas.js.map +1 -0
- package/dist/src/services/intent-pool-prompt.d.ts +24 -0
- package/dist/src/services/intent-pool-prompt.d.ts.map +1 -0
- package/dist/src/services/intent-pool-prompt.js +62 -0
- package/dist/src/services/intent-pool-prompt.js.map +1 -0
- package/dist/src/services/invitations.d.ts +95 -2
- package/dist/src/services/invitations.d.ts.map +1 -1
- package/dist/src/services/invitations.js +195 -3
- package/dist/src/services/invitations.js.map +1 -1
- package/dist/src/services/job-seeding.d.ts.map +1 -1
- package/dist/src/services/job-seeding.js +8 -0
- package/dist/src/services/job-seeding.js.map +1 -1
- package/dist/src/services/key-credentials.js +1 -1
- package/dist/src/services/key-credentials.js.map +1 -1
- package/dist/src/services/knowledge-package-entry.d.ts +107 -0
- package/dist/src/services/knowledge-package-entry.d.ts.map +1 -0
- package/dist/src/services/knowledge-package-entry.js +103 -0
- package/dist/src/services/knowledge-package-entry.js.map +1 -0
- package/dist/src/services/memory-ceilings.d.ts +66 -0
- package/dist/src/services/memory-ceilings.d.ts.map +1 -0
- package/dist/src/services/memory-ceilings.js +69 -0
- package/dist/src/services/memory-ceilings.js.map +1 -0
- package/dist/src/services/memory-write.d.ts +146 -0
- package/dist/src/services/memory-write.d.ts.map +1 -0
- package/dist/src/services/memory-write.js +251 -0
- package/dist/src/services/memory-write.js.map +1 -0
- package/dist/src/services/message-alias.d.ts +105 -0
- package/dist/src/services/message-alias.d.ts.map +1 -0
- package/dist/src/services/message-alias.js +102 -0
- package/dist/src/services/message-alias.js.map +1 -0
- package/dist/src/services/message-provenance.d.ts +45 -0
- package/dist/src/services/message-provenance.d.ts.map +1 -0
- package/dist/src/services/message-provenance.js +38 -0
- package/dist/src/services/message-provenance.js.map +1 -0
- package/dist/src/services/metered-access.d.ts +21 -0
- package/dist/src/services/metered-access.d.ts.map +1 -1
- package/dist/src/services/metered-access.js +44 -18
- package/dist/src/services/metered-access.js.map +1 -1
- package/dist/src/services/metered-settlement.js +28 -14
- package/dist/src/services/metered-settlement.js.map +1 -1
- package/dist/src/services/moderation-flags.d.ts +62 -0
- package/dist/src/services/moderation-flags.d.ts.map +1 -0
- package/dist/src/services/moderation-flags.js +196 -0
- package/dist/src/services/moderation-flags.js.map +1 -0
- package/dist/src/services/morsel.d.ts +26 -0
- package/dist/src/services/morsel.d.ts.map +1 -1
- package/dist/src/services/morsel.js +65 -1
- package/dist/src/services/morsel.js.map +1 -1
- package/dist/src/services/notification-templates.d.ts +5 -3
- package/dist/src/services/notification-templates.d.ts.map +1 -1
- package/dist/src/services/notification-templates.js +23 -3
- package/dist/src/services/notification-templates.js.map +1 -1
- package/dist/src/services/onboarding-funnel.d.ts +240 -0
- package/dist/src/services/onboarding-funnel.d.ts.map +1 -0
- package/dist/src/services/onboarding-funnel.js +538 -0
- package/dist/src/services/onboarding-funnel.js.map +1 -0
- package/dist/src/services/onboarding-progress.d.ts +85 -0
- package/dist/src/services/onboarding-progress.d.ts.map +1 -0
- package/dist/src/services/onboarding-progress.js +169 -0
- package/dist/src/services/onboarding-progress.js.map +1 -0
- package/dist/src/services/open-items-prompt.d.ts +33 -0
- package/dist/src/services/open-items-prompt.d.ts.map +1 -0
- package/dist/src/services/open-items-prompt.js +67 -0
- package/dist/src/services/open-items-prompt.js.map +1 -0
- package/dist/src/services/open-items.d.ts +169 -0
- package/dist/src/services/open-items.d.ts.map +1 -0
- package/dist/src/services/open-items.js +364 -0
- package/dist/src/services/open-items.js.map +1 -0
- package/dist/src/services/operators.d.ts +32 -0
- package/dist/src/services/operators.d.ts.map +1 -0
- package/dist/src/services/operators.js +21 -0
- package/dist/src/services/operators.js.map +1 -0
- package/dist/src/services/organism-export.d.ts.map +1 -1
- package/dist/src/services/organism-export.js +7 -1
- package/dist/src/services/organism-export.js.map +1 -1
- package/dist/src/services/organism-lifecycle.d.ts +85 -0
- package/dist/src/services/organism-lifecycle.d.ts.map +1 -0
- package/dist/src/services/organism-lifecycle.js +320 -0
- package/dist/src/services/organism-lifecycle.js.map +1 -0
- package/dist/src/services/organism-namespace-access.d.ts +59 -0
- package/dist/src/services/organism-namespace-access.d.ts.map +1 -0
- package/dist/src/services/organism-namespace-access.js +122 -0
- package/dist/src/services/organism-namespace-access.js.map +1 -0
- package/dist/src/services/outbound/outbound-service.d.ts +53 -0
- package/dist/src/services/outbound/outbound-service.d.ts.map +1 -0
- package/dist/src/services/outbound/outbound-service.js +258 -0
- package/dist/src/services/outbound/outbound-service.js.map +1 -0
- package/dist/src/services/owner-erasure.d.ts +38 -0
- package/dist/src/services/owner-erasure.d.ts.map +1 -0
- package/dist/src/services/owner-erasure.js +94 -0
- package/dist/src/services/owner-erasure.js.map +1 -0
- package/dist/src/services/owner-provisioning.d.ts.map +1 -1
- package/dist/src/services/owner-provisioning.js +14 -0
- package/dist/src/services/owner-provisioning.js.map +1 -1
- package/dist/src/services/platform-detector.d.ts +11 -0
- package/dist/src/services/platform-detector.d.ts.map +1 -1
- package/dist/src/services/platform-detector.js +44 -16
- package/dist/src/services/platform-detector.js.map +1 -1
- package/dist/src/services/prompt-defaults/portal.d.ts.map +1 -1
- package/dist/src/services/prompt-defaults/portal.js +57 -5
- package/dist/src/services/prompt-defaults/portal.js.map +1 -1
- package/dist/src/services/prompt-defaults.d.ts +7 -0
- package/dist/src/services/prompt-defaults.d.ts.map +1 -1
- package/dist/src/services/prompt-defaults.js.map +1 -1
- package/dist/src/services/prompt-seeder.d.ts.map +1 -1
- package/dist/src/services/prompt-seeder.js +8 -2
- package/dist/src/services/prompt-seeder.js.map +1 -1
- package/dist/src/services/push.d.ts +7 -1
- package/dist/src/services/push.d.ts.map +1 -1
- package/dist/src/services/push.js +32 -20
- package/dist/src/services/push.js.map +1 -1
- package/dist/src/services/quota-alarm.d.ts +39 -0
- package/dist/src/services/quota-alarm.d.ts.map +1 -0
- package/dist/src/services/quota-alarm.js +114 -0
- package/dist/src/services/quota-alarm.js.map +1 -0
- package/dist/src/services/quota.d.ts +2 -0
- package/dist/src/services/quota.d.ts.map +1 -1
- package/dist/src/services/quota.js +10 -1
- package/dist/src/services/quota.js.map +1 -1
- package/dist/src/services/schedule-gate.d.ts +31 -0
- package/dist/src/services/schedule-gate.d.ts.map +1 -0
- package/dist/src/services/schedule-gate.js +88 -0
- package/dist/src/services/schedule-gate.js.map +1 -0
- package/dist/src/services/schedule-write.d.ts +89 -0
- package/dist/src/services/schedule-write.d.ts.map +1 -0
- package/dist/src/services/schedule-write.js +440 -0
- package/dist/src/services/schedule-write.js.map +1 -0
- package/dist/src/services/scheduler-extension-job.d.ts +11 -0
- package/dist/src/services/scheduler-extension-job.d.ts.map +1 -1
- package/dist/src/services/scheduler-extension-job.js +23 -179
- package/dist/src/services/scheduler-extension-job.js.map +1 -1
- package/dist/src/services/scheduler-remote-jobs.d.ts +4 -0
- package/dist/src/services/scheduler-remote-jobs.d.ts.map +1 -1
- package/dist/src/services/scheduler-remote-jobs.js +9 -1
- package/dist/src/services/scheduler-remote-jobs.js.map +1 -1
- package/dist/src/services/scheduler.d.ts +9 -0
- package/dist/src/services/scheduler.d.ts.map +1 -1
- package/dist/src/services/scheduler.js +22 -0
- package/dist/src/services/scheduler.js.map +1 -1
- package/dist/src/services/scope-vocabulary-migration.d.ts +77 -0
- package/dist/src/services/scope-vocabulary-migration.d.ts.map +1 -0
- package/dist/src/services/scope-vocabulary-migration.js +87 -0
- package/dist/src/services/scope-vocabulary-migration.js.map +1 -0
- package/dist/src/services/sharing-group-members.d.ts +66 -0
- package/dist/src/services/sharing-group-members.d.ts.map +1 -0
- package/dist/src/services/sharing-group-members.js +185 -0
- package/dist/src/services/sharing-group-members.js.map +1 -0
- package/dist/src/services/site.d.ts +1 -1
- package/dist/src/services/site.d.ts.map +1 -1
- package/dist/src/services/site.js +8 -1
- package/dist/src/services/site.js.map +1 -1
- package/dist/src/services/storage-file-write.d.ts +103 -0
- package/dist/src/services/storage-file-write.d.ts.map +1 -0
- package/dist/src/services/storage-file-write.js +113 -0
- package/dist/src/services/storage-file-write.js.map +1 -0
- package/dist/src/services/task-resume.d.ts +10 -0
- package/dist/src/services/task-resume.d.ts.map +1 -0
- package/dist/src/services/task-resume.js +43 -0
- package/dist/src/services/task-resume.js.map +1 -0
- package/dist/src/services/upload-token.d.ts +14 -2
- package/dist/src/services/upload-token.d.ts.map +1 -1
- package/dist/src/services/upload-token.js +59 -4
- package/dist/src/services/upload-token.js.map +1 -1
- package/dist/src/services/usage-metering.d.ts +16 -0
- package/dist/src/services/usage-metering.d.ts.map +1 -1
- package/dist/src/services/usage-metering.js +32 -0
- package/dist/src/services/usage-metering.js.map +1 -1
- package/dist/src/services/usage-summary.d.ts.map +1 -1
- package/dist/src/services/usage-summary.js +7 -1
- package/dist/src/services/usage-summary.js.map +1 -1
- package/dist/src/services/welcome-mat-parse.d.ts +72 -0
- package/dist/src/services/welcome-mat-parse.d.ts.map +1 -0
- package/dist/src/services/welcome-mat-parse.js +206 -0
- package/dist/src/services/welcome-mat-parse.js.map +1 -0
- package/dist/src/services/welcome-mat-prompt.d.ts +38 -0
- package/dist/src/services/welcome-mat-prompt.d.ts.map +1 -0
- package/dist/src/services/welcome-mat-prompt.js +122 -0
- package/dist/src/services/welcome-mat-prompt.js.map +1 -0
- package/dist/src/services/welcome-message.d.ts +52 -0
- package/dist/src/services/welcome-message.d.ts.map +1 -0
- package/dist/src/services/welcome-message.js +70 -0
- package/dist/src/services/welcome-message.js.map +1 -0
- package/dist/src/services/work-lifecycle.d.ts +86 -0
- package/dist/src/services/work-lifecycle.d.ts.map +1 -0
- package/dist/src/services/work-lifecycle.js +141 -0
- package/dist/src/services/work-lifecycle.js.map +1 -0
- package/dist/src/services/workflow/lifecycle.d.ts +23 -0
- package/dist/src/services/workflow/lifecycle.d.ts.map +1 -1
- package/dist/src/services/workflow/lifecycle.js +36 -0
- package/dist/src/services/workflow/lifecycle.js.map +1 -1
- package/dist/src/services/workflow/signal-eval.d.ts.map +1 -1
- package/dist/src/services/workflow/signal-eval.js +29 -2
- package/dist/src/services/workflow/signal-eval.js.map +1 -1
- package/dist/src/services/workspace-export.d.ts +9 -0
- package/dist/src/services/workspace-export.d.ts.map +1 -1
- package/dist/src/services/workspace-export.js +39 -0
- package/dist/src/services/workspace-export.js.map +1 -1
- package/dist/src/services/workspace-write-guards.d.ts +60 -0
- package/dist/src/services/workspace-write-guards.d.ts.map +1 -0
- package/dist/src/services/workspace-write-guards.js +42 -0
- package/dist/src/services/workspace-write-guards.js.map +1 -0
- package/dist/src/services/workspace-write.d.ts +94 -0
- package/dist/src/services/workspace-write.d.ts.map +1 -0
- package/dist/src/services/workspace-write.js +77 -0
- package/dist/src/services/workspace-write.js.map +1 -0
- package/dist/src/storage/adapter/legacy-memory-adapter.d.ts +4 -7
- package/dist/src/storage/adapter/legacy-memory-adapter.d.ts.map +1 -1
- package/dist/src/storage/adapter/legacy-memory-adapter.js +0 -7
- package/dist/src/storage/adapter/legacy-memory-adapter.js.map +1 -1
- package/dist/src/storage/adapter/memory-adapter.d.ts +7 -12
- package/dist/src/storage/adapter/memory-adapter.d.ts.map +1 -1
- package/dist/src/storage/interface.d.ts +32 -2
- package/dist/src/storage/interface.d.ts.map +1 -1
- package/dist/src/storage/memory-sharing.d.ts +37 -0
- package/dist/src/storage/memory-sharing.d.ts.map +1 -0
- package/dist/src/storage/memory-sharing.js +23 -0
- package/dist/src/storage/memory-sharing.js.map +1 -0
- package/dist/src/storage/pattern-utils.d.ts +6 -1
- package/dist/src/storage/pattern-utils.d.ts.map +1 -1
- package/dist/src/storage/pattern-utils.js +17 -1
- package/dist/src/storage/pattern-utils.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/db-types.d.ts +221 -15
- package/dist/src/storage/providers/postgres-kysely/db-types.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/index.d.ts +10 -17
- package/dist/src/storage/providers/postgres-kysely/index.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/index.js +34 -6
- package/dist/src/storage/providers/postgres-kysely/index.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/agent-misc.d.ts +7 -1
- package/dist/src/storage/providers/postgres-kysely/methods/agent-misc.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/agent-misc.js +59 -3
- package/dist/src/storage/providers/postgres-kysely/methods/agent-misc.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/agent-msg-dispute-invite.d.ts +4 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-msg-dispute-invite.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/agent-msg-dispute-invite.js +11 -1
- package/dist/src/storage/providers/postgres-kysely/methods/agent-msg-dispute-invite.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/companies.d.ts +4 -0
- package/dist/src/storage/providers/postgres-kysely/methods/companies.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/companies.js +138 -0
- package/dist/src/storage/providers/postgres-kysely/methods/companies.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/connections.d.ts +23 -1
- package/dist/src/storage/providers/postgres-kysely/methods/connections.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/connections.js +148 -7
- package/dist/src/storage/providers/postgres-kysely/methods/connections.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/direct-message.d.ts +5 -1
- package/dist/src/storage/providers/postgres-kysely/methods/direct-message.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/direct-message.js +52 -0
- package/dist/src/storage/providers/postgres-kysely/methods/direct-message.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/finance.d.ts +4 -0
- package/dist/src/storage/providers/postgres-kysely/methods/finance.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/finance.js +402 -0
- package/dist/src/storage/providers/postgres-kysely/methods/finance.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/identity.d.ts +10 -0
- package/dist/src/storage/providers/postgres-kysely/methods/identity.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/identity.js +39 -16
- package/dist/src/storage/providers/postgres-kysely/methods/identity.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/memory.d.ts +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/memory.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/memory.js +36 -2
- package/dist/src/storage/providers/postgres-kysely/methods/memory.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/node-infra.d.ts +2 -1
- package/dist/src/storage/providers/postgres-kysely/methods/node-infra.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/node-infra.js +18 -6
- package/dist/src/storage/providers/postgres-kysely/methods/node-infra.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/outbound.d.ts +4 -0
- package/dist/src/storage/providers/postgres-kysely/methods/outbound.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/outbound.js +158 -0
- package/dist/src/storage/providers/postgres-kysely/methods/outbound.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/owner-cascade.d.ts +51 -0
- package/dist/src/storage/providers/postgres-kysely/methods/owner-cascade.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/owner-cascade.js +111 -0
- package/dist/src/storage/providers/postgres-kysely/methods/owner-cascade.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/sessions.d.ts +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/sessions.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/sessions.js +4 -0
- package/dist/src/storage/providers/postgres-kysely/methods/sessions.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/wallet.d.ts +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/wallet.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/wallet.js +10 -2
- package/dist/src/storage/providers/postgres-kysely/methods/wallet.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/migrations/0024_principal_provider_clients.sql +42 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0025_publish_metrics.sql +33 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0026_finance.sql +130 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0027_outbound.sql +52 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0028_companies.sql +44 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0029_company_smtp.sql +30 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0030_invitation_node_level.sql +31 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0031_group_conversations.sql +35 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0032_push_subscription_per_device.sql +35 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0033_drop_feedback.sql +16 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0033_group_shares.sql +35 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0034_agent_console_url.sql +16 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0035_agent_registered_by.sql +19 -0
- package/dist/src/storage/providers/sqlite/index.d.ts +26 -29
- package/dist/src/storage/providers/sqlite/index.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/index.js +104 -2
- package/dist/src/storage/providers/sqlite/index.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/capability-agents.d.ts +7 -1
- package/dist/src/storage/providers/sqlite/methods/capability-agents.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/capability-agents.js +19 -0
- package/dist/src/storage/providers/sqlite/methods/capability-agents.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/community.d.ts +4 -1
- package/dist/src/storage/providers/sqlite/methods/community.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/community.js +27 -21
- package/dist/src/storage/providers/sqlite/methods/community.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/companies.d.ts +13 -0
- package/dist/src/storage/providers/sqlite/methods/companies.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/companies.js +124 -0
- package/dist/src/storage/providers/sqlite/methods/companies.js.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/connections.d.ts +26 -1
- package/dist/src/storage/providers/sqlite/methods/connections.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/connections.js +120 -13
- package/dist/src/storage/providers/sqlite/methods/connections.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/extensions-notify.d.ts +6 -0
- package/dist/src/storage/providers/sqlite/methods/extensions-notify.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/extensions-notify.js +22 -3
- package/dist/src/storage/providers/sqlite/methods/extensions-notify.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/finance.d.ts +18 -0
- package/dist/src/storage/providers/sqlite/methods/finance.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/finance.js +321 -0
- package/dist/src/storage/providers/sqlite/methods/finance.js.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/messaging.d.ts +5 -1
- package/dist/src/storage/providers/sqlite/methods/messaging.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/messaging.js +13 -0
- package/dist/src/storage/providers/sqlite/methods/messaging.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/outbound.d.ts +14 -0
- package/dist/src/storage/providers/sqlite/methods/outbound.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/outbound.js +150 -0
- package/dist/src/storage/providers/sqlite/methods/outbound.js.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/owner-cascade.d.ts +23 -0
- package/dist/src/storage/providers/sqlite/methods/owner-cascade.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/owner-cascade.js +71 -0
- package/dist/src/storage/providers/sqlite/methods/owner-cascade.js.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/owner-memory-bulk.d.ts +3 -0
- package/dist/src/storage/providers/sqlite/methods/owner-memory-bulk.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/owner-memory-bulk.js +18 -0
- package/dist/src/storage/providers/sqlite/methods/owner-memory-bulk.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/owner.d.ts +10 -5
- package/dist/src/storage/providers/sqlite/methods/owner.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/owner.js +52 -80
- package/dist/src/storage/providers/sqlite/methods/owner.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/work.d.ts +1 -0
- package/dist/src/storage/providers/sqlite/methods/work.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/work.js +4 -0
- package/dist/src/storage/providers/sqlite/methods/work.js.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/agent.d.ts +5 -0
- package/dist/src/storage/providers/sqlite/repos/agent.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/agent.js +6 -1
- package/dist/src/storage/providers/sqlite/repos/agent.js.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/auth.d.ts +2 -0
- package/dist/src/storage/providers/sqlite/repos/auth.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/auth.js +4 -0
- package/dist/src/storage/providers/sqlite/repos/auth.js.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/direct-message.d.ts +14 -1
- package/dist/src/storage/providers/sqlite/repos/direct-message.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/direct-message.js +51 -0
- package/dist/src/storage/providers/sqlite/repos/direct-message.js.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/sharing-group.d.ts +10 -2
- package/dist/src/storage/providers/sqlite/repos/sharing-group.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/sharing-group.js +47 -2
- package/dist/src/storage/providers/sqlite/repos/sharing-group.js.map +1 -1
- package/dist/src/storage/providers/sqlite/schema-tables-1.d.ts +7 -0
- package/dist/src/storage/providers/sqlite/schema-tables-1.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/schema-tables-1.js +10 -16
- package/dist/src/storage/providers/sqlite/schema-tables-1.js.map +1 -1
- package/dist/src/storage/providers/sqlite/schema-tables-2.d.ts +4 -0
- package/dist/src/storage/providers/sqlite/schema-tables-2.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/schema-tables-2.js +10 -7
- package/dist/src/storage/providers/sqlite/schema-tables-2.js.map +1 -1
- package/dist/src/storage/providers/sqlite/schema-tables-3.d.ts +3 -0
- package/dist/src/storage/providers/sqlite/schema-tables-3.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/schema-tables-3.js +685 -624
- package/dist/src/storage/providers/sqlite/schema-tables-3.js.map +1 -1
- package/dist/src/storage/providers/sqlite/schema-tables-4.d.ts +12 -0
- package/dist/src/storage/providers/sqlite/schema-tables-4.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/schema-tables-4.js +226 -0
- package/dist/src/storage/providers/sqlite/schema-tables-4.js.map +1 -0
- package/dist/src/storage/providers/sqlite/schema.d.ts +9 -0
- package/dist/src/storage/providers/sqlite/schema.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/schema.js +161 -0
- package/dist/src/storage/providers/sqlite/schema.js.map +1 -1
- package/dist/src/storage/read-scope/identity-map.d.ts +0 -0
- package/dist/src/storage/read-scope/identity-map.d.ts.map +1 -0
- package/dist/src/storage/read-scope/identity-map.js +0 -0
- package/dist/src/storage/read-scope/identity-map.js.map +1 -0
- package/dist/src/storage/read-scope/read-scope.d.ts +18 -0
- package/dist/src/storage/read-scope/read-scope.d.ts.map +1 -0
- package/dist/src/storage/read-scope/read-scope.js +63 -0
- package/dist/src/storage/read-scope/read-scope.js.map +1 -0
- package/dist/src/storage/repositories/company.repository.d.ts +30 -0
- package/dist/src/storage/repositories/company.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/company.repository.js +2 -0
- package/dist/src/storage/repositories/company.repository.js.map +1 -0
- package/dist/src/storage/repositories/connection.repository.d.ts +53 -2
- package/dist/src/storage/repositories/connection.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/direct-message.repository.d.ts +7 -1
- package/dist/src/storage/repositories/direct-message.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/finance.repository.d.ts +73 -0
- package/dist/src/storage/repositories/finance.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/finance.repository.js +22 -0
- package/dist/src/storage/repositories/finance.repository.js.map +1 -0
- package/dist/src/storage/repositories/index.d.ts +0 -1
- package/dist/src/storage/repositories/index.d.ts.map +1 -1
- package/dist/src/storage/repositories/invitation.repository.d.ts +38 -3
- package/dist/src/storage/repositories/invitation.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/invitation.repository.js +7 -1
- package/dist/src/storage/repositories/invitation.repository.js.map +1 -1
- package/dist/src/storage/repositories/memory.repository.d.ts +10 -0
- package/dist/src/storage/repositories/memory.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/node.repository.d.ts +13 -1
- package/dist/src/storage/repositories/node.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/outbound.repository.d.ts +30 -0
- package/dist/src/storage/repositories/outbound.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/outbound.repository.js +2 -0
- package/dist/src/storage/repositories/outbound.repository.js.map +1 -0
- package/dist/src/storage/repositories/session.repository.d.ts +14 -0
- package/dist/src/storage/repositories/session.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/session.repository.js +2 -0
- package/dist/src/storage/repositories/session.repository.js.map +1 -1
- package/dist/src/storage/repositories/sharing-group.repository.d.ts +15 -2
- package/dist/src/storage/repositories/sharing-group.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/sharing-group.repository.js +5 -1
- package/dist/src/storage/repositories/sharing-group.repository.js.map +1 -1
- package/dist/src/storage/repositories/wallet.repository.d.ts +5 -0
- package/dist/src/storage/repositories/wallet.repository.d.ts.map +1 -1
- package/dist/src/storage/storage-factory.d.ts +6 -0
- package/dist/src/storage/storage-factory.d.ts.map +1 -1
- package/dist/src/storage/storage-factory.js +38 -19
- package/dist/src/storage/storage-factory.js.map +1 -1
- package/dist/src/storage/types/agents-messaging.d.ts +59 -30
- package/dist/src/storage/types/agents-messaging.d.ts.map +1 -1
- package/dist/src/storage/types/agents-messaging.js +0 -3
- package/dist/src/storage/types/agents-messaging.js.map +1 -1
- package/dist/src/storage/types/apps.d.ts +16 -0
- package/dist/src/storage/types/apps.d.ts.map +1 -1
- package/dist/src/storage/types/identity.d.ts +31 -0
- package/dist/src/storage/types/identity.d.ts.map +1 -1
- package/dist/src/storage/types/organisms-federation.d.ts +8 -2
- package/dist/src/storage/types/organisms-federation.d.ts.map +1 -1
- package/dist/src/utils/app-chrome-reserve.d.ts +37 -0
- package/dist/src/utils/app-chrome-reserve.d.ts.map +1 -0
- package/dist/src/utils/app-chrome-reserve.js +47 -0
- package/dist/src/utils/app-chrome-reserve.js.map +1 -0
- package/dist/src/utils/env-config/sections-features.d.ts.map +1 -1
- package/dist/src/utils/env-config/sections-features.js +12 -0
- package/dist/src/utils/env-config/sections-features.js.map +1 -1
- package/dist/src/utils/env-config/sections-platform.js +1 -1
- package/dist/src/utils/env-config/sections-platform.js.map +1 -1
- package/dist/src/utils/env-validator.d.ts +4 -1
- package/dist/src/utils/env-validator.d.ts.map +1 -1
- package/dist/src/utils/env-validator.js +25 -1
- package/dist/src/utils/env-validator.js.map +1 -1
- package/dist/src/utils/file-download-headers.d.ts +71 -0
- package/dist/src/utils/file-download-headers.d.ts.map +1 -0
- package/dist/src/utils/file-download-headers.js +88 -0
- package/dist/src/utils/file-download-headers.js.map +1 -0
- package/dist/src/utils/gaii.d.ts +11 -0
- package/dist/src/utils/gaii.d.ts.map +1 -1
- package/dist/src/utils/gaii.js +20 -1
- package/dist/src/utils/gaii.js.map +1 -1
- package/dist/src/utils/inline-script-parse.d.ts +47 -0
- package/dist/src/utils/inline-script-parse.d.ts.map +1 -0
- package/dist/src/utils/inline-script-parse.js +126 -0
- package/dist/src/utils/inline-script-parse.js.map +1 -0
- package/dist/src/utils/json-merge-patch.d.ts +48 -0
- package/dist/src/utils/json-merge-patch.d.ts.map +1 -0
- package/dist/src/utils/json-merge-patch.js +73 -0
- package/dist/src/utils/json-merge-patch.js.map +1 -0
- package/dist/src/utils/login-identifier.d.ts +34 -0
- package/dist/src/utils/login-identifier.d.ts.map +1 -0
- package/dist/src/utils/login-identifier.js +29 -0
- package/dist/src/utils/login-identifier.js.map +1 -0
- package/dist/src/utils/reserved-keys.d.ts +66 -12
- package/dist/src/utils/reserved-keys.d.ts.map +1 -1
- package/dist/src/utils/reserved-keys.js +76 -13
- package/dist/src/utils/reserved-keys.js.map +1 -1
- package/dist/src/utils/scope-coverage.d.ts +72 -0
- package/dist/src/utils/scope-coverage.d.ts.map +1 -0
- package/dist/src/utils/scope-coverage.js +115 -0
- package/dist/src/utils/scope-coverage.js.map +1 -0
- package/dist/static/app-catalog/js/favorites.js +1 -1
- package/dist/static/app-catalog/js/i18n-data.js +4 -4
- package/dist/static/app-catalog/js/promote.js +1 -1
- package/dist/static/app-catalog/js/render.js +19 -0
- package/dist/static/app-catalog/js/server-io.js +4 -0
- package/dist/static/app-catalog/js/settings.js +1 -1
- package/dist/static/app-catalog/js/util.js +53 -10
- package/dist/static/app-catalog/styles/app-catalog.css +23 -3
- package/dist/static/app-catalog.html +47 -13
- package/dist/static/sdk-libs/_core/sdk-globals.d.ts +6 -2
- package/dist/static/sdk-libs/agentface/index.js +35 -1
- package/dist/static/sdk-libs/ai/strings.js +5 -2
- package/dist/static/sdk-libs/auth/config.js +5 -0
- package/dist/static/sdk-libs/auth/i18n.js +9 -4
- package/dist/static/sdk-libs/auth/modal.js +232 -114
- package/dist/static/sdk-libs/auth/pill-strings.js +52 -0
- package/dist/static/sdk-libs/auth/pill.js +31 -12
- package/dist/static/sdk-libs/auth/pkce.js +32 -0
- package/dist/static/sdk-libs/auth/session.js +26 -33
- package/dist/static/sdk-libs/connect/index.js +205 -8
- package/dist/static/sdk-libs/connect/notes.js +8 -0
- package/dist/static/sdk-libs/dist/aimeat-agentface.js +30 -0
- package/dist/static/sdk-libs/dist/aimeat-ai.js +32 -1
- package/dist/static/sdk-libs/dist/aimeat-auth.js +248 -116
- package/dist/static/sdk-libs/dist/aimeat-connect.js +83 -6
- package/dist/static/sdk-libs/dist/aimeat-game.js +32 -2
- package/dist/static/sdk-libs/dist/aimeat-header.js +34 -7
- package/dist/static/sdk-libs/game/i18n.js +38 -7
- package/dist/static/sdk-libs/header/index.js +47 -14
- package/package.json +22 -3
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
* pixel defense), tracked-state labels, attachment classification, the interactive-answer summary +
|
|
6
6
|
* poll tally, and the lazy Toast UI editor loader. Extracted from inbox-tab.js to satisfy max-file-lines.
|
|
7
7
|
* @version-history
|
|
8
|
+
* v1.6.0 — 2026-08-04 — resolveThreadAttachmentUrls(): cache entries carry a mint timestamp and are
|
|
9
|
+
* re-minted after ATTACHMENT_URL_REUSE_MS instead of reused forever — a presigned download URL
|
|
10
|
+
* held past its 1 h token TTL failed every click with the browser's bare "Couldn't download".
|
|
11
|
+
* v1.5.0 — 2026-08-03 — buildContactOptions() + normalizePollQuestions() moved here from inbox-tab.js
|
|
12
|
+
* (max-file-lines); mergeThreadPage(): upsert-by-id merge of a freshly fetched newest page into a
|
|
13
|
+
* loaded thread, for the live delta refresh that replaced full-history reloads.
|
|
8
14
|
* v1.4.0 — 2026-08-01 — parkMessage() + openTrackedRecord() moved here from inbox-tab.js: two
|
|
9
15
|
* self-contained actions that needed nothing from the tab's state beyond a toast, pulled out to
|
|
10
16
|
* keep the tab under max-file-lines while voice messages were added to it.
|
|
@@ -66,21 +72,68 @@ export function sendFailure(err) {
|
|
|
66
72
|
* recipient's duplicated local copy; outbound resolves the original. `resolveUrl` = messages.attachmentUrl.
|
|
67
73
|
* Returns { convId, map } to store as the new cache.
|
|
68
74
|
*/
|
|
75
|
+
/** Recipient suggestions for a new message: your own agents (GAIIs) + everyone you've a thread with. */
|
|
76
|
+
export function buildContactOptions(myAgents, conversations) {
|
|
77
|
+
const map = new Map();
|
|
78
|
+
for (const a of myAgents) {
|
|
79
|
+
if (a?.gaii) map.set(a.gaii, `${a.name || a.gaii} ${t('inbox.contactAgentSuffix')}`);
|
|
80
|
+
}
|
|
81
|
+
for (const c of conversations) {
|
|
82
|
+
if (c?.peerGhii && !map.has(c.peerGhii)) map.set(c.peerGhii, peerName(c.peerGhii));
|
|
83
|
+
}
|
|
84
|
+
return [...map.entries()].map(([id, label]) => ({ id, label }));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** Broadcast poll: keep only answerable questions (a prompt + ≥1 labelled option), normalized for send. */
|
|
88
|
+
export function normalizePollQuestions(bcQuestions) {
|
|
89
|
+
return bcQuestions
|
|
90
|
+
.map(q => ({ ...q, options: (q.options || []).filter(o => o.label.trim()) }))
|
|
91
|
+
.filter(q => q.prompt.trim() && q.options.length >= 1)
|
|
92
|
+
.map(q => ({
|
|
93
|
+
id: q.id, header: (q.header || q.prompt).slice(0, 80), prompt: q.prompt.trim(),
|
|
94
|
+
options: q.options.map(o => ({ id: o.id, label: o.label.trim() })),
|
|
95
|
+
multiSelect: !!q.multiSelect, allowOther: q.allowOther !== false, required: !!q.required,
|
|
96
|
+
}));
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/** Merge a freshly fetched NEWEST page (chronological) into an already-loaded thread: upsert by id —
|
|
100
|
+
* a new message appends, a changed one (read tick) replaces — ordered by createdAt. Messages older
|
|
101
|
+
* than the fetched page stay as loaded, so a live refresh never re-walks the whole history. */
|
|
102
|
+
export function mergeThreadPage(prev, newest) {
|
|
103
|
+
const newestIds = new Set(newest.map(m => m.id));
|
|
104
|
+
return [...prev.filter(m => !newestIds.has(m.id)), ...newest]
|
|
105
|
+
.sort((a, b) => String(a.createdAt || '').localeCompare(String(b.createdAt || '')));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/** Resolved attachment URLs are PRESIGNED — the token inside them expires after 1 h (server
|
|
109
|
+
* OWN_HANDLE_TTL_SECONDS). Reusing a cached URL forever meant a download click in a long-open tab
|
|
110
|
+
* hit a dead token (410 → the browser's bare "Couldn't download"). Entries older than this are
|
|
111
|
+
* re-minted instead of reused; paired with ATTACHMENT_URL_REFRESH_MS in inbox-tab.js (15 min ticks)
|
|
112
|
+
* the worst-case age of a link in the DOM stays ~55 min, always inside the token's lifetime. */
|
|
113
|
+
export const ATTACHMENT_URL_REUSE_MS = 40 * 60 * 1000;
|
|
114
|
+
|
|
69
115
|
export async function resolveThreadAttachmentUrls(msgs, conversationId, prevCache, resolveUrl) {
|
|
70
|
-
const
|
|
116
|
+
const sameConv = prevCache?.convId === conversationId;
|
|
117
|
+
const prev = sameConv ? (prevCache.map || {}) : {};
|
|
118
|
+
// mintedAt per entry — a pre-timestamp cache ({} fallback) reads as age-infinite and re-mints.
|
|
119
|
+
const prevTs = sameConv ? (prevCache.ts || {}) : {};
|
|
120
|
+
const now = Date.now();
|
|
71
121
|
const map = {};
|
|
122
|
+
const ts = {};
|
|
72
123
|
await Promise.all(msgs.flatMap(m => (m.attachments || [])
|
|
73
124
|
.filter(a => !a.inline)
|
|
74
125
|
.map(async a => {
|
|
75
126
|
const uk = `${m.id}::${a.id}`;
|
|
76
|
-
if (prev[uk]
|
|
127
|
+
if (prev[uk] && now - (prevTs[uk] || 0) < ATTACHMENT_URL_REUSE_MS) {
|
|
128
|
+
map[uk] = prev[uk]; ts[uk] = prevTs[uk]; return;
|
|
129
|
+
}
|
|
77
130
|
const key = (a.mode === 'duplicate' && a.localKey) ? a.localKey
|
|
78
131
|
: (m.direction === 'outbound' && a.storageKey) ? a.storageKey : null;
|
|
79
132
|
if (!key) return;
|
|
80
133
|
const u = await resolveUrl(key).catch(err => { swallowed('helpers: key', err); return null; });
|
|
81
|
-
if (u) map[uk] = u;
|
|
134
|
+
if (u) { map[uk] = u; ts[uk] = now; }
|
|
82
135
|
})));
|
|
83
|
-
return { convId: conversationId, map };
|
|
136
|
+
return { convId: conversationId, map, ts };
|
|
84
137
|
}
|
|
85
138
|
|
|
86
139
|
/* Lazy-load the vendored Toast UI Editor (MIT, /lib/toastui/) — the same editor the workspace
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* (broadcast/poll results). Each is a presentational component driven entirely by props from InboxTab;
|
|
7
7
|
* the stateful container keeps all hooks. Extracted from inbox-tab.js to satisfy max-file-lines.
|
|
8
8
|
* @version-history
|
|
9
|
+
* v1.7.0 — 2026-08-03 — ThreadPanel: "Show full history (N messages)" pill at the top of a thread
|
|
10
|
+
* showing only its newest page (threads now open on the newest 50 — inbox-tab v1.28.0).
|
|
9
11
|
* v1.6.0 — 2026-08-01 — Voice messages threaded through: ThreadPanel passes onTranscribe /
|
|
10
12
|
* canTranscribe to each bubble and voiceMaxSeconds to the Composer. An agent-owned ("via
|
|
11
13
|
* <agent>") thread is read-only for the owner, so it gets no transcribe action.
|
|
@@ -169,6 +171,11 @@ export function ThreadPanel({
|
|
|
169
171
|
</div>
|
|
170
172
|
<div class="inbox-msgs" ref=${msgsRef}>
|
|
171
173
|
${thread.length === 0 ? html`<div class="inbox-empty-sm">${t('inbox.noThread')}</div>` : null}
|
|
174
|
+
${(!threadAll && (activeConv.messageCount || 0) > thread.length) ? html`
|
|
175
|
+
<div class="inbox-thread-older">
|
|
176
|
+
<button class="btn-ghost btn-sm" onClick=${toggleThreadAll}>
|
|
177
|
+
↩ ${t('inbox.thread.showOlder', { count: activeConv.messageCount })}</button>
|
|
178
|
+
</div>` : null}
|
|
172
179
|
${thread.map(m => {
|
|
173
180
|
const dk = dayKey(m.createdAt);
|
|
174
181
|
const showDay = dk !== lastDay; lastDay = dk;
|
|
@@ -2,11 +2,16 @@
|
|
|
2
2
|
* @file public/views/profile/inbox-tab/use-thread-ux.js
|
|
3
3
|
* @description Thread-pane UX hooks for the profile Inbox tab: useThreadAutoScroll (jump to the
|
|
4
4
|
* latest message on open / near-bottom follow / a single one-time jump when a NEW message arrives —
|
|
5
|
-
* never a sticky pin)
|
|
6
|
-
* height as --inbox-kb from visualViewport and scrolls the composer into view on focus)
|
|
5
|
+
* never a sticky pin), useMobileComposerKeyboard (≤760px: publishes the on-screen keyboard's
|
|
6
|
+
* height as --inbox-kb from visualViewport and scrolls the composer into view on focus) and
|
|
7
|
+
* useAttachmentUrlRefresh (re-mints expiring presigned attachment URLs while a thread is open).
|
|
7
8
|
* Extracted from inbox-tab.js to satisfy max-file-lines.
|
|
8
9
|
* @usage import { useThreadAutoScroll, useMobileComposerKeyboard } from './inbox-tab/use-thread-ux.js';
|
|
9
10
|
* @version-history
|
|
11
|
+
* v1.5.0 — 2026-08-04 — Add useAttachmentUrlRefresh: while a thread is open, a 15 min tick re-mints
|
|
12
|
+
* presigned attachment URLs approaching their 1 h token expiry — a download click in a long-open
|
|
13
|
+
* tab hit a dead token (410 → the browser's bare "Couldn't download"). useRecentBroadcasts moved
|
|
14
|
+
* here from inbox-tab.js (max-file-lines).
|
|
10
15
|
* v1.4.0 — 2026-07-21 — useThreadAutoScroll: on OPEN, keep re-pinning to the bottom for ~2.5s while late
|
|
11
16
|
* content (images, link previews, long histories) grows the thread, instead of a single jump that left
|
|
12
17
|
* a big thread stuck partway up. Re-pins only on real height growth; aborts the moment the reader
|
|
@@ -24,8 +29,49 @@
|
|
|
24
29
|
* the messenger on Android Chrome; drop the composer scrollIntoView(center) that left a dead gap.
|
|
25
30
|
*/
|
|
26
31
|
import { useEffect, useRef, useState } from 'preact/hooks';
|
|
32
|
+
import { resolveThreadAttachmentUrls } from './helpers.js';
|
|
33
|
+
import { attachmentUrl } from '/js/services/messages.js';
|
|
27
34
|
|
|
28
35
|
const LINK_PREVIEWS_KEY = 'aimeat.inbox.linkPreviews';
|
|
36
|
+
const BC_STORE = 'aimeat.inbox.broadcasts';
|
|
37
|
+
|
|
38
|
+
/** Recent broadcasts/polls the user sent — tracked in localStorage so results stay re-accessible.
|
|
39
|
+
* Moved here from inbox-tab.js (max-file-lines). */
|
|
40
|
+
export function useRecentBroadcasts() {
|
|
41
|
+
const [recentBroadcasts, setRecentBroadcasts] = useState([]);
|
|
42
|
+
useEffect(() => { try { setRecentBroadcasts(JSON.parse(localStorage.getItem(BC_STORE) || '[]')); } catch { /* none */ } }, []); // eslint-disable-line aimeat/no-silent-catch -- none
|
|
43
|
+
const trackBroadcast = (entry) => setRecentBroadcasts(prev => {
|
|
44
|
+
const next = [entry, ...prev.filter(b => b.id !== entry.id)].slice(0, 30);
|
|
45
|
+
try { localStorage.setItem(BC_STORE, JSON.stringify(next)); } catch { /* quota */ } // eslint-disable-line aimeat/no-silent-catch -- quota
|
|
46
|
+
return next;
|
|
47
|
+
});
|
|
48
|
+
return { recentBroadcasts, trackBroadcast };
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/** Presigned attachment URLs carry a 1 h token. While a thread stays open (no reload, no SSE
|
|
52
|
+
* traffic), the links in the DOM would outlive their tokens and every download click would fail.
|
|
53
|
+
* A 15 min tick re-runs the resolver: entries younger than the reuse window (helpers.
|
|
54
|
+
* ATTACHMENT_URL_REUSE_MS) come back from cache (no network), entries approaching expiry get a
|
|
55
|
+
* fresh token before it dies. */
|
|
56
|
+
export function useAttachmentUrlRefresh(activeConv, activeConvRef, threadRef, urlCacheRef, setUrlMap) {
|
|
57
|
+
useEffect(() => {
|
|
58
|
+
if (!activeConv) return undefined;
|
|
59
|
+
const iv = setInterval(async () => {
|
|
60
|
+
const conv = activeConvRef.current;
|
|
61
|
+
if (!conv) return;
|
|
62
|
+
const prevMap = urlCacheRef.current.map || {};
|
|
63
|
+
const cache = await resolveThreadAttachmentUrls(threadRef.current, conv.conversationId, urlCacheRef.current, attachmentUrl);
|
|
64
|
+
if (activeConvRef.current?.conversationId !== conv.conversationId) return; // user switched threads mid-fetch
|
|
65
|
+
urlCacheRef.current = cache;
|
|
66
|
+
// Only re-render when a URL actually changed — an all-fresh tick must not touch <img>/<audio> src.
|
|
67
|
+
const keys = Object.keys(cache.map);
|
|
68
|
+
if (keys.length !== Object.keys(prevMap).length || keys.some(k => cache.map[k] !== prevMap[k])) setUrlMap(cache.map);
|
|
69
|
+
}, 15 * 60 * 1000);
|
|
70
|
+
return () => clearInterval(iv);
|
|
71
|
+
// The refs are stable — the open conversation is the real trigger.
|
|
72
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
73
|
+
}, [activeConv]);
|
|
74
|
+
}
|
|
29
75
|
|
|
30
76
|
/** Persisted global toggle for the link-preview cards (default ON). Returns the flag + a toggler that
|
|
31
77
|
* writes the choice to localStorage. Per-card dismissal is owned separately by /components/LinkPreview.js. */
|
|
@@ -14,6 +14,15 @@
|
|
|
14
14
|
* (./inbox-tab/use-thread-ux.js)
|
|
15
15
|
* @usage Lazy-loaded profile tab; registered in profile.js TABS as id `messages`.
|
|
16
16
|
* @version-history
|
|
17
|
+
* v1.28.1 -- 2026-08-04 -- Fix "attachment download fails in a long-open tab": presigned attachment
|
|
18
|
+
* URLs expire after 1 h but were cached forever, so a click hit a dead token (410 → the browser's
|
|
19
|
+
* bare "Couldn't download"). useAttachmentUrlRefresh (use-thread-ux.js) re-mints entries older
|
|
20
|
+
* than the reuse window (helpers.ATTACHMENT_URL_REUSE_MS) while a thread is open.
|
|
21
|
+
* v1.28.0 -- 2026-08-03 -- Messages-view speedup: peer names seed from the overview's peerNames map
|
|
22
|
+
* (kills the ~48-request per-peer GET fan-out on mount); threads open on the newest 50 again
|
|
23
|
+
* (reverses the v1.25.0 full-history default — ~3s / ~190 requests on a 400-message thread; the
|
|
24
|
+
* thread-top pill / header toggle load the rest); a live 'messages' update fetches only the newest
|
|
25
|
+
* page and merges by id (refreshThreadDelta + helpers.mergeThreadPage).
|
|
17
26
|
* v1.27.0 -- 2026-08-01 -- Voice messages: 🎤 in the composer records a clip that travels the normal
|
|
18
27
|
* attachment path, an audio bubble plays in place, and a voice attachment can be turned into text
|
|
19
28
|
* with the owner's own key (useVoiceMessages → POST /v1/messages/:id/attachments/:attId/transcribe).
|
|
@@ -139,11 +148,11 @@ import { apiGet } from '/js/api.js';
|
|
|
139
148
|
import { getSession } from '/js/services/auth.js';
|
|
140
149
|
import { TrackResponseModal } from './track-response-modal.js';
|
|
141
150
|
import { peerLabel } from '/js/services/messages-ai-prompts.js';
|
|
142
|
-
import { peerName, ownerKeyOf, isAgentPeer, buildAnswerSummary, resolveThreadAttachmentUrls, sendFailure, parkMessage, openTrackedRecord } from './inbox-tab/helpers.js';
|
|
151
|
+
import { peerName, ownerKeyOf, isAgentPeer, buildAnswerSummary, resolveThreadAttachmentUrls, sendFailure, parkMessage, openTrackedRecord, buildContactOptions, normalizePollQuestions, mergeThreadPage } from './inbox-tab/helpers.js';
|
|
143
152
|
import { Composer, PollBuilder, MarkdownViewer, ReplyWithAiPopover, ConversationToNotebookPopover } from './inbox-tab/components.js';
|
|
144
153
|
import { buildConversationReplyProps, buildMessageReplyProps, buildConversationNotebookProps } from './inbox-tab/ai-actions.js';
|
|
145
154
|
import { ListPanel, ThreadPanel, TrackedPanel, ResultsPanel } from './inbox-tab/panels.js';
|
|
146
|
-
import { useThreadAutoScroll, useMobileComposerKeyboard, useLinkPreviewToggle } from './inbox-tab/use-thread-ux.js';
|
|
155
|
+
import { useThreadAutoScroll, useMobileComposerKeyboard, useLinkPreviewToggle, useAttachmentUrlRefresh, useRecentBroadcasts } from './inbox-tab/use-thread-ux.js';
|
|
147
156
|
import { useVoiceMessages } from './inbox-tab/use-voice.js';
|
|
148
157
|
import { ContactPicker } from '/components/ContactPicker.js';
|
|
149
158
|
import { swallowed } from '/js/swallowed.js';
|
|
@@ -177,7 +186,7 @@ export default function InboxTab({ showToast }) {
|
|
|
177
186
|
const [myGroups, setMyGroups] = useState([]); // the owner's Share Groups (audiences)
|
|
178
187
|
const [resultsId, setResultsId] = useState(null); // broadcast id whose results are shown
|
|
179
188
|
const [results, setResults] = useState(null); // fetched broadcast results
|
|
180
|
-
const
|
|
189
|
+
const { recentBroadcasts, trackBroadcast } = useRecentBroadcasts(); // localStorage-tracked sent broadcasts
|
|
181
190
|
const [sending, setSending] = useState(false);
|
|
182
191
|
const [important, setImportant] = useState(new Set()); // message ids flagged important (Tier 1)
|
|
183
192
|
const [trackedList, setTrackedList] = useState([]); // active Tracked Responses (Tier 2)
|
|
@@ -225,6 +234,13 @@ export default function InboxTab({ showToast }) {
|
|
|
225
234
|
apiGet('/v1/groups').then(gr => setMyGroups(gr?.data?.groups || [])).catch(err => { swallowed('inbox-tab: isOperator', err); });
|
|
226
235
|
return;
|
|
227
236
|
}
|
|
237
|
+
// Seed the peer display-name cache from the composite BEFORE the lists render — the resolvePeerNames
|
|
238
|
+
// effect then finds every id present and fetches nothing (was ~48 profile GETs per mount). '' entries
|
|
239
|
+
// are kept: "looked up, not resolvable here" (federated peer) → handle fallback, no re-fetch.
|
|
240
|
+
if (d.peerNames && typeof d.peerNames === 'object') {
|
|
241
|
+
peerNamesRef.current = { ...d.peerNames, ...peerNamesRef.current };
|
|
242
|
+
setPeerNames({ ...peerNamesRef.current });
|
|
243
|
+
}
|
|
228
244
|
setRequests(d.requests || []);
|
|
229
245
|
setConversations(d.conversations || []);
|
|
230
246
|
setImportant(new Set(d.important || []));
|
|
@@ -323,14 +339,12 @@ export default function InboxTab({ showToast }) {
|
|
|
323
339
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
324
340
|
}, [awaitingIds]);
|
|
325
341
|
|
|
326
|
-
// markRead=true ONLY
|
|
327
|
-
//
|
|
328
|
-
//
|
|
329
|
-
//
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
const [threadAll, setThreadAll] = useState(true);
|
|
333
|
-
const threadAllRef = useRef(true); threadAllRef.current = threadAll;
|
|
342
|
+
// markRead=true ONLY on explicit open — the read receipt itself emits a 'messages' change → SSE →
|
|
343
|
+
// refresh, so marking read on every live refresh would self-sustain a request loop.
|
|
344
|
+
// "Show all vs newest 50": defaults to the NEWEST 50 (one page request) — a 400-message full-history
|
|
345
|
+
// open cost ~3s / ~190 requests. Full history = thread-top pill or header toggle; re-defaults on open.
|
|
346
|
+
const [threadAll, setThreadAll] = useState(false);
|
|
347
|
+
const threadAllRef = useRef(false); threadAllRef.current = threadAll;
|
|
334
348
|
const loadThread = useCallback(async (conv, markRead = false) => {
|
|
335
349
|
if (!conv) return;
|
|
336
350
|
// threadAllRef: false = newest 50 (fast default); true = the FULL history (header "All messages" toggle).
|
|
@@ -344,7 +358,31 @@ export default function InboxTab({ showToast }) {
|
|
|
344
358
|
// Agent-owned ("via <agent>") threads are read-only for the owner — don't post a read receipt as them.
|
|
345
359
|
if (markRead && !conv.viaAgent) await messages.markConversationRead(conv.conversationId).catch(err => { swallowed('inbox-tab: msgs', err); });
|
|
346
360
|
}, []);
|
|
347
|
-
|
|
361
|
+
// Side effects OUTSIDE the state updater — Preact may re-invoke an updater (loadThread inside it double-fetched).
|
|
362
|
+
const toggleThreadAll = () => {
|
|
363
|
+
const nv = !threadAllRef.current;
|
|
364
|
+
threadAllRef.current = nv; setThreadAll(nv);
|
|
365
|
+
if (activeConv) loadThread(activeConv);
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
// Live (SSE) refresh of the OPEN thread: fetch only the NEWEST page and merge (helpers.mergeThreadPage)
|
|
369
|
+
// instead of re-walking the whole history; the attachment-URL cache means only new attachments fetch.
|
|
370
|
+
const threadRef = useRef([]); threadRef.current = thread;
|
|
371
|
+
const refreshThreadDelta = useCallback(async (conv) => {
|
|
372
|
+
if (!conv) return;
|
|
373
|
+
const newest = (await messages.getConversation(conv.conversationId, conv.viaAgent, false).catch(err => { swallowed('inbox-tab: delta', err); return []; })).slice().reverse();
|
|
374
|
+
if (!newest.length) return;
|
|
375
|
+
if (activeConvRef.current?.conversationId !== conv.conversationId) return; // user switched threads mid-fetch
|
|
376
|
+
const merged = mergeThreadPage(threadRef.current, newest);
|
|
377
|
+
setThread(merged);
|
|
378
|
+
const cache = await resolveThreadAttachmentUrls(merged, conv.conversationId, urlCacheRef.current, messages.attachmentUrl);
|
|
379
|
+
urlCacheRef.current = cache;
|
|
380
|
+
setUrlMap(cache.map);
|
|
381
|
+
}, []);
|
|
382
|
+
|
|
383
|
+
// While a thread is open, re-mint presigned attachment URLs before their 1 h token expires —
|
|
384
|
+
// otherwise a download click in a long-open tab hits a dead token ("Couldn't download").
|
|
385
|
+
useAttachmentUrlRefresh(activeConv, activeConvRef, threadRef, urlCacheRef, setUrlMap);
|
|
348
386
|
|
|
349
387
|
// Voice messages: can this owner transcribe, how long may a recording run, and the call that does it.
|
|
350
388
|
const { canTranscribe, voiceMaxSeconds, transcribeVoice } = useVoiceMessages(loadThread, activeConvRef);
|
|
@@ -369,14 +407,6 @@ export default function InboxTab({ showToast }) {
|
|
|
369
407
|
return () => { cancelled = true; };
|
|
370
408
|
}, [activePeer]);
|
|
371
409
|
|
|
372
|
-
// Recent broadcasts/polls the user sent — tracked in localStorage so results stay re-accessible.
|
|
373
|
-
const BC_STORE = 'aimeat.inbox.broadcasts';
|
|
374
|
-
useEffect(() => { try { setRecentBroadcasts(JSON.parse(localStorage.getItem(BC_STORE) || '[]')); } catch { /* none */ } }, []); // eslint-disable-line aimeat/no-silent-catch -- none
|
|
375
|
-
const trackBroadcast = (entry) => setRecentBroadcasts(prev => {
|
|
376
|
-
const next = [entry, ...prev.filter(b => b.id !== entry.id)].slice(0, 30);
|
|
377
|
-
try { localStorage.setItem(BC_STORE, JSON.stringify(next)); } catch { /* quota */ } // eslint-disable-line aimeat/no-silent-catch -- quota
|
|
378
|
-
return next;
|
|
379
|
-
});
|
|
380
410
|
const openResults = async (id) => {
|
|
381
411
|
setMode('results'); setResultsId(id); setResults(null); setActiveConv(null);
|
|
382
412
|
setResults(await messages.getBroadcastResults(id).catch(err => { swallowed('inbox-tab', err); return null; }));
|
|
@@ -398,35 +428,18 @@ export default function InboxTab({ showToast }) {
|
|
|
398
428
|
try { window.history.replaceState({}, '', '/v1/profile?tab=messages'); } catch (err) { swallowed('inbox-tab: toParam', err); }
|
|
399
429
|
}, []);
|
|
400
430
|
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
}
|
|
407
|
-
for (const c of conversations) {
|
|
408
|
-
if (c?.peerGhii && !map.has(c.peerGhii)) map.set(c.peerGhii, peerName(c.peerGhii));
|
|
409
|
-
}
|
|
410
|
-
return [...map.entries()].map(([id, label]) => ({ id, label }));
|
|
411
|
-
})();
|
|
412
|
-
|
|
413
|
-
// A 'messages' live-update ALWAYS reloads the open thread so incoming messages render immediately —
|
|
414
|
-
// even while you're typing a reply (previously the whole reload was skipped when an editable was
|
|
415
|
-
// focused, so new messages stayed invisible until send/reopen: the "badge shows N new but the thread
|
|
416
|
-
// never updates" bug). The "don't yank scroll while I write" concern is handled where it belongs —
|
|
417
|
-
// useThreadAutoScroll suppresses the new-message jump while the composer is focused (near-bottom
|
|
418
|
-
// follow still applies), so the message list re-renders without stealing the caret or the scroll.
|
|
431
|
+
const contactOptions = buildContactOptions(myAgents, conversations);
|
|
432
|
+
|
|
433
|
+
// A 'messages' live-update ALWAYS refreshes the open thread (delta merge) so incoming messages render
|
|
434
|
+
// immediately, even mid-typing — skipping it while an editable was focused left new messages invisible
|
|
435
|
+
// until send/reopen. Scroll/caret protection lives in useThreadAutoScroll, not here.
|
|
419
436
|
const liveRef = useRef(null);
|
|
420
|
-
liveRef.current = () => { loadLists(); if (activeConv)
|
|
421
|
-
// Selective live refresh. `e.detail.domains` is a Set<string> (or null = "everything changed",
|
|
422
|
-
//
|
|
423
|
-
//
|
|
424
|
-
//
|
|
425
|
-
//
|
|
426
|
-
// open thread + requests)
|
|
427
|
-
// • 'agent-messages' (agent activity) → ONLY the tracked-responses list (1 request)
|
|
428
|
-
// Everything else (memory, organisms, agent-tasks, …) is ignored. A burst is coalesced into one
|
|
429
|
-
// refresh; if any 'messages' event lands in the window we do the full refresh.
|
|
437
|
+
liveRef.current = () => { loadLists(); if (activeConv) refreshThreadDelta(activeConv); };
|
|
438
|
+
// Selective live refresh. `e.detail.domains` is a Set<string> (or null = "everything changed", e.g. a
|
|
439
|
+
// reconnect catch-up) — a Set, NOT an Array (an earlier Array.isArray check never matched → refresh on
|
|
440
|
+
// every change → request storm). 'messages' → full refresh (lists + open-thread delta);
|
|
441
|
+
// 'agent-messages' → only the tracked-responses list. Everything else ignored; bursts coalesce, and
|
|
442
|
+
// any 'messages' event in the window wins the full refresh.
|
|
430
443
|
const liveTimerRef = useRef(null);
|
|
431
444
|
const pendingFullRef = useRef(false);
|
|
432
445
|
useEffect(() => {
|
|
@@ -454,7 +467,7 @@ export default function InboxTab({ showToast }) {
|
|
|
454
467
|
|
|
455
468
|
const openConversation = async (conv) => {
|
|
456
469
|
setActiveConv(conv); setMode('thread');
|
|
457
|
-
setThreadAll(
|
|
470
|
+
setThreadAll(false); threadAllRef.current = false; // each thread opens on its newest 50 (full history = one click)
|
|
458
471
|
setDraftPrefill(''); setReplyingTrId(null); setReplyQuote(null); // don't leak a suggested reply / quote across threads
|
|
459
472
|
await loadThread(conv, true); // mark read only on explicit open (avoids a refresh loop)
|
|
460
473
|
loadLists();
|
|
@@ -513,14 +526,7 @@ export default function InboxTab({ showToast }) {
|
|
|
513
526
|
|
|
514
527
|
let interactive;
|
|
515
528
|
if (bcType === 'poll') {
|
|
516
|
-
const questions = bcQuestions
|
|
517
|
-
.map(q => ({ ...q, options: (q.options || []).filter(o => o.label.trim()) }))
|
|
518
|
-
.filter(q => q.prompt.trim() && q.options.length >= 1)
|
|
519
|
-
.map(q => ({
|
|
520
|
-
id: q.id, header: (q.header || q.prompt).slice(0, 80), prompt: q.prompt.trim(),
|
|
521
|
-
options: q.options.map(o => ({ id: o.id, label: o.label.trim() })),
|
|
522
|
-
multiSelect: !!q.multiSelect, allowOther: q.allowOther !== false, required: !!q.required,
|
|
523
|
-
}));
|
|
529
|
+
const questions = normalizePollQuestions(bcQuestions);
|
|
524
530
|
if (!questions.length) { showToast?.(t('inbox.pollNeedQuestion'), true); return; }
|
|
525
531
|
interactive = { role: 'questions', v: 1, questions };
|
|
526
532
|
} else if (!body && files.length === 0) { return; }
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
* @usage import { InstructionBlock } from '/views/profile/instruction-block.js';
|
|
15
15
|
* @version-history
|
|
16
16
|
* v1.0.0 — 2026-07-31 — Initial.
|
|
17
|
+
* v1.1.0 — 2026-08-08 — Copy labels now resolve from the shared common.copy / common.copied / common.copyPrompt /
|
|
18
|
+
* common.copyLink / common.copyUrl keys; the per-view copy label keys this file used were
|
|
19
|
+
* removed from both locales. Same words on screen.
|
|
17
20
|
*/
|
|
18
21
|
import { h } from 'preact';
|
|
19
22
|
import { useState, useEffect } from 'preact/hooks';
|
|
@@ -78,7 +81,7 @@ export function InstructionBlock({ orgId }) {
|
|
|
78
81
|
<div class="ib-actions">
|
|
79
82
|
<${CopyButton} text=${text} className="btn-primary"
|
|
80
83
|
label=${tr('instrBlock.copy', 'Copy the block')}
|
|
81
|
-
copiedLabel=${tr('
|
|
84
|
+
copiedLabel=${tr('common.copied', 'Copied')} />
|
|
82
85
|
<span class="ib-meta">${tr('instrBlock.from', 'Generated from')} ${data.organism_name || data.organism_id}${
|
|
83
86
|
Array.isArray(data.workspaces) && data.workspaces.length
|
|
84
87
|
? `, ${data.workspaces.length} ${tr('instrBlock.workspaces', 'workspaces')}` : ''}</span>
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* v1.0.0 — 2026-07-13 — Extracted from views/profile/landing-page.js (max-file-lines)
|
|
13
13
|
*/
|
|
14
14
|
import { h } from "preact";
|
|
15
|
+
import { OpenItemsList } from '/components/OpenItemsList.js';
|
|
15
16
|
import { useState, useEffect, useCallback, useRef } from "preact/hooks";
|
|
16
17
|
import htm from "htm";
|
|
17
18
|
const html = htm.bind(h);
|
|
@@ -113,7 +114,13 @@ export function AgentsCard({ owner, initialAgents }) {
|
|
|
113
114
|
// The Home /v1/owner/home composite already resolves the owner's agent list (initialAgents) — seed from
|
|
114
115
|
// it and skip the mount /v1/agents fetch (dropping that duplicate). The next-scheduled-job row still
|
|
115
116
|
// needs the schedules call (not in the composite); live-update refreshes both.
|
|
116
|
-
|
|
117
|
+
// Excluded from the HOME card (both still live in the Agents tab):
|
|
118
|
+
// session-* — per-session scratch identities, never user-facing.
|
|
119
|
+
// app — the built-in agent registration creates for in-app calls. Counting it made a
|
|
120
|
+
// brand-new account read "1 agent active today" when the person had connected
|
|
121
|
+
// nothing, which is a claim about work that never happened (UX-remake v3, P5).
|
|
122
|
+
const seedAgents = (list) => (Array.isArray(list) ? list : [])
|
|
123
|
+
.filter(a => !String(a.name || '').startsWith('session-') && String(a.name || '') !== 'app')
|
|
117
124
|
.slice().sort((a, b) => String(b.last_seen || '').localeCompare(String(a.last_seen || '')));
|
|
118
125
|
const [agents, setAgents] = useState(initialAgents ? seedAgents(initialAgents) : null);
|
|
119
126
|
const [nextJob, setNextJob] = useState(null);
|
|
@@ -545,6 +552,7 @@ export function NextSteps({ switchTab, hasApps }) {
|
|
|
545
552
|
</button>
|
|
546
553
|
`)}
|
|
547
554
|
</div>
|
|
555
|
+
<${OpenItemsList} />
|
|
548
556
|
</div>
|
|
549
557
|
`;
|
|
550
558
|
}
|
|
@@ -628,6 +636,10 @@ export const SIDEBAR_GROUPS = [
|
|
|
628
636
|
{ id: 'email', labelKey: 'profile.tabs.email' },
|
|
629
637
|
{ id: 'chatsessions', labelKey: 'profile.tabs.chatSessions' },
|
|
630
638
|
] },
|
|
639
|
+
{ titleKey: 'profile.landing.menuBusiness', items: [ // the company and its money
|
|
640
|
+
{ id: 'companies', labelKey: 'profile.tabs.companies' },
|
|
641
|
+
{ id: 'pnl', labelKey: 'profile.tabs.pnl' },
|
|
642
|
+
] },
|
|
631
643
|
{ titleKey: 'profile.landing.menuBuildShare', items: [
|
|
632
644
|
{ id: 'apps', labelKey: 'profile.tabs.apps' },
|
|
633
645
|
{ id: 'appdev', labelKey: 'profile.tabs.appDev' },
|
|
@@ -663,7 +675,25 @@ export const SIDEBAR_GROUPS = [
|
|
|
663
675
|
] },
|
|
664
676
|
];
|
|
665
677
|
|
|
678
|
+
/**
|
|
679
|
+
* The BASIC menu: what a person needs before they have built anything on the node. 38 items in
|
|
680
|
+
* one flat list was a measured wall for a non-technical newcomer (UX-remake v3, K5), and the
|
|
681
|
+
* chat-first model says the profile's deeper surfaces are for technical users. Everything else
|
|
682
|
+
* is one "Show all tools" toggle away, and the toggle state is remembered — nothing is removed.
|
|
683
|
+
* Operator-only groups are never in the basic set (they are role-gated anyway).
|
|
684
|
+
*/
|
|
685
|
+
export const BASIC_TAB_IDS = new Set([
|
|
686
|
+
'companies', // your company: address, legal identity, sender
|
|
687
|
+
'organisms', 'memory', 'notebook', // where the work and knowledge live
|
|
688
|
+
'agents', 'mcp', // the chat/agent connection
|
|
689
|
+
'notifications', 'contacts', // what happened, who with
|
|
690
|
+
'apps', 'portfolio', // what you made
|
|
691
|
+
'wallet', 'access', // account
|
|
692
|
+
]);
|
|
693
|
+
|
|
666
694
|
// Flat item lookup (pinned section renders items by id).
|
|
667
695
|
export const SIDEBAR_ITEM_BY_ID = Object.fromEntries(SIDEBAR_GROUPS.flatMap(g => g.items.map(it => [it.id, it])));
|
|
668
696
|
export const INFRA_TAB_IDS = new Set(['federation', 'nodes', 'nodeStats', 'security']);
|
|
669
|
-
|
|
697
|
+
// Defaults stay inside BASIC_TAB_IDS: a default pin to a tool the basic menu hides (scheduler,
|
|
698
|
+
// until 2026-08-07) contradicted the two-level menu the moment it shipped.
|
|
699
|
+
export const DEFAULT_PINS = ['organisms', 'agents', 'memory', 'mcp'];
|
|
@@ -97,7 +97,7 @@ import { h } from "preact";
|
|
|
97
97
|
import { useState, useEffect, useCallback, useRef } from "preact/hooks";
|
|
98
98
|
import htm from "htm";
|
|
99
99
|
const html = htm.bind(h);
|
|
100
|
-
import { t } from "/js/i18n.js";
|
|
100
|
+
import { t, tOr } from "/js/i18n.js";
|
|
101
101
|
import { listApps } from "/js/services/apps.js";
|
|
102
102
|
import { onLiveUpdate } from "/lib/live-updates.js";
|
|
103
103
|
import { getMemory, createMemory } from "/js/services/memory.js";
|
|
@@ -105,10 +105,11 @@ import { minidenticon } from "/lib/minidenticons.min.js";
|
|
|
105
105
|
import { syncTabHistory } from "./landing-page.helpers.js";
|
|
106
106
|
import { EditProfileModal, ChangePasswordModal } from "./landing-page.modals.js";
|
|
107
107
|
import { swallowed } from '/js/swallowed.js';
|
|
108
|
+
import { HomeUiSwitch } from '/components/HomeUiSwitch.js';
|
|
108
109
|
import {
|
|
109
110
|
ProfileCard, WaitingForYou, NextSteps, UsageCard, AiSpendCard, AgentLedgerCard,
|
|
110
111
|
CommerceCard, ContinueCard, AgentsCard, CortexSection, InboxNavButton,
|
|
111
|
-
SIDEBAR_GROUPS, SIDEBAR_ITEM_BY_ID, INFRA_TAB_IDS, DEFAULT_PINS,
|
|
112
|
+
SIDEBAR_GROUPS, SIDEBAR_ITEM_BY_ID, INFRA_TAB_IDS, DEFAULT_PINS, BASIC_TAB_IDS,
|
|
112
113
|
} from "./landing-page.cards.js";
|
|
113
114
|
|
|
114
115
|
/* ───── Tier heuristic ───── */
|
|
@@ -172,12 +173,35 @@ export default function LandingPage({ tier, stats, homeUsage, homeAgents, sessio
|
|
|
172
173
|
const fromPopRef = useRef(false);
|
|
173
174
|
openViewRef.current = openView;
|
|
174
175
|
const [drawerOpen, setDrawerOpen] = useState(false);
|
|
176
|
+
// Sidebar depth (K5): basic set by default, everything behind one remembered toggle. A user who
|
|
177
|
+
// has already opened a non-basic tab is clearly past the basics — start them expanded.
|
|
178
|
+
const [showAllTools, setShowAllTools] = useState(() => {
|
|
179
|
+
try {
|
|
180
|
+
const saved = localStorage.getItem('aimeat.sidebar.allTools');
|
|
181
|
+
if (saved === '1') return true;
|
|
182
|
+
if (saved === '0') return false;
|
|
183
|
+
// eslint-disable-next-line aimeat/no-silent-catch -- blocked storage just means "no remembered choice"
|
|
184
|
+
} catch { /* fall through to the heuristic */ }
|
|
185
|
+
try {
|
|
186
|
+
const saved = JSON.parse(sessionStorage.getItem('aimeat-profile-tab') || 'null');
|
|
187
|
+
return !!(saved && saved.tabId && !BASIC_TAB_IDS.has(saved.tabId));
|
|
188
|
+
// eslint-disable-next-line aimeat/no-silent-catch -- no remembered tab means start basic
|
|
189
|
+
} catch { return false; }
|
|
190
|
+
});
|
|
175
191
|
// Extensions promo: onboarding-only (apps < 3) and dismissable for good.
|
|
176
192
|
const [showPromo, setShowPromo] = useState(() => { try { return localStorage.getItem('aimeat.cortexPromoDismissed') !== '1'; } catch { return true; } });
|
|
177
193
|
const dismissPromo = () => { setShowPromo(false); try { localStorage.setItem('aimeat.cortexPromoDismissed', '1'); } catch { /* noop */ } }; // eslint-disable-line aimeat/no-silent-catch -- noop
|
|
178
194
|
|
|
179
195
|
const owner = session.owner;
|
|
180
196
|
|
|
197
|
+
// Has this account produced ANYTHING yet? Gates the inventory cards (quotas, spend, commerce)
|
|
198
|
+
// off a brand-new account's first screen (UX-remake v3, P5). Only KNOWN-positive counts flip it,
|
|
199
|
+
// so the cards never flash in before the stats land and then disappear.
|
|
200
|
+
const hasOwnContent = (apps.length > 0)
|
|
201
|
+
|| (typeof stats?.agents === 'number' && stats.agents > 0)
|
|
202
|
+
|| (typeof stats?.organisms === 'number' && stats.organisms > 0)
|
|
203
|
+
|| (typeof stats?.memories === 'number' && stats.memories > 0);
|
|
204
|
+
|
|
181
205
|
/* Fetch app list for app strip */
|
|
182
206
|
const loadApps = useCallback(async () => {
|
|
183
207
|
try {
|
|
@@ -361,15 +385,28 @@ export default function LandingPage({ tier, stats, homeUsage, homeAgents, sessio
|
|
|
361
385
|
`}
|
|
362
386
|
${SIDEBAR_GROUPS.filter(g => !g.adminOnly || isOperator).map(g => {
|
|
363
387
|
const collapsed = collapsedGroups.has(g.titleKey);
|
|
388
|
+
// Basic view: only the everyday items. The rest are one toggle away, never gone.
|
|
389
|
+
const items = showAllTools ? g.items : g.items.filter(it => BASIC_TAB_IDS.has(it.id));
|
|
390
|
+
if (items.length === 0) return null;
|
|
364
391
|
return html`
|
|
365
392
|
<div class="pf-side-group" key=${g.titleKey}>
|
|
366
393
|
<button class="pf-side-group-title pf-side-group-toggle" onClick=${() => toggleGroup(g.titleKey)}>
|
|
367
394
|
<span class="pf-chevron ${collapsed ? '' : 'pf-chevron-open'}">▼</span> ${t(g.titleKey)}
|
|
368
395
|
</button>
|
|
369
|
-
${!collapsed &&
|
|
396
|
+
${!collapsed && items.map(it => renderItem(it, false))}
|
|
370
397
|
</div>
|
|
371
398
|
`;
|
|
372
399
|
})}
|
|
400
|
+
<button class="pf-side-item pf-side-more" onClick=${() => setShowAllTools(v => {
|
|
401
|
+
const next = !v;
|
|
402
|
+
// eslint-disable-next-line aimeat/no-silent-catch -- a blocked store only costs the remembered choice
|
|
403
|
+
try { localStorage.setItem('aimeat.sidebar.allTools', next ? '1' : '0'); } catch { /* not persisted */ }
|
|
404
|
+
return next;
|
|
405
|
+
})}>
|
|
406
|
+
<span class="pf-side-label">${showAllTools
|
|
407
|
+
? tOr('profile.landing.showBasicTools', 'Show fewer tools')
|
|
408
|
+
: tOr('profile.landing.showAllTools', 'Show all tools')}</span>
|
|
409
|
+
</button>
|
|
373
410
|
`;
|
|
374
411
|
})()}
|
|
375
412
|
</aside>
|
|
@@ -388,15 +425,23 @@ export default function LandingPage({ tier, stats, homeUsage, homeAgents, sessio
|
|
|
388
425
|
<${NextSteps} switchTab=${(id) => open(id, 'main')}
|
|
389
426
|
hasApps=${appsLoaded ? apps.length > 0 : undefined} />
|
|
390
427
|
<div class="pf-home-grid">
|
|
391
|
-
<${UsageCard} switchTab=${(id) => open(id, 'main')} initialUsage=${homeUsage} />
|
|
392
|
-
<${AiSpendCard} />
|
|
393
|
-
<${AgentLedgerCard} />
|
|
394
|
-
<${CommerceCard} />
|
|
395
428
|
<${ContinueCard} />
|
|
396
429
|
<${AgentsCard} owner=${owner} initialAgents=${homeAgents} />
|
|
430
|
+
${/* Inventory (quotas, spend, commerce) stays OFF the first screen until the account
|
|
431
|
+
has produced something. A brand-new account measurably read the zero-rows as a
|
|
432
|
+
half-finished tool (UX-remake v3, P5); an established one still gets them. */
|
|
433
|
+
hasOwnContent ? html`
|
|
434
|
+
<${UsageCard} switchTab=${(id) => open(id, 'main')} initialUsage=${homeUsage} />
|
|
435
|
+
<${AiSpendCard} />
|
|
436
|
+
<${AgentLedgerCard} />
|
|
437
|
+
<${CommerceCard} />` : null}
|
|
397
438
|
</div>
|
|
398
439
|
${(showPromo && apps.length < 3) ? html`
|
|
399
440
|
<${CortexSection} switchTab=${() => open('extensions', 'main')} onDismiss=${dismissPromo} />` : null}
|
|
441
|
+
${/* The way to the new home. It has to be HERE: somebody on this side could not reach it
|
|
442
|
+
from anywhere, which made the choice invisible rather than optional. Same shared
|
|
443
|
+
control the new home mounts in its settings. */''}
|
|
444
|
+
<${HomeUiSwitch} className="pf-ui-switch" />
|
|
400
445
|
`}
|
|
401
446
|
</main>
|
|
402
447
|
</div>
|
|
@@ -9,7 +9,7 @@ import { useState, useEffect, useCallback, useRef } from "preact/hooks";
|
|
|
9
9
|
import htm from "htm";
|
|
10
10
|
const html = htm.bind(h);
|
|
11
11
|
import { t } from "/js/i18n.js";
|
|
12
|
-
import { getProfile, updateProfile, changePassword } from "/js/services/auth.js";
|
|
12
|
+
import { getProfile, updateProfile, changePassword, updateSessionMeta } from "/js/services/auth.js";
|
|
13
13
|
import { getMyPresence, setMyPresence } from "/js/services/presence.js";
|
|
14
14
|
import { onLiveUpdate } from "/lib/live-updates.js";
|
|
15
15
|
import { Spinner } from "./shared.js";
|
|
@@ -58,11 +58,7 @@ export function EditProfileModal({ session, onClose, onSaved, onChangePassword }
|
|
|
58
58
|
if (resp && resp.data) {
|
|
59
59
|
if (session && typeof fields.display_name === 'string') {
|
|
60
60
|
// Persist + re-render the golden login pill live (so it shows the new name now).
|
|
61
|
-
|
|
62
|
-
window.AIMEAT.auth.updateSessionMeta({ displayName: fields.display_name });
|
|
63
|
-
} else {
|
|
64
|
-
session.displayName = fields.display_name;
|
|
65
|
-
}
|
|
61
|
+
updateSessionMeta({ displayName: fields.display_name });
|
|
66
62
|
}
|
|
67
63
|
onSaved?.();
|
|
68
64
|
} else {
|