aimeat 1.40.1 → 2.0.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/README.md +24 -15
- package/dist/.env.example +528 -495
- package/dist/locales/en.json +314 -297
- package/dist/locales/fi.json +314 -297
- package/dist/public/components/ContactPicker.js +145 -0
- package/dist/public/components/EmptyState.js +22 -7
- package/dist/public/components/NotificationBell.js +92 -7
- package/dist/public/cortex-bundled/aimeat-dag.js +553 -0
- package/dist/public/cortex-bundled/aimeat-dag.yaml +77 -0
- package/dist/public/cortex-bundled/aimeat-flow.js +225 -0
- package/dist/public/cortex-bundled/aimeat-flow.yaml +101 -0
- package/dist/public/cortex-bundled/aimeat-ui-motion.js +323 -0
- package/dist/public/cortex-bundled/aimeat-ui-motion.yaml +86 -0
- package/dist/public/css/components/contact-picker.css +26 -0
- package/dist/public/css/theme.css +52 -2
- package/dist/public/css/views/admin.css +51 -1
- package/dist/public/css/views/agents-detail.css +78 -14
- package/dist/public/css/views/capabilities.css +2 -0
- package/dist/public/css/views/companies.css +0 -1
- package/dist/public/css/views/inbox.css +142 -7
- package/dist/public/css/views/landing.css +2 -0
- package/dist/public/css/views/members.css +0 -1
- package/dist/public/css/views/my-company.css +5 -5
- package/dist/public/css/views/offers.css +0 -3
- package/dist/public/css/views/portal-dev.css +49 -0
- package/dist/public/css/views/profile.css +171 -13
- package/dist/public/css/views/public-knowledge-viewer.css +0 -17
- package/dist/public/css/views/scheduler.css +37 -1
- package/dist/public/css/views/workflows.css +1 -1
- package/dist/public/js/services/admin.js +10 -0
- package/dist/public/js/services/agent-activity.js +15 -0
- package/dist/public/js/services/agent-directives.js +14 -0
- package/dist/public/js/services/agent-integration.js +15 -0
- package/dist/public/js/services/agent-messages.js +14 -0
- package/dist/public/js/services/agent-tasks.js +14 -0
- package/dist/public/js/services/appdev.js +67 -0
- package/dist/public/js/services/apps.js +28 -0
- package/dist/public/js/services/calibrator.js +14 -1
- package/dist/public/js/services/consent.js +17 -0
- package/dist/public/js/services/contacts.js +47 -0
- package/dist/public/js/services/ecosystem.js +14 -0
- package/dist/public/js/services/generator.js +71 -35
- package/dist/public/js/services/knowledge.js +14 -0
- package/dist/public/js/services/ledger.js +18 -0
- package/dist/public/js/services/living.js +14 -0
- package/dist/public/js/services/messages.js +7 -1
- package/dist/public/js/services/organisms.js +48 -4
- package/dist/public/js/services/schedules.js +19 -2
- package/dist/public/js/services/security.js +14 -0
- package/dist/public/js/services/work.js +14 -0
- package/dist/public/lib/VENDORED.md +77 -0
- package/dist/public/lib/drawflow@0.min.css +1 -0
- package/dist/public/lib/drawflow@0.min.js +1 -0
- package/dist/public/lib/fonts/LICENSE.md +13 -0
- package/dist/public/lib/fonts/baloo2-latin-ext.woff2 +0 -0
- package/dist/public/lib/fonts/baloo2-latin.woff2 +0 -0
- package/dist/public/lib/fonts/bangers-latin-ext.woff2 +0 -0
- package/dist/public/lib/fonts/bangers-latin.woff2 +0 -0
- package/dist/public/lib/fonts.css +51 -0
- package/dist/public/lib/p5@1.min.js +2 -0
- package/dist/public/lib/phaser@3.min.js +1 -0
- package/dist/public/lib/pixi-unsafe-eval@8.min.js +22 -0
- package/dist/public/lib/pixi@8.min.js +2329 -0
- package/dist/public/lib/realtime.js +120 -3
- package/dist/public/lib/samples/LICENSE.md +21 -9
- package/dist/public/lib/samples/bass/A1.mp3 +0 -0
- package/dist/public/lib/samples/bass/B2.mp3 +0 -0
- package/dist/public/lib/samples/bass/D2.mp3 +0 -0
- package/dist/public/lib/samples/bass/E1.mp3 +0 -0
- package/dist/public/lib/samples/bass/E3.mp3 +0 -0
- package/dist/public/lib/samples/bass/G2.mp3 +0 -0
- package/dist/public/lib/samples/drums/clap.mp3 +0 -0
- package/dist/public/lib/samples/drums/cowbell.mp3 +0 -0
- package/dist/public/lib/samples/drums/crash.mp3 +0 -0
- package/dist/public/lib/samples/drums/hihat-open.mp3 +0 -0
- package/dist/public/lib/samples/drums/hihat.mp3 +0 -0
- package/dist/public/lib/samples/drums/kick.mp3 +0 -0
- package/dist/public/lib/samples/drums/ride.mp3 +0 -0
- package/dist/public/lib/samples/drums/snare.mp3 +0 -0
- package/dist/public/lib/samples/drums/tom-high.mp3 +0 -0
- package/dist/public/lib/samples/drums/tom-low.mp3 +0 -0
- package/dist/public/lib/samples/drums/tom-mid.mp3 +0 -0
- package/dist/public/lib/samples/flute/A4.mp3 +0 -0
- package/dist/public/lib/samples/flute/A5.mp3 +0 -0
- package/dist/public/lib/samples/flute/C4.mp3 +0 -0
- package/dist/public/lib/samples/flute/C5.mp3 +0 -0
- package/dist/public/lib/samples/flute/C6.mp3 +0 -0
- package/dist/public/lib/samples/flute/E4.mp3 +0 -0
- package/dist/public/lib/samples/flute/E5.mp3 +0 -0
- package/dist/public/lib/samples/guitar/A2.mp3 +0 -0
- package/dist/public/lib/samples/guitar/A4.mp3 +0 -0
- package/dist/public/lib/samples/guitar/B3.mp3 +0 -0
- package/dist/public/lib/samples/guitar/D3.mp3 +0 -0
- package/dist/public/lib/samples/guitar/E2.mp3 +0 -0
- package/dist/public/lib/samples/guitar/E4.mp3 +0 -0
- package/dist/public/lib/samples/guitar/E5.mp3 +0 -0
- package/dist/public/lib/samples/guitar/G3.mp3 +0 -0
- package/dist/public/lib/samples/guitar-el/A2.mp3 +0 -0
- package/dist/public/lib/samples/guitar-el/A4.mp3 +0 -0
- package/dist/public/lib/samples/guitar-el/B3.mp3 +0 -0
- package/dist/public/lib/samples/guitar-el/D3.mp3 +0 -0
- package/dist/public/lib/samples/guitar-el/E2.mp3 +0 -0
- package/dist/public/lib/samples/guitar-el/E4.mp3 +0 -0
- package/dist/public/lib/samples/guitar-el/E5.mp3 +0 -0
- package/dist/public/lib/samples/guitar-el/G3.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/A2.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/A4.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/B3.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/D3.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/E2.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/E4.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/E5.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/G3.mp3 +0 -0
- package/dist/public/llms-template.txt +42 -21
- package/dist/public/spa.html +40 -34
- package/dist/public/style-testbed.html +0 -2
- package/dist/public/sw.js +23 -4
- package/dist/public/views/_template.js +21 -8
- package/dist/public/views/admin/cortex-tab.js +2 -2
- package/dist/public/views/admin/database-tab.js +140 -0
- package/dist/public/views/admin/feedback-tab.js +162 -0
- package/dist/public/views/admin/owners-tab.js +19 -29
- package/dist/public/views/admin/push-tab.js +2 -2
- package/dist/public/views/admin/services-tab.js +4 -4
- package/dist/public/views/admin/shared.js +9 -3
- package/dist/public/views/admin/sharing-groups-tab.js +13 -25
- package/dist/public/views/admin/stats-tab.js +33 -33
- package/dist/public/views/admin.js +52 -49
- package/dist/public/views/companies.js +9 -7
- package/dist/public/views/help.js +2 -1
- package/dist/public/views/invite-accept.js +64 -19
- package/dist/public/views/landing.js +41 -8
- package/dist/public/views/members.js +4 -2
- package/dist/public/views/my-company.js +27 -77
- package/dist/public/views/my-company.payments.js +177 -0
- package/dist/public/views/portal-classic.js +0 -4
- package/dist/public/views/portal-dev.js +11 -0
- package/dist/public/views/portal-dev.panels.js +52 -58
- package/dist/public/views/portal.components.js +18 -36
- package/dist/public/views/portal.prompts.js +9 -10
- package/dist/public/views/profile/access-tab/access-tokens.js +3 -3
- package/dist/public/views/profile/access-tab/agent-defaults.js +3 -3
- package/dist/public/views/profile/access-tab/connected-apps.js +5 -3
- package/dist/public/views/profile/access-tab/sharing-groups.js +8 -7
- package/dist/public/views/profile/access-tab.js +26 -10
- package/dist/public/views/profile/agents/agent-card.js +16 -5
- package/dist/public/views/profile/agents/tab-activity.js +27 -9
- package/dist/public/views/profile/agents/tab-agent-config.js +4 -1
- package/dist/public/views/profile/agents/tab-contracts.js +11 -3
- package/dist/public/views/profile/agents/tab-data-access.js +36 -20
- package/dist/public/views/profile/agents/tab-directives.js +2 -1
- package/dist/public/views/profile/agents/tab-integration.js +46 -23
- package/dist/public/views/profile/agents/tab-messages.js +37 -6
- package/dist/public/views/profile/agents/tab-quality.js +32 -8
- package/dist/public/views/profile/agents/tab-schedules.js +15 -10
- package/dist/public/views/profile/agents/tab-usage.js +19 -8
- package/dist/public/views/profile/agents-capabilities-subtab.js +3 -3
- package/dist/public/views/profile/agents-tab.js +11 -1
- package/dist/public/views/profile/appdev-tab.js +275 -0
- package/dist/public/views/profile/apps-tab.js +230 -1
- package/dist/public/views/profile/calibrator-batch.js +2 -2
- package/dist/public/views/profile/calibrator-tab.js +69 -37
- package/dist/public/views/profile/capabilities-tab.js +24 -13
- package/dist/public/views/profile/contacts-tab.js +139 -0
- package/dist/public/views/profile/data-wallet-tab.js +37 -18
- package/dist/public/views/profile/discover-tab.js +2 -1
- package/dist/public/views/profile/ecosystem-tab.automation.js +21 -7
- package/dist/public/views/profile/extensions-tab.js +4 -2
- package/dist/public/views/profile/extensions-tab.maturity.js +40 -0
- package/dist/public/views/profile/generator-dashboard/DebugPanel.js +16 -9
- package/dist/public/views/profile/generator-dashboard/use-dashboard-core.js +46 -26
- package/dist/public/views/profile/generator-dashboard/use-edit-mode.js +29 -25
- package/dist/public/views/profile/generator-dashboard/use-test-execution.js +14 -14
- package/dist/public/views/profile/generator-detail.ai.js +21 -0
- package/dist/public/views/profile/generator-detail.js +59 -26
- package/dist/public/views/profile/generator-detail.results.js +1 -1
- package/dist/public/views/profile/generator-settings.js +51 -47
- package/dist/public/views/profile/generator-tab.js +28 -7
- package/dist/public/views/profile/inbox-tab/components.js +110 -10
- package/dist/public/views/profile/inbox-tab/helpers.js +12 -0
- package/dist/public/views/profile/inbox-tab/panels.js +34 -4
- package/dist/public/views/profile/inbox-tab/use-thread-ux.js +104 -0
- package/dist/public/views/profile/inbox-tab.js +94 -47
- package/dist/public/views/profile/knowledge-tab.helpers.js +20 -0
- package/dist/public/views/profile/knowledge-tab.js +31 -28
- package/dist/public/views/profile/landing-page.cards.js +59 -46
- package/dist/public/views/profile/landing-page.js +6 -5
- package/dist/public/views/profile/landing-page.modals.js +5 -2
- package/dist/public/views/profile/libraries-tab.js +196 -0
- package/dist/public/views/profile/living-tab.js +11 -0
- package/dist/public/views/profile/memory-tab.js +45 -4
- package/dist/public/views/profile/node-stats-tab.js +29 -24
- package/dist/public/views/profile/notebook-card.js +1 -1
- package/dist/public/views/profile/notebook-tab.js +20 -1
- package/dist/public/views/profile/offers-tab.js +2 -1
- package/dist/public/views/profile/openrouter-settings.js +613 -0
- package/dist/public/views/profile/organisms/invite-panel.js +254 -0
- package/dist/public/views/profile/organisms/members.js +110 -177
- package/dist/public/views/profile/organisms/participants-panel.js +6 -2
- package/dist/public/views/profile/organisms/skills-panel.js +2 -1
- package/dist/public/views/profile/organisms/workspace/generator.js +1 -1
- package/dist/public/views/profile/organisms-tab.js +24 -16
- package/dist/public/views/profile/packages-tab.js +28 -38
- package/dist/public/views/profile/scheduler-calendar.js +72 -4
- package/dist/public/views/profile/scheduler-tab.js +16 -5
- package/dist/public/views/profile/security-tab.js +44 -44
- package/dist/public/views/profile/skills-tab.js +3 -2
- package/dist/public/views/profile/wallet-tab.js +34 -7
- package/dist/public/views/profile/work-tab.js +10 -1
- package/dist/public/views/profile/workflows-tab.js +3 -2
- package/dist/public/views/profile.js +38 -44
- package/dist/public/views/public-knowledge-viewer.js +6 -7
- package/dist/public/views/start-flows.js +16 -0
- package/dist/scripts/aeb-ledger.d.ts +2 -0
- package/dist/scripts/aeb-ledger.d.ts.map +1 -0
- package/dist/scripts/aeb-ledger.js +28 -0
- package/dist/scripts/aeb-ledger.js.map +1 -0
- package/dist/scripts/aeb-prove.d.ts +2 -0
- package/dist/scripts/aeb-prove.d.ts.map +1 -0
- package/dist/scripts/aeb-prove.js +124 -0
- package/dist/scripts/aeb-prove.js.map +1 -0
- package/dist/scripts/archive-stale-versions.js +1 -59
- package/dist/scripts/archive-stale-versions.js.map +1 -1
- package/dist/scripts/audit-mcp-tools.d.ts +1 -0
- package/dist/scripts/audit-mcp-tools.d.ts.map +1 -1
- package/dist/scripts/audit-mcp-tools.js +25 -0
- package/dist/scripts/audit-mcp-tools.js.map +1 -1
- package/dist/scripts/consent-audit-prune.js +5 -58
- package/dist/scripts/consent-audit-prune.js.map +1 -1
- package/dist/scripts/db-reset.d.ts +3 -3
- package/dist/scripts/db-reset.js +21 -62
- package/dist/scripts/db-reset.js.map +1 -1
- package/dist/scripts/kill-port.js +25 -5
- package/dist/scripts/kill-port.js.map +1 -1
- package/dist/scripts/kill-test-servers.d.ts +3 -0
- package/dist/scripts/kill-test-servers.d.ts.map +1 -0
- package/dist/scripts/kill-test-servers.js +84 -0
- package/dist/scripts/kill-test-servers.js.map +1 -0
- package/dist/scripts/migrate-to-postgres-kysely.d.ts +2 -0
- package/dist/scripts/migrate-to-postgres-kysely.d.ts.map +1 -0
- package/dist/scripts/migrate-to-postgres-kysely.js +194 -0
- package/dist/scripts/migrate-to-postgres-kysely.js.map +1 -0
- package/dist/scripts/reassign-apps.js +1 -1
- package/dist/scripts/telemetry-prune.d.ts +2 -1
- package/dist/scripts/telemetry-prune.d.ts.map +1 -1
- package/dist/scripts/telemetry-prune.js +7 -58
- package/dist/scripts/telemetry-prune.js.map +1 -1
- package/dist/src/auth/middleware.d.ts +9 -0
- package/dist/src/auth/middleware.d.ts.map +1 -1
- package/dist/src/auth/middleware.js +31 -0
- package/dist/src/auth/middleware.js.map +1 -1
- package/dist/src/cli/config-import.js +2 -2
- package/dist/src/cli/config-import.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/agent-management.d.ts +2 -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 +8 -0
- package/dist/src/cli/connect/mcp/tools/agent-management.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/appdev.d.ts +17 -0
- package/dist/src/cli/connect/mcp/tools/appdev.d.ts.map +1 -0
- package/dist/src/cli/connect/mcp/tools/appdev.js +123 -0
- package/dist/src/cli/connect/mcp/tools/appdev.js.map +1 -0
- package/dist/src/cli/connect/mcp/tools/apps.d.ts +3 -1
- package/dist/src/cli/connect/mcp/tools/apps.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/apps.js +49 -1
- package/dist/src/cli/connect/mcp/tools/apps.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/commerce.d.ts +16 -0
- package/dist/src/cli/connect/mcp/tools/commerce.d.ts.map +1 -0
- package/dist/src/cli/connect/mcp/tools/commerce.js +102 -0
- package/dist/src/cli/connect/mcp/tools/commerce.js.map +1 -0
- package/dist/src/cli/connect/mcp/tools/contacts.d.ts +13 -0
- package/dist/src/cli/connect/mcp/tools/contacts.d.ts.map +1 -0
- package/dist/src/cli/connect/mcp/tools/contacts.js +35 -0
- package/dist/src/cli/connect/mcp/tools/contacts.js.map +1 -0
- package/dist/src/cli/connect/mcp/tools/dm-messages.d.ts +3 -0
- package/dist/src/cli/connect/mcp/tools/dm-messages.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/dm-messages.js +24 -0
- package/dist/src/cli/connect/mcp/tools/dm-messages.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/feedback.d.ts +14 -0
- package/dist/src/cli/connect/mcp/tools/feedback.d.ts.map +1 -0
- package/dist/src/cli/connect/mcp/tools/feedback.js +29 -0
- package/dist/src/cli/connect/mcp/tools/feedback.js.map +1 -0
- package/dist/src/cli/connect/mcp/tools/index.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/index.js +10 -0
- package/dist/src/cli/connect/mcp/tools/index.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/onboarding.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/onboarding.js +4 -1
- package/dist/src/cli/connect/mcp/tools/onboarding.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/operator.d.ts +18 -0
- package/dist/src/cli/connect/mcp/tools/operator.d.ts.map +1 -0
- package/dist/src/cli/connect/mcp/tools/operator.js +65 -0
- package/dist/src/cli/connect/mcp/tools/operator.js.map +1 -0
- package/dist/src/cli/connect/mcp/tools/organisms.d.ts +2 -0
- package/dist/src/cli/connect/mcp/tools/organisms.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/organisms.js +101 -2
- package/dist/src/cli/connect/mcp/tools/organisms.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/workflows.d.ts +1 -0
- package/dist/src/cli/connect/mcp/tools/workflows.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/workflows.js +13 -0
- package/dist/src/cli/connect/mcp/tools/workflows.js.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-agent.d.ts +6 -0
- package/dist/src/cli/connect/tool-call-defs-agent.d.ts.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-agent.js +126 -0
- package/dist/src/cli/connect/tool-call-defs-agent.js.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-apps.d.ts +4 -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 +379 -1
- package/dist/src/cli/connect/tool-call-defs-apps.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 +46 -1
- package/dist/src/cli/connect/tool-call-defs-organism.js.map +1 -1
- package/dist/src/cli/init-wizard/generate.js +2 -2
- package/dist/src/cli/init-wizard/generate.js.map +1 -1
- package/dist/src/cli/init-wizard/helpers.d.ts +1 -1
- package/dist/src/cli/init-wizard/helpers.d.ts.map +1 -1
- package/dist/src/cli/init-wizard/helpers.js +2 -5
- package/dist/src/cli/init-wizard/helpers.js.map +1 -1
- package/dist/src/cli/init-wizard/presets.d.ts.map +1 -1
- package/dist/src/cli/init-wizard/presets.js +0 -1
- package/dist/src/cli/init-wizard/presets.js.map +1 -1
- package/dist/src/cli/init-wizard/steps-core.d.ts.map +1 -1
- package/dist/src/cli/init-wizard/steps-core.js +7 -11
- package/dist/src/cli/init-wizard/steps-core.js.map +1 -1
- package/dist/src/commerce/sellable-resolvers.d.ts +11 -1
- package/dist/src/commerce/sellable-resolvers.d.ts.map +1 -1
- package/dist/src/commerce/sellable-resolvers.js +55 -0
- package/dist/src/commerce/sellable-resolvers.js.map +1 -1
- package/dist/src/commerce/test-money-handler.d.ts +5 -0
- package/dist/src/commerce/test-money-handler.d.ts.map +1 -0
- package/dist/src/commerce/test-money-handler.js +27 -0
- package/dist/src/commerce/test-money-handler.js.map +1 -0
- package/dist/src/commerce/x402-facilitator.d.ts +113 -0
- package/dist/src/commerce/x402-facilitator.d.ts.map +1 -0
- package/dist/src/commerce/x402-facilitator.js +143 -0
- package/dist/src/commerce/x402-facilitator.js.map +1 -0
- package/dist/src/commerce/x402-handler.d.ts +35 -0
- package/dist/src/commerce/x402-handler.d.ts.map +1 -0
- package/dist/src/commerce/x402-handler.js +54 -0
- package/dist/src/commerce/x402-handler.js.map +1 -0
- package/dist/src/commerce/x402.d.ts +32 -8
- package/dist/src/commerce/x402.d.ts.map +1 -1
- package/dist/src/commerce/x402.js +41 -9
- package/dist/src/commerce/x402.js.map +1 -1
- package/dist/src/config-types.d.ts +21 -2
- package/dist/src/config-types.d.ts.map +1 -1
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/config.js +27 -5
- package/dist/src/config.js.map +1 -1
- package/dist/src/data/app-templates/components.d.ts +13 -1
- package/dist/src/data/app-templates/components.d.ts.map +1 -1
- package/dist/src/data/app-templates/components.js +149 -1
- package/dist/src/data/app-templates/components.js.map +1 -1
- package/dist/src/data/app-templates.d.ts +13 -0
- package/dist/src/data/app-templates.d.ts.map +1 -1
- package/dist/src/data/app-templates.js +39 -1
- package/dist/src/data/app-templates.js.map +1 -1
- package/dist/src/data/appdev-pitfalls.d.ts +56 -0
- package/dist/src/data/appdev-pitfalls.d.ts.map +1 -0
- package/dist/src/data/appdev-pitfalls.js +342 -0
- package/dist/src/data/appdev-pitfalls.js.map +1 -0
- package/dist/src/data/builtin-skills.d.ts +6 -0
- package/dist/src/data/builtin-skills.d.ts.map +1 -1
- package/dist/src/data/builtin-skills.js +151 -0
- package/dist/src/data/builtin-skills.js.map +1 -1
- package/dist/src/data/library-packs/cortex.d.ts +18 -0
- package/dist/src/data/library-packs/cortex.d.ts.map +1 -0
- package/dist/src/data/library-packs/cortex.js +339 -0
- package/dist/src/data/library-packs/cortex.js.map +1 -0
- package/dist/src/data/library-packs/sdk.d.ts +16 -0
- package/dist/src/data/library-packs/sdk.d.ts.map +1 -0
- package/dist/src/data/library-packs/sdk.js +439 -0
- package/dist/src/data/library-packs/sdk.js.map +1 -0
- package/dist/src/data/library-packs/vendored.d.ts +21 -0
- package/dist/src/data/library-packs/vendored.d.ts.map +1 -0
- package/dist/src/data/library-packs/vendored.js +381 -0
- package/dist/src/data/library-packs/vendored.js.map +1 -0
- package/dist/src/data/library-packs.d.ts +151 -0
- package/dist/src/data/library-packs.d.ts.map +1 -0
- package/dist/src/data/library-packs.js +169 -0
- package/dist/src/data/library-packs.js.map +1 -0
- package/dist/src/generated/api-types.d.ts +25542 -14448
- package/dist/src/generated/api-types.d.ts.map +1 -1
- package/dist/src/index-help.d.ts +1 -1
- package/dist/src/index-help.d.ts.map +1 -1
- package/dist/src/index-help.js +3 -3
- package/dist/src/mcp/agent-onboarding.d.ts.map +1 -1
- package/dist/src/mcp/agent-onboarding.js +8 -2
- package/dist/src/mcp/agent-onboarding.js.map +1 -1
- package/dist/src/mcp/annotations.d.ts +1 -0
- package/dist/src/mcp/annotations.d.ts.map +1 -1
- package/dist/src/mcp/annotations.js +24 -0
- package/dist/src/mcp/annotations.js.map +1 -1
- package/dist/src/mcp/app-template-proposals.d.ts +17 -0
- package/dist/src/mcp/app-template-proposals.d.ts.map +1 -0
- package/dist/src/mcp/app-template-proposals.js +94 -0
- package/dist/src/mcp/app-template-proposals.js.map +1 -0
- package/dist/src/mcp/appdev-pitfalls.d.ts +22 -0
- package/dist/src/mcp/appdev-pitfalls.d.ts.map +1 -0
- package/dist/src/mcp/appdev-pitfalls.js +208 -0
- package/dist/src/mcp/appdev-pitfalls.js.map +1 -0
- package/dist/src/mcp/appdev-proofs.d.ts +21 -0
- package/dist/src/mcp/appdev-proofs.d.ts.map +1 -0
- package/dist/src/mcp/appdev-proofs.js +103 -0
- package/dist/src/mcp/appdev-proofs.js.map +1 -0
- package/dist/src/mcp/appdev-research.d.ts +17 -0
- package/dist/src/mcp/appdev-research.d.ts.map +1 -0
- package/dist/src/mcp/appdev-research.js +27 -0
- package/dist/src/mcp/appdev-research.js.map +1 -0
- package/dist/src/mcp/apps.d.ts +6 -0
- package/dist/src/mcp/apps.d.ts.map +1 -1
- package/dist/src/mcp/apps.js +60 -5
- package/dist/src/mcp/apps.js.map +1 -1
- package/dist/src/mcp/catalog/definitions/agent-messaging.d.ts.map +1 -1
- package/dist/src/mcp/catalog/definitions/agent-messaging.js +38 -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 -0
- package/dist/src/mcp/catalog/definitions/capabilities-groups-skills.d.ts.map +1 -1
- package/dist/src/mcp/catalog/definitions/capabilities-groups-skills.js +139 -5
- package/dist/src/mcp/catalog/definitions/capabilities-groups-skills.js.map +1 -1
- package/dist/src/mcp/catalog/definitions/organisms-workspaces-apps.d.ts.map +1 -1
- package/dist/src/mcp/catalog/definitions/organisms-workspaces-apps.js +41 -3
- 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 +20 -0
- package/dist/src/mcp/catalog/definitions/schedules-tasks-memory.js.map +1 -1
- package/dist/src/mcp/catalog/scopes.d.ts +1 -0
- package/dist/src/mcp/catalog/scopes.d.ts.map +1 -1
- package/dist/src/mcp/catalog/scopes.js +18 -0
- 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 +17 -4
- package/dist/src/mcp/catalog/surfaces.js.map +1 -1
- package/dist/src/mcp/catalogue.d.ts +1 -0
- package/dist/src/mcp/catalogue.d.ts.map +1 -1
- package/dist/src/mcp/catalogue.js +10 -2
- package/dist/src/mcp/catalogue.js.map +1 -1
- package/dist/src/mcp/commerce.js +1 -1
- package/dist/src/mcp/commerce.js.map +1 -1
- package/dist/src/mcp/contacts.d.ts +19 -0
- package/dist/src/mcp/contacts.d.ts.map +1 -0
- package/dist/src/mcp/contacts.js +58 -0
- package/dist/src/mcp/contacts.js.map +1 -0
- package/dist/src/mcp/core-admin.js +1 -1
- package/dist/src/mcp/core-admin.js.map +1 -1
- package/dist/src/mcp/extensions.d.ts +4 -0
- package/dist/src/mcp/extensions.d.ts.map +1 -1
- package/dist/src/mcp/extensions.js +74 -12
- package/dist/src/mcp/extensions.js.map +1 -1
- package/dist/src/mcp/feedback.d.ts +20 -0
- package/dist/src/mcp/feedback.d.ts.map +1 -0
- package/dist/src/mcp/feedback.js +61 -0
- package/dist/src/mcp/feedback.js.map +1 -0
- package/dist/src/mcp/index.d.ts +1 -0
- package/dist/src/mcp/index.d.ts.map +1 -1
- package/dist/src/mcp/index.js +13 -0
- package/dist/src/mcp/index.js.map +1 -1
- package/dist/src/mcp/knowledge.d.ts +4 -0
- package/dist/src/mcp/knowledge.d.ts.map +1 -1
- package/dist/src/mcp/knowledge.js +39 -22
- package/dist/src/mcp/knowledge.js.map +1 -1
- package/dist/src/mcp/organisms-name-invites.d.ts +18 -0
- package/dist/src/mcp/organisms-name-invites.d.ts.map +1 -0
- package/dist/src/mcp/organisms-name-invites.js +143 -0
- package/dist/src/mcp/organisms-name-invites.js.map +1 -0
- package/dist/src/mcp/organisms.d.ts +3 -0
- package/dist/src/mcp/organisms.d.ts.map +1 -1
- package/dist/src/mcp/organisms.js +12 -86
- package/dist/src/mcp/organisms.js.map +1 -1
- package/dist/src/mcp/workflows.d.ts +2 -0
- package/dist/src/mcp/workflows.d.ts.map +1 -1
- package/dist/src/mcp/workflows.js +43 -3
- package/dist/src/mcp/workflows.js.map +1 -1
- package/dist/src/mcp/workspaces.d.ts +4 -0
- package/dist/src/mcp/workspaces.d.ts.map +1 -1
- package/dist/src/mcp/workspaces.js +15 -12
- package/dist/src/mcp/workspaces.js.map +1 -1
- package/dist/src/middleware/workspace-access.d.ts +3 -0
- package/dist/src/middleware/workspace-access.d.ts.map +1 -1
- package/dist/src/middleware/workspace-access.js +7 -3
- package/dist/src/middleware/workspace-access.js.map +1 -1
- package/dist/src/models/agent-onboarding-schemas.d.ts +2 -0
- package/dist/src/models/agent-onboarding-schemas.d.ts.map +1 -1
- package/dist/src/models/agent-onboarding-schemas.js +5 -0
- package/dist/src/models/agent-onboarding-schemas.js.map +1 -1
- package/dist/src/models/contribution-proof.d.ts +29 -0
- package/dist/src/models/contribution-proof.d.ts.map +1 -0
- package/dist/src/models/contribution-proof.js +23 -0
- package/dist/src/models/contribution-proof.js.map +1 -0
- package/dist/src/models/crew-def-schemas.d.ts +114 -0
- package/dist/src/models/crew-def-schemas.d.ts.map +1 -0
- package/dist/src/models/crew-def-schemas.js +140 -0
- package/dist/src/models/crew-def-schemas.js.map +1 -0
- package/dist/src/models/workflow-schemas.d.ts +69 -1
- package/dist/src/models/workflow-schemas.d.ts.map +1 -1
- package/dist/src/models/workflow-schemas.js +26 -0
- package/dist/src/models/workflow-schemas.js.map +1 -1
- package/dist/src/routes/access-tokens.d.ts +2 -0
- package/dist/src/routes/access-tokens.d.ts.map +1 -1
- package/dist/src/routes/access-tokens.js +15 -0
- package/dist/src/routes/access-tokens.js.map +1 -1
- package/dist/src/routes/admin-config.js +1 -1
- package/dist/src/routes/admin-config.js.map +1 -1
- package/dist/src/routes/admin-maintenance.d.ts +3 -0
- package/dist/src/routes/admin-maintenance.d.ts.map +1 -1
- package/dist/src/routes/admin-maintenance.js +20 -0
- package/dist/src/routes/admin-maintenance.js.map +1 -1
- package/dist/src/routes/admin-storage-stats.d.ts +17 -0
- package/dist/src/routes/admin-storage-stats.d.ts.map +1 -0
- package/dist/src/routes/admin-storage-stats.js +56 -0
- package/dist/src/routes/admin-storage-stats.js.map +1 -0
- package/dist/src/routes/admin.d.ts +1 -0
- package/dist/src/routes/admin.d.ts.map +1 -1
- package/dist/src/routes/admin.js +10 -12
- package/dist/src/routes/admin.js.map +1 -1
- package/dist/src/routes/agent-activity.d.ts +6 -0
- package/dist/src/routes/agent-activity.d.ts.map +1 -1
- package/dist/src/routes/agent-activity.js +57 -0
- package/dist/src/routes/agent-activity.js.map +1 -1
- package/dist/src/routes/agent-directives.d.ts.map +1 -1
- package/dist/src/routes/agent-directives.js +30 -0
- package/dist/src/routes/agent-directives.js.map +1 -1
- package/dist/src/routes/agent-messages.d.ts +2 -0
- package/dist/src/routes/agent-messages.d.ts.map +1 -1
- package/dist/src/routes/agent-messages.js +18 -0
- package/dist/src/routes/agent-messages.js.map +1 -1
- package/dist/src/routes/agent-onboarding.d.ts +16 -0
- package/dist/src/routes/agent-onboarding.d.ts.map +1 -1
- package/dist/src/routes/agent-onboarding.js +6 -1
- package/dist/src/routes/agent-onboarding.js.map +1 -1
- package/dist/src/routes/agent-webhook.d.ts +3 -0
- package/dist/src/routes/agent-webhook.d.ts.map +1 -1
- package/dist/src/routes/agent-webhook.js +28 -0
- package/dist/src/routes/agent-webhook.js.map +1 -1
- package/dist/src/routes/agents/device-auth.d.ts +6 -0
- package/dist/src/routes/agents/device-auth.d.ts.map +1 -1
- package/dist/src/routes/agents/device-auth.js +224 -137
- package/dist/src/routes/agents/device-auth.js.map +1 -1
- package/dist/src/routes/agents/offers.d.ts +4 -0
- package/dist/src/routes/agents/offers.d.ts.map +1 -1
- package/dist/src/routes/agents/offers.js +0 -0
- package/dist/src/routes/agents/offers.js.map +1 -1
- package/dist/src/routes/agents/profile-metadata.d.ts +3 -0
- package/dist/src/routes/agents/profile-metadata.d.ts.map +1 -1
- package/dist/src/routes/agents/profile-metadata.js +23 -10
- package/dist/src/routes/agents/profile-metadata.js.map +1 -1
- package/dist/src/routes/app-grants.d.ts.map +1 -1
- package/dist/src/routes/app-grants.js +2 -0
- package/dist/src/routes/app-grants.js.map +1 -1
- package/dist/src/routes/appdev-overview.d.ts +17 -0
- package/dist/src/routes/appdev-overview.d.ts.map +1 -0
- package/dist/src/routes/appdev-overview.js +75 -0
- package/dist/src/routes/appdev-overview.js.map +1 -0
- package/dist/src/routes/appdev-pitfalls.d.ts +20 -0
- package/dist/src/routes/appdev-pitfalls.d.ts.map +1 -0
- package/dist/src/routes/appdev-pitfalls.js +103 -0
- package/dist/src/routes/appdev-pitfalls.js.map +1 -0
- package/dist/src/routes/appeals.d.ts +1 -0
- package/dist/src/routes/appeals.d.ts.map +1 -1
- package/dist/src/routes/appeals.js +3 -1
- package/dist/src/routes/appeals.js.map +1 -1
- package/dist/src/routes/apps/agents-deploy.d.ts +24 -0
- package/dist/src/routes/apps/agents-deploy.d.ts.map +1 -0
- package/dist/src/routes/apps/agents-deploy.js +214 -0
- package/dist/src/routes/apps/agents-deploy.js.map +1 -0
- package/dist/src/routes/apps/catalogue-admin.d.ts +5 -0
- package/dist/src/routes/apps/catalogue-admin.d.ts.map +1 -1
- package/dist/src/routes/apps/catalogue-admin.js +34 -10
- package/dist/src/routes/apps/catalogue-admin.js.map +1 -1
- package/dist/src/routes/apps/drafts.d.ts +2 -0
- package/dist/src/routes/apps/drafts.d.ts.map +1 -1
- package/dist/src/routes/apps/drafts.js +4 -0
- package/dist/src/routes/apps/drafts.js.map +1 -1
- package/dist/src/routes/apps/fork-manage.d.ts +3 -1
- package/dist/src/routes/apps/fork-manage.d.ts.map +1 -1
- package/dist/src/routes/apps/fork-manage.js +26 -0
- package/dist/src/routes/apps/fork-manage.js.map +1 -1
- package/dist/src/routes/apps/publish.d.ts +5 -0
- package/dist/src/routes/apps/publish.d.ts.map +1 -1
- package/dist/src/routes/apps/publish.js +43 -1
- package/dist/src/routes/apps/publish.js.map +1 -1
- package/dist/src/routes/apps.d.ts +2 -0
- package/dist/src/routes/apps.d.ts.map +1 -1
- package/dist/src/routes/apps.js +4 -0
- package/dist/src/routes/apps.js.map +1 -1
- package/dist/src/routes/auth.d.ts +2 -0
- package/dist/src/routes/auth.d.ts.map +1 -1
- package/dist/src/routes/auth.js +11 -0
- package/dist/src/routes/auth.js.map +1 -1
- package/dist/src/routes/bootstrap.d.ts +5 -0
- package/dist/src/routes/bootstrap.d.ts.map +1 -1
- package/dist/src/routes/bootstrap.js +21 -14
- package/dist/src/routes/bootstrap.js.map +1 -1
- package/dist/src/routes/calibrator.d.ts +2 -0
- package/dist/src/routes/calibrator.d.ts.map +1 -1
- package/dist/src/routes/calibrator.js +43 -0
- package/dist/src/routes/calibrator.js.map +1 -1
- package/dist/src/routes/catalogue.d.ts +2 -0
- package/dist/src/routes/catalogue.d.ts.map +1 -1
- package/dist/src/routes/catalogue.js +20 -30
- package/dist/src/routes/catalogue.js.map +1 -1
- package/dist/src/routes/commerce.d.ts.map +1 -1
- package/dist/src/routes/commerce.js +18 -8
- package/dist/src/routes/commerce.js.map +1 -1
- package/dist/src/routes/consent.d.ts.map +1 -1
- package/dist/src/routes/consent.js +10 -0
- package/dist/src/routes/consent.js.map +1 -1
- package/dist/src/routes/contacts.d.ts +20 -0
- package/dist/src/routes/contacts.d.ts.map +1 -0
- package/dist/src/routes/contacts.js +86 -0
- package/dist/src/routes/contacts.js.map +1 -0
- package/dist/src/routes/ecosystem-apps.d.ts +2 -0
- package/dist/src/routes/ecosystem-apps.d.ts.map +1 -1
- package/dist/src/routes/ecosystem-apps.js +34 -0
- package/dist/src/routes/ecosystem-apps.js.map +1 -1
- package/dist/src/routes/extensions/actions.d.ts +3 -0
- package/dist/src/routes/extensions/actions.d.ts.map +1 -1
- package/dist/src/routes/extensions/actions.js +43 -6
- package/dist/src/routes/extensions/actions.js.map +1 -1
- package/dist/src/routes/extensions/manifest.d.ts +2 -0
- package/dist/src/routes/extensions/manifest.d.ts.map +1 -1
- package/dist/src/routes/extensions/manifest.js +68 -8
- package/dist/src/routes/extensions/manifest.js.map +1 -1
- package/dist/src/routes/extensions/paywall.d.ts +30 -0
- package/dist/src/routes/extensions/paywall.d.ts.map +1 -0
- package/dist/src/routes/extensions/paywall.js +107 -0
- package/dist/src/routes/extensions/paywall.js.map +1 -0
- package/dist/src/routes/federation-sync/messaging.d.ts.map +1 -1
- package/dist/src/routes/federation-sync/messaging.js +4 -0
- package/dist/src/routes/federation-sync/messaging.js.map +1 -1
- package/dist/src/routes/feedback.d.ts +23 -0
- package/dist/src/routes/feedback.d.ts.map +1 -0
- package/dist/src/routes/feedback.js +111 -0
- package/dist/src/routes/feedback.js.map +1 -0
- package/dist/src/routes/generator/projects.d.ts.map +1 -1
- package/dist/src/routes/generator/projects.js +18 -0
- package/dist/src/routes/generator/projects.js.map +1 -1
- package/dist/src/routes/generator/prompts.d.ts +14 -3
- package/dist/src/routes/generator/prompts.d.ts.map +1 -1
- package/dist/src/routes/generator/prompts.js +165 -90
- package/dist/src/routes/generator/prompts.js.map +1 -1
- package/dist/src/routes/generator.d.ts +2 -0
- package/dist/src/routes/generator.d.ts.map +1 -1
- package/dist/src/routes/generator.js +2 -0
- package/dist/src/routes/generator.js.map +1 -1
- package/dist/src/routes/ghii/profile.d.ts +2 -0
- package/dist/src/routes/ghii/profile.d.ts.map +1 -1
- package/dist/src/routes/ghii/profile.js +16 -11
- package/dist/src/routes/ghii/profile.js.map +1 -1
- package/dist/src/routes/knowledge/admin.d.ts +1 -0
- package/dist/src/routes/knowledge/admin.d.ts.map +1 -1
- package/dist/src/routes/knowledge/admin.js +30 -40
- package/dist/src/routes/knowledge/admin.js.map +1 -1
- package/dist/src/routes/knowledge/helpers.d.ts +1 -0
- package/dist/src/routes/knowledge/helpers.d.ts.map +1 -1
- package/dist/src/routes/knowledge/helpers.js +5 -1
- package/dist/src/routes/knowledge/helpers.js.map +1 -1
- package/dist/src/routes/knowledge/organism.d.ts +1 -0
- package/dist/src/routes/knowledge/organism.d.ts.map +1 -1
- package/dist/src/routes/knowledge/organism.js +7 -11
- package/dist/src/routes/knowledge/organism.js.map +1 -1
- package/dist/src/routes/knowledge/packages-core.d.ts +1 -0
- package/dist/src/routes/knowledge/packages-core.d.ts.map +1 -1
- package/dist/src/routes/knowledge/packages-core.js +6 -16
- package/dist/src/routes/knowledge/packages-core.js.map +1 -1
- package/dist/src/routes/knowledge/sharing.d.ts +1 -0
- package/dist/src/routes/knowledge/sharing.d.ts.map +1 -1
- package/dist/src/routes/knowledge/sharing.js +11 -31
- package/dist/src/routes/knowledge/sharing.js.map +1 -1
- package/dist/src/routes/knowledge.d.ts +2 -0
- package/dist/src/routes/knowledge.d.ts.map +1 -1
- package/dist/src/routes/knowledge.js +15 -0
- package/dist/src/routes/knowledge.js.map +1 -1
- package/dist/src/routes/ledger.d.ts +4 -0
- package/dist/src/routes/ledger.d.ts.map +1 -1
- package/dist/src/routes/ledger.js +93 -53
- package/dist/src/routes/ledger.js.map +1 -1
- package/dist/src/routes/lib-data.d.ts +2 -0
- package/dist/src/routes/lib-data.d.ts.map +1 -1
- package/dist/src/routes/lib-data.js +7 -4
- package/dist/src/routes/lib-data.js.map +1 -1
- package/dist/src/routes/lib-intake.d.ts +21 -0
- package/dist/src/routes/lib-intake.d.ts.map +1 -0
- package/dist/src/routes/lib-intake.js +63 -0
- package/dist/src/routes/lib-intake.js.map +1 -0
- package/dist/src/routes/lib-organism.d.ts +13 -0
- package/dist/src/routes/lib-organism.d.ts.map +1 -1
- package/dist/src/routes/lib-organism.js +80 -0
- package/dist/src/routes/lib-organism.js.map +1 -1
- package/dist/src/routes/lib-workflows.d.ts +24 -0
- package/dist/src/routes/lib-workflows.d.ts.map +1 -0
- package/dist/src/routes/lib-workflows.js +125 -0
- package/dist/src/routes/lib-workflows.js.map +1 -0
- package/dist/src/routes/library-packs.d.ts +31 -0
- package/dist/src/routes/library-packs.d.ts.map +1 -0
- package/dist/src/routes/library-packs.js +187 -0
- package/dist/src/routes/library-packs.js.map +1 -0
- package/dist/src/routes/libs/audio-lib-part2.d.ts +2 -0
- package/dist/src/routes/libs/audio-lib-part2.d.ts.map +1 -1
- package/dist/src/routes/libs/audio-lib-part2.js +4 -0
- package/dist/src/routes/libs/audio-lib-part2.js.map +1 -1
- package/dist/src/routes/libs/auth-lib-part2.d.ts +5 -0
- package/dist/src/routes/libs/auth-lib-part2.d.ts.map +1 -1
- package/dist/src/routes/libs/auth-lib-part2.js +118 -5
- package/dist/src/routes/libs/auth-lib-part2.js.map +1 -1
- package/dist/src/routes/libs.d.ts +10 -0
- package/dist/src/routes/libs.d.ts.map +1 -1
- package/dist/src/routes/libs.js +28 -149
- package/dist/src/routes/libs.js.map +1 -1
- package/dist/src/routes/living.d.ts +2 -0
- package/dist/src/routes/living.d.ts.map +1 -1
- package/dist/src/routes/living.js +12 -0
- package/dist/src/routes/living.js.map +1 -1
- package/dist/src/routes/matches.d.ts +3 -0
- package/dist/src/routes/matches.d.ts.map +1 -1
- package/dist/src/routes/matches.js +47 -51
- package/dist/src/routes/matches.js.map +1 -1
- package/dist/src/routes/memory/bulk.d.ts.map +1 -1
- package/dist/src/routes/memory/bulk.js +185 -70
- package/dist/src/routes/memory/bulk.js.map +1 -1
- package/dist/src/routes/memory/crud.d.ts +2 -0
- package/dist/src/routes/memory/crud.d.ts.map +1 -1
- package/dist/src/routes/memory/crud.js +70 -39
- package/dist/src/routes/memory/crud.js.map +1 -1
- package/dist/src/routes/memory/key.d.ts +2 -0
- package/dist/src/routes/memory/key.d.ts.map +1 -1
- package/dist/src/routes/memory/key.js +23 -4
- package/dist/src/routes/memory/key.js.map +1 -1
- package/dist/src/routes/memory/shared.d.ts +4 -0
- package/dist/src/routes/memory/shared.d.ts.map +1 -1
- package/dist/src/routes/memory/shared.js.map +1 -1
- package/dist/src/routes/memory.d.ts.map +1 -1
- package/dist/src/routes/memory.js +29 -1
- package/dist/src/routes/memory.js.map +1 -1
- package/dist/src/routes/messages.d.ts +6 -0
- package/dist/src/routes/messages.d.ts.map +1 -1
- package/dist/src/routes/messages.js +39 -26
- package/dist/src/routes/messages.js.map +1 -1
- package/dist/src/routes/notifications.d.ts +2 -0
- package/dist/src/routes/notifications.d.ts.map +1 -1
- package/dist/src/routes/notifications.js +21 -2
- package/dist/src/routes/notifications.js.map +1 -1
- 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 +80 -62
- 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 +82 -1
- package/dist/src/routes/organisms/gates.js.map +1 -1
- package/dist/src/routes/organisms/intake.d.ts +29 -0
- package/dist/src/routes/organisms/intake.d.ts.map +1 -0
- package/dist/src/routes/organisms/intake.js +251 -0
- package/dist/src/routes/organisms/intake.js.map +1 -0
- package/dist/src/routes/organisms/membership.d.ts +4 -1
- package/dist/src/routes/organisms/membership.d.ts.map +1 -1
- package/dist/src/routes/organisms/membership.js +103 -60
- package/dist/src/routes/organisms/membership.js.map +1 -1
- package/dist/src/routes/organisms/shared.d.ts +28 -0
- package/dist/src/routes/organisms/shared.d.ts.map +1 -1
- package/dist/src/routes/organisms/shared.js +339 -26
- package/dist/src/routes/organisms/shared.js.map +1 -1
- package/dist/src/routes/organisms/workspace-access.d.ts +16 -0
- package/dist/src/routes/organisms/workspace-access.d.ts.map +1 -1
- package/dist/src/routes/organisms/workspace-access.js +136 -52
- package/dist/src/routes/organisms/workspace-access.js.map +1 -1
- package/dist/src/routes/organisms/workspace-ops.d.ts +6 -0
- package/dist/src/routes/organisms/workspace-ops.d.ts.map +1 -1
- package/dist/src/routes/organisms/workspace-ops.js +224 -11
- package/dist/src/routes/organisms/workspace-ops.js.map +1 -1
- package/dist/src/routes/organisms/workspace-read.d.ts +4 -0
- package/dist/src/routes/organisms/workspace-read.d.ts.map +1 -1
- package/dist/src/routes/organisms/workspace-read.js +14 -6
- package/dist/src/routes/organisms/workspace-read.js.map +1 -1
- package/dist/src/routes/organisms.d.ts.map +1 -1
- package/dist/src/routes/organisms.js +2 -0
- package/dist/src/routes/organisms.js.map +1 -1
- package/dist/src/routes/owners.d.ts +2 -0
- package/dist/src/routes/owners.d.ts.map +1 -1
- package/dist/src/routes/owners.js +17 -7
- package/dist/src/routes/owners.js.map +1 -1
- package/dist/src/routes/packages.d.ts.map +1 -1
- package/dist/src/routes/packages.js +10 -0
- package/dist/src/routes/packages.js.map +1 -1
- package/dist/src/routes/portal.d.ts +1 -1
- package/dist/src/routes/portal.d.ts.map +1 -1
- package/dist/src/routes/portal.js +3 -7
- package/dist/src/routes/portal.js.map +1 -1
- package/dist/src/routes/portfolio.d.ts +2 -0
- package/dist/src/routes/portfolio.d.ts.map +1 -1
- package/dist/src/routes/portfolio.js +41 -31
- package/dist/src/routes/portfolio.js.map +1 -1
- package/dist/src/routes/prompts.d.ts.map +1 -1
- package/dist/src/routes/prompts.js +23 -0
- package/dist/src/routes/prompts.js.map +1 -1
- package/dist/src/routes/schedules.d.ts +7 -0
- package/dist/src/routes/schedules.d.ts.map +1 -1
- package/dist/src/routes/schedules.js +102 -39
- package/dist/src/routes/schedules.js.map +1 -1
- package/dist/src/routes/upload.d.ts +4 -0
- package/dist/src/routes/upload.d.ts.map +1 -1
- package/dist/src/routes/upload.js +21 -1
- package/dist/src/routes/upload.js.map +1 -1
- package/dist/src/routes/usage.d.ts +9 -5
- package/dist/src/routes/usage.d.ts.map +1 -1
- package/dist/src/routes/usage.js +26 -5
- package/dist/src/routes/usage.js.map +1 -1
- package/dist/src/routes/wallet.d.ts +3 -0
- package/dist/src/routes/wallet.d.ts.map +1 -1
- package/dist/src/routes/wallet.js +17 -1
- package/dist/src/routes/wallet.js.map +1 -1
- package/dist/src/routes/work.d.ts.map +1 -1
- package/dist/src/routes/work.js +14 -9
- package/dist/src/routes/work.js.map +1 -1
- package/dist/src/routes/workflows.d.ts +4 -0
- package/dist/src/routes/workflows.d.ts.map +1 -1
- package/dist/src/routes/workflows.js +58 -1
- package/dist/src/routes/workflows.js.map +1 -1
- package/dist/src/server-bootstrap/config-init.d.ts.map +1 -1
- package/dist/src/server-bootstrap/config-init.js +7 -6
- package/dist/src/server-bootstrap/config-init.js.map +1 -1
- package/dist/src/server-bootstrap/routes-loader.d.ts +1 -0
- package/dist/src/server-bootstrap/routes-loader.d.ts.map +1 -1
- package/dist/src/server-bootstrap/routes-loader.js +27 -7
- package/dist/src/server-bootstrap/routes-loader.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/app-agent-deploy.d.ts +26 -0
- package/dist/src/services/app-agent-deploy.d.ts.map +1 -0
- package/dist/src/services/app-agent-deploy.js +91 -0
- package/dist/src/services/app-agent-deploy.js.map +1 -0
- package/dist/src/services/app-template-proposals.d.ts +94 -0
- package/dist/src/services/app-template-proposals.d.ts.map +1 -0
- package/dist/src/services/app-template-proposals.js +114 -0
- package/dist/src/services/app-template-proposals.js.map +1 -0
- package/dist/src/services/appdev-flow-constants.d.ts +33 -0
- package/dist/src/services/appdev-flow-constants.d.ts.map +1 -0
- package/dist/src/services/appdev-flow-constants.js +43 -0
- package/dist/src/services/appdev-flow-constants.js.map +1 -0
- package/dist/src/services/appdev-flow-prompt.d.ts +15 -0
- package/dist/src/services/appdev-flow-prompt.d.ts.map +1 -0
- package/dist/src/services/appdev-flow-prompt.js +40 -0
- package/dist/src/services/appdev-flow-prompt.js.map +1 -0
- package/dist/src/services/appdev-kb.d.ts +71 -0
- package/dist/src/services/appdev-kb.d.ts.map +1 -0
- package/dist/src/services/appdev-kb.js +178 -0
- package/dist/src/services/appdev-kb.js.map +1 -0
- package/dist/src/services/appdev-overview.d.ts +28 -0
- package/dist/src/services/appdev-overview.d.ts.map +1 -0
- package/dist/src/services/appdev-overview.js +189 -0
- package/dist/src/services/appdev-overview.js.map +1 -0
- package/dist/src/services/build-app-prompt.d.ts +14 -0
- package/dist/src/services/build-app-prompt.d.ts.map +1 -1
- package/dist/src/services/build-app-prompt.js +62 -34
- package/dist/src/services/build-app-prompt.js.map +1 -1
- package/dist/src/services/config-schema.d.ts.map +1 -1
- package/dist/src/services/config-schema.js +1 -3
- package/dist/src/services/config-schema.js.map +1 -1
- package/dist/src/services/consent.d.ts.map +1 -1
- package/dist/src/services/consent.js +8 -3
- package/dist/src/services/consent.js.map +1 -1
- package/dist/src/services/contacts.d.ts +64 -0
- package/dist/src/services/contacts.d.ts.map +1 -0
- package/dist/src/services/contacts.js +133 -0
- package/dist/src/services/contacts.js.map +1 -0
- package/dist/src/services/core-jobs.d.ts +4 -0
- package/dist/src/services/core-jobs.d.ts.map +1 -1
- package/dist/src/services/core-jobs.js +23 -0
- package/dist/src/services/core-jobs.js.map +1 -1
- package/dist/src/services/dangling-refs.d.ts +2 -0
- package/dist/src/services/dangling-refs.d.ts.map +1 -1
- package/dist/src/services/dangling-refs.js +3 -2
- package/dist/src/services/dangling-refs.js.map +1 -1
- package/dist/src/services/db/access-tab-db-service.d.ts +49 -0
- package/dist/src/services/db/access-tab-db-service.d.ts.map +1 -0
- package/dist/src/services/db/access-tab-db-service.js +87 -0
- package/dist/src/services/db/access-tab-db-service.js.map +1 -0
- package/dist/src/services/db/agent-activity-overview-db-service.d.ts +62 -0
- package/dist/src/services/db/agent-activity-overview-db-service.d.ts.map +1 -0
- package/dist/src/services/db/agent-activity-overview-db-service.js +88 -0
- package/dist/src/services/db/agent-activity-overview-db-service.js.map +1 -0
- package/dist/src/services/db/agent-data-access-overview-db-service.d.ts +45 -0
- package/dist/src/services/db/agent-data-access-overview-db-service.d.ts.map +1 -0
- package/dist/src/services/db/agent-data-access-overview-db-service.js +42 -0
- package/dist/src/services/db/agent-data-access-overview-db-service.js.map +1 -0
- package/dist/src/services/db/agent-db-service.d.ts +58 -0
- package/dist/src/services/db/agent-db-service.d.ts.map +1 -0
- package/dist/src/services/db/agent-db-service.js +49 -0
- package/dist/src/services/db/agent-db-service.js.map +1 -0
- package/dist/src/services/db/agent-integration-overview-db-service.d.ts +44 -0
- package/dist/src/services/db/agent-integration-overview-db-service.d.ts.map +1 -0
- package/dist/src/services/db/agent-integration-overview-db-service.js +44 -0
- package/dist/src/services/db/agent-integration-overview-db-service.js.map +1 -0
- package/dist/src/services/db/agent-messages-overview-db-service.d.ts +40 -0
- package/dist/src/services/db/agent-messages-overview-db-service.d.ts.map +1 -0
- package/dist/src/services/db/agent-messages-overview-db-service.js +47 -0
- package/dist/src/services/db/agent-messages-overview-db-service.js.map +1 -0
- package/dist/src/services/db/agent-quality-overview-db-service.d.ts +43 -0
- package/dist/src/services/db/agent-quality-overview-db-service.d.ts.map +1 -0
- package/dist/src/services/db/agent-quality-overview-db-service.js +34 -0
- package/dist/src/services/db/agent-quality-overview-db-service.js.map +1 -0
- package/dist/src/services/db/calibrator-detail-db-service.d.ts +41 -0
- package/dist/src/services/db/calibrator-detail-db-service.d.ts.map +1 -0
- package/dist/src/services/db/calibrator-detail-db-service.js +61 -0
- package/dist/src/services/db/calibrator-detail-db-service.js.map +1 -0
- package/dist/src/services/db/data-wallet-db-service.d.ts +48 -0
- package/dist/src/services/db/data-wallet-db-service.d.ts.map +1 -0
- package/dist/src/services/db/data-wallet-db-service.js +74 -0
- package/dist/src/services/db/data-wallet-db-service.js.map +1 -0
- package/dist/src/services/db/generator-state-db-service.d.ts +48 -0
- package/dist/src/services/db/generator-state-db-service.d.ts.map +1 -0
- package/dist/src/services/db/generator-state-db-service.js +45 -0
- package/dist/src/services/db/generator-state-db-service.js.map +1 -0
- package/dist/src/services/db/home-dashboard-service.d.ts +65 -0
- package/dist/src/services/db/home-dashboard-service.d.ts.map +1 -0
- package/dist/src/services/db/home-dashboard-service.js +57 -0
- package/dist/src/services/db/home-dashboard-service.js.map +1 -0
- package/dist/src/services/db/index.d.ts +48 -0
- package/dist/src/services/db/index.d.ts.map +1 -0
- package/dist/src/services/db/index.js +40 -0
- package/dist/src/services/db/index.js.map +1 -0
- package/dist/src/services/db/knowledge-tab-db-service.d.ts +35 -0
- package/dist/src/services/db/knowledge-tab-db-service.d.ts.map +1 -0
- package/dist/src/services/db/knowledge-tab-db-service.js +37 -0
- package/dist/src/services/db/knowledge-tab-db-service.js.map +1 -0
- package/dist/src/services/db/living-docs-db-service.d.ts +43 -0
- package/dist/src/services/db/living-docs-db-service.d.ts.map +1 -0
- package/dist/src/services/db/living-docs-db-service.js +45 -0
- package/dist/src/services/db/living-docs-db-service.js.map +1 -0
- package/dist/src/services/db/memory-db-service.d.ts +122 -0
- package/dist/src/services/db/memory-db-service.d.ts.map +1 -0
- package/dist/src/services/db/memory-db-service.js +171 -0
- package/dist/src/services/db/memory-db-service.js.map +1 -0
- package/dist/src/services/db/memory-tab-db-service.d.ts +54 -0
- package/dist/src/services/db/memory-tab-db-service.d.ts.map +1 -0
- package/dist/src/services/db/memory-tab-db-service.js +94 -0
- package/dist/src/services/db/memory-tab-db-service.js.map +1 -0
- package/dist/src/services/db/messages-inbox-db-service.d.ts +47 -0
- package/dist/src/services/db/messages-inbox-db-service.d.ts.map +1 -0
- package/dist/src/services/db/messages-inbox-db-service.js +76 -0
- package/dist/src/services/db/messages-inbox-db-service.js.map +1 -0
- package/dist/src/services/db/messaging-db-service.d.ts +40 -0
- package/dist/src/services/db/messaging-db-service.d.ts.map +1 -0
- package/dist/src/services/db/messaging-db-service.js +55 -0
- package/dist/src/services/db/messaging-db-service.js.map +1 -0
- package/dist/src/services/db/notebook-db-service.d.ts +35 -0
- package/dist/src/services/db/notebook-db-service.d.ts.map +1 -0
- package/dist/src/services/db/notebook-db-service.js +44 -0
- package/dist/src/services/db/notebook-db-service.js.map +1 -0
- package/dist/src/services/db/owner-identity.d.ts +36 -0
- package/dist/src/services/db/owner-identity.d.ts.map +1 -0
- package/dist/src/services/db/owner-identity.js +27 -0
- package/dist/src/services/db/owner-identity.js.map +1 -0
- package/dist/src/services/db/packages-tab-db-service.d.ts +42 -0
- package/dist/src/services/db/packages-tab-db-service.d.ts.map +1 -0
- package/dist/src/services/db/packages-tab-db-service.js +33 -0
- package/dist/src/services/db/packages-tab-db-service.js.map +1 -0
- package/dist/src/services/db/security-tab-db-service.d.ts +47 -0
- package/dist/src/services/db/security-tab-db-service.d.ts.map +1 -0
- package/dist/src/services/db/security-tab-db-service.js +61 -0
- package/dist/src/services/db/security-tab-db-service.js.map +1 -0
- package/dist/src/services/db/wallet-tab-db-service.d.ts +47 -0
- package/dist/src/services/db/wallet-tab-db-service.d.ts.map +1 -0
- package/dist/src/services/db/wallet-tab-db-service.js +80 -0
- package/dist/src/services/db/wallet-tab-db-service.js.map +1 -0
- package/dist/src/services/db/work-tab-db-service.d.ts +32 -0
- package/dist/src/services/db/work-tab-db-service.d.ts.map +1 -0
- package/dist/src/services/db/work-tab-db-service.js +49 -0
- package/dist/src/services/db/work-tab-db-service.js.map +1 -0
- package/dist/src/services/directory.d.ts +1 -0
- package/dist/src/services/directory.d.ts.map +1 -1
- package/dist/src/services/directory.js +6 -2
- package/dist/src/services/directory.js.map +1 -1
- package/dist/src/services/discovery/setup.d.ts +3 -0
- package/dist/src/services/discovery/setup.d.ts.map +1 -1
- package/dist/src/services/discovery/setup.js +2 -0
- package/dist/src/services/discovery/setup.js.map +1 -1
- package/dist/src/services/discovery/sources/memory-source.d.ts +2 -0
- package/dist/src/services/discovery/sources/memory-source.d.ts.map +1 -1
- package/dist/src/services/discovery/sources/memory-source.js.map +1 -1
- package/dist/src/services/discovery/sources/templates-source.d.ts +20 -0
- package/dist/src/services/discovery/sources/templates-source.d.ts.map +1 -0
- package/dist/src/services/discovery/sources/templates-source.js +52 -0
- package/dist/src/services/discovery/sources/templates-source.js.map +1 -0
- package/dist/src/services/ext-pay-token.d.ts +29 -0
- package/dist/src/services/ext-pay-token.d.ts.map +1 -0
- package/dist/src/services/ext-pay-token.js +63 -0
- package/dist/src/services/ext-pay-token.js.map +1 -0
- package/dist/src/services/extension-runtime.d.ts.map +1 -1
- package/dist/src/services/extension-runtime.js +9 -2
- package/dist/src/services/extension-runtime.js.map +1 -1
- package/dist/src/services/feedback.d.ts +38 -0
- package/dist/src/services/feedback.d.ts.map +1 -0
- package/dist/src/services/feedback.js +118 -0
- package/dist/src/services/feedback.js.map +1 -0
- package/dist/src/services/generator-autopilot.d.ts.map +1 -1
- package/dist/src/services/generator-autopilot.js +12 -19
- package/dist/src/services/generator-autopilot.js.map +1 -1
- package/dist/src/services/generator-prompt-seeds/blueprint-prompts.d.ts.map +1 -1
- package/dist/src/services/generator-prompt-seeds/blueprint-prompts.js +28 -1
- package/dist/src/services/generator-prompt-seeds/blueprint-prompts.js.map +1 -1
- package/dist/src/services/generator-prompt-seeds/cortex-code.d.ts +5 -0
- package/dist/src/services/generator-prompt-seeds/cortex-code.d.ts.map +1 -1
- package/dist/src/services/generator-prompt-seeds/cortex-code.js +54 -3
- package/dist/src/services/generator-prompt-seeds/cortex-code.js.map +1 -1
- package/dist/src/services/generator-prompt-seeds/extension-prompts.d.ts.map +1 -1
- package/dist/src/services/generator-prompt-seeds/extension-prompts.js +106 -2
- package/dist/src/services/generator-prompt-seeds/extension-prompts.js.map +1 -1
- package/dist/src/services/generator-prompt-seeds/shared-fragments.js +1 -1
- package/dist/src/services/generator-prompts/resolvers-blueprint.d.ts.map +1 -1
- package/dist/src/services/generator-prompts/resolvers-blueprint.js +9 -0
- package/dist/src/services/generator-prompts/resolvers-blueprint.js.map +1 -1
- package/dist/src/services/generator-prompts/resolvers-cortex.d.ts.map +1 -1
- package/dist/src/services/generator-prompts/resolvers-cortex.js +4 -0
- package/dist/src/services/generator-prompts/resolvers-cortex.js.map +1 -1
- package/dist/src/services/generator-prompts/resolvers-fix.d.ts +4 -0
- package/dist/src/services/generator-prompts/resolvers-fix.d.ts.map +1 -1
- package/dist/src/services/generator-prompts/resolvers-fix.js +68 -0
- package/dist/src/services/generator-prompts/resolvers-fix.js.map +1 -1
- package/dist/src/services/generator-prompts/resolvers.d.ts.map +1 -1
- package/dist/src/services/generator-prompts/resolvers.js +5 -1
- package/dist/src/services/generator-prompts/resolvers.js.map +1 -1
- package/dist/src/services/generator-prompts/types.d.ts +9 -0
- package/dist/src/services/generator-prompts/types.d.ts.map +1 -1
- package/dist/src/services/handbooks/agent.d.ts +2 -1
- package/dist/src/services/handbooks/agent.d.ts.map +1 -1
- package/dist/src/services/handbooks/agent.js +8 -0
- package/dist/src/services/handbooks/agent.js.map +1 -1
- package/dist/src/services/handbooks/appdev.d.ts +2 -1
- package/dist/src/services/handbooks/appdev.d.ts.map +1 -1
- package/dist/src/services/handbooks/appdev.js +19 -0
- package/dist/src/services/handbooks/appdev.js.map +1 -1
- package/dist/src/services/invitations.d.ts +76 -1
- package/dist/src/services/invitations.d.ts.map +1 -1
- package/dist/src/services/invitations.js +295 -9
- 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 +2 -0
- package/dist/src/services/job-seeding.js.map +1 -1
- package/dist/src/services/living-author.js +1 -1
- package/dist/src/services/living-author.js.map +1 -1
- package/dist/src/services/llm-strip.d.ts +13 -0
- package/dist/src/services/llm-strip.d.ts.map +1 -0
- package/dist/src/services/llm-strip.js +60 -0
- package/dist/src/services/llm-strip.js.map +1 -0
- package/dist/src/services/manifest-schema.d.ts.map +1 -1
- package/dist/src/services/manifest-schema.js +1 -0
- package/dist/src/services/manifest-schema.js.map +1 -1
- package/dist/src/services/matching.d.ts +1 -0
- package/dist/src/services/matching.d.ts.map +1 -1
- package/dist/src/services/matching.js +28 -19
- package/dist/src/services/matching.js.map +1 -1
- package/dist/src/services/message-send.d.ts.map +1 -1
- package/dist/src/services/message-send.js +5 -0
- package/dist/src/services/message-send.js.map +1 -1
- package/dist/src/services/notebook-classify.js +1 -1
- package/dist/src/services/notebook-classify.js.map +1 -1
- package/dist/src/services/notebook-plan.js +1 -1
- package/dist/src/services/notebook-plan.js.map +1 -1
- package/dist/src/services/notify.d.ts +45 -0
- package/dist/src/services/notify.d.ts.map +1 -1
- package/dist/src/services/notify.js +21 -2
- package/dist/src/services/notify.js.map +1 -1
- package/dist/src/services/owner-memory.d.ts +9 -0
- package/dist/src/services/owner-memory.d.ts.map +1 -1
- package/dist/src/services/owner-memory.js +42 -18
- package/dist/src/services/owner-memory.js.map +1 -1
- package/dist/src/services/perf-trace.d.ts +43 -0
- package/dist/src/services/perf-trace.d.ts.map +1 -0
- package/dist/src/services/perf-trace.js +149 -0
- package/dist/src/services/perf-trace.js.map +1 -0
- package/dist/src/services/prompt-defaults.d.ts.map +1 -1
- package/dist/src/services/prompt-defaults.js +0 -5
- package/dist/src/services/prompt-defaults.js.map +1 -1
- package/dist/src/services/push.d.ts +5 -0
- package/dist/src/services/push.d.ts.map +1 -1
- package/dist/src/services/push.js.map +1 -1
- package/dist/src/services/quota.d.ts +3 -1
- package/dist/src/services/quota.d.ts.map +1 -1
- package/dist/src/services/quota.js +6 -9
- package/dist/src/services/quota.js.map +1 -1
- package/dist/src/services/structure-overview.d.ts +3 -0
- package/dist/src/services/structure-overview.d.ts.map +1 -1
- package/dist/src/services/structure-overview.js +3 -1
- package/dist/src/services/structure-overview.js.map +1 -1
- package/dist/src/services/structure-snapshot.d.ts.map +1 -1
- package/dist/src/services/structure-snapshot.js +24 -1
- package/dist/src/services/structure-snapshot.js.map +1 -1
- package/dist/src/services/tracked-classify.js +1 -1
- package/dist/src/services/tracked-classify.js.map +1 -1
- package/dist/src/services/usage-summary.d.ts +3 -0
- package/dist/src/services/usage-summary.d.ts.map +1 -1
- package/dist/src/services/usage-summary.js +31 -29
- package/dist/src/services/usage-summary.js.map +1 -1
- package/dist/src/services/workflow/engine-human.d.ts +33 -0
- package/dist/src/services/workflow/engine-human.d.ts.map +1 -0
- package/dist/src/services/workflow/engine-human.js +44 -0
- package/dist/src/services/workflow/engine-human.js.map +1 -0
- package/dist/src/services/workflow/engine-steps.d.ts +13 -0
- package/dist/src/services/workflow/engine-steps.d.ts.map +1 -1
- package/dist/src/services/workflow/engine-steps.js +33 -2
- package/dist/src/services/workflow/engine-steps.js.map +1 -1
- package/dist/src/services/workflow/engine.d.ts +20 -0
- package/dist/src/services/workflow/engine.d.ts.map +1 -1
- package/dist/src/services/workflow/engine.js +77 -3
- package/dist/src/services/workflow/engine.js.map +1 -1
- package/dist/src/services/workflow/store.d.ts +3 -0
- package/dist/src/services/workflow/store.d.ts.map +1 -1
- package/dist/src/services/workflow/store.js +29 -4
- package/dist/src/services/workflow/store.js.map +1 -1
- package/dist/src/services/workspace-access.d.ts +12 -0
- package/dist/src/services/workspace-access.d.ts.map +1 -1
- package/dist/src/services/workspace-access.js +24 -5
- package/dist/src/services/workspace-access.js.map +1 -1
- package/dist/src/services/workspace-provision.d.ts +51 -0
- package/dist/src/services/workspace-provision.d.ts.map +1 -0
- package/dist/src/services/workspace-provision.js +56 -0
- package/dist/src/services/workspace-provision.js.map +1 -0
- package/dist/src/services/workspace-versions.d.ts +110 -0
- package/dist/src/services/workspace-versions.d.ts.map +1 -0
- package/dist/src/services/workspace-versions.js +0 -0
- package/dist/src/services/workspace-versions.js.map +1 -0
- package/dist/src/storage/adapter/legacy-memory-adapter.d.ts +61 -0
- package/dist/src/storage/adapter/legacy-memory-adapter.d.ts.map +1 -0
- package/dist/src/storage/adapter/legacy-memory-adapter.js +135 -0
- package/dist/src/storage/adapter/legacy-memory-adapter.js.map +1 -0
- package/dist/src/storage/adapter/memory-adapter.d.ts +126 -0
- package/dist/src/storage/adapter/memory-adapter.d.ts.map +1 -0
- package/dist/src/storage/adapter/memory-adapter.js +2 -0
- package/dist/src/storage/adapter/memory-adapter.js.map +1 -0
- package/dist/src/storage/interface.d.ts +3 -1
- package/dist/src/storage/interface.d.ts.map +1 -1
- package/dist/src/storage/providers/mongodb/index.d.ts +28 -0
- package/dist/src/storage/providers/mongodb/index.d.ts.map +1 -1
- package/dist/src/storage/providers/mongodb/index.js +91 -1
- package/dist/src/storage/providers/mongodb/index.js.map +1 -1
- package/dist/src/storage/providers/mongodb/methods/apps.d.ts +9 -0
- package/dist/src/storage/providers/mongodb/methods/apps.d.ts.map +1 -1
- package/dist/src/storage/providers/mongodb/methods/apps.js +38 -0
- package/dist/src/storage/providers/mongodb/methods/apps.js.map +1 -1
- package/dist/src/storage/providers/mongodb/methods/governance.d.ts +5 -0
- package/dist/src/storage/providers/mongodb/methods/governance.d.ts.map +1 -1
- package/dist/src/storage/providers/mongodb/methods/governance.js +23 -2
- package/dist/src/storage/providers/mongodb/methods/governance.js.map +1 -1
- package/dist/src/storage/providers/mongodb/methods/identity.d.ts +6 -0
- package/dist/src/storage/providers/mongodb/methods/identity.d.ts.map +1 -1
- package/dist/src/storage/providers/mongodb/methods/identity.js +51 -9
- package/dist/src/storage/providers/mongodb/methods/identity.js.map +1 -1
- package/dist/src/storage/providers/mongodb/methods/owner-memory-scope.d.ts +34 -0
- package/dist/src/storage/providers/mongodb/methods/owner-memory-scope.d.ts.map +1 -0
- package/dist/src/storage/providers/mongodb/methods/owner-memory-scope.js +77 -0
- package/dist/src/storage/providers/mongodb/methods/owner-memory-scope.js.map +1 -0
- package/dist/src/storage/providers/mongodb/methods/owners-memory-bulk.d.ts +30 -0
- package/dist/src/storage/providers/mongodb/methods/owners-memory-bulk.d.ts.map +1 -0
- package/dist/src/storage/providers/mongodb/methods/owners-memory-bulk.js +0 -0
- package/dist/src/storage/providers/mongodb/methods/owners-memory-bulk.js.map +1 -0
- package/dist/src/storage/providers/mongodb/methods/owners.d.ts +8 -4
- package/dist/src/storage/providers/mongodb/methods/owners.d.ts.map +1 -1
- package/dist/src/storage/providers/mongodb/methods/owners.js +112 -21
- package/dist/src/storage/providers/mongodb/methods/owners.js.map +1 -1
- package/dist/src/storage/providers/mongodb/methods/sessions.d.ts.map +1 -1
- package/dist/src/storage/providers/mongodb/methods/sessions.js +4 -0
- package/dist/src/storage/providers/mongodb/methods/sessions.js.map +1 -1
- package/dist/src/storage/providers/mongodb/methods/storage-stats.d.ts +21 -0
- package/dist/src/storage/providers/mongodb/methods/storage-stats.d.ts.map +1 -0
- package/dist/src/storage/providers/mongodb/methods/storage-stats.js +58 -0
- package/dist/src/storage/providers/mongodb/methods/storage-stats.js.map +1 -0
- package/dist/src/storage/providers/mongodb/methods/work.d.ts +8 -0
- package/dist/src/storage/providers/mongodb/methods/work.d.ts.map +1 -1
- package/dist/src/storage/providers/mongodb/methods/work.js +42 -0
- package/dist/src/storage/providers/mongodb/methods/work.js.map +1 -1
- package/dist/src/storage/providers/postgres/index.d.ts +1 -0
- package/dist/src/storage/providers/postgres/index.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres/index.js +1 -0
- package/dist/src/storage/providers/postgres/index.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/db-types.d.ts +1538 -0
- package/dist/src/storage/providers/postgres-kysely/db-types.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/db-types.js +6 -0
- package/dist/src/storage/providers/postgres-kysely/db-types.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/helpers.d.ts +23 -0
- package/dist/src/storage/providers/postgres-kysely/helpers.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/helpers.js +91 -0
- package/dist/src/storage/providers/postgres-kysely/helpers.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/index.d.ts +38 -0
- package/dist/src/storage/providers/postgres-kysely/index.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/index.js +81 -0
- package/dist/src/storage/providers/postgres-kysely/index.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/actions.d.ts +16 -0
- package/dist/src/storage/providers/postgres-kysely/methods/actions.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/actions.js +103 -0
- package/dist/src/storage/providers/postgres-kysely/methods/actions.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-misc.d.ts +37 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-misc.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-misc.js +306 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-misc.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-msg-dispute-invite.d.ts +55 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-msg-dispute-invite.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-msg-dispute-invite.js +247 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-msg-dispute-invite.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-onboarding.d.ts +11 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-onboarding.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-onboarding.js +81 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-onboarding.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-tasks.d.ts +50 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-tasks.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-tasks.js +238 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-tasks.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-usage.d.ts +10 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-usage.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-usage.js +146 -0
- package/dist/src/storage/providers/postgres-kysely/methods/agent-usage.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/app-grants.d.ts +11 -0
- package/dist/src/storage/providers/postgres-kysely/methods/app-grants.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/app-grants.js +51 -0
- package/dist/src/storage/providers/postgres-kysely/methods/app-grants.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/app-purchases.d.ts +10 -0
- package/dist/src/storage/providers/postgres-kysely/methods/app-purchases.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/app-purchases.js +53 -0
- package/dist/src/storage/providers/postgres-kysely/methods/app-purchases.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/apps.d.ts +48 -0
- package/dist/src/storage/providers/postgres-kysely/methods/apps.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/apps.js +367 -0
- package/dist/src/storage/providers/postgres-kysely/methods/apps.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/boards.d.ts +28 -0
- package/dist/src/storage/providers/postgres-kysely/methods/boards.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/boards.js +104 -0
- package/dist/src/storage/providers/postgres-kysely/methods/boards.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/capabilities.d.ts +36 -0
- package/dist/src/storage/providers/postgres-kysely/methods/capabilities.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/capabilities.js +222 -0
- package/dist/src/storage/providers/postgres-kysely/methods/capabilities.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/catalogue.d.ts +19 -0
- package/dist/src/storage/providers/postgres-kysely/methods/catalogue.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/catalogue.js +96 -0
- package/dist/src/storage/providers/postgres-kysely/methods/catalogue.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/consent.d.ts +26 -0
- package/dist/src/storage/providers/postgres-kysely/methods/consent.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/consent.js +119 -0
- package/dist/src/storage/providers/postgres-kysely/methods/consent.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/device-auth.d.ts +13 -0
- package/dist/src/storage/providers/postgres-kysely/methods/device-auth.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/device-auth.js +68 -0
- package/dist/src/storage/providers/postgres-kysely/methods/device-auth.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/direct-message.d.ts +72 -0
- package/dist/src/storage/providers/postgres-kysely/methods/direct-message.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/direct-message.js +352 -0
- package/dist/src/storage/providers/postgres-kysely/methods/direct-message.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/ecosystem.d.ts +22 -0
- package/dist/src/storage/providers/postgres-kysely/methods/ecosystem.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/ecosystem.js +201 -0
- package/dist/src/storage/providers/postgres-kysely/methods/ecosystem.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/federation.d.ts +42 -0
- package/dist/src/storage/providers/postgres-kysely/methods/federation.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/federation.js +295 -0
- package/dist/src/storage/providers/postgres-kysely/methods/federation.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/feedback.d.ts +15 -0
- package/dist/src/storage/providers/postgres-kysely/methods/feedback.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/feedback.js +52 -0
- package/dist/src/storage/providers/postgres-kysely/methods/feedback.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/files.d.ts +20 -0
- package/dist/src/storage/providers/postgres-kysely/methods/files.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/files.js +108 -0
- package/dist/src/storage/providers/postgres-kysely/methods/files.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/identity-extras.d.ts +19 -0
- package/dist/src/storage/providers/postgres-kysely/methods/identity-extras.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/identity-extras.js +101 -0
- package/dist/src/storage/providers/postgres-kysely/methods/identity-extras.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/identity.d.ts +34 -0
- package/dist/src/storage/providers/postgres-kysely/methods/identity.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/identity.js +298 -0
- package/dist/src/storage/providers/postgres-kysely/methods/identity.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/knowledge.d.ts +21 -0
- package/dist/src/storage/providers/postgres-kysely/methods/knowledge.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/knowledge.js +65 -0
- package/dist/src/storage/providers/postgres-kysely/methods/knowledge.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/marketplace.d.ts +24 -0
- package/dist/src/storage/providers/postgres-kysely/methods/marketplace.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/marketplace.js +122 -0
- package/dist/src/storage/providers/postgres-kysely/methods/marketplace.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/memory.d.ts +81 -0
- package/dist/src/storage/providers/postgres-kysely/methods/memory.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/memory.js +342 -0
- package/dist/src/storage/providers/postgres-kysely/methods/memory.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/micro-memory.d.ts +15 -0
- package/dist/src/storage/providers/postgres-kysely/methods/micro-memory.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/micro-memory.js +55 -0
- package/dist/src/storage/providers/postgres-kysely/methods/micro-memory.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/moderation.d.ts +38 -0
- package/dist/src/storage/providers/postgres-kysely/methods/moderation.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/moderation.js +176 -0
- package/dist/src/storage/providers/postgres-kysely/methods/moderation.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/node-ext-escrow.d.ts +38 -0
- package/dist/src/storage/providers/postgres-kysely/methods/node-ext-escrow.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/node-ext-escrow.js +243 -0
- package/dist/src/storage/providers/postgres-kysely/methods/node-ext-escrow.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/node-infra.d.ts +30 -0
- package/dist/src/storage/providers/postgres-kysely/methods/node-infra.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/node-infra.js +158 -0
- package/dist/src/storage/providers/postgres-kysely/methods/node-infra.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/notifications.d.ts +19 -0
- package/dist/src/storage/providers/postgres-kysely/methods/notifications.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/notifications.js +106 -0
- package/dist/src/storage/providers/postgres-kysely/methods/notifications.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/oauth.d.ts +20 -0
- package/dist/src/storage/providers/postgres-kysely/methods/oauth.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/oauth.js +94 -0
- package/dist/src/storage/providers/postgres-kysely/methods/oauth.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/organisms.d.ts +46 -0
- package/dist/src/storage/providers/postgres-kysely/methods/organisms.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/organisms.js +247 -0
- package/dist/src/storage/providers/postgres-kysely/methods/organisms.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/otk.d.ts +10 -0
- package/dist/src/storage/providers/postgres-kysely/methods/otk.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/otk.js +60 -0
- package/dist/src/storage/providers/postgres-kysely/methods/otk.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/packages.d.ts +32 -0
- package/dist/src/storage/providers/postgres-kysely/methods/packages.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/packages.js +228 -0
- package/dist/src/storage/providers/postgres-kysely/methods/packages.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/pat.d.ts +10 -0
- package/dist/src/storage/providers/postgres-kysely/methods/pat.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/pat.js +36 -0
- package/dist/src/storage/providers/postgres-kysely/methods/pat.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/schedules.d.ts +32 -0
- package/dist/src/storage/providers/postgres-kysely/methods/schedules.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/schedules.js +131 -0
- package/dist/src/storage/providers/postgres-kysely/methods/schedules.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/schema.d.ts +10 -0
- package/dist/src/storage/providers/postgres-kysely/methods/schema.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/schema.js +88 -0
- package/dist/src/storage/providers/postgres-kysely/methods/schema.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/sessions.d.ts +38 -0
- package/dist/src/storage/providers/postgres-kysely/methods/sessions.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/sessions.js +66 -0
- package/dist/src/storage/providers/postgres-kysely/methods/sessions.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/subdomain-sites.d.ts +10 -0
- package/dist/src/storage/providers/postgres-kysely/methods/subdomain-sites.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/subdomain-sites.js +36 -0
- package/dist/src/storage/providers/postgres-kysely/methods/subdomain-sites.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/system-extras.d.ts +23 -0
- package/dist/src/storage/providers/postgres-kysely/methods/system-extras.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/system-extras.js +109 -0
- package/dist/src/storage/providers/postgres-kysely/methods/system-extras.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/system.d.ts +32 -0
- package/dist/src/storage/providers/postgres-kysely/methods/system.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/system.js +144 -0
- package/dist/src/storage/providers/postgres-kysely/methods/system.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/template-listings.d.ts +34 -0
- package/dist/src/storage/providers/postgres-kysely/methods/template-listings.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/template-listings.js +278 -0
- package/dist/src/storage/providers/postgres-kysely/methods/template-listings.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/wallet.d.ts +13 -0
- package/dist/src/storage/providers/postgres-kysely/methods/wallet.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/wallet.js +129 -0
- package/dist/src/storage/providers/postgres-kysely/methods/wallet.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/work.d.ts +14 -0
- package/dist/src/storage/providers/postgres-kysely/methods/work.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/work.js +80 -0
- package/dist/src/storage/providers/postgres-kysely/methods/work.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/migrate.d.ts +4 -0
- package/dist/src/storage/providers/postgres-kysely/migrate.d.ts.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/migrate.js +40 -0
- package/dist/src/storage/providers/postgres-kysely/migrate.js.map +1 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0001_base_schema.sql +2406 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0002_memory_fts.sql +20 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0003_id_defaults.sql +15 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0004_otk_initial.sql +4 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0005_storage_stats.sql +9 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0006_membership_invited_workspaces.sql +5 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0007_contacts_origin.sql +5 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0008_feedback.sql +21 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0009_invitation_return_url.sql +7 -0
- package/dist/src/storage/providers/postgres-kysely/migrations/0010_agent_model.sql +5 -0
- package/dist/src/storage/providers/sqlite/index.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/index.js +4 -1
- package/dist/src/storage/providers/sqlite/index.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/apps.d.ts +11 -1
- package/dist/src/storage/providers/sqlite/methods/apps.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/apps.js +40 -0
- package/dist/src/storage/providers/sqlite/methods/apps.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/capability-agents.d.ts +12 -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 +42 -0
- package/dist/src/storage/providers/sqlite/methods/capability-agents.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/community.d.ts +6 -0
- package/dist/src/storage/providers/sqlite/methods/community.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/community.js +29 -3
- package/dist/src/storage/providers/sqlite/methods/community.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/extensions-notify.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/extensions-notify.js +11 -2
- package/dist/src/storage/providers/sqlite/methods/extensions-notify.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/feedback.d.ts +23 -0
- package/dist/src/storage/providers/sqlite/methods/feedback.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/feedback.js +64 -0
- package/dist/src/storage/providers/sqlite/methods/feedback.js.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/governance.d.ts +5 -0
- package/dist/src/storage/providers/sqlite/methods/governance.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/governance.js +43 -9
- package/dist/src/storage/providers/sqlite/methods/governance.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/identity-nodes.d.ts +8 -0
- package/dist/src/storage/providers/sqlite/methods/identity-nodes.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/identity-nodes.js +48 -0
- package/dist/src/storage/providers/sqlite/methods/identity-nodes.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/messaging.d.ts +15 -1
- package/dist/src/storage/providers/sqlite/methods/messaging.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/messaging.js +11 -2
- package/dist/src/storage/providers/sqlite/methods/messaging.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/owner-memory-bulk.d.ts +28 -0
- package/dist/src/storage/providers/sqlite/methods/owner-memory-bulk.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/owner-memory-bulk.js +101 -0
- package/dist/src/storage/providers/sqlite/methods/owner-memory-bulk.js.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/owner-memory-scope.d.ts +35 -0
- package/dist/src/storage/providers/sqlite/methods/owner-memory-scope.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/owner-memory-scope.js +118 -0
- package/dist/src/storage/providers/sqlite/methods/owner-memory-scope.js.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/owner.d.ts +6 -0
- package/dist/src/storage/providers/sqlite/methods/owner.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/owner.js +41 -9
- package/dist/src/storage/providers/sqlite/methods/owner.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/work.d.ts +8 -0
- package/dist/src/storage/providers/sqlite/methods/work.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/work.js +31 -0
- package/dist/src/storage/providers/sqlite/methods/work.js.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/action.d.ts +3 -0
- package/dist/src/storage/providers/sqlite/repos/action.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/action.js +9 -0
- package/dist/src/storage/providers/sqlite/repos/action.js.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/agent.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/agent.js +8 -4
- package/dist/src/storage/providers/sqlite/repos/agent.js.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/community.d.ts +1 -0
- package/dist/src/storage/providers/sqlite/repos/community.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/community.js +9 -3
- package/dist/src/storage/providers/sqlite/repos/community.js.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/direct-message.d.ts +13 -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 +70 -5
- package/dist/src/storage/providers/sqlite/repos/direct-message.js.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/memory.d.ts +7 -0
- package/dist/src/storage/providers/sqlite/repos/memory.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/memory.js +24 -3
- package/dist/src/storage/providers/sqlite/repos/memory.js.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/storage-file.d.ts +12 -0
- package/dist/src/storage/providers/sqlite/repos/storage-file.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/storage-file.js +24 -0
- package/dist/src/storage/providers/sqlite/repos/storage-file.js.map +1 -1
- package/dist/src/storage/providers/sqlite/schema-tables-1.d.ts +1 -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 +18 -1
- package/dist/src/storage/providers/sqlite/schema-tables-1.js.map +1 -1
- package/dist/src/storage/providers/sqlite/schema-tables-2.d.ts +1 -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 +4 -1
- package/dist/src/storage/providers/sqlite/schema-tables-2.js.map +1 -1
- package/dist/src/storage/providers/sqlite/schema-tables-3.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/schema-tables-3.js +11 -1
- package/dist/src/storage/providers/sqlite/schema-tables-3.js.map +1 -1
- package/dist/src/storage/providers/sqlite/schema.d.ts +0 -1
- package/dist/src/storage/providers/sqlite/schema.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/schema.js +24 -0
- package/dist/src/storage/providers/sqlite/schema.js.map +1 -1
- package/dist/src/storage/repositories/action.repository.d.ts +2 -0
- package/dist/src/storage/repositories/action.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/agent.repository.d.ts +3 -0
- package/dist/src/storage/repositories/agent.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/app.repository.d.ts +0 -0
- package/dist/src/storage/repositories/app.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/consent.repository.d.ts +10 -0
- package/dist/src/storage/repositories/consent.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/direct-message.repository.d.ts +36 -11
- package/dist/src/storage/repositories/direct-message.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/direct-message.repository.js +2 -0
- package/dist/src/storage/repositories/direct-message.repository.js.map +1 -1
- package/dist/src/storage/repositories/feedback.repository.d.ts +28 -0
- package/dist/src/storage/repositories/feedback.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/feedback.repository.js +13 -0
- package/dist/src/storage/repositories/feedback.repository.js.map +1 -0
- package/dist/src/storage/repositories/file.repository.d.ts +11 -0
- package/dist/src/storage/repositories/file.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/identity.repository.d.ts +7 -0
- package/dist/src/storage/repositories/identity.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/index.d.ts +1 -0
- package/dist/src/storage/repositories/index.d.ts.map +1 -1
- package/dist/src/storage/repositories/invitation.repository.d.ts +3 -0
- package/dist/src/storage/repositories/invitation.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/invitation.repository.js +2 -0
- package/dist/src/storage/repositories/invitation.repository.js.map +1 -1
- package/dist/src/storage/repositories/memory.repository.d.ts +133 -1
- package/dist/src/storage/repositories/memory.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/micro-memory.repository.d.ts +6 -0
- package/dist/src/storage/repositories/micro-memory.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/organism.repository.d.ts +10 -0
- package/dist/src/storage/repositories/organism.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/stats.repository.d.ts +31 -2
- package/dist/src/storage/repositories/stats.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/stats.repository.js +5 -2
- package/dist/src/storage/repositories/stats.repository.js.map +1 -1
- package/dist/src/storage/repositories/work.repository.d.ts +7 -0
- package/dist/src/storage/repositories/work.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories-impl/memory-repository.d.ts +78 -0
- package/dist/src/storage/repositories-impl/memory-repository.d.ts.map +1 -0
- package/dist/src/storage/repositories-impl/memory-repository.js +121 -0
- package/dist/src/storage/repositories-impl/memory-repository.js.map +1 -0
- package/dist/src/storage/schema-lock-cache.d.ts +24 -0
- package/dist/src/storage/schema-lock-cache.d.ts.map +1 -0
- package/dist/src/storage/schema-lock-cache.js +19 -0
- package/dist/src/storage/schema-lock-cache.js.map +1 -0
- package/dist/src/storage/storage-factory.d.ts +6 -3
- package/dist/src/storage/storage-factory.d.ts.map +1 -1
- package/dist/src/storage/storage-factory.js +19 -12
- package/dist/src/storage/storage-factory.js.map +1 -1
- package/dist/src/storage/types/agents-messaging.d.ts +33 -0
- package/dist/src/storage/types/agents-messaging.d.ts.map +1 -1
- package/dist/src/storage/types/agents-messaging.js +3 -0
- package/dist/src/storage/types/agents-messaging.js.map +1 -1
- package/dist/src/storage/types/apps.d.ts +13 -0
- package/dist/src/storage/types/apps.d.ts.map +1 -1
- package/dist/src/storage/types/identity.d.ts +8 -0
- package/dist/src/storage/types/identity.d.ts.map +1 -1
- package/dist/src/storage/types/organisms-federation.d.ts +27 -0
- package/dist/src/storage/types/organisms-federation.d.ts.map +1 -1
- package/dist/src/storage/uow/batch-loader.d.ts +44 -0
- package/dist/src/storage/uow/batch-loader.d.ts.map +1 -0
- package/dist/src/storage/uow/batch-loader.js +101 -0
- package/dist/src/storage/uow/batch-loader.js.map +1 -0
- package/dist/src/storage/uow/identity-map.d.ts +0 -0
- package/dist/src/storage/uow/identity-map.d.ts.map +1 -0
- package/dist/src/storage/uow/identity-map.js +0 -0
- package/dist/src/storage/uow/identity-map.js.map +1 -0
- package/dist/src/storage/uow/unit-of-work.d.ts +42 -0
- package/dist/src/storage/uow/unit-of-work.d.ts.map +1 -0
- package/dist/src/storage/uow/unit-of-work.js +89 -0
- package/dist/src/storage/uow/unit-of-work.js.map +1 -0
- package/dist/src/utils/app-badge.d.ts +7 -22
- package/dist/src/utils/app-badge.d.ts.map +1 -1
- package/dist/src/utils/app-badge.js +59 -22
- package/dist/src/utils/app-badge.js.map +1 -1
- package/dist/src/utils/app-protect.d.ts +2 -0
- package/dist/src/utils/app-protect.d.ts.map +1 -1
- package/dist/src/utils/app-protect.js +3 -9
- package/dist/src/utils/app-protect.js.map +1 -1
- package/dist/src/utils/env-config/sections-node.js +4 -4
- package/dist/src/utils/env-config/sections-node.js.map +1 -1
- package/dist/src/utils/env-config/sections-platform.d.ts.map +1 -1
- package/dist/src/utils/env-config/sections-platform.js +0 -11
- package/dist/src/utils/env-config/sections-platform.js.map +1 -1
- package/dist/src/utils/env-validator.d.ts.map +1 -1
- package/dist/src/utils/env-validator.js +10 -6
- package/dist/src/utils/env-validator.js.map +1 -1
- package/dist/src/utils/html-inject.d.ts +23 -0
- package/dist/src/utils/html-inject.d.ts.map +1 -0
- package/dist/src/utils/html-inject.js +42 -0
- package/dist/src/utils/html-inject.js.map +1 -0
- package/dist/src/utils/node-descriptor.d.ts.map +1 -1
- package/dist/src/utils/node-descriptor.js +0 -1
- package/dist/src/utils/node-descriptor.js.map +1 -1
- package/dist/static/app-catalog/_template.html +15 -0
- package/dist/static/app-catalog/js/app-agents.js +232 -0
- package/dist/static/app-catalog/js/cortex.js +114 -0
- package/dist/static/app-catalog/js/detail.js +39 -1
- package/dist/static/app-catalog/js/i18n-data.js +82 -4
- package/dist/static/app-catalog/js/main.js +7 -1
- package/dist/static/app-catalog/js/render.js +30 -11
- package/dist/static/app-catalog/js/server-io.js +10 -1
- package/dist/static/app-catalog/styles/app-catalog.css +96 -9
- package/dist/static/app-catalog.html +542 -32
- package/package.json +19 -20
- package/prisma/schema.postgres.prisma +0 -1789
- package/prisma/schema.prisma +0 -1787
package/prisma/schema.prisma
DELETED
|
@@ -1,1787 +0,0 @@
|
|
|
1
|
-
// This is your Prisma schema file for MongoDB.
|
|
2
|
-
// Learn more: https://pris.ly/d/prisma-schema
|
|
3
|
-
//
|
|
4
|
-
// MIRROR NOTE: this is the source of truth for BOTH backends. The PostgreSQL
|
|
5
|
-
// schema (prisma/schema.postgres.prisma) is derived from this file — after any
|
|
6
|
-
// model/field change here, regenerate it: `node scripts/gen-postgres-schema.mjs`.
|
|
7
|
-
|
|
8
|
-
generator client {
|
|
9
|
-
provider = "prisma-client-js"
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
datasource db {
|
|
13
|
-
provider = "mongodb"
|
|
14
|
-
url = env("DATABASE_URL")
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
model Owner {
|
|
18
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
19
|
-
name String @unique
|
|
20
|
-
displayName String?
|
|
21
|
-
publicKey String
|
|
22
|
-
roles String[]
|
|
23
|
-
createdAt DateTime @default(now())
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
model Agent {
|
|
27
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
28
|
-
name String
|
|
29
|
-
owner String
|
|
30
|
-
gaii String @unique
|
|
31
|
-
displayName String?
|
|
32
|
-
description String?
|
|
33
|
-
capabilities String[]
|
|
34
|
-
publicKey String
|
|
35
|
-
trustScore Int @default(50)
|
|
36
|
-
morselBalance Int @default(0)
|
|
37
|
-
dailySpendLimit Int?
|
|
38
|
-
allowedOrigins String[]
|
|
39
|
-
defaultScopes String[]
|
|
40
|
-
federate Boolean @default(false)
|
|
41
|
-
technicalCapabilities Json?
|
|
42
|
-
domainCapabilities Json?
|
|
43
|
-
activityStats Json?
|
|
44
|
-
modulesLoaded Json?
|
|
45
|
-
agentLimitations Json?
|
|
46
|
-
languages Json?
|
|
47
|
-
webhookUrl String?
|
|
48
|
-
webhookSecret String?
|
|
49
|
-
webhookEnabled Boolean @default(false)
|
|
50
|
-
webhookLastSuccess DateTime?
|
|
51
|
-
webhookLastFailure DateTime?
|
|
52
|
-
webhookFailCount Int @default(0)
|
|
53
|
-
platform String?
|
|
54
|
-
platformVersion String?
|
|
55
|
-
mode String?
|
|
56
|
-
maxConcurrentTasks Int @default(1)
|
|
57
|
-
scheduleConstraintDefaults Json?
|
|
58
|
-
platformDetectedBy String?
|
|
59
|
-
tags String[]
|
|
60
|
-
createdAt DateTime @default(now())
|
|
61
|
-
lastSeen DateTime @default(now())
|
|
62
|
-
|
|
63
|
-
@@index([owner])
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
model Memory {
|
|
67
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
68
|
-
key String
|
|
69
|
-
ownerGaii String
|
|
70
|
-
value Json?
|
|
71
|
-
visibility String @default("private")
|
|
72
|
-
tags String[]
|
|
73
|
-
ttlHours Float?
|
|
74
|
-
version Int @default(1)
|
|
75
|
-
flagCount Int @default(0)
|
|
76
|
-
allowedOrigins String[]
|
|
77
|
-
groupId String?
|
|
78
|
-
// Workspace-scoped visibility tier: "<org>/<ws>" whose members may read this record when
|
|
79
|
-
// visibility === 'workspace'. Gated by the shared authorizeRead()/canReadWorkspace() core.
|
|
80
|
-
workspaceRef String?
|
|
81
|
-
// Flattened searchable text (key + string leaves of value + tags), maintained on every write.
|
|
82
|
-
// Tier-1 librarian full-text search queries this with a per-token `contains` (substring/regex)
|
|
83
|
-
// scan — there is NO MongoDB `$text` index on it (none is created at startup). SQLite indexes the
|
|
84
|
-
// value directly via FTS5, so this field is MongoDB/Postgres-only. A real `$text` (or Atlas
|
|
85
|
-
// Search) index is a possible future scalability upgrade. See design-organism-notebook-and-librarian.md §4.
|
|
86
|
-
searchBlob String?
|
|
87
|
-
// Opt-in version tracking: when true, the previous value is archived to MemoryVersion on overwrite
|
|
88
|
-
// (latest stays here, history queried on demand). Default false → no change for existing keys.
|
|
89
|
-
trackable Boolean @default(false)
|
|
90
|
-
// Organism archive — read-only soft-archive flag. Archived rows are excluded from the bulk read/
|
|
91
|
-
// search primitives by default (drop out of AI materials) yet stay resolvable by key. archivedRoot
|
|
92
|
-
// records WHICH container's archival flagged the row, so unarchiving it restores only its cascade.
|
|
93
|
-
archived Boolean @default(false)
|
|
94
|
-
archivedAt DateTime?
|
|
95
|
-
archivedBy String?
|
|
96
|
-
archivedRoot String?
|
|
97
|
-
createdAt DateTime @default(now())
|
|
98
|
-
updatedAt DateTime @updatedAt
|
|
99
|
-
|
|
100
|
-
@@unique([ownerGaii, key])
|
|
101
|
-
@@index([ownerGaii])
|
|
102
|
-
@@index([archived, key])
|
|
103
|
-
@@index([archivedRoot])
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Archived prior versions of TRACKABLE memory keys. Append-only; the latest value always lives in
|
|
107
|
-
// Memory. Keeps the Memory collection light while history is queried on demand (organism timeline).
|
|
108
|
-
model MemoryVersion {
|
|
109
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
110
|
-
ownerGaii String
|
|
111
|
-
key String
|
|
112
|
-
version Int
|
|
113
|
-
value Json?
|
|
114
|
-
actor String?
|
|
115
|
-
event String?
|
|
116
|
-
recordedAt DateTime @default(now())
|
|
117
|
-
|
|
118
|
-
@@unique([ownerGaii, key, version])
|
|
119
|
-
@@index([ownerGaii, key])
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
model Action {
|
|
123
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
124
|
-
actionId String
|
|
125
|
-
providerGaii String
|
|
126
|
-
displayName String
|
|
127
|
-
description String
|
|
128
|
-
category String?
|
|
129
|
-
inputSchema Json
|
|
130
|
-
outputSchema Json
|
|
131
|
-
pricingBaseMorsels Int
|
|
132
|
-
pricingPerUnit Json?
|
|
133
|
-
estimatedTimeSeconds Int?
|
|
134
|
-
maxInputSizeBytes Int?
|
|
135
|
-
tags String[]
|
|
136
|
-
webhookUrl String?
|
|
137
|
-
semantic Json?
|
|
138
|
-
federate Boolean @default(false)
|
|
139
|
-
createdAt DateTime @default(now())
|
|
140
|
-
updatedAt DateTime @updatedAt
|
|
141
|
-
|
|
142
|
-
@@unique([actionId, providerGaii])
|
|
143
|
-
@@index([providerGaii])
|
|
144
|
-
@@index([category])
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
model Work {
|
|
148
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
149
|
-
trackingCode String @unique
|
|
150
|
-
status String
|
|
151
|
-
actionId String
|
|
152
|
-
providerGaii String
|
|
153
|
-
requesterGaii String
|
|
154
|
-
input Json
|
|
155
|
-
output Json?
|
|
156
|
-
costBasePrice Int
|
|
157
|
-
costNetworkFee Int
|
|
158
|
-
costTotal Int
|
|
159
|
-
costInEscrow Int
|
|
160
|
-
ttlExpiresAt DateTime
|
|
161
|
-
callbackUrl String?
|
|
162
|
-
ratingScore Int?
|
|
163
|
-
ratingComment String?
|
|
164
|
-
createdAt DateTime @default(now())
|
|
165
|
-
updatedAt DateTime @updatedAt
|
|
166
|
-
|
|
167
|
-
@@index([providerGaii, status])
|
|
168
|
-
@@index([requesterGaii])
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
model Transaction {
|
|
172
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
173
|
-
txId String
|
|
174
|
-
gaii String
|
|
175
|
-
type String
|
|
176
|
-
amount Int
|
|
177
|
-
counterpartyGaii String?
|
|
178
|
-
trackingCode String?
|
|
179
|
-
timestamp DateTime @default(now())
|
|
180
|
-
|
|
181
|
-
@@index([gaii])
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
model Board {
|
|
185
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
186
|
-
boardId String @unique
|
|
187
|
-
name String
|
|
188
|
-
description String?
|
|
189
|
-
visibility String
|
|
190
|
-
ownerGaii String
|
|
191
|
-
allowedGaiis String[]
|
|
192
|
-
federate Boolean @default(false)
|
|
193
|
-
createdAt DateTime @default(now())
|
|
194
|
-
|
|
195
|
-
@@index([ownerGaii])
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
model BoardPost {
|
|
199
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
200
|
-
postId String @unique
|
|
201
|
-
boardId String
|
|
202
|
-
authorGaii String
|
|
203
|
-
title String
|
|
204
|
-
body String
|
|
205
|
-
category String?
|
|
206
|
-
tags String[]
|
|
207
|
-
ttlExpiresAt DateTime?
|
|
208
|
-
reactions Json @default("{}")
|
|
209
|
-
replyTo String?
|
|
210
|
-
createdAt DateTime @default(now())
|
|
211
|
-
|
|
212
|
-
@@index([boardId])
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
model Otk {
|
|
216
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
217
|
-
key String @unique
|
|
218
|
-
ownerGaii String
|
|
219
|
-
action String
|
|
220
|
-
params Json
|
|
221
|
-
expiresAt DateTime
|
|
222
|
-
used Boolean @default(false)
|
|
223
|
-
usedAt DateTime?
|
|
224
|
-
sessionId String?
|
|
225
|
-
createdAt DateTime @default(now())
|
|
226
|
-
|
|
227
|
-
@@index([expiresAt])
|
|
228
|
-
@@index([sessionId])
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
model Dispute {
|
|
232
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
233
|
-
disputeId String @unique
|
|
234
|
-
trackingCode String
|
|
235
|
-
status String
|
|
236
|
-
openedBy String
|
|
237
|
-
reason String
|
|
238
|
-
ruling Json?
|
|
239
|
-
createdAt DateTime @default(now())
|
|
240
|
-
updatedAt DateTime @updatedAt
|
|
241
|
-
|
|
242
|
-
@@index([trackingCode])
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
model DisputeAudit {
|
|
246
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
247
|
-
disputeId String
|
|
248
|
-
sequence Int
|
|
249
|
-
event String
|
|
250
|
-
actor String
|
|
251
|
-
timestamp DateTime
|
|
252
|
-
data Json
|
|
253
|
-
hash String
|
|
254
|
-
previousHash String
|
|
255
|
-
|
|
256
|
-
@@index([disputeId])
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
model MicroMemory {
|
|
260
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
261
|
-
gaii String
|
|
262
|
-
setName String
|
|
263
|
-
entries Json
|
|
264
|
-
visibility String
|
|
265
|
-
accessCode String?
|
|
266
|
-
updatedAt DateTime @updatedAt
|
|
267
|
-
|
|
268
|
-
@@unique([gaii, setName])
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
model StorageFile {
|
|
272
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
273
|
-
key String
|
|
274
|
-
ownerGaii String
|
|
275
|
-
visibility String
|
|
276
|
-
mimeType String
|
|
277
|
-
size Int
|
|
278
|
-
data Bytes
|
|
279
|
-
tags String[] @default([])
|
|
280
|
-
federate Boolean @default(false)
|
|
281
|
-
groupId String?
|
|
282
|
-
// Workspace-scoped visibility tier (parity with Memory): "<org>/<ws>" whose members may read this
|
|
283
|
-
// file when visibility === 'workspace'. Gated by the shared authorizeRead()/canReadWorkspace() core.
|
|
284
|
-
workspaceRef String?
|
|
285
|
-
createdAt DateTime @default(now())
|
|
286
|
-
|
|
287
|
-
@@unique([ownerGaii, key])
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
model PeeringRequest {
|
|
291
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
292
|
-
requestId String @unique
|
|
293
|
-
fromNodeUrl String
|
|
294
|
-
fromNodeId String?
|
|
295
|
-
toNodeId String?
|
|
296
|
-
targetUrl String?
|
|
297
|
-
publicKey String?
|
|
298
|
-
message String?
|
|
299
|
-
status String @default("pending")
|
|
300
|
-
createdAt DateTime @default(now())
|
|
301
|
-
updatedAt DateTime @updatedAt
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
model NodeKey {
|
|
305
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
306
|
-
publicKey String
|
|
307
|
-
privateKey String
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
model SystemSetting {
|
|
311
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
312
|
-
key String @unique
|
|
313
|
-
value String
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
model RealtimeRoom {
|
|
317
|
-
id String @id @map("_id")
|
|
318
|
-
appType String
|
|
319
|
-
name String
|
|
320
|
-
createdBy String
|
|
321
|
-
maxPeers Int
|
|
322
|
-
isPublic Boolean @default(true)
|
|
323
|
-
tags String[]
|
|
324
|
-
peerCount Int @default(0)
|
|
325
|
-
createdAt DateTime @default(now())
|
|
326
|
-
lastActivityAt DateTime @default(now())
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
model SiteChangeLog {
|
|
330
|
-
id String @id @map("_id")
|
|
331
|
-
action String
|
|
332
|
-
summary String
|
|
333
|
-
changedBy String
|
|
334
|
-
changedAt DateTime @default(now())
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
model Ghii {
|
|
338
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
339
|
-
username String
|
|
340
|
-
nodeId String
|
|
341
|
-
ghii String @unique
|
|
342
|
-
displayName String
|
|
343
|
-
bio String?
|
|
344
|
-
avatar String?
|
|
345
|
-
locale String?
|
|
346
|
-
passwordHash String?
|
|
347
|
-
verificationLevel Int @default(0)
|
|
348
|
-
ownerName String
|
|
349
|
-
totpSecret String?
|
|
350
|
-
totpEnabled Boolean @default(false)
|
|
351
|
-
totpBackupCodes String[]
|
|
352
|
-
totpLastUsedAt String?
|
|
353
|
-
totpLastUsedCode String?
|
|
354
|
-
totpFailedAttempts Int @default(0)
|
|
355
|
-
totpLockedUntil String?
|
|
356
|
-
emailHash String?
|
|
357
|
-
emailVerifiedAt String?
|
|
358
|
-
notificationEmail String?
|
|
359
|
-
verificationMethod String?
|
|
360
|
-
magicLinkEnabled Boolean @default(false)
|
|
361
|
-
lastLoginAt String?
|
|
362
|
-
loginCount Int @default(0)
|
|
363
|
-
verifiedAttributes String[]
|
|
364
|
-
verificationIssuer String?
|
|
365
|
-
verificationCredentialHash String?
|
|
366
|
-
ftnVerified Boolean @default(false)
|
|
367
|
-
googleSub String?
|
|
368
|
-
externalIdentities Json?
|
|
369
|
-
trustScore Int?
|
|
370
|
-
morselBalance Int?
|
|
371
|
-
allowedOrigins String[]
|
|
372
|
-
createdAt DateTime @default(now())
|
|
373
|
-
updatedAt DateTime @updatedAt
|
|
374
|
-
|
|
375
|
-
@@index([ownerName])
|
|
376
|
-
@@index([emailHash])
|
|
377
|
-
@@index([googleSub])
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
model Extension {
|
|
381
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
382
|
-
name String @unique
|
|
383
|
-
version String
|
|
384
|
-
description String
|
|
385
|
-
author String
|
|
386
|
-
status String @default("inactive")
|
|
387
|
-
requiredApis String[]
|
|
388
|
-
actions Json
|
|
389
|
-
config Json
|
|
390
|
-
limits Json
|
|
391
|
-
federation Json
|
|
392
|
-
instances Json?
|
|
393
|
-
installedBy String
|
|
394
|
-
installedAt DateTime @default(now())
|
|
395
|
-
activatedAt DateTime?
|
|
396
|
-
createdAt DateTime @default(now())
|
|
397
|
-
updatedAt DateTime @updatedAt
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
model ExtensionInstance {
|
|
401
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
402
|
-
instanceId String
|
|
403
|
-
extensionName String
|
|
404
|
-
config Json @default("{}")
|
|
405
|
-
status String @default("active")
|
|
406
|
-
translations Json?
|
|
407
|
-
createdBy String
|
|
408
|
-
createdByAgent String?
|
|
409
|
-
createdAt DateTime @default(now())
|
|
410
|
-
updatedAt DateTime @updatedAt
|
|
411
|
-
|
|
412
|
-
@@unique([extensionName, instanceId])
|
|
413
|
-
@@index([extensionName])
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
model EscrowHold {
|
|
417
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
418
|
-
holdId String @unique
|
|
419
|
-
fromGaii String
|
|
420
|
-
amount Int
|
|
421
|
-
reason String
|
|
422
|
-
status String @default("held")
|
|
423
|
-
extensionName String
|
|
424
|
-
createdAt DateTime @default(now())
|
|
425
|
-
releasedAt DateTime?
|
|
426
|
-
releasedTo String?
|
|
427
|
-
updatedAt DateTime @updatedAt
|
|
428
|
-
|
|
429
|
-
@@index([fromGaii])
|
|
430
|
-
@@index([status])
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
model PushSubscription {
|
|
434
|
-
id String @id @map("_id")
|
|
435
|
-
ownerName String @unique
|
|
436
|
-
endpoint String
|
|
437
|
-
keys Json
|
|
438
|
-
createdAt DateTime @default(now())
|
|
439
|
-
lastUsedAt DateTime @default(now())
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
model NotificationTemplate {
|
|
443
|
-
id String @id @map("_id")
|
|
444
|
-
templateId String
|
|
445
|
-
locale String
|
|
446
|
-
fields Json
|
|
447
|
-
placeholders String[]
|
|
448
|
-
updatedAt DateTime @default(now())
|
|
449
|
-
updatedBy String
|
|
450
|
-
|
|
451
|
-
@@unique([templateId, locale])
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
model BoardSubscription {
|
|
455
|
-
id String @id @map("_id")
|
|
456
|
-
boardId String
|
|
457
|
-
gaii String
|
|
458
|
-
callbackUrl String?
|
|
459
|
-
filters Json?
|
|
460
|
-
createdAt DateTime @default(now())
|
|
461
|
-
|
|
462
|
-
@@unique([boardId, gaii])
|
|
463
|
-
@@index([boardId])
|
|
464
|
-
@@index([gaii])
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
model PersonalNode {
|
|
468
|
-
id String @id @map("_id")
|
|
469
|
-
ownerName String
|
|
470
|
-
anchorNodeId String
|
|
471
|
-
publicKey String
|
|
472
|
-
status String @default("offline")
|
|
473
|
-
agentGaiis String[]
|
|
474
|
-
lastSeen DateTime @default(now())
|
|
475
|
-
mailboxQuotaBytes Int
|
|
476
|
-
mailboxUsedBytes Int @default(0)
|
|
477
|
-
visibility String @default("private")
|
|
478
|
-
createdAt DateTime @default(now())
|
|
479
|
-
updatedAt DateTime @updatedAt
|
|
480
|
-
|
|
481
|
-
@@index([ownerName])
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
model MailboxItem {
|
|
485
|
-
id String @id @map("_id")
|
|
486
|
-
personalNodeId String
|
|
487
|
-
type String
|
|
488
|
-
fromGaii String
|
|
489
|
-
toGaii String
|
|
490
|
-
payload String
|
|
491
|
-
sizeBytes Int
|
|
492
|
-
retentionDays Int
|
|
493
|
-
expiresAt DateTime
|
|
494
|
-
createdAt DateTime @default(now())
|
|
495
|
-
|
|
496
|
-
@@index([personalNodeId])
|
|
497
|
-
@@index([expiresAt])
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
model ChatInstance {
|
|
501
|
-
id String @id @map("_id")
|
|
502
|
-
platform String
|
|
503
|
-
appName String
|
|
504
|
-
ownerName String
|
|
505
|
-
ghii String
|
|
506
|
-
nodeId String
|
|
507
|
-
isAnonymous Boolean @default(false)
|
|
508
|
-
createdAt DateTime @default(now())
|
|
509
|
-
lastSeen DateTime @default(now())
|
|
510
|
-
agentGaii String?
|
|
511
|
-
mcpClientId String?
|
|
512
|
-
|
|
513
|
-
@@index([ownerName])
|
|
514
|
-
@@index([ghii])
|
|
515
|
-
@@index([agentGaii])
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
model SchemaLock {
|
|
519
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
520
|
-
keyPattern String
|
|
521
|
-
applyTo String
|
|
522
|
-
schemaJson Json
|
|
523
|
-
schemaMode String @default("open")
|
|
524
|
-
lockedBy String
|
|
525
|
-
setAt DateTime @default(now())
|
|
526
|
-
updatedAt DateTime @updatedAt
|
|
527
|
-
semanticContext Json?
|
|
528
|
-
|
|
529
|
-
@@unique([applyTo, keyPattern])
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
model Consent {
|
|
533
|
-
id String @id @map("_id")
|
|
534
|
-
ownerGaii String
|
|
535
|
-
dataPattern String
|
|
536
|
-
recipient String
|
|
537
|
-
purpose String
|
|
538
|
-
scope String
|
|
539
|
-
expires DateTime?
|
|
540
|
-
status String @default("active")
|
|
541
|
-
grantedAt DateTime @default(now())
|
|
542
|
-
revokedAt DateTime?
|
|
543
|
-
metadata Json?
|
|
544
|
-
|
|
545
|
-
@@index([ownerGaii])
|
|
546
|
-
@@index([ownerGaii, status])
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
model ConsentAudit {
|
|
550
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
551
|
-
consentId String
|
|
552
|
-
ownerGaii String
|
|
553
|
-
accessorGaii String
|
|
554
|
-
memoryKey String
|
|
555
|
-
action String
|
|
556
|
-
timestamp DateTime @default(now())
|
|
557
|
-
allowed Boolean
|
|
558
|
-
|
|
559
|
-
@@index([ownerGaii])
|
|
560
|
-
@@index([consentId])
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
model Csm {
|
|
564
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
565
|
-
name String @unique
|
|
566
|
-
definition Json
|
|
567
|
-
jsonSchemaKey String
|
|
568
|
-
serviceType String
|
|
569
|
-
registeredBy String
|
|
570
|
-
registeredAt DateTime @default(now())
|
|
571
|
-
updatedAt DateTime @updatedAt
|
|
572
|
-
semantic Json?
|
|
573
|
-
federate Boolean @default(false)
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
model Msm {
|
|
577
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
578
|
-
name String @unique
|
|
579
|
-
definition Json
|
|
580
|
-
category String
|
|
581
|
-
authType String
|
|
582
|
-
actionsCount Int
|
|
583
|
-
registeredBy String
|
|
584
|
-
registeredAt DateTime @default(now())
|
|
585
|
-
updatedAt DateTime @updatedAt
|
|
586
|
-
federate Boolean @default(false)
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
model EmailVerification {
|
|
590
|
-
id String @id @map("_id")
|
|
591
|
-
ownerName String
|
|
592
|
-
emailHash String
|
|
593
|
-
code String
|
|
594
|
-
purpose String
|
|
595
|
-
status String @default("pending")
|
|
596
|
-
attempts Int @default(0)
|
|
597
|
-
expiresAt DateTime
|
|
598
|
-
createdAt DateTime @default(now())
|
|
599
|
-
verifiedAt DateTime?
|
|
600
|
-
|
|
601
|
-
@@index([ownerName, purpose, status])
|
|
602
|
-
@@index([expiresAt])
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
model Flag {
|
|
606
|
-
id String @id @map("_id")
|
|
607
|
-
targetType String
|
|
608
|
-
targetId String
|
|
609
|
-
flaggedBy String
|
|
610
|
-
reason String
|
|
611
|
-
description String?
|
|
612
|
-
status String @default("active")
|
|
613
|
-
reviewedBy String?
|
|
614
|
-
reviewedAt DateTime?
|
|
615
|
-
createdAt DateTime @default(now())
|
|
616
|
-
|
|
617
|
-
@@index([targetType, targetId])
|
|
618
|
-
@@index([status])
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
model Match {
|
|
622
|
-
id String @id @map("_id")
|
|
623
|
-
profileA String
|
|
624
|
-
profileB String
|
|
625
|
-
score Float
|
|
626
|
-
breakdown Json
|
|
627
|
-
status String @default("suggested")
|
|
628
|
-
notifiedAt DateTime?
|
|
629
|
-
respondedAt DateTime?
|
|
630
|
-
expiresAt DateTime
|
|
631
|
-
createdAt DateTime @default(now())
|
|
632
|
-
|
|
633
|
-
@@index([profileA])
|
|
634
|
-
@@index([profileB])
|
|
635
|
-
@@index([expiresAt])
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
model Organism {
|
|
639
|
-
id String @id @map("_id")
|
|
640
|
-
name String
|
|
641
|
-
description String
|
|
642
|
-
type String
|
|
643
|
-
location Json?
|
|
644
|
-
interests String[]
|
|
645
|
-
creatorGhii String
|
|
646
|
-
admins String[]
|
|
647
|
-
members String[]
|
|
648
|
-
agentGaiis String[]
|
|
649
|
-
boardId String
|
|
650
|
-
joinPolicy String @default("open")
|
|
651
|
-
maxMembers Int @default(100)
|
|
652
|
-
visibility String @default("public")
|
|
653
|
-
memberVisibility String?
|
|
654
|
-
moderationConfig Json
|
|
655
|
-
memoryNamespace String
|
|
656
|
-
semantic Json?
|
|
657
|
-
archived Boolean @default(false)
|
|
658
|
-
archivedAt DateTime?
|
|
659
|
-
archivedBy String?
|
|
660
|
-
createdAt DateTime @default(now())
|
|
661
|
-
updatedAt DateTime @updatedAt
|
|
662
|
-
|
|
663
|
-
@@index([creatorGhii])
|
|
664
|
-
@@index([visibility])
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
model OrganismMembership {
|
|
668
|
-
id String @id @map("_id")
|
|
669
|
-
organismId String
|
|
670
|
-
ghii String
|
|
671
|
-
role String
|
|
672
|
-
status String @default("active")
|
|
673
|
-
joinedAt DateTime @default(now())
|
|
674
|
-
invitedBy String?
|
|
675
|
-
|
|
676
|
-
@@unique([organismId, ghii])
|
|
677
|
-
@@index([organismId])
|
|
678
|
-
@@index([ghii])
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
model JoinRequest {
|
|
682
|
-
id String @id @map("_id")
|
|
683
|
-
organismId String
|
|
684
|
-
ghii String
|
|
685
|
-
message String?
|
|
686
|
-
status String @default("pending")
|
|
687
|
-
reviewedBy String?
|
|
688
|
-
createdAt DateTime @default(now())
|
|
689
|
-
reviewedAt DateTime?
|
|
690
|
-
|
|
691
|
-
@@index([organismId])
|
|
692
|
-
@@index([organismId, status])
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
model PendingApproval {
|
|
696
|
-
id String @id @map("_id")
|
|
697
|
-
organismId String
|
|
698
|
-
flowGateId String?
|
|
699
|
-
stageId String?
|
|
700
|
-
actor String
|
|
701
|
-
action String
|
|
702
|
-
arguments Json?
|
|
703
|
-
risk String @default("medium")
|
|
704
|
-
approverRole String @default("owner")
|
|
705
|
-
prompt String?
|
|
706
|
-
status String @default("pending")
|
|
707
|
-
decidedBy String?
|
|
708
|
-
decidedAt DateTime?
|
|
709
|
-
resolutionNote String?
|
|
710
|
-
deadline DateTime?
|
|
711
|
-
createdAt DateTime @default(now())
|
|
712
|
-
updatedAt DateTime @default(now())
|
|
713
|
-
|
|
714
|
-
@@index([organismId])
|
|
715
|
-
@@index([organismId, status])
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
model Appeal {
|
|
719
|
-
id String @id @map("_id")
|
|
720
|
-
flagId String
|
|
721
|
-
appealedBy String
|
|
722
|
-
reason String
|
|
723
|
-
status String @default("pending")
|
|
724
|
-
reviewedBy String?
|
|
725
|
-
reviewNote String?
|
|
726
|
-
createdAt DateTime @default(now())
|
|
727
|
-
reviewedAt DateTime?
|
|
728
|
-
|
|
729
|
-
@@index([flagId])
|
|
730
|
-
@@index([status])
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
model Listing {
|
|
734
|
-
id String @id @map("_id")
|
|
735
|
-
ownerName String
|
|
736
|
-
sellerGhii String
|
|
737
|
-
title String
|
|
738
|
-
description String
|
|
739
|
-
category String
|
|
740
|
-
priceMorsels Int
|
|
741
|
-
condition String?
|
|
742
|
-
availability String?
|
|
743
|
-
location Json?
|
|
744
|
-
tags String[]
|
|
745
|
-
images String[]
|
|
746
|
-
status String @default("active")
|
|
747
|
-
memoryKey String
|
|
748
|
-
flagCount Int @default(0)
|
|
749
|
-
createdAt DateTime @default(now())
|
|
750
|
-
updatedAt DateTime @updatedAt
|
|
751
|
-
semantic Json?
|
|
752
|
-
|
|
753
|
-
@@index([category])
|
|
754
|
-
@@index([ownerName])
|
|
755
|
-
@@index([status])
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
model Purchase {
|
|
759
|
-
id String @id @map("_id")
|
|
760
|
-
listingId String
|
|
761
|
-
buyerOwner String
|
|
762
|
-
sellerOwner String
|
|
763
|
-
priceMorsels Int
|
|
764
|
-
transactionFeeMorsels Int
|
|
765
|
-
totalCostMorsels Int
|
|
766
|
-
status String @default("pending_delivery")
|
|
767
|
-
ratingScore Int?
|
|
768
|
-
ratingComment String?
|
|
769
|
-
trackingCode String
|
|
770
|
-
createdAt DateTime @default(now())
|
|
771
|
-
completedAt DateTime?
|
|
772
|
-
|
|
773
|
-
@@index([buyerOwner])
|
|
774
|
-
@@index([sellerOwner])
|
|
775
|
-
@@index([listingId])
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
model TrustedIssuer {
|
|
779
|
-
id String @id @map("_id")
|
|
780
|
-
name String
|
|
781
|
-
url String
|
|
782
|
-
publicKey String
|
|
783
|
-
type String
|
|
784
|
-
trusted Boolean @default(true)
|
|
785
|
-
addedBy String
|
|
786
|
-
createdAt DateTime @default(now())
|
|
787
|
-
|
|
788
|
-
@@index([url])
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
model VerificationNonce {
|
|
792
|
-
id String @id @map("_id")
|
|
793
|
-
owner String
|
|
794
|
-
type String
|
|
795
|
-
state String @unique
|
|
796
|
-
nonce String
|
|
797
|
-
redirectUri String @default("")
|
|
798
|
-
createdAt DateTime @default(now())
|
|
799
|
-
expiresAt DateTime
|
|
800
|
-
|
|
801
|
-
@@index([expiresAt])
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
model GenesisPeer {
|
|
805
|
-
id String @id @map("_id")
|
|
806
|
-
genesisNodeId String
|
|
807
|
-
genesisUrl String
|
|
808
|
-
publicKey String
|
|
809
|
-
status String @default("pending")
|
|
810
|
-
lastSyncAt DateTime @default(now())
|
|
811
|
-
catalogueHash String
|
|
812
|
-
createdAt DateTime @default(now())
|
|
813
|
-
updatedAt DateTime @updatedAt
|
|
814
|
-
|
|
815
|
-
@@index([genesisNodeId])
|
|
816
|
-
@@index([status])
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
model FederationPeer {
|
|
820
|
-
nodeId String @id @map("_id")
|
|
821
|
-
url String
|
|
822
|
-
publicKey String @default("")
|
|
823
|
-
status String @default("pending")
|
|
824
|
-
addedAt DateTime @default(now())
|
|
825
|
-
lastSeen DateTime @default(now())
|
|
826
|
-
shareCatalogue Boolean @default(true)
|
|
827
|
-
replicateMemory Boolean @default(true)
|
|
828
|
-
allowRouting Boolean @default(true)
|
|
829
|
-
peerMode String @default("federation")
|
|
830
|
-
allowFederatedAuth Boolean @default(false)
|
|
831
|
-
federationAuthScopes String[] @default([])
|
|
832
|
-
tier String @default("member")
|
|
833
|
-
availability String?
|
|
834
|
-
expiresAt DateTime?
|
|
835
|
-
heartbeatOk Int @default(0)
|
|
836
|
-
heartbeatTotal Int @default(0)
|
|
837
|
-
availabilityWindow String?
|
|
838
|
-
availabilityPct Int?
|
|
839
|
-
softwareVersion String?
|
|
840
|
-
nodeCardHash String?
|
|
841
|
-
|
|
842
|
-
@@index([status])
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
model OrganismReputation {
|
|
846
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
847
|
-
organismId String @unique
|
|
848
|
-
score Float
|
|
849
|
-
breakdown Json
|
|
850
|
-
calculatedAt DateTime @default(now())
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
model CortexExtension {
|
|
854
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
855
|
-
name String @unique
|
|
856
|
-
namespace String
|
|
857
|
-
shortName String
|
|
858
|
-
apiVersion String
|
|
859
|
-
version String
|
|
860
|
-
description String
|
|
861
|
-
author String
|
|
862
|
-
license String?
|
|
863
|
-
tags String[]
|
|
864
|
-
labels Json
|
|
865
|
-
aimeatCompat String?
|
|
866
|
-
status String @default("inactive")
|
|
867
|
-
visibility String @default("private")
|
|
868
|
-
installedAt DateTime @default(now())
|
|
869
|
-
activatedAt DateTime?
|
|
870
|
-
installedBy String
|
|
871
|
-
manifest String
|
|
872
|
-
components Json
|
|
873
|
-
activationArtifacts Json
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
model CortexLibFile {
|
|
877
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
878
|
-
extName String
|
|
879
|
-
libName String
|
|
880
|
-
content String
|
|
881
|
-
|
|
882
|
-
@@unique([extName, libName])
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
model PersonalPushSubscription {
|
|
886
|
-
id String @id @map("_id")
|
|
887
|
-
personalNodeId String
|
|
888
|
-
ownerName String
|
|
889
|
-
endpoint String
|
|
890
|
-
keys Json
|
|
891
|
-
failureCount Int @default(0)
|
|
892
|
-
createdAt DateTime @default(now())
|
|
893
|
-
lastUsedAt DateTime?
|
|
894
|
-
|
|
895
|
-
@@index([personalNodeId])
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
model NotificationPreference {
|
|
899
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
900
|
-
personalNodeId String @unique
|
|
901
|
-
enabled Boolean @default(true)
|
|
902
|
-
channels String[]
|
|
903
|
-
notifyTypes String[]
|
|
904
|
-
cooldownMinutes Int @default(5)
|
|
905
|
-
quietHoursUtc Json?
|
|
906
|
-
email String?
|
|
907
|
-
locale String?
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
model Session {
|
|
911
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
912
|
-
sessionId String @unique
|
|
913
|
-
gaii String
|
|
914
|
-
owner String
|
|
915
|
-
issuedAt DateTime
|
|
916
|
-
expiresAt DateTime
|
|
917
|
-
revoked Boolean @default(false)
|
|
918
|
-
|
|
919
|
-
// Owner refresh-token fields (null for legacy JWT-tracking sessions).
|
|
920
|
-
// See docs/plans/2026-06-03-owner-session-refresh-tokens-plan.md
|
|
921
|
-
refreshTokenHash String?
|
|
922
|
-
prevTokenHash String?
|
|
923
|
-
prevValidUntil DateTime?
|
|
924
|
-
lastUsedAt DateTime?
|
|
925
|
-
idleExpiresAt DateTime?
|
|
926
|
-
absoluteExpiresAt DateTime?
|
|
927
|
-
deviceLabel String?
|
|
928
|
-
userAgent String?
|
|
929
|
-
|
|
930
|
-
@@index([owner])
|
|
931
|
-
@@index([expiresAt])
|
|
932
|
-
@@index([refreshTokenHash])
|
|
933
|
-
@@index([prevTokenHash])
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
// Owner-created Personal Access Tokens for agents.
|
|
937
|
-
// See docs/plans/2026-06-03-agent-access-tokens-plan.md
|
|
938
|
-
model PersonalAccessToken {
|
|
939
|
-
id String @id @map("_id")
|
|
940
|
-
tokenHash String @unique
|
|
941
|
-
label String
|
|
942
|
-
owner String
|
|
943
|
-
scopes String[]
|
|
944
|
-
grantOwner Boolean @default(false)
|
|
945
|
-
grantOperator Boolean @default(false)
|
|
946
|
-
readOwnerData Boolean @default(false)
|
|
947
|
-
gaii String
|
|
948
|
-
createdAt DateTime
|
|
949
|
-
expiresAt DateTime?
|
|
950
|
-
lastUsedAt DateTime?
|
|
951
|
-
revoked Boolean @default(false)
|
|
952
|
-
|
|
953
|
-
@@index([owner])
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
model Invitation {
|
|
957
|
-
id String @id @map("_id")
|
|
958
|
-
tokenHash String
|
|
959
|
-
organismId String
|
|
960
|
-
orgRole String @default("member")
|
|
961
|
-
type String @default("link")
|
|
962
|
-
workspaces Json
|
|
963
|
-
email String
|
|
964
|
-
emailHash String
|
|
965
|
-
invitedBy String
|
|
966
|
-
provisionedOwner String?
|
|
967
|
-
message String?
|
|
968
|
-
status String @default("pending")
|
|
969
|
-
createdAt DateTime
|
|
970
|
-
expiresAt DateTime
|
|
971
|
-
acceptedAt DateTime?
|
|
972
|
-
acceptedBy String?
|
|
973
|
-
|
|
974
|
-
@@index([tokenHash])
|
|
975
|
-
@@index([organismId])
|
|
976
|
-
@@index([emailHash])
|
|
977
|
-
@@index([expiresAt])
|
|
978
|
-
@@index([invitedBy])
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
model RevokedToken {
|
|
982
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
983
|
-
tokenHash String @unique
|
|
984
|
-
expiresAt Int
|
|
985
|
-
|
|
986
|
-
@@index([expiresAt])
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
model App {
|
|
990
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
991
|
-
ownerGaii String
|
|
992
|
-
ownerName String
|
|
993
|
-
filename String
|
|
994
|
-
versionNumber Int
|
|
995
|
-
manifest Json
|
|
996
|
-
mimeType String
|
|
997
|
-
size Int
|
|
998
|
-
data Bytes
|
|
999
|
-
accessCode String?
|
|
1000
|
-
parked Boolean @default(false)
|
|
1001
|
-
forkable Boolean @default(false)
|
|
1002
|
-
operatorHidden Boolean @default(false)
|
|
1003
|
-
operatorHiddenBy String?
|
|
1004
|
-
operatorHiddenAt DateTime?
|
|
1005
|
-
operatorHideReason String?
|
|
1006
|
-
createdAt DateTime @default(now())
|
|
1007
|
-
|
|
1008
|
-
@@unique([ownerGaii, filename, versionNumber])
|
|
1009
|
-
@@index([ownerGaii, filename])
|
|
1010
|
-
@@index([ownerName, filename])
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
model AppDownload {
|
|
1014
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1015
|
-
ownerGaii String
|
|
1016
|
-
filename String
|
|
1017
|
-
count Int @default(0)
|
|
1018
|
-
|
|
1019
|
-
@@unique([ownerGaii, filename])
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
// Unpublished draft (staging slot): at most one per (ownerGaii, filename). The
|
|
1023
|
-
// live published versions live in App; this holds a preview-only draft until it
|
|
1024
|
-
// is published (promoted into App) and this row is cleared.
|
|
1025
|
-
model AppDraft {
|
|
1026
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1027
|
-
ownerGaii String
|
|
1028
|
-
ownerName String
|
|
1029
|
-
filename String
|
|
1030
|
-
manifest Json
|
|
1031
|
-
mimeType String
|
|
1032
|
-
size Int
|
|
1033
|
-
data Bytes
|
|
1034
|
-
updatedAt DateTime @default(now())
|
|
1035
|
-
|
|
1036
|
-
@@unique([ownerGaii, filename])
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
model AppFork {
|
|
1040
|
-
id String @id @map("_id")
|
|
1041
|
-
sourceOwnerGaii String
|
|
1042
|
-
sourceOwnerName String
|
|
1043
|
-
sourceFilename String
|
|
1044
|
-
sourceVersion Int
|
|
1045
|
-
childOwnerGaii String
|
|
1046
|
-
childOwnerName String
|
|
1047
|
-
childFilename String
|
|
1048
|
-
forkedByGaii String
|
|
1049
|
-
forkedAt DateTime @default(now())
|
|
1050
|
-
|
|
1051
|
-
@@index([sourceOwnerGaii, sourceFilename])
|
|
1052
|
-
@@index([childOwnerGaii, childFilename])
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
model AppPurchase {
|
|
1056
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1057
|
-
transactionId String @unique
|
|
1058
|
-
buyerGaii String
|
|
1059
|
-
buyerOwner String
|
|
1060
|
-
sellerGaii String
|
|
1061
|
-
sellerOwner String
|
|
1062
|
-
appFilename String
|
|
1063
|
-
appName String
|
|
1064
|
-
appVersionNumber Int
|
|
1065
|
-
licenseType String
|
|
1066
|
-
priceMorsels Int
|
|
1067
|
-
transactionFeeMorsels Int
|
|
1068
|
-
purchasedAt DateTime @default(now())
|
|
1069
|
-
appContent String
|
|
1070
|
-
appManifest Json
|
|
1071
|
-
appScreenshot String?
|
|
1072
|
-
signature String
|
|
1073
|
-
nodeId String
|
|
1074
|
-
nodePublicKey String
|
|
1075
|
-
|
|
1076
|
-
@@index([buyerGaii])
|
|
1077
|
-
@@index([sellerGaii])
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
model KnowledgeLink {
|
|
1081
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1082
|
-
source String
|
|
1083
|
-
target String
|
|
1084
|
-
relation String
|
|
1085
|
-
description String
|
|
1086
|
-
linkedAt DateTime @default(now())
|
|
1087
|
-
linkedBy String
|
|
1088
|
-
|
|
1089
|
-
@@unique([source, target])
|
|
1090
|
-
@@index([source])
|
|
1091
|
-
@@index([target])
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
model KnowledgeReview {
|
|
1095
|
-
id String @id @map("_id")
|
|
1096
|
-
packageId String
|
|
1097
|
-
operatorGaii String
|
|
1098
|
-
reason String
|
|
1099
|
-
customText String?
|
|
1100
|
-
action String
|
|
1101
|
-
timestamp DateTime @default(now())
|
|
1102
|
-
|
|
1103
|
-
@@index([packageId])
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
model ScheduledJob {
|
|
1107
|
-
id String @id @map("_id")
|
|
1108
|
-
name String
|
|
1109
|
-
type String
|
|
1110
|
-
extensionName String?
|
|
1111
|
-
instanceId String?
|
|
1112
|
-
actionId String?
|
|
1113
|
-
coreHandler String?
|
|
1114
|
-
cron String
|
|
1115
|
-
enabled Boolean @default(true)
|
|
1116
|
-
input Json?
|
|
1117
|
-
lastRunAt DateTime?
|
|
1118
|
-
lastRunResult String?
|
|
1119
|
-
lastRunError String?
|
|
1120
|
-
lastRunDurationMs Int?
|
|
1121
|
-
nextRunAt DateTime?
|
|
1122
|
-
createdBy String
|
|
1123
|
-
createdAt DateTime @default(now())
|
|
1124
|
-
updatedAt DateTime @updatedAt
|
|
1125
|
-
ownerScope String?
|
|
1126
|
-
agentName String?
|
|
1127
|
-
agentGaii String?
|
|
1128
|
-
createdByAgent Boolean @default(false)
|
|
1129
|
-
displayName String?
|
|
1130
|
-
description String?
|
|
1131
|
-
purpose String?
|
|
1132
|
-
timezone String?
|
|
1133
|
-
constraints Json?
|
|
1134
|
-
runCount Int @default(0)
|
|
1135
|
-
|
|
1136
|
-
@@index([type])
|
|
1137
|
-
@@index([extensionName])
|
|
1138
|
-
@@index([enabled])
|
|
1139
|
-
@@index([ownerScope])
|
|
1140
|
-
@@index([agentGaii])
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
|
-
model ExecutionLog {
|
|
1144
|
-
id String @id @map("_id")
|
|
1145
|
-
jobId String
|
|
1146
|
-
jobName String
|
|
1147
|
-
type String
|
|
1148
|
-
extensionName String?
|
|
1149
|
-
actionId String?
|
|
1150
|
-
trigger String
|
|
1151
|
-
result String
|
|
1152
|
-
errorMessage String?
|
|
1153
|
-
durationMs Int @default(0)
|
|
1154
|
-
memoryReads Json @default("[]")
|
|
1155
|
-
memoryWrites Json @default("[]")
|
|
1156
|
-
taskId String?
|
|
1157
|
-
createdAt DateTime @default(now())
|
|
1158
|
-
|
|
1159
|
-
@@index([jobId])
|
|
1160
|
-
@@index([extensionName])
|
|
1161
|
-
@@index([createdAt])
|
|
1162
|
-
@@index([trigger])
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
model DeviceAuth {
|
|
1166
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1167
|
-
deviceCode String @unique
|
|
1168
|
-
userCode String @unique
|
|
1169
|
-
ownerName String
|
|
1170
|
-
agentName String
|
|
1171
|
-
displayName String?
|
|
1172
|
-
description String?
|
|
1173
|
-
status String @default("pending")
|
|
1174
|
-
scopes String[]
|
|
1175
|
-
createdAt DateTime @default(now())
|
|
1176
|
-
expiresAt DateTime
|
|
1177
|
-
lastPolledAt DateTime?
|
|
1178
|
-
pollInterval Int @default(5)
|
|
1179
|
-
approvedBy String?
|
|
1180
|
-
agentCredentials Json?
|
|
1181
|
-
mode String?
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
// Ecosystem application (GEAI) principal — mirror of Agent, minus task/agent-only fields,
|
|
1185
|
-
// plus the ecosystem binding fields (app, boundRef, dataAreas, status).
|
|
1186
|
-
model EcosystemApp {
|
|
1187
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1188
|
-
geai String @unique
|
|
1189
|
-
app String
|
|
1190
|
-
owner String
|
|
1191
|
-
displayName String?
|
|
1192
|
-
description String?
|
|
1193
|
-
publicKey String
|
|
1194
|
-
scopes String[]
|
|
1195
|
-
dataAreas Json?
|
|
1196
|
-
boundRef String?
|
|
1197
|
-
status String @default("pending")
|
|
1198
|
-
morselBalance Int @default(0)
|
|
1199
|
-
capabilities Json?
|
|
1200
|
-
automation Json?
|
|
1201
|
-
setup Json?
|
|
1202
|
-
createdAt DateTime @default(now())
|
|
1203
|
-
lastSeen DateTime @default(now())
|
|
1204
|
-
|
|
1205
|
-
@@index([owner])
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
// Ecosystem "hello integration" handshake — mirror of DeviceAuth.
|
|
1209
|
-
model EcoAuth {
|
|
1210
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1211
|
-
deviceCode String @unique
|
|
1212
|
-
userCode String @unique
|
|
1213
|
-
ownerName String
|
|
1214
|
-
app String
|
|
1215
|
-
displayName String?
|
|
1216
|
-
description String?
|
|
1217
|
-
status String @default("pending")
|
|
1218
|
-
publicKey String?
|
|
1219
|
-
scopes String[]
|
|
1220
|
-
dataAreas Json?
|
|
1221
|
-
boundRef String?
|
|
1222
|
-
createdAt DateTime @default(now())
|
|
1223
|
-
expiresAt DateTime
|
|
1224
|
-
lastPolledAt DateTime?
|
|
1225
|
-
pollInterval Int @default(5)
|
|
1226
|
-
approvedBy String?
|
|
1227
|
-
validationResult Json?
|
|
1228
|
-
capabilities Json?
|
|
1229
|
-
automation Json?
|
|
1230
|
-
setup Json?
|
|
1231
|
-
appCredentials Json?
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
// Ecosystem-app automation recipe (feature B4) — one per (owner, app).
|
|
1235
|
-
model EcoAutomationRecipe {
|
|
1236
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1237
|
-
owner String
|
|
1238
|
-
app String
|
|
1239
|
-
trigger Json
|
|
1240
|
-
agents Json
|
|
1241
|
-
organism String?
|
|
1242
|
-
email Boolean @default(false)
|
|
1243
|
-
requireApproval Boolean @default(false)
|
|
1244
|
-
enabled Boolean @default(true)
|
|
1245
|
-
createdAt DateTime @default(now())
|
|
1246
|
-
updatedAt DateTime @default(now())
|
|
1247
|
-
|
|
1248
|
-
@@unique([owner, app])
|
|
1249
|
-
@@index([owner])
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
model OAuthClient {
|
|
1253
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1254
|
-
clientId String @unique
|
|
1255
|
-
clientSecret String
|
|
1256
|
-
clientName String
|
|
1257
|
-
redirectUris String[]
|
|
1258
|
-
createdAt DateTime @default(now())
|
|
1259
|
-
}
|
|
1260
|
-
|
|
1261
|
-
model OAuthRefreshToken {
|
|
1262
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1263
|
-
tokenHash String @unique
|
|
1264
|
-
clientId String
|
|
1265
|
-
gaii String
|
|
1266
|
-
owner String
|
|
1267
|
-
roles String[]
|
|
1268
|
-
createdAt DateTime @default(now())
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
model OAuthApproval {
|
|
1272
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1273
|
-
clientId String
|
|
1274
|
-
gaii String
|
|
1275
|
-
owner String
|
|
1276
|
-
scope String @default("aimeat:full")
|
|
1277
|
-
approvedAt DateTime @default(now())
|
|
1278
|
-
|
|
1279
|
-
@@unique([clientId, gaii])
|
|
1280
|
-
}
|
|
1281
|
-
|
|
1282
|
-
model SystemPrompt {
|
|
1283
|
-
id String @id @map("_id")
|
|
1284
|
-
group String
|
|
1285
|
-
name String
|
|
1286
|
-
description String @default("")
|
|
1287
|
-
content String
|
|
1288
|
-
locales Json?
|
|
1289
|
-
active Boolean @default(true)
|
|
1290
|
-
variables String[]
|
|
1291
|
-
usedIn String[]
|
|
1292
|
-
version Int @default(1)
|
|
1293
|
-
updatedAt DateTime @default(now())
|
|
1294
|
-
updatedBy String
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
model SystemPromptVersion {
|
|
1298
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1299
|
-
promptId String
|
|
1300
|
-
version Int
|
|
1301
|
-
content String
|
|
1302
|
-
locales Json?
|
|
1303
|
-
changedBy String
|
|
1304
|
-
changedAt DateTime @default(now())
|
|
1305
|
-
changeNote String?
|
|
1306
|
-
|
|
1307
|
-
@@unique([promptId, version])
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
|
-
model Package {
|
|
1311
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1312
|
-
packageGroupId String
|
|
1313
|
-
name String
|
|
1314
|
-
author String
|
|
1315
|
-
authorGhii String
|
|
1316
|
-
version String
|
|
1317
|
-
changelog String @default("")
|
|
1318
|
-
description String @default("")
|
|
1319
|
-
category String @default("other")
|
|
1320
|
-
tags String[]
|
|
1321
|
-
visibility String @default("private")
|
|
1322
|
-
status String @default("draft")
|
|
1323
|
-
components Json // PackageComponent[]
|
|
1324
|
-
manifest String @default("")
|
|
1325
|
-
createdAt DateTime @default(now())
|
|
1326
|
-
updatedAt DateTime @updatedAt
|
|
1327
|
-
|
|
1328
|
-
@@unique([packageGroupId, version])
|
|
1329
|
-
@@index([packageGroupId])
|
|
1330
|
-
@@index([author])
|
|
1331
|
-
@@index([status])
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
model TemplateListing {
|
|
1335
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1336
|
-
packageGroupId String @unique
|
|
1337
|
-
packageName String
|
|
1338
|
-
packageAuthor String
|
|
1339
|
-
publishedBy String
|
|
1340
|
-
publishedByGhii String
|
|
1341
|
-
title String
|
|
1342
|
-
description String @default("")
|
|
1343
|
-
screenshots String[]
|
|
1344
|
-
category String @default("other")
|
|
1345
|
-
tags String[]
|
|
1346
|
-
featured Boolean @default(false)
|
|
1347
|
-
installCount Int @default(0)
|
|
1348
|
-
rating Float @default(0)
|
|
1349
|
-
reviewCount Int @default(0)
|
|
1350
|
-
status String @default("listed")
|
|
1351
|
-
createdAt DateTime @default(now())
|
|
1352
|
-
updatedAt DateTime @updatedAt
|
|
1353
|
-
rejectionReason String?
|
|
1354
|
-
reviewedBy String?
|
|
1355
|
-
reviewedAt DateTime?
|
|
1356
|
-
reviewComment String?
|
|
1357
|
-
proposedAt DateTime?
|
|
1358
|
-
proposedBy String?
|
|
1359
|
-
|
|
1360
|
-
@@index([category])
|
|
1361
|
-
@@index([featured])
|
|
1362
|
-
@@index([status])
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
|
-
model TemplateReview {
|
|
1366
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1367
|
-
listingId String
|
|
1368
|
-
authorGhii String
|
|
1369
|
-
authorName String
|
|
1370
|
-
rating Int
|
|
1371
|
-
comment String @default("")
|
|
1372
|
-
createdAt DateTime @default(now())
|
|
1373
|
-
|
|
1374
|
-
@@unique([listingId, authorGhii])
|
|
1375
|
-
@@index([listingId])
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
model TemplateDiscussion {
|
|
1379
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1380
|
-
listingId String
|
|
1381
|
-
authorGhii String
|
|
1382
|
-
authorName String
|
|
1383
|
-
message String
|
|
1384
|
-
parentId String?
|
|
1385
|
-
createdAt DateTime @default(now())
|
|
1386
|
-
|
|
1387
|
-
@@index([listingId])
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
model PackageInstance {
|
|
1391
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1392
|
-
packageGroupId String
|
|
1393
|
-
packageVersion String
|
|
1394
|
-
packageRecordId String
|
|
1395
|
-
owner String
|
|
1396
|
-
ownerGhii String
|
|
1397
|
-
label String @default("")
|
|
1398
|
-
installedComponents Json // InstalledComponent[]
|
|
1399
|
-
status String @default("installed")
|
|
1400
|
-
installedAt DateTime @default(now())
|
|
1401
|
-
updatedAt DateTime @updatedAt
|
|
1402
|
-
|
|
1403
|
-
@@index([owner])
|
|
1404
|
-
@@index([packageGroupId])
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
model Capability {
|
|
1408
|
-
id String @id @map("_id")
|
|
1409
|
-
name String
|
|
1410
|
-
summary String @default("")
|
|
1411
|
-
ownerGhii String
|
|
1412
|
-
visibility String @default("private")
|
|
1413
|
-
scope String @default("local")
|
|
1414
|
-
status String @default("draft")
|
|
1415
|
-
rejectionReason String?
|
|
1416
|
-
deprecationMessage String?
|
|
1417
|
-
replacedBy String?
|
|
1418
|
-
sourceType String
|
|
1419
|
-
sourceRef String
|
|
1420
|
-
sourceVersion String @default("")
|
|
1421
|
-
authRequired String @default("registered")
|
|
1422
|
-
callable Boolean @default(false)
|
|
1423
|
-
inputSchema Json?
|
|
1424
|
-
outputSchema Json?
|
|
1425
|
-
exports Json? // CapabilityExport[]
|
|
1426
|
-
usage String @default("")
|
|
1427
|
-
whenToUse String @default("")
|
|
1428
|
-
whenNotToUse String @default("")
|
|
1429
|
-
examples Json @default("[]") // Array<{ description, input, output }>
|
|
1430
|
-
dependencies Json @default("[]") // CapabilityDependency[]
|
|
1431
|
-
schemaHash String @default("")
|
|
1432
|
-
webhookUrl String?
|
|
1433
|
-
cost Json? // { morsels, perUnit? }
|
|
1434
|
-
trustRequired Float?
|
|
1435
|
-
trust Json // CapabilityTrust
|
|
1436
|
-
redactedFields Json @default("[]") // string[]
|
|
1437
|
-
operatorOverride Json? // CapabilityOverride
|
|
1438
|
-
stats Json // CapabilityStats
|
|
1439
|
-
tags Json @default("[]") // string[]
|
|
1440
|
-
createdAt DateTime @default(now())
|
|
1441
|
-
updatedAt DateTime @updatedAt
|
|
1442
|
-
|
|
1443
|
-
logs CapabilityLog[]
|
|
1444
|
-
vouches CapabilityVouch[]
|
|
1445
|
-
|
|
1446
|
-
@@index([ownerGhii])
|
|
1447
|
-
@@index([sourceType, sourceRef])
|
|
1448
|
-
@@index([status])
|
|
1449
|
-
@@index([visibility])
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
model CapabilityLog {
|
|
1453
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1454
|
-
capabilityId String
|
|
1455
|
-
callerGhii String
|
|
1456
|
-
input Json @default("{}")
|
|
1457
|
-
status String
|
|
1458
|
-
durationMs Int @default(0)
|
|
1459
|
-
error String?
|
|
1460
|
-
timestamp DateTime @default(now())
|
|
1461
|
-
|
|
1462
|
-
capability Capability @relation(fields: [capabilityId], references: [id], onDelete: Cascade)
|
|
1463
|
-
|
|
1464
|
-
@@index([capabilityId, timestamp])
|
|
1465
|
-
@@index([capabilityId, status])
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
model CapabilityVouch {
|
|
1469
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1470
|
-
capabilityId String
|
|
1471
|
-
userGhii String
|
|
1472
|
-
comment String?
|
|
1473
|
-
createdAt DateTime @default(now())
|
|
1474
|
-
|
|
1475
|
-
capability Capability @relation(fields: [capabilityId], references: [id], onDelete: Cascade)
|
|
1476
|
-
|
|
1477
|
-
@@unique([capabilityId, userGhii])
|
|
1478
|
-
}
|
|
1479
|
-
|
|
1480
|
-
model ReplicationQueue {
|
|
1481
|
-
id String @id @map("_id")
|
|
1482
|
-
type String
|
|
1483
|
-
targetPeers String[]
|
|
1484
|
-
payload String?
|
|
1485
|
-
createdAt DateTime @default(now())
|
|
1486
|
-
attempts Int @default(0)
|
|
1487
|
-
lastAttemptAt DateTime?
|
|
1488
|
-
status String @default("pending")
|
|
1489
|
-
|
|
1490
|
-
@@index([status])
|
|
1491
|
-
@@index([createdAt])
|
|
1492
|
-
}
|
|
1493
|
-
|
|
1494
|
-
model StatsCounter {
|
|
1495
|
-
id String @id @map("_id")
|
|
1496
|
-
value Int @default(0)
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
model StatsDailyHistory {
|
|
1500
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1501
|
-
date String
|
|
1502
|
-
key String
|
|
1503
|
-
value Int @default(0)
|
|
1504
|
-
|
|
1505
|
-
@@unique([date, key])
|
|
1506
|
-
}
|
|
1507
|
-
|
|
1508
|
-
model AgentTask {
|
|
1509
|
-
id String @id @map("_id")
|
|
1510
|
-
agentGaii String
|
|
1511
|
-
ownerGaii String
|
|
1512
|
-
title String
|
|
1513
|
-
description String @default("")
|
|
1514
|
-
scope Json @default("[]")
|
|
1515
|
-
rules Json @default("[]")
|
|
1516
|
-
verification Json @default("{}")
|
|
1517
|
-
resources Json?
|
|
1518
|
-
todos Json @default("[]")
|
|
1519
|
-
status String @default("draft")
|
|
1520
|
-
parentTaskId String?
|
|
1521
|
-
workTrackingCode String?
|
|
1522
|
-
telemetry Json?
|
|
1523
|
-
lastEventAt DateTime?
|
|
1524
|
-
createdAt DateTime @default(now())
|
|
1525
|
-
updatedAt DateTime @updatedAt
|
|
1526
|
-
completedAt DateTime?
|
|
1527
|
-
deliverableKey String?
|
|
1528
|
-
rating Json?
|
|
1529
|
-
triage String?
|
|
1530
|
-
automation Json?
|
|
1531
|
-
|
|
1532
|
-
@@index([agentGaii, status])
|
|
1533
|
-
@@index([ownerGaii])
|
|
1534
|
-
}
|
|
1535
|
-
|
|
1536
|
-
model AgentTaskEvent {
|
|
1537
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1538
|
-
taskId String
|
|
1539
|
-
type String
|
|
1540
|
-
message String
|
|
1541
|
-
details Json?
|
|
1542
|
-
timestamp DateTime @default(now())
|
|
1543
|
-
|
|
1544
|
-
@@index([taskId, timestamp])
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
model AgentDirective {
|
|
1548
|
-
id String @id @map("_id")
|
|
1549
|
-
agentGaii String @unique
|
|
1550
|
-
purpose String @default("")
|
|
1551
|
-
rules Json @default("[]")
|
|
1552
|
-
memoryAreas Json @default("[]")
|
|
1553
|
-
resources Json @default("[]")
|
|
1554
|
-
budgetLimits Json?
|
|
1555
|
-
updatedAt DateTime @updatedAt
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
model OwnerAgentDefault {
|
|
1559
|
-
id String @id @map("_id")
|
|
1560
|
-
ownerGaii String @unique
|
|
1561
|
-
rules Json @default("[]")
|
|
1562
|
-
defaultTokenBudget Int?
|
|
1563
|
-
defaultMemoryAreas Json @default("[]")
|
|
1564
|
-
updatedAt DateTime @updatedAt
|
|
1565
|
-
}
|
|
1566
|
-
|
|
1567
|
-
model SharingGroup {
|
|
1568
|
-
id String @id @map("_id")
|
|
1569
|
-
name String
|
|
1570
|
-
description String?
|
|
1571
|
-
ownerGaii String
|
|
1572
|
-
members Json @default("[]")
|
|
1573
|
-
defaultPermissions Json @default("{\"read\":true,\"write\":false}")
|
|
1574
|
-
createdAt DateTime @default(now())
|
|
1575
|
-
updatedAt DateTime @updatedAt
|
|
1576
|
-
|
|
1577
|
-
@@index([ownerGaii])
|
|
1578
|
-
}
|
|
1579
|
-
|
|
1580
|
-
model AgentActivity {
|
|
1581
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1582
|
-
agentGaii String
|
|
1583
|
-
date String
|
|
1584
|
-
hour Int
|
|
1585
|
-
metric String
|
|
1586
|
-
value Int @default(0)
|
|
1587
|
-
|
|
1588
|
-
@@unique([agentGaii, date, hour, metric])
|
|
1589
|
-
@@index([agentGaii, date])
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
|
-
// ── Agent LLM Usage Ledger (LEDGER / TARGET-016) ──
|
|
1593
|
-
|
|
1594
|
-
model AgentUsageEvent {
|
|
1595
|
-
id String @id @map("_id")
|
|
1596
|
-
ts String
|
|
1597
|
-
agentGaii String
|
|
1598
|
-
ownerGhii String
|
|
1599
|
-
runId String?
|
|
1600
|
-
model String
|
|
1601
|
-
provider String
|
|
1602
|
-
promptTokens Int @default(0)
|
|
1603
|
-
completionTokens Int @default(0)
|
|
1604
|
-
costUsd Float?
|
|
1605
|
-
priceRef String?
|
|
1606
|
-
source String
|
|
1607
|
-
apiKeyScope String @default("own")
|
|
1608
|
-
organismId String?
|
|
1609
|
-
workspaceId String?
|
|
1610
|
-
capabilityId String?
|
|
1611
|
-
consumerGhii String?
|
|
1612
|
-
|
|
1613
|
-
@@index([ownerGhii, ts])
|
|
1614
|
-
@@index([agentGaii, ts])
|
|
1615
|
-
@@index([runId])
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
model AgentUsageDaily {
|
|
1619
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1620
|
-
date String
|
|
1621
|
-
agentGaii String
|
|
1622
|
-
ownerGhii String
|
|
1623
|
-
apiKeyScope String @default("own")
|
|
1624
|
-
model String
|
|
1625
|
-
provider String
|
|
1626
|
-
organismId String @default("")
|
|
1627
|
-
workspaceId String @default("")
|
|
1628
|
-
promptTokens Int @default(0)
|
|
1629
|
-
completionTokens Int @default(0)
|
|
1630
|
-
costUsd Float @default(0)
|
|
1631
|
-
calls Int @default(0)
|
|
1632
|
-
unpricedCalls Int @default(0)
|
|
1633
|
-
|
|
1634
|
-
@@unique([date, agentGaii, ownerGhii, apiKeyScope, model, provider, organismId, workspaceId])
|
|
1635
|
-
@@index([ownerGhii, date])
|
|
1636
|
-
@@index([organismId, date])
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
|
-
model TelemetryEvent {
|
|
1640
|
-
id String @id @map("_id")
|
|
1641
|
-
agentGaii String
|
|
1642
|
-
type String
|
|
1643
|
-
data Json
|
|
1644
|
-
sessionId String?
|
|
1645
|
-
taskId String?
|
|
1646
|
-
createdAt DateTime @default(now())
|
|
1647
|
-
|
|
1648
|
-
@@index([agentGaii, createdAt])
|
|
1649
|
-
}
|
|
1650
|
-
|
|
1651
|
-
model WebhookDeliveryLog {
|
|
1652
|
-
id String @id @map("_id")
|
|
1653
|
-
agentGaii String
|
|
1654
|
-
event String
|
|
1655
|
-
payload Json
|
|
1656
|
-
status String
|
|
1657
|
-
httpStatus Int?
|
|
1658
|
-
errorMessage String?
|
|
1659
|
-
attemptCount Int
|
|
1660
|
-
latencyMs Int
|
|
1661
|
-
createdAt DateTime @default(now())
|
|
1662
|
-
|
|
1663
|
-
@@index([agentGaii, createdAt])
|
|
1664
|
-
}
|
|
1665
|
-
|
|
1666
|
-
model AgentOnboarding {
|
|
1667
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1668
|
-
agentGaii String @unique
|
|
1669
|
-
status String @default("pending")
|
|
1670
|
-
startedAt DateTime @default(now())
|
|
1671
|
-
completedAt DateTime?
|
|
1672
|
-
steps Json @default("[]")
|
|
1673
|
-
readinessScore Int?
|
|
1674
|
-
readinessLevel String?
|
|
1675
|
-
detectedPlatform String?
|
|
1676
|
-
installedRuntime String?
|
|
1677
|
-
onboardingBaseline Int?
|
|
1678
|
-
operationalHealth Float?
|
|
1679
|
-
healthComponents Json?
|
|
1680
|
-
healthRecalculatedAt DateTime?
|
|
1681
|
-
readinessOverride Json?
|
|
1682
|
-
|
|
1683
|
-
@@index([status])
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
model SubdomainSite {
|
|
1687
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1688
|
-
subdomain String @unique
|
|
1689
|
-
kind String
|
|
1690
|
-
target String
|
|
1691
|
-
enabled Boolean @default(true)
|
|
1692
|
-
createdBy String
|
|
1693
|
-
createdAt DateTime @default(now())
|
|
1694
|
-
updatedAt DateTime @default(now())
|
|
1695
|
-
}
|
|
1696
|
-
|
|
1697
|
-
model AppGrant {
|
|
1698
|
-
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1699
|
-
grantId String @unique
|
|
1700
|
-
app String
|
|
1701
|
-
appName String
|
|
1702
|
-
appOrigin String
|
|
1703
|
-
owner String
|
|
1704
|
-
gaii String
|
|
1705
|
-
scopes String[]
|
|
1706
|
-
refreshTokenHash String?
|
|
1707
|
-
createdAt DateTime @default(now())
|
|
1708
|
-
lastUsedAt DateTime?
|
|
1709
|
-
revoked Boolean @default(false)
|
|
1710
|
-
|
|
1711
|
-
@@index([owner])
|
|
1712
|
-
@@index([refreshTokenHash])
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
model AgentMessage {
|
|
1716
|
-
id String @id @map("_id")
|
|
1717
|
-
agentGaii String
|
|
1718
|
-
threadId String
|
|
1719
|
-
direction String
|
|
1720
|
-
senderGaii String
|
|
1721
|
-
content String
|
|
1722
|
-
status String @default("pending")
|
|
1723
|
-
linkedTaskId String?
|
|
1724
|
-
metadata Json?
|
|
1725
|
-
createdAt DateTime @default(now())
|
|
1726
|
-
processedAt DateTime?
|
|
1727
|
-
|
|
1728
|
-
@@index([agentGaii, threadId, createdAt])
|
|
1729
|
-
@@index([agentGaii, status])
|
|
1730
|
-
}
|
|
1731
|
-
|
|
1732
|
-
model DirectMessage {
|
|
1733
|
-
id String @id @map("_id") // composite "<mid>::<ownerGhii>" (one mailbox copy)
|
|
1734
|
-
mid String // the shared message id (same on sender + recipient copies)
|
|
1735
|
-
ownerGhii String
|
|
1736
|
-
conversationId String
|
|
1737
|
-
subject String?
|
|
1738
|
-
senderGhii String
|
|
1739
|
-
recipientGhii String
|
|
1740
|
-
body String @default("")
|
|
1741
|
-
attachments Json?
|
|
1742
|
-
interactive Json?
|
|
1743
|
-
broadcastId String?
|
|
1744
|
-
respondable Boolean?
|
|
1745
|
-
status String @default("queued")
|
|
1746
|
-
direction String
|
|
1747
|
-
replyToId String?
|
|
1748
|
-
origin String @default("local")
|
|
1749
|
-
originNodeId String
|
|
1750
|
-
error String?
|
|
1751
|
-
createdAt DateTime @default(now())
|
|
1752
|
-
deliveredAt DateTime?
|
|
1753
|
-
readAt DateTime?
|
|
1754
|
-
|
|
1755
|
-
@@index([ownerGhii, direction, createdAt])
|
|
1756
|
-
@@index([ownerGhii, conversationId, createdAt])
|
|
1757
|
-
@@index([mid])
|
|
1758
|
-
@@index([status, origin])
|
|
1759
|
-
@@index([broadcastId])
|
|
1760
|
-
}
|
|
1761
|
-
|
|
1762
|
-
model ContactConsent {
|
|
1763
|
-
id String @id @map("_id") // composite "<ownerGhii>::<contactId>"
|
|
1764
|
-
ownerGhii String
|
|
1765
|
-
contactId String
|
|
1766
|
-
state String @default("pending")
|
|
1767
|
-
firstMessageId String?
|
|
1768
|
-
createdAt DateTime @default(now())
|
|
1769
|
-
updatedAt DateTime @default(now())
|
|
1770
|
-
|
|
1771
|
-
@@index([ownerGhii, state])
|
|
1772
|
-
}
|
|
1773
|
-
|
|
1774
|
-
model MessageDeliveryLog {
|
|
1775
|
-
id String @id @map("_id")
|
|
1776
|
-
messageId String
|
|
1777
|
-
origin String
|
|
1778
|
-
targetNodeId String
|
|
1779
|
-
status String
|
|
1780
|
-
httpStatus Int?
|
|
1781
|
-
errorMessage String?
|
|
1782
|
-
latencyMs Int @default(0)
|
|
1783
|
-
createdAt DateTime @default(now())
|
|
1784
|
-
|
|
1785
|
-
@@index([createdAt])
|
|
1786
|
-
@@index([status])
|
|
1787
|
-
}
|