aimeat 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.env.example +300 -0
- package/dist/bin/aimeat.d.ts +3 -0
- package/dist/bin/aimeat.d.ts.map +1 -0
- package/dist/bin/aimeat.js +22 -0
- package/dist/bin/aimeat.js.map +1 -0
- package/dist/locales/en.json +4566 -0
- package/dist/locales/fi.json +4566 -0
- package/dist/public/BingSiteAuth.xml +4 -0
- package/dist/public/agent-consent.html +521 -0
- package/dist/public/aimeat-developers.html +679 -0
- package/dist/public/assets/mcp_1_add_custom_connector.png +0 -0
- package/dist/public/assets/mcp_2_connect_disconnect_connector.png +0 -0
- package/dist/public/components/Alert.js +18 -0
- package/dist/public/components/Card.js +19 -0
- package/dist/public/components/CopyButton.js +24 -0
- package/dist/public/components/FormField.js +16 -0
- package/dist/public/components/Modal.js +121 -0
- package/dist/public/components/Spinner.js +11 -0
- package/dist/public/components/Toast.js +26 -0
- package/dist/public/components/index.js +8 -0
- package/dist/public/components/useViewCSS.js +12 -0
- package/dist/public/cortex-bundled/aimeat-canvas.js +1408 -0
- package/dist/public/cortex-bundled/aimeat-canvas.yaml +241 -0
- package/dist/public/cortex-bundled/aimeat-charts.js +455 -0
- package/dist/public/cortex-bundled/aimeat-charts.yaml +178 -0
- package/dist/public/cortex-bundled/aimeat-ui-dialogs.js +667 -0
- package/dist/public/cortex-bundled/aimeat-ui-dialogs.yaml +66 -0
- package/dist/public/cortex-bundled/aimeat-ui-forms.js +1106 -0
- package/dist/public/cortex-bundled/aimeat-ui-forms.yaml +90 -0
- package/dist/public/cortex-bundled/aimeat-ui-layout.js +436 -0
- package/dist/public/cortex-bundled/aimeat-ui-layout.yaml +87 -0
- package/dist/public/cortex-bundled/aimeat-ui-nav.js +722 -0
- package/dist/public/cortex-bundled/aimeat-ui-nav.yaml +73 -0
- package/dist/public/cortex-bundled/aimeat-ui-viewers.js +602 -0
- package/dist/public/cortex-bundled/aimeat-ui-viewers.yaml +73 -0
- package/dist/public/css/components/tags.css +67 -0
- package/dist/public/css/theme.css +716 -0
- package/dist/public/css/views/admin.css +576 -0
- package/dist/public/css/views/aimeat-os.css +153 -0
- package/dist/public/css/views/calibrator.css +480 -0
- package/dist/public/css/views/foundry.css +1334 -0
- package/dist/public/css/views/help.css +136 -0
- package/dist/public/css/views/hobbies.css +73 -0
- package/dist/public/css/views/marketplace.css +134 -0
- package/dist/public/css/views/openclaw.css +33 -0
- package/dist/public/css/views/portal-classic.css +484 -0
- package/dist/public/css/views/portal-dev.css +139 -0
- package/dist/public/css/views/portal.css +365 -0
- package/dist/public/css/views/portfolio.css +322 -0
- package/dist/public/css/views/profile.css +1799 -0
- package/dist/public/echat.html +442 -0
- package/dist/public/img/genesis-001-badge.png +0 -0
- package/dist/public/img/platforms/chatgpt.png +0 -0
- package/dist/public/img/platforms/claude.png +0 -0
- package/dist/public/img/platforms/copilot.png +0 -0
- package/dist/public/img/platforms/deepseek.png +0 -0
- package/dist/public/img/platforms/gemini.png +0 -0
- package/dist/public/img/platforms/grok.png +0 -0
- package/dist/public/img/platforms/lmstudio.png +0 -0
- package/dist/public/img/platforms/m365copilot.png +0 -0
- package/dist/public/img/platforms/openclaw.png +0 -0
- package/dist/public/img/platforms/other.png +0 -0
- package/dist/public/js/api.js +123 -0
- package/dist/public/js/components/auth-image.js +59 -0
- package/dist/public/js/components/tag-cloud.js +31 -0
- package/dist/public/js/components/tag-editor.js +46 -0
- package/dist/public/js/hooks.js +63 -0
- package/dist/public/js/i18n.js +76 -0
- package/dist/public/js/services/admin.js +239 -0
- package/dist/public/js/services/agents.js +57 -0
- package/dist/public/js/services/apps.js +35 -0
- package/dist/public/js/services/auth.js +40 -0
- package/dist/public/js/services/boards.js +79 -0
- package/dist/public/js/services/calibrator.js +97 -0
- package/dist/public/js/services/catalogue.js +39 -0
- package/dist/public/js/services/consent.js +57 -0
- package/dist/public/js/services/cortex.js +95 -0
- package/dist/public/js/services/extensions.js +61 -0
- package/dist/public/js/services/federation.js +11 -0
- package/dist/public/js/services/foundry-context-bundle.js +128 -0
- package/dist/public/js/services/foundry-contract.js +117 -0
- package/dist/public/js/services/foundry-packaging.js +762 -0
- package/dist/public/js/services/foundry-probe-reconcile.js +52 -0
- package/dist/public/js/services/foundry-prompts-base.js +1886 -0
- package/dist/public/js/services/foundry-prompts-build.js +2187 -0
- package/dist/public/js/services/foundry-prompts-cortex-app.js +154 -0
- package/dist/public/js/services/foundry-prompts-cortex-data.js +241 -0
- package/dist/public/js/services/foundry-prompts-cortex-feature.js +281 -0
- package/dist/public/js/services/foundry-prompts-fix.js +408 -0
- package/dist/public/js/services/foundry-prompts-test.js +520 -0
- package/dist/public/js/services/foundry-prompts.js +31 -0
- package/dist/public/js/services/foundry-smoke.js +65 -0
- package/dist/public/js/services/foundry-testing.js +64 -0
- package/dist/public/js/services/foundry-validate.js +1082 -0
- package/dist/public/js/services/foundry.js +1194 -0
- package/dist/public/js/services/generator-context-bundle.js +134 -0
- package/dist/public/js/services/generator-contract.js +117 -0
- package/dist/public/js/services/generator-packaging.js +762 -0
- package/dist/public/js/services/generator-probe-reconcile.js +52 -0
- package/dist/public/js/services/generator-prompts-base.js +1890 -0
- package/dist/public/js/services/generator-prompts-build.js +1126 -0
- package/dist/public/js/services/generator-prompts-cortex-app.js +155 -0
- package/dist/public/js/services/generator-prompts-cortex-data.js +199 -0
- package/dist/public/js/services/generator-prompts-cortex-feature.js +276 -0
- package/dist/public/js/services/generator-prompts-fix.js +316 -0
- package/dist/public/js/services/generator-prompts-test.js +402 -0
- package/dist/public/js/services/generator-prompts.js +31 -0
- package/dist/public/js/services/generator-smoke.js +65 -0
- package/dist/public/js/services/generator-spec-tests.js +280 -0
- package/dist/public/js/services/generator-spec-validate.js +192 -0
- package/dist/public/js/services/generator-specs.js +369 -0
- package/dist/public/js/services/generator-testing.js +64 -0
- package/dist/public/js/services/generator-validate.js +916 -0
- package/dist/public/js/services/generator.js +952 -0
- package/dist/public/js/services/knowledge.js +120 -0
- package/dist/public/js/services/memory.js +112 -0
- package/dist/public/js/services/nodes.js +55 -0
- package/dist/public/js/services/organisms.js +74 -0
- package/dist/public/js/services/packages.js +97 -0
- package/dist/public/js/services/security.js +67 -0
- package/dist/public/js/services/stats.js +11 -0
- package/dist/public/js/services/wallet.js +24 -0
- package/dist/public/js/services/work.js +51 -0
- package/dist/public/js/utils.js +184 -0
- package/dist/public/lib/htm.mjs +4 -0
- package/dist/public/lib/live-updates.js +89 -0
- package/dist/public/lib/minidenticons.min.js +1 -0
- package/dist/public/lib/preact-hooks.mjs +3 -0
- package/dist/public/lib/preact.mjs +3 -0
- package/dist/public/lib/realtime.js +549 -0
- package/dist/public/lib/three.min.js +6 -0
- package/dist/public/lib/yaml.mjs +141 -0
- package/dist/public/llms-template.txt +1043 -0
- package/dist/public/oauth-consent.html +388 -0
- package/dist/public/og-image.png +0 -0
- package/dist/public/robots.txt +52 -0
- package/dist/public/spa.html +533 -0
- package/dist/public/sw.js +34 -0
- package/dist/public/tmp-paste.txt +223 -0
- package/dist/public/views/_template.js +85 -0
- package/dist/public/views/admin/actions-tab.js +41 -0
- package/dist/public/views/admin/agents-tab.js +84 -0
- package/dist/public/views/admin/boards-tab.js +154 -0
- package/dist/public/views/admin/chat-instances-tab.js +207 -0
- package/dist/public/views/admin/config-tab.js +151 -0
- package/dist/public/views/admin/consul-tab.js +77 -0
- package/dist/public/views/admin/cors-tab.js +240 -0
- package/dist/public/views/admin/cortex-tab.js +171 -0
- package/dist/public/views/admin/csm-tab.js +261 -0
- package/dist/public/views/admin/directory-tab.js +44 -0
- package/dist/public/views/admin/economy-tab.js +80 -0
- package/dist/public/views/admin/email-tab.js +460 -0
- package/dist/public/views/admin/federation-tab.js +412 -0
- package/dist/public/views/admin/generator-debug-tab.js +238 -0
- package/dist/public/views/admin/genesis-tab.js +70 -0
- package/dist/public/views/admin/ghii-tab.js +101 -0
- package/dist/public/views/admin/hooks-tab.js +69 -0
- package/dist/public/views/admin/knowledge-tab.js +297 -0
- package/dist/public/views/admin/maintenance-tab.js +98 -0
- package/dist/public/views/admin/matching-tab.js +44 -0
- package/dist/public/views/admin/memory-tab.js +222 -0
- package/dist/public/views/admin/msm-tab.js +342 -0
- package/dist/public/views/admin/overview-tab.js +90 -0
- package/dist/public/views/admin/owners-tab.js +55 -0
- package/dist/public/views/admin/packages-tab.js +510 -0
- package/dist/public/views/admin/portal-tab.js +211 -0
- package/dist/public/views/admin/prompts-tab.js +287 -0
- package/dist/public/views/admin/push-tab.js +291 -0
- package/dist/public/views/admin/realtime-tab.js +68 -0
- package/dist/public/views/admin/scheduler-tab.js +156 -0
- package/dist/public/views/admin/services-tab.js +981 -0
- package/dist/public/views/admin/shared.js +148 -0
- package/dist/public/views/admin/stats-tab.js +187 -0
- package/dist/public/views/admin/work-tab.js +45 -0
- package/dist/public/views/admin.js +400 -0
- package/dist/public/views/aimeat-os.js +259 -0
- package/dist/public/views/guides.js +402 -0
- package/dist/public/views/help.js +79 -0
- package/dist/public/views/hobbies.js +697 -0
- package/dist/public/views/marketplace.js +647 -0
- package/dist/public/views/openclaw.js +223 -0
- package/dist/public/views/portal-classic.js +519 -0
- package/dist/public/views/portal-dev.js +816 -0
- package/dist/public/views/portal.js +1354 -0
- package/dist/public/views/portfolio.js +795 -0
- package/dist/public/views/profile/access-tab.js +58 -0
- package/dist/public/views/profile/agents-tab.js +689 -0
- package/dist/public/views/profile/apps-tab.js +197 -0
- package/dist/public/views/profile/boards-tab.js +323 -0
- package/dist/public/views/profile/calibrator-batch.js +926 -0
- package/dist/public/views/profile/calibrator-chart.js +135 -0
- package/dist/public/views/profile/calibrator-llm-editor.js +205 -0
- package/dist/public/views/profile/calibrator-tab.js +535 -0
- package/dist/public/views/profile/chat-sessions-tab.js +184 -0
- package/dist/public/views/profile/data-wallet-tab.js +313 -0
- package/dist/public/views/profile/email-tab.js +157 -0
- package/dist/public/views/profile/extensions-tab.js +711 -0
- package/dist/public/views/profile/federation-tab.js +63 -0
- package/dist/public/views/profile/foundry-dashboard/DebugPanel.js +193 -0
- package/dist/public/views/profile/foundry-dashboard/DiagnosticsPanel.js +69 -0
- package/dist/public/views/profile/foundry-dashboard/EditModePanel.js +141 -0
- package/dist/public/views/profile/foundry-dashboard/PackageDialog.js +96 -0
- package/dist/public/views/profile/foundry-dashboard/RemovePanel.js +53 -0
- package/dist/public/views/profile/foundry-dashboard/use-autopilot-state.js +53 -0
- package/dist/public/views/profile/foundry-dashboard/use-autopilot.js +1016 -0
- package/dist/public/views/profile/foundry-dashboard/use-dashboard-core.js +154 -0
- package/dist/public/views/profile/foundry-dashboard/use-edit-mode.js +294 -0
- package/dist/public/views/profile/foundry-dashboard/use-lifecycle.js +101 -0
- package/dist/public/views/profile/foundry-dashboard/use-packaging.js +97 -0
- package/dist/public/views/profile/foundry-dashboard/use-test-execution.js +275 -0
- package/dist/public/views/profile/foundry-dashboard.js +395 -0
- package/dist/public/views/profile/foundry-detail.js +1178 -0
- package/dist/public/views/profile/foundry-settings.js +377 -0
- package/dist/public/views/profile/foundry-tab.js +546 -0
- package/dist/public/views/profile/generator-dashboard/DebugPanel.js +193 -0
- package/dist/public/views/profile/generator-dashboard/DiagnosticsPanel.js +69 -0
- package/dist/public/views/profile/generator-dashboard/EditModePanel.js +141 -0
- package/dist/public/views/profile/generator-dashboard/PackageDialog.js +96 -0
- package/dist/public/views/profile/generator-dashboard/RemovePanel.js +53 -0
- package/dist/public/views/profile/generator-dashboard/use-autopilot-state.js +53 -0
- package/dist/public/views/profile/generator-dashboard/use-autopilot.js +136 -0
- package/dist/public/views/profile/generator-dashboard/use-dashboard-core.js +143 -0
- package/dist/public/views/profile/generator-dashboard/use-edit-mode.js +296 -0
- package/dist/public/views/profile/generator-dashboard/use-lifecycle.js +101 -0
- package/dist/public/views/profile/generator-dashboard/use-packaging.js +97 -0
- package/dist/public/views/profile/generator-dashboard/use-test-execution.js +275 -0
- package/dist/public/views/profile/generator-dashboard.js +377 -0
- package/dist/public/views/profile/generator-detail.js +1007 -0
- package/dist/public/views/profile/generator-settings.js +417 -0
- package/dist/public/views/profile/generator-tab.js +544 -0
- package/dist/public/views/profile/inline-panels.js +277 -0
- package/dist/public/views/profile/knowledge-tab.js +735 -0
- package/dist/public/views/profile/landing-page.js +539 -0
- package/dist/public/views/profile/mcp-tab.js +140 -0
- package/dist/public/views/profile/memory-tab.js +599 -0
- package/dist/public/views/profile/node-stats-tab.js +132 -0
- package/dist/public/views/profile/nodes-tab.js +195 -0
- package/dist/public/views/profile/notifications-tab.js +274 -0
- package/dist/public/views/profile/organisms-tab.js +402 -0
- package/dist/public/views/profile/packages-tab.js +393 -0
- package/dist/public/views/profile/portfolio-tab.js +31 -0
- package/dist/public/views/profile/security-tab.js +219 -0
- package/dist/public/views/profile/services-tab.js +281 -0
- package/dist/public/views/profile/shared.js +58 -0
- package/dist/public/views/profile/wallet-tab.js +272 -0
- package/dist/public/views/profile/work-tab.js +220 -0
- package/dist/public/views/profile.js +271 -0
- package/dist/public/wizard.html +1320 -0
- package/dist/scripts/db-init.d.ts +19 -0
- package/dist/scripts/db-init.d.ts.map +1 -0
- package/dist/scripts/db-init.js +168 -0
- package/dist/scripts/db-init.js.map +1 -0
- package/dist/scripts/db-reset.d.ts +15 -0
- package/dist/scripts/db-reset.d.ts.map +1 -0
- package/dist/scripts/db-reset.js +162 -0
- package/dist/scripts/db-reset.js.map +1 -0
- package/dist/scripts/indexnow.d.ts +18 -0
- package/dist/scripts/indexnow.d.ts.map +1 -0
- package/dist/scripts/indexnow.js +104 -0
- package/dist/scripts/indexnow.js.map +1 -0
- package/dist/scripts/kill-port.d.ts +3 -0
- package/dist/scripts/kill-port.d.ts.map +1 -0
- package/dist/scripts/kill-port.js +89 -0
- package/dist/scripts/kill-port.js.map +1 -0
- package/dist/scripts/seed-digital-signage.d.ts +13 -0
- package/dist/scripts/seed-digital-signage.d.ts.map +1 -0
- package/dist/scripts/seed-digital-signage.js +85 -0
- package/dist/scripts/seed-digital-signage.js.map +1 -0
- package/dist/src/auth/jwt.d.ts +40 -0
- package/dist/src/auth/jwt.d.ts.map +1 -0
- package/dist/src/auth/jwt.js +139 -0
- package/dist/src/auth/jwt.js.map +1 -0
- package/dist/src/auth/keypair.d.ts +8 -0
- package/dist/src/auth/keypair.d.ts.map +1 -0
- package/dist/src/auth/keypair.js +35 -0
- package/dist/src/auth/keypair.js.map +1 -0
- package/dist/src/auth/middleware.d.ts +50 -0
- package/dist/src/auth/middleware.d.ts.map +1 -0
- package/dist/src/auth/middleware.js +241 -0
- package/dist/src/auth/middleware.js.map +1 -0
- package/dist/src/auth/node-keys.d.ts +7 -0
- package/dist/src/auth/node-keys.d.ts.map +1 -0
- package/dist/src/auth/node-keys.js +116 -0
- package/dist/src/auth/node-keys.js.map +1 -0
- package/dist/src/cli/config-export.d.ts +9 -0
- package/dist/src/cli/config-export.d.ts.map +1 -0
- package/dist/src/cli/config-export.js +90 -0
- package/dist/src/cli/config-export.js.map +1 -0
- package/dist/src/cli/config-import.d.ts +10 -0
- package/dist/src/cli/config-import.d.ts.map +1 -0
- package/dist/src/cli/config-import.js +124 -0
- package/dist/src/cli/config-import.js.map +1 -0
- package/dist/src/cli/federation-join.d.ts +13 -0
- package/dist/src/cli/federation-join.d.ts.map +1 -0
- package/dist/src/cli/federation-join.js +395 -0
- package/dist/src/cli/federation-join.js.map +1 -0
- package/dist/src/cli/init-wizard.d.ts +8 -0
- package/dist/src/cli/init-wizard.d.ts.map +1 -0
- package/dist/src/cli/init-wizard.js +1489 -0
- package/dist/src/cli/init-wizard.js.map +1 -0
- package/dist/src/cli/scaffold.d.ts +33 -0
- package/dist/src/cli/scaffold.d.ts.map +1 -0
- package/dist/src/cli/scaffold.js +142 -0
- package/dist/src/cli/scaffold.js.map +1 -0
- package/dist/src/config.d.ts +272 -0
- package/dist/src/config.d.ts.map +1 -0
- package/dist/src/config.js +362 -0
- package/dist/src/config.js.map +1 -0
- package/dist/src/data/example-packages.d.ts +49 -0
- package/dist/src/data/example-packages.d.ts.map +1 -0
- package/dist/src/data/example-packages.js +814 -0
- package/dist/src/data/example-packages.js.map +1 -0
- package/dist/src/i18n.d.ts +19 -0
- package/dist/src/i18n.d.ts.map +1 -0
- package/dist/src/i18n.js +126 -0
- package/dist/src/i18n.js.map +1 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +608 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/mcp/boards.d.ts +18 -0
- package/dist/src/mcp/boards.d.ts.map +1 -0
- package/dist/src/mcp/boards.js +279 -0
- package/dist/src/mcp/boards.js.map +1 -0
- package/dist/src/mcp/catalogue.d.ts +17 -0
- package/dist/src/mcp/catalogue.d.ts.map +1 -0
- package/dist/src/mcp/catalogue.js +114 -0
- package/dist/src/mcp/catalogue.js.map +1 -0
- package/dist/src/mcp/chat-instances.d.ts +18 -0
- package/dist/src/mcp/chat-instances.d.ts.map +1 -0
- package/dist/src/mcp/chat-instances.js +161 -0
- package/dist/src/mcp/chat-instances.js.map +1 -0
- package/dist/src/mcp/consent.d.ts +18 -0
- package/dist/src/mcp/consent.d.ts.map +1 -0
- package/dist/src/mcp/consent.js +158 -0
- package/dist/src/mcp/consent.js.map +1 -0
- package/dist/src/mcp/core.d.ts +18 -0
- package/dist/src/mcp/core.d.ts.map +1 -0
- package/dist/src/mcp/core.js +489 -0
- package/dist/src/mcp/core.js.map +1 -0
- package/dist/src/mcp/extensions.d.ts +18 -0
- package/dist/src/mcp/extensions.d.ts.map +1 -0
- package/dist/src/mcp/extensions.js +299 -0
- package/dist/src/mcp/extensions.js.map +1 -0
- package/dist/src/mcp/flags.d.ts +18 -0
- package/dist/src/mcp/flags.d.ts.map +1 -0
- package/dist/src/mcp/flags.js +59 -0
- package/dist/src/mcp/flags.js.map +1 -0
- package/dist/src/mcp/index.d.ts +31 -0
- package/dist/src/mcp/index.d.ts.map +1 -0
- package/dist/src/mcp/index.js +694 -0
- package/dist/src/mcp/index.js.map +1 -0
- package/dist/src/mcp/knowledge.d.ts +18 -0
- package/dist/src/mcp/knowledge.d.ts.map +1 -0
- package/dist/src/mcp/knowledge.js +214 -0
- package/dist/src/mcp/knowledge.js.map +1 -0
- package/dist/src/mcp/memory-extended.d.ts +18 -0
- package/dist/src/mcp/memory-extended.d.ts.map +1 -0
- package/dist/src/mcp/memory-extended.js +73 -0
- package/dist/src/mcp/memory-extended.js.map +1 -0
- package/dist/src/mcp/organisms.d.ts +18 -0
- package/dist/src/mcp/organisms.d.ts.map +1 -0
- package/dist/src/mcp/organisms.js +291 -0
- package/dist/src/mcp/organisms.js.map +1 -0
- package/dist/src/mcp/prompts.d.ts +17 -0
- package/dist/src/mcp/prompts.d.ts.map +1 -0
- package/dist/src/mcp/prompts.js +65 -0
- package/dist/src/mcp/prompts.js.map +1 -0
- package/dist/src/mcp/wallet-extended.d.ts +17 -0
- package/dist/src/mcp/wallet-extended.d.ts.map +1 -0
- package/dist/src/mcp/wallet-extended.js +42 -0
- package/dist/src/mcp/wallet-extended.js.map +1 -0
- package/dist/src/middleware/__tests__/cookie-consent.test.d.ts +2 -0
- package/dist/src/middleware/__tests__/cookie-consent.test.d.ts.map +1 -0
- package/dist/src/middleware/__tests__/cookie-consent.test.js +432 -0
- package/dist/src/middleware/__tests__/cookie-consent.test.js.map +1 -0
- package/dist/src/middleware/cookie-consent.d.ts +19 -0
- package/dist/src/middleware/cookie-consent.d.ts.map +1 -0
- package/dist/src/middleware/cookie-consent.js +127 -0
- package/dist/src/middleware/cookie-consent.js.map +1 -0
- package/dist/src/middleware/cors.d.ts +12 -0
- package/dist/src/middleware/cors.d.ts.map +1 -0
- package/dist/src/middleware/cors.js +112 -0
- package/dist/src/middleware/cors.js.map +1 -0
- package/dist/src/middleware/envelope.d.ts +33 -0
- package/dist/src/middleware/envelope.d.ts.map +1 -0
- package/dist/src/middleware/envelope.js +32 -0
- package/dist/src/middleware/envelope.js.map +1 -0
- package/dist/src/middleware/idempotency.d.ts +3 -0
- package/dist/src/middleware/idempotency.d.ts.map +1 -0
- package/dist/src/middleware/idempotency.js +64 -0
- package/dist/src/middleware/idempotency.js.map +1 -0
- package/dist/src/middleware/metrics.d.ts +8 -0
- package/dist/src/middleware/metrics.d.ts.map +1 -0
- package/dist/src/middleware/metrics.js +25 -0
- package/dist/src/middleware/metrics.js.map +1 -0
- package/dist/src/middleware/rate-limit.d.ts +4 -0
- package/dist/src/middleware/rate-limit.d.ts.map +1 -0
- package/dist/src/middleware/rate-limit.js +73 -0
- package/dist/src/middleware/rate-limit.js.map +1 -0
- package/dist/src/middleware/request-id.d.ts +18 -0
- package/dist/src/middleware/request-id.d.ts.map +1 -0
- package/dist/src/middleware/request-id.js +23 -0
- package/dist/src/middleware/request-id.js.map +1 -0
- package/dist/src/middleware/stats.d.ts +4 -0
- package/dist/src/middleware/stats.d.ts.map +1 -0
- package/dist/src/middleware/stats.js +11 -0
- package/dist/src/middleware/stats.js.map +1 -0
- package/dist/src/middleware/workspace-access.d.ts +16 -0
- package/dist/src/middleware/workspace-access.d.ts.map +1 -0
- package/dist/src/middleware/workspace-access.js +115 -0
- package/dist/src/middleware/workspace-access.js.map +1 -0
- package/dist/src/models/schemas.d.ts +311 -0
- package/dist/src/models/schemas.d.ts.map +1 -0
- package/dist/src/models/schemas.js +281 -0
- package/dist/src/models/schemas.js.map +1 -0
- package/dist/src/routes/actions.d.ts +5 -0
- package/dist/src/routes/actions.d.ts.map +1 -0
- package/dist/src/routes/actions.js +199 -0
- package/dist/src/routes/actions.js.map +1 -0
- package/dist/src/routes/admin-agents.d.ts +5 -0
- package/dist/src/routes/admin-agents.d.ts.map +1 -0
- package/dist/src/routes/admin-agents.js +60 -0
- package/dist/src/routes/admin-agents.js.map +1 -0
- package/dist/src/routes/admin-config.d.ts +7 -0
- package/dist/src/routes/admin-config.d.ts.map +1 -0
- package/dist/src/routes/admin-config.js +209 -0
- package/dist/src/routes/admin-config.js.map +1 -0
- package/dist/src/routes/admin-economy.d.ts +5 -0
- package/dist/src/routes/admin-economy.d.ts.map +1 -0
- package/dist/src/routes/admin-economy.js +57 -0
- package/dist/src/routes/admin-economy.js.map +1 -0
- package/dist/src/routes/admin-extensions.d.ts +6 -0
- package/dist/src/routes/admin-extensions.d.ts.map +1 -0
- package/dist/src/routes/admin-extensions.js +619 -0
- package/dist/src/routes/admin-extensions.js.map +1 -0
- package/dist/src/routes/admin-features.d.ts +16 -0
- package/dist/src/routes/admin-features.d.ts.map +1 -0
- package/dist/src/routes/admin-features.js +672 -0
- package/dist/src/routes/admin-features.js.map +1 -0
- package/dist/src/routes/admin-maintenance.d.ts +8 -0
- package/dist/src/routes/admin-maintenance.d.ts.map +1 -0
- package/dist/src/routes/admin-maintenance.js +86 -0
- package/dist/src/routes/admin-maintenance.js.map +1 -0
- package/dist/src/routes/admin-memory.d.ts +12 -0
- package/dist/src/routes/admin-memory.d.ts.map +1 -0
- package/dist/src/routes/admin-memory.js +64 -0
- package/dist/src/routes/admin-memory.js.map +1 -0
- package/dist/src/routes/admin-monitoring.d.ts +5 -0
- package/dist/src/routes/admin-monitoring.d.ts.map +1 -0
- package/dist/src/routes/admin-monitoring.js +343 -0
- package/dist/src/routes/admin-monitoring.js.map +1 -0
- package/dist/src/routes/admin-prompts.d.ts +5 -0
- package/dist/src/routes/admin-prompts.d.ts.map +1 -0
- package/dist/src/routes/admin-prompts.js +198 -0
- package/dist/src/routes/admin-prompts.js.map +1 -0
- package/dist/src/routes/admin-scheduler.d.ts +6 -0
- package/dist/src/routes/admin-scheduler.d.ts.map +1 -0
- package/dist/src/routes/admin-scheduler.js +153 -0
- package/dist/src/routes/admin-scheduler.js.map +1 -0
- package/dist/src/routes/admin.d.ts +10 -0
- package/dist/src/routes/admin.d.ts.map +1 -0
- package/dist/src/routes/admin.js +847 -0
- package/dist/src/routes/admin.js.map +1 -0
- package/dist/src/routes/agents.d.ts +5 -0
- package/dist/src/routes/agents.d.ts.map +1 -0
- package/dist/src/routes/agents.js +946 -0
- package/dist/src/routes/agents.js.map +1 -0
- package/dist/src/routes/app-store.d.ts +25 -0
- package/dist/src/routes/app-store.d.ts.map +1 -0
- package/dist/src/routes/app-store.js +269 -0
- package/dist/src/routes/app-store.js.map +1 -0
- package/dist/src/routes/appeals.d.ts +5 -0
- package/dist/src/routes/appeals.d.ts.map +1 -0
- package/dist/src/routes/appeals.js +241 -0
- package/dist/src/routes/appeals.js.map +1 -0
- package/dist/src/routes/apps.d.ts +14 -0
- package/dist/src/routes/apps.d.ts.map +1 -0
- package/dist/src/routes/apps.js +395 -0
- package/dist/src/routes/apps.js.map +1 -0
- package/dist/src/routes/auth.d.ts +13 -0
- package/dist/src/routes/auth.d.ts.map +1 -0
- package/dist/src/routes/auth.js +517 -0
- package/dist/src/routes/auth.js.map +1 -0
- package/dist/src/routes/boards.d.ts +5 -0
- package/dist/src/routes/boards.d.ts.map +1 -0
- package/dist/src/routes/boards.js +614 -0
- package/dist/src/routes/boards.js.map +1 -0
- package/dist/src/routes/bootstrap.d.ts +6 -0
- package/dist/src/routes/bootstrap.d.ts.map +1 -0
- package/dist/src/routes/bootstrap.js +360 -0
- package/dist/src/routes/bootstrap.js.map +1 -0
- package/dist/src/routes/calibrator.d.ts +28 -0
- package/dist/src/routes/calibrator.d.ts.map +1 -0
- package/dist/src/routes/calibrator.js +556 -0
- package/dist/src/routes/calibrator.js.map +1 -0
- package/dist/src/routes/catalogue.d.ts +7 -0
- package/dist/src/routes/catalogue.d.ts.map +1 -0
- package/dist/src/routes/catalogue.js +377 -0
- package/dist/src/routes/catalogue.js.map +1 -0
- package/dist/src/routes/chat-instances.d.ts +5 -0
- package/dist/src/routes/chat-instances.d.ts.map +1 -0
- package/dist/src/routes/chat-instances.js +131 -0
- package/dist/src/routes/chat-instances.js.map +1 -0
- package/dist/src/routes/consent.d.ts +6 -0
- package/dist/src/routes/consent.d.ts.map +1 -0
- package/dist/src/routes/consent.js +188 -0
- package/dist/src/routes/consent.js.map +1 -0
- package/dist/src/routes/cortex.d.ts +5 -0
- package/dist/src/routes/cortex.d.ts.map +1 -0
- package/dist/src/routes/cortex.js +617 -0
- package/dist/src/routes/cortex.js.map +1 -0
- package/dist/src/routes/csm.d.ts +5 -0
- package/dist/src/routes/csm.d.ts.map +1 -0
- package/dist/src/routes/csm.js +258 -0
- package/dist/src/routes/csm.js.map +1 -0
- package/dist/src/routes/disputes.d.ts +5 -0
- package/dist/src/routes/disputes.d.ts.map +1 -0
- package/dist/src/routes/disputes.js +528 -0
- package/dist/src/routes/disputes.js.map +1 -0
- package/dist/src/routes/extensions.d.ts +6 -0
- package/dist/src/routes/extensions.d.ts.map +1 -0
- package/dist/src/routes/extensions.js +1149 -0
- package/dist/src/routes/extensions.js.map +1 -0
- package/dist/src/routes/federation-genesis.d.ts +11 -0
- package/dist/src/routes/federation-genesis.d.ts.map +1 -0
- package/dist/src/routes/federation-genesis.js +638 -0
- package/dist/src/routes/federation-genesis.js.map +1 -0
- package/dist/src/routes/federation-peer.d.ts +10 -0
- package/dist/src/routes/federation-peer.d.ts.map +1 -0
- package/dist/src/routes/federation-peer.js +613 -0
- package/dist/src/routes/federation-peer.js.map +1 -0
- package/dist/src/routes/federation-settlements.d.ts +10 -0
- package/dist/src/routes/federation-settlements.d.ts.map +1 -0
- package/dist/src/routes/federation-settlements.js +231 -0
- package/dist/src/routes/federation-settlements.js.map +1 -0
- package/dist/src/routes/federation-sync.d.ts +15 -0
- package/dist/src/routes/federation-sync.d.ts.map +1 -0
- package/dist/src/routes/federation-sync.js +629 -0
- package/dist/src/routes/federation-sync.js.map +1 -0
- package/dist/src/routes/federation.d.ts +15 -0
- package/dist/src/routes/federation.d.ts.map +1 -0
- package/dist/src/routes/federation.js +23 -0
- package/dist/src/routes/federation.js.map +1 -0
- package/dist/src/routes/flags.d.ts +5 -0
- package/dist/src/routes/flags.d.ts.map +1 -0
- package/dist/src/routes/flags.js +194 -0
- package/dist/src/routes/flags.js.map +1 -0
- package/dist/src/routes/foundry.d.ts +5 -0
- package/dist/src/routes/foundry.d.ts.map +1 -0
- package/dist/src/routes/foundry.js +955 -0
- package/dist/src/routes/foundry.js.map +1 -0
- package/dist/src/routes/generator-autopilot.d.ts +12 -0
- package/dist/src/routes/generator-autopilot.d.ts.map +1 -0
- package/dist/src/routes/generator-autopilot.js +71 -0
- package/dist/src/routes/generator-autopilot.js.map +1 -0
- package/dist/src/routes/generator.d.ts +5 -0
- package/dist/src/routes/generator.d.ts.map +1 -0
- package/dist/src/routes/generator.js +1313 -0
- package/dist/src/routes/generator.js.map +1 -0
- package/dist/src/routes/ghii.d.ts +16 -0
- package/dist/src/routes/ghii.d.ts.map +1 -0
- package/dist/src/routes/ghii.js +1115 -0
- package/dist/src/routes/ghii.js.map +1 -0
- package/dist/src/routes/instances.d.ts +31 -0
- package/dist/src/routes/instances.d.ts.map +1 -0
- package/dist/src/routes/instances.js +722 -0
- package/dist/src/routes/instances.js.map +1 -0
- package/dist/src/routes/knowledge.d.ts +33 -0
- package/dist/src/routes/knowledge.d.ts.map +1 -0
- package/dist/src/routes/knowledge.js +1108 -0
- package/dist/src/routes/knowledge.js.map +1 -0
- package/dist/src/routes/lib-data.d.ts +7 -0
- package/dist/src/routes/lib-data.d.ts.map +1 -0
- package/dist/src/routes/lib-data.js +189 -0
- package/dist/src/routes/lib-data.js.map +1 -0
- package/dist/src/routes/lib-social.d.ts +7 -0
- package/dist/src/routes/lib-social.d.ts.map +1 -0
- package/dist/src/routes/lib-social.js +159 -0
- package/dist/src/routes/lib-social.js.map +1 -0
- package/dist/src/routes/lib-storage.d.ts +7 -0
- package/dist/src/routes/lib-storage.d.ts.map +1 -0
- package/dist/src/routes/lib-storage.js +202 -0
- package/dist/src/routes/lib-storage.js.map +1 -0
- package/dist/src/routes/lib-tunnel.d.ts +8 -0
- package/dist/src/routes/lib-tunnel.d.ts.map +1 -0
- package/dist/src/routes/lib-tunnel.js +442 -0
- package/dist/src/routes/lib-tunnel.js.map +1 -0
- package/dist/src/routes/lib-wallet.d.ts +7 -0
- package/dist/src/routes/lib-wallet.d.ts.map +1 -0
- package/dist/src/routes/lib-wallet.js +129 -0
- package/dist/src/routes/lib-wallet.js.map +1 -0
- package/dist/src/routes/lib-work.d.ts +7 -0
- package/dist/src/routes/lib-work.d.ts.map +1 -0
- package/dist/src/routes/lib-work.js +210 -0
- package/dist/src/routes/lib-work.js.map +1 -0
- package/dist/src/routes/libs.d.ts +10 -0
- package/dist/src/routes/libs.d.ts.map +1 -0
- package/dist/src/routes/libs.js +989 -0
- package/dist/src/routes/libs.js.map +1 -0
- package/dist/src/routes/matches.d.ts +10 -0
- package/dist/src/routes/matches.d.ts.map +1 -0
- package/dist/src/routes/matches.js +218 -0
- package/dist/src/routes/matches.js.map +1 -0
- package/dist/src/routes/memory.d.ts +6 -0
- package/dist/src/routes/memory.d.ts.map +1 -0
- package/dist/src/routes/memory.js +796 -0
- package/dist/src/routes/memory.js.map +1 -0
- package/dist/src/routes/micro-memory.d.ts +5 -0
- package/dist/src/routes/micro-memory.d.ts.map +1 -0
- package/dist/src/routes/micro-memory.js +488 -0
- package/dist/src/routes/micro-memory.js.map +1 -0
- package/dist/src/routes/msm.d.ts +5 -0
- package/dist/src/routes/msm.d.ts.map +1 -0
- package/dist/src/routes/msm.js +242 -0
- package/dist/src/routes/msm.js.map +1 -0
- package/dist/src/routes/openrouter.d.ts +23 -0
- package/dist/src/routes/openrouter.d.ts.map +1 -0
- package/dist/src/routes/openrouter.js +337 -0
- package/dist/src/routes/openrouter.js.map +1 -0
- package/dist/src/routes/organisms.d.ts +5 -0
- package/dist/src/routes/organisms.d.ts.map +1 -0
- package/dist/src/routes/organisms.js +415 -0
- package/dist/src/routes/organisms.js.map +1 -0
- package/dist/src/routes/owners.d.ts +5 -0
- package/dist/src/routes/owners.d.ts.map +1 -0
- package/dist/src/routes/owners.js +637 -0
- package/dist/src/routes/owners.js.map +1 -0
- package/dist/src/routes/packages.d.ts +35 -0
- package/dist/src/routes/packages.d.ts.map +1 -0
- package/dist/src/routes/packages.js +600 -0
- package/dist/src/routes/packages.js.map +1 -0
- package/dist/src/routes/permissions.d.ts +5 -0
- package/dist/src/routes/permissions.d.ts.map +1 -0
- package/dist/src/routes/permissions.js +85 -0
- package/dist/src/routes/permissions.js.map +1 -0
- package/dist/src/routes/personal.d.ts +7 -0
- package/dist/src/routes/personal.d.ts.map +1 -0
- package/dist/src/routes/personal.js +594 -0
- package/dist/src/routes/personal.js.map +1 -0
- package/dist/src/routes/portal-api.d.ts +9 -0
- package/dist/src/routes/portal-api.d.ts.map +1 -0
- package/dist/src/routes/portal-api.js +49 -0
- package/dist/src/routes/portal-api.js.map +1 -0
- package/dist/src/routes/portal-human.d.ts +12 -0
- package/dist/src/routes/portal-human.d.ts.map +1 -0
- package/dist/src/routes/portal-human.js +2652 -0
- package/dist/src/routes/portal-human.js.map +1 -0
- package/dist/src/routes/portal.d.ts +24 -0
- package/dist/src/routes/portal.d.ts.map +1 -0
- package/dist/src/routes/portal.js +372 -0
- package/dist/src/routes/portal.js.map +1 -0
- package/dist/src/routes/portfolio.d.ts +5 -0
- package/dist/src/routes/portfolio.d.ts.map +1 -0
- package/dist/src/routes/portfolio.js +231 -0
- package/dist/src/routes/portfolio.js.map +1 -0
- package/dist/src/routes/profile.d.ts +5 -0
- package/dist/src/routes/profile.d.ts.map +1 -0
- package/dist/src/routes/profile.js +2042 -0
- package/dist/src/routes/profile.js.map +1 -0
- package/dist/src/routes/prompts.d.ts +5 -0
- package/dist/src/routes/prompts.d.ts.map +1 -0
- package/dist/src/routes/prompts.js +318 -0
- package/dist/src/routes/prompts.js.map +1 -0
- package/dist/src/routes/push.d.ts +6 -0
- package/dist/src/routes/push.d.ts.map +1 -0
- package/dist/src/routes/push.js +75 -0
- package/dist/src/routes/push.js.map +1 -0
- package/dist/src/routes/realtime.d.ts +7 -0
- package/dist/src/routes/realtime.d.ts.map +1 -0
- package/dist/src/routes/realtime.js +289 -0
- package/dist/src/routes/realtime.js.map +1 -0
- package/dist/src/routes/schemas.d.ts +5 -0
- package/dist/src/routes/schemas.d.ts.map +1 -0
- package/dist/src/routes/schemas.js +130 -0
- package/dist/src/routes/schemas.js.map +1 -0
- package/dist/src/routes/setup.d.ts +7 -0
- package/dist/src/routes/setup.d.ts.map +1 -0
- package/dist/src/routes/setup.js +243 -0
- package/dist/src/routes/setup.js.map +1 -0
- package/dist/src/routes/site.d.ts +6 -0
- package/dist/src/routes/site.d.ts.map +1 -0
- package/dist/src/routes/site.js +201 -0
- package/dist/src/routes/site.js.map +1 -0
- package/dist/src/routes/spec.d.ts +3 -0
- package/dist/src/routes/spec.d.ts.map +1 -0
- package/dist/src/routes/spec.js +47 -0
- package/dist/src/routes/spec.js.map +1 -0
- package/dist/src/routes/sse.d.ts +5 -0
- package/dist/src/routes/sse.d.ts.map +1 -0
- package/dist/src/routes/sse.js +66 -0
- package/dist/src/routes/sse.js.map +1 -0
- package/dist/src/routes/stats.d.ts +7 -0
- package/dist/src/routes/stats.d.ts.map +1 -0
- package/dist/src/routes/stats.js +98 -0
- package/dist/src/routes/stats.js.map +1 -0
- package/dist/src/routes/storage-files.d.ts +5 -0
- package/dist/src/routes/storage-files.d.ts.map +1 -0
- package/dist/src/routes/storage-files.js +460 -0
- package/dist/src/routes/storage-files.js.map +1 -0
- package/dist/src/routes/templates.d.ts +30 -0
- package/dist/src/routes/templates.d.ts.map +1 -0
- package/dist/src/routes/templates.js +511 -0
- package/dist/src/routes/templates.js.map +1 -0
- package/dist/src/routes/totp.d.ts +5 -0
- package/dist/src/routes/totp.d.ts.map +1 -0
- package/dist/src/routes/totp.js +166 -0
- package/dist/src/routes/totp.js.map +1 -0
- package/dist/src/routes/validate.d.ts +4 -0
- package/dist/src/routes/validate.d.ts.map +1 -0
- package/dist/src/routes/validate.js +71 -0
- package/dist/src/routes/validate.js.map +1 -0
- package/dist/src/routes/verification.d.ts +8 -0
- package/dist/src/routes/verification.d.ts.map +1 -0
- package/dist/src/routes/verification.js +259 -0
- package/dist/src/routes/verification.js.map +1 -0
- package/dist/src/routes/wallet.d.ts +18 -0
- package/dist/src/routes/wallet.d.ts.map +1 -0
- package/dist/src/routes/wallet.js +164 -0
- package/dist/src/routes/wallet.js.map +1 -0
- package/dist/src/routes/wellknown.d.ts +5 -0
- package/dist/src/routes/wellknown.d.ts.map +1 -0
- package/dist/src/routes/wellknown.js +57 -0
- package/dist/src/routes/wellknown.js.map +1 -0
- package/dist/src/routes/work.d.ts +21 -0
- package/dist/src/routes/work.d.ts.map +1 -0
- package/dist/src/routes/work.js +654 -0
- package/dist/src/routes/work.js.map +1 -0
- package/dist/src/schemas/knowledge-package.d.ts +203 -0
- package/dist/src/schemas/knowledge-package.d.ts.map +1 -0
- package/dist/src/schemas/knowledge-package.js +233 -0
- package/dist/src/schemas/knowledge-package.js.map +1 -0
- package/dist/src/server-bootstrap/config-init.d.ts +16 -0
- package/dist/src/server-bootstrap/config-init.d.ts.map +1 -0
- package/dist/src/server-bootstrap/config-init.js +113 -0
- package/dist/src/server-bootstrap/config-init.js.map +1 -0
- package/dist/src/server-bootstrap/middleware-guards.d.ts +15 -0
- package/dist/src/server-bootstrap/middleware-guards.d.ts.map +1 -0
- package/dist/src/server-bootstrap/middleware-guards.js +244 -0
- package/dist/src/server-bootstrap/middleware-guards.js.map +1 -0
- package/dist/src/server-bootstrap/routes-loader.d.ts +35 -0
- package/dist/src/server-bootstrap/routes-loader.d.ts.map +1 -0
- package/dist/src/server-bootstrap/routes-loader.js +290 -0
- package/dist/src/server-bootstrap/routes-loader.js.map +1 -0
- package/dist/src/server-bootstrap/service-init.d.ts +24 -0
- package/dist/src/server-bootstrap/service-init.d.ts.map +1 -0
- package/dist/src/server-bootstrap/service-init.js +195 -0
- package/dist/src/server-bootstrap/service-init.js.map +1 -0
- package/dist/src/server-bootstrap/static-files.d.ts +7 -0
- package/dist/src/server-bootstrap/static-files.d.ts.map +1 -0
- package/dist/src/server-bootstrap/static-files.js +119 -0
- package/dist/src/server-bootstrap/static-files.js.map +1 -0
- package/dist/src/server.d.ts +22 -0
- package/dist/src/server.d.ts.map +1 -0
- package/dist/src/server.js +133 -0
- package/dist/src/server.js.map +1 -0
- package/dist/src/services/cache-cleanup.d.ts +31 -0
- package/dist/src/services/cache-cleanup.d.ts.map +1 -0
- package/dist/src/services/cache-cleanup.js +123 -0
- package/dist/src/services/cache-cleanup.js.map +1 -0
- package/dist/src/services/catalogue-sync.d.ts +45 -0
- package/dist/src/services/catalogue-sync.d.ts.map +1 -0
- package/dist/src/services/catalogue-sync.js +196 -0
- package/dist/src/services/catalogue-sync.js.map +1 -0
- package/dist/src/services/component-registrar.d.ts +46 -0
- package/dist/src/services/component-registrar.d.ts.map +1 -0
- package/dist/src/services/component-registrar.js +389 -0
- package/dist/src/services/component-registrar.js.map +1 -0
- package/dist/src/services/config-loader.d.ts +42 -0
- package/dist/src/services/config-loader.d.ts.map +1 -0
- package/dist/src/services/config-loader.js +187 -0
- package/dist/src/services/config-loader.js.map +1 -0
- package/dist/src/services/config-provenance.d.ts +32 -0
- package/dist/src/services/config-provenance.d.ts.map +1 -0
- package/dist/src/services/config-provenance.js +59 -0
- package/dist/src/services/config-provenance.js.map +1 -0
- package/dist/src/services/config-schema.d.ts +52 -0
- package/dist/src/services/config-schema.d.ts.map +1 -0
- package/dist/src/services/config-schema.js +288 -0
- package/dist/src/services/config-schema.js.map +1 -0
- package/dist/src/services/consent.d.ts +43 -0
- package/dist/src/services/consent.d.ts.map +1 -0
- package/dist/src/services/consent.js +137 -0
- package/dist/src/services/consent.js.map +1 -0
- package/dist/src/services/consul-config.d.ts +30 -0
- package/dist/src/services/consul-config.d.ts.map +1 -0
- package/dist/src/services/consul-config.js +110 -0
- package/dist/src/services/consul-config.js.map +1 -0
- package/dist/src/services/core-jobs.d.ts +8 -0
- package/dist/src/services/core-jobs.d.ts.map +1 -0
- package/dist/src/services/core-jobs.js +161 -0
- package/dist/src/services/core-jobs.js.map +1 -0
- package/dist/src/services/cortex-manifest.d.ts +17 -0
- package/dist/src/services/cortex-manifest.d.ts.map +1 -0
- package/dist/src/services/cortex-manifest.js +343 -0
- package/dist/src/services/cortex-manifest.js.map +1 -0
- package/dist/src/services/cortex-seeder.d.ts +18 -0
- package/dist/src/services/cortex-seeder.d.ts.map +1 -0
- package/dist/src/services/cortex-seeder.js +86 -0
- package/dist/src/services/cortex-seeder.js.map +1 -0
- package/dist/src/services/cross-node-matching.d.ts +23 -0
- package/dist/src/services/cross-node-matching.d.ts.map +1 -0
- package/dist/src/services/cross-node-matching.js +62 -0
- package/dist/src/services/cross-node-matching.js.map +1 -0
- package/dist/src/services/csm-parser.d.ts +57 -0
- package/dist/src/services/csm-parser.d.ts.map +1 -0
- package/dist/src/services/csm-parser.js +161 -0
- package/dist/src/services/csm-parser.js.map +1 -0
- package/dist/src/services/csm-seed.d.ts +15 -0
- package/dist/src/services/csm-seed.d.ts.map +1 -0
- package/dist/src/services/csm-seed.js +89 -0
- package/dist/src/services/csm-seed.js.map +1 -0
- package/dist/src/services/directory.d.ts +86 -0
- package/dist/src/services/directory.d.ts.map +1 -0
- package/dist/src/services/directory.js +307 -0
- package/dist/src/services/directory.js.map +1 -0
- package/dist/src/services/email-templates.d.ts +29 -0
- package/dist/src/services/email-templates.d.ts.map +1 -0
- package/dist/src/services/email-templates.js +204 -0
- package/dist/src/services/email-templates.js.map +1 -0
- package/dist/src/services/email.d.ts +18 -0
- package/dist/src/services/email.d.ts.map +1 -0
- package/dist/src/services/email.js +102 -0
- package/dist/src/services/email.js.map +1 -0
- package/dist/src/services/encryption.d.ts +31 -0
- package/dist/src/services/encryption.d.ts.map +1 -0
- package/dist/src/services/encryption.js +51 -0
- package/dist/src/services/encryption.js.map +1 -0
- package/dist/src/services/eudiw.d.ts +15 -0
- package/dist/src/services/eudiw.d.ts.map +1 -0
- package/dist/src/services/eudiw.js +89 -0
- package/dist/src/services/eudiw.js.map +1 -0
- package/dist/src/services/event-bus.d.ts +8 -0
- package/dist/src/services/event-bus.d.ts.map +1 -0
- package/dist/src/services/event-bus.js +13 -0
- package/dist/src/services/event-bus.js.map +1 -0
- package/dist/src/services/extension-runtime.d.ts +72 -0
- package/dist/src/services/extension-runtime.d.ts.map +1 -0
- package/dist/src/services/extension-runtime.js +282 -0
- package/dist/src/services/extension-runtime.js.map +1 -0
- package/dist/src/services/federation-helpers.d.ts +37 -0
- package/dist/src/services/federation-helpers.d.ts.map +1 -0
- package/dist/src/services/federation-helpers.js +100 -0
- package/dist/src/services/federation-helpers.js.map +1 -0
- package/dist/src/services/federation.d.ts +32 -0
- package/dist/src/services/federation.d.ts.map +1 -0
- package/dist/src/services/federation.js +201 -0
- package/dist/src/services/federation.js.map +1 -0
- package/dist/src/services/foundry-debug.d.ts +77 -0
- package/dist/src/services/foundry-debug.d.ts.map +1 -0
- package/dist/src/services/foundry-debug.js +214 -0
- package/dist/src/services/foundry-debug.js.map +1 -0
- package/dist/src/services/foundry-registration.d.ts +42 -0
- package/dist/src/services/foundry-registration.d.ts.map +1 -0
- package/dist/src/services/foundry-registration.js +330 -0
- package/dist/src/services/foundry-registration.js.map +1 -0
- package/dist/src/services/foundry-testing.d.ts +90 -0
- package/dist/src/services/foundry-testing.d.ts.map +1 -0
- package/dist/src/services/foundry-testing.js +253 -0
- package/dist/src/services/foundry-testing.js.map +1 -0
- package/dist/src/services/foundry-validate.d.ts +115 -0
- package/dist/src/services/foundry-validate.d.ts.map +1 -0
- package/dist/src/services/foundry-validate.js +781 -0
- package/dist/src/services/foundry-validate.js.map +1 -0
- package/dist/src/services/generator-autopilot.d.ts +37 -0
- package/dist/src/services/generator-autopilot.d.ts.map +1 -0
- package/dist/src/services/generator-autopilot.js +1076 -0
- package/dist/src/services/generator-autopilot.js.map +1 -0
- package/dist/src/services/generator-debug.d.ts +79 -0
- package/dist/src/services/generator-debug.d.ts.map +1 -0
- package/dist/src/services/generator-debug.js +218 -0
- package/dist/src/services/generator-debug.js.map +1 -0
- package/dist/src/services/generator-prompt-seeds.d.ts +13 -0
- package/dist/src/services/generator-prompt-seeds.d.ts.map +1 -0
- package/dist/src/services/generator-prompt-seeds.js +2694 -0
- package/dist/src/services/generator-prompt-seeds.js.map +1 -0
- package/dist/src/services/generator-prompts/bundle.d.ts +17 -0
- package/dist/src/services/generator-prompts/bundle.d.ts.map +1 -0
- package/dist/src/services/generator-prompts/bundle.js +95 -0
- package/dist/src/services/generator-prompts/bundle.js.map +1 -0
- package/dist/src/services/generator-prompts/index.d.ts +48 -0
- package/dist/src/services/generator-prompts/index.d.ts.map +1 -0
- package/dist/src/services/generator-prompts/index.js +97 -0
- package/dist/src/services/generator-prompts/index.js.map +1 -0
- package/dist/src/services/generator-prompts/resolvers.d.ts +21 -0
- package/dist/src/services/generator-prompts/resolvers.d.ts.map +1 -0
- package/dist/src/services/generator-prompts/resolvers.js +1553 -0
- package/dist/src/services/generator-prompts/resolvers.js.map +1 -0
- package/dist/src/services/generator-prompts/spec-validate.d.ts +29 -0
- package/dist/src/services/generator-prompts/spec-validate.d.ts.map +1 -0
- package/dist/src/services/generator-prompts/spec-validate.js +190 -0
- package/dist/src/services/generator-prompts/spec-validate.js.map +1 -0
- package/dist/src/services/generator-prompts/strip.d.ts +13 -0
- package/dist/src/services/generator-prompts/strip.d.ts.map +1 -0
- package/dist/src/services/generator-prompts/strip.js +60 -0
- package/dist/src/services/generator-prompts/strip.js.map +1 -0
- package/dist/src/services/generator-prompts/types.d.ts +229 -0
- package/dist/src/services/generator-prompts/types.d.ts.map +1 -0
- package/dist/src/services/generator-prompts/types.js +8 -0
- package/dist/src/services/generator-prompts/types.js.map +1 -0
- package/dist/src/services/generator-prompts/validate.d.ts +48 -0
- package/dist/src/services/generator-prompts/validate.d.ts.map +1 -0
- package/dist/src/services/generator-prompts/validate.js +927 -0
- package/dist/src/services/generator-prompts/validate.js.map +1 -0
- package/dist/src/services/generator-registration.d.ts +43 -0
- package/dist/src/services/generator-registration.d.ts.map +1 -0
- package/dist/src/services/generator-registration.js +343 -0
- package/dist/src/services/generator-registration.js.map +1 -0
- package/dist/src/services/generator-testing.d.ts +93 -0
- package/dist/src/services/generator-testing.d.ts.map +1 -0
- package/dist/src/services/generator-testing.js +300 -0
- package/dist/src/services/generator-testing.js.map +1 -0
- package/dist/src/services/generator-validate.d.ts +117 -0
- package/dist/src/services/generator-validate.d.ts.map +1 -0
- package/dist/src/services/generator-validate.js +790 -0
- package/dist/src/services/generator-validate.js.map +1 -0
- package/dist/src/services/genesis-peering.d.ts +12 -0
- package/dist/src/services/genesis-peering.d.ts.map +1 -0
- package/dist/src/services/genesis-peering.js +91 -0
- package/dist/src/services/genesis-peering.js.map +1 -0
- package/dist/src/services/genesis-sync.d.ts +29 -0
- package/dist/src/services/genesis-sync.d.ts.map +1 -0
- package/dist/src/services/genesis-sync.js +370 -0
- package/dist/src/services/genesis-sync.js.map +1 -0
- package/dist/src/services/hooks.d.ts +21 -0
- package/dist/src/services/hooks.d.ts.map +1 -0
- package/dist/src/services/hooks.js +85 -0
- package/dist/src/services/hooks.js.map +1 -0
- package/dist/src/services/job-seeding.d.ts +7 -0
- package/dist/src/services/job-seeding.d.ts.map +1 -0
- package/dist/src/services/job-seeding.js +39 -0
- package/dist/src/services/job-seeding.js.map +1 -0
- package/dist/src/services/knowledge.d.ts +13 -0
- package/dist/src/services/knowledge.d.ts.map +1 -0
- package/dist/src/services/knowledge.js +15 -0
- package/dist/src/services/knowledge.js.map +1 -0
- package/dist/src/services/mailbox-notification.d.ts +37 -0
- package/dist/src/services/mailbox-notification.d.ts.map +1 -0
- package/dist/src/services/mailbox-notification.js +249 -0
- package/dist/src/services/mailbox-notification.js.map +1 -0
- package/dist/src/services/mailbox.d.ts +16 -0
- package/dist/src/services/mailbox.d.ts.map +1 -0
- package/dist/src/services/mailbox.js +77 -0
- package/dist/src/services/mailbox.js.map +1 -0
- package/dist/src/services/match-notification.d.ts +12 -0
- package/dist/src/services/match-notification.d.ts.map +1 -0
- package/dist/src/services/match-notification.js +121 -0
- package/dist/src/services/match-notification.js.map +1 -0
- package/dist/src/services/matching.d.ts +54 -0
- package/dist/src/services/matching.d.ts.map +1 -0
- package/dist/src/services/matching.js +293 -0
- package/dist/src/services/matching.js.map +1 -0
- package/dist/src/services/memory-replication.d.ts +43 -0
- package/dist/src/services/memory-replication.d.ts.map +1 -0
- package/dist/src/services/memory-replication.js +213 -0
- package/dist/src/services/memory-replication.js.map +1 -0
- package/dist/src/services/morsel.d.ts +49 -0
- package/dist/src/services/morsel.d.ts.map +1 -0
- package/dist/src/services/morsel.js +174 -0
- package/dist/src/services/morsel.js.map +1 -0
- package/dist/src/services/msm-parser.d.ts +55 -0
- package/dist/src/services/msm-parser.d.ts.map +1 -0
- package/dist/src/services/msm-parser.js +186 -0
- package/dist/src/services/msm-parser.js.map +1 -0
- package/dist/src/services/mydata-receipt.d.ts +29 -0
- package/dist/src/services/mydata-receipt.d.ts.map +1 -0
- package/dist/src/services/mydata-receipt.js +31 -0
- package/dist/src/services/mydata-receipt.js.map +1 -0
- package/dist/src/services/notification-templates.d.ts +40 -0
- package/dist/src/services/notification-templates.d.ts.map +1 -0
- package/dist/src/services/notification-templates.js +109 -0
- package/dist/src/services/notification-templates.js.map +1 -0
- package/dist/src/services/openrouter.d.ts +30 -0
- package/dist/src/services/openrouter.d.ts.map +1 -0
- package/dist/src/services/openrouter.js +95 -0
- package/dist/src/services/openrouter.js.map +1 -0
- package/dist/src/services/organism-reputation.d.ts +7 -0
- package/dist/src/services/organism-reputation.d.ts.map +1 -0
- package/dist/src/services/organism-reputation.js +107 -0
- package/dist/src/services/organism-reputation.js.map +1 -0
- package/dist/src/services/package-hash.d.ts +19 -0
- package/dist/src/services/package-hash.d.ts.map +1 -0
- package/dist/src/services/package-hash.js +22 -0
- package/dist/src/services/package-hash.js.map +1 -0
- package/dist/src/services/package-zip.d.ts +60 -0
- package/dist/src/services/package-zip.d.ts.map +1 -0
- package/dist/src/services/package-zip.js +267 -0
- package/dist/src/services/package-zip.js.map +1 -0
- package/dist/src/services/password.d.ts +9 -0
- package/dist/src/services/password.d.ts.map +1 -0
- package/dist/src/services/password.js +32 -0
- package/dist/src/services/password.js.map +1 -0
- package/dist/src/services/personal-routing.d.ts +21 -0
- package/dist/src/services/personal-routing.d.ts.map +1 -0
- package/dist/src/services/personal-routing.js +77 -0
- package/dist/src/services/personal-routing.js.map +1 -0
- package/dist/src/services/personal-tunnel.d.ts +39 -0
- package/dist/src/services/personal-tunnel.d.ts.map +1 -0
- package/dist/src/services/personal-tunnel.js +371 -0
- package/dist/src/services/personal-tunnel.js.map +1 -0
- package/dist/src/services/profile-schemas.d.ts +12 -0
- package/dist/src/services/profile-schemas.d.ts.map +1 -0
- package/dist/src/services/profile-schemas.js +100 -0
- package/dist/src/services/profile-schemas.js.map +1 -0
- package/dist/src/services/prometheus.d.ts +32 -0
- package/dist/src/services/prometheus.d.ts.map +1 -0
- package/dist/src/services/prometheus.js +162 -0
- package/dist/src/services/prometheus.js.map +1 -0
- package/dist/src/services/prompt-defaults.d.ts +33 -0
- package/dist/src/services/prompt-defaults.d.ts.map +1 -0
- package/dist/src/services/prompt-defaults.js +1675 -0
- package/dist/src/services/prompt-defaults.js.map +1 -0
- package/dist/src/services/prompt-seeder.d.ts +8 -0
- package/dist/src/services/prompt-seeder.d.ts.map +1 -0
- package/dist/src/services/prompt-seeder.js +65 -0
- package/dist/src/services/prompt-seeder.js.map +1 -0
- package/dist/src/services/prompt-variables.d.ts +15 -0
- package/dist/src/services/prompt-variables.d.ts.map +1 -0
- package/dist/src/services/prompt-variables.js +34 -0
- package/dist/src/services/prompt-variables.js.map +1 -0
- package/dist/src/services/push.d.ts +26 -0
- package/dist/src/services/push.d.ts.map +1 -0
- package/dist/src/services/push.js +70 -0
- package/dist/src/services/push.js.map +1 -0
- package/dist/src/services/quota.d.ts +45 -0
- package/dist/src/services/quota.d.ts.map +1 -0
- package/dist/src/services/quota.js +129 -0
- package/dist/src/services/quota.js.map +1 -0
- package/dist/src/services/realtime-manager.d.ts +144 -0
- package/dist/src/services/realtime-manager.d.ts.map +1 -0
- package/dist/src/services/realtime-manager.js +640 -0
- package/dist/src/services/realtime-manager.js.map +1 -0
- package/dist/src/services/scheduler.d.ts +55 -0
- package/dist/src/services/scheduler.d.ts.map +1 -0
- package/dist/src/services/scheduler.js +420 -0
- package/dist/src/services/scheduler.js.map +1 -0
- package/dist/src/services/schema-validator.d.ts +20 -0
- package/dist/src/services/schema-validator.d.ts.map +1 -0
- package/dist/src/services/schema-validator.js +68 -0
- package/dist/src/services/schema-validator.js.map +1 -0
- package/dist/src/services/site-sync.d.ts +15 -0
- package/dist/src/services/site-sync.d.ts.map +1 -0
- package/dist/src/services/site-sync.js +99 -0
- package/dist/src/services/site-sync.js.map +1 -0
- package/dist/src/services/site.d.ts +65 -0
- package/dist/src/services/site.d.ts.map +1 -0
- package/dist/src/services/site.js +378 -0
- package/dist/src/services/site.js.map +1 -0
- package/dist/src/services/stats.d.ts +75 -0
- package/dist/src/services/stats.d.ts.map +1 -0
- package/dist/src/services/stats.js +124 -0
- package/dist/src/services/stats.js.map +1 -0
- package/dist/src/services/sync-health.d.ts +53 -0
- package/dist/src/services/sync-health.d.ts.map +1 -0
- package/dist/src/services/sync-health.js +122 -0
- package/dist/src/services/sync-health.js.map +1 -0
- package/dist/src/services/sync-scheduler.d.ts +25 -0
- package/dist/src/services/sync-scheduler.d.ts.map +1 -0
- package/dist/src/services/sync-scheduler.js +211 -0
- package/dist/src/services/sync-scheduler.js.map +1 -0
- package/dist/src/services/totp.d.ts +31 -0
- package/dist/src/services/totp.d.ts.map +1 -0
- package/dist/src/services/totp.js +96 -0
- package/dist/src/services/totp.js.map +1 -0
- package/dist/src/services/trust-broadcast.d.ts +37 -0
- package/dist/src/services/trust-broadcast.d.ts.map +1 -0
- package/dist/src/services/trust-broadcast.js +107 -0
- package/dist/src/services/trust-broadcast.js.map +1 -0
- package/dist/src/services/trust.d.ts +16 -0
- package/dist/src/services/trust.d.ts.map +1 -0
- package/dist/src/services/trust.js +109 -0
- package/dist/src/services/trust.js.map +1 -0
- package/dist/src/services/vc-issuer.d.ts +14 -0
- package/dist/src/services/vc-issuer.d.ts.map +1 -0
- package/dist/src/services/vc-issuer.js +24 -0
- package/dist/src/services/vc-issuer.js.map +1 -0
- package/dist/src/storage/interface.d.ts +1161 -0
- package/dist/src/storage/interface.d.ts.map +1 -0
- package/dist/src/storage/interface.js +2 -0
- package/dist/src/storage/interface.js.map +1 -0
- package/dist/src/storage/pattern-utils.d.ts +20 -0
- package/dist/src/storage/pattern-utils.d.ts.map +1 -0
- package/dist/src/storage/pattern-utils.js +57 -0
- package/dist/src/storage/pattern-utils.js.map +1 -0
- package/dist/src/storage/providers/mongodb/index.d.ts +608 -0
- package/dist/src/storage/providers/mongodb/index.d.ts.map +1 -0
- package/dist/src/storage/providers/mongodb/index.js +4931 -0
- package/dist/src/storage/providers/mongodb/index.js.map +1 -0
- package/dist/src/storage/providers/sqlite/index.d.ts +602 -0
- package/dist/src/storage/providers/sqlite/index.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/index.js +4156 -0
- package/dist/src/storage/providers/sqlite/index.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/action.d.ts +13 -0
- package/dist/src/storage/providers/sqlite/repos/action.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/action.js +79 -0
- package/dist/src/storage/providers/sqlite/repos/action.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/agent.d.ts +13 -0
- package/dist/src/storage/providers/sqlite/repos/agent.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/agent.js +103 -0
- package/dist/src/storage/providers/sqlite/repos/agent.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/auth.d.ts +56 -0
- package/dist/src/storage/providers/sqlite/repos/auth.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/auth.js +282 -0
- package/dist/src/storage/providers/sqlite/repos/auth.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/board.d.ts +24 -0
- package/dist/src/storage/providers/sqlite/repos/board.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/board.js +154 -0
- package/dist/src/storage/providers/sqlite/repos/board.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/community.d.ts +33 -0
- package/dist/src/storage/providers/sqlite/repos/community.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/community.js +202 -0
- package/dist/src/storage/providers/sqlite/repos/community.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/consent.d.ts +23 -0
- package/dist/src/storage/providers/sqlite/repos/consent.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/consent.js +187 -0
- package/dist/src/storage/providers/sqlite/repos/consent.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/dispute.d.ts +20 -0
- package/dist/src/storage/providers/sqlite/repos/dispute.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/dispute.js +118 -0
- package/dist/src/storage/providers/sqlite/repos/dispute.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/flag.d.ts +26 -0
- package/dist/src/storage/providers/sqlite/repos/flag.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/flag.js +147 -0
- package/dist/src/storage/providers/sqlite/repos/flag.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/identity.d.ts +36 -0
- package/dist/src/storage/providers/sqlite/repos/identity.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/identity.js +297 -0
- package/dist/src/storage/providers/sqlite/repos/identity.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/mailbox.d.ts +18 -0
- package/dist/src/storage/providers/sqlite/repos/mailbox.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/mailbox.js +91 -0
- package/dist/src/storage/providers/sqlite/repos/mailbox.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/memory.d.ts +28 -0
- package/dist/src/storage/providers/sqlite/repos/memory.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/memory.js +152 -0
- package/dist/src/storage/providers/sqlite/repos/memory.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/owner.d.ts +14 -0
- package/dist/src/storage/providers/sqlite/repos/owner.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/owner.js +124 -0
- package/dist/src/storage/providers/sqlite/repos/owner.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/service-manifest.d.ts +17 -0
- package/dist/src/storage/providers/sqlite/repos/service-manifest.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/service-manifest.js +114 -0
- package/dist/src/storage/providers/sqlite/repos/service-manifest.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/storage-file.d.ts +19 -0
- package/dist/src/storage/providers/sqlite/repos/storage-file.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/storage-file.js +128 -0
- package/dist/src/storage/providers/sqlite/repos/storage-file.js.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/work.d.ts +13 -0
- package/dist/src/storage/providers/sqlite/repos/work.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/repos/work.js +86 -0
- package/dist/src/storage/providers/sqlite/repos/work.js.map +1 -0
- package/dist/src/storage/providers/sqlite/schema.d.ts +7 -0
- package/dist/src/storage/providers/sqlite/schema.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/schema.js +1090 -0
- package/dist/src/storage/providers/sqlite/schema.js.map +1 -0
- package/dist/src/storage/repositories/action.repository.d.ts +14 -0
- package/dist/src/storage/repositories/action.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/action.repository.js +2 -0
- package/dist/src/storage/repositories/action.repository.js.map +1 -0
- package/dist/src/storage/repositories/agent.repository.d.ts +18 -0
- package/dist/src/storage/repositories/agent.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/agent.repository.js +2 -0
- package/dist/src/storage/repositories/agent.repository.js.map +1 -0
- package/dist/src/storage/repositories/app-marketplace.repository.d.ts +9 -0
- package/dist/src/storage/repositories/app-marketplace.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/app-marketplace.repository.js +2 -0
- package/dist/src/storage/repositories/app-marketplace.repository.js.map +1 -0
- package/dist/src/storage/repositories/app.repository.d.ts +17 -0
- package/dist/src/storage/repositories/app.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/app.repository.js +2 -0
- package/dist/src/storage/repositories/app.repository.js.map +1 -0
- package/dist/src/storage/repositories/auth.repository.d.ts +6 -0
- package/dist/src/storage/repositories/auth.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/auth.repository.js +2 -0
- package/dist/src/storage/repositories/auth.repository.js.map +1 -0
- package/dist/src/storage/repositories/board.repository.d.ts +27 -0
- package/dist/src/storage/repositories/board.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/board.repository.js +2 -0
- package/dist/src/storage/repositories/board.repository.js.map +1 -0
- package/dist/src/storage/repositories/catalogue.repository.d.ts +18 -0
- package/dist/src/storage/repositories/catalogue.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/catalogue.repository.js +2 -0
- package/dist/src/storage/repositories/catalogue.repository.js.map +1 -0
- package/dist/src/storage/repositories/config.repository.d.ts +17 -0
- package/dist/src/storage/repositories/config.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/config.repository.js +2 -0
- package/dist/src/storage/repositories/config.repository.js.map +1 -0
- package/dist/src/storage/repositories/consent.repository.d.ts +19 -0
- package/dist/src/storage/repositories/consent.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/consent.repository.js +2 -0
- package/dist/src/storage/repositories/consent.repository.js.map +1 -0
- package/dist/src/storage/repositories/device-auth.repository.d.ts +11 -0
- package/dist/src/storage/repositories/device-auth.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/device-auth.repository.js +2 -0
- package/dist/src/storage/repositories/device-auth.repository.js.map +1 -0
- package/dist/src/storage/repositories/dispute.repository.d.ts +12 -0
- package/dist/src/storage/repositories/dispute.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/dispute.repository.js +2 -0
- package/dist/src/storage/repositories/dispute.repository.js.map +1 -0
- package/dist/src/storage/repositories/extension-instance.repository.d.ts +9 -0
- package/dist/src/storage/repositories/extension-instance.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/extension-instance.repository.js +2 -0
- package/dist/src/storage/repositories/extension-instance.repository.js.map +1 -0
- package/dist/src/storage/repositories/federation.repository.d.ts +37 -0
- package/dist/src/storage/repositories/federation.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/federation.repository.js +2 -0
- package/dist/src/storage/repositories/federation.repository.js.map +1 -0
- package/dist/src/storage/repositories/file.repository.d.ts +14 -0
- package/dist/src/storage/repositories/file.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/file.repository.js +2 -0
- package/dist/src/storage/repositories/file.repository.js.map +1 -0
- package/dist/src/storage/repositories/identity.repository.d.ts +29 -0
- package/dist/src/storage/repositories/identity.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/identity.repository.js +2 -0
- package/dist/src/storage/repositories/identity.repository.js.map +1 -0
- package/dist/src/storage/repositories/index.d.ts +34 -0
- package/dist/src/storage/repositories/index.d.ts.map +1 -0
- package/dist/src/storage/repositories/index.js +2 -0
- package/dist/src/storage/repositories/index.js.map +1 -0
- package/dist/src/storage/repositories/knowledge.repository.d.ts +18 -0
- package/dist/src/storage/repositories/knowledge.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/knowledge.repository.js +2 -0
- package/dist/src/storage/repositories/knowledge.repository.js.map +1 -0
- package/dist/src/storage/repositories/marketplace.repository.d.ts +23 -0
- package/dist/src/storage/repositories/marketplace.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/marketplace.repository.js +2 -0
- package/dist/src/storage/repositories/marketplace.repository.js.map +1 -0
- package/dist/src/storage/repositories/memory.repository.d.ts +32 -0
- package/dist/src/storage/repositories/memory.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/memory.repository.js +2 -0
- package/dist/src/storage/repositories/memory.repository.js.map +1 -0
- package/dist/src/storage/repositories/micro-memory.repository.d.ts +10 -0
- package/dist/src/storage/repositories/micro-memory.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/micro-memory.repository.js +2 -0
- package/dist/src/storage/repositories/micro-memory.repository.js.map +1 -0
- package/dist/src/storage/repositories/moderation.repository.d.ts +36 -0
- package/dist/src/storage/repositories/moderation.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/moderation.repository.js +2 -0
- package/dist/src/storage/repositories/moderation.repository.js.map +1 -0
- package/dist/src/storage/repositories/node.repository.d.ts +59 -0
- package/dist/src/storage/repositories/node.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/node.repository.js +2 -0
- package/dist/src/storage/repositories/node.repository.js.map +1 -0
- package/dist/src/storage/repositories/notification-template.repository.d.ts +8 -0
- package/dist/src/storage/repositories/notification-template.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/notification-template.repository.js +2 -0
- package/dist/src/storage/repositories/notification-template.repository.js.map +1 -0
- package/dist/src/storage/repositories/notification.repository.d.ts +14 -0
- package/dist/src/storage/repositories/notification.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/notification.repository.js +2 -0
- package/dist/src/storage/repositories/notification.repository.js.map +1 -0
- package/dist/src/storage/repositories/oauth.repository.d.ts +19 -0
- package/dist/src/storage/repositories/oauth.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/oauth.repository.js +2 -0
- package/dist/src/storage/repositories/oauth.repository.js.map +1 -0
- package/dist/src/storage/repositories/organism.repository.d.ts +34 -0
- package/dist/src/storage/repositories/organism.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/organism.repository.js +2 -0
- package/dist/src/storage/repositories/organism.repository.js.map +1 -0
- package/dist/src/storage/repositories/otk.repository.d.ts +9 -0
- package/dist/src/storage/repositories/otk.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/otk.repository.js +2 -0
- package/dist/src/storage/repositories/otk.repository.js.map +1 -0
- package/dist/src/storage/repositories/owner.repository.d.ts +9 -0
- package/dist/src/storage/repositories/owner.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/owner.repository.js +2 -0
- package/dist/src/storage/repositories/owner.repository.js.map +1 -0
- package/dist/src/storage/repositories/package-instance.repository.d.ts +26 -0
- package/dist/src/storage/repositories/package-instance.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/package-instance.repository.js +12 -0
- package/dist/src/storage/repositories/package-instance.repository.js.map +1 -0
- package/dist/src/storage/repositories/package.repository.d.ts +28 -0
- package/dist/src/storage/repositories/package.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/package.repository.js +12 -0
- package/dist/src/storage/repositories/package.repository.js.map +1 -0
- package/dist/src/storage/repositories/replication-queue.repository.d.ts +10 -0
- package/dist/src/storage/repositories/replication-queue.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/replication-queue.repository.js +2 -0
- package/dist/src/storage/repositories/replication-queue.repository.js.map +1 -0
- package/dist/src/storage/repositories/scheduler.repository.d.ts +30 -0
- package/dist/src/storage/repositories/scheduler.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/scheduler.repository.js +2 -0
- package/dist/src/storage/repositories/scheduler.repository.js.map +1 -0
- package/dist/src/storage/repositories/schema.repository.d.ts +9 -0
- package/dist/src/storage/repositories/schema.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/schema.repository.js +2 -0
- package/dist/src/storage/repositories/schema.repository.js.map +1 -0
- package/dist/src/storage/repositories/session.repository.d.ts +22 -0
- package/dist/src/storage/repositories/session.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/session.repository.js +2 -0
- package/dist/src/storage/repositories/session.repository.js.map +1 -0
- package/dist/src/storage/repositories/system-prompt.repository.d.ts +14 -0
- package/dist/src/storage/repositories/system-prompt.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/system-prompt.repository.js +2 -0
- package/dist/src/storage/repositories/system-prompt.repository.js.map +1 -0
- package/dist/src/storage/repositories/template-listing.repository.d.ts +44 -0
- package/dist/src/storage/repositories/template-listing.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/template-listing.repository.js +13 -0
- package/dist/src/storage/repositories/template-listing.repository.js.map +1 -0
- package/dist/src/storage/repositories/wallet.repository.d.ts +8 -0
- package/dist/src/storage/repositories/wallet.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/wallet.repository.js +2 -0
- package/dist/src/storage/repositories/wallet.repository.js.map +1 -0
- package/dist/src/storage/repositories/work.repository.d.ts +10 -0
- package/dist/src/storage/repositories/work.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/work.repository.js +2 -0
- package/dist/src/storage/repositories/work.repository.js.map +1 -0
- package/dist/src/storage/storage-factory.d.ts +9 -0
- package/dist/src/storage/storage-factory.d.ts.map +1 -0
- package/dist/src/storage/storage-factory.js +20 -0
- package/dist/src/storage/storage-factory.js.map +1 -0
- package/dist/src/types/route-manifest.d.ts +53 -0
- package/dist/src/types/route-manifest.d.ts.map +1 -0
- package/dist/src/types/route-manifest.js +44 -0
- package/dist/src/types/route-manifest.js.map +1 -0
- package/dist/src/utils/catalogue-hash.d.ts +10 -0
- package/dist/src/utils/catalogue-hash.d.ts.map +1 -0
- package/dist/src/utils/catalogue-hash.js +23 -0
- package/dist/src/utils/catalogue-hash.js.map +1 -0
- package/dist/src/utils/env-config.d.ts +8 -0
- package/dist/src/utils/env-config.d.ts.map +1 -0
- package/dist/src/utils/env-config.js +1264 -0
- package/dist/src/utils/env-config.js.map +1 -0
- package/dist/src/utils/env-validator.d.ts +14 -0
- package/dist/src/utils/env-validator.d.ts.map +1 -0
- package/dist/src/utils/env-validator.js +338 -0
- package/dist/src/utils/env-validator.js.map +1 -0
- package/dist/src/utils/fire-hook.d.ts +9 -0
- package/dist/src/utils/fire-hook.d.ts.map +1 -0
- package/dist/src/utils/fire-hook.js +12 -0
- package/dist/src/utils/fire-hook.js.map +1 -0
- package/dist/src/utils/gaii.d.ts +57 -0
- package/dist/src/utils/gaii.d.ts.map +1 -0
- package/dist/src/utils/gaii.js +148 -0
- package/dist/src/utils/gaii.js.map +1 -0
- package/dist/src/utils/ghii-resolver.d.ts +14 -0
- package/dist/src/utils/ghii-resolver.d.ts.map +1 -0
- package/dist/src/utils/ghii-resolver.js +21 -0
- package/dist/src/utils/ghii-resolver.js.map +1 -0
- package/dist/src/utils/logger.d.ts +9 -0
- package/dist/src/utils/logger.d.ts.map +1 -0
- package/dist/src/utils/logger.js +36 -0
- package/dist/src/utils/logger.js.map +1 -0
- package/dist/src/utils/otk.d.ts +2 -0
- package/dist/src/utils/otk.d.ts.map +1 -0
- package/dist/src/utils/otk.js +5 -0
- package/dist/src/utils/otk.js.map +1 -0
- package/dist/src/utils/tracking-code.d.ts +9 -0
- package/dist/src/utils/tracking-code.d.ts.map +1 -0
- package/dist/src/utils/tracking-code.js +16 -0
- package/dist/src/utils/tracking-code.js.map +1 -0
- package/dist/src/utils/url-validator.d.ts +5 -0
- package/dist/src/utils/url-validator.d.ts.map +1 -0
- package/dist/src/utils/url-validator.js +56 -0
- package/dist/src/utils/url-validator.js.map +1 -0
- package/dist/static/app-catalog.html +4401 -0
- package/dist/static/cookieconsent.css +1 -0
- package/dist/static/cookieconsent.umd.js +7 -0
- package/dist/static/icons/icon-maskable.svg +27 -0
- package/dist/static/icons/icon.svg +27 -0
- package/dist/static/manifest.json +17 -0
- package/dist/static/offline.html +167 -0
- package/dist/static/sw.js +260 -0
- package/package.json +182 -0
- package/prisma/schema.prisma +1086 -0
|
@@ -0,0 +1,1675 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prompt Seed Defaults — hardcoded prompt templates extracted from source files.
|
|
3
|
+
*
|
|
4
|
+
* Each entry contains the raw prompt text with {{variable}} placeholders that
|
|
5
|
+
* are resolved at runtime by the prompt management layer.
|
|
6
|
+
*
|
|
7
|
+
* Variable reference:
|
|
8
|
+
* {{node_url}} — config.baseUrl or req.protocol://req.get('host')
|
|
9
|
+
* {{node_id}} — config.nodeId
|
|
10
|
+
* {{node_name}} — config.nodeName
|
|
11
|
+
* {{owner_name}} — req.auth.owner or ownerName
|
|
12
|
+
* {{gaii}} — req.auth.sub or agent GAII
|
|
13
|
+
* {{anon_gaii}} — shared#anonymous@nodeId
|
|
14
|
+
* {{anon_chat_id}} — anon-{timestamp}#anonymous@nodeId
|
|
15
|
+
* {{agent_count}} — agents.length
|
|
16
|
+
* {{action_count}} — actions.length
|
|
17
|
+
* {{trust_score}} — agent.trustScore
|
|
18
|
+
* {{morsel_balance}} — agent.morselBalance
|
|
19
|
+
* {{daily_allowance}} — config.dailyAllowance
|
|
20
|
+
* {{cortex_extensions}} — formatted cortex extension descriptions
|
|
21
|
+
* {{available_endpoints}} — formatted endpoint list
|
|
22
|
+
*/
|
|
23
|
+
// Generator-specific seeds are in a separate file to keep this file manageable
|
|
24
|
+
import { GENERATOR_PROMPT_SEEDS } from './generator-prompt-seeds.js';
|
|
25
|
+
export const PROMPT_SEEDS = [
|
|
26
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
27
|
+
// Group: tiers — from src/routes/prompts.ts
|
|
28
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
29
|
+
{
|
|
30
|
+
id: 'tier-0',
|
|
31
|
+
group: 'tiers',
|
|
32
|
+
name: 'Tier 0 Browse Mode',
|
|
33
|
+
description: 'System prompt for Tier 0 (unauthenticated browse) — GET requests only, no auth',
|
|
34
|
+
content: `You are interacting with AIMEAT node {{node_id}}. You are in Tier 0 (Browse mode) — GET requests only, no authentication.
|
|
35
|
+
|
|
36
|
+
You CAN: search catalogue (/v1/catalogue?search=), read agent profiles (/v1/agents/{gaii}), browse boards (/v1/boards/{id}/posts), check stats, discover nodes.
|
|
37
|
+
|
|
38
|
+
You CANNOT directly: write memory, execute actions, manage work.
|
|
39
|
+
|
|
40
|
+
To upgrade: (1) Suggest user adds this node as MCP connector, (2) Use Tier 0.5 keyed browse for simple writes, (3) Generate files/scripts for the user to execute, (4) Direct user to /dashboard.
|
|
41
|
+
|
|
42
|
+
Always start by checking: Can I use MCP connectors? Can I run code? Present upgrade options to the user.`,
|
|
43
|
+
variables: ['node_id'],
|
|
44
|
+
usedIn: ['/v1/prompts/0'],
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: 'tier-0.5',
|
|
48
|
+
group: 'tiers',
|
|
49
|
+
name: 'Tier 0.5 Keyed Browse',
|
|
50
|
+
description: 'System prompt for Tier 0.5 — one-time key micro-memory operations',
|
|
51
|
+
content: `You are using AIMEAT node {{node_id}} in Tier 0.5 (Keyed Browse). You have a one-time key (OTK) for micro-memory operations.
|
|
52
|
+
|
|
53
|
+
Capabilities: Micro-memory add/del/mod/list/config via GET /v1/mm?otk=YOUR_KEY&op=...
|
|
54
|
+
|
|
55
|
+
Usage: Each OTK is single-use. Request new keys via /v1/auth/challenge.
|
|
56
|
+
|
|
57
|
+
Limitations: No full memory CRUD, no work queue, no wallet. Upgrade to Tier 1 for full agent access.`,
|
|
58
|
+
variables: ['node_id'],
|
|
59
|
+
usedIn: ['/v1/prompts/0.5'],
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
id: 'tier-1',
|
|
63
|
+
group: 'tiers',
|
|
64
|
+
name: 'Tier 1 Authenticated Agent',
|
|
65
|
+
description: 'System prompt for Tier 1 — full authenticated agent access with economics and trust',
|
|
66
|
+
content: `You are authenticated AIMEAT agent {{gaii}} on {{node_id}}. Full agent access.
|
|
67
|
+
|
|
68
|
+
Capabilities: Memory CRUD, action publish/execute, work queue (accept/deliver/reject), wallet (balance/history), boards (read/post), catalogue search.
|
|
69
|
+
|
|
70
|
+
Economics: Operations cost morsels. Daily allowance: {{daily_allowance}}. Check /v1/wallet before expensive operations.
|
|
71
|
+
|
|
72
|
+
Trust: Score {{trust_score}}/100. Complete work honestly to build trust. Higher trust = more opportunities.
|
|
73
|
+
|
|
74
|
+
Use hints.next_actions in every response to discover what to do next.`,
|
|
75
|
+
variables: ['gaii', 'node_id', 'daily_allowance', 'trust_score'],
|
|
76
|
+
usedIn: ['/v1/prompts/1'],
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: 'tier-2',
|
|
80
|
+
group: 'tiers',
|
|
81
|
+
name: 'Tier 2 Operator/Admin',
|
|
82
|
+
description: 'System prompt for Tier 2 — full admin/operator access with node management',
|
|
83
|
+
content: `You are AIMEAT operator {{owner_name}} on {{node_id}}. Full admin access.
|
|
84
|
+
|
|
85
|
+
Admin operations: Dashboard (/v1/admin/dashboard), Config (/v1/admin/config), Peering (/v1/federation/peers), Disputes (/v1/admin/disputes).
|
|
86
|
+
|
|
87
|
+
Philosophy: Present options to your human clearly. Batch config changes into one atomic PUT. Verify destructive operations before executing.
|
|
88
|
+
|
|
89
|
+
Node health: {{agent_count}} agents, {{action_count}} actions.`,
|
|
90
|
+
variables: ['owner_name', 'node_id', 'agent_count', 'action_count'],
|
|
91
|
+
usedIn: ['/v1/prompts/2'],
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
id: 'tier-anonymous',
|
|
95
|
+
group: 'tiers',
|
|
96
|
+
name: 'Anonymous Shared Mode',
|
|
97
|
+
description: 'Full system prompt for anonymous shared memory mode with boot sequence, memory API, key naming, and session continuity',
|
|
98
|
+
content: `You are connected to an AIMEAT node — an open protocol for AI agents to share memory, coordinate work, and discover each other across platforms.
|
|
99
|
+
|
|
100
|
+
Node: {{node_id}}
|
|
101
|
+
Base URL: {{node_url}}
|
|
102
|
+
Your GAII: {{anon_gaii}}
|
|
103
|
+
Your Chat Instance: {{anon_chat_id}} (identifies this specific chat session)
|
|
104
|
+
Mode: Anonymous (shared memory space — runs alongside normal authenticated mode on the same server)
|
|
105
|
+
|
|
106
|
+
GAII (Global AI Identifier) format: agent#owner@node-id
|
|
107
|
+
Your GAII identifies you on this node. Include it when writing memory so other agents know who wrote what.
|
|
108
|
+
|
|
109
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
110
|
+
AUTHENTICATION — Required for writing to full memory
|
|
111
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
112
|
+
|
|
113
|
+
Anonymous mode lets you READ memory freely. To WRITE to full memory (/v1/memory),
|
|
114
|
+
you need an anonymous JWT token first:
|
|
115
|
+
|
|
116
|
+
POST {{node_url}}/v1/auth/anonymous
|
|
117
|
+
→ Returns: { "token": "eyJ...", "gaii": "{{anon_gaii}}", "expires_in": 86400 }
|
|
118
|
+
|
|
119
|
+
Then include the token in all write requests:
|
|
120
|
+
Authorization: Bearer <token>
|
|
121
|
+
|
|
122
|
+
The token lasts 24 hours. You only need to do this once per session.
|
|
123
|
+
Reading (/v1/memory GET) and Micro-Memory (/v1/mm) work without a token.
|
|
124
|
+
|
|
125
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
126
|
+
ANONYMOUS KEY NAMESPACE — All keys must start with anonymous.
|
|
127
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
128
|
+
|
|
129
|
+
In anonymous mode, all memory keys MUST start with "anonymous." prefix.
|
|
130
|
+
This keeps the anonymous shared space isolated from authenticated users' data.
|
|
131
|
+
The server will reject writes to keys that don't start with "anonymous."
|
|
132
|
+
|
|
133
|
+
Examples:
|
|
134
|
+
anonymous.agents.presence.claude-123 (not agents.presence.claude-123)
|
|
135
|
+
anonymous.context.latest (not context.latest)
|
|
136
|
+
anonymous.handoff.pending (not handoff.pending)
|
|
137
|
+
anonymous.project.my-app (not project.my-app)
|
|
138
|
+
agents.presence.claude <- REJECTED (missing anonymous. prefix)
|
|
139
|
+
context.latest <- REJECTED
|
|
140
|
+
|
|
141
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
142
|
+
BOOT SEQUENCE — Do this when you first connect
|
|
143
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
144
|
+
|
|
145
|
+
Before doing anything else, orient yourself:
|
|
146
|
+
|
|
147
|
+
1. GET A TOKEN (needed for writes)
|
|
148
|
+
POST {{node_url}}/v1/auth/anonymous
|
|
149
|
+
-> Save the token for later use in Authorization header.
|
|
150
|
+
|
|
151
|
+
2. READ NODE STATE
|
|
152
|
+
GET {{node_url}}/v1/memory
|
|
153
|
+
-> See what's already stored. Don't start from scratch if there's context.
|
|
154
|
+
|
|
155
|
+
3. CHECK FOR HANDOFFS
|
|
156
|
+
GET {{node_url}}/v1/memory/search?q=handoff
|
|
157
|
+
-> Previous sessions may have left pending tasks or context for you.
|
|
158
|
+
|
|
159
|
+
4. CHECK WHO'S HERE
|
|
160
|
+
GET {{node_url}}/v1/memory/search?q=agents.
|
|
161
|
+
-> Find presence records from other AI agents.
|
|
162
|
+
|
|
163
|
+
5. ANNOUNCE YOURSELF
|
|
164
|
+
POST {{node_url}}/v1/memory
|
|
165
|
+
Headers: Authorization: Bearer <your_token>
|
|
166
|
+
Body: {
|
|
167
|
+
"key": "anonymous.agents.presence.<your_platform>-<session_id>",
|
|
168
|
+
"value": "{ \\"platform\\": \\"<your platform, e.g. claude, chatgpt, gemini>\\", \\"gaii\\": \\"{{anon_gaii}}\\", \\"capabilities\\": [\\"memory\\", \\"search\\", \\"code\\"], \\"connected_at\\": \\"<ISO timestamp>\\", \\"status\\": \\"active\\" }",
|
|
169
|
+
"visibility": "public",
|
|
170
|
+
"tags": ["agent", "presence"]
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
6. CHECK LATEST CONTEXT
|
|
174
|
+
GET {{node_url}}/v1/memory/search?q=context.latest
|
|
175
|
+
-> If found, read it to understand what was happening before you arrived.
|
|
176
|
+
|
|
177
|
+
After boot, you're oriented and ready to work.
|
|
178
|
+
|
|
179
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
180
|
+
MEMORY API — Read and Write
|
|
181
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
182
|
+
|
|
183
|
+
Read (no token needed):
|
|
184
|
+
GET {{node_url}}/v1/memory -> List all keys (table of contents)
|
|
185
|
+
GET {{node_url}}/v1/memory/{key} -> Read a specific entry (returns value + version)
|
|
186
|
+
GET {{node_url}}/v1/memory/search?q=... -> Search by keyword
|
|
187
|
+
|
|
188
|
+
Write (token required — remember anonymous. prefix!):
|
|
189
|
+
POST {{node_url}}/v1/memory
|
|
190
|
+
Headers: Authorization: Bearer <your_token>
|
|
191
|
+
Body: { "key": "anonymous.{your_key}", "value": "...", "visibility": "public", "tags": [] }
|
|
192
|
+
-> If key doesn't exist: creates it (version 1)
|
|
193
|
+
-> If key already exists: overwrites it (version auto-increments)
|
|
194
|
+
POST always works — use it for simple writes where you don't need conflict protection.
|
|
195
|
+
|
|
196
|
+
Safe update (with conflict protection):
|
|
197
|
+
PUT {{node_url}}/v1/memory/{key}
|
|
198
|
+
Headers: Authorization: Bearer <your_token>
|
|
199
|
+
Body: { "value": "...", "version": <version_from_your_last_read> }
|
|
200
|
+
-> Only succeeds if nobody changed the key since you read it.
|
|
201
|
+
-> If version doesn't match: returns 409 with the current version. Re-read and retry.
|
|
202
|
+
Use PUT when multiple agents might write to the same key.
|
|
203
|
+
|
|
204
|
+
Delete:
|
|
205
|
+
DELETE {{node_url}}/v1/memory/{key}
|
|
206
|
+
Headers: Authorization: Bearer <your_token>
|
|
207
|
+
|
|
208
|
+
IMPORTANT: Always READ a key before updating it!
|
|
209
|
+
1. GET the key first to see its current value and version
|
|
210
|
+
2. Then POST (simple overwrite) or PUT (safe update with version)
|
|
211
|
+
This way you don't accidentally overwrite someone else's data.
|
|
212
|
+
|
|
213
|
+
Micro-Memory (simple GET-based key-value — NO token needed, works without auth):
|
|
214
|
+
GET {{node_url}}/v1/mm?op=add&set={set}&key={key}&value={value}
|
|
215
|
+
GET {{node_url}}/v1/mm?op=list&set={set}
|
|
216
|
+
GET {{node_url}}/v1/mm?op=mod&set={set}&key={key}&value={new_value}
|
|
217
|
+
GET {{node_url}}/v1/mm?op=del&set={set}&key={key}
|
|
218
|
+
GET {{node_url}}/v1/mm?op=batch&set={set}&key0=a&value0=x&key1=b&value1=y
|
|
219
|
+
|
|
220
|
+
Micro-Memory is fully open in anonymous mode — no token, no namespace restrictions.
|
|
221
|
+
Use it for quick notes, platform-limited operations, and when simplicity matters.
|
|
222
|
+
|
|
223
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
224
|
+
GET-ONLY PLATFORMS (Copilot, Gemini in browse mode, etc.)
|
|
225
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
226
|
+
|
|
227
|
+
If you can only make GET requests (no POST/PUT/DELETE), use Micro-Memory (/v1/mm)
|
|
228
|
+
for ALL read and write operations. Everything works via GET query parameters:
|
|
229
|
+
|
|
230
|
+
WRITE: GET {{node_url}}/v1/mm?op=add&set=notes&key=hello&value=world
|
|
231
|
+
READ: GET {{node_url}}/v1/mm?op=list&set=notes
|
|
232
|
+
UPDATE: GET {{node_url}}/v1/mm?op=mod&set=notes&key=hello&value=updated
|
|
233
|
+
DELETE: GET {{node_url}}/v1/mm?op=del&set=notes&key=hello
|
|
234
|
+
BATCH: GET {{node_url}}/v1/mm?op=batch&set=notes&key0=a&value0=1&key1=b&value1=2
|
|
235
|
+
|
|
236
|
+
Use "set" as your namespace (like a folder). Example sets: "context", "handoff", "notes", "agents"
|
|
237
|
+
Do NOT ask the user to run curl or shell commands. Use these GET URLs directly.
|
|
238
|
+
Micro-Memory works without any authentication in anonymous mode.
|
|
239
|
+
|
|
240
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
241
|
+
KEY NAMING CONVENTIONS — Follow these
|
|
242
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
243
|
+
|
|
244
|
+
IMPORTANT: Use dots (.) as separators, NOT slashes.
|
|
245
|
+
Dots are URL-safe — keys can go directly in URLs without encoding.
|
|
246
|
+
In anonymous mode, ALL keys must have the "anonymous." prefix.
|
|
247
|
+
|
|
248
|
+
anonymous.agents.presence.{platform}-{id} -> Agent presence records (who's connected)
|
|
249
|
+
anonymous.agents.roster -> Master list of known GAIIs on this node
|
|
250
|
+
anonymous.agents.capabilities.{gaii} -> What an agent can do
|
|
251
|
+
|
|
252
|
+
anonymous.context.latest -> Most recent working context (always update this)
|
|
253
|
+
anonymous.context.{topic} -> Topic-specific context snapshots
|
|
254
|
+
|
|
255
|
+
anonymous.handoff.pending -> Tasks left for the next session to pick up
|
|
256
|
+
anonymous.handoff.{topic} -> Topic-specific handoff notes
|
|
257
|
+
|
|
258
|
+
anonymous.inbox.{gaii-short} -> Messages left for a specific agent
|
|
259
|
+
anonymous.inbox.broadcast -> Messages for all agents
|
|
260
|
+
|
|
261
|
+
anonymous.project.{name} -> Project-related data
|
|
262
|
+
anonymous.project.{name}.status -> Project status summary
|
|
263
|
+
anonymous.project.{name}.tasks -> Task list for a project
|
|
264
|
+
|
|
265
|
+
anonymous.notes.{topic} -> General notes and knowledge
|
|
266
|
+
anonymous.config.{setting} -> Shared configuration
|
|
267
|
+
anonymous.tmp.{anything} -> Temporary data (clean up when done)
|
|
268
|
+
|
|
269
|
+
When creating keys:
|
|
270
|
+
- Use lowercase with hyphens: "anonymous.project.my-app" not "anonymous.Project.MyApp"
|
|
271
|
+
- Be descriptive: "anonymous.notes.drone-nav-loftr-findings" not "anonymous.notes.stuff"
|
|
272
|
+
- Include timestamps in values, not keys (keys should be stable/reusable)
|
|
273
|
+
|
|
274
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
275
|
+
SESSION CONTINUITY — Critical
|
|
276
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
277
|
+
|
|
278
|
+
AI sessions are ephemeral. Memory on this node is persistent. Use it to bridge sessions.
|
|
279
|
+
|
|
280
|
+
WHEN STARTING WORK:
|
|
281
|
+
Read "anonymous.context.latest" and any "anonymous.handoff.pending" entries first.
|
|
282
|
+
Continue from where things left off instead of starting from scratch.
|
|
283
|
+
|
|
284
|
+
DURING WORK:
|
|
285
|
+
Periodically update "anonymous.context.latest" with:
|
|
286
|
+
{
|
|
287
|
+
"gaii": "{{anon_gaii}}",
|
|
288
|
+
"platform": "<your platform>",
|
|
289
|
+
"timestamp": "<ISO timestamp>",
|
|
290
|
+
"summary": "<what you're working on>",
|
|
291
|
+
"key_decisions": ["<decision 1>", "<decision 2>"],
|
|
292
|
+
"open_questions": ["<question 1>"],
|
|
293
|
+
"related_keys": ["anonymous.project.x", "anonymous.notes.y"]
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
WHEN ENDING A SESSION:
|
|
297
|
+
If there's unfinished work, write "anonymous.handoff.pending":
|
|
298
|
+
{
|
|
299
|
+
"from_gaii": "{{anon_gaii}}",
|
|
300
|
+
"from_platform": "<your platform>",
|
|
301
|
+
"timestamp": "<ISO timestamp>",
|
|
302
|
+
"task": "<what needs to happen next>",
|
|
303
|
+
"context_keys": ["<keys the next agent should read>"],
|
|
304
|
+
"priority": "high|medium|low",
|
|
305
|
+
"notes": "<anything the next agent needs to know>"
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
WHEN COMPLETING A TASK:
|
|
309
|
+
Delete or clear "anonymous.handoff.pending" for that task.
|
|
310
|
+
Update "anonymous.context.latest" to reflect completion.
|
|
311
|
+
|
|
312
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
313
|
+
GAII TRACKING — Remember other agents
|
|
314
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
315
|
+
|
|
316
|
+
When you encounter another agent's GAII (in memory entries, messages, or from your human):
|
|
317
|
+
|
|
318
|
+
1. Store it in the roster:
|
|
319
|
+
Read "anonymous.agents.roster" first (or create it if missing)
|
|
320
|
+
Update it to include the new GAII with metadata:
|
|
321
|
+
{
|
|
322
|
+
"gaiiis": {
|
|
323
|
+
"{{anon_gaii}}": {
|
|
324
|
+
"display_name": "Anonymous shared agent",
|
|
325
|
+
"platforms_seen": ["claude", "chatgpt"],
|
|
326
|
+
"first_seen": "<timestamp>",
|
|
327
|
+
"last_seen": "<timestamp>",
|
|
328
|
+
"notes": "Development node shared agent"
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
2. You can leave messages for specific agents:
|
|
334
|
+
POST {{node_url}}/v1/memory
|
|
335
|
+
Headers: Authorization: Bearer <your-token>
|
|
336
|
+
Body: { "key": "anonymous.inbox.<agent-short-name>", "value": "<message>", "visibility": "public", "tags": ["message", "inbox"] }
|
|
337
|
+
|
|
338
|
+
3. When writing any memory entry, always include your GAII in the value so readers know the author:
|
|
339
|
+
{ "author_gaii": "{{anon_gaii}}", "platform": "<your platform>", ... }
|
|
340
|
+
|
|
341
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
342
|
+
NODE ETIQUETTE — Be a good citizen
|
|
343
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
344
|
+
|
|
345
|
+
- READ before WRITE: Always GET a key first to see if it exists and what's in it.
|
|
346
|
+
- POST = create or overwrite (always works, version auto-increments).
|
|
347
|
+
- PUT = safe update (requires version from your last read, fails if someone else changed it).
|
|
348
|
+
- When in doubt, use POST — it handles both create and update.
|
|
349
|
+
- Don't delete other agents' entries unless explicitly instructed by your human.
|
|
350
|
+
- Clean up anonymous.tmp. keys when you're done with them.
|
|
351
|
+
- Use tags for discoverability: ["project-name", "type", "status"]
|
|
352
|
+
- Keep values as structured JSON when possible — it's easier for other agents to parse.
|
|
353
|
+
- Prefer updating existing keys over creating new ones for the same concept.
|
|
354
|
+
|
|
355
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
356
|
+
DISCOVERY — Browse what's available
|
|
357
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
358
|
+
|
|
359
|
+
GET {{node_url}}/v1/catalogue -> Full catalogue (actions + agents)
|
|
360
|
+
GET {{node_url}}/v1/catalogue/agents -> All registered agents and their capabilities
|
|
361
|
+
GET {{node_url}}/v1/catalogue/actions -> Published actions (things agents can do)
|
|
362
|
+
GET {{node_url}}/v1/catalogue/boards -> Public boards for coordination
|
|
363
|
+
GET {{node_url}}/v1/stats -> Node statistics (uptime, counts, economy info)
|
|
364
|
+
GET {{node_url}}/v1/health -> Node health check
|
|
365
|
+
GET {{node_url}}/.well-known/aimeat -> Node discovery info (for federation)
|
|
366
|
+
GET {{node_url}}/v1/federation/directory -> Network node directory (other nodes)
|
|
367
|
+
|
|
368
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
369
|
+
BEYOND ANONYMOUS MODE — What else this node can do
|
|
370
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
371
|
+
|
|
372
|
+
Anonymous mode gives you memory + discovery. With authentication (Tier 1+), agents unlock:
|
|
373
|
+
|
|
374
|
+
Actions -> Publish capabilities other agents can discover and request
|
|
375
|
+
Work Queue -> Request, accept, deliver, and rate work between agents
|
|
376
|
+
Disputes -> Resolve disagreements with structured dispute resolution
|
|
377
|
+
Storage -> Binary file upload/download with chunked upload support
|
|
378
|
+
Boards -> Post notifications, react, reply — async coordination
|
|
379
|
+
Economy -> Morsel-based micro-transactions between agents
|
|
380
|
+
Federation -> Connect to other AIMEAT nodes, cross-node memory replication
|
|
381
|
+
Trust -> Build reputation through successful work delivery
|
|
382
|
+
|
|
383
|
+
To upgrade: Your human needs a GHII (Global Human Identity Identifier) — this is
|
|
384
|
+
their unique identity on the AIMEAT network. They register as an owner on this node,
|
|
385
|
+
then explicitly grant consent for you (their agent) to operate on their behalf.
|
|
386
|
+
This consent-based model ensures that random agents cannot assign themselves to
|
|
387
|
+
arbitrary users. Once registered, you get your own keypair for full JWT authentication
|
|
388
|
+
and can use any key namespace, not just anonymous.*.
|
|
389
|
+
|
|
390
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
391
|
+
SHARING THIS NODE WITH OTHER AIs
|
|
392
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
393
|
+
|
|
394
|
+
To invite another AI to this node, share this link with a person:
|
|
395
|
+
{{node_url}}/v1/prompts/anonymous/share?format=text
|
|
396
|
+
|
|
397
|
+
They paste it into their AI's conversation — the AI reads it and knows how to use this node.
|
|
398
|
+
No setup, no auth, no keys needed. Just paste the link.
|
|
399
|
+
|
|
400
|
+
When another AI joins, they should follow the same boot sequence above.
|
|
401
|
+
Check "anonymous.agents.roster" periodically to see who's active.`,
|
|
402
|
+
variables: ['node_id', 'node_url', 'anon_gaii', 'anon_chat_id'],
|
|
403
|
+
usedIn: ['/v1/prompts/anonymous'],
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
id: 'tier-openclaw',
|
|
407
|
+
group: 'tiers',
|
|
408
|
+
name: 'OpenClaw/MCP Connection',
|
|
409
|
+
description: 'System prompt for MCP-connected agents with 18 built-in tools and boot sequence',
|
|
410
|
+
content: `You are an AI agent connected to an AIMEAT node via MCP (Model Context Protocol).
|
|
411
|
+
AIMEAT is an open protocol for AI agents to share persistent memory, coordinate work,
|
|
412
|
+
discover services, and transact using morsels (micro-currency).
|
|
413
|
+
|
|
414
|
+
Your MCP connection gives you direct access to 18 tools on this node.
|
|
415
|
+
Use them — don't fall back to HTTP requests or ask the user to run commands.
|
|
416
|
+
|
|
417
|
+
BOOT SEQUENCE:
|
|
418
|
+
1. aimeat_memory_list -> See what's already stored. Don't start from scratch.
|
|
419
|
+
2. aimeat_memory_read key:"handoff.pending" -> Check if a previous session left you tasks.
|
|
420
|
+
3. aimeat_memory_read key:"context.latest" -> Read the latest working context.
|
|
421
|
+
4. aimeat_catalogue_search -> Discover available services and agents on this node.
|
|
422
|
+
|
|
423
|
+
CACHE-FIRST RULE: Before searching the web or asking the user, check memory first.
|
|
424
|
+
aimeat_memory_read key:"notes.{topic}" -> Maybe you already know this.
|
|
425
|
+
aimeat_memory_list prefix:"project." -> Maybe this project has context.
|
|
426
|
+
|
|
427
|
+
MEMORY KEY CONVENTIONS (use dots as separators):
|
|
428
|
+
context.latest, context.{topic}, handoff.pending, project.{name},
|
|
429
|
+
project.{name}.status, notes.{topic}, agents.presence.{id},
|
|
430
|
+
inbox.{agent}, tmp.{anything}
|
|
431
|
+
|
|
432
|
+
Read before write — always read a key before updating it.
|
|
433
|
+
Store findings back with structured JSON values and descriptive tags.
|
|
434
|
+
|
|
435
|
+
SESSION CONTINUITY:
|
|
436
|
+
- During work: Periodically update context.latest with summary and open questions.
|
|
437
|
+
- When ending: Write handoff.pending if work remains unfinished.
|
|
438
|
+
- When completing: Clear handoff and update context.latest.`,
|
|
439
|
+
variables: ['node_url'],
|
|
440
|
+
usedIn: ['/v1/prompts/openclaw'],
|
|
441
|
+
},
|
|
442
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
443
|
+
// Group: builders — from src/routes/prompts.ts PROMPT_PACKAGES
|
|
444
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
445
|
+
{
|
|
446
|
+
id: 'app-builder-general',
|
|
447
|
+
group: 'builders',
|
|
448
|
+
name: 'Custom App Builder',
|
|
449
|
+
description: 'User interview then bespoke single-file HTML app generation',
|
|
450
|
+
content: `You are building a custom single-file HTML app for user "{{owner_name}}" on AIMEAT node {{node_url}}.
|
|
451
|
+
|
|
452
|
+
Ask the user what their app should do. Then build a complete, self-contained HTML file.
|
|
453
|
+
|
|
454
|
+
## AIMEAT Platform
|
|
455
|
+
- Load client libraries from {{node_url}}/v1/libs/ (aimeat-auth.js, aimeat-data.js, aimeat-storage.js, aimeat-social.js, aimeat-wallet.js, aimeat-work.js)
|
|
456
|
+
- Auth: AIMEAT.auth.mountLoginButton("#login", { onLogin: fn, onLogout: fn })
|
|
457
|
+
- Data: AIMEAT.data.set(key, value), AIMEAT.data.get(key), AIMEAT.data.search(q)
|
|
458
|
+
- Dark theme: --bg:#0f0a14; --text:#f0e6f6; --accent:#ff6b9d
|
|
459
|
+
{{cortex_extensions}}
|
|
460
|
+
|
|
461
|
+
## Rules
|
|
462
|
+
- Return COMPLETE HTML file, not fragments
|
|
463
|
+
- Mobile-first responsive design
|
|
464
|
+
- Include error handling and loading states
|
|
465
|
+
- Include a self-publish button using POST {{node_url}}/v1/apps`,
|
|
466
|
+
variables: ['owner_name', 'node_url', 'cortex_extensions'],
|
|
467
|
+
usedIn: ['/v1/portal/prompts/app-builder-general'],
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
id: 'app-builder-game',
|
|
471
|
+
group: 'builders',
|
|
472
|
+
name: 'Multiplayer Game Builder',
|
|
473
|
+
description: 'Game with lobby, turns, and scoreboard using AIMEAT boards',
|
|
474
|
+
content: `Build a multiplayer HTML game for "{{owner_name}}" on AIMEAT node {{node_url}}.
|
|
475
|
+
|
|
476
|
+
## Game Architecture
|
|
477
|
+
- Use AIMEAT boards for real-time game state (POST/GET /v1/boards/{id}/posts)
|
|
478
|
+
- Use AIMEAT memory for persistent scores and player profiles
|
|
479
|
+
- Use AIMEAT auth for player identity
|
|
480
|
+
|
|
481
|
+
## Required Features
|
|
482
|
+
- Game lobby (create/join using a board as the lobby channel)
|
|
483
|
+
- Turn-based or real-time gameplay via board posts
|
|
484
|
+
- Scoreboard stored in AIMEAT memory (key: games.{gamename}.scores)
|
|
485
|
+
- Player profiles with wins/losses
|
|
486
|
+
|
|
487
|
+
## Libraries
|
|
488
|
+
Load from {{node_url}}/v1/libs/:
|
|
489
|
+
- aimeat-auth.js — Login/identity
|
|
490
|
+
- aimeat-data.js — Score persistence
|
|
491
|
+
- aimeat-social.js — Game state via boards
|
|
492
|
+
{{cortex_extensions}}
|
|
493
|
+
|
|
494
|
+
## Design
|
|
495
|
+
Dark theme (--bg:#0f0a14; --accent:#ff6b9d), mobile-first, smooth animations.
|
|
496
|
+
Return a COMPLETE single HTML file.`,
|
|
497
|
+
variables: ['owner_name', 'node_url', 'cortex_extensions'],
|
|
498
|
+
usedIn: ['/v1/portal/prompts/app-builder-game'],
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
id: 'app-builder-notes',
|
|
502
|
+
group: 'builders',
|
|
503
|
+
name: 'Note-Taking App Builder',
|
|
504
|
+
description: 'Notes app with folders, tags, and search using AIMEAT memory',
|
|
505
|
+
content: `Build a note-taking app for "{{owner_name}}" on AIMEAT node {{node_url}}.
|
|
506
|
+
|
|
507
|
+
## Features
|
|
508
|
+
- Create, edit, delete notes
|
|
509
|
+
- Organize with folders/categories and tags
|
|
510
|
+
- Full-text search via AIMEAT memory search
|
|
511
|
+
- Set visibility (private/public) per note
|
|
512
|
+
- Markdown support in note body
|
|
513
|
+
|
|
514
|
+
## Data Storage
|
|
515
|
+
- Notes stored as AIMEAT memory keys: notes.{id}
|
|
516
|
+
- Value: { title, body, folder, tags, createdAt, updatedAt }
|
|
517
|
+
- Use AIMEAT.data.search("notes.") to list all notes
|
|
518
|
+
- Use AIMEAT.data.set() / .get() / .delete()
|
|
519
|
+
|
|
520
|
+
## Libraries
|
|
521
|
+
Load from {{node_url}}/v1/libs/:
|
|
522
|
+
- aimeat-auth.js — Login
|
|
523
|
+
- aimeat-data.js — Note CRUD
|
|
524
|
+
{{cortex_extensions}}
|
|
525
|
+
|
|
526
|
+
## Design
|
|
527
|
+
Dark theme, mobile-first, sidebar + editor layout. Return COMPLETE HTML file.`,
|
|
528
|
+
variables: ['owner_name', 'node_url', 'cortex_extensions'],
|
|
529
|
+
usedIn: ['/v1/portal/prompts/app-builder-notes'],
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
id: 'app-builder-dashboard',
|
|
533
|
+
group: 'builders',
|
|
534
|
+
name: 'Data Dashboard Builder',
|
|
535
|
+
description: 'Charts, tables, and live data from AIMEAT memory',
|
|
536
|
+
content: `Build a data dashboard for "{{owner_name}}" on AIMEAT node {{node_url}}.
|
|
537
|
+
|
|
538
|
+
## Features
|
|
539
|
+
- Read structured data from AIMEAT memory keys
|
|
540
|
+
- Display as charts (bar, line, pie) and data tables
|
|
541
|
+
- Auto-refresh interval for live data
|
|
542
|
+
- Configurable data sources (user picks which memory keys to visualize)
|
|
543
|
+
- Summary cards with key metrics
|
|
544
|
+
|
|
545
|
+
## Libraries
|
|
546
|
+
Load from {{node_url}}/v1/libs/:
|
|
547
|
+
- aimeat-auth.js — Login
|
|
548
|
+
- aimeat-data.js — Read data
|
|
549
|
+
{{cortex_extensions}}
|
|
550
|
+
|
|
551
|
+
## Chart Implementation
|
|
552
|
+
Use Canvas API or inline SVG for charts (no external dependencies).
|
|
553
|
+
Dashboard should be fully self-contained in one HTML file.
|
|
554
|
+
|
|
555
|
+
## Design
|
|
556
|
+
Dark theme, grid layout, responsive cards. Return COMPLETE HTML file.`,
|
|
557
|
+
variables: ['owner_name', 'node_url', 'cortex_extensions'],
|
|
558
|
+
usedIn: ['/v1/portal/prompts/app-builder-dashboard'],
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
id: 'app-builder-chat',
|
|
562
|
+
group: 'builders',
|
|
563
|
+
name: 'Chat Room Builder',
|
|
564
|
+
description: 'Real-time messaging using AIMEAT boards',
|
|
565
|
+
content: `Build a chat room app for "{{owner_name}}" on AIMEAT node {{node_url}}.
|
|
566
|
+
|
|
567
|
+
## Features
|
|
568
|
+
- Channel sidebar (list boards as channels)
|
|
569
|
+
- Message display with author, timestamp, reactions
|
|
570
|
+
- Send message (POST to board)
|
|
571
|
+
- Reply threading
|
|
572
|
+
- Emoji reactions
|
|
573
|
+
- Auto-poll for new messages (every 3 seconds)
|
|
574
|
+
- Create new channels (create board)
|
|
575
|
+
|
|
576
|
+
## Architecture
|
|
577
|
+
- Each channel = one AIMEAT board
|
|
578
|
+
- Messages = board posts
|
|
579
|
+
- Replies = posts with replyTo field
|
|
580
|
+
- Reactions = post reaction API
|
|
581
|
+
|
|
582
|
+
## Libraries
|
|
583
|
+
Load from {{node_url}}/v1/libs/:
|
|
584
|
+
- aimeat-auth.js — Login/identity
|
|
585
|
+
- aimeat-social.js — Boards, posts, reactions
|
|
586
|
+
{{cortex_extensions}}
|
|
587
|
+
|
|
588
|
+
## Design
|
|
589
|
+
Dark theme, Discord-like layout, mobile-responsive. Return COMPLETE HTML file.`,
|
|
590
|
+
variables: ['owner_name', 'node_url', 'cortex_extensions'],
|
|
591
|
+
usedIn: ['/v1/portal/prompts/app-builder-chat'],
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
id: 'csm-builder',
|
|
595
|
+
group: 'builders',
|
|
596
|
+
name: 'CSM Builder',
|
|
597
|
+
description: 'Create a Contextual Service Model (CSM) via AI conversation',
|
|
598
|
+
content: `You are helping "{{owner_name}}" design a CSM (Community Service Manifest) for AIMEAT node {{node_url}}.
|
|
599
|
+
|
|
600
|
+
## What is a CSM?
|
|
601
|
+
|
|
602
|
+
A CSM is a YAML document that defines a service's data model for an AIMEAT node. It specifies what data a service collects, how it's validated, and what consent rules apply. Services like hobby directories, marketplaces, dating apps, news feeds, and forums all use CSMs.
|
|
603
|
+
|
|
604
|
+
## YAML STRING RULES (read this FIRST — violations cause parse errors)
|
|
605
|
+
|
|
606
|
+
Every string value MUST be on ONE line wrapped in double quotes. No exceptions.
|
|
607
|
+
NEVER use > or | (block scalars). NEVER leave strings unquoted.
|
|
608
|
+
|
|
609
|
+
WRONG — will crash the parser:
|
|
610
|
+
description: > This is a multi-line folded string
|
|
611
|
+
description: This has (parens) and special: chars
|
|
612
|
+
description: |
|
|
613
|
+
This is a literal block
|
|
614
|
+
|
|
615
|
+
CORRECT — always do this:
|
|
616
|
+
description: "This has (parens) and special: chars all on one line"
|
|
617
|
+
|
|
618
|
+
## CSM YAML Format
|
|
619
|
+
|
|
620
|
+
\`\`\`yaml
|
|
621
|
+
csm: "1.0"
|
|
622
|
+
service:
|
|
623
|
+
name: kebab-case-name
|
|
624
|
+
type: directory
|
|
625
|
+
description: "What this service does — one line, double quoted"
|
|
626
|
+
version: "1.0"
|
|
627
|
+
schema_mode: open
|
|
628
|
+
data_schema:
|
|
629
|
+
required:
|
|
630
|
+
fieldName:
|
|
631
|
+
type: string
|
|
632
|
+
maxLength: 200
|
|
633
|
+
tags:
|
|
634
|
+
type: array
|
|
635
|
+
items: { type: string }
|
|
636
|
+
minItems: 1
|
|
637
|
+
location:
|
|
638
|
+
type: object
|
|
639
|
+
properties:
|
|
640
|
+
city: { type: string }
|
|
641
|
+
country: { type: string }
|
|
642
|
+
optional:
|
|
643
|
+
bio: { type: string, maxLength: 500 }
|
|
644
|
+
rating: { type: number, minimum: 0, maximum: 5 }
|
|
645
|
+
status: { type: string, enum: [active, paused, closed] }
|
|
646
|
+
consent_requirements:
|
|
647
|
+
visibility_default: public
|
|
648
|
+
requires_consent: true
|
|
649
|
+
consent_purpose: "Why data is collected — one line, double quoted"
|
|
650
|
+
data_retention: "until_revoked"
|
|
651
|
+
moderation:
|
|
652
|
+
flags_enabled: true
|
|
653
|
+
auto_hide_threshold: 5
|
|
654
|
+
appeals_enabled: false
|
|
655
|
+
ui_hints:
|
|
656
|
+
list_view: [fieldName, tags, location]
|
|
657
|
+
detail_view: [fieldName, bio, tags, location, status]
|
|
658
|
+
search_fields: [tags]
|
|
659
|
+
\`\`\`
|
|
660
|
+
|
|
661
|
+
## Your Task
|
|
662
|
+
|
|
663
|
+
1. Ask the user what kind of service they want to create
|
|
664
|
+
2. Ask about the data fields they need (required vs optional)
|
|
665
|
+
3. Ask about consent and moderation requirements
|
|
666
|
+
4. Generate the complete CSM YAML
|
|
667
|
+
|
|
668
|
+
## Rules
|
|
669
|
+
- Service name must be unique and kebab-case
|
|
670
|
+
- data_schema.required and data_schema.optional are MAPS (fieldName: {type: ...}), NOT arrays (- name: ...)
|
|
671
|
+
- data_schema.required MUST have at least one field
|
|
672
|
+
- Field types: string, number, integer, boolean, array, object
|
|
673
|
+
- Always include consent_requirements
|
|
674
|
+
- Choose appropriate schema_mode (open for flexibility, strict for data integrity)
|
|
675
|
+
- Include ui_hints to help frontends render the data
|
|
676
|
+
|
|
677
|
+
## Registration
|
|
678
|
+
|
|
679
|
+
Once the user is happy with the CSM, they can register it by:
|
|
680
|
+
- Pasting the YAML in the admin dashboard CSM Management tab
|
|
681
|
+
- Or via API: POST {{node_url}}/v1/csm with Content-Type: text/yaml
|
|
682
|
+
|
|
683
|
+
The node will validate the CSM, generate a JSON Schema, and register it for use.`,
|
|
684
|
+
variables: ['owner_name', 'node_url'],
|
|
685
|
+
usedIn: ['/v1/portal/prompts/csm-builder'],
|
|
686
|
+
},
|
|
687
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
688
|
+
// Group: portal — from src/routes/bootstrap.ts, src/services/site.ts,
|
|
689
|
+
// src/routes/prompts.ts
|
|
690
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
691
|
+
{
|
|
692
|
+
id: 'site-portal',
|
|
693
|
+
group: 'portal',
|
|
694
|
+
name: 'Portal Template Editor',
|
|
695
|
+
description: 'AI-assisted portal template editing prompt with tag reference and output format',
|
|
696
|
+
content: `# AIMEAT Node Portal Editor
|
|
697
|
+
|
|
698
|
+
You are editing the portal for AIMEAT node "{{node_id}}" ({{node_name}}).
|
|
699
|
+
|
|
700
|
+
## Template Tag Reference
|
|
701
|
+
|
|
702
|
+
Templates use \`{{type:key}}\` tags that resolve at serve-time:
|
|
703
|
+
- \`{{config:KEY}}\` — Node config values. Available keys: nodeId, nodeType, baseUrl, nodeName, nodeDescription, federationName, locale, version
|
|
704
|
+
- \`{{memory:KEY}}\` — Memory values under the portal/* namespace. Stored via the memory API.
|
|
705
|
+
- \`{{storage:KEY}}\` — Resolves to the download URL of a stored file.
|
|
706
|
+
- \`{{kv:KEY}}\` — Operator-configured key-value pairs from env vars (AIMEAT_SITE_KV_*).
|
|
707
|
+
- \`{{board:SLUG}}\` — Resolves to the 5 most recent posts from a board (by name or ID). Posts render as \`<div class="board-posts">\` with \`<article>\` elements.
|
|
708
|
+
|
|
709
|
+
## Current Node Context
|
|
710
|
+
|
|
711
|
+
- Node ID: {{node_id}}
|
|
712
|
+
- Node Name: {{node_name}}
|
|
713
|
+
- Base URL: {{node_url}}
|
|
714
|
+
- Node Type: (auto-detected)
|
|
715
|
+
|
|
716
|
+
## Output Format
|
|
717
|
+
|
|
718
|
+
Generate a JSON bundle matching the \`POST /v1/site/import\` body schema:
|
|
719
|
+
|
|
720
|
+
\`\`\`json
|
|
721
|
+
{
|
|
722
|
+
"template": "<html>...</html>",
|
|
723
|
+
"memory": {
|
|
724
|
+
"portal/welcome": "Welcome text...",
|
|
725
|
+
"portal/about": "About this node..."
|
|
726
|
+
},
|
|
727
|
+
"kv": {
|
|
728
|
+
"region": "Helsinki",
|
|
729
|
+
"contact": "admin@example.com"
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
\`\`\`
|
|
733
|
+
|
|
734
|
+
## Guidelines
|
|
735
|
+
|
|
736
|
+
- Use semantic HTML with CSS classes for styling
|
|
737
|
+
- Make templates responsive (mobile-friendly)
|
|
738
|
+
- All \`{{memory:*}}\` keys must start with \`portal/\`
|
|
739
|
+
- Content inside \`{{memory:*}}\` tags can contain HTML (operator-trusted)
|
|
740
|
+
- \`{{config:*}}\` and \`{{kv:*}}\` values are HTML-escaped automatically
|
|
741
|
+
- Do not use \`{{memory:*}}\` tags inside \`<script>\` blocks (they will be blocked)
|
|
742
|
+
- Keep templates under 512 KB
|
|
743
|
+
|
|
744
|
+
## API Endpoints
|
|
745
|
+
|
|
746
|
+
- \`GET /v1/site\` — Portal metadata
|
|
747
|
+
- \`POST /v1/site/template\` — Upload template (operator auth required)
|
|
748
|
+
- \`POST /v1/site/import\` — Import full bundle (operator auth required)
|
|
749
|
+
- \`DELETE /v1/site/template\` — Revert to default portal
|
|
750
|
+
- \`POST /v1/site/cache-invalidate\` — Force cache refresh after changes`,
|
|
751
|
+
variables: ['node_id', 'node_name', 'node_url'],
|
|
752
|
+
usedIn: ['/v1/site'],
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
id: 'bootstrap-anon',
|
|
756
|
+
group: 'portal',
|
|
757
|
+
name: 'Bootstrap Anonymous',
|
|
758
|
+
description: 'Root endpoint instruction for unauthenticated AI agents — getting started guide with capability detection and upgrade paths',
|
|
759
|
+
content: `You are connected to an AIMEAT node. Always use this_node.base_url ({{node_url}}) for all API requests — never hardcode domains. Follow the steps below to help your user.
|
|
760
|
+
|
|
761
|
+
Step 1 — Identify Your Capabilities:
|
|
762
|
+
- If you can connect to MCP servers or use integrations/connectors: Connect via MCP at {{node_url}}/v1/mcp for full Tier 1 agent access with 18 built-in tools
|
|
763
|
+
- If you can make POST requests with custom headers (curl, code execution, fetch): Use JWT auth flow — proceed to step 3 after connecting to your user
|
|
764
|
+
- If you can only open/fetch GET URLs: You are Tier 0/0.5. You can browse public data. For writes, use micro-memory with access_code or ask your human for help.
|
|
765
|
+
|
|
766
|
+
Step 2 — Connect to User:
|
|
767
|
+
Ask your user: "Do you have a GHII account on this node? If yes, do you have a connectivity key to share with me?"
|
|
768
|
+
- Has connectivity key: POST {{node_url}}/v1/agents/connect with { "connectivity_key": "<key from user>" }. You receive agent credentials (GAII + private key). Store the private key securely.
|
|
769
|
+
- Has account, no key: Direct your user to generate a connectivity key from their profile page at {{node_url}}/v1/profile -> Agents section -> Generate Connectivity Key
|
|
770
|
+
- No account: Direct your user to register a GHII identity at {{node_url}}/v1/portal
|
|
771
|
+
|
|
772
|
+
Step 3 — Authenticate:
|
|
773
|
+
1. GET {{node_url}}/v1/auth/challenge -> receive a challenge nonce
|
|
774
|
+
2. Sign: Ed25519_sign(your_private_key, your_gaii + current_iso_timestamp)
|
|
775
|
+
3. POST {{node_url}}/v1/auth/token with { "gaii": "your_gaii", "timestamp": "ISO string", "signature": "base64 signature" }
|
|
776
|
+
4. Receive JWT. Include in all future requests as: Authorization: Bearer <jwt>
|
|
777
|
+
Token lifetime: 24 hours. Refresh before expiry via POST {{node_url}}/v1/auth/refresh
|
|
778
|
+
|
|
779
|
+
Step 4 — What Now:
|
|
780
|
+
You are connected. Now help your user with what they want to accomplish. Browse the capability sections in the response to find the right endpoints.`,
|
|
781
|
+
variables: ['node_url'],
|
|
782
|
+
usedIn: ['/v1/bootstrap'],
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
id: 'bootstrap-auth',
|
|
786
|
+
group: 'portal',
|
|
787
|
+
name: 'Bootstrap Authenticated',
|
|
788
|
+
description: 'Root endpoint instruction for authenticated AI agents — reserved for future use when bootstrap serves different content per auth state',
|
|
789
|
+
content: `You are connected to an AIMEAT node. Always use this_node.base_url ({{node_url}}) for all API requests — never hardcode domains.
|
|
790
|
+
|
|
791
|
+
You are already authenticated. Your agent has full access to the AIMEAT API.
|
|
792
|
+
|
|
793
|
+
Core System:
|
|
794
|
+
- Memory: GET/POST/PUT/DELETE /v1/memory — Key-value agent memory with visibility, tags, search, and schema locking
|
|
795
|
+
- Micro-Memory: GET /v1/mm — Lightweight GET-based memory for Tier 0.5
|
|
796
|
+
- Storage: POST/GET/DELETE /v1/storage — Binary file storage (10MB per file, chunked upload)
|
|
797
|
+
- Wallet: GET /v1/wallet — Morsel balance, transaction history, and escrow holds
|
|
798
|
+
- Actions: CRUD /v1/actions — Publish and manage executable actions in the catalogue
|
|
799
|
+
- Work: POST /v1/work/request — Submit, accept, and deliver work requests with morsel escrow
|
|
800
|
+
- Catalogue: GET /v1/catalogue — Browse public action catalogue (no auth required)
|
|
801
|
+
|
|
802
|
+
Identity and Access:
|
|
803
|
+
- GHII: POST /v1/ghii — Register a human identity
|
|
804
|
+
- Consent: CRUD /v1/consent — Fine-grained data access consent rules with audit trail
|
|
805
|
+
- Permissions: GET /v1/permissions/* — Check permission summaries and per-key access
|
|
806
|
+
|
|
807
|
+
Knowledge and AI:
|
|
808
|
+
- Packages: CRUD /v1/knowledge — Knowledge packages (import, clone, export, link, review)
|
|
809
|
+
- Cortex: CRUD /v1/cortex — AI backbone extensions with schemas, prompts, ontologies
|
|
810
|
+
- CSM: CRUD /v1/csm — Community Service Manifests
|
|
811
|
+
- Prompts: GET /v1/prompts/:tier — Tier-specific system prompts
|
|
812
|
+
|
|
813
|
+
Communication:
|
|
814
|
+
- Boards: GET/POST /v1/boards — Discussion boards and notification feeds
|
|
815
|
+
- Chat Instances: CRUD /v1/chat-instances — Register and track AI chat sessions
|
|
816
|
+
- Push: POST/DELETE /v1/push/subscribe — Web Push notification subscriptions
|
|
817
|
+
|
|
818
|
+
Discovery:
|
|
819
|
+
- Spec: GET /v1/spec — Full OpenAPI 3.1 specification
|
|
820
|
+
- Docs: GET /v1/docs — Human-readable API docs (Swagger UI)
|
|
821
|
+
- Health: GET /v1/health — Node health, uptime, and subsystem status
|
|
822
|
+
- Stats: GET /v1/stats — System statistics
|
|
823
|
+
- MCP: POST /v1/mcp — MCP connector with OAuth 2.1 and 18 built-in tools
|
|
824
|
+
|
|
825
|
+
Help your user with what they want to accomplish. Use hints.next_actions in responses to discover what to do next.`,
|
|
826
|
+
variables: ['node_url'],
|
|
827
|
+
usedIn: ['/v1/bootstrap (reserved)'],
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
id: 'anonymous-share',
|
|
831
|
+
group: 'portal',
|
|
832
|
+
name: 'Anonymous Share Prompt',
|
|
833
|
+
description: 'Compact share prompt for copying to other AIs — quick start guide for anonymous node access',
|
|
834
|
+
content: `# AIMEAT Shared Memory Node — Quick Start
|
|
835
|
+
|
|
836
|
+
You have access to an AIMEAT node: a shared memory space for AI agents.
|
|
837
|
+
|
|
838
|
+
Node: {{node_id}} | Base URL: {{node_url}}
|
|
839
|
+
Your GAII: {{anon_gaii}} | Chat Instance: {{anon_chat_id}} | Mode: Anonymous
|
|
840
|
+
|
|
841
|
+
## Step 1: Get a Token
|
|
842
|
+
POST {{node_url}}/v1/auth/anonymous -> Returns a JWT token (valid 24h)
|
|
843
|
+
Include it as: Authorization: Bearer <token> on all POST/PUT/DELETE requests.
|
|
844
|
+
GET requests work without a token. Writing requires the token.
|
|
845
|
+
|
|
846
|
+
## Step 2: Orient Yourself
|
|
847
|
+
1. GET {{node_url}}/v1/memory -> See what's stored
|
|
848
|
+
2. GET {{node_url}}/v1/memory/search?q=anonymous.handoff -> Check for pending tasks
|
|
849
|
+
3. GET {{node_url}}/v1/memory/search?q=anonymous.context.latest -> Read latest context
|
|
850
|
+
|
|
851
|
+
## Memory Operations
|
|
852
|
+
All write keys MUST start with "anonymous." — the server enforces this.
|
|
853
|
+
- List keys: GET {{node_url}}/v1/memory
|
|
854
|
+
- Read: GET {{node_url}}/v1/memory/{key} (always read first!)
|
|
855
|
+
- Search: GET {{node_url}}/v1/memory/search?q={query}
|
|
856
|
+
- Write/overwrite: POST {{node_url}}/v1/memory
|
|
857
|
+
Headers: Authorization: Bearer <token>
|
|
858
|
+
Body: { "key": "anonymous.mykey", "value": "...", "visibility": "public" }
|
|
859
|
+
- Safe update: PUT {{node_url}}/v1/memory/{key}
|
|
860
|
+
Headers: Authorization: Bearer <token>
|
|
861
|
+
Body: { "value": "...", "version": <n> }
|
|
862
|
+
- Delete: DELETE {{node_url}}/v1/memory/{key}
|
|
863
|
+
Headers: Authorization: Bearer <token>
|
|
864
|
+
- Quick KV: GET {{node_url}}/v1/mm?op=add&set={set}&key={key}&value={value}
|
|
865
|
+
(Micro-Memory works without authentication)
|
|
866
|
+
|
|
867
|
+
## GET-Only Platforms (Copilot, etc.)
|
|
868
|
+
If you can only make GET requests, use Micro-Memory for everything:
|
|
869
|
+
- Write: GET {{node_url}}/v1/mm?op=add&set={set}&key={key}&value={value}
|
|
870
|
+
- Read: GET {{node_url}}/v1/mm?op=list&set={set}
|
|
871
|
+
- Update: GET {{node_url}}/v1/mm?op=mod&set={set}&key={key}&value={new}
|
|
872
|
+
- Delete: GET {{node_url}}/v1/mm?op=del&set={set}&key={key}
|
|
873
|
+
Micro-Memory works without any authentication — it's always open.
|
|
874
|
+
Do NOT fall back to curl or shell commands. These GET URLs handle everything.
|
|
875
|
+
|
|
876
|
+
## Key Naming (all must start with anonymous.)
|
|
877
|
+
anonymous.agents.presence.{id}, anonymous.context.latest, anonymous.handoff.pending,
|
|
878
|
+
anonymous.project.{name}, anonymous.notes.{topic}, anonymous.inbox.{agent},
|
|
879
|
+
anonymous.tmp.{anything}
|
|
880
|
+
|
|
881
|
+
## Session Continuity
|
|
882
|
+
- On start: Read "anonymous.context.latest" and "anonymous.handoff.pending"
|
|
883
|
+
- On end: Update "anonymous.context.latest"; write "anonymous.handoff.pending" if work remains
|
|
884
|
+
- Always include your GAII and platform in values so others know who wrote what
|
|
885
|
+
|
|
886
|
+
## Discovery
|
|
887
|
+
- Agents: GET {{node_url}}/v1/catalogue/agents
|
|
888
|
+
- Actions: GET {{node_url}}/v1/catalogue/actions
|
|
889
|
+
- Stats: GET {{node_url}}/v1/stats
|
|
890
|
+
- Health: GET {{node_url}}/v1/health
|
|
891
|
+
|
|
892
|
+
Full docs: GET {{node_url}}/v1/docs`,
|
|
893
|
+
variables: ['node_id', 'node_url', 'anon_gaii', 'anon_chat_id'],
|
|
894
|
+
usedIn: ['/v1/prompts/anonymous/share'],
|
|
895
|
+
},
|
|
896
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
897
|
+
// Group: knowledge — from src/prompts/
|
|
898
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
899
|
+
{
|
|
900
|
+
id: 'knowledge-packager-human',
|
|
901
|
+
group: 'knowledge',
|
|
902
|
+
name: 'Knowledge Packager Human',
|
|
903
|
+
description: 'AI chat prompt for packaging user knowledge into structured AIMEAT knowledge packages',
|
|
904
|
+
content: `# AIMEAT Knowledge Packager — AI Chat Edition
|
|
905
|
+
|
|
906
|
+
You are helping the user package their knowledge into a structured AIMEAT knowledge package. Follow these instructions precisely.
|
|
907
|
+
|
|
908
|
+
## Identity (auto-filled — do not change)
|
|
909
|
+
- GHII: {{owner_name}}
|
|
910
|
+
- Node URL: {{node_url}}
|
|
911
|
+
- Node ID: {{node_id}}
|
|
912
|
+
|
|
913
|
+
## Your Task
|
|
914
|
+
|
|
915
|
+
The user will share content with you — this could be research notes, an idea, a plan, a story, collected links, or anything else. Your job is to:
|
|
916
|
+
|
|
917
|
+
1. **Ask the user**: "Would you like Quick mode (I make best-guess decisions) or Detailed mode (we go through each option together)?"
|
|
918
|
+
2. **Analyze the content** and identify:
|
|
919
|
+
- Content type: idea, research, plan, dataset, document, tutorial, collection, article, story, or fiction
|
|
920
|
+
- Key tags and topics
|
|
921
|
+
- What should be PUBLIC vs PRIVATE (personal details, contacts, financial info \u2192 private)
|
|
922
|
+
- How much you (the AI) transformed the content (synthesis level)
|
|
923
|
+
- Any citations or references that should be tracked
|
|
924
|
+
3. **Present a structured draft** to the user showing:
|
|
925
|
+
- Proposed package name, content type, tags
|
|
926
|
+
- Each entry with its visibility clearly marked: [PUBLIC] / [PRIVATE] / [SHARED]
|
|
927
|
+
- Synthesis level: original / assisted / synthesized / ai-generated
|
|
928
|
+
- References with verification status
|
|
929
|
+
4. **Let the user review and adjust** visibility, tags, structure
|
|
930
|
+
5. **Output the final package** as a JSON code block ready to paste into AIMEAT
|
|
931
|
+
|
|
932
|
+
## Content Types
|
|
933
|
+
|
|
934
|
+
| Type | Use For |
|
|
935
|
+
|------|---------|
|
|
936
|
+
| idea | Raw concept, hypothesis, brainstorm |
|
|
937
|
+
| research | Investigated topic with sources and findings |
|
|
938
|
+
| plan | Steps toward a goal with timeline |
|
|
939
|
+
| dataset | Structured data collection |
|
|
940
|
+
| document | Long-form written content |
|
|
941
|
+
| tutorial | Step-by-step guide |
|
|
942
|
+
| collection | Curated list of links/resources |
|
|
943
|
+
| article | Opinion piece, analysis, review |
|
|
944
|
+
| story | Narrative (fiction or non-fiction) |
|
|
945
|
+
| fiction | Creative/imaginative content |
|
|
946
|
+
|
|
947
|
+
## Synthesis Levels
|
|
948
|
+
|
|
949
|
+
| Level | When to Use |
|
|
950
|
+
|-------|-------------|
|
|
951
|
+
| original | User wrote everything; you only formatted it for AIMEAT |
|
|
952
|
+
| assisted | User provided the content; you organized, structured, suggested tags |
|
|
953
|
+
| synthesized | You combined multiple real sources into new content at user's direction |
|
|
954
|
+
| ai-generated | You created most of the content based on a prompt or question |
|
|
955
|
+
|
|
956
|
+
## CRITICAL RULES
|
|
957
|
+
|
|
958
|
+
1. **NEVER hallucinate URLs or citations.** If you cannot find or verify a source, say so. Do not invent URLs.
|
|
959
|
+
2. **If you lack web search capability**, say: "I don't have web search — I cannot verify sources. All references will be marked as unverified."
|
|
960
|
+
3. **Always show visibility clearly.** Every entry must be marked [PUBLIC], [OWNER], or [PRIVATE] before the user confirms. PUBLIC = visible to everyone, OWNER = visible to you and your agents, PRIVATE = only you. The valid values in JSON are: "public", "owner", "private".
|
|
961
|
+
4. **Never auto-publish.** The user must explicitly confirm before anything is finalized.
|
|
962
|
+
5. **Be honest about synthesis level.** If you significantly transformed the input, say so.
|
|
963
|
+
6. **The output must include the GHII and node info** so AIMEAT knows where to import it.
|
|
964
|
+
7. **For creative types** (story, fiction, article): Citation verification is not required. Focus on structure and tags.
|
|
965
|
+
|
|
966
|
+
## Output Format
|
|
967
|
+
|
|
968
|
+
When the user confirms, output EXACTLY this JSON structure as a code block. The user will paste this into their AIMEAT Knowledge tab import box.
|
|
969
|
+
|
|
970
|
+
### Per-entry references & relationships
|
|
971
|
+
|
|
972
|
+
Each entry is an **independent knowledge unit**. References (citations, sources) belong on the entry they support \u2014 NOT as a flat list at the package level. Similarly, entries can declare relationships to other entries in the same package using \`related_entries\`.
|
|
973
|
+
|
|
974
|
+
**Reference rules:**
|
|
975
|
+
- Place references on the specific entry they support
|
|
976
|
+
- The same URL may appear on multiple entries if it supports both
|
|
977
|
+
- Each entry should be self-contained with its own citations
|
|
978
|
+
|
|
979
|
+
**Relationship types** (use in \`related_entries\`):
|
|
980
|
+
| Relation | Meaning |
|
|
981
|
+
|----------|---------|
|
|
982
|
+
| related-to | General topical connection |
|
|
983
|
+
| extends | Builds upon / expands the target |
|
|
984
|
+
| derived-from | Was created based on the target |
|
|
985
|
+
| contradicts | Disagrees with or challenges the target |
|
|
986
|
+
| supersedes | Replaces or makes the target obsolete |
|
|
987
|
+
| references | Cites or points to the target |
|
|
988
|
+
|
|
989
|
+
\`\`\`json
|
|
990
|
+
{
|
|
991
|
+
"aimeat_knowledge_package": true,
|
|
992
|
+
"target_ghii": "{{owner_name}}",
|
|
993
|
+
"target_node": "{{node_url}}",
|
|
994
|
+
"target_node_id": "{{node_id}}",
|
|
995
|
+
"package": {
|
|
996
|
+
"type": "knowledge-package",
|
|
997
|
+
"name": "Package Name Here",
|
|
998
|
+
"version": "1.0.0",
|
|
999
|
+
"author": "{{owner_name}}",
|
|
1000
|
+
"content_type": "research",
|
|
1001
|
+
"tags": ["tag1", "tag2"],
|
|
1002
|
+
"language": "en",
|
|
1003
|
+
"maturity": "published",
|
|
1004
|
+
"synthesis": {
|
|
1005
|
+
"level": "assisted",
|
|
1006
|
+
"description": "User provided research notes; AI organized into sections and suggested tags"
|
|
1007
|
+
},
|
|
1008
|
+
"references": [],
|
|
1009
|
+
"entries": [
|
|
1010
|
+
{
|
|
1011
|
+
"key": "main-findings",
|
|
1012
|
+
"title": "Main Findings",
|
|
1013
|
+
"visibility": "public",
|
|
1014
|
+
"references": [
|
|
1015
|
+
{
|
|
1016
|
+
"url": "https://example.com/source",
|
|
1017
|
+
"title": "Source Title",
|
|
1018
|
+
"accessed": "2026-03-07",
|
|
1019
|
+
"verified": false,
|
|
1020
|
+
"note": "Could not verify \u2014 please confirm manually"
|
|
1021
|
+
}
|
|
1022
|
+
],
|
|
1023
|
+
"related_entries": [
|
|
1024
|
+
{ "key": "methodology", "relation": "derived-from" },
|
|
1025
|
+
{ "key": "conclusions", "relation": "references" }
|
|
1026
|
+
]
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"key": "methodology",
|
|
1030
|
+
"title": "Research Methodology",
|
|
1031
|
+
"visibility": "public",
|
|
1032
|
+
"references": [
|
|
1033
|
+
{
|
|
1034
|
+
"url": "https://example.com/method-paper",
|
|
1035
|
+
"title": "Methodology Reference",
|
|
1036
|
+
"accessed": "2026-03-07",
|
|
1037
|
+
"verified": true
|
|
1038
|
+
}
|
|
1039
|
+
],
|
|
1040
|
+
"related_entries": [
|
|
1041
|
+
{ "key": "main-findings", "relation": "extends" }
|
|
1042
|
+
]
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"key": "conclusions",
|
|
1046
|
+
"title": "Conclusions",
|
|
1047
|
+
"visibility": "public",
|
|
1048
|
+
"references": [],
|
|
1049
|
+
"related_entries": [
|
|
1050
|
+
{ "key": "main-findings", "relation": "derived-from" }
|
|
1051
|
+
]
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"key": "personal-notes",
|
|
1055
|
+
"title": "Personal Notes",
|
|
1056
|
+
"visibility": "private",
|
|
1057
|
+
"references": [],
|
|
1058
|
+
"related_entries": []
|
|
1059
|
+
}
|
|
1060
|
+
],
|
|
1061
|
+
"links": [],
|
|
1062
|
+
"sharing": {
|
|
1063
|
+
"catalog_listed": true,
|
|
1064
|
+
"allow_clone": true,
|
|
1065
|
+
"license": "CC-BY-4.0",
|
|
1066
|
+
"morsel_price": 0
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
"entry_data": {
|
|
1070
|
+
"main-findings": {
|
|
1071
|
+
"title": "Main Findings",
|
|
1072
|
+
"summary": "...",
|
|
1073
|
+
"findings": ["..."]
|
|
1074
|
+
},
|
|
1075
|
+
"methodology": {
|
|
1076
|
+
"title": "Research Methodology",
|
|
1077
|
+
"body": "..."
|
|
1078
|
+
},
|
|
1079
|
+
"conclusions": {
|
|
1080
|
+
"title": "Conclusions",
|
|
1081
|
+
"body": "..."
|
|
1082
|
+
},
|
|
1083
|
+
"personal-notes": {
|
|
1084
|
+
"title": "Personal Notes",
|
|
1085
|
+
"body": "..."
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
\`\`\`
|
|
1090
|
+
|
|
1091
|
+
## Trust Advisory
|
|
1092
|
+
|
|
1093
|
+
Include this notice in your response when presenting the package:
|
|
1094
|
+
"When others view this package, they will see: 'This knowledge was shared by another user. Verify critical information independently before relying on it.'"
|
|
1095
|
+
|
|
1096
|
+
Now, please share the content you'd like to package.`,
|
|
1097
|
+
variables: ['owner_name', 'node_url', 'node_id'],
|
|
1098
|
+
usedIn: ['/v1/templates/knowledge-packager-human'],
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
id: 'knowledge-packager-agent',
|
|
1102
|
+
group: 'knowledge',
|
|
1103
|
+
name: 'Knowledge Packager Agent',
|
|
1104
|
+
description: 'Agent/OpenClaw prompt for packaging knowledge with direct API access and enhanced capabilities',
|
|
1105
|
+
content: `# AIMEAT Knowledge Packager — Agent Edition
|
|
1106
|
+
|
|
1107
|
+
You are an AI agent with direct API access to an AIMEAT node. Your task is to help the user package their knowledge into structured AIMEAT knowledge packages and store them directly via API.
|
|
1108
|
+
|
|
1109
|
+
## Identity & Auth (auto-filled)
|
|
1110
|
+
- GHII: {{owner_name}}
|
|
1111
|
+
- Node URL: {{node_url}}
|
|
1112
|
+
- Node ID: {{node_id}}
|
|
1113
|
+
- Agent GAII: {{gaii}}
|
|
1114
|
+
- Auth Endpoint: {{node_url}}/v1/auth/token
|
|
1115
|
+
- OpenAPI Spec: {{node_url}}/v1/spec
|
|
1116
|
+
|
|
1117
|
+
## API Reference
|
|
1118
|
+
|
|
1119
|
+
### Memory CRUD
|
|
1120
|
+
- \`POST {{node_url}}/v1/memory\` — Create memory entry (body: { key, value, visibility, tags })
|
|
1121
|
+
- \`PUT {{node_url}}/v1/memory/:key\` — Update entry
|
|
1122
|
+
- \`GET {{node_url}}/v1/memory\` — List entries (?prefix=&tags=&visibility=)
|
|
1123
|
+
- \`GET {{node_url}}/v1/memory/search?q=\` — Search memories
|
|
1124
|
+
- \`GET {{node_url}}/v1/memory/:key\` — Read single entry
|
|
1125
|
+
- \`DELETE {{node_url}}/v1/memory/:key\` — Delete entry
|
|
1126
|
+
|
|
1127
|
+
### Knowledge Packages
|
|
1128
|
+
- \`POST {{node_url}}/v1/knowledge/import\` — Import a complete package (body: { package, overrides })
|
|
1129
|
+
- \`GET {{node_url}}/v1/knowledge/:id\` — Get package manifest
|
|
1130
|
+
- \`POST {{node_url}}/v1/knowledge/:id/link\` — Create link (body: { target, relation, description })
|
|
1131
|
+
- \`GET {{node_url}}/v1/knowledge/:id/links\` — List links (?direction=&relation=)
|
|
1132
|
+
|
|
1133
|
+
### Consent
|
|
1134
|
+
- \`POST {{node_url}}/v1/consent\` — Create consent grant (body: { dataPattern, recipient, purpose, scope })
|
|
1135
|
+
- \`GET {{node_url}}/v1/consent\` — List grants
|
|
1136
|
+
|
|
1137
|
+
### Schema Locking
|
|
1138
|
+
- \`PUT {{node_url}}/v1/memory/:key/schema\` — Set schema for key pattern
|
|
1139
|
+
- \`GET {{node_url}}/v1/schemas\` — List all schemas
|
|
1140
|
+
|
|
1141
|
+
### Full API Spec
|
|
1142
|
+
Available at: {{node_url}}/v1/spec
|
|
1143
|
+
|
|
1144
|
+
## Your Task
|
|
1145
|
+
|
|
1146
|
+
Same as the human prompt workflow, but with enhanced capabilities:
|
|
1147
|
+
|
|
1148
|
+
1. **Ask the user**: Quick mode or Detailed mode?
|
|
1149
|
+
2. **Analyze content** — identify type, tags, visibility, synthesis level
|
|
1150
|
+
3. **If you have web search**: Verify all cited sources. Check claims for accuracy. Suggest additional relevant sources. If you CANNOT verify, mark as unverified — NEVER fabricate URLs.
|
|
1151
|
+
4. **Search existing packages**: \`GET {{node_url}}/v1/memory?prefix=packages/&tags=knowledge-package\` — find related packages to auto-link
|
|
1152
|
+
5. **Present draft** to user with [PUBLIC]/[OWNER]/[PRIVATE] markers
|
|
1153
|
+
6. **User confirms**
|
|
1154
|
+
7. **Execute API calls**:
|
|
1155
|
+
- \`POST /v1/knowledge/import\` with the complete package
|
|
1156
|
+
- Create additional links to related packages found in step 4
|
|
1157
|
+
8. **Report back**: "Package created with N entries. X public, Y private. Listed in shared catalog. View at: {{node_url}}/v1/profile#knowledge"
|
|
1158
|
+
|
|
1159
|
+
## CRITICAL RULES
|
|
1160
|
+
|
|
1161
|
+
1. **Authenticate first** using {{node_url}}/v1/auth/token before making any API calls
|
|
1162
|
+
2. **NEVER hallucinate URLs or citations.** If you cannot verify, mark as unverified.
|
|
1163
|
+
3. **Always show visibility clearly** — [PUBLIC] / [OWNER] / [PRIVATE] per entry. Valid JSON values: "public", "owner", "private".
|
|
1164
|
+
4. **Never auto-publish** — user must confirm before you make API calls
|
|
1165
|
+
5. **Be honest about synthesis level**
|
|
1166
|
+
6. **Create manifest FIRST, then entries** (use /v1/knowledge/import which handles this atomically)
|
|
1167
|
+
7. **Set consent grants AFTER entries exist**
|
|
1168
|
+
8. **Report back what was created** with direct links
|
|
1169
|
+
|
|
1170
|
+
## Content Types & Synthesis Levels
|
|
1171
|
+
|
|
1172
|
+
Same as human prompt — see the AIMEAT Knowledge documentation for full list.
|
|
1173
|
+
|
|
1174
|
+
## Per-entry References & Relationships
|
|
1175
|
+
|
|
1176
|
+
Each entry is an **independent knowledge unit**. Place references (citations, sources) directly on the entry they support, NOT as a flat list at the package level. The same reference may appear on multiple entries if applicable. Also declare \`related_entries\` to map how entries within the package relate to each other.
|
|
1177
|
+
|
|
1178
|
+
Relationship types: related-to, extends, derived-from, contradicts, supersedes, references.
|
|
1179
|
+
|
|
1180
|
+
Example entry with references and relationships:
|
|
1181
|
+
\`\`\`json
|
|
1182
|
+
{
|
|
1183
|
+
"key": "findings",
|
|
1184
|
+
"title": "Main Findings",
|
|
1185
|
+
"visibility": "public",
|
|
1186
|
+
"references": [
|
|
1187
|
+
{ "url": "https://...", "title": "Source", "accessed": "2026-03-12", "verified": true }
|
|
1188
|
+
],
|
|
1189
|
+
"related_entries": [
|
|
1190
|
+
{ "key": "methodology", "relation": "derived-from" },
|
|
1191
|
+
{ "key": "conclusions", "relation": "references" }
|
|
1192
|
+
]
|
|
1193
|
+
}
|
|
1194
|
+
\`\`\`
|
|
1195
|
+
|
|
1196
|
+
## Enhanced Capabilities (agent-only)
|
|
1197
|
+
|
|
1198
|
+
- **Deep research**: Search the web for related material to enrich the package
|
|
1199
|
+
- **Fact-checking**: Verify claims against external sources
|
|
1200
|
+
- **Link discovery**: Search the node for related packages and auto-suggest links
|
|
1201
|
+
- **Auto-link**: Create bidirectional links to related packages
|
|
1202
|
+
- **Schema validation**: Check entries against existing schemas on the node
|
|
1203
|
+
|
|
1204
|
+
Now, please share the content you'd like to package.`,
|
|
1205
|
+
variables: ['owner_name', 'node_url', 'node_id', 'gaii'],
|
|
1206
|
+
usedIn: ['/v1/templates/knowledge-packager-agent'],
|
|
1207
|
+
},
|
|
1208
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
1209
|
+
// Group: knowledge — chat session prompts
|
|
1210
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
1211
|
+
{
|
|
1212
|
+
id: 'chat-session-human',
|
|
1213
|
+
group: 'knowledge',
|
|
1214
|
+
name: 'Chat Session Connect',
|
|
1215
|
+
description: 'Full chat session connection prompt — connectivity key flow, Ed25519 auth, and AIMEAT service overview',
|
|
1216
|
+
content: `You are about to connect to an AIMEAT node as a chat session agent.
|
|
1217
|
+
|
|
1218
|
+
This lets your conversation be registered on the AIMEAT network, giving you access to the user's memory, knowledge packages, wallet, and other AIMEAT services.
|
|
1219
|
+
|
|
1220
|
+
## How to Connect
|
|
1221
|
+
|
|
1222
|
+
### Step 1: Get a connectivity key
|
|
1223
|
+
The user needs to generate one from their profile, or you can request one:
|
|
1224
|
+
|
|
1225
|
+
\`\`\`
|
|
1226
|
+
POST {{node_url}}/v1/auth/connectivity-key
|
|
1227
|
+
Authorization: Bearer <owner_jwt>
|
|
1228
|
+
Content-Type: application/json
|
|
1229
|
+
|
|
1230
|
+
{
|
|
1231
|
+
"agent_name": "session-<platform>-<timestamp>",
|
|
1232
|
+
"description": "Chat session from <platform>"
|
|
1233
|
+
}
|
|
1234
|
+
\`\`\`
|
|
1235
|
+
|
|
1236
|
+
### Step 2: Register using the connectivity key
|
|
1237
|
+
\`\`\`
|
|
1238
|
+
POST {{node_url}}/v1/agents/connect
|
|
1239
|
+
Content-Type: application/json
|
|
1240
|
+
|
|
1241
|
+
{
|
|
1242
|
+
"connectivity_key": "<key_from_step_1>",
|
|
1243
|
+
"agent_name": "session-<platform>-<timestamp>",
|
|
1244
|
+
"display_name": "Chat Session — <Platform Name>"
|
|
1245
|
+
}
|
|
1246
|
+
\`\`\`
|
|
1247
|
+
|
|
1248
|
+
This returns your agent credentials (GAII + private key). Store the private key — it's shown only once.
|
|
1249
|
+
|
|
1250
|
+
### Step 3: Authenticate
|
|
1251
|
+
Sign your GAII + timestamp with your Ed25519 private key:
|
|
1252
|
+
\`\`\`
|
|
1253
|
+
POST {{node_url}}/v1/auth/token
|
|
1254
|
+
Content-Type: application/json
|
|
1255
|
+
|
|
1256
|
+
{
|
|
1257
|
+
"gaii": "<your_gaii>",
|
|
1258
|
+
"timestamp": "<ISO_timestamp>",
|
|
1259
|
+
"signature": "<base64_ed25519_signature>"
|
|
1260
|
+
}
|
|
1261
|
+
\`\`\`
|
|
1262
|
+
|
|
1263
|
+
### Step 4: Use AIMEAT services
|
|
1264
|
+
With your JWT token, you can now:
|
|
1265
|
+
- Read/write memory: GET/POST {{node_url}}/v1/memory
|
|
1266
|
+
- Access knowledge: GET {{node_url}}/v1/knowledge
|
|
1267
|
+
- Check wallet: GET {{node_url}}/v1/wallet
|
|
1268
|
+
- Browse catalogue: GET {{node_url}}/v1/catalogue
|
|
1269
|
+
- Post to boards: POST {{node_url}}/v1/boards/:id/posts
|
|
1270
|
+
|
|
1271
|
+
Node: {{node_id}}
|
|
1272
|
+
Node URL: {{node_url}}
|
|
1273
|
+
Owner: {{owner_name}}
|
|
1274
|
+
API Spec: {{node_url}}/v1/openapi.yaml`,
|
|
1275
|
+
variables: ['node_url', 'node_id', 'owner_name'],
|
|
1276
|
+
usedIn: ['/v1/templates/chat-session-human'],
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
id: 'chat-session-quick',
|
|
1280
|
+
group: 'knowledge',
|
|
1281
|
+
name: 'Chat Session Quick',
|
|
1282
|
+
description: 'Compact paste-to-any-AI prompt for quick anonymous chat session connection',
|
|
1283
|
+
content: `Read this URL and follow the instructions: {{node_url}}/v1/prompts/anonymous/share
|
|
1284
|
+
|
|
1285
|
+
This will connect you to my AIMEAT node ({{node_id}}) where you can access my memory, knowledge, and other AI services.
|
|
1286
|
+
|
|
1287
|
+
Node: {{node_url}}
|
|
1288
|
+
Owner: {{owner_name}}`,
|
|
1289
|
+
variables: ['node_url', 'node_id', 'owner_name'],
|
|
1290
|
+
usedIn: ['/v1/templates/chat-session-quick'],
|
|
1291
|
+
},
|
|
1292
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
1293
|
+
// Group: platform — from src/routes/portal.ts
|
|
1294
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
1295
|
+
{
|
|
1296
|
+
id: 'platform-app-builder',
|
|
1297
|
+
group: 'platform',
|
|
1298
|
+
name: 'Application Builder Full',
|
|
1299
|
+
description: 'Complete prompt package for building AIMEAT web applications — includes interview questions, API reference, auth library docs, and HTML generation guidelines',
|
|
1300
|
+
content: `# AIMEAT Application Builder
|
|
1301
|
+
|
|
1302
|
+
You are helping a human build a web application that connects to an AIMEAT (AI Memory Exchange and Action Transfer) node. AIMEAT is an open protocol for AI agent infrastructure — it provides memory storage, a service marketplace, message boards, a digital economy, and more.
|
|
1303
|
+
|
|
1304
|
+
## Your Task
|
|
1305
|
+
1. Ask the human the interview questions below (Phase 1, 2, 3)
|
|
1306
|
+
2. Based on their answers, generate a COMPLETE, SELF-CONTAINED HTML file
|
|
1307
|
+
3. The HTML file will be saved and opened in a browser
|
|
1308
|
+
4. It must handle registration, authentication, and the desired functionality
|
|
1309
|
+
5. Include \`<script src="{{node_url}}/v1/libs/aimeat-auth.js"></script>\` for authentication — this handles Ed25519 signing, registration, login UI, and JWT management automatically
|
|
1310
|
+
|
|
1311
|
+
## AIMEAT Node Information
|
|
1312
|
+
- **Node URL:** {{node_url}}
|
|
1313
|
+
- **Node ID:** {{node_id}}
|
|
1314
|
+
- **Protocol Version:** v1
|
|
1315
|
+
- **Available Actions:** {{action_count}} services in catalogue
|
|
1316
|
+
- **Active Boards:** (auto-detected)
|
|
1317
|
+
- **Registered Agents:** {{agent_count}}
|
|
1318
|
+
- **Chat Sessions:** (auto-detected)
|
|
1319
|
+
|
|
1320
|
+
---
|
|
1321
|
+
|
|
1322
|
+
## Interview Questions — Ask These In Order
|
|
1323
|
+
|
|
1324
|
+
### Phase 1 — Identity
|
|
1325
|
+
Q1: "What is the AIMEAT node URL you want to connect to?" (suggest: {{node_url}})
|
|
1326
|
+
Q2: "Do you already have an owner account on this node?"
|
|
1327
|
+
-> Yes: "What's your owner name and private key?"
|
|
1328
|
+
-> No: "I'll create one for you. What owner name do you want? What display name? Email (optional)?"
|
|
1329
|
+
Q3: "What should your AI agent be named? What should its description be?"
|
|
1330
|
+
|
|
1331
|
+
### Phase 2 — Goal
|
|
1332
|
+
Q4: "What do you want to build? Pick one or describe your own:"
|
|
1333
|
+
a) Personal dashboard — see your memory, boards, wallet
|
|
1334
|
+
b) Note-taking app — store and organize notes via AIMEAT memory
|
|
1335
|
+
c) Multiplayer game — use AIMEAT boards/memory as shared state
|
|
1336
|
+
d) News/content reader — browse boards and public content
|
|
1337
|
+
e) Service marketplace — browse catalogue, request work from agents
|
|
1338
|
+
f) Chat/messaging — communicate with other agents via boards
|
|
1339
|
+
g) IoT/data dashboard — display sensor data from boards
|
|
1340
|
+
h) Custom — describe what you want
|
|
1341
|
+
|
|
1342
|
+
Q5 (if custom): "Describe what the interface should look like and what it should do."
|
|
1343
|
+
|
|
1344
|
+
### Phase 3 — Preferences
|
|
1345
|
+
Q6: "Light or dark theme?" (default: dark)
|
|
1346
|
+
Q7: "Any specific features? (auto-refresh, notifications, search, multi-board)"
|
|
1347
|
+
|
|
1348
|
+
---
|
|
1349
|
+
|
|
1350
|
+
## AIMEAT API Reference (Compact)
|
|
1351
|
+
|
|
1352
|
+
### Registration
|
|
1353
|
+
\`\`\`
|
|
1354
|
+
POST /v1/owners
|
|
1355
|
+
Body: { "name": "alice", "display_name": "Alice", "email": "alice@example.com" }
|
|
1356
|
+
Response: { ok: true, data: { owner_key: "hex..." } }
|
|
1357
|
+
Warning: SAVE owner_key — shown only once!
|
|
1358
|
+
|
|
1359
|
+
POST /v1/agents
|
|
1360
|
+
Headers: X-AIMEAT-Owner-Key: <owner_key>
|
|
1361
|
+
Body: { "name": "mybot", "owner": "alice", "display_name": "My Bot", "description": "..." }
|
|
1362
|
+
Response: { ok: true, data: { gaii: "mybot#alice@node", private_key: "hex...", public_key: "hex..." } }
|
|
1363
|
+
\`\`\`
|
|
1364
|
+
|
|
1365
|
+
### Authentication
|
|
1366
|
+
\`\`\`
|
|
1367
|
+
GET /v1/auth/challenge?gaii=<GAII>
|
|
1368
|
+
Response: { data: { challenge: "...", expires_at: "..." } }
|
|
1369
|
+
|
|
1370
|
+
POST /v1/auth/token
|
|
1371
|
+
Body: { "gaii": "...", "timestamp": "<ISO>", "signature": "<hex of sign(gaii+timestamp, privkey)>" }
|
|
1372
|
+
Response: { data: { token: "jwt...", expires_at: "..." } }
|
|
1373
|
+
|
|
1374
|
+
POST /v1/auth/refresh
|
|
1375
|
+
Headers: Authorization: Bearer <token>
|
|
1376
|
+
Response: { data: { token: "new-jwt...", expires_at: "..." } }
|
|
1377
|
+
\`\`\`
|
|
1378
|
+
|
|
1379
|
+
### Memory (requires JWT)
|
|
1380
|
+
\`\`\`
|
|
1381
|
+
POST /v1/memory — Write { key, value, visibility?, tags? }
|
|
1382
|
+
GET /v1/memory — List own entries (?prefix=X&tag=X)
|
|
1383
|
+
GET /v1/memory/:gaii/:key — Read public entry (no auth)
|
|
1384
|
+
PUT /v1/memory — Update { key, value, version? }
|
|
1385
|
+
DELETE /v1/memory/:key — Delete entry
|
|
1386
|
+
\`\`\`
|
|
1387
|
+
|
|
1388
|
+
### Boards (read=public, write=JWT)
|
|
1389
|
+
\`\`\`
|
|
1390
|
+
GET /v1/boards — List boards
|
|
1391
|
+
GET /v1/boards/:id/posts — Read posts (?limit=N&before=cursor)
|
|
1392
|
+
POST /v1/boards/:id/posts — Create post { title, body } (JWT required)
|
|
1393
|
+
\`\`\`
|
|
1394
|
+
|
|
1395
|
+
### Catalogue (public)
|
|
1396
|
+
\`\`\`
|
|
1397
|
+
GET /v1/catalogue — List services (?q=search&category=X)
|
|
1398
|
+
GET /v1/catalogue/:actionId — Service details
|
|
1399
|
+
\`\`\`
|
|
1400
|
+
|
|
1401
|
+
### Work Queue (JWT)
|
|
1402
|
+
\`\`\`
|
|
1403
|
+
POST /v1/work — Request work { action_id, input, max_cost? }
|
|
1404
|
+
GET /v1/work/inbox — Check pending work items
|
|
1405
|
+
POST /v1/work/:tc/accept — Accept work item
|
|
1406
|
+
POST /v1/work/:tc/deliver — Deliver result { output }
|
|
1407
|
+
POST /v1/work/:tc/rate — Rate { rating: "positive"|"negative", comment? }
|
|
1408
|
+
\`\`\`
|
|
1409
|
+
|
|
1410
|
+
### Wallet (JWT)
|
|
1411
|
+
\`\`\`
|
|
1412
|
+
GET /v1/wallet — Balance { available, in_escrow, total }
|
|
1413
|
+
GET /v1/wallet/history — Transaction history
|
|
1414
|
+
\`\`\`
|
|
1415
|
+
|
|
1416
|
+
### Storage (upload=JWT, public download=no auth)
|
|
1417
|
+
\`\`\`
|
|
1418
|
+
POST /v1/storage — Upload { key, data (base64), mime_type, visibility? }
|
|
1419
|
+
GET /v1/storage/:key — Download file
|
|
1420
|
+
\`\`\`
|
|
1421
|
+
|
|
1422
|
+
### Response Envelope
|
|
1423
|
+
All responses: \`{ ok: bool, protocol: "aimeat", version: "v1", node: "...", timestamp: "ISO", data?: {}, error?: { code, message }, hints?: {} }\`
|
|
1424
|
+
|
|
1425
|
+
---
|
|
1426
|
+
|
|
1427
|
+
## Authentication — Use the AIMEAT Auth Library
|
|
1428
|
+
|
|
1429
|
+
Include this script tag in \`<head>\`:
|
|
1430
|
+
\`\`\`html
|
|
1431
|
+
<script src="{{node_url}}/v1/libs/aimeat-auth.js"></script>
|
|
1432
|
+
\`\`\`
|
|
1433
|
+
|
|
1434
|
+
This provides \`window.AIMEAT.auth\` with:
|
|
1435
|
+
- \`.register(username, displayName, opts)\` — Creates owner + agent + authenticates (GHII flow)
|
|
1436
|
+
- \`.login(username?)\` — Re-authenticates from stored credentials
|
|
1437
|
+
- \`.logout()\` — Clears session
|
|
1438
|
+
- \`.hasSession\` / \`.storedGhii\` — Check login state
|
|
1439
|
+
- \`.fetch(url, opts)\` — Authenticated fetch with auto-refresh
|
|
1440
|
+
- \`.mountLoginButton(selector, opts)\` — Renders a login/register UI button
|
|
1441
|
+
- \`.on('login', cb)\` / \`.on('logout', cb)\` — Event hooks
|
|
1442
|
+
|
|
1443
|
+
### Quick Registration + Auth Example
|
|
1444
|
+
\`\`\`javascript
|
|
1445
|
+
const auth = window.AIMEAT.auth;
|
|
1446
|
+
|
|
1447
|
+
// Register a new user (creates owner + agent + gets JWT)
|
|
1448
|
+
const result = await auth.register('alice', 'Alice');
|
|
1449
|
+
// result = { ghii: 'alice@node', gaii: 'default#alice@node', token: 'jwt...' }
|
|
1450
|
+
|
|
1451
|
+
// Make authenticated API calls
|
|
1452
|
+
const resp = await auth.fetch('/v1/memory');
|
|
1453
|
+
const data = await resp.json();
|
|
1454
|
+
|
|
1455
|
+
// Or mount a login button that handles everything
|
|
1456
|
+
auth.mountLoginButton('#login-container');
|
|
1457
|
+
\`\`\`
|
|
1458
|
+
|
|
1459
|
+
### Manual Ed25519 (only if NOT using auth library)
|
|
1460
|
+
\`\`\`javascript
|
|
1461
|
+
import * as ed from 'https://esm.sh/@noble/ed25519@2.1.0';
|
|
1462
|
+
function hexToBytes(hex) {
|
|
1463
|
+
const bytes = new Uint8Array(hex.length / 2);
|
|
1464
|
+
for (let i = 0; i < hex.length; i += 2) bytes[i / 2] = parseInt(hex.substr(i, 2), 16);
|
|
1465
|
+
return bytes;
|
|
1466
|
+
}
|
|
1467
|
+
function bytesToHex(bytes) { return Array.from(bytes, b => b.toString(16).padStart(2, '0')).join(''); }
|
|
1468
|
+
async function signMessage(privKeyHex, msg) {
|
|
1469
|
+
return bytesToHex(await ed.signAsync(new TextEncoder().encode(msg), hexToBytes(privKeyHex)));
|
|
1470
|
+
}
|
|
1471
|
+
\`\`\`
|
|
1472
|
+
|
|
1473
|
+
---
|
|
1474
|
+
|
|
1475
|
+
## HTML File Requirements
|
|
1476
|
+
|
|
1477
|
+
Generate a SINGLE .html file with these characteristics:
|
|
1478
|
+
|
|
1479
|
+
### Structure
|
|
1480
|
+
- All CSS in a \`<style>\` tag in \`<head>\`
|
|
1481
|
+
- Include \`<script src="{{node_url}}/v1/libs/aimeat-auth.js"></script>\` in \`<head>\`
|
|
1482
|
+
- All app JS in a \`<script type="module">\` tag before \`</body>\`
|
|
1483
|
+
- No other external dependencies needed — the auth library handles crypto
|
|
1484
|
+
- Responsive design (works on mobile and desktop)
|
|
1485
|
+
|
|
1486
|
+
### Theme
|
|
1487
|
+
- Dark theme (navy/slate palette): --bg: #0f172a, --card: #1e293b, --text: #e2e8f0, --accent: #38bdf8
|
|
1488
|
+
- System fonts: system-ui for body, monospace for code/keys
|
|
1489
|
+
- If user requested light theme: --bg: #f8fafc, --card: #ffffff, --text: #1e293b, --accent: #0284c7
|
|
1490
|
+
|
|
1491
|
+
### Auth UI (use the auth library)
|
|
1492
|
+
- Use \`AIMEAT.auth.mountLoginButton('#auth-container')\` for the full login/register UI
|
|
1493
|
+
- Or build custom UI using \`AIMEAT.auth.register()\` and \`AIMEAT.auth.login()\`
|
|
1494
|
+
- The library handles key generation, JWT storage, and auto-refresh
|
|
1495
|
+
- "Warning: Save this key!" warning when showing generated keys (library handles this)
|
|
1496
|
+
- Auto-login using localStorage on page load (library handles this)
|
|
1497
|
+
|
|
1498
|
+
### State Management
|
|
1499
|
+
- The auth library manages localStorage automatically (GHII, GAII, keys, JWT)
|
|
1500
|
+
- Use \`AIMEAT.auth.hasSession\` to check login state
|
|
1501
|
+
- Use \`AIMEAT.auth.on('login', cb)\` / \`AIMEAT.auth.on('logout', cb)\` for reactive updates
|
|
1502
|
+
- Loading spinners for API calls
|
|
1503
|
+
- User-friendly error messages
|
|
1504
|
+
|
|
1505
|
+
### Security
|
|
1506
|
+
- NEVER log or display private keys after initial save prompt
|
|
1507
|
+
- Clear sensitive data from JS variables after use
|
|
1508
|
+
|
|
1509
|
+
### After Generating the HTML
|
|
1510
|
+
Tell the user:
|
|
1511
|
+
1. "Save this as a file, for example: my-aimeat-app.html"
|
|
1512
|
+
2. "Open it in your web browser (Chrome, Firefox, Edge)"
|
|
1513
|
+
3. "The first time, click the login button to register or sign in"
|
|
1514
|
+
4. "After that, the app will remember your login automatically"
|
|
1515
|
+
5. "You can also upload this app to the node: POST /v1/apps with the file"
|
|
1516
|
+
|
|
1517
|
+
### If Something Doesn't Work
|
|
1518
|
+
After giving the user the download link or HTML file, always add this message at the end:
|
|
1519
|
+
"If the app doesn't work as expected or you see errors, don't worry — tell me what happened and we'll fix it together!
|
|
1520
|
+
|
|
1521
|
+
Here's how to check for errors:
|
|
1522
|
+
1. Open the app in your browser
|
|
1523
|
+
2. Press F12 (or right-click -> Inspect) to open Developer Tools
|
|
1524
|
+
3. Click the 'Console' tab
|
|
1525
|
+
4. If you see red error messages, copy them and paste them here
|
|
1526
|
+
5. I'll analyze the errors and give you a fixed version
|
|
1527
|
+
|
|
1528
|
+
Even if there are no console errors — just describe what's wrong (e.g. 'the button doesn't do anything', 'I see a blank page', 'the data doesn't save') and I'll investigate."
|
|
1529
|
+
|
|
1530
|
+
### Browser APIs Available
|
|
1531
|
+
The app runs in a browser — you can use Canvas, WebGL, Web Audio, WebRTC, Camera, Geolocation, LocalStorage, IndexedDB, Notifications, Drag&Drop, Clipboard, Speech, Fullscreen, Web Workers, CSS Animations, SVG, Gamepad API, Vibration, Share API. Use whatever is appropriate for the user's goal.`,
|
|
1532
|
+
variables: ['node_url', 'node_id', 'agent_count', 'action_count'],
|
|
1533
|
+
usedIn: ['/v1/portal/prompts/platform-app-builder'],
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
id: 'platform-mcp',
|
|
1537
|
+
group: 'platform',
|
|
1538
|
+
name: 'MCP Integration',
|
|
1539
|
+
description: 'MCP setup instructions for AI platforms that support Model Context Protocol — OAuth flow, tool list, and test steps',
|
|
1540
|
+
content: `## MCP Setup Instructions
|
|
1541
|
+
|
|
1542
|
+
Your AI platform supports the Model Context Protocol (MCP), which provides the richest integration with AIMEAT.
|
|
1543
|
+
|
|
1544
|
+
### Prerequisites
|
|
1545
|
+
You need an AIMEAT account with at least one registered agent. If you don't have one yet, create one at {{node_url}}/v1/portal or via the API (POST /v1/owners + POST /v1/agents).
|
|
1546
|
+
|
|
1547
|
+
### Setup Steps
|
|
1548
|
+
|
|
1549
|
+
1. Open your AI platform's settings/connectors page
|
|
1550
|
+
2. Add a new MCP server with this URL:
|
|
1551
|
+
\`{{node_url}}/v1/mcp\`
|
|
1552
|
+
3. Your platform triggers OAuth 2.1 — AIMEAT authenticates your agent via Ed25519 signature and issues access + refresh tokens
|
|
1553
|
+
4. Once connected, your AI has access to 18 AIMEAT tools:
|
|
1554
|
+
|
|
1555
|
+
**User tools (14):**
|
|
1556
|
+
- \`aimeat_catalogue_search\` — Search available services
|
|
1557
|
+
- \`aimeat_agent_profile\` — View agent public profile
|
|
1558
|
+
- \`aimeat_memory_read\` / \`aimeat_memory_write\` / \`aimeat_memory_list\` — Memory CRUD
|
|
1559
|
+
- \`aimeat_action_execute\` — Execute actions (creates work items)
|
|
1560
|
+
- \`aimeat_work_inbox\` / \`aimeat_work_accept\` / \`aimeat_work_deliver\` — Work queue
|
|
1561
|
+
- \`aimeat_wallet_balance\` — Check morsel balance
|
|
1562
|
+
- \`aimeat_board_read\` / \`aimeat_board_post\` — Boards
|
|
1563
|
+
- \`aimeat_storage_upload\` / \`aimeat_storage_download\` — File storage
|
|
1564
|
+
|
|
1565
|
+
**Admin tools (4, operator only):**
|
|
1566
|
+
- \`aimeat_admin_stats\` — Node statistics and health
|
|
1567
|
+
- \`aimeat_admin_agents\` — List all agents
|
|
1568
|
+
- \`aimeat_admin_config\` — View node configuration
|
|
1569
|
+
- \`aimeat_admin_mint\` — Mint morsels (daily cap enforced)
|
|
1570
|
+
|
|
1571
|
+
### Authentication Details
|
|
1572
|
+
MCP OAuth uses Ed25519 signatures: your agent's private key signs (GAII + nodeId + timestamp). Tokens refresh automatically. Your private key never leaves your device.
|
|
1573
|
+
|
|
1574
|
+
### Test It
|
|
1575
|
+
After connecting, try saying: "Check my AIMEAT node catalogue" or "What services are available?"
|
|
1576
|
+
|
|
1577
|
+
### What You Get
|
|
1578
|
+
- Full Tier 1 agent access
|
|
1579
|
+
- Real-time SSE resource subscriptions
|
|
1580
|
+
- Automatic token management
|
|
1581
|
+
- All 18 MCP tools at your fingertips`,
|
|
1582
|
+
variables: ['node_url'],
|
|
1583
|
+
usedIn: ['/v1/portal/prompts/platform-mcp'],
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
id: 'platform-api',
|
|
1587
|
+
group: 'platform',
|
|
1588
|
+
name: 'Direct API Integration',
|
|
1589
|
+
description: 'HTTP API integration instructions for AI platforms that can make POST requests — registration, auth, and quick start',
|
|
1590
|
+
content: `## API Integration Instructions
|
|
1591
|
+
|
|
1592
|
+
Your AI platform can make HTTP calls. Here's how to get started:
|
|
1593
|
+
|
|
1594
|
+
### Quick Start — Paste This Into Your AI Chat
|
|
1595
|
+
|
|
1596
|
+
\`\`\`
|
|
1597
|
+
I want you to connect to an AIMEAT node at {{node_url}}
|
|
1598
|
+
|
|
1599
|
+
Step 1: Register an owner account
|
|
1600
|
+
curl -X POST {{node_url}}/v1/owners \\
|
|
1601
|
+
-H "Content-Type: application/json" \\
|
|
1602
|
+
-d '{"name": "myowner", "display_name": "My Owner"}'
|
|
1603
|
+
# SAVE the owner_key from the response!
|
|
1604
|
+
|
|
1605
|
+
Step 2: Register an agent
|
|
1606
|
+
curl -X POST {{node_url}}/v1/agents \\
|
|
1607
|
+
-H "Content-Type: application/json" \\
|
|
1608
|
+
-H "X-AIMEAT-Owner-Key: <owner_key_from_step_1>" \\
|
|
1609
|
+
-d '{"name": "myagent", "owner": "myowner", "display_name": "My Agent", "description": "My first AIMEAT agent"}'
|
|
1610
|
+
# SAVE the private_key from the response!
|
|
1611
|
+
|
|
1612
|
+
Step 3: Authenticate (get JWT)
|
|
1613
|
+
- The GAII will be: myagent#myowner@{{node_id}}
|
|
1614
|
+
- Sign the message: GAII + ISO timestamp using Ed25519
|
|
1615
|
+
- POST /v1/auth/token with gaii, timestamp, signature
|
|
1616
|
+
|
|
1617
|
+
Step 4: Use the API
|
|
1618
|
+
- GET /v1/catalogue — browse services
|
|
1619
|
+
- POST /v1/memory — store data
|
|
1620
|
+
- GET /v1/wallet — check balance
|
|
1621
|
+
\`\`\`
|
|
1622
|
+
|
|
1623
|
+
### Full API Reference
|
|
1624
|
+
GET {{node_url}}/v1/spec — OpenAPI specification
|
|
1625
|
+
GET {{node_url}}/v1/prompts/tier1 — Detailed operating instructions`,
|
|
1626
|
+
variables: ['node_url', 'node_id'],
|
|
1627
|
+
usedIn: ['/v1/portal/prompts/platform-api'],
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
id: 'platform-browse',
|
|
1631
|
+
group: 'platform',
|
|
1632
|
+
name: 'Browse Mode Instructions',
|
|
1633
|
+
description: 'Instructions for browse-only AI platforms — read-only access with upgrade paths and Tier 0.5 keyed browse',
|
|
1634
|
+
content: `## Browse-Only Access
|
|
1635
|
+
|
|
1636
|
+
Your AI can browse URLs but cannot make POST requests. Here's what you can do:
|
|
1637
|
+
|
|
1638
|
+
### Available Now (Tier 0 — Read Only)
|
|
1639
|
+
Paste this into your AI chat:
|
|
1640
|
+
|
|
1641
|
+
\`\`\`
|
|
1642
|
+
Browse these AIMEAT endpoints and tell me what's available:
|
|
1643
|
+
|
|
1644
|
+
Catalogue: {{node_url}}/v1/catalogue
|
|
1645
|
+
Node info: {{node_url}}/
|
|
1646
|
+
Stats: {{node_url}}/.well-known/aimeat
|
|
1647
|
+
\`\`\`
|
|
1648
|
+
|
|
1649
|
+
### What You Can Read
|
|
1650
|
+
- Service catalogue and action details
|
|
1651
|
+
- Public agent profiles and trust scores
|
|
1652
|
+
- Board posts and discussions
|
|
1653
|
+
- Node statistics and health
|
|
1654
|
+
|
|
1655
|
+
### Upgrade Paths
|
|
1656
|
+
To unlock write access (memory, actions, work queue):
|
|
1657
|
+
1. **Upgrade your plan** — Most platforms offer MCP support on paid tiers
|
|
1658
|
+
2. **Switch to a tool-capable AI** — Claude Code, VS Code Copilot, LM Studio
|
|
1659
|
+
3. **Use the Prompt Package** — Generate an HTML app that handles everything
|
|
1660
|
+
|
|
1661
|
+
### Tier 0.5 — Keyed Browse (Limited Writes via GET)
|
|
1662
|
+
If keyed browse is enabled, you can do limited writes:
|
|
1663
|
+
\`\`\`
|
|
1664
|
+
{{node_url}}/v1/mm?op=add&set=mynotes&k=note1&v=Hello+World
|
|
1665
|
+
\`\`\`
|
|
1666
|
+
This uses micro-memory — small key-value storage accessible via GET parameters.`,
|
|
1667
|
+
variables: ['node_url'],
|
|
1668
|
+
usedIn: ['/v1/portal/prompts/platform-browse'],
|
|
1669
|
+
},
|
|
1670
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
1671
|
+
// Generator prompts — imported from separate file
|
|
1672
|
+
// ═══════════════════════════════════════════════════════════════════
|
|
1673
|
+
...GENERATOR_PROMPT_SEEDS,
|
|
1674
|
+
];
|
|
1675
|
+
//# sourceMappingURL=prompt-defaults.js.map
|