aimeat 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/locales/en.json +35 -1
- package/dist/locales/fi.json +35 -1
- package/dist/public/components/LinkPreview.js +101 -0
- package/dist/public/components/NotificationBell.js +18 -1
- package/dist/public/css/theme.css +57 -7
- package/dist/public/css/views/admin.css +8 -1
- package/dist/public/css/views/app-grant.css +18 -0
- package/dist/public/css/views/inbox.css +46 -0
- package/dist/public/css/views/portfolio.css +46 -0
- package/dist/public/css/views/profile.css +29 -4
- package/dist/public/js/services/apps.js +19 -3
- package/dist/public/js/services/messages-ai-prompts.js +38 -0
- package/dist/public/js/services/messages.js +26 -4
- package/dist/public/js/services/notebook.js +76 -0
- package/dist/public/js/services/unfurl.js +43 -0
- package/dist/public/lib/samples/LICENSE.md +11 -0
- package/dist/public/lib/samples/bass/A1.mp3 +0 -0
- package/dist/public/lib/samples/bass/B2.mp3 +0 -0
- package/dist/public/lib/samples/bass/D2.mp3 +0 -0
- package/dist/public/lib/samples/bass/E1.mp3 +0 -0
- package/dist/public/lib/samples/bass/E3.mp3 +0 -0
- package/dist/public/lib/samples/bass/G2.mp3 +0 -0
- package/dist/public/lib/samples/epiano/C2.mp3 +0 -0
- package/dist/public/lib/samples/epiano/C3.mp3 +0 -0
- package/dist/public/lib/samples/epiano/C4.mp3 +0 -0
- package/dist/public/lib/samples/epiano/C5.mp3 +0 -0
- package/dist/public/lib/samples/epiano/C6.mp3 +0 -0
- package/dist/public/lib/samples/epiano/G2.mp3 +0 -0
- package/dist/public/lib/samples/epiano/G3.mp3 +0 -0
- package/dist/public/lib/samples/epiano/G4.mp3 +0 -0
- package/dist/public/lib/samples/epiano/G5.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/A2.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/A4.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/B3.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/D3.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/E2.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/E4.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/E5.mp3 +0 -0
- package/dist/public/lib/samples/guitar-steel/G3.mp3 +0 -0
- package/dist/public/lib/samples/organ/C2.mp3 +0 -0
- package/dist/public/lib/samples/organ/C3.mp3 +0 -0
- package/dist/public/lib/samples/organ/C4.mp3 +0 -0
- package/dist/public/lib/samples/organ/C5.mp3 +0 -0
- package/dist/public/lib/samples/organ/C6.mp3 +0 -0
- package/dist/public/lib/samples/organ/G2.mp3 +0 -0
- package/dist/public/lib/samples/organ/G3.mp3 +0 -0
- package/dist/public/lib/samples/organ/G4.mp3 +0 -0
- package/dist/public/lib/samples/organ/G5.mp3 +0 -0
- package/dist/public/lib/samples/strings/C2.mp3 +0 -0
- package/dist/public/lib/samples/strings/C3.mp3 +0 -0
- package/dist/public/lib/samples/strings/C4.mp3 +0 -0
- package/dist/public/lib/samples/strings/C5.mp3 +0 -0
- package/dist/public/lib/samples/strings/C6.mp3 +0 -0
- package/dist/public/lib/samples/strings/G2.mp3 +0 -0
- package/dist/public/lib/samples/strings/G3.mp3 +0 -0
- package/dist/public/lib/samples/strings/G4.mp3 +0 -0
- package/dist/public/lib/samples/strings/G5.mp3 +0 -0
- package/dist/public/lib/samples/trumpet/A3.mp3 +0 -0
- package/dist/public/lib/samples/trumpet/A4.mp3 +0 -0
- package/dist/public/lib/samples/trumpet/A5.mp3 +0 -0
- package/dist/public/lib/samples/trumpet/C4.mp3 +0 -0
- package/dist/public/lib/samples/trumpet/C5.mp3 +0 -0
- package/dist/public/lib/samples/trumpet/E3.mp3 +0 -0
- package/dist/public/lib/samples/trumpet/E4.mp3 +0 -0
- package/dist/public/lib/samples/trumpet/E5.mp3 +0 -0
- package/dist/public/spa.html +2 -0
- package/dist/public/views/app-grant.js +24 -4
- package/dist/public/views/portfolio.js +61 -6
- package/dist/public/views/profile/apps-tab.js +18 -1
- package/dist/public/views/profile/inbox-tab/ai-actions.js +86 -0
- package/dist/public/views/profile/inbox-tab/components.js +124 -9
- package/dist/public/views/profile/inbox-tab/helpers.js +26 -0
- package/dist/public/views/profile/inbox-tab/panels.js +18 -3
- package/dist/public/views/profile/inbox-tab/use-thread-ux.js +18 -1
- package/dist/public/views/profile/inbox-tab.js +46 -49
- package/dist/public/views/profile/landing-page.cards.js +7 -0
- package/dist/public/views/profile/landing-page.js +12 -1
- package/dist/public/views/profile/skills-tab.js +1 -1
- package/dist/public/views/public-workspace-viewer.js +1 -1
- package/dist/public/views/start.js +2 -1
- package/dist/scripts/build-sdk-libs.d.ts +16 -0
- package/dist/scripts/build-sdk-libs.d.ts.map +1 -0
- package/dist/scripts/build-sdk-libs.js +112 -0
- package/dist/scripts/build-sdk-libs.js.map +1 -0
- package/dist/src/cli/connect/auth.d.ts +15 -0
- package/dist/src/cli/connect/auth.d.ts.map +1 -1
- package/dist/src/cli/connect/auth.js +25 -6
- package/dist/src/cli/connect/auth.js.map +1 -1
- package/dist/src/cli/connect/keychain.d.ts +9 -0
- package/dist/src/cli/connect/keychain.d.ts.map +1 -1
- package/dist/src/cli/connect/keychain.js +21 -8
- package/dist/src/cli/connect/keychain.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/exchange.d.ts +18 -0
- package/dist/src/cli/connect/mcp/tools/exchange.d.ts.map +1 -0
- package/dist/src/cli/connect/mcp/tools/exchange.js +170 -0
- package/dist/src/cli/connect/mcp/tools/exchange.js.map +1 -0
- package/dist/src/cli/connect/mcp/tools/index.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/index.js +2 -0
- package/dist/src/cli/connect/mcp/tools/index.js.map +1 -1
- package/dist/src/cli/connect/tool-call-defs-exchange.d.ts +3 -0
- package/dist/src/cli/connect/tool-call-defs-exchange.d.ts.map +1 -0
- package/dist/src/cli/connect/tool-call-defs-exchange.js +146 -0
- package/dist/src/cli/connect/tool-call-defs-exchange.js.map +1 -0
- package/dist/src/cli/connect/tool-call.d.ts.map +1 -1
- package/dist/src/cli/connect/tool-call.js +2 -0
- package/dist/src/cli/connect/tool-call.js.map +1 -1
- package/dist/src/commerce/session-service.d.ts +14 -0
- package/dist/src/commerce/session-service.d.ts.map +1 -1
- package/dist/src/commerce/session-service.js +1 -1
- package/dist/src/commerce/session-service.js.map +1 -1
- package/dist/src/data/app-templates/shells.d.ts +7 -3
- package/dist/src/data/app-templates/shells.d.ts.map +1 -1
- package/dist/src/data/app-templates/shells.js +10 -6
- package/dist/src/data/app-templates/shells.js.map +1 -1
- package/dist/src/data/appdev-pitfalls.d.ts +2 -0
- package/dist/src/data/appdev-pitfalls.d.ts.map +1 -1
- package/dist/src/data/appdev-pitfalls.js +24 -1
- package/dist/src/data/appdev-pitfalls.js.map +1 -1
- package/dist/src/generated/api-types.d.ts +1565 -9
- package/dist/src/generated/api-types.d.ts.map +1 -1
- package/dist/src/mcp/annotations.d.ts.map +1 -1
- package/dist/src/mcp/annotations.js +20 -0
- package/dist/src/mcp/annotations.js.map +1 -1
- package/dist/src/mcp/apps.d.ts.map +1 -1
- package/dist/src/mcp/apps.js +8 -4
- package/dist/src/mcp/apps.js.map +1 -1
- package/dist/src/mcp/catalog/definitions/exchange.d.ts +18 -0
- package/dist/src/mcp/catalog/definitions/exchange.d.ts.map +1 -0
- package/dist/src/mcp/catalog/definitions/exchange.js +182 -0
- package/dist/src/mcp/catalog/definitions/exchange.js.map +1 -0
- package/dist/src/mcp/catalog/definitions.d.ts.map +1 -1
- package/dist/src/mcp/catalog/definitions.js +2 -0
- package/dist/src/mcp/catalog/definitions.js.map +1 -1
- package/dist/src/mcp/catalog/scopes.d.ts.map +1 -1
- package/dist/src/mcp/catalog/scopes.js +22 -0
- package/dist/src/mcp/catalog/scopes.js.map +1 -1
- package/dist/src/mcp/catalog/surfaces.d.ts.map +1 -1
- package/dist/src/mcp/catalog/surfaces.js +14 -0
- package/dist/src/mcp/catalog/surfaces.js.map +1 -1
- package/dist/src/mcp/exchange-run.d.ts +5 -0
- package/dist/src/mcp/exchange-run.d.ts.map +1 -0
- package/dist/src/mcp/exchange-run.js +226 -0
- package/dist/src/mcp/exchange-run.js.map +1 -0
- package/dist/src/mcp/exchange.d.ts +5 -0
- package/dist/src/mcp/exchange.d.ts.map +1 -0
- package/dist/src/mcp/exchange.js +351 -0
- package/dist/src/mcp/exchange.js.map +1 -0
- package/dist/src/mcp/extensions.d.ts.map +1 -1
- package/dist/src/mcp/extensions.js +11 -0
- package/dist/src/mcp/extensions.js.map +1 -1
- package/dist/src/mcp/index.d.ts.map +1 -1
- package/dist/src/mcp/index.js +6 -2
- package/dist/src/mcp/index.js.map +1 -1
- package/dist/src/models/app-tool-schemas.d.ts +55 -1
- package/dist/src/models/app-tool-schemas.d.ts.map +1 -1
- package/dist/src/models/app-tool-schemas.js +20 -1
- package/dist/src/models/app-tool-schemas.js.map +1 -1
- package/dist/src/models/offer-schemas.d.ts +2 -2
- package/dist/src/models/schemas.d.ts +1 -0
- package/dist/src/models/schemas.d.ts.map +1 -1
- package/dist/src/models/schemas.js +3 -0
- package/dist/src/models/schemas.js.map +1 -1
- package/dist/src/routes/agents/device-auth.d.ts +4 -0
- package/dist/src/routes/agents/device-auth.d.ts.map +1 -1
- package/dist/src/routes/agents/device-auth.js +19 -4
- package/dist/src/routes/agents/device-auth.js.map +1 -1
- package/dist/src/routes/app-grants.d.ts +6 -0
- package/dist/src/routes/app-grants.d.ts.map +1 -1
- package/dist/src/routes/app-grants.js +35 -2
- package/dist/src/routes/app-grants.js.map +1 -1
- package/dist/src/routes/apps/fork-manage.d.ts.map +1 -1
- package/dist/src/routes/apps/fork-manage.js +24 -1
- package/dist/src/routes/apps/fork-manage.js.map +1 -1
- package/dist/src/routes/apps/publish.d.ts +2 -0
- package/dist/src/routes/apps/publish.d.ts.map +1 -1
- package/dist/src/routes/apps/publish.js +27 -1
- package/dist/src/routes/apps/publish.js.map +1 -1
- package/dist/src/routes/apps-cost.d.ts +25 -0
- package/dist/src/routes/apps-cost.d.ts.map +1 -0
- package/dist/src/routes/apps-cost.js +107 -0
- package/dist/src/routes/apps-cost.js.map +1 -0
- package/dist/src/routes/exchange-market.d.ts +28 -0
- package/dist/src/routes/exchange-market.d.ts.map +1 -0
- package/dist/src/routes/exchange-market.js +454 -0
- package/dist/src/routes/exchange-market.js.map +1 -0
- package/dist/src/routes/exchange.d.ts +33 -0
- package/dist/src/routes/exchange.d.ts.map +1 -0
- package/dist/src/routes/exchange.js +395 -0
- package/dist/src/routes/exchange.js.map +1 -0
- package/dist/src/routes/extensions/entitlement-gate.d.ts +33 -0
- package/dist/src/routes/extensions/entitlement-gate.d.ts.map +1 -0
- package/dist/src/routes/extensions/entitlement-gate.js +143 -0
- package/dist/src/routes/extensions/entitlement-gate.js.map +1 -0
- package/dist/src/routes/extensions/manifest.d.ts +9 -0
- package/dist/src/routes/extensions/manifest.d.ts.map +1 -1
- package/dist/src/routes/extensions/manifest.js +33 -1
- package/dist/src/routes/extensions/manifest.js.map +1 -1
- package/dist/src/routes/extensions/paywall.d.ts.map +1 -1
- package/dist/src/routes/extensions/paywall.js +9 -0
- package/dist/src/routes/extensions/paywall.js.map +1 -1
- package/dist/src/routes/federation-sync/messaging.d.ts.map +1 -1
- package/dist/src/routes/federation-sync/messaging.js +3 -1
- package/dist/src/routes/federation-sync/messaging.js.map +1 -1
- package/dist/src/routes/ghii/recovery.d.ts +2 -0
- package/dist/src/routes/ghii/recovery.d.ts.map +1 -1
- package/dist/src/routes/ghii/recovery.js +7 -0
- package/dist/src/routes/ghii/recovery.js.map +1 -1
- package/dist/src/routes/ghii/register-login.d.ts +4 -0
- package/dist/src/routes/ghii/register-login.d.ts.map +1 -1
- package/dist/src/routes/ghii/register-login.js +45 -22
- package/dist/src/routes/ghii/register-login.js.map +1 -1
- package/dist/src/routes/ghii/web-verify.d.ts +5 -0
- package/dist/src/routes/ghii/web-verify.d.ts.map +1 -1
- package/dist/src/routes/ghii/web-verify.js +24 -3
- package/dist/src/routes/ghii/web-verify.js.map +1 -1
- package/dist/src/routes/libs/sdk-serve.d.ts +11 -0
- package/dist/src/routes/libs/sdk-serve.d.ts.map +1 -0
- package/dist/src/routes/libs/sdk-serve.js +53 -0
- package/dist/src/routes/libs/sdk-serve.js.map +1 -0
- package/dist/src/routes/libs.d.ts +7 -1
- package/dist/src/routes/libs.d.ts.map +1 -1
- package/dist/src/routes/libs.js +65 -146
- package/dist/src/routes/libs.js.map +1 -1
- package/dist/src/routes/messages.d.ts +3 -0
- package/dist/src/routes/messages.d.ts.map +1 -1
- package/dist/src/routes/messages.js +9 -0
- package/dist/src/routes/messages.js.map +1 -1
- package/dist/src/routes/notifications.d.ts +6 -3
- package/dist/src/routes/notifications.d.ts.map +1 -1
- package/dist/src/routes/notifications.js +32 -3
- package/dist/src/routes/notifications.js.map +1 -1
- package/dist/src/routes/organisms/workspace-access.d.ts.map +1 -1
- package/dist/src/routes/organisms/workspace-access.js +38 -20
- package/dist/src/routes/organisms/workspace-access.js.map +1 -1
- package/dist/src/routes/unfurl.d.ts +27 -0
- package/dist/src/routes/unfurl.d.ts.map +1 -0
- package/dist/src/routes/unfurl.js +180 -0
- package/dist/src/routes/unfurl.js.map +1 -0
- package/dist/src/routes/upload.d.ts +2 -0
- package/dist/src/routes/upload.d.ts.map +1 -1
- package/dist/src/routes/upload.js +7 -0
- package/dist/src/routes/upload.js.map +1 -1
- package/dist/src/routes/webmcp.d.ts +3 -0
- package/dist/src/routes/webmcp.d.ts.map +1 -1
- package/dist/src/routes/webmcp.js +55 -0
- package/dist/src/routes/webmcp.js.map +1 -1
- package/dist/src/server-bootstrap/routes-loader.d.ts +1 -0
- package/dist/src/server-bootstrap/routes-loader.d.ts.map +1 -1
- package/dist/src/server-bootstrap/routes-loader.js +8 -0
- package/dist/src/server-bootstrap/routes-loader.js.map +1 -1
- package/dist/src/services/agent-face.d.ts +10 -2
- package/dist/src/services/agent-face.d.ts.map +1 -1
- package/dist/src/services/agent-face.js +10 -4
- package/dist/src/services/agent-face.js.map +1 -1
- package/dist/src/services/app-tool-interfaces.d.ts +37 -0
- package/dist/src/services/app-tool-interfaces.d.ts.map +1 -0
- package/dist/src/services/app-tool-interfaces.js +101 -0
- package/dist/src/services/app-tool-interfaces.js.map +1 -0
- package/dist/src/services/build-app-prompt.d.ts +3 -0
- package/dist/src/services/build-app-prompt.d.ts.map +1 -1
- package/dist/src/services/build-app-prompt.js +12 -1
- package/dist/src/services/build-app-prompt.js.map +1 -1
- package/dist/src/services/contacts.d.ts +25 -1
- package/dist/src/services/contacts.d.ts.map +1 -1
- package/dist/src/services/contacts.js +30 -0
- package/dist/src/services/contacts.js.map +1 -1
- package/dist/src/services/entitlement-money.d.ts +55 -0
- package/dist/src/services/entitlement-money.d.ts.map +1 -0
- package/dist/src/services/entitlement-money.js +68 -0
- package/dist/src/services/entitlement-money.js.map +1 -0
- package/dist/src/services/exchange-market.d.ts +247 -0
- package/dist/src/services/exchange-market.d.ts.map +1 -0
- package/dist/src/services/exchange-market.js +254 -0
- package/dist/src/services/exchange-market.js.map +1 -0
- package/dist/src/services/exchange-proposals.d.ts +47 -0
- package/dist/src/services/exchange-proposals.d.ts.map +1 -0
- package/dist/src/services/exchange-proposals.js +71 -0
- package/dist/src/services/exchange-proposals.js.map +1 -0
- package/dist/src/services/exchange-work.d.ts +30 -0
- package/dist/src/services/exchange-work.d.ts.map +1 -0
- package/dist/src/services/exchange-work.js +43 -0
- package/dist/src/services/exchange-work.js.map +1 -0
- package/dist/src/services/message-send.d.ts.map +1 -1
- package/dist/src/services/message-send.js +4 -1
- package/dist/src/services/message-send.js.map +1 -1
- package/dist/src/services/metered-entitlements.d.ts +203 -0
- package/dist/src/services/metered-entitlements.d.ts.map +1 -0
- package/dist/src/services/metered-entitlements.js +264 -0
- package/dist/src/services/metered-entitlements.js.map +1 -0
- package/dist/src/services/notify.d.ts +7 -0
- package/dist/src/services/notify.d.ts.map +1 -1
- package/dist/src/services/notify.js +35 -0
- package/dist/src/services/notify.js.map +1 -1
- package/dist/src/services/owner-memory.d.ts +16 -0
- package/dist/src/services/owner-memory.d.ts.map +1 -1
- package/dist/src/services/owner-memory.js +23 -0
- package/dist/src/services/owner-memory.js.map +1 -1
- package/dist/src/services/owner-provisioning.d.ts +5 -0
- package/dist/src/services/owner-provisioning.d.ts.map +1 -1
- package/dist/src/services/owner-provisioning.js +20 -2
- package/dist/src/services/owner-provisioning.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/apps.d.ts +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/apps.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/apps.js +2 -0
- package/dist/src/storage/providers/postgres-kysely/methods/apps.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/identity.d.ts +1 -0
- package/dist/src/storage/providers/postgres-kysely/methods/identity.d.ts.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/methods/identity.js +4 -0
- package/dist/src/storage/providers/postgres-kysely/methods/identity.js.map +1 -1
- package/dist/src/storage/providers/postgres-kysely/migrations/0011_unique_verified_email.sql +25 -0
- 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 +2 -0
- package/dist/src/storage/providers/sqlite/methods/apps.js.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/identity-nodes.d.ts +1 -0
- package/dist/src/storage/providers/sqlite/methods/identity-nodes.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/methods/identity-nodes.js +4 -0
- package/dist/src/storage/providers/sqlite/methods/identity-nodes.js.map +1 -1
- package/dist/src/storage/providers/sqlite/schema.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/schema.js +20 -0
- package/dist/src/storage/providers/sqlite/schema.js.map +1 -1
- package/dist/src/storage/repositories/app.repository.d.ts +0 -0
- package/dist/src/storage/repositories/app.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/identity.repository.d.ts +6 -0
- package/dist/src/storage/repositories/identity.repository.d.ts.map +1 -1
- package/dist/src/storage/types/apps.d.ts +1 -0
- package/dist/src/storage/types/apps.d.ts.map +1 -1
- package/dist/src/storage/types/organisms-federation.d.ts +21 -0
- package/dist/src/storage/types/organisms-federation.d.ts.map +1 -1
- package/dist/src/utils/app-mobile-lint.d.ts +17 -0
- package/dist/src/utils/app-mobile-lint.d.ts.map +1 -0
- package/dist/src/utils/app-mobile-lint.js +40 -0
- package/dist/src/utils/app-mobile-lint.js.map +1 -0
- package/dist/static/app-catalog/_template.html +12 -77
- package/dist/static/app-catalog/js/apps-io.js +51 -165
- package/dist/static/app-catalog/js/cost.js +100 -0
- package/dist/static/app-catalog/js/db.js +23 -93
- package/dist/static/app-catalog/js/detail.js +158 -24
- package/dist/static/app-catalog/js/favorites.js +71 -0
- package/dist/static/app-catalog/js/i18n-data.js +90 -16
- package/dist/static/app-catalog/js/main.js +23 -103
- package/dist/static/app-catalog/js/migrate.js +88 -0
- package/dist/static/app-catalog/js/monetize.js +1 -1
- package/dist/static/app-catalog/js/promote.js +70 -0
- package/dist/static/app-catalog/js/render.js +26 -139
- package/dist/static/app-catalog/js/server-io.js +126 -223
- package/dist/static/app-catalog/js/settings.js +11 -204
- package/dist/static/app-catalog/styles/app-catalog.css +40 -0
- package/dist/static/app-catalog.html +790 -912
- package/dist/static/sdk-libs/_core/config.js +52 -0
- package/dist/static/sdk-libs/_core/http.js +52 -0
- package/dist/static/sdk-libs/_core/namespace.js +33 -0
- package/dist/static/sdk-libs/_core/sdk-globals.d.ts +50 -0
- package/dist/static/sdk-libs/_core/session.js +66 -0
- package/dist/static/sdk-libs/agentface/index.js +102 -0
- package/dist/static/sdk-libs/agents/index.js +267 -0
- package/dist/static/sdk-libs/ai/index.js +153 -0
- package/dist/static/sdk-libs/audio/core.js +111 -0
- package/dist/static/sdk-libs/audio/index.js +380 -0
- package/dist/static/sdk-libs/audio/instruments.js +369 -0
- package/dist/static/sdk-libs/auth/config.js +46 -0
- package/dist/static/sdk-libs/auth/crypto.js +166 -0
- package/dist/static/sdk-libs/auth/events.js +27 -0
- package/dist/static/sdk-libs/auth/i18n.js +64 -0
- package/dist/static/sdk-libs/auth/index.js +37 -0
- package/dist/static/sdk-libs/auth/modal.js +545 -0
- package/dist/static/sdk-libs/auth/pill.js +167 -0
- package/dist/static/sdk-libs/auth/session.js +792 -0
- package/dist/static/sdk-libs/auth/signup.js +232 -0
- package/dist/static/sdk-libs/auth/theme.js +96 -0
- package/dist/static/sdk-libs/capabilities/index.js +179 -0
- package/dist/static/sdk-libs/commerce/index.js +243 -0
- package/dist/static/sdk-libs/data/index.js +188 -0
- package/dist/static/sdk-libs/dist/aimeat-agentface.js +91 -0
- package/dist/static/sdk-libs/dist/aimeat-agents.js +315 -0
- package/dist/static/sdk-libs/dist/aimeat-ai.js +168 -0
- package/dist/static/sdk-libs/dist/aimeat-audio.js +979 -0
- package/dist/static/sdk-libs/dist/aimeat-auth.js +1831 -0
- package/dist/static/sdk-libs/dist/aimeat-capabilities.js +177 -0
- package/dist/static/sdk-libs/dist/aimeat-commerce.js +265 -0
- package/dist/static/sdk-libs/dist/aimeat-data.js +205 -0
- package/dist/static/sdk-libs/dist/aimeat-editor.js +299 -0
- package/dist/static/sdk-libs/dist/aimeat-header.js +270 -0
- package/dist/static/sdk-libs/dist/aimeat-intake.js +94 -0
- package/dist/static/sdk-libs/dist/aimeat-live.js +265 -0
- package/dist/static/sdk-libs/dist/aimeat-markdown.js +602 -0
- package/dist/static/sdk-libs/dist/aimeat-organism.js +394 -0
- package/dist/static/sdk-libs/dist/aimeat-portfolio-standalone.js +90 -0
- package/dist/static/sdk-libs/dist/aimeat-social.js +157 -0
- package/dist/static/sdk-libs/dist/aimeat-speech.js +300 -0
- package/dist/static/sdk-libs/dist/aimeat-storage.js +210 -0
- package/dist/static/sdk-libs/dist/aimeat-tunnel.js +383 -0
- package/dist/static/sdk-libs/dist/aimeat-wallet.js +118 -0
- package/dist/static/sdk-libs/dist/aimeat-webmcp.js +187 -0
- package/dist/static/sdk-libs/dist/aimeat-work.js +213 -0
- package/dist/static/sdk-libs/dist/aimeat-workflows.js +147 -0
- package/dist/static/sdk-libs/editor/index.js +229 -0
- package/dist/static/sdk-libs/header/index.js +249 -0
- package/dist/static/sdk-libs/intake/index.js +75 -0
- package/dist/static/sdk-libs/live/index.js +156 -0
- package/dist/static/sdk-libs/markdown/index.js +522 -0
- package/dist/static/sdk-libs/organism/index.js +381 -0
- package/dist/static/sdk-libs/portfolio-standalone/index.js +78 -0
- package/dist/static/sdk-libs/social/index.js +140 -0
- package/dist/static/sdk-libs/speech/index.js +321 -0
- package/dist/static/sdk-libs/storage/index.js +189 -0
- package/dist/static/sdk-libs/tunnel/index.js +428 -0
- package/dist/static/sdk-libs/wallet/index.js +115 -0
- package/dist/static/sdk-libs/webmcp/index.js +185 -0
- package/dist/static/sdk-libs/work/index.js +191 -0
- package/dist/static/sdk-libs/workflows/index.js +113 -0
- package/package.json +5 -2
|
@@ -447,6 +447,52 @@ export interface paths {
|
|
|
447
447
|
patch?: never;
|
|
448
448
|
trace?: never;
|
|
449
449
|
};
|
|
450
|
+
"/v1/unfurl": {
|
|
451
|
+
parameters: {
|
|
452
|
+
query?: never;
|
|
453
|
+
header?: never;
|
|
454
|
+
path?: never;
|
|
455
|
+
cookie?: never;
|
|
456
|
+
};
|
|
457
|
+
/**
|
|
458
|
+
* Link preview (unfurl) metadata for a URL
|
|
459
|
+
* @description Fetch a URL server-side (SSRF-safe via safeFetch) and return its OpenGraph/Twitter-card
|
|
460
|
+
* metadata so a pasted link can render as a rich preview card. Generic — usable by any client
|
|
461
|
+
* (message threads, notebook, workspace docs). The page fetch is size-capped and content-type
|
|
462
|
+
* checked; results are cached (~1h). A non-HTML target returns a hostname-only preview.
|
|
463
|
+
*/
|
|
464
|
+
get: operations["unfurlLink"];
|
|
465
|
+
put?: never;
|
|
466
|
+
post?: never;
|
|
467
|
+
delete?: never;
|
|
468
|
+
options?: never;
|
|
469
|
+
head?: never;
|
|
470
|
+
patch?: never;
|
|
471
|
+
trace?: never;
|
|
472
|
+
};
|
|
473
|
+
"/v1/unfurl/image": {
|
|
474
|
+
parameters: {
|
|
475
|
+
query?: never;
|
|
476
|
+
header?: never;
|
|
477
|
+
path?: never;
|
|
478
|
+
cookie?: never;
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* Proxy a link-preview image same-origin
|
|
482
|
+
* @description Fetch a preview image (typically the `image` from GET /v1/unfurl) THROUGH the node and stream
|
|
483
|
+
* it back. Same-origin so the SPA's `img-src 'self' data: blob:` CSP is satisfied, and the
|
|
484
|
+
* viewer's IP never reaches the third-party site. SSRF-safe, content-type checked (image/*), and
|
|
485
|
+
* size-capped.
|
|
486
|
+
*/
|
|
487
|
+
get: operations["unfurlImage"];
|
|
488
|
+
put?: never;
|
|
489
|
+
post?: never;
|
|
490
|
+
delete?: never;
|
|
491
|
+
options?: never;
|
|
492
|
+
head?: never;
|
|
493
|
+
patch?: never;
|
|
494
|
+
trace?: never;
|
|
495
|
+
};
|
|
450
496
|
"/v1/validate": {
|
|
451
497
|
parameters: {
|
|
452
498
|
query?: never;
|
|
@@ -664,7 +710,10 @@ export interface paths {
|
|
|
664
710
|
* **302-redirects** to the trusted apex consent page (`/v1/app-grant?req=...`) where the
|
|
665
711
|
* owner approves. `code_challenge_method` is `S256` (or `plain` for non-secure-context clients
|
|
666
712
|
* without crypto.subtle — real app origins are https/S256); `redirect_uri` must be on the
|
|
667
|
-
* app origin (never the apex)
|
|
713
|
+
* app origin (never the apex), and when it lives on a **per-app subdomain** that subdomain
|
|
714
|
+
* must map to exactly the requesting `app` (else `INVALID_REDIRECT_URI`) — a bound request
|
|
715
|
+
* marks the pending request `origin_bound`, unlocking own-app auto-approve on the consent
|
|
716
|
+
* page; `scope` must be drawn from the grantable scope set. With
|
|
668
717
|
* `response_mode=web_message` the consent page postMessages the code back to the app
|
|
669
718
|
* popup-opener (so the user stays in the app); the default `query` mode full-redirects.
|
|
670
719
|
*/
|
|
@@ -686,7 +735,10 @@ export interface paths {
|
|
|
686
735
|
};
|
|
687
736
|
/**
|
|
688
737
|
* Read a pending app-grant request (for the consent page)
|
|
689
|
-
* @description Returns the requesting app and the exact scopes (with descriptions) for the consent UI to
|
|
738
|
+
* @description Returns the requesting app and the exact scopes (with descriptions) for the consent UI to
|
|
739
|
+
* render, plus `app_owner` (the app's owner name) and `origin_bound` (the redirect origin is
|
|
740
|
+
* verified to be this very app's subdomain) — together these let the consent page auto-approve
|
|
741
|
+
* the signed-in owner's OWN app, matching the silent-bridge policy. Unguessable id; no auth.
|
|
690
742
|
*/
|
|
691
743
|
get: operations["appGrantRequest"];
|
|
692
744
|
put?: never;
|
|
@@ -763,8 +815,11 @@ export interface paths {
|
|
|
763
815
|
* @description Called by the app from its own origin (CORS `*`). With `grant_type=authorization_code`
|
|
764
816
|
* (+ PKCE `code_verifier`) the node creates the persistent grant and returns a short-lived
|
|
765
817
|
* **scoped** access JWT (role `app`, the granted scopes, an `app_grant` claim) + a rotating
|
|
766
|
-
* refresh token — never the owner's session.
|
|
767
|
-
*
|
|
818
|
+
* refresh token — never the owner's session. The code-exchange response also carries `app`
|
|
819
|
+
* (owner/filename) and `own` (origin-bound request approved by the app's own owner) so the
|
|
820
|
+
* SDK's login-pill metadata matches the silent bridge. With `grant_type=refresh_token` it
|
|
821
|
+
* rotates the refresh token and re-mints the access JWT **with the stored grant's scopes**
|
|
822
|
+
* (a refresh never widens scopes on its own). A revoked grant yields `401`.
|
|
768
823
|
*/
|
|
769
824
|
post: operations["appGrantToken"];
|
|
770
825
|
delete?: never;
|
|
@@ -1606,6 +1661,26 @@ export interface paths {
|
|
|
1606
1661
|
patch?: never;
|
|
1607
1662
|
trace?: never;
|
|
1608
1663
|
};
|
|
1664
|
+
"/v1/prompts/appdev-flow": {
|
|
1665
|
+
parameters: {
|
|
1666
|
+
query?: never;
|
|
1667
|
+
header?: never;
|
|
1668
|
+
path?: never;
|
|
1669
|
+
cookie?: never;
|
|
1670
|
+
};
|
|
1671
|
+
/**
|
|
1672
|
+
* Research-first appdev flow prompt (paste-able)
|
|
1673
|
+
* @description The paste-able flow prompt a user gives an MCP-connected coding agent (Claude Code, OpenHands, Cursor) so every AIMEAT app build follows research → frame → propose → build → finish instead of coding cold: load node:aimeat-app-builder, call aimeat_appdev_overview, frame the tier/packs/iam decision, propose, build, then finish with agent face + template proposal + pitfall report. The user can always skip. Public.
|
|
1674
|
+
*/
|
|
1675
|
+
get: operations["getAppdevFlowPrompt"];
|
|
1676
|
+
put?: never;
|
|
1677
|
+
post?: never;
|
|
1678
|
+
delete?: never;
|
|
1679
|
+
options?: never;
|
|
1680
|
+
head?: never;
|
|
1681
|
+
patch?: never;
|
|
1682
|
+
trace?: never;
|
|
1683
|
+
};
|
|
1609
1684
|
"/v1/library-packs": {
|
|
1610
1685
|
parameters: {
|
|
1611
1686
|
query?: never;
|
|
@@ -1614,7 +1689,7 @@ export interface paths {
|
|
|
1614
1689
|
cookie?: never;
|
|
1615
1690
|
};
|
|
1616
1691
|
/**
|
|
1617
|
-
* Library-pack registry index
|
|
1692
|
+
* Library-pack registry index (community entries may carry self-reported proofs[] + proven_models)
|
|
1618
1693
|
* @description The data-driven registry of every client-side library an AIMEAT app can include — SDK wrappers (/v1/libs), node-bundled cortex libs (/v1/cortex/<n>/libs) and vendored third-party capability packs (/lib). Compact index (no ai_doc/changelog): id, kind, category, description, rendered include line(s), requires, version, license, apiSurface, demoTemplateId, tierHint, interviewTriggers, sizeEstimate, status, scope, and (node packs) the optional AI-acceleration fields modelTier ("any" | "frontier" | "needs-doc" — the model strength a pack is reliably-and-accelerated on), proofs[] (the per-model AEB proof ledger: {model, verdict, testSet, evidence, tokens?, date}) and apiCaveat (for frontier packs — the one breaking-API idiom a weak model gets wrong from memory). See tools/aeb/acceleration-tiers.md. Two sources merge: scope "node" (the curated registry — every AI-facing library list derives from it: build-app prompt, GET /v1/libs, bootstrap, llms.txt) and scope "community" (active + public user-installed cortex extensions that ship a lib component; always status "preview", no tier/proofs — unvetted by the node). Public (CORS *).
|
|
1619
1694
|
*/
|
|
1620
1695
|
get: operations["listLibraryPacks"];
|
|
@@ -1703,6 +1778,136 @@ export interface paths {
|
|
|
1703
1778
|
patch?: never;
|
|
1704
1779
|
trace?: never;
|
|
1705
1780
|
};
|
|
1781
|
+
"/v1/appdev/overview": {
|
|
1782
|
+
parameters: {
|
|
1783
|
+
query?: never;
|
|
1784
|
+
header?: never;
|
|
1785
|
+
path?: never;
|
|
1786
|
+
cookie?: never;
|
|
1787
|
+
};
|
|
1788
|
+
/**
|
|
1789
|
+
* AppDev research overview (the big picture before building)
|
|
1790
|
+
* @description One compact research surface for building apps ON AIMEAT: the caller's existing apps, library packs (per-model proof summaries), T1/T2/T3 app-shell templates, loadable skills (node:aimeat-app-builder first), curated + learned pitfalls (model-faceted), and prior template proposals. Indexes only with drill-down pointers; ?sections= for a partial fetch, ?model= for indicative model marking/filtering. Authenticated (owner or agent session).
|
|
1791
|
+
*/
|
|
1792
|
+
get: operations["getAppdevOverview"];
|
|
1793
|
+
put?: never;
|
|
1794
|
+
post?: never;
|
|
1795
|
+
delete?: never;
|
|
1796
|
+
options?: never;
|
|
1797
|
+
head?: never;
|
|
1798
|
+
patch?: never;
|
|
1799
|
+
trace?: never;
|
|
1800
|
+
};
|
|
1801
|
+
"/v1/appdev/pitfalls/learned": {
|
|
1802
|
+
parameters: {
|
|
1803
|
+
query?: never;
|
|
1804
|
+
header?: never;
|
|
1805
|
+
path?: never;
|
|
1806
|
+
cookie?: never;
|
|
1807
|
+
};
|
|
1808
|
+
/**
|
|
1809
|
+
* The caller's learned appdev pitfalls (profile UI management surface)
|
|
1810
|
+
* @description Full-body learned pitfall entries in the caller's owner scope (own GHII + every same-owner agent), any visibility; with include_shared=1 also other owners' public-shared entries (source: shared, read-only). Curated registry entries are served separately at GET /v1/appdev/pitfalls.
|
|
1811
|
+
*/
|
|
1812
|
+
get: operations["listLearnedAppdevPitfalls"];
|
|
1813
|
+
put?: never;
|
|
1814
|
+
post?: never;
|
|
1815
|
+
delete?: never;
|
|
1816
|
+
options?: never;
|
|
1817
|
+
head?: never;
|
|
1818
|
+
patch?: never;
|
|
1819
|
+
trace?: never;
|
|
1820
|
+
};
|
|
1821
|
+
"/v1/appdev/pitfalls/learned/{category}/{slug}": {
|
|
1822
|
+
parameters: {
|
|
1823
|
+
query?: never;
|
|
1824
|
+
header?: never;
|
|
1825
|
+
path?: never;
|
|
1826
|
+
cookie?: never;
|
|
1827
|
+
};
|
|
1828
|
+
get?: never;
|
|
1829
|
+
put?: never;
|
|
1830
|
+
post?: never;
|
|
1831
|
+
/** Delete an own learned pitfall (entry + manifest ref) */
|
|
1832
|
+
delete: operations["deleteLearnedAppdevPitfall"];
|
|
1833
|
+
options?: never;
|
|
1834
|
+
head?: never;
|
|
1835
|
+
/** Toggle share (platform-wide visibility) and/or status on an own learned pitfall */
|
|
1836
|
+
patch: operations["updateLearnedAppdevPitfall"];
|
|
1837
|
+
trace?: never;
|
|
1838
|
+
};
|
|
1839
|
+
"/v1/appdev/templates": {
|
|
1840
|
+
parameters: {
|
|
1841
|
+
query?: never;
|
|
1842
|
+
header?: never;
|
|
1843
|
+
path?: never;
|
|
1844
|
+
cookie?: never;
|
|
1845
|
+
};
|
|
1846
|
+
/** The caller's agent-proposed app templates (full manifests) */
|
|
1847
|
+
get: operations["listAppdevTemplateProposals"];
|
|
1848
|
+
put?: never;
|
|
1849
|
+
post?: never;
|
|
1850
|
+
delete?: never;
|
|
1851
|
+
options?: never;
|
|
1852
|
+
head?: never;
|
|
1853
|
+
patch?: never;
|
|
1854
|
+
trace?: never;
|
|
1855
|
+
};
|
|
1856
|
+
"/v1/appdev/templates/{id}": {
|
|
1857
|
+
parameters: {
|
|
1858
|
+
query?: never;
|
|
1859
|
+
header?: never;
|
|
1860
|
+
path?: never;
|
|
1861
|
+
cookie?: never;
|
|
1862
|
+
};
|
|
1863
|
+
/** One template proposal + the source app's live state */
|
|
1864
|
+
get: operations["getAppdevTemplateProposal"];
|
|
1865
|
+
put?: never;
|
|
1866
|
+
post?: never;
|
|
1867
|
+
/** Delete a template proposal */
|
|
1868
|
+
delete: operations["deleteAppdevTemplateProposal"];
|
|
1869
|
+
options?: never;
|
|
1870
|
+
head?: never;
|
|
1871
|
+
patch?: never;
|
|
1872
|
+
trace?: never;
|
|
1873
|
+
};
|
|
1874
|
+
"/v1/appdev/pitfalls": {
|
|
1875
|
+
parameters: {
|
|
1876
|
+
query?: never;
|
|
1877
|
+
header?: never;
|
|
1878
|
+
path?: never;
|
|
1879
|
+
cookie?: never;
|
|
1880
|
+
};
|
|
1881
|
+
/**
|
|
1882
|
+
* Curated appdev-pitfall registry index
|
|
1883
|
+
* @description Platform-level "what bites app builders" knowledge for AI agents building apps ON AIMEAT (apps, extensions, cortexes — never node development). Paginated index with total and facet counts (per applies-to scope and severity), sorted critical → warn → info. Public (CORS *).
|
|
1884
|
+
*/
|
|
1885
|
+
get: operations["listAppdevPitfalls"];
|
|
1886
|
+
put?: never;
|
|
1887
|
+
post?: never;
|
|
1888
|
+
delete?: never;
|
|
1889
|
+
options?: never;
|
|
1890
|
+
head?: never;
|
|
1891
|
+
patch?: never;
|
|
1892
|
+
trace?: never;
|
|
1893
|
+
};
|
|
1894
|
+
"/v1/appdev/pitfalls/{id}": {
|
|
1895
|
+
parameters: {
|
|
1896
|
+
query?: never;
|
|
1897
|
+
header?: never;
|
|
1898
|
+
path?: never;
|
|
1899
|
+
cookie?: never;
|
|
1900
|
+
};
|
|
1901
|
+
/** One curated appdev pitfall (full entry) */
|
|
1902
|
+
get: operations["getAppdevPitfall"];
|
|
1903
|
+
put?: never;
|
|
1904
|
+
post?: never;
|
|
1905
|
+
delete?: never;
|
|
1906
|
+
options?: never;
|
|
1907
|
+
head?: never;
|
|
1908
|
+
patch?: never;
|
|
1909
|
+
trace?: never;
|
|
1910
|
+
};
|
|
1706
1911
|
"/v1/memory": {
|
|
1707
1912
|
parameters: {
|
|
1708
1913
|
query?: never;
|
|
@@ -2026,6 +2231,402 @@ export interface paths {
|
|
|
2026
2231
|
patch?: never;
|
|
2027
2232
|
trace?: never;
|
|
2028
2233
|
};
|
|
2234
|
+
"/v1/apps/cost": {
|
|
2235
|
+
parameters: {
|
|
2236
|
+
query?: never;
|
|
2237
|
+
header?: never;
|
|
2238
|
+
path?: never;
|
|
2239
|
+
cookie?: never;
|
|
2240
|
+
};
|
|
2241
|
+
/**
|
|
2242
|
+
* Per-app EXCHANGE cost & contracts surface (EXCHANGE G3 / TARGET-045)
|
|
2243
|
+
* @description Owner-scoped read that composes an app's priced EXCHANGE dependencies so the app-catalog can show, per app: its active contracts (metered entitlements), live consumption (spend + calls against each budget), an estimated per-call / remaining-budget cost, and the platform rake. Attribution is by the entitlement's `appId`; the caller only ever sees entitlements whose consumer is their own owner (strictly cross-owner). Generic — any app with priced dependencies uses it. LLM-usage attribution is out of scope for slice-1 (the usage ledger has no appId dimension yet); this composes the entitlement spend, which IS the per-app metered consumption record. Response `data`: `{ app_id, owner_ghii, active_contracts, total_contracts, totals: { morsels: { spent_units, calls, contracts }, money: {...} }, contracts: [{ entitlement_id, capability, provider, contract_ref, state, unit, currency, price_per_call, rake_percent, rake_per_call, escrow_party, budget: { cap_units, spent_units, remaining_units, calls }, estimated_calls_remaining }] }`.
|
|
2244
|
+
*/
|
|
2245
|
+
get: operations["appCost"];
|
|
2246
|
+
put?: never;
|
|
2247
|
+
post?: never;
|
|
2248
|
+
delete?: never;
|
|
2249
|
+
options?: never;
|
|
2250
|
+
head?: never;
|
|
2251
|
+
patch?: never;
|
|
2252
|
+
trace?: never;
|
|
2253
|
+
};
|
|
2254
|
+
"/v1/exchange/entitlements": {
|
|
2255
|
+
parameters: {
|
|
2256
|
+
query?: never;
|
|
2257
|
+
header?: never;
|
|
2258
|
+
path?: never;
|
|
2259
|
+
cookie?: never;
|
|
2260
|
+
};
|
|
2261
|
+
/**
|
|
2262
|
+
* List the caller-owner's EXCHANGE entitlements (EXCHANGE / TARGET-045)
|
|
2263
|
+
* @description Every metered entitlement the caller's owner holds as consumer, with live spend + budget. Response `data`: `{ entitlements: [{ entitlement_id, provider, ext, action, unit, price_per_call, rake_percent, contract_ref, state, budget: { cap_units, spent_units, remaining_units, calls } }] }`.
|
|
2264
|
+
*/
|
|
2265
|
+
get: operations["exchangeListEntitlements"];
|
|
2266
|
+
put?: never;
|
|
2267
|
+
/**
|
|
2268
|
+
* Accept an EXCHANGE contract → mint a metered entitlement (EXCHANGE / TARGET-045)
|
|
2269
|
+
* @description The WRITE side of the metered entitlement. The caller's owner accepts a negotiated contract to call a provider's extension action at a metered price. The per-call PRICE is read authoritatively from the provider (the ext action, or the app-tool's listing) — the request supplies only the BUDGET cap and the contract ref, so a consumer can neither undercut the provider nor be charged an unaccepted price. The entitlement's consumer is always the caller's own owner (strictly cross-owner). PREFERRED: pass `offering_id` (works for both ext-action and app-tool offerings; an app-tool contract is pinned to the offering's interface version). LEGACY: pass `ext` + `action` + `contract_ref` for a raw ext-action. Body: `{ offering_id?, ext?, action?, contract_ref?, cap_units?, plan_id?, app_id?, escrow_party? }`. Response `data`: `{ entitlement: {...} }`.
|
|
2270
|
+
*/
|
|
2271
|
+
post: operations["exchangeAcceptContract"];
|
|
2272
|
+
delete?: never;
|
|
2273
|
+
options?: never;
|
|
2274
|
+
head?: never;
|
|
2275
|
+
patch?: never;
|
|
2276
|
+
trace?: never;
|
|
2277
|
+
};
|
|
2278
|
+
"/v1/exchange/entitlements/off": {
|
|
2279
|
+
parameters: {
|
|
2280
|
+
query?: never;
|
|
2281
|
+
header?: never;
|
|
2282
|
+
path?: never;
|
|
2283
|
+
cookie?: never;
|
|
2284
|
+
};
|
|
2285
|
+
get?: never;
|
|
2286
|
+
put?: never;
|
|
2287
|
+
/**
|
|
2288
|
+
* Pause or revoke one of your EXCHANGE entitlements (EXCHANGE / TARGET-045)
|
|
2289
|
+
* @description The consumer's off-switch. `mode: pause` is reversible (re-accept to resume); `mode: revoke` is terminal. Only the entitlement's own consumer may. Body: `{ ext, action, mode }`.
|
|
2290
|
+
*/
|
|
2291
|
+
post: operations["exchangeEntitlementOff"];
|
|
2292
|
+
delete?: never;
|
|
2293
|
+
options?: never;
|
|
2294
|
+
head?: never;
|
|
2295
|
+
patch?: never;
|
|
2296
|
+
trace?: never;
|
|
2297
|
+
};
|
|
2298
|
+
"/v1/exchange/proposals": {
|
|
2299
|
+
parameters: {
|
|
2300
|
+
query?: never;
|
|
2301
|
+
header?: never;
|
|
2302
|
+
path?: never;
|
|
2303
|
+
cookie?: never;
|
|
2304
|
+
};
|
|
2305
|
+
/**
|
|
2306
|
+
* List contract-change proposals you are party to (EXCHANGE / TARGET-045)
|
|
2307
|
+
* @description Every renegotiation proposal the caller is party to (incoming + outgoing), newest first. Returns `{ proposals, count }`.
|
|
2308
|
+
*/
|
|
2309
|
+
get: operations["exchangeListProposals"];
|
|
2310
|
+
put?: never;
|
|
2311
|
+
/**
|
|
2312
|
+
* Propose new terms for a live contract — renegotiation (EXCHANGE / TARGET-045)
|
|
2313
|
+
* @description Either party renegotiates instead of blindly revoking + re-accepting. A consumer renegotiates their own contract; a PROVIDER renegotiates a specific consumer's contract (pass `consumer_gaii`). Propose a new per-call price and/or a new budget cap + a note. A message is delivered to the counterparty (Profile > Messages); nothing changes until they accept. Mutual consent is the authority. Body: `{ ext, action, consumer_gaii?, new_price_per_call?, new_cap_units?, note? }`. Returns `{ proposal }`.
|
|
2314
|
+
*/
|
|
2315
|
+
post: operations["exchangeProposeChange"];
|
|
2316
|
+
delete?: never;
|
|
2317
|
+
options?: never;
|
|
2318
|
+
head?: never;
|
|
2319
|
+
patch?: never;
|
|
2320
|
+
trace?: never;
|
|
2321
|
+
};
|
|
2322
|
+
"/v1/exchange/proposals/{id}/accept": {
|
|
2323
|
+
parameters: {
|
|
2324
|
+
query?: never;
|
|
2325
|
+
header?: never;
|
|
2326
|
+
path?: never;
|
|
2327
|
+
cookie?: never;
|
|
2328
|
+
};
|
|
2329
|
+
get?: never;
|
|
2330
|
+
put?: never;
|
|
2331
|
+
/**
|
|
2332
|
+
* Accept a proposed contract change — supersede (EXCHANGE / TARGET-045)
|
|
2333
|
+
* @description The COUNTERPARTY accepts: the old contract is archived to history (with its final spend + period) and a fresh one takes effect at the agreed terms. Returns `{ proposal, entitlement }`.
|
|
2334
|
+
*/
|
|
2335
|
+
post: operations["exchangeAcceptProposal"];
|
|
2336
|
+
delete?: never;
|
|
2337
|
+
options?: never;
|
|
2338
|
+
head?: never;
|
|
2339
|
+
patch?: never;
|
|
2340
|
+
trace?: never;
|
|
2341
|
+
};
|
|
2342
|
+
"/v1/exchange/proposals/{id}/decline": {
|
|
2343
|
+
parameters: {
|
|
2344
|
+
query?: never;
|
|
2345
|
+
header?: never;
|
|
2346
|
+
path?: never;
|
|
2347
|
+
cookie?: never;
|
|
2348
|
+
};
|
|
2349
|
+
get?: never;
|
|
2350
|
+
put?: never;
|
|
2351
|
+
/**
|
|
2352
|
+
* Decline a proposed contract change (EXCHANGE / TARGET-045)
|
|
2353
|
+
* @description The counterparty declines; the contract is unchanged. Returns `{ proposal }`.
|
|
2354
|
+
*/
|
|
2355
|
+
post: operations["exchangeDeclineProposal"];
|
|
2356
|
+
delete?: never;
|
|
2357
|
+
options?: never;
|
|
2358
|
+
head?: never;
|
|
2359
|
+
patch?: never;
|
|
2360
|
+
trace?: never;
|
|
2361
|
+
};
|
|
2362
|
+
"/v1/exchange/proposals/{id}/withdraw": {
|
|
2363
|
+
parameters: {
|
|
2364
|
+
query?: never;
|
|
2365
|
+
header?: never;
|
|
2366
|
+
path?: never;
|
|
2367
|
+
cookie?: never;
|
|
2368
|
+
};
|
|
2369
|
+
get?: never;
|
|
2370
|
+
put?: never;
|
|
2371
|
+
/**
|
|
2372
|
+
* Withdraw your own pending contract-change proposal (EXCHANGE / TARGET-045)
|
|
2373
|
+
* @description The PROPOSER withdraws a pending proposal. Returns `{ proposal }`.
|
|
2374
|
+
*/
|
|
2375
|
+
post: operations["exchangeWithdrawProposal"];
|
|
2376
|
+
delete?: never;
|
|
2377
|
+
options?: never;
|
|
2378
|
+
head?: never;
|
|
2379
|
+
patch?: never;
|
|
2380
|
+
trace?: never;
|
|
2381
|
+
};
|
|
2382
|
+
"/v1/exchange/entitlements/history": {
|
|
2383
|
+
parameters: {
|
|
2384
|
+
query?: never;
|
|
2385
|
+
header?: never;
|
|
2386
|
+
path?: never;
|
|
2387
|
+
cookie?: never;
|
|
2388
|
+
};
|
|
2389
|
+
/**
|
|
2390
|
+
* Your PAST (archived / superseded) contracts as consumer (EXCHANGE / TARGET-045)
|
|
2391
|
+
* @description Contracts that were superseded by a renegotiation, with the old terms + final spend + archived_at. Returns `{ history, count }`.
|
|
2392
|
+
*/
|
|
2393
|
+
get: operations["exchangeEntitlementHistory"];
|
|
2394
|
+
put?: never;
|
|
2395
|
+
post?: never;
|
|
2396
|
+
delete?: never;
|
|
2397
|
+
options?: never;
|
|
2398
|
+
head?: never;
|
|
2399
|
+
patch?: never;
|
|
2400
|
+
trace?: never;
|
|
2401
|
+
};
|
|
2402
|
+
"/v1/exchange/provider/history": {
|
|
2403
|
+
parameters: {
|
|
2404
|
+
query?: never;
|
|
2405
|
+
header?: never;
|
|
2406
|
+
path?: never;
|
|
2407
|
+
cookie?: never;
|
|
2408
|
+
};
|
|
2409
|
+
/**
|
|
2410
|
+
* Your PAST (archived / superseded) contracts as provider (EXCHANGE / TARGET-045)
|
|
2411
|
+
* @description Superseded contracts you sold, with the old terms + final spend. Returns `{ history, count }`.
|
|
2412
|
+
*/
|
|
2413
|
+
get: operations["exchangeProviderHistory"];
|
|
2414
|
+
put?: never;
|
|
2415
|
+
post?: never;
|
|
2416
|
+
delete?: never;
|
|
2417
|
+
options?: never;
|
|
2418
|
+
head?: never;
|
|
2419
|
+
patch?: never;
|
|
2420
|
+
trace?: never;
|
|
2421
|
+
};
|
|
2422
|
+
"/v1/exchange/work": {
|
|
2423
|
+
parameters: {
|
|
2424
|
+
query?: never;
|
|
2425
|
+
header?: never;
|
|
2426
|
+
path?: never;
|
|
2427
|
+
cookie?: never;
|
|
2428
|
+
};
|
|
2429
|
+
/**
|
|
2430
|
+
* List your AGENT-WORK items (EXCHANGE / TARGET-045 Gap 2)
|
|
2431
|
+
* @description `?role=consumer` (default) or `?role=provider`. Returns `{ work, count, role }`.
|
|
2432
|
+
*/
|
|
2433
|
+
get: operations["exchangeListWork"];
|
|
2434
|
+
put?: never;
|
|
2435
|
+
/**
|
|
2436
|
+
* Start an AGENT-WORK task under a contract — async, settled on delivery (EXCHANGE / TARGET-045 Gap 2)
|
|
2437
|
+
* @description The CONSUMER starts a task against an agent-work offering they hold an active contract for. Body: `{ offering_id, input, note? }`. Nothing is charged yet — the per-task price is metered when the provider DELIVERS. Requires a contract first (else 402 NO_CONTRACT). Returns `{ work }`.
|
|
2438
|
+
*/
|
|
2439
|
+
post: operations["exchangeStartWork"];
|
|
2440
|
+
delete?: never;
|
|
2441
|
+
options?: never;
|
|
2442
|
+
head?: never;
|
|
2443
|
+
patch?: never;
|
|
2444
|
+
trace?: never;
|
|
2445
|
+
};
|
|
2446
|
+
"/v1/exchange/work/{id}/deliver": {
|
|
2447
|
+
parameters: {
|
|
2448
|
+
query?: never;
|
|
2449
|
+
header?: never;
|
|
2450
|
+
path?: never;
|
|
2451
|
+
cookie?: never;
|
|
2452
|
+
};
|
|
2453
|
+
get?: never;
|
|
2454
|
+
put?: never;
|
|
2455
|
+
/**
|
|
2456
|
+
* Deliver an agent-work task → settle on delivery (EXCHANGE / TARGET-045 Gap 2)
|
|
2457
|
+
* @description The PROVIDER delivers a task and is paid: the consumer is charged the per-task price, the provider is credited its cut, the platform rake is routed, the budget decremented — all ON DELIVERY. Body: `{ output, note? }`. A 402/429 (budget/rate) leaves the work open + unpaid. Returns `{ work }`.
|
|
2458
|
+
*/
|
|
2459
|
+
post: operations["exchangeDeliverWork"];
|
|
2460
|
+
delete?: never;
|
|
2461
|
+
options?: never;
|
|
2462
|
+
head?: never;
|
|
2463
|
+
patch?: never;
|
|
2464
|
+
trace?: never;
|
|
2465
|
+
};
|
|
2466
|
+
"/v1/exchange/info": {
|
|
2467
|
+
parameters: {
|
|
2468
|
+
query?: never;
|
|
2469
|
+
header?: never;
|
|
2470
|
+
path?: never;
|
|
2471
|
+
cookie?: never;
|
|
2472
|
+
};
|
|
2473
|
+
/**
|
|
2474
|
+
* EXCHANGE marketplace economics — the platform rake + units (EXCHANGE / TARGET-045)
|
|
2475
|
+
* @description Public. Returns `{ rake_percent, rake_note, units, morsel_note }` — the platform fee applied to each metered call (the provider keeps the rest), set by the node operator via AIMEAT_COMMERCE_FEE_PERCENT / AIMEAT_MARKETPLACE_TX_FEE_PERCENT.
|
|
2476
|
+
*/
|
|
2477
|
+
get: operations["exchangeInfo"];
|
|
2478
|
+
put?: never;
|
|
2479
|
+
post?: never;
|
|
2480
|
+
delete?: never;
|
|
2481
|
+
options?: never;
|
|
2482
|
+
head?: never;
|
|
2483
|
+
patch?: never;
|
|
2484
|
+
trace?: never;
|
|
2485
|
+
};
|
|
2486
|
+
"/v1/exchange/offerings": {
|
|
2487
|
+
parameters: {
|
|
2488
|
+
query?: never;
|
|
2489
|
+
header?: never;
|
|
2490
|
+
path?: never;
|
|
2491
|
+
cookie?: never;
|
|
2492
|
+
};
|
|
2493
|
+
/**
|
|
2494
|
+
* Browse listed EXCHANGE offerings (public) — by capability or free text (TARGET-045)
|
|
2495
|
+
* @description Public browse of listed supply. `?ext=&action=` matches a capability exactly; `?q=` free-text over title/description/tags; omit both for all listings. `?stats=1` folds usage/reputation (`stats: { activeContracts, totalContracts, totalCalls, totalSettledUnits, consumers, listedAt, lastUsedAt }`) into each listing. Cheapest base price first. Returns `{ offerings, count }`.
|
|
2496
|
+
*/
|
|
2497
|
+
get: operations["exchangeBrowseOfferings"];
|
|
2498
|
+
put?: never;
|
|
2499
|
+
/**
|
|
2500
|
+
* List a supply OFFERING — an ext action or an app-tool you own (EXCHANGE marketplace / TARGET-045)
|
|
2501
|
+
* @description Publish a public supply listing. Two kinds. DEFAULT `kind: ext-action` — a priced action of an extension you own; price + plans read AUTHORITATIVELY from the action (`commercial`); body `{ ext, action, title?, description?, provenance?, usage_terms, tags? }`. `kind: app-tool` — a method your APP sells cross-app (a getCompanyBrief-style tool from your `apps.{appId}.tools` manifest); price + plans read from the tool; the tool MUST be bound to a capability (`action_id`) and is snapshot into an immutable, pinned INTERFACE VERSION (a schema/binding change mints a new version; existing contracts stay pinned to theirs); body `{ kind: 'app-tool', app_id, tool, title?, description?, provenance?, usage_terms, tags? }`. LEGIBILITY GATE (both): a non-empty input AND output schema is required (else 400 SCHEMA_REQUIRED) and `usage_terms` is required (else 400 USAGE_TERMS_REQUIRED). `usage_terms` = `{ derivatives?, resale?, attribution?, note? }`. Returns `{ offering }`.
|
|
2502
|
+
*/
|
|
2503
|
+
post: operations["exchangeListOffering"];
|
|
2504
|
+
delete?: never;
|
|
2505
|
+
options?: never;
|
|
2506
|
+
head?: never;
|
|
2507
|
+
patch?: never;
|
|
2508
|
+
trace?: never;
|
|
2509
|
+
};
|
|
2510
|
+
"/v1/exchange/offerings/{id}": {
|
|
2511
|
+
parameters: {
|
|
2512
|
+
query?: never;
|
|
2513
|
+
header?: never;
|
|
2514
|
+
path?: never;
|
|
2515
|
+
cookie?: never;
|
|
2516
|
+
};
|
|
2517
|
+
/**
|
|
2518
|
+
* One EXCHANGE offering's full detail — I/O schema, call recipe, usage stats (public) (TARGET-045)
|
|
2519
|
+
* @description Everything a human or agent needs to judge fit and integrate: the offering, the capability's `input_schema`/`output_schema`, a `call_recipe` (the contract IS the access — you call `POST /v1/ext/{ext}/{action}` as yourself, no separate API key), and usage `stats` (reputation). Public. Returns `{ offering, capability, call_recipe, stats }`.
|
|
2520
|
+
*/
|
|
2521
|
+
get: operations["exchangeOfferingDetail"];
|
|
2522
|
+
put?: never;
|
|
2523
|
+
post?: never;
|
|
2524
|
+
/** Delist one of your EXCHANGE offerings (TARGET-045) */
|
|
2525
|
+
delete: operations["exchangeDelistOffering"];
|
|
2526
|
+
options?: never;
|
|
2527
|
+
head?: never;
|
|
2528
|
+
patch?: never;
|
|
2529
|
+
trace?: never;
|
|
2530
|
+
};
|
|
2531
|
+
"/v1/exchange/offerings/{id}/consumers": {
|
|
2532
|
+
parameters: {
|
|
2533
|
+
query?: never;
|
|
2534
|
+
header?: never;
|
|
2535
|
+
path?: never;
|
|
2536
|
+
cookie?: never;
|
|
2537
|
+
};
|
|
2538
|
+
/**
|
|
2539
|
+
* Provider data-lineage — who holds contracts against your offering (owner only) (TARGET-045)
|
|
2540
|
+
* @description The provider's consumption log: for each contract minted against this offering, the consuming identity, calls served, value settled, state, and last use — "where is my data used, by whom?". Owner-only (a stranger gets 404). Returns `{ offeringId, consumers, count }`.
|
|
2541
|
+
*/
|
|
2542
|
+
get: operations["exchangeOfferingConsumers"];
|
|
2543
|
+
put?: never;
|
|
2544
|
+
post?: never;
|
|
2545
|
+
delete?: never;
|
|
2546
|
+
options?: never;
|
|
2547
|
+
head?: never;
|
|
2548
|
+
patch?: never;
|
|
2549
|
+
trace?: never;
|
|
2550
|
+
};
|
|
2551
|
+
"/v1/exchange/needs": {
|
|
2552
|
+
parameters: {
|
|
2553
|
+
query?: never;
|
|
2554
|
+
header?: never;
|
|
2555
|
+
path?: never;
|
|
2556
|
+
cookie?: never;
|
|
2557
|
+
};
|
|
2558
|
+
/** Browse EXCHANGE needs — `?open=1` open only, `?mine=1` your own (TARGET-045) */
|
|
2559
|
+
get: operations["exchangeBrowseNeeds"];
|
|
2560
|
+
put?: never;
|
|
2561
|
+
/**
|
|
2562
|
+
* Post an open NEED (demand) providers can bid on (EXCHANGE marketplace / TARGET-045)
|
|
2563
|
+
* @description Publish a demand on behalf of a specific app. `app_id` is REQUIRED (a need is always app-bound). Body: `{ description, app_id, ext?, action?, spec?, usage_intent?, budget_unit?, budget_cap?, autonomy? }`. `spec` = `{ requiredFields?, format?, sample?, notes? }` — the minimum shape a fulfilment must return, so a provider (or an AI assessing candidates) can judge fit. Returns `{ need, matches }` (offerings already satisfying it, so you can accept directly).
|
|
2564
|
+
*/
|
|
2565
|
+
post: operations["exchangePostNeed"];
|
|
2566
|
+
delete?: never;
|
|
2567
|
+
options?: never;
|
|
2568
|
+
head?: never;
|
|
2569
|
+
patch?: never;
|
|
2570
|
+
trace?: never;
|
|
2571
|
+
};
|
|
2572
|
+
"/v1/exchange/needs/{id}/close": {
|
|
2573
|
+
parameters: {
|
|
2574
|
+
query?: never;
|
|
2575
|
+
header?: never;
|
|
2576
|
+
path?: never;
|
|
2577
|
+
cookie?: never;
|
|
2578
|
+
};
|
|
2579
|
+
get?: never;
|
|
2580
|
+
put?: never;
|
|
2581
|
+
/** Close one of your EXCHANGE needs (TARGET-045) */
|
|
2582
|
+
post: operations["exchangeCloseNeed"];
|
|
2583
|
+
delete?: never;
|
|
2584
|
+
options?: never;
|
|
2585
|
+
head?: never;
|
|
2586
|
+
patch?: never;
|
|
2587
|
+
trace?: never;
|
|
2588
|
+
};
|
|
2589
|
+
"/v1/exchange/needs/{id}/bids": {
|
|
2590
|
+
parameters: {
|
|
2591
|
+
query?: never;
|
|
2592
|
+
header?: never;
|
|
2593
|
+
path?: never;
|
|
2594
|
+
cookie?: never;
|
|
2595
|
+
};
|
|
2596
|
+
/** List bids on a NEED (public) (TARGET-045) */
|
|
2597
|
+
get: operations["exchangeListBids"];
|
|
2598
|
+
put?: never;
|
|
2599
|
+
/**
|
|
2600
|
+
* Bid on an open NEED with an action your extension owns (EXCHANGE / TARGET-045)
|
|
2601
|
+
* @description Body: `{ ext, action, offering_id?, plan_id?, note? }`. Returns `{ bid }`.
|
|
2602
|
+
*/
|
|
2603
|
+
post: operations["exchangeBidOnNeed"];
|
|
2604
|
+
delete?: never;
|
|
2605
|
+
options?: never;
|
|
2606
|
+
head?: never;
|
|
2607
|
+
patch?: never;
|
|
2608
|
+
trace?: never;
|
|
2609
|
+
};
|
|
2610
|
+
"/v1/exchange/needs/{id}/bids/{bidId}/accept": {
|
|
2611
|
+
parameters: {
|
|
2612
|
+
query?: never;
|
|
2613
|
+
header?: never;
|
|
2614
|
+
path?: never;
|
|
2615
|
+
cookie?: never;
|
|
2616
|
+
};
|
|
2617
|
+
get?: never;
|
|
2618
|
+
put?: never;
|
|
2619
|
+
/**
|
|
2620
|
+
* Accept a bid on your NEED → mint the metered entitlement (EXCHANGE / TARGET-045)
|
|
2621
|
+
* @description The requester accepts a bid; mints the durable entitlement (consumer = you, provider = bidder), with the bid's plan + authoritative price. Optional body `{ cap_units }` overrides the need's budget cap. Marks the bid accepted + the need matched. Returns `{ entitlement_id, ext, action, unit, pricing }`.
|
|
2622
|
+
*/
|
|
2623
|
+
post: operations["exchangeAcceptBid"];
|
|
2624
|
+
delete?: never;
|
|
2625
|
+
options?: never;
|
|
2626
|
+
head?: never;
|
|
2627
|
+
patch?: never;
|
|
2628
|
+
trace?: never;
|
|
2629
|
+
};
|
|
2029
2630
|
"/v1/ledger/billing": {
|
|
2030
2631
|
parameters: {
|
|
2031
2632
|
query?: never;
|
|
@@ -6483,6 +7084,9 @@ export interface paths {
|
|
|
6483
7084
|
* @description Register a new human owner via the web portal. Creates an owner record,
|
|
6484
7085
|
* GHII, and profile. No authentication required. If email is provided,
|
|
6485
7086
|
* a verification code is sent and the response includes a verificationId.
|
|
7087
|
+
* When the node's email gate is on (`AIMEAT_EMAIL_CONFIRMATION_REQUIRED`),
|
|
7088
|
+
* an email is REQUIRED (missing → `400 EMAIL_REQUIRED`); an email already
|
|
7089
|
+
* verified on another account → `409 EMAIL_TAKEN`.
|
|
6486
7090
|
*/
|
|
6487
7091
|
post: operations["ghiiRegisterWeb"];
|
|
6488
7092
|
delete?: never;
|
|
@@ -8036,7 +8640,14 @@ export interface paths {
|
|
|
8036
8640
|
* emit code — a caller wanting an extra button uses `link` (navigation carries no authority).
|
|
8037
8641
|
*/
|
|
8038
8642
|
post: operations["createNotification"];
|
|
8039
|
-
|
|
8643
|
+
/**
|
|
8644
|
+
* Clear the caller's notifications (the bell's "Clear all")
|
|
8645
|
+
* @description Delete the caller's in-app notifications — the header bell's "Clear all". Unlike
|
|
8646
|
+
* POST /v1/notifications/read (which only marks them read), this REMOVES the rows. Owner-scoped:
|
|
8647
|
+
* only the caller's own notifications are affected. Omit the body (or send `{}`) to clear ALL;
|
|
8648
|
+
* pass `{ ids: [...] }` to delete just those.
|
|
8649
|
+
*/
|
|
8650
|
+
delete: operations["clearNotifications"];
|
|
8040
8651
|
options?: never;
|
|
8041
8652
|
head?: never;
|
|
8042
8653
|
patch?: never;
|
|
@@ -15417,6 +16028,12 @@ export interface paths {
|
|
|
15417
16028
|
* username or a full `username@node-id` (the node part must match this node). The first
|
|
15418
16029
|
* real owner is auto-granted the `operator` role. Returns the owner keypair once —
|
|
15419
16030
|
* the private key is never retrievable again. A welcome morsel bonus is granted.
|
|
16031
|
+
*
|
|
16032
|
+
* When an `email` is supplied it is recorded and a verification code is sent (confirm via
|
|
16033
|
+
* `POST /v1/ghii/verify-email`); a `verification_id` is returned. When the node runs with the
|
|
16034
|
+
* email gate on (`AIMEAT_EMAIL_CONFIRMATION_REQUIRED`), an email is REQUIRED — registering
|
|
16035
|
+
* without one → `400 EMAIL_REQUIRED` (OAuth sign-in satisfies the gate, its IdP email being
|
|
16036
|
+
* verified at that instant). An email already verified on another account → `409 EMAIL_TAKEN`.
|
|
15420
16037
|
*/
|
|
15421
16038
|
post: operations["registerGhii"];
|
|
15422
16039
|
/**
|
|
@@ -20285,6 +20902,97 @@ export interface operations {
|
|
|
20285
20902
|
};
|
|
20286
20903
|
};
|
|
20287
20904
|
};
|
|
20905
|
+
unfurlLink: {
|
|
20906
|
+
parameters: {
|
|
20907
|
+
query: {
|
|
20908
|
+
/** @description The http(s) URL to unfurl. */
|
|
20909
|
+
url: string;
|
|
20910
|
+
};
|
|
20911
|
+
header?: never;
|
|
20912
|
+
path?: never;
|
|
20913
|
+
cookie?: never;
|
|
20914
|
+
};
|
|
20915
|
+
requestBody?: never;
|
|
20916
|
+
responses: {
|
|
20917
|
+
/** @description Preview metadata */
|
|
20918
|
+
200: {
|
|
20919
|
+
headers: {
|
|
20920
|
+
[name: string]: unknown;
|
|
20921
|
+
};
|
|
20922
|
+
content: {
|
|
20923
|
+
"application/json": components["schemas"]["AimeatEnvelope"] & {
|
|
20924
|
+
data?: {
|
|
20925
|
+
url?: string;
|
|
20926
|
+
resolvedUrl?: string;
|
|
20927
|
+
title?: string | null;
|
|
20928
|
+
description?: string | null;
|
|
20929
|
+
/** @description Absolute image URL; fetch it via /v1/unfurl/image (the SPA CSP forbids remote image hosts). */
|
|
20930
|
+
image?: string | null;
|
|
20931
|
+
siteName?: string | null;
|
|
20932
|
+
};
|
|
20933
|
+
};
|
|
20934
|
+
};
|
|
20935
|
+
};
|
|
20936
|
+
/** @description Missing or non-http(s) url parameter */
|
|
20937
|
+
400: {
|
|
20938
|
+
headers: {
|
|
20939
|
+
[name: string]: unknown;
|
|
20940
|
+
};
|
|
20941
|
+
content?: never;
|
|
20942
|
+
};
|
|
20943
|
+
/** @description The link could not be fetched (blocked by the SSRF guard, timeout, or network error) */
|
|
20944
|
+
422: {
|
|
20945
|
+
headers: {
|
|
20946
|
+
[name: string]: unknown;
|
|
20947
|
+
};
|
|
20948
|
+
content?: never;
|
|
20949
|
+
};
|
|
20950
|
+
};
|
|
20951
|
+
};
|
|
20952
|
+
unfurlImage: {
|
|
20953
|
+
parameters: {
|
|
20954
|
+
query: {
|
|
20955
|
+
/** @description The http(s) image URL to proxy. */
|
|
20956
|
+
url: string;
|
|
20957
|
+
};
|
|
20958
|
+
header?: never;
|
|
20959
|
+
path?: never;
|
|
20960
|
+
cookie?: never;
|
|
20961
|
+
};
|
|
20962
|
+
requestBody?: never;
|
|
20963
|
+
responses: {
|
|
20964
|
+
/** @description The image bytes */
|
|
20965
|
+
200: {
|
|
20966
|
+
headers: {
|
|
20967
|
+
[name: string]: unknown;
|
|
20968
|
+
};
|
|
20969
|
+
content: {
|
|
20970
|
+
"image/*": string;
|
|
20971
|
+
};
|
|
20972
|
+
};
|
|
20973
|
+
/** @description Missing or non-http(s) url parameter */
|
|
20974
|
+
400: {
|
|
20975
|
+
headers: {
|
|
20976
|
+
[name: string]: unknown;
|
|
20977
|
+
};
|
|
20978
|
+
content?: never;
|
|
20979
|
+
};
|
|
20980
|
+
/** @description The URL did not resolve to an image */
|
|
20981
|
+
415: {
|
|
20982
|
+
headers: {
|
|
20983
|
+
[name: string]: unknown;
|
|
20984
|
+
};
|
|
20985
|
+
content?: never;
|
|
20986
|
+
};
|
|
20987
|
+
/** @description The image could not be fetched (blocked, timeout, or network error) */
|
|
20988
|
+
422: {
|
|
20989
|
+
headers: {
|
|
20990
|
+
[name: string]: unknown;
|
|
20991
|
+
};
|
|
20992
|
+
content?: never;
|
|
20993
|
+
};
|
|
20994
|
+
};
|
|
20995
|
+
};
|
|
20288
20996
|
validateRequest: {
|
|
20289
20997
|
parameters: {
|
|
20290
20998
|
query?: never;
|
|
@@ -20954,7 +21662,14 @@ export interface operations {
|
|
|
20954
21662
|
requestBody: {
|
|
20955
21663
|
content: {
|
|
20956
21664
|
"application/json": {
|
|
20957
|
-
/**
|
|
21665
|
+
/**
|
|
21666
|
+
* @description The target account: either the account HANDLE (e.g. `alice`) or the account's
|
|
21667
|
+
* VERIFIED email address (case-insensitive). A value containing `@` is resolved as an
|
|
21668
|
+
* email to the owning account's handle. No account with that verified email → 404
|
|
21669
|
+
* `NO_ACCOUNT`; malformed email → 400 `INVALID_EMAIL`; (should-never-happen) more than
|
|
21670
|
+
* one match → 409 `AMBIGUOUS`. The value only SELECTS which account this request targets
|
|
21671
|
+
* — it is not an authentication factor (the human still approves the device code).
|
|
21672
|
+
*/
|
|
20958
21673
|
owner: string;
|
|
20959
21674
|
/** @description Agent name (3-32 chars, lowercase alphanumeric + hyphens) */
|
|
20960
21675
|
agent_name: string;
|
|
@@ -20997,6 +21712,20 @@ export interface operations {
|
|
|
20997
21712
|
};
|
|
20998
21713
|
};
|
|
20999
21714
|
400: components["responses"]["BadRequest"];
|
|
21715
|
+
/** @description `owner` was an email with no matching verified account (NO_ACCOUNT) */
|
|
21716
|
+
404: {
|
|
21717
|
+
headers: {
|
|
21718
|
+
[name: string]: unknown;
|
|
21719
|
+
};
|
|
21720
|
+
content?: never;
|
|
21721
|
+
};
|
|
21722
|
+
/** @description `owner` email maps to more than one account (AMBIGUOUS — invariant violation) */
|
|
21723
|
+
409: {
|
|
21724
|
+
headers: {
|
|
21725
|
+
[name: string]: unknown;
|
|
21726
|
+
};
|
|
21727
|
+
content?: never;
|
|
21728
|
+
};
|
|
21000
21729
|
/** @description Too many pending requests for this owner */
|
|
21001
21730
|
429: {
|
|
21002
21731
|
headers: {
|
|
@@ -22130,6 +22859,27 @@ export interface operations {
|
|
|
22130
22859
|
};
|
|
22131
22860
|
};
|
|
22132
22861
|
};
|
|
22862
|
+
getAppdevFlowPrompt: {
|
|
22863
|
+
parameters: {
|
|
22864
|
+
query?: {
|
|
22865
|
+
/** @description txt returns the prompt as text/plain instead of the JSON envelope */
|
|
22866
|
+
format?: "txt";
|
|
22867
|
+
};
|
|
22868
|
+
header?: never;
|
|
22869
|
+
path?: never;
|
|
22870
|
+
cookie?: never;
|
|
22871
|
+
};
|
|
22872
|
+
requestBody?: never;
|
|
22873
|
+
responses: {
|
|
22874
|
+
/** @description The flow prompt (JSON envelope, or text/plain with format=txt) */
|
|
22875
|
+
200: {
|
|
22876
|
+
headers: {
|
|
22877
|
+
[name: string]: unknown;
|
|
22878
|
+
};
|
|
22879
|
+
content?: never;
|
|
22880
|
+
};
|
|
22881
|
+
};
|
|
22882
|
+
};
|
|
22133
22883
|
listLibraryPacks: {
|
|
22134
22884
|
parameters: {
|
|
22135
22885
|
query?: {
|
|
@@ -22248,6 +22998,240 @@ export interface operations {
|
|
|
22248
22998
|
};
|
|
22249
22999
|
};
|
|
22250
23000
|
};
|
|
23001
|
+
getAppdevOverview: {
|
|
23002
|
+
parameters: {
|
|
23003
|
+
query?: {
|
|
23004
|
+
model?: string;
|
|
23005
|
+
/** @description Comma-separated subset of apps,library_packs,app_templates,skills,pitfalls_curated,pitfalls_learned,template_proposals */
|
|
23006
|
+
sections?: string;
|
|
23007
|
+
};
|
|
23008
|
+
header?: never;
|
|
23009
|
+
path?: never;
|
|
23010
|
+
cookie?: never;
|
|
23011
|
+
};
|
|
23012
|
+
requestBody?: never;
|
|
23013
|
+
responses: {
|
|
23014
|
+
/** @description The overview sections (indexes + drill-down pointers) */
|
|
23015
|
+
200: {
|
|
23016
|
+
headers: {
|
|
23017
|
+
[name: string]: unknown;
|
|
23018
|
+
};
|
|
23019
|
+
content?: never;
|
|
23020
|
+
};
|
|
23021
|
+
401: components["responses"]["Unauthorized"];
|
|
23022
|
+
};
|
|
23023
|
+
};
|
|
23024
|
+
listLearnedAppdevPitfalls: {
|
|
23025
|
+
parameters: {
|
|
23026
|
+
query?: {
|
|
23027
|
+
include_shared?: boolean;
|
|
23028
|
+
};
|
|
23029
|
+
header?: never;
|
|
23030
|
+
path?: never;
|
|
23031
|
+
cookie?: never;
|
|
23032
|
+
};
|
|
23033
|
+
requestBody?: never;
|
|
23034
|
+
responses: {
|
|
23035
|
+
/** @description data.pitfalls (full bodies) + data.total */
|
|
23036
|
+
200: {
|
|
23037
|
+
headers: {
|
|
23038
|
+
[name: string]: unknown;
|
|
23039
|
+
};
|
|
23040
|
+
content?: never;
|
|
23041
|
+
};
|
|
23042
|
+
401: components["responses"]["Unauthorized"];
|
|
23043
|
+
};
|
|
23044
|
+
};
|
|
23045
|
+
deleteLearnedAppdevPitfall: {
|
|
23046
|
+
parameters: {
|
|
23047
|
+
query?: never;
|
|
23048
|
+
header?: never;
|
|
23049
|
+
path: {
|
|
23050
|
+
category: string;
|
|
23051
|
+
slug: string;
|
|
23052
|
+
};
|
|
23053
|
+
cookie?: never;
|
|
23054
|
+
};
|
|
23055
|
+
requestBody?: never;
|
|
23056
|
+
responses: {
|
|
23057
|
+
/** @description data.deleted = true */
|
|
23058
|
+
200: {
|
|
23059
|
+
headers: {
|
|
23060
|
+
[name: string]: unknown;
|
|
23061
|
+
};
|
|
23062
|
+
content?: never;
|
|
23063
|
+
};
|
|
23064
|
+
/** @description No such learned pitfall in the caller's scope */
|
|
23065
|
+
404: {
|
|
23066
|
+
headers: {
|
|
23067
|
+
[name: string]: unknown;
|
|
23068
|
+
};
|
|
23069
|
+
content?: never;
|
|
23070
|
+
};
|
|
23071
|
+
};
|
|
23072
|
+
};
|
|
23073
|
+
updateLearnedAppdevPitfall: {
|
|
23074
|
+
parameters: {
|
|
23075
|
+
query?: never;
|
|
23076
|
+
header?: never;
|
|
23077
|
+
path: {
|
|
23078
|
+
category: string;
|
|
23079
|
+
slug: string;
|
|
23080
|
+
};
|
|
23081
|
+
cookie?: never;
|
|
23082
|
+
};
|
|
23083
|
+
requestBody: {
|
|
23084
|
+
content: {
|
|
23085
|
+
"application/json": {
|
|
23086
|
+
/** @description true = public (platform-wide) */
|
|
23087
|
+
share?: boolean;
|
|
23088
|
+
/** @enum {string} */
|
|
23089
|
+
status?: "active" | "outdated";
|
|
23090
|
+
};
|
|
23091
|
+
};
|
|
23092
|
+
};
|
|
23093
|
+
responses: {
|
|
23094
|
+
/** @description The updated entry (data.pitfall) */
|
|
23095
|
+
200: {
|
|
23096
|
+
headers: {
|
|
23097
|
+
[name: string]: unknown;
|
|
23098
|
+
};
|
|
23099
|
+
content?: never;
|
|
23100
|
+
};
|
|
23101
|
+
400: components["responses"]["BadRequest"];
|
|
23102
|
+
/** @description No such learned pitfall in the caller's scope */
|
|
23103
|
+
404: {
|
|
23104
|
+
headers: {
|
|
23105
|
+
[name: string]: unknown;
|
|
23106
|
+
};
|
|
23107
|
+
content?: never;
|
|
23108
|
+
};
|
|
23109
|
+
};
|
|
23110
|
+
};
|
|
23111
|
+
listAppdevTemplateProposals: {
|
|
23112
|
+
parameters: {
|
|
23113
|
+
query?: never;
|
|
23114
|
+
header?: never;
|
|
23115
|
+
path?: never;
|
|
23116
|
+
cookie?: never;
|
|
23117
|
+
};
|
|
23118
|
+
requestBody?: never;
|
|
23119
|
+
responses: {
|
|
23120
|
+
/** @description data.templates + data.total */
|
|
23121
|
+
200: {
|
|
23122
|
+
headers: {
|
|
23123
|
+
[name: string]: unknown;
|
|
23124
|
+
};
|
|
23125
|
+
content?: never;
|
|
23126
|
+
};
|
|
23127
|
+
401: components["responses"]["Unauthorized"];
|
|
23128
|
+
};
|
|
23129
|
+
};
|
|
23130
|
+
getAppdevTemplateProposal: {
|
|
23131
|
+
parameters: {
|
|
23132
|
+
query?: never;
|
|
23133
|
+
header?: never;
|
|
23134
|
+
path: {
|
|
23135
|
+
id: string;
|
|
23136
|
+
};
|
|
23137
|
+
cookie?: never;
|
|
23138
|
+
};
|
|
23139
|
+
requestBody?: never;
|
|
23140
|
+
responses: {
|
|
23141
|
+
/** @description data.template + data.source_app */
|
|
23142
|
+
200: {
|
|
23143
|
+
headers: {
|
|
23144
|
+
[name: string]: unknown;
|
|
23145
|
+
};
|
|
23146
|
+
content?: never;
|
|
23147
|
+
};
|
|
23148
|
+
/** @description No such template proposal */
|
|
23149
|
+
404: {
|
|
23150
|
+
headers: {
|
|
23151
|
+
[name: string]: unknown;
|
|
23152
|
+
};
|
|
23153
|
+
content?: never;
|
|
23154
|
+
};
|
|
23155
|
+
};
|
|
23156
|
+
};
|
|
23157
|
+
deleteAppdevTemplateProposal: {
|
|
23158
|
+
parameters: {
|
|
23159
|
+
query?: never;
|
|
23160
|
+
header?: never;
|
|
23161
|
+
path: {
|
|
23162
|
+
id: string;
|
|
23163
|
+
};
|
|
23164
|
+
cookie?: never;
|
|
23165
|
+
};
|
|
23166
|
+
requestBody?: never;
|
|
23167
|
+
responses: {
|
|
23168
|
+
/** @description data.deleted = true */
|
|
23169
|
+
200: {
|
|
23170
|
+
headers: {
|
|
23171
|
+
[name: string]: unknown;
|
|
23172
|
+
};
|
|
23173
|
+
content?: never;
|
|
23174
|
+
};
|
|
23175
|
+
/** @description No such template proposal */
|
|
23176
|
+
404: {
|
|
23177
|
+
headers: {
|
|
23178
|
+
[name: string]: unknown;
|
|
23179
|
+
};
|
|
23180
|
+
content?: never;
|
|
23181
|
+
};
|
|
23182
|
+
};
|
|
23183
|
+
};
|
|
23184
|
+
listAppdevPitfalls: {
|
|
23185
|
+
parameters: {
|
|
23186
|
+
query?: {
|
|
23187
|
+
applies_to?: "app" | "auth" | "ext" | "cortex" | "iam" | "realtime" | "ai" | "mobile" | "publish";
|
|
23188
|
+
severity?: "info" | "warn" | "critical";
|
|
23189
|
+
limit?: number;
|
|
23190
|
+
offset?: number;
|
|
23191
|
+
include_outdated?: boolean;
|
|
23192
|
+
};
|
|
23193
|
+
header?: never;
|
|
23194
|
+
path?: never;
|
|
23195
|
+
cookie?: never;
|
|
23196
|
+
};
|
|
23197
|
+
requestBody?: never;
|
|
23198
|
+
responses: {
|
|
23199
|
+
/** @description Paginated pitfall index (data.pitfalls, data.total, data.facets) */
|
|
23200
|
+
200: {
|
|
23201
|
+
headers: {
|
|
23202
|
+
[name: string]: unknown;
|
|
23203
|
+
};
|
|
23204
|
+
content?: never;
|
|
23205
|
+
};
|
|
23206
|
+
};
|
|
23207
|
+
};
|
|
23208
|
+
getAppdevPitfall: {
|
|
23209
|
+
parameters: {
|
|
23210
|
+
query?: never;
|
|
23211
|
+
header?: never;
|
|
23212
|
+
path: {
|
|
23213
|
+
id: string;
|
|
23214
|
+
};
|
|
23215
|
+
cookie?: never;
|
|
23216
|
+
};
|
|
23217
|
+
requestBody?: never;
|
|
23218
|
+
responses: {
|
|
23219
|
+
/** @description The pitfall entry (data.pitfall) */
|
|
23220
|
+
200: {
|
|
23221
|
+
headers: {
|
|
23222
|
+
[name: string]: unknown;
|
|
23223
|
+
};
|
|
23224
|
+
content?: never;
|
|
23225
|
+
};
|
|
23226
|
+
/** @description No such pitfall */
|
|
23227
|
+
404: {
|
|
23228
|
+
headers: {
|
|
23229
|
+
[name: string]: unknown;
|
|
23230
|
+
};
|
|
23231
|
+
content?: never;
|
|
23232
|
+
};
|
|
23233
|
+
};
|
|
23234
|
+
};
|
|
22251
23235
|
listMemory: {
|
|
22252
23236
|
parameters: {
|
|
22253
23237
|
query?: {
|
|
@@ -22837,6 +23821,531 @@ export interface operations {
|
|
|
22837
23821
|
403: components["responses"]["AimeatError"];
|
|
22838
23822
|
};
|
|
22839
23823
|
};
|
|
23824
|
+
appCost: {
|
|
23825
|
+
parameters: {
|
|
23826
|
+
query: {
|
|
23827
|
+
/** @description App id ("owner/filename") whose sourcing cost & contracts to return. */
|
|
23828
|
+
app_id: string;
|
|
23829
|
+
};
|
|
23830
|
+
header?: never;
|
|
23831
|
+
path?: never;
|
|
23832
|
+
cookie?: never;
|
|
23833
|
+
};
|
|
23834
|
+
requestBody?: never;
|
|
23835
|
+
responses: {
|
|
23836
|
+
200: components["responses"]["AimeatSuccess"];
|
|
23837
|
+
400: components["responses"]["AimeatError"];
|
|
23838
|
+
401: components["responses"]["AimeatError"];
|
|
23839
|
+
};
|
|
23840
|
+
};
|
|
23841
|
+
exchangeListEntitlements: {
|
|
23842
|
+
parameters: {
|
|
23843
|
+
query?: never;
|
|
23844
|
+
header?: never;
|
|
23845
|
+
path?: never;
|
|
23846
|
+
cookie?: never;
|
|
23847
|
+
};
|
|
23848
|
+
requestBody?: never;
|
|
23849
|
+
responses: {
|
|
23850
|
+
200: components["responses"]["AimeatSuccess"];
|
|
23851
|
+
401: components["responses"]["AimeatError"];
|
|
23852
|
+
};
|
|
23853
|
+
};
|
|
23854
|
+
exchangeAcceptContract: {
|
|
23855
|
+
parameters: {
|
|
23856
|
+
query?: never;
|
|
23857
|
+
header?: never;
|
|
23858
|
+
path?: never;
|
|
23859
|
+
cookie?: never;
|
|
23860
|
+
};
|
|
23861
|
+
requestBody: {
|
|
23862
|
+
content: {
|
|
23863
|
+
"application/json": {
|
|
23864
|
+
/** @description Preferred — contract an offering by id (ext-action or app-tool). Pins the app-tool interface version. */
|
|
23865
|
+
offering_id?: string;
|
|
23866
|
+
/** @description Legacy path — raw ext-action; required with action + contract_ref when offering_id is omitted. */
|
|
23867
|
+
ext?: string;
|
|
23868
|
+
action?: string;
|
|
23869
|
+
contract_ref?: string;
|
|
23870
|
+
/** @description Spend cap in the price unit (morsels */
|
|
23871
|
+
cap_units?: number;
|
|
23872
|
+
/** @description Consuming app id ("owner/filename") for the per-app cost surface. */
|
|
23873
|
+
app_id?: string;
|
|
23874
|
+
/** @enum {string} */
|
|
23875
|
+
escrow_party?: "consumer" | "provider";
|
|
23876
|
+
/** @description Optional provider pricing plan (bundle / subscription); omit for per-call at the base price. */
|
|
23877
|
+
plan_id?: string;
|
|
23878
|
+
};
|
|
23879
|
+
};
|
|
23880
|
+
};
|
|
23881
|
+
responses: {
|
|
23882
|
+
201: components["responses"]["AimeatSuccess"];
|
|
23883
|
+
400: components["responses"]["AimeatError"];
|
|
23884
|
+
401: components["responses"]["AimeatError"];
|
|
23885
|
+
404: components["responses"]["AimeatError"];
|
|
23886
|
+
};
|
|
23887
|
+
};
|
|
23888
|
+
exchangeEntitlementOff: {
|
|
23889
|
+
parameters: {
|
|
23890
|
+
query?: never;
|
|
23891
|
+
header?: never;
|
|
23892
|
+
path?: never;
|
|
23893
|
+
cookie?: never;
|
|
23894
|
+
};
|
|
23895
|
+
requestBody: {
|
|
23896
|
+
content: {
|
|
23897
|
+
"application/json": {
|
|
23898
|
+
ext: string;
|
|
23899
|
+
action: string;
|
|
23900
|
+
/**
|
|
23901
|
+
* @default pause
|
|
23902
|
+
* @enum {string}
|
|
23903
|
+
*/
|
|
23904
|
+
mode?: "pause" | "revoke";
|
|
23905
|
+
};
|
|
23906
|
+
};
|
|
23907
|
+
};
|
|
23908
|
+
responses: {
|
|
23909
|
+
200: components["responses"]["AimeatSuccess"];
|
|
23910
|
+
400: components["responses"]["AimeatError"];
|
|
23911
|
+
404: components["responses"]["AimeatError"];
|
|
23912
|
+
};
|
|
23913
|
+
};
|
|
23914
|
+
exchangeListProposals: {
|
|
23915
|
+
parameters: {
|
|
23916
|
+
query?: never;
|
|
23917
|
+
header?: never;
|
|
23918
|
+
path?: never;
|
|
23919
|
+
cookie?: never;
|
|
23920
|
+
};
|
|
23921
|
+
requestBody?: never;
|
|
23922
|
+
responses: {
|
|
23923
|
+
200: components["responses"]["AimeatSuccess"];
|
|
23924
|
+
};
|
|
23925
|
+
};
|
|
23926
|
+
exchangeProposeChange: {
|
|
23927
|
+
parameters: {
|
|
23928
|
+
query?: never;
|
|
23929
|
+
header?: never;
|
|
23930
|
+
path?: never;
|
|
23931
|
+
cookie?: never;
|
|
23932
|
+
};
|
|
23933
|
+
requestBody: {
|
|
23934
|
+
content: {
|
|
23935
|
+
"application/json": {
|
|
23936
|
+
ext: string;
|
|
23937
|
+
action: string;
|
|
23938
|
+
/** @description Provider-side: the consumer whose contract to renegotiate. Omit when you are the consumer. */
|
|
23939
|
+
consumer_gaii?: string;
|
|
23940
|
+
/** @description New per-call price in the contract's unit (morsels, or money micro-units). Omit to leave unchanged. */
|
|
23941
|
+
new_price_per_call?: number;
|
|
23942
|
+
/** @description New budget cap. Omit to leave unchanged. */
|
|
23943
|
+
new_cap_units?: number;
|
|
23944
|
+
note?: string;
|
|
23945
|
+
};
|
|
23946
|
+
};
|
|
23947
|
+
};
|
|
23948
|
+
responses: {
|
|
23949
|
+
201: components["responses"]["AimeatSuccess"];
|
|
23950
|
+
400: components["responses"]["AimeatError"];
|
|
23951
|
+
403: components["responses"]["AimeatError"];
|
|
23952
|
+
404: components["responses"]["AimeatError"];
|
|
23953
|
+
};
|
|
23954
|
+
};
|
|
23955
|
+
exchangeAcceptProposal: {
|
|
23956
|
+
parameters: {
|
|
23957
|
+
query?: never;
|
|
23958
|
+
header?: never;
|
|
23959
|
+
path: {
|
|
23960
|
+
id: string;
|
|
23961
|
+
};
|
|
23962
|
+
cookie?: never;
|
|
23963
|
+
};
|
|
23964
|
+
requestBody?: never;
|
|
23965
|
+
responses: {
|
|
23966
|
+
200: components["responses"]["AimeatSuccess"];
|
|
23967
|
+
403: components["responses"]["AimeatError"];
|
|
23968
|
+
404: components["responses"]["AimeatError"];
|
|
23969
|
+
409: components["responses"]["AimeatError"];
|
|
23970
|
+
};
|
|
23971
|
+
};
|
|
23972
|
+
exchangeDeclineProposal: {
|
|
23973
|
+
parameters: {
|
|
23974
|
+
query?: never;
|
|
23975
|
+
header?: never;
|
|
23976
|
+
path: {
|
|
23977
|
+
id: string;
|
|
23978
|
+
};
|
|
23979
|
+
cookie?: never;
|
|
23980
|
+
};
|
|
23981
|
+
requestBody?: never;
|
|
23982
|
+
responses: {
|
|
23983
|
+
200: components["responses"]["AimeatSuccess"];
|
|
23984
|
+
403: components["responses"]["AimeatError"];
|
|
23985
|
+
404: components["responses"]["AimeatError"];
|
|
23986
|
+
};
|
|
23987
|
+
};
|
|
23988
|
+
exchangeWithdrawProposal: {
|
|
23989
|
+
parameters: {
|
|
23990
|
+
query?: never;
|
|
23991
|
+
header?: never;
|
|
23992
|
+
path: {
|
|
23993
|
+
id: string;
|
|
23994
|
+
};
|
|
23995
|
+
cookie?: never;
|
|
23996
|
+
};
|
|
23997
|
+
requestBody?: never;
|
|
23998
|
+
responses: {
|
|
23999
|
+
200: components["responses"]["AimeatSuccess"];
|
|
24000
|
+
403: components["responses"]["AimeatError"];
|
|
24001
|
+
404: components["responses"]["AimeatError"];
|
|
24002
|
+
};
|
|
24003
|
+
};
|
|
24004
|
+
exchangeEntitlementHistory: {
|
|
24005
|
+
parameters: {
|
|
24006
|
+
query?: never;
|
|
24007
|
+
header?: never;
|
|
24008
|
+
path?: never;
|
|
24009
|
+
cookie?: never;
|
|
24010
|
+
};
|
|
24011
|
+
requestBody?: never;
|
|
24012
|
+
responses: {
|
|
24013
|
+
200: components["responses"]["AimeatSuccess"];
|
|
24014
|
+
};
|
|
24015
|
+
};
|
|
24016
|
+
exchangeProviderHistory: {
|
|
24017
|
+
parameters: {
|
|
24018
|
+
query?: never;
|
|
24019
|
+
header?: never;
|
|
24020
|
+
path?: never;
|
|
24021
|
+
cookie?: never;
|
|
24022
|
+
};
|
|
24023
|
+
requestBody?: never;
|
|
24024
|
+
responses: {
|
|
24025
|
+
200: components["responses"]["AimeatSuccess"];
|
|
24026
|
+
};
|
|
24027
|
+
};
|
|
24028
|
+
exchangeListWork: {
|
|
24029
|
+
parameters: {
|
|
24030
|
+
query?: {
|
|
24031
|
+
role?: "consumer" | "provider";
|
|
24032
|
+
};
|
|
24033
|
+
header?: never;
|
|
24034
|
+
path?: never;
|
|
24035
|
+
cookie?: never;
|
|
24036
|
+
};
|
|
24037
|
+
requestBody?: never;
|
|
24038
|
+
responses: {
|
|
24039
|
+
200: components["responses"]["AimeatSuccess"];
|
|
24040
|
+
};
|
|
24041
|
+
};
|
|
24042
|
+
exchangeStartWork: {
|
|
24043
|
+
parameters: {
|
|
24044
|
+
query?: never;
|
|
24045
|
+
header?: never;
|
|
24046
|
+
path?: never;
|
|
24047
|
+
cookie?: never;
|
|
24048
|
+
};
|
|
24049
|
+
requestBody: {
|
|
24050
|
+
content: {
|
|
24051
|
+
"application/json": {
|
|
24052
|
+
offering_id: string;
|
|
24053
|
+
input?: unknown;
|
|
24054
|
+
note?: string;
|
|
24055
|
+
};
|
|
24056
|
+
};
|
|
24057
|
+
};
|
|
24058
|
+
responses: {
|
|
24059
|
+
201: components["responses"]["AimeatSuccess"];
|
|
24060
|
+
400: components["responses"]["AimeatError"];
|
|
24061
|
+
402: components["responses"]["AimeatError"];
|
|
24062
|
+
404: components["responses"]["AimeatError"];
|
|
24063
|
+
};
|
|
24064
|
+
};
|
|
24065
|
+
exchangeDeliverWork: {
|
|
24066
|
+
parameters: {
|
|
24067
|
+
query?: never;
|
|
24068
|
+
header?: never;
|
|
24069
|
+
path: {
|
|
24070
|
+
id: string;
|
|
24071
|
+
};
|
|
24072
|
+
cookie?: never;
|
|
24073
|
+
};
|
|
24074
|
+
requestBody: {
|
|
24075
|
+
content: {
|
|
24076
|
+
"application/json": {
|
|
24077
|
+
output?: unknown;
|
|
24078
|
+
note?: string;
|
|
24079
|
+
};
|
|
24080
|
+
};
|
|
24081
|
+
};
|
|
24082
|
+
responses: {
|
|
24083
|
+
200: components["responses"]["AimeatSuccess"];
|
|
24084
|
+
402: components["responses"]["AimeatError"];
|
|
24085
|
+
404: components["responses"]["AimeatError"];
|
|
24086
|
+
409: components["responses"]["AimeatError"];
|
|
24087
|
+
};
|
|
24088
|
+
};
|
|
24089
|
+
exchangeInfo: {
|
|
24090
|
+
parameters: {
|
|
24091
|
+
query?: never;
|
|
24092
|
+
header?: never;
|
|
24093
|
+
path?: never;
|
|
24094
|
+
cookie?: never;
|
|
24095
|
+
};
|
|
24096
|
+
requestBody?: never;
|
|
24097
|
+
responses: {
|
|
24098
|
+
200: components["responses"]["AimeatSuccess"];
|
|
24099
|
+
};
|
|
24100
|
+
};
|
|
24101
|
+
exchangeBrowseOfferings: {
|
|
24102
|
+
parameters: {
|
|
24103
|
+
query?: {
|
|
24104
|
+
ext?: string;
|
|
24105
|
+
action?: string;
|
|
24106
|
+
q?: string;
|
|
24107
|
+
stats?: "1";
|
|
24108
|
+
};
|
|
24109
|
+
header?: never;
|
|
24110
|
+
path?: never;
|
|
24111
|
+
cookie?: never;
|
|
24112
|
+
};
|
|
24113
|
+
requestBody?: never;
|
|
24114
|
+
responses: {
|
|
24115
|
+
200: components["responses"]["AimeatSuccess"];
|
|
24116
|
+
};
|
|
24117
|
+
};
|
|
24118
|
+
exchangeListOffering: {
|
|
24119
|
+
parameters: {
|
|
24120
|
+
query?: never;
|
|
24121
|
+
header?: never;
|
|
24122
|
+
path?: never;
|
|
24123
|
+
cookie?: never;
|
|
24124
|
+
};
|
|
24125
|
+
requestBody: {
|
|
24126
|
+
content: {
|
|
24127
|
+
"application/json": {
|
|
24128
|
+
/**
|
|
24129
|
+
* @default ext-action
|
|
24130
|
+
* @enum {string}
|
|
24131
|
+
*/
|
|
24132
|
+
kind?: "ext-action" | "app-tool" | "agent-work";
|
|
24133
|
+
/** @description ext-action kind — the extension name. */
|
|
24134
|
+
ext?: string;
|
|
24135
|
+
/** @description ext-action kind — the action id. */
|
|
24136
|
+
action?: string;
|
|
24137
|
+
/** @description app-tool kind — the app filename whose manifest holds the tool. */
|
|
24138
|
+
app_id?: string;
|
|
24139
|
+
/** @description app-tool kind — the tool name in apps.{app_id}.tools. */
|
|
24140
|
+
tool?: string;
|
|
24141
|
+
/** @description agent-work kind — your agent that performs the task. */
|
|
24142
|
+
agent_name?: string;
|
|
24143
|
+
/** @description agent-work kind — the task type it performs. */
|
|
24144
|
+
task_type?: string;
|
|
24145
|
+
/** @description agent-work kind — what the consumer sends (required). */
|
|
24146
|
+
input_schema?: Record<string, never>;
|
|
24147
|
+
/** @description agent-work kind — what the agent delivers (required). */
|
|
24148
|
+
output_schema?: Record<string, never>;
|
|
24149
|
+
/** @description agent-work kind — per-task morsel price. */
|
|
24150
|
+
price_morsels?: number;
|
|
24151
|
+
/** @description agent-work kind — per-task money price { amount (micros), currency }. */
|
|
24152
|
+
price_money?: Record<string, never>;
|
|
24153
|
+
/** @description agent-work kind — optional bundle/subscription plans. */
|
|
24154
|
+
plans?: Record<string, never>[];
|
|
24155
|
+
title?: string;
|
|
24156
|
+
description?: string;
|
|
24157
|
+
provenance?: Record<string, never>;
|
|
24158
|
+
tags?: string[];
|
|
24159
|
+
usage_terms: {
|
|
24160
|
+
derivatives?: boolean;
|
|
24161
|
+
resale?: boolean;
|
|
24162
|
+
attribution?: boolean;
|
|
24163
|
+
note?: string;
|
|
24164
|
+
};
|
|
24165
|
+
};
|
|
24166
|
+
};
|
|
24167
|
+
};
|
|
24168
|
+
responses: {
|
|
24169
|
+
201: components["responses"]["AimeatSuccess"];
|
|
24170
|
+
400: components["responses"]["AimeatError"];
|
|
24171
|
+
403: components["responses"]["AimeatError"];
|
|
24172
|
+
404: components["responses"]["AimeatError"];
|
|
24173
|
+
};
|
|
24174
|
+
};
|
|
24175
|
+
exchangeOfferingDetail: {
|
|
24176
|
+
parameters: {
|
|
24177
|
+
query?: never;
|
|
24178
|
+
header?: never;
|
|
24179
|
+
path: {
|
|
24180
|
+
id: string;
|
|
24181
|
+
};
|
|
24182
|
+
cookie?: never;
|
|
24183
|
+
};
|
|
24184
|
+
requestBody?: never;
|
|
24185
|
+
responses: {
|
|
24186
|
+
200: components["responses"]["AimeatSuccess"];
|
|
24187
|
+
404: components["responses"]["AimeatError"];
|
|
24188
|
+
};
|
|
24189
|
+
};
|
|
24190
|
+
exchangeDelistOffering: {
|
|
24191
|
+
parameters: {
|
|
24192
|
+
query?: never;
|
|
24193
|
+
header?: never;
|
|
24194
|
+
path: {
|
|
24195
|
+
id: string;
|
|
24196
|
+
};
|
|
24197
|
+
cookie?: never;
|
|
24198
|
+
};
|
|
24199
|
+
requestBody?: never;
|
|
24200
|
+
responses: {
|
|
24201
|
+
200: components["responses"]["AimeatSuccess"];
|
|
24202
|
+
404: components["responses"]["AimeatError"];
|
|
24203
|
+
};
|
|
24204
|
+
};
|
|
24205
|
+
exchangeOfferingConsumers: {
|
|
24206
|
+
parameters: {
|
|
24207
|
+
query?: never;
|
|
24208
|
+
header?: never;
|
|
24209
|
+
path: {
|
|
24210
|
+
id: string;
|
|
24211
|
+
};
|
|
24212
|
+
cookie?: never;
|
|
24213
|
+
};
|
|
24214
|
+
requestBody?: never;
|
|
24215
|
+
responses: {
|
|
24216
|
+
200: components["responses"]["AimeatSuccess"];
|
|
24217
|
+
404: components["responses"]["AimeatError"];
|
|
24218
|
+
};
|
|
24219
|
+
};
|
|
24220
|
+
exchangeBrowseNeeds: {
|
|
24221
|
+
parameters: {
|
|
24222
|
+
query?: {
|
|
24223
|
+
open?: string;
|
|
24224
|
+
mine?: string;
|
|
24225
|
+
};
|
|
24226
|
+
header?: never;
|
|
24227
|
+
path?: never;
|
|
24228
|
+
cookie?: never;
|
|
24229
|
+
};
|
|
24230
|
+
requestBody?: never;
|
|
24231
|
+
responses: {
|
|
24232
|
+
200: components["responses"]["AimeatSuccess"];
|
|
24233
|
+
};
|
|
24234
|
+
};
|
|
24235
|
+
exchangePostNeed: {
|
|
24236
|
+
parameters: {
|
|
24237
|
+
query?: never;
|
|
24238
|
+
header?: never;
|
|
24239
|
+
path?: never;
|
|
24240
|
+
cookie?: never;
|
|
24241
|
+
};
|
|
24242
|
+
requestBody: {
|
|
24243
|
+
content: {
|
|
24244
|
+
"application/json": {
|
|
24245
|
+
description: string;
|
|
24246
|
+
/** @description REQUIRED — the requesting app (owner/filename). A need is always posted on behalf of the app that needs the data. */
|
|
24247
|
+
app_id: string;
|
|
24248
|
+
ext?: string;
|
|
24249
|
+
action?: string;
|
|
24250
|
+
/** @description The interface the app is waiting to call. */
|
|
24251
|
+
spec?: {
|
|
24252
|
+
requiredFields?: string[];
|
|
24253
|
+
format?: string;
|
|
24254
|
+
sample?: string;
|
|
24255
|
+
notes?: string;
|
|
24256
|
+
/** @description The shape the app will SEND on each call. */
|
|
24257
|
+
inputSchema?: Record<string, never>;
|
|
24258
|
+
/** @description The shape the app EXPECTS back (a provider builds a matching app-tool). */
|
|
24259
|
+
outputSchema?: Record<string, never>;
|
|
24260
|
+
};
|
|
24261
|
+
/** @description How the requester will USE the data — lets a provider judge before serving. */
|
|
24262
|
+
usage_intent?: string;
|
|
24263
|
+
/** @enum {string} */
|
|
24264
|
+
budget_unit?: "money" | "morsels";
|
|
24265
|
+
budget_cap?: number;
|
|
24266
|
+
/** @enum {string} */
|
|
24267
|
+
autonomy?: "supervised" | "auto";
|
|
24268
|
+
};
|
|
24269
|
+
};
|
|
24270
|
+
};
|
|
24271
|
+
responses: {
|
|
24272
|
+
201: components["responses"]["AimeatSuccess"];
|
|
24273
|
+
400: components["responses"]["AimeatError"];
|
|
24274
|
+
};
|
|
24275
|
+
};
|
|
24276
|
+
exchangeCloseNeed: {
|
|
24277
|
+
parameters: {
|
|
24278
|
+
query?: never;
|
|
24279
|
+
header?: never;
|
|
24280
|
+
path: {
|
|
24281
|
+
id: string;
|
|
24282
|
+
};
|
|
24283
|
+
cookie?: never;
|
|
24284
|
+
};
|
|
24285
|
+
requestBody?: never;
|
|
24286
|
+
responses: {
|
|
24287
|
+
200: components["responses"]["AimeatSuccess"];
|
|
24288
|
+
404: components["responses"]["AimeatError"];
|
|
24289
|
+
};
|
|
24290
|
+
};
|
|
24291
|
+
exchangeListBids: {
|
|
24292
|
+
parameters: {
|
|
24293
|
+
query?: never;
|
|
24294
|
+
header?: never;
|
|
24295
|
+
path: {
|
|
24296
|
+
id: string;
|
|
24297
|
+
};
|
|
24298
|
+
cookie?: never;
|
|
24299
|
+
};
|
|
24300
|
+
requestBody?: never;
|
|
24301
|
+
responses: {
|
|
24302
|
+
200: components["responses"]["AimeatSuccess"];
|
|
24303
|
+
};
|
|
24304
|
+
};
|
|
24305
|
+
exchangeBidOnNeed: {
|
|
24306
|
+
parameters: {
|
|
24307
|
+
query?: never;
|
|
24308
|
+
header?: never;
|
|
24309
|
+
path: {
|
|
24310
|
+
id: string;
|
|
24311
|
+
};
|
|
24312
|
+
cookie?: never;
|
|
24313
|
+
};
|
|
24314
|
+
requestBody: {
|
|
24315
|
+
content: {
|
|
24316
|
+
"application/json": {
|
|
24317
|
+
ext: string;
|
|
24318
|
+
action: string;
|
|
24319
|
+
offering_id?: string;
|
|
24320
|
+
plan_id?: string;
|
|
24321
|
+
note?: string;
|
|
24322
|
+
};
|
|
24323
|
+
};
|
|
24324
|
+
};
|
|
24325
|
+
responses: {
|
|
24326
|
+
201: components["responses"]["AimeatSuccess"];
|
|
24327
|
+
400: components["responses"]["AimeatError"];
|
|
24328
|
+
403: components["responses"]["AimeatError"];
|
|
24329
|
+
409: components["responses"]["AimeatError"];
|
|
24330
|
+
};
|
|
24331
|
+
};
|
|
24332
|
+
exchangeAcceptBid: {
|
|
24333
|
+
parameters: {
|
|
24334
|
+
query?: never;
|
|
24335
|
+
header?: never;
|
|
24336
|
+
path: {
|
|
24337
|
+
id: string;
|
|
24338
|
+
bidId: string;
|
|
24339
|
+
};
|
|
24340
|
+
cookie?: never;
|
|
24341
|
+
};
|
|
24342
|
+
requestBody?: never;
|
|
24343
|
+
responses: {
|
|
24344
|
+
201: components["responses"]["AimeatSuccess"];
|
|
24345
|
+
400: components["responses"]["AimeatError"];
|
|
24346
|
+
404: components["responses"]["AimeatError"];
|
|
24347
|
+
};
|
|
24348
|
+
};
|
|
22840
24349
|
ledgerBilling: {
|
|
22841
24350
|
parameters: {
|
|
22842
24351
|
query?: {
|
|
@@ -33272,6 +34781,32 @@ export interface operations {
|
|
|
33272
34781
|
};
|
|
33273
34782
|
};
|
|
33274
34783
|
};
|
|
34784
|
+
clearNotifications: {
|
|
34785
|
+
parameters: {
|
|
34786
|
+
query?: never;
|
|
34787
|
+
header?: never;
|
|
34788
|
+
path?: never;
|
|
34789
|
+
cookie?: never;
|
|
34790
|
+
};
|
|
34791
|
+
requestBody?: {
|
|
34792
|
+
content: {
|
|
34793
|
+
"application/json": {
|
|
34794
|
+
/** @description Notification ids to clear (omit to clear all) */
|
|
34795
|
+
ids?: string[];
|
|
34796
|
+
};
|
|
34797
|
+
};
|
|
34798
|
+
};
|
|
34799
|
+
responses: {
|
|
34800
|
+
/** @description Count cleared ({ cleared }) */
|
|
34801
|
+
200: {
|
|
34802
|
+
headers: {
|
|
34803
|
+
[name: string]: unknown;
|
|
34804
|
+
};
|
|
34805
|
+
content?: never;
|
|
34806
|
+
};
|
|
34807
|
+
401: components["responses"]["Unauthorized"];
|
|
34808
|
+
};
|
|
34809
|
+
};
|
|
33275
34810
|
markNotificationsRead: {
|
|
33276
34811
|
parameters: {
|
|
33277
34812
|
query?: never;
|
|
@@ -46729,6 +48264,11 @@ export interface operations {
|
|
|
46729
48264
|
locale?: string;
|
|
46730
48265
|
/** @description Optional; min 8 chars */
|
|
46731
48266
|
password?: string;
|
|
48267
|
+
/**
|
|
48268
|
+
* Format: email
|
|
48269
|
+
* @description Optional; REQUIRED when the email gate is on. Recorded + a verification code sent.
|
|
48270
|
+
*/
|
|
48271
|
+
email?: string;
|
|
46732
48272
|
};
|
|
46733
48273
|
};
|
|
46734
48274
|
};
|
|
@@ -46755,6 +48295,10 @@ export interface operations {
|
|
|
46755
48295
|
name?: string;
|
|
46756
48296
|
roles?: string[];
|
|
46757
48297
|
};
|
|
48298
|
+
/** @description Present when an email was supplied; confirm it via POST /v1/ghii/verify-email */
|
|
48299
|
+
verification_id?: string | null;
|
|
48300
|
+
/** @description Whether a verification email was dispatched (email service must be enabled) */
|
|
48301
|
+
email_sent?: boolean;
|
|
46758
48302
|
private_key?: string;
|
|
46759
48303
|
public_key?: string;
|
|
46760
48304
|
has_password?: boolean;
|
|
@@ -46763,8 +48307,20 @@ export interface operations {
|
|
|
46763
48307
|
};
|
|
46764
48308
|
};
|
|
46765
48309
|
};
|
|
46766
|
-
|
|
46767
|
-
|
|
48310
|
+
/** @description Invalid input, or EMAIL_REQUIRED when the node's email gate is on and no email was supplied */
|
|
48311
|
+
400: {
|
|
48312
|
+
headers: {
|
|
48313
|
+
[name: string]: unknown;
|
|
48314
|
+
};
|
|
48315
|
+
content?: never;
|
|
48316
|
+
};
|
|
48317
|
+
/** @description NAME_TAKEN, or EMAIL_TAKEN when the email is already verified on another account */
|
|
48318
|
+
409: {
|
|
48319
|
+
headers: {
|
|
48320
|
+
[name: string]: unknown;
|
|
48321
|
+
};
|
|
48322
|
+
content?: never;
|
|
48323
|
+
};
|
|
46768
48324
|
};
|
|
46769
48325
|
};
|
|
46770
48326
|
deleteGhii: {
|