aimeat 3.2.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/.env.example +58 -1
- package/dist/build-stamp.json +4 -4
- package/dist/locales/en.json +41 -1
- package/dist/locales/es.json +41 -1
- package/dist/locales/fi.json +43 -3
- package/dist/public/changelog.json +12 -0
- package/dist/public/css/views/chat.css +388 -0
- package/dist/public/js/services/chat.js +190 -0
- package/dist/public/js/services/speech-reader.js +26 -0
- package/dist/public/lib/VENDORED.md +1 -0
- package/dist/public/lib/duckdb-wasm@1.32.0/duckdb-browser-eh.worker.js +14 -0
- package/dist/public/lib/duckdb-wasm@1.32.0/duckdb-browser.js +23 -0
- package/dist/public/lib/duckdb-wasm@1.32.0/duckdb-eh.wasm +0 -0
- package/dist/public/lib/duckdb-wasm@1.32.0/extensions/v1.4.3/wasm_eh/parquet.duckdb_extension.wasm +0 -0
- package/dist/public/lib/vendored-assets.json +19 -0
- package/dist/public/llms-full-template.txt +2706 -0
- package/dist/public/llms-index-template.txt +60 -0
- package/dist/public/robots.node.txt +64 -23
- package/dist/public/spa.html +8 -1
- package/dist/public/views/chat/parts.js +257 -0
- package/dist/public/views/chat.js +327 -0
- package/dist/public/views/landing.js +24 -1
- package/dist/public/views/profile/agents/scope-model.js +320 -315
- package/dist/scripts/audit-mcp-schemas.js +50 -0
- package/dist/scripts/audit-mcp-schemas.js.map +1 -1
- package/dist/scripts/build-sdk-libs.d.ts.map +1 -1
- package/dist/scripts/build-sdk-libs.js +1 -0
- package/dist/scripts/build-sdk-libs.js.map +1 -1
- package/dist/scripts/check-ai-disclosure.d.ts +1 -1
- package/dist/scripts/check-ai-disclosure.d.ts.map +1 -1
- package/dist/scripts/check-ai-disclosure.js +30 -3
- package/dist/scripts/check-ai-disclosure.js.map +1 -1
- package/dist/scripts/check-denial-coverage.d.ts +29 -0
- package/dist/scripts/check-denial-coverage.d.ts.map +1 -0
- package/dist/scripts/check-denial-coverage.js +237 -0
- package/dist/scripts/check-denial-coverage.js.map +1 -0
- package/dist/scripts/check-ext-entrypoints.js +14 -2
- package/dist/scripts/check-ext-entrypoints.js.map +1 -1
- package/dist/scripts/check-outbound-fetch.d.ts.map +1 -1
- package/dist/scripts/check-outbound-fetch.js +16 -2
- package/dist/scripts/check-outbound-fetch.js.map +1 -1
- package/dist/scripts/check-sse-parity.js +14 -0
- package/dist/scripts/check-sse-parity.js.map +1 -1
- package/dist/scripts/indexnow.js +9 -7
- package/dist/scripts/indexnow.js.map +1 -1
- package/dist/src/auth/ai-gate.d.ts +25 -0
- package/dist/src/auth/ai-gate.d.ts.map +1 -0
- package/dist/src/auth/ai-gate.js +21 -0
- package/dist/src/auth/ai-gate.js.map +1 -0
- package/dist/src/auth/middleware.d.ts +7 -0
- package/dist/src/auth/middleware.d.ts.map +1 -1
- package/dist/src/auth/middleware.js +15 -21
- package/dist/src/auth/middleware.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/agent-tasks.d.ts +4 -0
- package/dist/src/cli/connect/mcp/tools/agent-tasks.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/agent-tasks.js +11 -1
- package/dist/src/cli/connect/mcp/tools/agent-tasks.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/apps.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/apps.js +88 -0
- package/dist/src/cli/connect/mcp/tools/apps.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/core.d.ts +7 -0
- package/dist/src/cli/connect/mcp/tools/core.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/core.js +83 -4
- package/dist/src/cli/connect/mcp/tools/core.js.map +1 -1
- package/dist/src/cli/connect/onboarding-prompt.js +1 -1
- package/dist/src/cli/connect/skill-bundle.js +1 -1
- package/dist/src/cli/connect/tool-call-defs-agent.d.ts.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-agent.js +38 -9
- package/dist/src/cli/connect/tool-call-defs-agent.js.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-app-draft-edit.d.ts +21 -0
- package/dist/src/cli/connect/tool-call-defs-app-draft-edit.d.ts.map +1 -0
- package/dist/src/cli/connect/tool-call-defs-app-draft-edit.js +137 -0
- package/dist/src/cli/connect/tool-call-defs-app-draft-edit.js.map +1 -0
- package/dist/src/cli/connect/tool-call-defs-apps.d.ts.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-apps.js +114 -25
- package/dist/src/cli/connect/tool-call-defs-apps.js.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-core.d.ts +1 -0
- package/dist/src/cli/connect/tool-call-defs-core.d.ts.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-core.js +179 -26
- package/dist/src/cli/connect/tool-call-defs-core.js.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-organism.d.ts.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-organism.js +20 -3
- package/dist/src/cli/connect/tool-call-defs-organism.js.map +1 -1
- package/dist/src/cli/connect/tool-call.d.ts.map +1 -1
- package/dist/src/cli/connect/tool-call.js +52 -1
- package/dist/src/cli/connect/tool-call.js.map +1 -1
- package/dist/src/config-types-ai.d.ts +76 -0
- package/dist/src/config-types-ai.d.ts.map +1 -0
- package/dist/src/config-types-ai.js +15 -0
- package/dist/src/config-types-ai.js.map +1 -0
- package/dist/src/config-types.d.ts +11 -2
- package/dist/src/config-types.d.ts.map +1 -1
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/config.js +25 -4
- package/dist/src/config.js.map +1 -1
- package/dist/src/data/builtin-skills.d.ts.map +1 -1
- package/dist/src/data/builtin-skills.js +3 -2
- package/dist/src/data/builtin-skills.js.map +1 -1
- package/dist/src/data/digital-signage-package.js +1 -1
- package/dist/src/data/library-packs/sdk.d.ts.map +1 -1
- package/dist/src/data/library-packs/sdk.js +76 -0
- package/dist/src/data/library-packs/sdk.js.map +1 -1
- package/dist/src/data/library-packs/vendored.d.ts.map +1 -1
- package/dist/src/data/library-packs/vendored.js +81 -0
- package/dist/src/data/library-packs/vendored.js.map +1 -1
- package/dist/src/data/library-packs.d.ts +2 -2
- package/dist/src/data/library-packs.js +2 -2
- package/dist/src/data/public-pages.d.ts +13 -0
- package/dist/src/data/public-pages.d.ts.map +1 -1
- package/dist/src/data/public-pages.js +153 -113
- package/dist/src/data/public-pages.js.map +1 -1
- package/dist/src/generated/api-types.d.ts +1808 -36
- package/dist/src/generated/api-types.d.ts.map +1 -1
- package/dist/src/index-start.d.ts.map +1 -1
- package/dist/src/index-start.js +3 -0
- package/dist/src/index-start.js.map +1 -1
- package/dist/src/mcp/agent-tasks.d.ts.map +1 -1
- package/dist/src/mcp/agent-tasks.js +5 -0
- package/dist/src/mcp/agent-tasks.js.map +1 -1
- package/dist/src/mcp/ai-image.d.ts +22 -0
- package/dist/src/mcp/ai-image.d.ts.map +1 -0
- package/dist/src/mcp/ai-image.js +60 -0
- package/dist/src/mcp/ai-image.js.map +1 -0
- package/dist/src/mcp/annotations.d.ts +5 -0
- package/dist/src/mcp/annotations.d.ts.map +1 -1
- package/dist/src/mcp/annotations.js +18 -0
- package/dist/src/mcp/annotations.js.map +1 -1
- package/dist/src/mcp/apps-draft-edit.d.ts +28 -0
- package/dist/src/mcp/apps-draft-edit.d.ts.map +1 -0
- package/dist/src/mcp/apps-draft-edit.js +164 -0
- package/dist/src/mcp/apps-draft-edit.js.map +1 -0
- package/dist/src/mcp/apps-screenshot.d.ts +26 -0
- package/dist/src/mcp/apps-screenshot.d.ts.map +1 -0
- package/dist/src/mcp/apps-screenshot.js +39 -0
- package/dist/src/mcp/apps-screenshot.js.map +1 -0
- package/dist/src/mcp/catalog/definitions/discovery-work-boards.d.ts +1 -0
- package/dist/src/mcp/catalog/definitions/discovery-work-boards.d.ts.map +1 -1
- package/dist/src/mcp/catalog/definitions/discovery-work-boards.js +40 -0
- package/dist/src/mcp/catalog/definitions/discovery-work-boards.js.map +1 -1
- package/dist/src/mcp/catalog/definitions/organisms-workspaces-apps.d.ts +3 -0
- package/dist/src/mcp/catalog/definitions/organisms-workspaces-apps.d.ts.map +1 -1
- package/dist/src/mcp/catalog/definitions/organisms-workspaces-apps.js +74 -0
- package/dist/src/mcp/catalog/definitions/organisms-workspaces-apps.js.map +1 -1
- package/dist/src/mcp/catalog/definitions/schedules-tasks-memory.d.ts.map +1 -1
- package/dist/src/mcp/catalog/definitions/schedules-tasks-memory.js +1 -0
- package/dist/src/mcp/catalog/definitions/schedules-tasks-memory.js.map +1 -1
- package/dist/src/mcp/catalog/scopes.d.ts.map +1 -1
- package/dist/src/mcp/catalog/scopes.js +19 -1
- package/dist/src/mcp/catalog/scopes.js.map +1 -1
- package/dist/src/mcp/catalog/surfaces.d.ts.map +1 -1
- package/dist/src/mcp/catalog/surfaces.js +18 -4
- package/dist/src/mcp/catalog/surfaces.js.map +1 -1
- package/dist/src/mcp/core-datapackage.d.ts +32 -0
- package/dist/src/mcp/core-datapackage.d.ts.map +1 -0
- package/dist/src/mcp/core-datapackage.js +188 -0
- package/dist/src/mcp/core-datapackage.js.map +1 -0
- package/dist/src/mcp/core-storage.d.ts +7 -3
- package/dist/src/mcp/core-storage.d.ts.map +1 -1
- package/dist/src/mcp/core-storage.js +27 -4
- package/dist/src/mcp/core-storage.js.map +1 -1
- package/dist/src/mcp/core.d.ts.map +1 -1
- package/dist/src/mcp/core.js +3 -0
- package/dist/src/mcp/core.js.map +1 -1
- package/dist/src/mcp/extensions.d.ts.map +1 -1
- package/dist/src/mcp/extensions.js +11 -1
- package/dist/src/mcp/extensions.js.map +1 -1
- package/dist/src/mcp/index.d.ts +9 -0
- package/dist/src/mcp/index.d.ts.map +1 -1
- package/dist/src/mcp/index.js +34 -0
- package/dist/src/mcp/index.js.map +1 -1
- package/dist/src/models/agent-task-schemas.d.ts.map +1 -1
- package/dist/src/models/agent-task-schemas.js +12 -1
- package/dist/src/models/agent-task-schemas.js.map +1 -1
- package/dist/src/models/workflow-schemas.d.ts +178 -1
- package/dist/src/models/workflow-schemas.d.ts.map +1 -1
- package/dist/src/models/workflow-schemas.js +75 -0
- package/dist/src/models/workflow-schemas.js.map +1 -1
- package/dist/src/routes/admin-extensions.d.ts +4 -0
- package/dist/src/routes/admin-extensions.d.ts.map +1 -1
- package/dist/src/routes/admin-extensions.js +135 -142
- package/dist/src/routes/admin-extensions.js.map +1 -1
- package/dist/src/routes/agent-conventions.d.ts.map +1 -1
- package/dist/src/routes/agent-conventions.js +4 -2
- package/dist/src/routes/agent-conventions.js.map +1 -1
- package/dist/src/routes/agent-docs.d.ts +4 -4
- package/dist/src/routes/agent-docs.js +145 -145
- package/dist/src/routes/agent-docs.js.map +1 -1
- package/dist/src/routes/agent-messages.d.ts +6 -0
- package/dist/src/routes/agent-messages.d.ts.map +1 -1
- package/dist/src/routes/agent-messages.js +23 -1
- package/dist/src/routes/agent-messages.js.map +1 -1
- package/dist/src/routes/agent-tasks/create-read.d.ts.map +1 -1
- package/dist/src/routes/agent-tasks/create-read.js +8 -1
- package/dist/src/routes/agent-tasks/create-read.js.map +1 -1
- package/dist/src/routes/agent-tasks/lifecycle.d.ts +4 -1
- package/dist/src/routes/agent-tasks/lifecycle.d.ts.map +1 -1
- package/dist/src/routes/agent-tasks/lifecycle.js +80 -2
- package/dist/src/routes/agent-tasks/lifecycle.js.map +1 -1
- package/dist/src/routes/ai.d.ts +5 -0
- package/dist/src/routes/ai.d.ts.map +1 -1
- package/dist/src/routes/ai.js +55 -16
- package/dist/src/routes/ai.js.map +1 -1
- package/dist/src/routes/app-grants.d.ts.map +1 -1
- package/dist/src/routes/app-grants.js +5 -0
- package/dist/src/routes/app-grants.js.map +1 -1
- package/dist/src/routes/apps/drafts.d.ts +6 -0
- package/dist/src/routes/apps/drafts.d.ts.map +1 -1
- package/dist/src/routes/apps/drafts.js +133 -1
- package/dist/src/routes/apps/drafts.js.map +1 -1
- package/dist/src/routes/apps/read.d.ts.map +1 -1
- package/dist/src/routes/apps/read.js +38 -1
- package/dist/src/routes/apps/read.js.map +1 -1
- package/dist/src/routes/auth-otk.d.ts +28 -0
- package/dist/src/routes/auth-otk.d.ts.map +1 -0
- package/dist/src/routes/auth-otk.js +190 -0
- package/dist/src/routes/auth-otk.js.map +1 -0
- package/dist/src/routes/auth.d.ts +17 -0
- package/dist/src/routes/auth.d.ts.map +1 -1
- package/dist/src/routes/auth.js +44 -153
- package/dist/src/routes/auth.js.map +1 -1
- package/dist/src/routes/bootstrap.d.ts +6 -0
- package/dist/src/routes/bootstrap.d.ts.map +1 -1
- package/dist/src/routes/bootstrap.js +47 -20
- package/dist/src/routes/bootstrap.js.map +1 -1
- package/dist/src/routes/chat.d.ts +23 -0
- package/dist/src/routes/chat.d.ts.map +1 -0
- package/dist/src/routes/chat.js +165 -0
- package/dist/src/routes/chat.js.map +1 -0
- package/dist/src/routes/commerce.js +4 -4
- package/dist/src/routes/commerce.js.map +1 -1
- package/dist/src/routes/datapackages.d.ts +35 -0
- package/dist/src/routes/datapackages.d.ts.map +1 -0
- package/dist/src/routes/datapackages.js +217 -0
- package/dist/src/routes/datapackages.js.map +1 -0
- package/dist/src/routes/disputes.d.ts +8 -0
- package/dist/src/routes/disputes.d.ts.map +1 -1
- package/dist/src/routes/disputes.js +52 -1
- package/dist/src/routes/disputes.js.map +1 -1
- package/dist/src/routes/ecosystem-apps-advisories.d.ts +16 -0
- package/dist/src/routes/ecosystem-apps-advisories.d.ts.map +1 -0
- package/dist/src/routes/ecosystem-apps-advisories.js +104 -0
- package/dist/src/routes/ecosystem-apps-advisories.js.map +1 -0
- package/dist/src/routes/ecosystem-apps.d.ts +6 -0
- package/dist/src/routes/ecosystem-apps.d.ts.map +1 -1
- package/dist/src/routes/ecosystem-apps.js +31 -99
- package/dist/src/routes/ecosystem-apps.js.map +1 -1
- package/dist/src/routes/extensions/actions.d.ts.map +1 -1
- package/dist/src/routes/extensions/actions.js +29 -1
- package/dist/src/routes/extensions/actions.js.map +1 -1
- package/dist/src/routes/federation-sync/routing.d.ts.map +1 -1
- package/dist/src/routes/federation-sync/routing.js +12 -3
- package/dist/src/routes/federation-sync/routing.js.map +1 -1
- package/dist/src/routes/glossary.js +1 -1
- package/dist/src/routes/glossary.js.map +1 -1
- package/dist/src/routes/home/track.d.ts +5 -1
- package/dist/src/routes/home/track.d.ts.map +1 -1
- package/dist/src/routes/home/track.js +20 -6
- package/dist/src/routes/home/track.js.map +1 -1
- package/dist/src/routes/instances/install.d.ts +3 -0
- package/dist/src/routes/instances/install.d.ts.map +1 -1
- package/dist/src/routes/instances/install.js +17 -24
- package/dist/src/routes/instances/install.js.map +1 -1
- package/dist/src/routes/libs.js +1 -1
- package/dist/src/routes/libs.js.map +1 -1
- package/dist/src/routes/llm-proxy.d.ts +34 -0
- package/dist/src/routes/llm-proxy.d.ts.map +1 -0
- package/dist/src/routes/llm-proxy.js +258 -0
- package/dist/src/routes/llm-proxy.js.map +1 -0
- package/dist/src/routes/markdown-mirrors.js +1 -1
- package/dist/src/routes/markdown-mirrors.js.map +1 -1
- package/dist/src/routes/odata.d.ts +36 -0
- package/dist/src/routes/odata.d.ts.map +1 -0
- package/dist/src/routes/odata.js +143 -0
- package/dist/src/routes/odata.js.map +1 -0
- package/dist/src/routes/openrouter.d.ts +4 -0
- package/dist/src/routes/openrouter.d.ts.map +1 -1
- package/dist/src/routes/openrouter.js +10 -1
- package/dist/src/routes/openrouter.js.map +1 -1
- package/dist/src/routes/organisms/gates.d.ts.map +1 -1
- package/dist/src/routes/organisms/gates.js +9 -2
- package/dist/src/routes/organisms/gates.js.map +1 -1
- package/dist/src/routes/portal.d.ts +1 -0
- package/dist/src/routes/portal.d.ts.map +1 -1
- package/dist/src/routes/portal.js +13 -0
- package/dist/src/routes/portal.js.map +1 -1
- package/dist/src/routes/schedules.d.ts +4 -0
- package/dist/src/routes/schedules.d.ts.map +1 -1
- package/dist/src/routes/schedules.js +9 -1
- package/dist/src/routes/schedules.js.map +1 -1
- package/dist/src/routes/storage-files.d.ts +23 -0
- package/dist/src/routes/storage-files.d.ts.map +1 -1
- package/dist/src/routes/storage-files.js +103 -82
- package/dist/src/routes/storage-files.js.map +1 -1
- package/dist/src/routes/workflows.d.ts.map +1 -1
- package/dist/src/routes/workflows.js +9 -1
- package/dist/src/routes/workflows.js.map +1 -1
- package/dist/src/server-bootstrap/routes-loader.d.ts +2 -0
- package/dist/src/server-bootstrap/routes-loader.d.ts.map +1 -1
- package/dist/src/server-bootstrap/routes-loader.js +22 -2
- package/dist/src/server-bootstrap/routes-loader.js.map +1 -1
- package/dist/src/server-bootstrap/service-init.d.ts.map +1 -1
- package/dist/src/server-bootstrap/service-init.js +12 -7
- package/dist/src/server-bootstrap/service-init.js.map +1 -1
- package/dist/src/server-bootstrap/static-files.d.ts.map +1 -1
- package/dist/src/server-bootstrap/static-files.js +44 -10
- package/dist/src/server-bootstrap/static-files.js.map +1 -1
- package/dist/src/services/ai-allowance.d.ts +82 -0
- package/dist/src/services/ai-allowance.d.ts.map +1 -0
- package/dist/src/services/ai-allowance.js +117 -0
- package/dist/src/services/ai-allowance.js.map +1 -0
- package/dist/src/services/ai-completion.d.ts +102 -0
- package/dist/src/services/ai-completion.d.ts.map +1 -1
- package/dist/src/services/ai-completion.js +131 -67
- package/dist/src/services/ai-completion.js.map +1 -1
- package/dist/src/services/ai-image.d.ts +70 -0
- package/dist/src/services/ai-image.d.ts.map +1 -0
- package/dist/src/services/ai-image.js +104 -0
- package/dist/src/services/ai-image.js.map +1 -0
- package/dist/src/services/ai-model-defaults.d.ts +45 -0
- package/dist/src/services/ai-model-defaults.d.ts.map +1 -0
- package/dist/src/services/ai-model-defaults.js +42 -0
- package/dist/src/services/ai-model-defaults.js.map +1 -0
- package/dist/src/services/ai-tool-setup.d.ts +5 -1
- package/dist/src/services/ai-tool-setup.d.ts.map +1 -1
- package/dist/src/services/ai-tool-setup.js +36 -0
- package/dist/src/services/ai-tool-setup.js.map +1 -1
- package/dist/src/services/ai-transcription.d.ts +5 -0
- package/dist/src/services/ai-transcription.d.ts.map +1 -1
- package/dist/src/services/ai-transcription.js +5 -2
- package/dist/src/services/ai-transcription.js.map +1 -1
- package/dist/src/services/app-agent-surfaces.js +4 -4
- package/dist/src/services/app-agent-surfaces.js.map +1 -1
- package/dist/src/services/app-draft-edit.d.ts +144 -0
- package/dist/src/services/app-draft-edit.d.ts.map +1 -0
- package/dist/src/services/app-draft-edit.js +203 -0
- package/dist/src/services/app-draft-edit.js.map +1 -0
- package/dist/src/services/auth-md.js +2 -2
- package/dist/src/services/auth-md.js.map +1 -1
- package/dist/src/services/board-write.d.ts +11 -3
- package/dist/src/services/board-write.d.ts.map +1 -1
- package/dist/src/services/board-write.js +24 -3
- package/dist/src/services/board-write.js.map +1 -1
- package/dist/src/services/chat-agent.d.ts +36 -0
- package/dist/src/services/chat-agent.d.ts.map +1 -0
- package/dist/src/services/chat-agent.js +123 -0
- package/dist/src/services/chat-agent.js.map +1 -0
- package/dist/src/services/chat-session.d.ts +58 -0
- package/dist/src/services/chat-session.d.ts.map +1 -0
- package/dist/src/services/chat-session.js +151 -0
- package/dist/src/services/chat-session.js.map +1 -0
- package/dist/src/services/chat-threads.d.ts +61 -0
- package/dist/src/services/chat-threads.d.ts.map +1 -0
- package/dist/src/services/chat-threads.js +137 -0
- package/dist/src/services/chat-threads.js.map +1 -0
- package/dist/src/services/config-schema.d.ts.map +1 -1
- package/dist/src/services/config-schema.js +2 -1
- package/dist/src/services/config-schema.js.map +1 -1
- package/dist/src/services/datapackage/contract.d.ts +198 -0
- package/dist/src/services/datapackage/contract.d.ts.map +1 -0
- package/dist/src/services/datapackage/contract.js +140 -0
- package/dist/src/services/datapackage/contract.js.map +1 -0
- package/dist/src/services/datapackage/ext-capability.d.ts +85 -0
- package/dist/src/services/datapackage/ext-capability.d.ts.map +1 -0
- package/dist/src/services/datapackage/ext-capability.js +72 -0
- package/dist/src/services/datapackage/ext-capability.js.map +1 -0
- package/dist/src/services/datapackage/odata.d.ts +92 -0
- package/dist/src/services/datapackage/odata.d.ts.map +1 -0
- package/dist/src/services/datapackage/odata.js +256 -0
- package/dist/src/services/datapackage/odata.js.map +1 -0
- package/dist/src/services/datapackage/odps.d.ts +24 -0
- package/dist/src/services/datapackage/odps.d.ts.map +1 -0
- package/dist/src/services/datapackage/odps.js +183 -0
- package/dist/src/services/datapackage/odps.js.map +1 -0
- package/dist/src/services/datapackage/store.d.ts +143 -0
- package/dist/src/services/datapackage/store.d.ts.map +1 -0
- package/dist/src/services/datapackage/store.js +533 -0
- package/dist/src/services/datapackage/store.js.map +1 -0
- package/dist/src/services/datapackage/table.d.ts +67 -0
- package/dist/src/services/datapackage/table.d.ts.map +1 -0
- package/dist/src/services/datapackage/table.js +0 -0
- package/dist/src/services/datapackage/table.js.map +1 -0
- package/dist/src/services/extension-ctx.d.ts +1 -0
- package/dist/src/services/extension-ctx.d.ts.map +1 -1
- package/dist/src/services/extension-ctx.js +31 -6
- package/dist/src/services/extension-ctx.js.map +1 -1
- package/dist/src/services/extension-files.d.ts +20 -0
- package/dist/src/services/extension-files.d.ts.map +1 -1
- package/dist/src/services/extension-files.js +9 -2
- package/dist/src/services/extension-files.js.map +1 -1
- package/dist/src/services/extension-lifecycle.d.ts +3 -0
- package/dist/src/services/extension-lifecycle.d.ts.map +1 -1
- package/dist/src/services/extension-lifecycle.js +2 -26
- package/dist/src/services/extension-lifecycle.js.map +1 -1
- package/dist/src/services/extension-runtime.d.ts +28 -2
- package/dist/src/services/extension-runtime.d.ts.map +1 -1
- package/dist/src/services/extension-runtime.js +22 -0
- package/dist/src/services/extension-runtime.js.map +1 -1
- package/dist/src/services/extension-schedules.d.ts +90 -0
- package/dist/src/services/extension-schedules.d.ts.map +1 -0
- package/dist/src/services/extension-schedules.js +123 -0
- package/dist/src/services/extension-schedules.js.map +1 -0
- package/dist/src/services/extension-system-run.d.ts +91 -0
- package/dist/src/services/extension-system-run.d.ts.map +1 -0
- package/dist/src/services/extension-system-run.js +100 -0
- package/dist/src/services/extension-system-run.js.map +1 -0
- package/dist/src/services/extension-upsert.d.ts +2 -0
- package/dist/src/services/extension-upsert.d.ts.map +1 -1
- package/dist/src/services/extension-upsert.js +6 -24
- package/dist/src/services/extension-upsert.js.map +1 -1
- package/dist/src/services/goose-acp.d.ts +84 -0
- package/dist/src/services/goose-acp.d.ts.map +1 -0
- package/dist/src/services/goose-acp.js +304 -0
- package/dist/src/services/goose-acp.js.map +1 -0
- package/dist/src/services/markdown-negotiation.js +1 -1
- package/dist/src/services/markdown-negotiation.js.map +1 -1
- package/dist/src/services/openrouter.d.ts +43 -1
- package/dist/src/services/openrouter.d.ts.map +1 -1
- package/dist/src/services/openrouter.js +98 -1
- package/dist/src/services/openrouter.js.map +1 -1
- package/dist/src/services/prompt-defaults/tiers-core.js +4 -4
- package/dist/src/services/scheduler-extension-job.d.ts +29 -6
- package/dist/src/services/scheduler-extension-job.d.ts.map +1 -1
- package/dist/src/services/scheduler-extension-job.js +29 -75
- package/dist/src/services/scheduler-extension-job.js.map +1 -1
- package/dist/src/services/scope-vocabulary-migration.d.ts +34 -1
- package/dist/src/services/scope-vocabulary-migration.d.ts.map +1 -1
- package/dist/src/services/scope-vocabulary-migration.js +60 -0
- package/dist/src/services/scope-vocabulary-migration.js.map +1 -1
- package/dist/src/services/screenshot-capture.d.ts +40 -1
- package/dist/src/services/screenshot-capture.d.ts.map +1 -1
- package/dist/src/services/screenshot-capture.js +142 -60
- package/dist/src/services/screenshot-capture.js.map +1 -1
- package/dist/src/services/skill-bundle/generator.js +1 -1
- package/dist/src/services/skill-bundle/generic-adapter.js +1 -1
- package/dist/src/services/skill-bundle/hermes-adapter.js +1 -1
- package/dist/src/services/storage-file-write.d.ts +36 -1
- package/dist/src/services/storage-file-write.d.ts.map +1 -1
- package/dist/src/services/storage-file-write.js +49 -3
- package/dist/src/services/storage-file-write.js.map +1 -1
- package/dist/src/services/task-outcome.d.ts +53 -0
- package/dist/src/services/task-outcome.d.ts.map +1 -0
- package/dist/src/services/task-outcome.js +28 -0
- package/dist/src/services/task-outcome.js.map +1 -0
- package/dist/src/services/workflow/engine-human.d.ts +15 -0
- package/dist/src/services/workflow/engine-human.d.ts.map +1 -1
- package/dist/src/services/workflow/engine-human.js +10 -1
- package/dist/src/services/workflow/engine-human.js.map +1 -1
- package/dist/src/services/workflow/engine-steps.d.ts +48 -3
- package/dist/src/services/workflow/engine-steps.d.ts.map +1 -1
- package/dist/src/services/workflow/engine-steps.js +361 -0
- package/dist/src/services/workflow/engine-steps.js.map +1 -1
- package/dist/src/services/workflow/engine.d.ts +1 -0
- package/dist/src/services/workflow/engine.d.ts.map +1 -1
- package/dist/src/services/workflow/engine.js +2 -1
- package/dist/src/services/workflow/engine.js.map +1 -1
- package/dist/src/services/workflow/store.d.ts.map +1 -1
- package/dist/src/services/workflow/store.js +60 -4
- package/dist/src/services/workflow/store.js.map +1 -1
- package/dist/src/services/write-guards.d.ts +27 -1
- package/dist/src/services/write-guards.d.ts.map +1 -1
- package/dist/src/services/write-guards.js +39 -9
- package/dist/src/services/write-guards.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/db-types.d.ts +1 -0
- package/dist/src/storage/providers/postgres-kysely/db-types.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/app-grants.d.ts +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/app-grants.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/app-grants.js +3 -0
- package/dist/src/storage/providers/postgres-kysely/methods/app-grants.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/files.d.ts +2 -0
- package/dist/src/storage/providers/postgres-kysely/methods/files.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/files.js +34 -2
- package/dist/src/storage/providers/postgres-kysely/methods/files.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/wallet.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/wallet.js +23 -4
- package/dist/src/storage/providers/postgres-kysely/methods/wallet.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/migrations/0039_storage_file_utf8_verified.sql +19 -0
- package/dist/src/storage/providers/sqlite/index.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/index.js +2 -1
- package/dist/src/storage/providers/sqlite/index.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/apps.d.ts +1 -0
- package/dist/src/storage/providers/sqlite/methods/apps.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/apps.js +33 -28
- package/dist/src/storage/providers/sqlite/methods/apps.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/identity-nodes.d.ts +1 -12
- package/dist/src/storage/providers/sqlite/methods/identity-nodes.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/identity-nodes.js +28 -135
- package/dist/src/storage/providers/sqlite/methods/identity-nodes.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/storage-files.d.ts +38 -0
- package/dist/src/storage/providers/sqlite/methods/storage-files.d.ts.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/storage-files.js +109 -0
- package/dist/src/storage/providers/sqlite/methods/storage-files.js.map +1 -0
- package/dist/src/storage/providers/sqlite/methods/work.d.ts +5 -0
- package/dist/src/storage/providers/sqlite/methods/work.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/work.js +34 -22
- package/dist/src/storage/providers/sqlite/methods/work.js.map +1 -1
- package/dist/src/storage/providers/sqlite/schema.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/schema.js +134 -130
- package/dist/src/storage/providers/sqlite/schema.js.map +1 -1
- package/dist/src/storage/repositories/app-grant.repository.d.ts +11 -0
- package/dist/src/storage/repositories/app-grant.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/file.repository.d.ts +13 -0
- package/dist/src/storage/repositories/file.repository.d.ts.map +1 -1
- package/dist/src/storage/types/commerce.d.ts +6 -0
- package/dist/src/storage/types/commerce.d.ts.map +1 -1
- package/dist/src/utils/agent-footer.d.ts.map +1 -1
- package/dist/src/utils/agent-footer.js +1 -0
- package/dist/src/utils/agent-footer.js.map +1 -1
- package/dist/src/utils/app-content-type.d.ts +57 -3
- package/dist/src/utils/app-content-type.d.ts.map +1 -1
- package/dist/src/utils/app-content-type.js +81 -12
- package/dist/src/utils/app-content-type.js.map +1 -1
- package/dist/src/utils/env-config/sections-features.d.ts.map +1 -1
- package/dist/src/utils/env-config/sections-features.js +9 -3
- package/dist/src/utils/env-config/sections-features.js.map +1 -1
- package/dist/src/utils/file-download-headers.d.ts +5 -3
- package/dist/src/utils/file-download-headers.d.ts.map +1 -1
- package/dist/src/utils/file-download-headers.js +18 -5
- package/dist/src/utils/file-download-headers.js.map +1 -1
- package/dist/src/utils/http-range.d.ts +151 -0
- package/dist/src/utils/http-range.d.ts.map +1 -0
- package/dist/src/utils/http-range.js +190 -0
- package/dist/src/utils/http-range.js.map +1 -0
- package/dist/src/utils/page-head.d.ts +5 -0
- package/dist/src/utils/page-head.d.ts.map +1 -1
- package/dist/src/utils/page-head.js +10 -1
- package/dist/src/utils/page-head.js.map +1 -1
- package/dist/src/utils/reserved-keys.d.ts +4 -1
- package/dist/src/utils/reserved-keys.d.ts.map +1 -1
- package/dist/src/utils/reserved-keys.js +4 -1
- package/dist/src/utils/reserved-keys.js.map +1 -1
- package/dist/static/sdk-libs/datapackage/index.js +336 -0
- package/dist/static/sdk-libs/dist/aimeat-datapackage.js +305 -0
- package/package.json +10 -2
|
@@ -1360,6 +1360,199 @@ export interface paths {
|
|
|
1360
1360
|
patch?: never;
|
|
1361
1361
|
trace?: never;
|
|
1362
1362
|
};
|
|
1363
|
+
"/v1/llm/chat/completions": {
|
|
1364
|
+
parameters: {
|
|
1365
|
+
query?: never;
|
|
1366
|
+
header?: never;
|
|
1367
|
+
path?: never;
|
|
1368
|
+
cookie?: never;
|
|
1369
|
+
};
|
|
1370
|
+
get?: never;
|
|
1371
|
+
put?: never;
|
|
1372
|
+
/**
|
|
1373
|
+
* One completion, in OpenAI's request shape
|
|
1374
|
+
* @description For an agent that speaks OpenAI's dialect and would otherwise call a provider directly. Point
|
|
1375
|
+
* it at `<node>/v1/llm` as its base URL and every call goes through the same gate
|
|
1376
|
+
* `POST /v1/ai/complete` goes through: the owner's own key first and the node's allowance
|
|
1377
|
+
* second, the daily budget, the per-app quota, the usage record, and the free-model fallback
|
|
1378
|
+
* when the allowance is spent.
|
|
1379
|
+
*
|
|
1380
|
+
* `model` in the request is ignored on purpose. The node is the one that knows whose money this
|
|
1381
|
+
* is and how much is left, so the owner's own preference decides and the node's default for the
|
|
1382
|
+
* role follows; the response says which model actually ran. Honouring the caller's name would
|
|
1383
|
+
* also disable the free-model fallback, which is deliberately left alone for an explicit model.
|
|
1384
|
+
*
|
|
1385
|
+
* `tools`, `tool_choice` and `response_format` pass through untouched — the node has no opinion
|
|
1386
|
+
* about which tools a caller offers its own model. With `stream: true` the provider's own
|
|
1387
|
+
* `text/event-stream` frames are forwarded byte for byte, so any client that understands
|
|
1388
|
+
* OpenAI's stream understands this one.
|
|
1389
|
+
*
|
|
1390
|
+
* Requires an owner session or a token carrying `ai:use`.
|
|
1391
|
+
*/
|
|
1392
|
+
post: operations["llmProxyChatCompletion"];
|
|
1393
|
+
delete?: never;
|
|
1394
|
+
options?: never;
|
|
1395
|
+
head?: never;
|
|
1396
|
+
patch?: never;
|
|
1397
|
+
trace?: never;
|
|
1398
|
+
};
|
|
1399
|
+
"/v1/llm/models": {
|
|
1400
|
+
parameters: {
|
|
1401
|
+
query?: never;
|
|
1402
|
+
header?: never;
|
|
1403
|
+
path?: never;
|
|
1404
|
+
cookie?: never;
|
|
1405
|
+
};
|
|
1406
|
+
/**
|
|
1407
|
+
* The models this node will actually run
|
|
1408
|
+
* @description OpenAI's model-list shape, for a client that asks before it asks for anything else. The list
|
|
1409
|
+
* comes from the provider through the same service the node's own model pickers use, so a model
|
|
1410
|
+
* that appears here is one the node can reach. Requires an owner session or `ai:use`.
|
|
1411
|
+
*/
|
|
1412
|
+
get: operations["llmProxyListModels"];
|
|
1413
|
+
put?: never;
|
|
1414
|
+
post?: never;
|
|
1415
|
+
delete?: never;
|
|
1416
|
+
options?: never;
|
|
1417
|
+
head?: never;
|
|
1418
|
+
patch?: never;
|
|
1419
|
+
trace?: never;
|
|
1420
|
+
};
|
|
1421
|
+
"/v1/chat/status": {
|
|
1422
|
+
parameters: {
|
|
1423
|
+
query?: never;
|
|
1424
|
+
header?: never;
|
|
1425
|
+
path?: never;
|
|
1426
|
+
cookie?: never;
|
|
1427
|
+
};
|
|
1428
|
+
/**
|
|
1429
|
+
* Whether this node has a built-in chat agent
|
|
1430
|
+
* @description Report whether an operator has configured a chat agent on this node, what the owner's chat
|
|
1431
|
+
* agent is called, how much of their AI allowance is left, and whether they have their own
|
|
1432
|
+
* OpenRouter key. A node with no agent says so plainly rather than offering a box that will
|
|
1433
|
+
* never answer. Owner sessions only.
|
|
1434
|
+
*/
|
|
1435
|
+
get: operations["getChatStatus"];
|
|
1436
|
+
put?: never;
|
|
1437
|
+
post?: never;
|
|
1438
|
+
delete?: never;
|
|
1439
|
+
options?: never;
|
|
1440
|
+
head?: never;
|
|
1441
|
+
patch?: never;
|
|
1442
|
+
trace?: never;
|
|
1443
|
+
};
|
|
1444
|
+
"/v1/chat/threads": {
|
|
1445
|
+
parameters: {
|
|
1446
|
+
query?: never;
|
|
1447
|
+
header?: never;
|
|
1448
|
+
path?: never;
|
|
1449
|
+
cookie?: never;
|
|
1450
|
+
};
|
|
1451
|
+
/**
|
|
1452
|
+
* The owner's open conversations
|
|
1453
|
+
* @description List the owner's live conversations, newest first, without their turns. Older conversations
|
|
1454
|
+
* roll into one record per month once more than the node's ceiling are open, and those are not
|
|
1455
|
+
* listed here. Owner sessions only.
|
|
1456
|
+
*/
|
|
1457
|
+
get: operations["listChatThreads"];
|
|
1458
|
+
put?: never;
|
|
1459
|
+
/**
|
|
1460
|
+
* Start a conversation
|
|
1461
|
+
* @description Start a conversation and provision the owner's chat agent if this is their first. The agent
|
|
1462
|
+
* is a real GAII principal that appears in the Agents tab beside the ones they connected
|
|
1463
|
+
* themselves, and its scopes are edited in the same place. The title is a placeholder until the
|
|
1464
|
+
* first thing the person says replaces it. Owner sessions only.
|
|
1465
|
+
*/
|
|
1466
|
+
post: operations["createChatThread"];
|
|
1467
|
+
delete?: never;
|
|
1468
|
+
options?: never;
|
|
1469
|
+
head?: never;
|
|
1470
|
+
patch?: never;
|
|
1471
|
+
trace?: never;
|
|
1472
|
+
};
|
|
1473
|
+
"/v1/chat/threads/{id}": {
|
|
1474
|
+
parameters: {
|
|
1475
|
+
query?: never;
|
|
1476
|
+
header?: never;
|
|
1477
|
+
path: {
|
|
1478
|
+
id: string;
|
|
1479
|
+
};
|
|
1480
|
+
cookie?: never;
|
|
1481
|
+
};
|
|
1482
|
+
/**
|
|
1483
|
+
* One conversation, in full
|
|
1484
|
+
* @description Return one conversation with every turn it holds, including the tool calls the agent made and
|
|
1485
|
+
* which model answered each turn. A conversation the caller does not own is reported as absent.
|
|
1486
|
+
* Owner sessions only.
|
|
1487
|
+
*/
|
|
1488
|
+
get: operations["getChatThread"];
|
|
1489
|
+
put?: never;
|
|
1490
|
+
post?: never;
|
|
1491
|
+
/**
|
|
1492
|
+
* Throw a conversation away
|
|
1493
|
+
* @description Delete one conversation and its turns. The conversation is looked up first, so a caller who
|
|
1494
|
+
* cannot see it is told nothing exists rather than being told a deletion happened. Owner
|
|
1495
|
+
* sessions only.
|
|
1496
|
+
*/
|
|
1497
|
+
delete: operations["deleteChatThread"];
|
|
1498
|
+
options?: never;
|
|
1499
|
+
head?: never;
|
|
1500
|
+
patch?: never;
|
|
1501
|
+
trace?: never;
|
|
1502
|
+
};
|
|
1503
|
+
"/v1/chat/threads/{id}/reset": {
|
|
1504
|
+
parameters: {
|
|
1505
|
+
query?: never;
|
|
1506
|
+
header?: never;
|
|
1507
|
+
path?: never;
|
|
1508
|
+
cookie?: never;
|
|
1509
|
+
};
|
|
1510
|
+
get?: never;
|
|
1511
|
+
put?: never;
|
|
1512
|
+
/**
|
|
1513
|
+
* Forget the agent session, keep the conversation
|
|
1514
|
+
* @description Drop the agent session this conversation runs on. The next message opens a fresh one, which
|
|
1515
|
+
* is how a change to the chat agent's scopes takes effect: the session's credential carries the
|
|
1516
|
+
* scopes it was minted with. The conversation itself is untouched. Owner sessions only.
|
|
1517
|
+
*/
|
|
1518
|
+
post: operations["resetChatThreadSession"];
|
|
1519
|
+
delete?: never;
|
|
1520
|
+
options?: never;
|
|
1521
|
+
head?: never;
|
|
1522
|
+
patch?: never;
|
|
1523
|
+
trace?: never;
|
|
1524
|
+
};
|
|
1525
|
+
"/v1/chat/threads/{id}/turn": {
|
|
1526
|
+
parameters: {
|
|
1527
|
+
query?: never;
|
|
1528
|
+
header?: never;
|
|
1529
|
+
path?: never;
|
|
1530
|
+
cookie?: never;
|
|
1531
|
+
};
|
|
1532
|
+
get?: never;
|
|
1533
|
+
put?: never;
|
|
1534
|
+
/**
|
|
1535
|
+
* Say something, and watch what happens
|
|
1536
|
+
* @description Send one message and receive the agent's work as it happens, as `text/event-stream`. A turn
|
|
1537
|
+
* takes minutes when the agent is building something, so a single response at the end would be
|
|
1538
|
+
* indistinguishable from a hang.
|
|
1539
|
+
*
|
|
1540
|
+
* Each `data:` frame is one update: `{ kind: 'text', text }` as words are written,
|
|
1541
|
+
* `{ kind: 'thought', text }`, `{ kind: 'tool_call', id, title, status }` as each tool call
|
|
1542
|
+
* starts and finishes, `{ kind: 'done', stopReason, tokens }` at the end, and
|
|
1543
|
+
* `{ kind: 'error', message }` when the turn could not run — a node with no agent configured
|
|
1544
|
+
* answers with exactly that rather than hanging. `:keepalive` comments arrive every 15 s.
|
|
1545
|
+
*
|
|
1546
|
+
* The person's own words are written to the conversation before the agent is asked anything,
|
|
1547
|
+
* so a turn that fails halfway leaves a record of what was said. Owner sessions only.
|
|
1548
|
+
*/
|
|
1549
|
+
post: operations["sendChatTurn"];
|
|
1550
|
+
delete?: never;
|
|
1551
|
+
options?: never;
|
|
1552
|
+
head?: never;
|
|
1553
|
+
patch?: never;
|
|
1554
|
+
trace?: never;
|
|
1555
|
+
};
|
|
1363
1556
|
"/v1/checkin": {
|
|
1364
1557
|
parameters: {
|
|
1365
1558
|
query?: never;
|
|
@@ -2073,7 +2266,8 @@ export interface paths {
|
|
|
2073
2266
|
/**
|
|
2074
2267
|
* Which side this person lands on (the switch)
|
|
2075
2268
|
* @description The new home or the old profile. K2: the choice is per USER and stored on the account, so it follows them to another device; a per-tab choice would mean landing on whichever side happened to be the default every morning.
|
|
2076
|
-
*
|
|
2269
|
+
* There are three sides: the chat, the new home, and the old profile.
|
|
2270
|
+
* When nothing has been chosen, `defaulted` is true and the answer comes from the account's cohort (K3): an account created before the remake lands where it always did, so nobody's workflow changes under them. A newer account lands in the chat, which is the one place a person who has connected no AI tool of their own can do something on their first visit — but only on a node that HAS a chat agent. Where there is none, the new home is the answer, since landing somebody in a box that can only say "no agent configured" is worse.
|
|
2077
2271
|
* `track` and `switched` are returned read-only, for transparency — no route here changes `track`.
|
|
2078
2272
|
*/
|
|
2079
2273
|
get: operations["getHomeUiTrack"];
|
|
@@ -2571,6 +2765,40 @@ export interface paths {
|
|
|
2571
2765
|
patch?: never;
|
|
2572
2766
|
trace?: never;
|
|
2573
2767
|
};
|
|
2768
|
+
"/v1/ai/image": {
|
|
2769
|
+
parameters: {
|
|
2770
|
+
query?: never;
|
|
2771
|
+
header?: never;
|
|
2772
|
+
path?: never;
|
|
2773
|
+
cookie?: never;
|
|
2774
|
+
};
|
|
2775
|
+
get?: never;
|
|
2776
|
+
put?: never;
|
|
2777
|
+
/**
|
|
2778
|
+
* Generate an image on the owner's AI key
|
|
2779
|
+
* @description Makes a picture from a description and stores it in the caller's own storage, answering with
|
|
2780
|
+
* a key and a URL rather than the image. Bytes returned inline would travel through a tool
|
|
2781
|
+
* result and an agent's context for nothing, and this node already has a place where files live
|
|
2782
|
+
* and can be pointed at.
|
|
2783
|
+
*
|
|
2784
|
+
* Needs an image model: the owner's `imageModel`, or the node's default. With neither it
|
|
2785
|
+
* refuses as NO_IMAGE_MODEL rather than falling back to a chat model, which would answer an
|
|
2786
|
+
* image request with prose and leave the caller holding an opaque provider error.
|
|
2787
|
+
*
|
|
2788
|
+
* Spends the owner's daily AI budget and is refused before the provider is called when that
|
|
2789
|
+
* budget is used up. Gated like the other AI routes: an owner session, or any principal holding
|
|
2790
|
+
* `ai:use`.
|
|
2791
|
+
*
|
|
2792
|
+
* Pass `public: true` when a model or a web page has to fetch the image back by URL; the
|
|
2793
|
+
* default is private.
|
|
2794
|
+
*/
|
|
2795
|
+
post: operations["generateImage"];
|
|
2796
|
+
delete?: never;
|
|
2797
|
+
options?: never;
|
|
2798
|
+
head?: never;
|
|
2799
|
+
patch?: never;
|
|
2800
|
+
trace?: never;
|
|
2801
|
+
};
|
|
2574
2802
|
"/v1/ai/transcribe": {
|
|
2575
2803
|
parameters: {
|
|
2576
2804
|
query?: never;
|
|
@@ -4284,6 +4512,231 @@ export interface paths {
|
|
|
4284
4512
|
patch?: never;
|
|
4285
4513
|
trace?: never;
|
|
4286
4514
|
};
|
|
4515
|
+
"/v1/datapackages": {
|
|
4516
|
+
parameters: {
|
|
4517
|
+
query?: never;
|
|
4518
|
+
header?: never;
|
|
4519
|
+
path?: never;
|
|
4520
|
+
cookie?: never;
|
|
4521
|
+
};
|
|
4522
|
+
/**
|
|
4523
|
+
* The caller's own packages
|
|
4524
|
+
* @description One entry per package, pointing at its NEWEST version, plus `lastError` when the most recent
|
|
4525
|
+
* production run failed. That pairing is the point: a package that has not changed and a
|
|
4526
|
+
* package whose producer is broken look identical without it.
|
|
4527
|
+
*/
|
|
4528
|
+
get: operations["listDataPackages"];
|
|
4529
|
+
put?: never;
|
|
4530
|
+
/**
|
|
4531
|
+
* Publish a data package version
|
|
4532
|
+
* @description Build, check and store one immutable version. The quality gate runs FIRST: if any row fails
|
|
4533
|
+
* its resource's Table Schema the response is 422 with the row and column of every problem and
|
|
4534
|
+
* NOTHING is written, so the package stays on its previous version rather than acquiring a
|
|
4535
|
+
* half-finished one at a permanent address.
|
|
4536
|
+
*
|
|
4537
|
+
* The version is the content hash of the descriptor, so re-publishing identical data answers
|
|
4538
|
+
* 200 with `unchanged: true` instead of creating a second version — a deterministic producer
|
|
4539
|
+
* proving it is deterministic is not an update.
|
|
4540
|
+
*
|
|
4541
|
+
* `schema` per resource is either a Table Schema (declared) or omitted/`infer` (proposed from
|
|
4542
|
+
* the rows). The descriptor records which, as `aimeat.schemaSource`, so a consumer can see
|
|
4543
|
+
* whether anybody confirmed the types.
|
|
4544
|
+
*/
|
|
4545
|
+
post: operations["publishDataPackage"];
|
|
4546
|
+
delete?: never;
|
|
4547
|
+
options?: never;
|
|
4548
|
+
head?: never;
|
|
4549
|
+
patch?: never;
|
|
4550
|
+
trace?: never;
|
|
4551
|
+
};
|
|
4552
|
+
"/v1/datapackages/validate": {
|
|
4553
|
+
parameters: {
|
|
4554
|
+
query?: never;
|
|
4555
|
+
header?: never;
|
|
4556
|
+
path?: never;
|
|
4557
|
+
cookie?: never;
|
|
4558
|
+
};
|
|
4559
|
+
get?: never;
|
|
4560
|
+
put?: never;
|
|
4561
|
+
/**
|
|
4562
|
+
* Run the quality gate without writing
|
|
4563
|
+
* @description The same check `POST /v1/datapackages` runs, with no side effect: infer or apply each
|
|
4564
|
+
* resource's Table Schema, validate every row against it, and answer with the coordinates of
|
|
4565
|
+
* anything wrong plus the schemas that were used. This is what puts a row-and-column error in
|
|
4566
|
+
* front of a publisher in the browser, before anything is stored.
|
|
4567
|
+
*/
|
|
4568
|
+
post: operations["validateDataPackage"];
|
|
4569
|
+
delete?: never;
|
|
4570
|
+
options?: never;
|
|
4571
|
+
head?: never;
|
|
4572
|
+
patch?: never;
|
|
4573
|
+
trace?: never;
|
|
4574
|
+
};
|
|
4575
|
+
"/v1/datapackages/{owner}/{name}": {
|
|
4576
|
+
parameters: {
|
|
4577
|
+
query?: never;
|
|
4578
|
+
header?: never;
|
|
4579
|
+
path?: never;
|
|
4580
|
+
cookie?: never;
|
|
4581
|
+
};
|
|
4582
|
+
/**
|
|
4583
|
+
* A package descriptor
|
|
4584
|
+
* @description The Frictionless descriptor for one version. Without `version` the newest is resolved through
|
|
4585
|
+
* the package's mutable pointer, and the pointer travels back so a consumer can see whether the
|
|
4586
|
+
* latest production run failed. With `version` the answer is pinned and can never change.
|
|
4587
|
+
*
|
|
4588
|
+
* No authentication: a published package is public, and a program reading one should not need
|
|
4589
|
+
* an AIMEAT session. For the raw bytes use the descriptor_url this returns, which is a
|
|
4590
|
+
* permanent, range-readable /v1/pub address.
|
|
4591
|
+
*/
|
|
4592
|
+
get: operations["getDataPackage"];
|
|
4593
|
+
put?: never;
|
|
4594
|
+
post?: never;
|
|
4595
|
+
delete?: never;
|
|
4596
|
+
options?: never;
|
|
4597
|
+
head?: never;
|
|
4598
|
+
patch?: never;
|
|
4599
|
+
trace?: never;
|
|
4600
|
+
};
|
|
4601
|
+
"/v1/datapackages/{owner}/{name}/versions": {
|
|
4602
|
+
parameters: {
|
|
4603
|
+
query?: never;
|
|
4604
|
+
header?: never;
|
|
4605
|
+
path?: never;
|
|
4606
|
+
cookie?: never;
|
|
4607
|
+
};
|
|
4608
|
+
/**
|
|
4609
|
+
* Every version of one package
|
|
4610
|
+
* @description Newest first, each with the explanation it was published with, its row count, its size and
|
|
4611
|
+
* its permanent address. `current: true` marks the one the pointer names, and `supersedes`
|
|
4612
|
+
* names the version each one replaced, so the history reads as a chain rather than a list of
|
|
4613
|
+
* hashes.
|
|
4614
|
+
*
|
|
4615
|
+
* The versions are discovered from the stored keys rather than from an index, so nothing can
|
|
4616
|
+
* be published without appearing here. How far back it goes is the owner's retention policy.
|
|
4617
|
+
*
|
|
4618
|
+
* No authentication, for the same reason as the descriptor: a history nobody can see is not a
|
|
4619
|
+
* history a consumer can rely on.
|
|
4620
|
+
*/
|
|
4621
|
+
get: operations["listDataPackageVersions"];
|
|
4622
|
+
put?: never;
|
|
4623
|
+
post?: never;
|
|
4624
|
+
delete?: never;
|
|
4625
|
+
options?: never;
|
|
4626
|
+
head?: never;
|
|
4627
|
+
patch?: never;
|
|
4628
|
+
trace?: never;
|
|
4629
|
+
};
|
|
4630
|
+
"/v1/datapackages/{owner}/{name}/rows/{resource}": {
|
|
4631
|
+
parameters: {
|
|
4632
|
+
query?: never;
|
|
4633
|
+
header?: never;
|
|
4634
|
+
path?: never;
|
|
4635
|
+
cookie?: never;
|
|
4636
|
+
};
|
|
4637
|
+
/**
|
|
4638
|
+
* A window of rows
|
|
4639
|
+
* @description A paginated read for a UI or an agent that wants to look rather than download. For anything
|
|
4640
|
+
* larger, read the resource's CSV from its permanent address — that is what it is for, and it
|
|
4641
|
+
* answers byte ranges.
|
|
4642
|
+
*/
|
|
4643
|
+
get: operations["readDataPackageRows"];
|
|
4644
|
+
put?: never;
|
|
4645
|
+
post?: never;
|
|
4646
|
+
delete?: never;
|
|
4647
|
+
options?: never;
|
|
4648
|
+
head?: never;
|
|
4649
|
+
patch?: never;
|
|
4650
|
+
trace?: never;
|
|
4651
|
+
};
|
|
4652
|
+
"/v1/odata/{owner}/{name}": {
|
|
4653
|
+
parameters: {
|
|
4654
|
+
query?: never;
|
|
4655
|
+
header?: never;
|
|
4656
|
+
path?: never;
|
|
4657
|
+
cookie?: never;
|
|
4658
|
+
};
|
|
4659
|
+
/**
|
|
4660
|
+
* OData service document
|
|
4661
|
+
* @description The first thing a native connector fetches: which entity sets this feed offers. One entity
|
|
4662
|
+
* set per tabular resource in the package.
|
|
4663
|
+
*
|
|
4664
|
+
* Paste this URL into Excel's "From OData Feed" or Power BI's OData connector and the rest is
|
|
4665
|
+
* automatic — and the workbook refreshes itself afterwards, which is the whole reason this
|
|
4666
|
+
* exists next to the CSV address.
|
|
4667
|
+
*/
|
|
4668
|
+
get: operations["odataServiceDocument"];
|
|
4669
|
+
put?: never;
|
|
4670
|
+
post?: never;
|
|
4671
|
+
delete?: never;
|
|
4672
|
+
options?: never;
|
|
4673
|
+
head?: never;
|
|
4674
|
+
patch?: never;
|
|
4675
|
+
trace?: never;
|
|
4676
|
+
};
|
|
4677
|
+
"/v1/odata/{owner}/{name}/$metadata": {
|
|
4678
|
+
parameters: {
|
|
4679
|
+
query?: never;
|
|
4680
|
+
header?: never;
|
|
4681
|
+
path?: never;
|
|
4682
|
+
cookie?: never;
|
|
4683
|
+
};
|
|
4684
|
+
/**
|
|
4685
|
+
* CSDL metadata (XML)
|
|
4686
|
+
* @description The CSDL v4 document, projected from the package's Table Schema — which is the ONE place
|
|
4687
|
+
* columns and types are declared, so the metadata cannot drift from the data.
|
|
4688
|
+
*
|
|
4689
|
+
* XML, not JSON: that is what a v4 metadata document is and what every native connector parses.
|
|
4690
|
+
* Types map Frictionless to EDM (string→Edm.String, integer→Edm.Int64, number→Edm.Double,
|
|
4691
|
+
* boolean→Edm.Boolean, date→Edm.Date, datetime→Edm.DateTimeOffset).
|
|
4692
|
+
*
|
|
4693
|
+
* Every entity gets a synthetic `RowId` key, because OData requires an entity key and a CSV row
|
|
4694
|
+
* has no identity of its own. It is the row's ordinal within the version, which is stable
|
|
4695
|
+
* precisely because the version is immutable. Every other property is nullable: a Table Schema's
|
|
4696
|
+
* `primaryKey` is the only statement anybody made about required-ness.
|
|
4697
|
+
*/
|
|
4698
|
+
get: operations["odataMetadata"];
|
|
4699
|
+
put?: never;
|
|
4700
|
+
post?: never;
|
|
4701
|
+
delete?: never;
|
|
4702
|
+
options?: never;
|
|
4703
|
+
head?: never;
|
|
4704
|
+
patch?: never;
|
|
4705
|
+
trace?: never;
|
|
4706
|
+
};
|
|
4707
|
+
"/v1/odata/{owner}/{name}/{resource}": {
|
|
4708
|
+
parameters: {
|
|
4709
|
+
query?: never;
|
|
4710
|
+
header?: never;
|
|
4711
|
+
path?: never;
|
|
4712
|
+
cookie?: never;
|
|
4713
|
+
};
|
|
4714
|
+
/**
|
|
4715
|
+
* An entity set — the rows
|
|
4716
|
+
* @description The rows of one resource, with the readable subset of the OData query language applied.
|
|
4717
|
+
*
|
|
4718
|
+
* SUPPORTED: `$select`, `$top`, `$skip`, `$filter`, `$orderby`, `$count`, `$format`.
|
|
4719
|
+
* `$filter` reads `field eq|ne|gt|ge|lt|le value` clauses joined by `and`, plus
|
|
4720
|
+
* `contains()`, `startswith()` and `endswith()`.
|
|
4721
|
+
*
|
|
4722
|
+
* ANYTHING ELSE IS REFUSED, NEVER IGNORED — 501 for a construct this feed does not implement
|
|
4723
|
+
* (`$expand`, `$apply`, `$search`, `or`, `not`), 400 for a property that does not exist. That
|
|
4724
|
+
* is the design decision worth knowing: a server that ignores a query option returns MORE ROWS
|
|
4725
|
+
* THAN THE CLIENT ASKED FOR, and the client puts them in a report as the answer. There is no
|
|
4726
|
+
* symptom — the numbers are simply wrong. A visibly missing feature is cheap by comparison.
|
|
4727
|
+
*
|
|
4728
|
+
* `$count=true` reports what the FILTER matched, before `$top`/`$skip`, which is what the option
|
|
4729
|
+
* means and what a paging client needs.
|
|
4730
|
+
*/
|
|
4731
|
+
get: operations["odataEntitySet"];
|
|
4732
|
+
put?: never;
|
|
4733
|
+
post?: never;
|
|
4734
|
+
delete?: never;
|
|
4735
|
+
options?: never;
|
|
4736
|
+
head?: never;
|
|
4737
|
+
patch?: never;
|
|
4738
|
+
trace?: never;
|
|
4739
|
+
};
|
|
4287
4740
|
"/v1/storage": {
|
|
4288
4741
|
parameters: {
|
|
4289
4742
|
query?: never;
|
|
@@ -4345,7 +4798,12 @@ export interface paths {
|
|
|
4345
4798
|
get: operations["downloadFile"];
|
|
4346
4799
|
put?: never;
|
|
4347
4800
|
post?: never;
|
|
4348
|
-
/**
|
|
4801
|
+
/**
|
|
4802
|
+
* Delete file
|
|
4803
|
+
* @description Removes one file from the CALLER's own namespace. Irreversible: a stored file has no version history behind it the way a memory record does.
|
|
4804
|
+
*
|
|
4805
|
+
* Scope: own namespace only. Files are keyed by (owner, key), so a file someone else owns answers 404 here even when the caller is allowed to READ it through `GET /v1/pub/{gaii}/{key}`. There is deliberately no cross-owner delete.
|
|
4806
|
+
*/
|
|
4349
4807
|
delete: operations["deleteFile"];
|
|
4350
4808
|
options?: never;
|
|
4351
4809
|
/** File metadata */
|
|
@@ -5568,7 +6026,7 @@ export interface paths {
|
|
|
5568
6026
|
};
|
|
5569
6027
|
/**
|
|
5570
6028
|
* Site map for agents (markdown)
|
|
5571
|
-
* @description One-page map of the node in markdown: the public pages (from the shared public-page registry), the agent documentation (llms.txt, AGENTS.md, the OpenAPI contract, the app building prompt) and the machine-readable discovery endpoints, each with a one-line description. The answer to "what is here and where do I start" that neither sitemap.xml nor the
|
|
6029
|
+
* @description One-page map of the node in markdown: the public pages (from the shared public-page registry), the agent documentation (llms.txt, AGENTS.md, the OpenAPI contract, the app building prompt) and the machine-readable discovery endpoints, each with a one-line description. The answer to "what is here and where do I start" that neither sitemap.xml nor the 124 kB llms-full.txt gives. Apex only — an app origin gets its own (404 until then).
|
|
5572
6030
|
*/
|
|
5573
6031
|
get: operations["sitemapMd"];
|
|
5574
6032
|
put?: never;
|
|
@@ -5588,7 +6046,7 @@ export interface paths {
|
|
|
5588
6046
|
};
|
|
5589
6047
|
/**
|
|
5590
6048
|
* Orientation for a coding agent (AGENTS.md convention)
|
|
5591
|
-
* @description Short markdown orientation for a coding agent that has met this node as a dependency or an integration target: what AIMEAT is, how to get an identity (RFC 8628 device flow), the identity/scope/morsel vocabulary needed before the first call, worked curl examples, the response-envelope and discovery-header conventions, and links to the full references. Deliberately short — llms.txt is the manual, this is the orientation. Also served at /agents.md. Apex only.
|
|
6049
|
+
* @description Short markdown orientation for a coding agent that has met this node as a dependency or an integration target: what AIMEAT is, how to get an identity (RFC 8628 device flow), the identity/scope/morsel vocabulary needed before the first call, worked curl examples, the response-envelope and discovery-header conventions, and links to the full references. Deliberately short — llms-full.txt is the manual, this is the orientation. Also served at /agents.md. Apex only.
|
|
5592
6050
|
*/
|
|
5593
6051
|
get: operations["agentsMd"];
|
|
5594
6052
|
put?: never;
|
|
@@ -5607,8 +6065,8 @@ export interface paths {
|
|
|
5607
6065
|
cookie?: never;
|
|
5608
6066
|
};
|
|
5609
6067
|
/**
|
|
5610
|
-
*
|
|
5611
|
-
* @description The node's
|
|
6068
|
+
* Curated index of this node for AI readers (llmstxt.org)
|
|
6069
|
+
* @description The node's curated map, under 8 kB: an H1, a blockquote summary whose first sentence names the full manual at /llms-full.txt, then link-list sections for the documentation, the machine-readable discovery endpoints, the human pages (generated from the shared public-page registry) and an Optional section a reader can skip for a shorter context. This is the first fetch; /llms-full.txt is the manual behind it. On an app origin this path serves THAT app's agent face instead.
|
|
5612
6070
|
*/
|
|
5613
6071
|
get: operations["llmsTxt"];
|
|
5614
6072
|
put?: never;
|
|
@@ -5627,8 +6085,8 @@ export interface paths {
|
|
|
5627
6085
|
cookie?: never;
|
|
5628
6086
|
};
|
|
5629
6087
|
/**
|
|
5630
|
-
* Full builder's manual
|
|
5631
|
-
* @description
|
|
6088
|
+
* Full builder's manual for AI agents (llmstxt.org full content)
|
|
6089
|
+
* @description The node's complete agent-facing manual: starter templates, the SDK library and library-pack tables (generated from the library-pack registry, so they cannot drift from /v1/libs), core concepts, the device-authorization and MCP connection flows, the response envelope, and the endpoint reference. /llms.txt is the curated index over this document, and this is what it points at. Apex only.
|
|
5632
6090
|
*/
|
|
5633
6091
|
get: operations["llmsFullTxt"];
|
|
5634
6092
|
put?: never;
|
|
@@ -7738,6 +8196,149 @@ export interface paths {
|
|
|
7738
8196
|
patch?: never;
|
|
7739
8197
|
trace?: never;
|
|
7740
8198
|
};
|
|
8199
|
+
"/v1/apps/{owner}/{filename}/screenshot/capture": {
|
|
8200
|
+
parameters: {
|
|
8201
|
+
query?: never;
|
|
8202
|
+
header?: never;
|
|
8203
|
+
path?: never;
|
|
8204
|
+
cookie?: never;
|
|
8205
|
+
};
|
|
8206
|
+
get?: never;
|
|
8207
|
+
put?: never;
|
|
8208
|
+
/**
|
|
8209
|
+
* Render the published app now and store the screenshot
|
|
8210
|
+
* @description Renders `{owner}/{filename}` in a real headless browser at 1200x750, stores the JPEG, and
|
|
8211
|
+
* returns the URL of `GET .../screenshot`. The sibling `POST .../screenshot` accepts a picture
|
|
8212
|
+
* the caller already has; this one takes it.
|
|
8213
|
+
*
|
|
8214
|
+
* Until this existed the node had no request path that rendered, deliberately: rendering is the
|
|
8215
|
+
* most expensive thing it does, and an open one is a denial-of-service shape. It exists because
|
|
8216
|
+
* a caller that has just published an app otherwise cannot see what it made. The publish
|
|
8217
|
+
* response says the bytes arrived, not that the page works, and a blank screen, a broken layout
|
|
8218
|
+
* or a script that never ran all answer 200.
|
|
8219
|
+
*
|
|
8220
|
+
* The screenshot URL needs no authentication, which is what makes it usable as a model input:
|
|
8221
|
+
* an address a provider can fetch, rather than bytes to carry.
|
|
8222
|
+
*
|
|
8223
|
+
* Owner or operator only, and throttled per owner. Only published apps can be rendered; a draft
|
|
8224
|
+
* has no public page.
|
|
8225
|
+
*/
|
|
8226
|
+
post: operations["captureAppScreenshot"];
|
|
8227
|
+
delete?: never;
|
|
8228
|
+
options?: never;
|
|
8229
|
+
head?: never;
|
|
8230
|
+
patch?: never;
|
|
8231
|
+
trace?: never;
|
|
8232
|
+
};
|
|
8233
|
+
"/v1/apps/{owner}/{filename}/draft/write": {
|
|
8234
|
+
parameters: {
|
|
8235
|
+
query?: never;
|
|
8236
|
+
header?: never;
|
|
8237
|
+
path?: never;
|
|
8238
|
+
cookie?: never;
|
|
8239
|
+
};
|
|
8240
|
+
get?: never;
|
|
8241
|
+
put?: never;
|
|
8242
|
+
/**
|
|
8243
|
+
* Append to, or replace, the app's draft
|
|
8244
|
+
* @description Writes a PIECE of the draft. `PUT .../draft` takes the whole app base64-encoded in one
|
|
8245
|
+
* request, which suits a client that already has the file and is impossible for a caller
|
|
8246
|
+
* composing one: no model emits 400 kB in a single response. Call this repeatedly with
|
|
8247
|
+
* `mode: append` until the file is complete, then publish the draft.
|
|
8248
|
+
*
|
|
8249
|
+
* Content is plain UTF-8 text, not base64. The caller is composing HTML rather than moving a
|
|
8250
|
+
* file, and base64 would inflate the body by a third for nothing.
|
|
8251
|
+
*
|
|
8252
|
+
* The size ceiling is checked before anything is written, so a chunk that would push the draft
|
|
8253
|
+
* past the node's app size limit leaves the previous content intact instead of truncating it.
|
|
8254
|
+
* Pass `expected_size_bytes` while building across many calls to be refused, rather than
|
|
8255
|
+
* silently duplicating a chunk, if the draft moved underneath you.
|
|
8256
|
+
*/
|
|
8257
|
+
post: operations["writeAppDraft"];
|
|
8258
|
+
delete?: never;
|
|
8259
|
+
options?: never;
|
|
8260
|
+
head?: never;
|
|
8261
|
+
patch?: never;
|
|
8262
|
+
trace?: never;
|
|
8263
|
+
};
|
|
8264
|
+
"/v1/apps/{owner}/{filename}/draft/replace": {
|
|
8265
|
+
parameters: {
|
|
8266
|
+
query?: never;
|
|
8267
|
+
header?: never;
|
|
8268
|
+
path?: never;
|
|
8269
|
+
cookie?: never;
|
|
8270
|
+
};
|
|
8271
|
+
get?: never;
|
|
8272
|
+
put?: never;
|
|
8273
|
+
/**
|
|
8274
|
+
* Replace an exact passage inside the app's draft
|
|
8275
|
+
* @description The editing counterpart to `.../draft/write`: change part of a draft without sending the
|
|
8276
|
+
* whole file. `old_string` must match exactly, including indentation and line breaks.
|
|
8277
|
+
*
|
|
8278
|
+
* Without `replace_all` the match must be unique. Both refusals carry the actual number of
|
|
8279
|
+
* occurrences, because the caller's next move differs between none and several: none means the
|
|
8280
|
+
* text is not there at all, and several means the surrounding context has to be widened until
|
|
8281
|
+
* the target is unambiguous.
|
|
8282
|
+
*/
|
|
8283
|
+
post: operations["replaceInAppDraft"];
|
|
8284
|
+
delete?: never;
|
|
8285
|
+
options?: never;
|
|
8286
|
+
head?: never;
|
|
8287
|
+
patch?: never;
|
|
8288
|
+
trace?: never;
|
|
8289
|
+
};
|
|
8290
|
+
"/v1/apps/{owner}/{filename}/draft/lines": {
|
|
8291
|
+
parameters: {
|
|
8292
|
+
query?: never;
|
|
8293
|
+
header?: never;
|
|
8294
|
+
path?: never;
|
|
8295
|
+
cookie?: never;
|
|
8296
|
+
};
|
|
8297
|
+
/**
|
|
8298
|
+
* Read a line range of the app's draft
|
|
8299
|
+
* @description Returns a slice of the draft as text, plus the total line count and byte size. `GET
|
|
8300
|
+
* .../draft` returns the WHOLE slot base64-encoded, which is right for a client restoring its
|
|
8301
|
+
* working copy and wrong for a caller that wants the twenty lines it is about to change.
|
|
8302
|
+
*
|
|
8303
|
+
* Bounded twice: a request with no range returns the first page with `has_more` set rather than
|
|
8304
|
+
* the whole app, and a slice that would exceed the character ceiling is cut at a line boundary
|
|
8305
|
+
* with the same flag. A caller therefore never aims a replacement at text it only half received.
|
|
8306
|
+
*/
|
|
8307
|
+
get: operations["readAppDraftLines"];
|
|
8308
|
+
put?: never;
|
|
8309
|
+
post?: never;
|
|
8310
|
+
delete?: never;
|
|
8311
|
+
options?: never;
|
|
8312
|
+
head?: never;
|
|
8313
|
+
patch?: never;
|
|
8314
|
+
trace?: never;
|
|
8315
|
+
};
|
|
8316
|
+
"/v1/apps/{owner}/{filename}/draft/seed": {
|
|
8317
|
+
parameters: {
|
|
8318
|
+
query?: never;
|
|
8319
|
+
header?: never;
|
|
8320
|
+
path?: never;
|
|
8321
|
+
cookie?: never;
|
|
8322
|
+
};
|
|
8323
|
+
get?: never;
|
|
8324
|
+
put?: never;
|
|
8325
|
+
/**
|
|
8326
|
+
* Copy a published version into the app's draft slot
|
|
8327
|
+
* @description Loads a published version's source into the draft, server-side, so an app that is already
|
|
8328
|
+
* live can be continued. Without it there is nothing to edit: the app read routes serve the
|
|
8329
|
+
* bytes for download, and every draft write path has always taken its bytes from the caller.
|
|
8330
|
+
*
|
|
8331
|
+
* Seeding under a different `{filename}` copies the app, manifest and all. The source manifest
|
|
8332
|
+
* is the base, so the copy keeps the original name and category rather than inheriting from
|
|
8333
|
+
* whatever happens to live at the destination name.
|
|
8334
|
+
*/
|
|
8335
|
+
post: operations["seedAppDraft"];
|
|
8336
|
+
delete?: never;
|
|
8337
|
+
options?: never;
|
|
8338
|
+
head?: never;
|
|
8339
|
+
patch?: never;
|
|
8340
|
+
trace?: never;
|
|
8341
|
+
};
|
|
7741
8342
|
"/v1/apps/{owner}/{filename}/draft/preview-token": {
|
|
7742
8343
|
parameters: {
|
|
7743
8344
|
query?: never;
|
|
@@ -12302,11 +12903,7 @@ export interface paths {
|
|
|
12302
12903
|
path?: never;
|
|
12303
12904
|
cookie?: never;
|
|
12304
12905
|
};
|
|
12305
|
-
|
|
12306
|
-
* Who holds this organism, and who made it
|
|
12307
|
-
* @description `owners` is everyone with the organism's highest authority, in the order they were added, and is never empty. `created_by` is who made it and never changes, including through a handover. The deprecated `creator_ghii` on the organism record mirrors `owners[0]`.
|
|
12308
|
-
*/
|
|
12309
|
-
get: operations["listOrganismOwners"];
|
|
12906
|
+
get?: never;
|
|
12310
12907
|
put?: never;
|
|
12311
12908
|
/**
|
|
12312
12909
|
* Add an owner
|
|
@@ -14267,7 +14864,8 @@ export interface paths {
|
|
|
14267
14864
|
};
|
|
14268
14865
|
/**
|
|
14269
14866
|
* Get task detail
|
|
14270
|
-
* @description
|
|
14867
|
+
* @description Full task detail: TODO items, attachments as presigned handles authorized for this reader, and — once the task has finished — `outcome`: what it actually produced.
|
|
14868
|
+
* `outcome` carries the agent's own completion message and the address of the deliverable it published. It is absent while the task is still running, because an unfinished task has no outcome and an empty one would read as "finished with nothing". Before this, a completed task answered with `status: "done"` and nothing else: the completion message lived only on the terminal event and the deliverable pointer was stored but never returned, so a caller had to already know that a second, differently-shaped endpoint existed in order to find out what happened. The deliverable comes back as an ADDRESS rather than as content, because an output may be megabytes.
|
|
14271
14869
|
*/
|
|
14272
14870
|
get: operations["getAgentTask"];
|
|
14273
14871
|
put?: never;
|
|
@@ -14352,6 +14950,26 @@ export interface paths {
|
|
|
14352
14950
|
patch?: never;
|
|
14353
14951
|
trace?: never;
|
|
14354
14952
|
};
|
|
14953
|
+
"/v1/agents/{name}/tasks/{id}/queue": {
|
|
14954
|
+
parameters: {
|
|
14955
|
+
query?: never;
|
|
14956
|
+
header?: never;
|
|
14957
|
+
path?: never;
|
|
14958
|
+
cookie?: never;
|
|
14959
|
+
};
|
|
14960
|
+
get?: never;
|
|
14961
|
+
put?: never;
|
|
14962
|
+
/**
|
|
14963
|
+
* Release a draft task to the agent
|
|
14964
|
+
* @description Move a draft task to queued, which is the point at which the agent it is for can see it. Owner, or a same-owner app holding task:write. When the target agent's mode is task-runner the task goes straight to active, exactly as it would have at create time, and the response says so in auto_activated.
|
|
14965
|
+
*/
|
|
14966
|
+
post: operations["queueAgentTask"];
|
|
14967
|
+
delete?: never;
|
|
14968
|
+
options?: never;
|
|
14969
|
+
head?: never;
|
|
14970
|
+
patch?: never;
|
|
14971
|
+
trace?: never;
|
|
14972
|
+
};
|
|
14355
14973
|
"/v1/agents/{name}/tasks/{id}/start": {
|
|
14356
14974
|
parameters: {
|
|
14357
14975
|
query?: never;
|
|
@@ -22963,20 +23581,91 @@ export interface components {
|
|
|
22963
23581
|
};
|
|
22964
23582
|
/** @description Max minutes to wait for this step's success signal before timed-out. Default 60 (agent/ecosystem steps) / 1440 (human-input steps). */
|
|
22965
23583
|
timeout_min?: number;
|
|
22966
|
-
/** @description Absent ⇒ the default agent-dispatch. `export-out` pushes a memory key to a GEAI; `trigger-geai` invokes a GEAI capability (both complete on the tunnel reply). `human-input` parks the run (step state `waiting-human`) and asks the owner a structured question (in-app inbox + push); the run resumes when the owner answers via POST /v1/workflows/{id}/runs/{runId}/steps/{stepId}/answer, or the `on_timeout` policy fires after timeout_min (default 1440 = 24h): fail (timed-out, default) | skip | default (synthesize the answer `default_option`, by "timeout-default"). The answer JSON ({picks, pick, other, answeredAt, by}) is written to `answer_to_key` (templated, sandbox-prefix-honoring) so downstream steps branch on it with deterministic json_field gates — e.g. required_to_function {op: json_field, key: <answer_to_key>, path: pick, equals: approve}. */
|
|
23584
|
+
/** @description Absent ⇒ the default agent-dispatch. `export-out` pushes a memory key to a GEAI; `trigger-geai` invokes a GEAI capability (both complete on the tunnel reply). `human-input` parks the run (step state `waiting-human`) and asks the owner a structured question (in-app inbox + push); the run resumes when the owner answers via POST /v1/workflows/{id}/runs/{runId}/steps/{stepId}/answer, or the `on_timeout` policy fires after timeout_min (default 1440 = 24h): fail (timed-out, default) | skip | default (synthesize the answer `default_option`, by "timeout-default"). The answer JSON ({picks, pick, other, answeredAt, by}) is written to `answer_to_key` (templated, sandbox-prefix-honoring) so downstream steps branch on it with deterministic json_field gates — e.g. required_to_function {op: json_field, key: <answer_to_key>, path: pick, equals: approve}. `extension` runs one of the OWNER'S OWN extension actions on this node, in the sandbox, with no agent session and no model call — the deterministic half of a pipeline (fetch, normalise, hash, write a file) next to the agent steps that interpret. It completes through the same path as an ecosystem step, so its `success_signal` decides green or red; a `success_signal` is REQUIRED on an extension step, because without one the step would go green whenever the script merely returned, whatever it produced. Naming an extension installed by anyone else is refused at save AND at run: an unattended call has no paywall, no contract and no meter, so it would be an unlimited standing call on someone else's capability, API keys and quota. */
|
|
22967
23585
|
action?: {
|
|
22968
23586
|
/** @enum {string} */
|
|
22969
|
-
kind: "agent" | "export-out" | "trigger-geai" | "human-input";
|
|
23587
|
+
kind: "agent" | "export-out" | "trigger-geai" | "human-input" | "extension" | "datapackage";
|
|
22970
23588
|
/** @description export-out / trigger-geai: the target GEAI. */
|
|
22971
23589
|
geai?: string;
|
|
22972
23590
|
/** @description trigger-geai (required) / export-out (default __deposit__). */
|
|
22973
23591
|
capability?: string;
|
|
22974
23592
|
/** @description export-out: owner memory key whose value is pushed. */
|
|
22975
23593
|
from?: string;
|
|
22976
|
-
/** @description trigger-geai: capability input. */
|
|
23594
|
+
/** @description trigger-geai: capability input. extension: the action's input, with `{var}` substituted into its string leaves at dispatch (numbers and booleans pass through unchanged). */
|
|
22977
23595
|
input?: {
|
|
22978
23596
|
[key: string]: unknown;
|
|
22979
23597
|
};
|
|
23598
|
+
/** @description extension: the extension name — must be installed by this workflow's owner. */
|
|
23599
|
+
extension?: string;
|
|
23600
|
+
/** @description extension: the action id on that extension. */
|
|
23601
|
+
action?: string;
|
|
23602
|
+
/** @description extension: run against this named instance (its config, secrets decrypted, arrives as ctx.instance). */
|
|
23603
|
+
instance_id?: string;
|
|
23604
|
+
/** @description extension: owner-namespace key (templated, sandbox-prefix-honoring) the action's RETURN VALUE is written to, so a signal can gate on it — the analogue of `answer_to_key`. It is needed because an extension's own memory lives in the `ext:{name}` namespace while a workflow's signals read owner scope, and those never intersect: a signal pointed at what the extension wrote for itself can only read nothing. Absent `success_signal`, the default gate is that this key is non-empty. A step must declare one or the other. */
|
|
23605
|
+
result_to_key?: string;
|
|
23606
|
+
/** @description datapackage: the package name. It becomes part of the permanent address, so it is a name rather than a sentence. */
|
|
23607
|
+
name?: string;
|
|
23608
|
+
/** @description datapackage: the owner-namespace key an earlier step wrote (its `result_to_key`), {var}-templated. This is the join a repeating package needs and the one no other component can make: an extension step lands its result in the owner's namespace as a PRIVATE record, which the sandbox cannot read back (ctx.memory.get sees `ext:{name}`, getPublic returns only public records). The engine already runs as the owner and already wrote that key. */
|
|
23609
|
+
from_key?: string;
|
|
23610
|
+
/** @description datapackage: dotted path to the rows INSIDE that value. A producer answers with an envelope (`{ ok, total, results }`) far more often than with a bare array, so naming the path is how a workflow says which part of the answer is the table. Omit when the value is the array itself. */
|
|
23611
|
+
rows_at?: string;
|
|
23612
|
+
/** @description extension: call the action repeatedly and merge the pages. Real registries page — `laake-fi` caps at 500 rows on a set of 718, so one call answers `truncated: true` and a package built from it holds five-sevenths of the data with nothing saying so. The merged value keeps the LAST page's envelope with `items_at` replaced by every row collected, plus `pagesFetched` and `complete`. `complete` is false when the loop stopped at `max_pages` rather than at the end of the data, which is what makes "did we get all of it" something a success_signal can assert. */
|
|
23613
|
+
paging?: {
|
|
23614
|
+
/** @description Input field carrying the offset; set on each call. */
|
|
23615
|
+
offset_param: string;
|
|
23616
|
+
/** @description Rows per page, and the increment. */
|
|
23617
|
+
page_size: number;
|
|
23618
|
+
/** @description Dotted path to a page's rows. */
|
|
23619
|
+
items_at: string;
|
|
23620
|
+
/** @description Dotted path to the reported total. Absent = stop on a short page. */
|
|
23621
|
+
total_at?: string;
|
|
23622
|
+
/** @description Hard stop. Required: a producer that never reports completion must not loop forever. */
|
|
23623
|
+
max_pages: number;
|
|
23624
|
+
};
|
|
23625
|
+
/** @description extension: call the action once per value and merge the answers — the other shape a real producer has. `kumppani` answers about ONE company per call, so a package covering ten companies is ten calls. Paging varies an offset over one query; this varies a parameter over a list. Both merge `items_at` and both add `complete`. A call that fails fails the STEP: ten companies of which one could not be read is not a package about ten companies. */
|
|
23626
|
+
for_each?: {
|
|
23627
|
+
/** @description The values to iterate; each is {var}-templated. */
|
|
23628
|
+
values: string[];
|
|
23629
|
+
/** @description Input field each value is set on. */
|
|
23630
|
+
param: string;
|
|
23631
|
+
/** @description Dotted path to the rows in ONE answer. */
|
|
23632
|
+
items_at: string;
|
|
23633
|
+
};
|
|
23634
|
+
/** @description datapackage: several lists in one answer, published as ONE table with a discriminator. `aiuutiset` answers with topics, actors and sources — the same numbers under a differently-named label each — and `rows_at` names exactly one path, so without this such a producer could only publish a third of what it knows. Each source gets its own `columns` (that is what reconciles topic/actor/source into one `name`) and its own `set` of constant columns (that is the discriminator). When `union` is present the top-level `rows_at` and `columns` are not used. */
|
|
23635
|
+
union?: {
|
|
23636
|
+
rows_at: string;
|
|
23637
|
+
columns?: {
|
|
23638
|
+
[key: string]: string;
|
|
23639
|
+
};
|
|
23640
|
+
/** @description Constant columns added to every row from this source. */
|
|
23641
|
+
set?: {
|
|
23642
|
+
[key: string]: string;
|
|
23643
|
+
};
|
|
23644
|
+
}[];
|
|
23645
|
+
/** @description datapackage: column name to a dotted path INSIDE each row. Omit to publish the rows as they are. A Table Schema describes scalars and a real producer answers with nested objects (`buyer: { name, businessId }`) and arrays, so this is the transformation these bindings actually need — the first production run of one refused 200 row problems for exactly that reason. It is a mapping rather than a script on purpose: flattening is declarative and lands in the descriptor as a recorded transformation, where a scripting language in a workflow descriptor would be a sandbox with no boundary. A missing path yields null rather than dropping the column, so a row that lost a field is a visible gap instead of a silently different table; an array at the end of a path is joined with a semicolon. */
|
|
23646
|
+
columns?: {
|
|
23647
|
+
[key: string]: string;
|
|
23648
|
+
};
|
|
23649
|
+
/** @description datapackage: what moved against the previous version and why, {var}-templated. Required, and required at SAVE as well as at publish — a workflow that discovers the contract at 06:00 has already lost the run it was written for. */
|
|
23650
|
+
changes?: string;
|
|
23651
|
+
/** @description datapackage: the Table Schema the rows must satisfy. Omitting it INFERS from the rows, and for a repeating producer that is the wrong default even though it is the convenient one: inference widens to fit whatever arrived, so a run where the upstream sent a word instead of a number publishes a version whose column is quietly a string, and every consumer's join against it stops matching with no error anywhere. Declared, the same run is refused with the row and the field named, and the package stands on its previous version. */
|
|
23652
|
+
schema?: {
|
|
23653
|
+
fields?: {
|
|
23654
|
+
name: string;
|
|
23655
|
+
type: string;
|
|
23656
|
+
}[];
|
|
23657
|
+
};
|
|
23658
|
+
/** @description datapackage: resource name, default `rows`. */
|
|
23659
|
+
resource?: string;
|
|
23660
|
+
/** @description datapackage: sources, licence, legal basis and transformations, carried into the descriptor. */
|
|
23661
|
+
provenance?: {
|
|
23662
|
+
[key: string]: unknown;
|
|
23663
|
+
};
|
|
23664
|
+
/** @description datapackage: how many old versions to keep. */
|
|
23665
|
+
retention_policy?: {
|
|
23666
|
+
keep?: number;
|
|
23667
|
+
unit?: string;
|
|
23668
|
+
};
|
|
22980
23669
|
/** @description human-input: the structured question (AskUserQuestion-shaped). */
|
|
22981
23670
|
question?: {
|
|
22982
23671
|
header?: string;
|
|
@@ -25766,6 +26455,272 @@ export interface operations {
|
|
|
25766
26455
|
404: components["responses"]["NotFound"];
|
|
25767
26456
|
};
|
|
25768
26457
|
};
|
|
26458
|
+
llmProxyChatCompletion: {
|
|
26459
|
+
parameters: {
|
|
26460
|
+
query?: never;
|
|
26461
|
+
header?: never;
|
|
26462
|
+
path?: never;
|
|
26463
|
+
cookie?: never;
|
|
26464
|
+
};
|
|
26465
|
+
requestBody: {
|
|
26466
|
+
content: {
|
|
26467
|
+
"application/json": {
|
|
26468
|
+
/** @description OpenAI chat messages. */
|
|
26469
|
+
messages: Record<string, never>[];
|
|
26470
|
+
/** @description Forward the provider's SSE frames as they arrive. */
|
|
26471
|
+
stream?: boolean;
|
|
26472
|
+
temperature?: number;
|
|
26473
|
+
top_p?: number;
|
|
26474
|
+
max_tokens?: number;
|
|
26475
|
+
tools?: Record<string, never>[];
|
|
26476
|
+
tool_choice?: unknown;
|
|
26477
|
+
response_format?: Record<string, never>;
|
|
26478
|
+
};
|
|
26479
|
+
};
|
|
26480
|
+
};
|
|
26481
|
+
responses: {
|
|
26482
|
+
/** @description An OpenAI chat completion, or its SSE stream when `stream` is true */
|
|
26483
|
+
200: {
|
|
26484
|
+
headers: {
|
|
26485
|
+
[name: string]: unknown;
|
|
26486
|
+
};
|
|
26487
|
+
content: {
|
|
26488
|
+
"application/json": Record<string, never>;
|
|
26489
|
+
"text/event-stream": string;
|
|
26490
|
+
};
|
|
26491
|
+
};
|
|
26492
|
+
/** @description messages is missing, or no key is configured for this owner */
|
|
26493
|
+
400: {
|
|
26494
|
+
headers: {
|
|
26495
|
+
[name: string]: unknown;
|
|
26496
|
+
};
|
|
26497
|
+
content?: never;
|
|
26498
|
+
};
|
|
26499
|
+
401: components["responses"]["Unauthorized"];
|
|
26500
|
+
/** @description The allowance is spent and this node has no free-model fallback configured */
|
|
26501
|
+
402: {
|
|
26502
|
+
headers: {
|
|
26503
|
+
[name: string]: unknown;
|
|
26504
|
+
};
|
|
26505
|
+
content?: never;
|
|
26506
|
+
};
|
|
26507
|
+
/** @description Not an owner session and no ai:use scope */
|
|
26508
|
+
403: {
|
|
26509
|
+
headers: {
|
|
26510
|
+
[name: string]: unknown;
|
|
26511
|
+
};
|
|
26512
|
+
content?: never;
|
|
26513
|
+
};
|
|
26514
|
+
/** @description The model is rate limited. Free models reach this first. */
|
|
26515
|
+
429: {
|
|
26516
|
+
headers: {
|
|
26517
|
+
[name: string]: unknown;
|
|
26518
|
+
};
|
|
26519
|
+
content?: never;
|
|
26520
|
+
};
|
|
26521
|
+
/** @description The model is overloaded, unavailable, or answered with an error */
|
|
26522
|
+
502: {
|
|
26523
|
+
headers: {
|
|
26524
|
+
[name: string]: unknown;
|
|
26525
|
+
};
|
|
26526
|
+
content?: never;
|
|
26527
|
+
};
|
|
26528
|
+
};
|
|
26529
|
+
};
|
|
26530
|
+
llmProxyListModels: {
|
|
26531
|
+
parameters: {
|
|
26532
|
+
query?: never;
|
|
26533
|
+
header?: never;
|
|
26534
|
+
path?: never;
|
|
26535
|
+
cookie?: never;
|
|
26536
|
+
};
|
|
26537
|
+
requestBody?: never;
|
|
26538
|
+
responses: {
|
|
26539
|
+
/** @description `{ object: "list", data: [{ id, object, owned_by }] }` */
|
|
26540
|
+
200: {
|
|
26541
|
+
headers: {
|
|
26542
|
+
[name: string]: unknown;
|
|
26543
|
+
};
|
|
26544
|
+
content?: never;
|
|
26545
|
+
};
|
|
26546
|
+
401: components["responses"]["Unauthorized"];
|
|
26547
|
+
/** @description Not an owner session and no ai:use scope */
|
|
26548
|
+
403: {
|
|
26549
|
+
headers: {
|
|
26550
|
+
[name: string]: unknown;
|
|
26551
|
+
};
|
|
26552
|
+
content?: never;
|
|
26553
|
+
};
|
|
26554
|
+
};
|
|
26555
|
+
};
|
|
26556
|
+
getChatStatus: {
|
|
26557
|
+
parameters: {
|
|
26558
|
+
query?: never;
|
|
26559
|
+
header?: never;
|
|
26560
|
+
path?: never;
|
|
26561
|
+
cookie?: never;
|
|
26562
|
+
};
|
|
26563
|
+
requestBody?: never;
|
|
26564
|
+
responses: {
|
|
26565
|
+
/**
|
|
26566
|
+
* @description `{ enabled, agent_name, allowance_remaining_usd, has_own_key, note? }`. `note` is present
|
|
26567
|
+
* only when `enabled` is false, and names what an operator has to set.
|
|
26568
|
+
*/
|
|
26569
|
+
200: {
|
|
26570
|
+
headers: {
|
|
26571
|
+
[name: string]: unknown;
|
|
26572
|
+
};
|
|
26573
|
+
content?: never;
|
|
26574
|
+
};
|
|
26575
|
+
401: components["responses"]["Unauthorized"];
|
|
26576
|
+
403: components["responses"]["Forbidden"];
|
|
26577
|
+
};
|
|
26578
|
+
};
|
|
26579
|
+
listChatThreads: {
|
|
26580
|
+
parameters: {
|
|
26581
|
+
query?: never;
|
|
26582
|
+
header?: never;
|
|
26583
|
+
path?: never;
|
|
26584
|
+
cookie?: never;
|
|
26585
|
+
};
|
|
26586
|
+
requestBody?: never;
|
|
26587
|
+
responses: {
|
|
26588
|
+
/** @description `{ threads: [{ id, title, created_at, updated_at, turns }] }` */
|
|
26589
|
+
200: {
|
|
26590
|
+
headers: {
|
|
26591
|
+
[name: string]: unknown;
|
|
26592
|
+
};
|
|
26593
|
+
content?: never;
|
|
26594
|
+
};
|
|
26595
|
+
401: components["responses"]["Unauthorized"];
|
|
26596
|
+
403: components["responses"]["Forbidden"];
|
|
26597
|
+
};
|
|
26598
|
+
};
|
|
26599
|
+
createChatThread: {
|
|
26600
|
+
parameters: {
|
|
26601
|
+
query?: never;
|
|
26602
|
+
header?: never;
|
|
26603
|
+
path?: never;
|
|
26604
|
+
cookie?: never;
|
|
26605
|
+
};
|
|
26606
|
+
requestBody?: {
|
|
26607
|
+
content: {
|
|
26608
|
+
"application/json": {
|
|
26609
|
+
/** @description Optional title. Otherwise taken from the first message. */
|
|
26610
|
+
title?: string;
|
|
26611
|
+
};
|
|
26612
|
+
};
|
|
26613
|
+
};
|
|
26614
|
+
responses: {
|
|
26615
|
+
/** @description `{ thread: { id, title, createdAt, updatedAt, turns: [] } }` */
|
|
26616
|
+
201: {
|
|
26617
|
+
headers: {
|
|
26618
|
+
[name: string]: unknown;
|
|
26619
|
+
};
|
|
26620
|
+
content?: never;
|
|
26621
|
+
};
|
|
26622
|
+
401: components["responses"]["Unauthorized"];
|
|
26623
|
+
403: components["responses"]["Forbidden"];
|
|
26624
|
+
};
|
|
26625
|
+
};
|
|
26626
|
+
getChatThread: {
|
|
26627
|
+
parameters: {
|
|
26628
|
+
query?: never;
|
|
26629
|
+
header?: never;
|
|
26630
|
+
path: {
|
|
26631
|
+
id: string;
|
|
26632
|
+
};
|
|
26633
|
+
cookie?: never;
|
|
26634
|
+
};
|
|
26635
|
+
requestBody?: never;
|
|
26636
|
+
responses: {
|
|
26637
|
+
/** @description `{ thread: { id, title, createdAt, updatedAt, gooseSessionId?, turns: [{ role, text, at, tools?, model? }] } }` */
|
|
26638
|
+
200: {
|
|
26639
|
+
headers: {
|
|
26640
|
+
[name: string]: unknown;
|
|
26641
|
+
};
|
|
26642
|
+
content?: never;
|
|
26643
|
+
};
|
|
26644
|
+
401: components["responses"]["Unauthorized"];
|
|
26645
|
+
403: components["responses"]["Forbidden"];
|
|
26646
|
+
404: components["responses"]["NotFound"];
|
|
26647
|
+
};
|
|
26648
|
+
};
|
|
26649
|
+
deleteChatThread: {
|
|
26650
|
+
parameters: {
|
|
26651
|
+
query?: never;
|
|
26652
|
+
header?: never;
|
|
26653
|
+
path: {
|
|
26654
|
+
id: string;
|
|
26655
|
+
};
|
|
26656
|
+
cookie?: never;
|
|
26657
|
+
};
|
|
26658
|
+
requestBody?: never;
|
|
26659
|
+
responses: {
|
|
26660
|
+
/** @description `{ deleted: true }` */
|
|
26661
|
+
200: {
|
|
26662
|
+
headers: {
|
|
26663
|
+
[name: string]: unknown;
|
|
26664
|
+
};
|
|
26665
|
+
content?: never;
|
|
26666
|
+
};
|
|
26667
|
+
401: components["responses"]["Unauthorized"];
|
|
26668
|
+
403: components["responses"]["Forbidden"];
|
|
26669
|
+
404: components["responses"]["NotFound"];
|
|
26670
|
+
};
|
|
26671
|
+
};
|
|
26672
|
+
resetChatThreadSession: {
|
|
26673
|
+
parameters: {
|
|
26674
|
+
query?: never;
|
|
26675
|
+
header?: never;
|
|
26676
|
+
path?: never;
|
|
26677
|
+
cookie?: never;
|
|
26678
|
+
};
|
|
26679
|
+
requestBody?: never;
|
|
26680
|
+
responses: {
|
|
26681
|
+
/** @description `{ reset: true }` */
|
|
26682
|
+
200: {
|
|
26683
|
+
headers: {
|
|
26684
|
+
[name: string]: unknown;
|
|
26685
|
+
};
|
|
26686
|
+
content?: never;
|
|
26687
|
+
};
|
|
26688
|
+
401: components["responses"]["Unauthorized"];
|
|
26689
|
+
403: components["responses"]["Forbidden"];
|
|
26690
|
+
404: components["responses"]["NotFound"];
|
|
26691
|
+
};
|
|
26692
|
+
};
|
|
26693
|
+
sendChatTurn: {
|
|
26694
|
+
parameters: {
|
|
26695
|
+
query?: never;
|
|
26696
|
+
header?: never;
|
|
26697
|
+
path?: never;
|
|
26698
|
+
cookie?: never;
|
|
26699
|
+
};
|
|
26700
|
+
requestBody: {
|
|
26701
|
+
content: {
|
|
26702
|
+
"application/json": {
|
|
26703
|
+
/** @description What to say. Must not be empty. */
|
|
26704
|
+
text: string;
|
|
26705
|
+
};
|
|
26706
|
+
};
|
|
26707
|
+
};
|
|
26708
|
+
responses: {
|
|
26709
|
+
/** @description SSE stream of turn updates */
|
|
26710
|
+
200: {
|
|
26711
|
+
headers: {
|
|
26712
|
+
[name: string]: unknown;
|
|
26713
|
+
};
|
|
26714
|
+
content: {
|
|
26715
|
+
"text/event-stream": string;
|
|
26716
|
+
};
|
|
26717
|
+
};
|
|
26718
|
+
400: components["responses"]["BadRequest"];
|
|
26719
|
+
401: components["responses"]["Unauthorized"];
|
|
26720
|
+
403: components["responses"]["Forbidden"];
|
|
26721
|
+
404: components["responses"]["NotFound"];
|
|
26722
|
+
};
|
|
26723
|
+
};
|
|
25769
26724
|
agentCheckin: {
|
|
25770
26725
|
parameters: {
|
|
25771
26726
|
query?: never;
|
|
@@ -27120,7 +28075,7 @@ export interface operations {
|
|
|
27120
28075
|
content: {
|
|
27121
28076
|
"application/json": {
|
|
27122
28077
|
/** @enum {string} */
|
|
27123
|
-
ui: "home" | "profile";
|
|
28078
|
+
ui: "home" | "profile" | "chat";
|
|
27124
28079
|
};
|
|
27125
28080
|
};
|
|
27126
28081
|
};
|
|
@@ -27132,7 +28087,7 @@ export interface operations {
|
|
|
27132
28087
|
};
|
|
27133
28088
|
content?: never;
|
|
27134
28089
|
};
|
|
27135
|
-
/** @description ui must be "home" or "
|
|
28090
|
+
/** @description ui must be "home", "profile" or "chat" */
|
|
27136
28091
|
400: {
|
|
27137
28092
|
headers: {
|
|
27138
28093
|
[name: string]: unknown;
|
|
@@ -28097,6 +29052,101 @@ export interface operations {
|
|
|
28097
29052
|
403: components["responses"]["AimeatError"];
|
|
28098
29053
|
};
|
|
28099
29054
|
};
|
|
29055
|
+
generateImage: {
|
|
29056
|
+
parameters: {
|
|
29057
|
+
query?: never;
|
|
29058
|
+
header?: never;
|
|
29059
|
+
path?: never;
|
|
29060
|
+
cookie?: never;
|
|
29061
|
+
};
|
|
29062
|
+
requestBody: {
|
|
29063
|
+
content: {
|
|
29064
|
+
"application/json": {
|
|
29065
|
+
/** @description What the picture should show. */
|
|
29066
|
+
prompt: string;
|
|
29067
|
+
/** @description Provider-specific size string, e.g. "1024x1024". Passed through untouched. */
|
|
29068
|
+
size?: string;
|
|
29069
|
+
/** @description Where to store it. Defaults to ai-images/<timestamp>-<random>.<ext>. */
|
|
29070
|
+
storage_key?: string;
|
|
29071
|
+
/**
|
|
29072
|
+
* @description Store it publicly readable, so a model or page can fetch it by URL.
|
|
29073
|
+
* @default false
|
|
29074
|
+
*/
|
|
29075
|
+
public?: boolean;
|
|
29076
|
+
/** @description Override the image model. */
|
|
29077
|
+
model?: string;
|
|
29078
|
+
/** @description Attribution for the per-app quota and the spend report. */
|
|
29079
|
+
app_id?: string;
|
|
29080
|
+
};
|
|
29081
|
+
};
|
|
29082
|
+
};
|
|
29083
|
+
responses: {
|
|
29084
|
+
/** @description The image was generated and stored */
|
|
29085
|
+
200: {
|
|
29086
|
+
headers: {
|
|
29087
|
+
[name: string]: unknown;
|
|
29088
|
+
};
|
|
29089
|
+
content: {
|
|
29090
|
+
"application/json": components["schemas"]["AimeatEnvelope"] & {
|
|
29091
|
+
data?: {
|
|
29092
|
+
storage_key?: string;
|
|
29093
|
+
mime_type?: string;
|
|
29094
|
+
size?: number;
|
|
29095
|
+
model?: string;
|
|
29096
|
+
/** @enum {string} */
|
|
29097
|
+
visibility?: "public" | "private";
|
|
29098
|
+
url?: string;
|
|
29099
|
+
usage?: {
|
|
29100
|
+
cost_usd?: number;
|
|
29101
|
+
/** @description false when the provider reported no cost; never estimated */
|
|
29102
|
+
cost_exact?: boolean;
|
|
29103
|
+
};
|
|
29104
|
+
budget?: {
|
|
29105
|
+
daily_budget_usd?: number;
|
|
29106
|
+
spent_today_usd?: number;
|
|
29107
|
+
remaining_usd?: number;
|
|
29108
|
+
};
|
|
29109
|
+
};
|
|
29110
|
+
};
|
|
29111
|
+
};
|
|
29112
|
+
};
|
|
29113
|
+
/** @description INVALID_BODY, PROMPT_TOO_LONG, or NO_IMAGE_MODEL when neither the owner nor the node has named one */
|
|
29114
|
+
400: {
|
|
29115
|
+
headers: {
|
|
29116
|
+
[name: string]: unknown;
|
|
29117
|
+
};
|
|
29118
|
+
content?: never;
|
|
29119
|
+
};
|
|
29120
|
+
/** @description Unauthorized, or INVALID_API_KEY when the provider rejected the key */
|
|
29121
|
+
401: {
|
|
29122
|
+
headers: {
|
|
29123
|
+
[name: string]: unknown;
|
|
29124
|
+
};
|
|
29125
|
+
content?: never;
|
|
29126
|
+
};
|
|
29127
|
+
/** @description QUOTA_EXHAUSTED - the daily budget is spent; nothing was generated */
|
|
29128
|
+
402: {
|
|
29129
|
+
headers: {
|
|
29130
|
+
[name: string]: unknown;
|
|
29131
|
+
};
|
|
29132
|
+
content?: never;
|
|
29133
|
+
};
|
|
29134
|
+
/** @description RATE_LIMITED by the provider */
|
|
29135
|
+
429: {
|
|
29136
|
+
headers: {
|
|
29137
|
+
[name: string]: unknown;
|
|
29138
|
+
};
|
|
29139
|
+
content?: never;
|
|
29140
|
+
};
|
|
29141
|
+
/** @description PROVIDER_ERROR - the provider failed; the message carries what it said */
|
|
29142
|
+
502: {
|
|
29143
|
+
headers: {
|
|
29144
|
+
[name: string]: unknown;
|
|
29145
|
+
};
|
|
29146
|
+
content?: never;
|
|
29147
|
+
};
|
|
29148
|
+
};
|
|
29149
|
+
};
|
|
28100
29150
|
aiTranscribe: {
|
|
28101
29151
|
parameters: {
|
|
28102
29152
|
query?: never;
|
|
@@ -30508,6 +31558,393 @@ export interface operations {
|
|
|
30508
31558
|
};
|
|
30509
31559
|
};
|
|
30510
31560
|
};
|
|
31561
|
+
listDataPackages: {
|
|
31562
|
+
parameters: {
|
|
31563
|
+
query?: never;
|
|
31564
|
+
header?: never;
|
|
31565
|
+
path?: never;
|
|
31566
|
+
cookie?: never;
|
|
31567
|
+
};
|
|
31568
|
+
requestBody?: never;
|
|
31569
|
+
responses: {
|
|
31570
|
+
/** @description The caller's packages, newest first */
|
|
31571
|
+
200: {
|
|
31572
|
+
headers: {
|
|
31573
|
+
[name: string]: unknown;
|
|
31574
|
+
};
|
|
31575
|
+
content?: never;
|
|
31576
|
+
};
|
|
31577
|
+
/** @description Authentication required */
|
|
31578
|
+
401: {
|
|
31579
|
+
headers: {
|
|
31580
|
+
[name: string]: unknown;
|
|
31581
|
+
};
|
|
31582
|
+
content?: never;
|
|
31583
|
+
};
|
|
31584
|
+
};
|
|
31585
|
+
};
|
|
31586
|
+
publishDataPackage: {
|
|
31587
|
+
parameters: {
|
|
31588
|
+
query?: never;
|
|
31589
|
+
header?: never;
|
|
31590
|
+
path?: never;
|
|
31591
|
+
cookie?: never;
|
|
31592
|
+
};
|
|
31593
|
+
requestBody: {
|
|
31594
|
+
content: {
|
|
31595
|
+
"application/json": {
|
|
31596
|
+
/** @description Lowercase letters, digits and dashes, 2-64 chars. It is an address segment. */
|
|
31597
|
+
name: string;
|
|
31598
|
+
/** @description REQUIRED. What moved against the previous version and why. A version nobody explained is a version a consumer cannot decide about, so this is not optional. */
|
|
31599
|
+
changes: string;
|
|
31600
|
+
title?: string;
|
|
31601
|
+
description?: string;
|
|
31602
|
+
resources: {
|
|
31603
|
+
/** @description Becomes data/{name}.csv in the package. */
|
|
31604
|
+
name: string;
|
|
31605
|
+
rows: {
|
|
31606
|
+
[key: string]: unknown;
|
|
31607
|
+
}[];
|
|
31608
|
+
/** @description A Table Schema object, or "infer" (the default) to propose one from the rows. */
|
|
31609
|
+
schema?: "infer" | {
|
|
31610
|
+
fields: {
|
|
31611
|
+
name: string;
|
|
31612
|
+
/** @enum {string} */
|
|
31613
|
+
type: "string" | "integer" | "number" | "boolean" | "date" | "datetime" | "any";
|
|
31614
|
+
description?: string;
|
|
31615
|
+
}[];
|
|
31616
|
+
/** @description Fields that must be present, non-empty and unique across rows. */
|
|
31617
|
+
primaryKey?: string[];
|
|
31618
|
+
};
|
|
31619
|
+
title?: string;
|
|
31620
|
+
description?: string;
|
|
31621
|
+
}[];
|
|
31622
|
+
/** @description What the producer was asked for — the window, the keywords. Travels in the descriptor. */
|
|
31623
|
+
parameters?: {
|
|
31624
|
+
[key: string]: unknown;
|
|
31625
|
+
};
|
|
31626
|
+
/** @description Origin, legal basis and licence. The owner is responsible for the data; this is where they say so. */
|
|
31627
|
+
provenance?: {
|
|
31628
|
+
sources?: {
|
|
31629
|
+
url?: string;
|
|
31630
|
+
title?: string;
|
|
31631
|
+
retrievedAt?: string;
|
|
31632
|
+
role?: string;
|
|
31633
|
+
}[];
|
|
31634
|
+
/** @description packageIds this was derived from. */
|
|
31635
|
+
lineage?: string[];
|
|
31636
|
+
transformations?: {
|
|
31637
|
+
by?: string;
|
|
31638
|
+
what?: string;
|
|
31639
|
+
}[];
|
|
31640
|
+
legalBasis?: string;
|
|
31641
|
+
consentStatus?: string;
|
|
31642
|
+
retention?: string;
|
|
31643
|
+
license?: string;
|
|
31644
|
+
supersedes?: string;
|
|
31645
|
+
};
|
|
31646
|
+
retentionPolicy?: {
|
|
31647
|
+
keep?: number;
|
|
31648
|
+
/** @enum {string} */
|
|
31649
|
+
unit?: "versions" | "months";
|
|
31650
|
+
};
|
|
31651
|
+
};
|
|
31652
|
+
};
|
|
31653
|
+
};
|
|
31654
|
+
responses: {
|
|
31655
|
+
/** @description Identical content was already published — no new version (unchanged is true) */
|
|
31656
|
+
200: {
|
|
31657
|
+
headers: {
|
|
31658
|
+
[name: string]: unknown;
|
|
31659
|
+
};
|
|
31660
|
+
content?: never;
|
|
31661
|
+
};
|
|
31662
|
+
/** @description A new version was written */
|
|
31663
|
+
201: {
|
|
31664
|
+
headers: {
|
|
31665
|
+
[name: string]: unknown;
|
|
31666
|
+
};
|
|
31667
|
+
content?: never;
|
|
31668
|
+
};
|
|
31669
|
+
/** @description The request is malformed (no name, no changes, no resources, a bad resource name) */
|
|
31670
|
+
400: {
|
|
31671
|
+
headers: {
|
|
31672
|
+
[name: string]: unknown;
|
|
31673
|
+
};
|
|
31674
|
+
content?: never;
|
|
31675
|
+
};
|
|
31676
|
+
/** @description Authentication required */
|
|
31677
|
+
401: {
|
|
31678
|
+
headers: {
|
|
31679
|
+
[name: string]: unknown;
|
|
31680
|
+
};
|
|
31681
|
+
content?: never;
|
|
31682
|
+
};
|
|
31683
|
+
/** @description Missing storage:write or memory:write */
|
|
31684
|
+
403: {
|
|
31685
|
+
headers: {
|
|
31686
|
+
[name: string]: unknown;
|
|
31687
|
+
};
|
|
31688
|
+
content?: never;
|
|
31689
|
+
};
|
|
31690
|
+
/** @description The quality gate refused — issues[] carries the row and column of each problem */
|
|
31691
|
+
422: {
|
|
31692
|
+
headers: {
|
|
31693
|
+
[name: string]: unknown;
|
|
31694
|
+
};
|
|
31695
|
+
content?: never;
|
|
31696
|
+
};
|
|
31697
|
+
};
|
|
31698
|
+
};
|
|
31699
|
+
validateDataPackage: {
|
|
31700
|
+
parameters: {
|
|
31701
|
+
query?: never;
|
|
31702
|
+
header?: never;
|
|
31703
|
+
path?: never;
|
|
31704
|
+
cookie?: never;
|
|
31705
|
+
};
|
|
31706
|
+
requestBody: {
|
|
31707
|
+
content: {
|
|
31708
|
+
"application/json": {
|
|
31709
|
+
resources: {
|
|
31710
|
+
name: string;
|
|
31711
|
+
rows: {
|
|
31712
|
+
[key: string]: unknown;
|
|
31713
|
+
}[];
|
|
31714
|
+
/** @description A Table Schema, or "infer" (default). */
|
|
31715
|
+
schema?: unknown;
|
|
31716
|
+
}[];
|
|
31717
|
+
};
|
|
31718
|
+
};
|
|
31719
|
+
};
|
|
31720
|
+
responses: {
|
|
31721
|
+
/** @description ok:false with issues[] is a normal answer here — the gate ran and refused. */
|
|
31722
|
+
200: {
|
|
31723
|
+
headers: {
|
|
31724
|
+
[name: string]: unknown;
|
|
31725
|
+
};
|
|
31726
|
+
content?: never;
|
|
31727
|
+
};
|
|
31728
|
+
/** @description Authentication required */
|
|
31729
|
+
401: {
|
|
31730
|
+
headers: {
|
|
31731
|
+
[name: string]: unknown;
|
|
31732
|
+
};
|
|
31733
|
+
content?: never;
|
|
31734
|
+
};
|
|
31735
|
+
};
|
|
31736
|
+
};
|
|
31737
|
+
getDataPackage: {
|
|
31738
|
+
parameters: {
|
|
31739
|
+
query?: {
|
|
31740
|
+
/** @description sha256:… to pin one version. */
|
|
31741
|
+
version?: string;
|
|
31742
|
+
};
|
|
31743
|
+
header?: never;
|
|
31744
|
+
path: {
|
|
31745
|
+
/** @description Owner name or GHII. */
|
|
31746
|
+
owner: string;
|
|
31747
|
+
name: string;
|
|
31748
|
+
};
|
|
31749
|
+
cookie?: never;
|
|
31750
|
+
};
|
|
31751
|
+
requestBody?: never;
|
|
31752
|
+
responses: {
|
|
31753
|
+
/** @description The descriptor, its permanent URL, and the latest pointer when unpinned */
|
|
31754
|
+
200: {
|
|
31755
|
+
headers: {
|
|
31756
|
+
[name: string]: unknown;
|
|
31757
|
+
};
|
|
31758
|
+
content?: never;
|
|
31759
|
+
};
|
|
31760
|
+
/** @description No such package or version */
|
|
31761
|
+
404: {
|
|
31762
|
+
headers: {
|
|
31763
|
+
[name: string]: unknown;
|
|
31764
|
+
};
|
|
31765
|
+
content?: never;
|
|
31766
|
+
};
|
|
31767
|
+
};
|
|
31768
|
+
};
|
|
31769
|
+
listDataPackageVersions: {
|
|
31770
|
+
parameters: {
|
|
31771
|
+
query?: never;
|
|
31772
|
+
header?: never;
|
|
31773
|
+
path: {
|
|
31774
|
+
/** @description Owner name or GHII. */
|
|
31775
|
+
owner: string;
|
|
31776
|
+
name: string;
|
|
31777
|
+
};
|
|
31778
|
+
cookie?: never;
|
|
31779
|
+
};
|
|
31780
|
+
requestBody?: never;
|
|
31781
|
+
responses: {
|
|
31782
|
+
/** @description The version list, newest first */
|
|
31783
|
+
200: {
|
|
31784
|
+
headers: {
|
|
31785
|
+
[name: string]: unknown;
|
|
31786
|
+
};
|
|
31787
|
+
content?: never;
|
|
31788
|
+
};
|
|
31789
|
+
/** @description No such package */
|
|
31790
|
+
404: {
|
|
31791
|
+
headers: {
|
|
31792
|
+
[name: string]: unknown;
|
|
31793
|
+
};
|
|
31794
|
+
content?: never;
|
|
31795
|
+
};
|
|
31796
|
+
};
|
|
31797
|
+
};
|
|
31798
|
+
readDataPackageRows: {
|
|
31799
|
+
parameters: {
|
|
31800
|
+
query?: {
|
|
31801
|
+
version?: string;
|
|
31802
|
+
offset?: number;
|
|
31803
|
+
limit?: number;
|
|
31804
|
+
/** @description Comma-separated field names. */
|
|
31805
|
+
select?: string;
|
|
31806
|
+
};
|
|
31807
|
+
header?: never;
|
|
31808
|
+
path: {
|
|
31809
|
+
owner: string;
|
|
31810
|
+
name: string;
|
|
31811
|
+
resource: string;
|
|
31812
|
+
};
|
|
31813
|
+
cookie?: never;
|
|
31814
|
+
};
|
|
31815
|
+
requestBody?: never;
|
|
31816
|
+
responses: {
|
|
31817
|
+
/** @description rows, total, and the Table Schema of what was returned */
|
|
31818
|
+
200: {
|
|
31819
|
+
headers: {
|
|
31820
|
+
[name: string]: unknown;
|
|
31821
|
+
};
|
|
31822
|
+
content?: never;
|
|
31823
|
+
};
|
|
31824
|
+
/** @description No such package, version or resource */
|
|
31825
|
+
404: {
|
|
31826
|
+
headers: {
|
|
31827
|
+
[name: string]: unknown;
|
|
31828
|
+
};
|
|
31829
|
+
content?: never;
|
|
31830
|
+
};
|
|
31831
|
+
};
|
|
31832
|
+
};
|
|
31833
|
+
odataServiceDocument: {
|
|
31834
|
+
parameters: {
|
|
31835
|
+
query?: {
|
|
31836
|
+
/** @description sha256:… to pin the feed to one version, which can then never change under the consumer. */
|
|
31837
|
+
version?: string;
|
|
31838
|
+
};
|
|
31839
|
+
header?: never;
|
|
31840
|
+
path: {
|
|
31841
|
+
owner: string;
|
|
31842
|
+
name: string;
|
|
31843
|
+
};
|
|
31844
|
+
cookie?: never;
|
|
31845
|
+
};
|
|
31846
|
+
requestBody?: never;
|
|
31847
|
+
responses: {
|
|
31848
|
+
/** @description { "@odata.context": …, "value": [ { name, kind, url } ] } */
|
|
31849
|
+
200: {
|
|
31850
|
+
headers: {
|
|
31851
|
+
[name: string]: unknown;
|
|
31852
|
+
};
|
|
31853
|
+
content?: never;
|
|
31854
|
+
};
|
|
31855
|
+
/** @description No such package (OData error shape, not the node envelope) */
|
|
31856
|
+
404: {
|
|
31857
|
+
headers: {
|
|
31858
|
+
[name: string]: unknown;
|
|
31859
|
+
};
|
|
31860
|
+
content?: never;
|
|
31861
|
+
};
|
|
31862
|
+
};
|
|
31863
|
+
};
|
|
31864
|
+
odataMetadata: {
|
|
31865
|
+
parameters: {
|
|
31866
|
+
query?: {
|
|
31867
|
+
version?: string;
|
|
31868
|
+
};
|
|
31869
|
+
header?: never;
|
|
31870
|
+
path: {
|
|
31871
|
+
owner: string;
|
|
31872
|
+
name: string;
|
|
31873
|
+
};
|
|
31874
|
+
cookie?: never;
|
|
31875
|
+
};
|
|
31876
|
+
requestBody?: never;
|
|
31877
|
+
responses: {
|
|
31878
|
+
/** @description CSDL v4 XML */
|
|
31879
|
+
200: {
|
|
31880
|
+
headers: {
|
|
31881
|
+
[name: string]: unknown;
|
|
31882
|
+
};
|
|
31883
|
+
content: {
|
|
31884
|
+
"application/xml": string;
|
|
31885
|
+
};
|
|
31886
|
+
};
|
|
31887
|
+
/** @description No such package */
|
|
31888
|
+
404: {
|
|
31889
|
+
headers: {
|
|
31890
|
+
[name: string]: unknown;
|
|
31891
|
+
};
|
|
31892
|
+
content?: never;
|
|
31893
|
+
};
|
|
31894
|
+
};
|
|
31895
|
+
};
|
|
31896
|
+
odataEntitySet: {
|
|
31897
|
+
parameters: {
|
|
31898
|
+
query?: {
|
|
31899
|
+
version?: string;
|
|
31900
|
+
$select?: string;
|
|
31901
|
+
$top?: number;
|
|
31902
|
+
$skip?: number;
|
|
31903
|
+
$filter?: string;
|
|
31904
|
+
$orderby?: string;
|
|
31905
|
+
$count?: boolean;
|
|
31906
|
+
};
|
|
31907
|
+
header?: never;
|
|
31908
|
+
path: {
|
|
31909
|
+
owner: string;
|
|
31910
|
+
name: string;
|
|
31911
|
+
/** @description The entity set name from the service document. */
|
|
31912
|
+
resource: string;
|
|
31913
|
+
};
|
|
31914
|
+
cookie?: never;
|
|
31915
|
+
};
|
|
31916
|
+
requestBody?: never;
|
|
31917
|
+
responses: {
|
|
31918
|
+
/** @description { "@odata.context": …, "@odata.count": …, "value": [ … ] } */
|
|
31919
|
+
200: {
|
|
31920
|
+
headers: {
|
|
31921
|
+
[name: string]: unknown;
|
|
31922
|
+
};
|
|
31923
|
+
content?: never;
|
|
31924
|
+
};
|
|
31925
|
+
/** @description A named property does not exist, or an option is malformed */
|
|
31926
|
+
400: {
|
|
31927
|
+
headers: {
|
|
31928
|
+
[name: string]: unknown;
|
|
31929
|
+
};
|
|
31930
|
+
content?: never;
|
|
31931
|
+
};
|
|
31932
|
+
/** @description No such package, version or entity set */
|
|
31933
|
+
404: {
|
|
31934
|
+
headers: {
|
|
31935
|
+
[name: string]: unknown;
|
|
31936
|
+
};
|
|
31937
|
+
content?: never;
|
|
31938
|
+
};
|
|
31939
|
+
/** @description A query construct this feed does not implement — refused rather than ignored */
|
|
31940
|
+
501: {
|
|
31941
|
+
headers: {
|
|
31942
|
+
[name: string]: unknown;
|
|
31943
|
+
};
|
|
31944
|
+
content?: never;
|
|
31945
|
+
};
|
|
31946
|
+
};
|
|
31947
|
+
};
|
|
30511
31948
|
listStorage: {
|
|
30512
31949
|
parameters: {
|
|
30513
31950
|
query?: never;
|
|
@@ -30670,6 +32107,20 @@ export interface operations {
|
|
|
30670
32107
|
requestBody?: never;
|
|
30671
32108
|
responses: {
|
|
30672
32109
|
200: components["responses"]["AimeatSuccess"];
|
|
32110
|
+
/** @description Anonymous agent outside the `anonymous/` key prefix */
|
|
32111
|
+
403: {
|
|
32112
|
+
headers: {
|
|
32113
|
+
[name: string]: unknown;
|
|
32114
|
+
};
|
|
32115
|
+
content?: never;
|
|
32116
|
+
};
|
|
32117
|
+
/** @description No such file in the caller's own namespace */
|
|
32118
|
+
404: {
|
|
32119
|
+
headers: {
|
|
32120
|
+
[name: string]: unknown;
|
|
32121
|
+
};
|
|
32122
|
+
content?: never;
|
|
32123
|
+
};
|
|
30673
32124
|
};
|
|
30674
32125
|
};
|
|
30675
32126
|
fileMetadata: {
|
|
@@ -32228,7 +33679,7 @@ export interface operations {
|
|
|
32228
33679
|
};
|
|
32229
33680
|
requestBody?: never;
|
|
32230
33681
|
responses: {
|
|
32231
|
-
/** @description
|
|
33682
|
+
/** @description Node index */
|
|
32232
33683
|
200: {
|
|
32233
33684
|
headers: {
|
|
32234
33685
|
[name: string]: unknown;
|
|
@@ -35914,6 +37365,308 @@ export interface operations {
|
|
|
35914
37365
|
};
|
|
35915
37366
|
};
|
|
35916
37367
|
};
|
|
37368
|
+
captureAppScreenshot: {
|
|
37369
|
+
parameters: {
|
|
37370
|
+
query?: never;
|
|
37371
|
+
header?: never;
|
|
37372
|
+
path: {
|
|
37373
|
+
owner: string;
|
|
37374
|
+
filename: string;
|
|
37375
|
+
};
|
|
37376
|
+
cookie?: never;
|
|
37377
|
+
};
|
|
37378
|
+
requestBody?: never;
|
|
37379
|
+
responses: {
|
|
37380
|
+
/** @description The app was rendered and the screenshot stored */
|
|
37381
|
+
200: {
|
|
37382
|
+
headers: {
|
|
37383
|
+
[name: string]: unknown;
|
|
37384
|
+
};
|
|
37385
|
+
content: {
|
|
37386
|
+
"application/json": components["schemas"]["AimeatEnvelope"] & {
|
|
37387
|
+
data?: {
|
|
37388
|
+
filename?: string;
|
|
37389
|
+
captured?: boolean;
|
|
37390
|
+
/** @description JPEG size in bytes */
|
|
37391
|
+
size?: number;
|
|
37392
|
+
screenshot_url?: string;
|
|
37393
|
+
};
|
|
37394
|
+
};
|
|
37395
|
+
};
|
|
37396
|
+
};
|
|
37397
|
+
401: components["responses"]["Unauthorized"];
|
|
37398
|
+
/** @description Not your app */
|
|
37399
|
+
403: {
|
|
37400
|
+
headers: {
|
|
37401
|
+
[name: string]: unknown;
|
|
37402
|
+
};
|
|
37403
|
+
content?: never;
|
|
37404
|
+
};
|
|
37405
|
+
/** @description No published app by that name */
|
|
37406
|
+
404: {
|
|
37407
|
+
headers: {
|
|
37408
|
+
[name: string]: unknown;
|
|
37409
|
+
};
|
|
37410
|
+
content?: never;
|
|
37411
|
+
};
|
|
37412
|
+
/** @description RATE_LIMITED - the owner's hourly render allowance is used up */
|
|
37413
|
+
429: {
|
|
37414
|
+
headers: {
|
|
37415
|
+
[name: string]: unknown;
|
|
37416
|
+
};
|
|
37417
|
+
content?: never;
|
|
37418
|
+
};
|
|
37419
|
+
/** @description RENDER_FAILED - the page did not render; the message carries the reason */
|
|
37420
|
+
502: {
|
|
37421
|
+
headers: {
|
|
37422
|
+
[name: string]: unknown;
|
|
37423
|
+
};
|
|
37424
|
+
content?: never;
|
|
37425
|
+
};
|
|
37426
|
+
/** @description NO_BROWSER - this node has no usable browser to render with */
|
|
37427
|
+
503: {
|
|
37428
|
+
headers: {
|
|
37429
|
+
[name: string]: unknown;
|
|
37430
|
+
};
|
|
37431
|
+
content?: never;
|
|
37432
|
+
};
|
|
37433
|
+
};
|
|
37434
|
+
};
|
|
37435
|
+
writeAppDraft: {
|
|
37436
|
+
parameters: {
|
|
37437
|
+
query?: never;
|
|
37438
|
+
header?: never;
|
|
37439
|
+
path: {
|
|
37440
|
+
owner: string;
|
|
37441
|
+
filename: string;
|
|
37442
|
+
};
|
|
37443
|
+
cookie?: never;
|
|
37444
|
+
};
|
|
37445
|
+
requestBody: {
|
|
37446
|
+
content: {
|
|
37447
|
+
"application/json": {
|
|
37448
|
+
/** @description The text to write. Plain UTF-8, not base64. */
|
|
37449
|
+
content: string;
|
|
37450
|
+
/**
|
|
37451
|
+
* @default append
|
|
37452
|
+
* @enum {string}
|
|
37453
|
+
*/
|
|
37454
|
+
mode?: "append" | "replace";
|
|
37455
|
+
/** @description Refuse unless the draft currently has exactly this many bytes. */
|
|
37456
|
+
expected_size_bytes?: number;
|
|
37457
|
+
/** @description Display name; defaults from the live app, or from the draft once set. */
|
|
37458
|
+
name?: string;
|
|
37459
|
+
description?: string;
|
|
37460
|
+
};
|
|
37461
|
+
};
|
|
37462
|
+
};
|
|
37463
|
+
responses: {
|
|
37464
|
+
/** @description The piece was written */
|
|
37465
|
+
200: {
|
|
37466
|
+
headers: {
|
|
37467
|
+
[name: string]: unknown;
|
|
37468
|
+
};
|
|
37469
|
+
content: {
|
|
37470
|
+
"application/json": components["schemas"]["AimeatEnvelope"] & {
|
|
37471
|
+
data?: {
|
|
37472
|
+
filename?: string;
|
|
37473
|
+
mode?: string;
|
|
37474
|
+
size?: number;
|
|
37475
|
+
/** Format: date-time */
|
|
37476
|
+
updated_at?: string;
|
|
37477
|
+
has_live_version?: boolean;
|
|
37478
|
+
live_version_number?: number;
|
|
37479
|
+
};
|
|
37480
|
+
};
|
|
37481
|
+
};
|
|
37482
|
+
};
|
|
37483
|
+
400: components["responses"]["BadRequest"];
|
|
37484
|
+
401: components["responses"]["Unauthorized"];
|
|
37485
|
+
/** @description DRAFT_CHANGED - the draft is not the size the caller expected; nothing was written */
|
|
37486
|
+
409: {
|
|
37487
|
+
headers: {
|
|
37488
|
+
[name: string]: unknown;
|
|
37489
|
+
};
|
|
37490
|
+
content?: never;
|
|
37491
|
+
};
|
|
37492
|
+
/** @description TOO_LARGE - the write would exceed the node's app size ceiling; nothing was written */
|
|
37493
|
+
413: {
|
|
37494
|
+
headers: {
|
|
37495
|
+
[name: string]: unknown;
|
|
37496
|
+
};
|
|
37497
|
+
content?: never;
|
|
37498
|
+
};
|
|
37499
|
+
};
|
|
37500
|
+
};
|
|
37501
|
+
replaceInAppDraft: {
|
|
37502
|
+
parameters: {
|
|
37503
|
+
query?: never;
|
|
37504
|
+
header?: never;
|
|
37505
|
+
path: {
|
|
37506
|
+
owner: string;
|
|
37507
|
+
filename: string;
|
|
37508
|
+
};
|
|
37509
|
+
cookie?: never;
|
|
37510
|
+
};
|
|
37511
|
+
requestBody: {
|
|
37512
|
+
content: {
|
|
37513
|
+
"application/json": {
|
|
37514
|
+
/** @description The exact text to replace, including indentation. */
|
|
37515
|
+
old_string: string;
|
|
37516
|
+
new_string: string;
|
|
37517
|
+
/** @default false */
|
|
37518
|
+
replace_all?: boolean;
|
|
37519
|
+
};
|
|
37520
|
+
};
|
|
37521
|
+
};
|
|
37522
|
+
responses: {
|
|
37523
|
+
/** @description The replacement was made */
|
|
37524
|
+
200: {
|
|
37525
|
+
headers: {
|
|
37526
|
+
[name: string]: unknown;
|
|
37527
|
+
};
|
|
37528
|
+
content: {
|
|
37529
|
+
"application/json": components["schemas"]["AimeatEnvelope"] & {
|
|
37530
|
+
data?: {
|
|
37531
|
+
filename?: string;
|
|
37532
|
+
replacements?: number;
|
|
37533
|
+
size?: number;
|
|
37534
|
+
/** Format: date-time */
|
|
37535
|
+
updated_at?: string;
|
|
37536
|
+
};
|
|
37537
|
+
};
|
|
37538
|
+
};
|
|
37539
|
+
};
|
|
37540
|
+
400: components["responses"]["BadRequest"];
|
|
37541
|
+
401: components["responses"]["Unauthorized"];
|
|
37542
|
+
/** @description NO_DRAFT, or NOT_FOUND when old_string does not appear in the draft */
|
|
37543
|
+
404: {
|
|
37544
|
+
headers: {
|
|
37545
|
+
[name: string]: unknown;
|
|
37546
|
+
};
|
|
37547
|
+
content?: never;
|
|
37548
|
+
};
|
|
37549
|
+
/** @description NOT_UNIQUE - old_string appears more than once and replace_all was not set */
|
|
37550
|
+
409: {
|
|
37551
|
+
headers: {
|
|
37552
|
+
[name: string]: unknown;
|
|
37553
|
+
};
|
|
37554
|
+
content?: never;
|
|
37555
|
+
};
|
|
37556
|
+
};
|
|
37557
|
+
};
|
|
37558
|
+
readAppDraftLines: {
|
|
37559
|
+
parameters: {
|
|
37560
|
+
query?: {
|
|
37561
|
+
/** @description First line to return, 1-based. */
|
|
37562
|
+
offset?: number;
|
|
37563
|
+
limit?: number;
|
|
37564
|
+
};
|
|
37565
|
+
header?: never;
|
|
37566
|
+
path: {
|
|
37567
|
+
owner: string;
|
|
37568
|
+
filename: string;
|
|
37569
|
+
};
|
|
37570
|
+
cookie?: never;
|
|
37571
|
+
};
|
|
37572
|
+
requestBody?: never;
|
|
37573
|
+
responses: {
|
|
37574
|
+
/** @description The requested range */
|
|
37575
|
+
200: {
|
|
37576
|
+
headers: {
|
|
37577
|
+
[name: string]: unknown;
|
|
37578
|
+
};
|
|
37579
|
+
content: {
|
|
37580
|
+
"application/json": components["schemas"]["AimeatEnvelope"] & {
|
|
37581
|
+
data?: {
|
|
37582
|
+
filename?: string;
|
|
37583
|
+
size?: number;
|
|
37584
|
+
total_lines?: number;
|
|
37585
|
+
from_line?: number;
|
|
37586
|
+
to_line?: number;
|
|
37587
|
+
has_more?: boolean;
|
|
37588
|
+
mime_type?: string;
|
|
37589
|
+
/** Format: date-time */
|
|
37590
|
+
updated_at?: string;
|
|
37591
|
+
content?: string;
|
|
37592
|
+
};
|
|
37593
|
+
};
|
|
37594
|
+
};
|
|
37595
|
+
};
|
|
37596
|
+
/** @description INVALID_RANGE - offset is 1-based and limit is at least 1 */
|
|
37597
|
+
400: {
|
|
37598
|
+
headers: {
|
|
37599
|
+
[name: string]: unknown;
|
|
37600
|
+
};
|
|
37601
|
+
content?: never;
|
|
37602
|
+
};
|
|
37603
|
+
401: components["responses"]["Unauthorized"];
|
|
37604
|
+
/** @description NO_DRAFT - nothing is staged for this app */
|
|
37605
|
+
404: {
|
|
37606
|
+
headers: {
|
|
37607
|
+
[name: string]: unknown;
|
|
37608
|
+
};
|
|
37609
|
+
content?: never;
|
|
37610
|
+
};
|
|
37611
|
+
};
|
|
37612
|
+
};
|
|
37613
|
+
seedAppDraft: {
|
|
37614
|
+
parameters: {
|
|
37615
|
+
query?: never;
|
|
37616
|
+
header?: never;
|
|
37617
|
+
path: {
|
|
37618
|
+
owner: string;
|
|
37619
|
+
/** @description The draft slot to write into. */
|
|
37620
|
+
filename: string;
|
|
37621
|
+
};
|
|
37622
|
+
cookie?: never;
|
|
37623
|
+
};
|
|
37624
|
+
requestBody?: {
|
|
37625
|
+
content: {
|
|
37626
|
+
"application/json": {
|
|
37627
|
+
/** @description The published app to copy from. Defaults to filename. */
|
|
37628
|
+
from_filename?: string;
|
|
37629
|
+
/** @description Which published version. Defaults to the newest. */
|
|
37630
|
+
version?: number;
|
|
37631
|
+
};
|
|
37632
|
+
};
|
|
37633
|
+
};
|
|
37634
|
+
responses: {
|
|
37635
|
+
/** @description The published source is now in the draft slot */
|
|
37636
|
+
200: {
|
|
37637
|
+
headers: {
|
|
37638
|
+
[name: string]: unknown;
|
|
37639
|
+
};
|
|
37640
|
+
content: {
|
|
37641
|
+
"application/json": components["schemas"]["AimeatEnvelope"] & {
|
|
37642
|
+
data?: {
|
|
37643
|
+
filename?: string;
|
|
37644
|
+
seeded_from?: string;
|
|
37645
|
+
seeded_version?: number;
|
|
37646
|
+
size?: number;
|
|
37647
|
+
/** Format: date-time */
|
|
37648
|
+
updated_at?: string;
|
|
37649
|
+
};
|
|
37650
|
+
};
|
|
37651
|
+
};
|
|
37652
|
+
};
|
|
37653
|
+
401: components["responses"]["Unauthorized"];
|
|
37654
|
+
/** @description NOT_FOUND - no published app, or no such version, to copy from */
|
|
37655
|
+
404: {
|
|
37656
|
+
headers: {
|
|
37657
|
+
[name: string]: unknown;
|
|
37658
|
+
};
|
|
37659
|
+
content?: never;
|
|
37660
|
+
};
|
|
37661
|
+
/** @description TOO_LARGE - the published app exceeds the node's current app size ceiling */
|
|
37662
|
+
413: {
|
|
37663
|
+
headers: {
|
|
37664
|
+
[name: string]: unknown;
|
|
37665
|
+
};
|
|
37666
|
+
content?: never;
|
|
37667
|
+
};
|
|
37668
|
+
};
|
|
37669
|
+
};
|
|
35917
37670
|
mintAppDraftPreviewToken: {
|
|
35918
37671
|
parameters: {
|
|
35919
37672
|
query?: never;
|
|
@@ -44121,21 +45874,6 @@ export interface operations {
|
|
|
44121
45874
|
404: components["responses"]["NotFound"];
|
|
44122
45875
|
};
|
|
44123
45876
|
};
|
|
44124
|
-
listOrganismOwners: {
|
|
44125
|
-
parameters: {
|
|
44126
|
-
query?: never;
|
|
44127
|
-
header?: never;
|
|
44128
|
-
path: {
|
|
44129
|
-
id: string;
|
|
44130
|
-
};
|
|
44131
|
-
cookie?: never;
|
|
44132
|
-
};
|
|
44133
|
-
requestBody?: never;
|
|
44134
|
-
responses: {
|
|
44135
|
-
200: components["responses"]["AimeatSuccess"];
|
|
44136
|
-
404: components["responses"]["NotFound"];
|
|
44137
|
-
};
|
|
44138
|
-
};
|
|
44139
45877
|
addOrganismOwner: {
|
|
44140
45878
|
parameters: {
|
|
44141
45879
|
query?: never;
|
|
@@ -47619,7 +49357,8 @@ export interface operations {
|
|
|
47619
49357
|
/** @description Primary task instructions. The agent crew reads this field as its prompt. */
|
|
47620
49358
|
description?: string;
|
|
47621
49359
|
/**
|
|
47622
|
-
* @
|
|
49360
|
+
* @description queued means the agent can see it; draft holds it for your review and is released later with POST .../{id}/queue.
|
|
49361
|
+
* @default queued
|
|
47623
49362
|
* @enum {string}
|
|
47624
49363
|
*/
|
|
47625
49364
|
status?: "draft" | "queued";
|
|
@@ -47839,6 +49578,39 @@ export interface operations {
|
|
|
47839
49578
|
409: components["responses"]["Conflict"];
|
|
47840
49579
|
};
|
|
47841
49580
|
};
|
|
49581
|
+
queueAgentTask: {
|
|
49582
|
+
parameters: {
|
|
49583
|
+
query?: never;
|
|
49584
|
+
header?: never;
|
|
49585
|
+
path: {
|
|
49586
|
+
name: string;
|
|
49587
|
+
id: string;
|
|
49588
|
+
};
|
|
49589
|
+
cookie?: never;
|
|
49590
|
+
};
|
|
49591
|
+
requestBody?: never;
|
|
49592
|
+
responses: {
|
|
49593
|
+
/** @description Draft released */
|
|
49594
|
+
200: {
|
|
49595
|
+
headers: {
|
|
49596
|
+
[name: string]: unknown;
|
|
49597
|
+
};
|
|
49598
|
+
content: {
|
|
49599
|
+
"application/json": components["schemas"]["AimeatEnvelope"] & {
|
|
49600
|
+
data?: {
|
|
49601
|
+
task?: components["schemas"]["AgentTask"];
|
|
49602
|
+
/** @description The target agent is a task-runner, so the task is already active. */
|
|
49603
|
+
auto_activated?: boolean;
|
|
49604
|
+
};
|
|
49605
|
+
};
|
|
49606
|
+
};
|
|
49607
|
+
};
|
|
49608
|
+
401: components["responses"]["Unauthorized"];
|
|
49609
|
+
403: components["responses"]["Forbidden"];
|
|
49610
|
+
404: components["responses"]["NotFound"];
|
|
49611
|
+
409: components["responses"]["Conflict"];
|
|
49612
|
+
};
|
|
49613
|
+
};
|
|
47842
49614
|
startAgentTask: {
|
|
47843
49615
|
parameters: {
|
|
47844
49616
|
query?: never;
|