@capybara-hq/kernel 0.1.0-rc.4 → 0.1.0-rc.6
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/bootstrap.json +61 -5
- package/dist/admin/admin.controller.d.ts +51 -14
- package/dist/admin/admin.controller.js +60 -19
- package/dist/admin/extensions.controller.d.ts +16 -2
- package/dist/admin/extensions.controller.js +26 -6
- package/dist/admin/setup-lock.d.ts +1 -1
- package/dist/admin/setup-lock.js +1 -1
- package/dist/admin/setup.controller.d.ts +1 -1
- package/dist/admin/setup.controller.js +1 -1
- package/dist/admin/setup.service.d.ts +4 -4
- package/dist/admin/setup.service.js +8 -8
- package/dist/agents/agent-lookup.d.ts +16 -0
- package/dist/agents/agent-lookup.js +11 -0
- package/dist/agents/agents.controller.d.ts +76 -1
- package/dist/agents/agents.controller.js +90 -11
- package/dist/agents/agents.module.d.ts +4 -1
- package/dist/agents/agents.module.js +32 -6
- package/dist/agents/agents.service.d.ts +54 -23
- package/dist/agents/agents.service.js +180 -76
- package/dist/agents/definition.d.ts +49 -0
- package/dist/agents/definition.js +45 -0
- package/dist/agents/from-template.d.ts +106 -0
- package/dist/agents/from-template.js +649 -0
- package/dist/agents/from-template.service.d.ts +60 -0
- package/dist/agents/from-template.service.js +161 -0
- package/dist/agents/models.controller.d.ts +34 -5
- package/dist/agents/models.controller.js +50 -6
- package/dist/agents/org-templates.d.ts +176 -0
- package/dist/agents/org-templates.js +827 -0
- package/dist/agents/pending-connector-requests.d.ts +77 -0
- package/dist/agents/pending-connector-requests.js +215 -0
- package/dist/agents/pending-connectors.controller.d.ts +39 -0
- package/dist/agents/pending-connectors.controller.js +91 -0
- package/dist/agents/pending-connectors.service.d.ts +62 -0
- package/dist/agents/pending-connectors.service.js +282 -0
- package/dist/agents/readiness.controller.d.ts +5 -5
- package/dist/agents/readiness.controller.js +6 -6
- package/dist/agents/templates.controller.d.ts +86 -5
- package/dist/agents/templates.controller.js +171 -7
- package/dist/agents/templates.d.ts +127 -23
- package/dist/agents/templates.js +475 -52
- package/dist/background/background.module.js +8 -1
- package/dist/background/finish.d.ts +3 -2
- package/dist/background/launch-lock.d.ts +4 -3
- package/dist/background/launch-lock.js +4 -3
- package/dist/background/poll.job.d.ts +9 -6
- package/dist/background/poll.job.js +30 -22
- package/dist/background/session.d.ts +13 -2
- package/dist/background/session.js +13 -0
- package/dist/background/stop.d.ts +12 -6
- package/dist/background/stop.js +57 -39
- package/dist/background/store.d.ts +18 -6
- package/dist/background/store.js +12 -6
- package/dist/background/tasks.service.d.ts +15 -5
- package/dist/background/tasks.service.js +42 -17
- package/dist/background/wake-rules.d.ts +27 -18
- package/dist/background/wake-rules.js +52 -22
- package/dist/background/wake.d.ts +13 -11
- package/dist/background/wake.js +20 -14
- package/dist/catalog/admin-catalog.controller.d.ts +129 -30
- package/dist/catalog/admin-catalog.controller.js +213 -42
- package/dist/catalog/catalog-content.d.ts +58 -32
- package/dist/catalog/catalog-content.js +34 -8
- package/dist/catalog/catalog-import.module.d.ts +7 -0
- package/dist/catalog/catalog-import.module.js +60 -0
- package/dist/catalog/catalog-items.d.ts +111 -7
- package/dist/catalog/catalog-items.js +279 -13
- package/dist/catalog/catalog-scope.service.d.ts +260 -0
- package/dist/catalog/catalog-scope.service.js +1116 -0
- package/dist/catalog/catalog.module.d.ts +7 -9
- package/dist/catalog/catalog.module.js +41 -31
- package/dist/catalog/catalog.service.d.ts +101 -29
- package/dist/catalog/catalog.service.js +104 -106
- package/dist/catalog/cli.d.ts +11 -1
- package/dist/catalog/cli.js +26 -1
- package/dist/catalog/component-promotion.d.ts +96 -0
- package/dist/catalog/component-promotion.js +395 -0
- package/dist/catalog/component-scope.controller.d.ts +152 -0
- package/dist/catalog/component-scope.controller.js +287 -0
- package/dist/catalog/component-scope.service.d.ts +303 -0
- package/dist/catalog/component-scope.service.js +936 -0
- package/dist/catalog/component-state.d.ts +174 -0
- package/dist/catalog/component-state.js +437 -0
- package/dist/catalog/job-ids.d.ts +30 -0
- package/dist/catalog/job-ids.js +25 -0
- package/dist/catalog/marketplace-fetch.d.ts +1 -1
- package/dist/catalog/marketplaces.controller.d.ts +22 -5
- package/dist/catalog/marketplaces.controller.js +56 -7
- package/dist/catalog/marketplaces.service.d.ts +54 -14
- package/dist/catalog/marketplaces.service.js +71 -22
- package/dist/catalog/org-catalog.controller.d.ts +125 -34
- package/dist/catalog/org-catalog.controller.js +181 -65
- package/dist/catalog/org-catalog.service.d.ts +65 -33
- package/dist/catalog/org-catalog.service.js +324 -157
- package/dist/catalog/org-extension-switch.d.ts +41 -0
- package/dist/catalog/org-extension-switch.js +115 -0
- package/dist/catalog/org-extension.controller.d.ts +119 -0
- package/dist/catalog/org-extension.controller.js +266 -0
- package/dist/catalog/org-plugin-uploads.controller.d.ts +98 -0
- package/dist/catalog/org-plugin-uploads.controller.js +213 -0
- package/dist/catalog/org-plugin-uploads.d.ts +63 -0
- package/dist/catalog/org-plugin-uploads.js +116 -0
- package/dist/catalog/owned-items.d.ts +184 -0
- package/dist/catalog/owned-items.js +789 -0
- package/dist/catalog/owned-plugin-cleanup.d.ts +56 -0
- package/dist/catalog/owned-plugin-cleanup.js +194 -0
- package/dist/catalog/ownership.d.ts +172 -0
- package/dist/catalog/ownership.js +326 -0
- package/dist/catalog/platform-components.d.ts +221 -0
- package/dist/catalog/platform-components.js +761 -0
- package/dist/catalog/platform-migration.d.ts +115 -0
- package/dist/catalog/platform-migration.js +582 -0
- package/dist/catalog/plugin-import.d.ts +178 -34
- package/dist/catalog/plugin-import.js +622 -82
- package/dist/catalog/plugin-install.d.ts +185 -41
- package/dist/catalog/plugin-install.js +758 -126
- package/dist/catalog/plugin-upgrade.d.ts +260 -225
- package/dist/catalog/plugin-upgrade.js +1147 -1136
- package/dist/catalog/request-rules.d.ts +65 -0
- package/dist/catalog/request-rules.js +217 -0
- package/dist/catalog/requests.service.d.ts +193 -118
- package/dist/catalog/requests.service.js +526 -343
- package/dist/catalog/reserved-names.d.ts +8 -0
- package/dist/catalog/reserved-names.js +42 -0
- package/dist/catalog/scope-orgs.d.ts +21 -0
- package/dist/catalog/scope-orgs.js +67 -0
- package/dist/catalog/scope-state.d.ts +35 -0
- package/dist/catalog/scope-state.js +87 -0
- package/dist/catalog/scope-sync-workers.d.ts +7 -0
- package/dist/catalog/scope-sync-workers.js +29 -0
- package/dist/catalog/scope-sync.d.ts +176 -0
- package/dist/catalog/scope-sync.js +576 -0
- package/dist/catalog/scope.d.ts +42 -0
- package/dist/catalog/scope.js +42 -0
- package/dist/catalog/unshare.d.ts +22 -0
- package/dist/catalog/unshare.js +118 -0
- package/dist/channels/actions.js +1 -0
- package/dist/channels/cards.js +20 -2
- package/dist/channels/channels.module.js +2 -0
- package/dist/channels/inbound.d.ts +9 -1
- package/dist/channels/inbound.js +67 -5
- package/dist/channels/phrases.d.ts +35 -0
- package/dist/channels/phrases.js +29 -0
- package/dist/config/docs.js +3 -1
- package/dist/config/schema.d.ts +10 -2
- package/dist/config/schema.js +70 -22
- package/dist/conversations/access.d.ts +6 -4
- package/dist/conversations/access.js +27 -5
- package/dist/conversations/agent-tree.d.ts +46 -0
- package/dist/conversations/agent-tree.js +92 -0
- package/dist/conversations/conversations.controller.d.ts +43 -18
- package/dist/conversations/conversations.controller.js +79 -38
- package/dist/conversations/conversations.module.d.ts +1 -1
- package/dist/conversations/conversations.module.js +7 -7
- package/dist/conversations/conversations.service.d.ts +73 -15
- package/dist/conversations/conversations.service.js +115 -35
- package/dist/conversations/environment-status.d.ts +24 -0
- package/dist/conversations/environment-status.js +71 -0
- package/dist/conversations/event-log.d.ts +20 -5
- package/dist/conversations/event-log.js +60 -0
- package/dist/conversations/events.d.ts +84 -2
- package/dist/conversations/events.js +91 -17
- package/dist/conversations/queue.service.d.ts +1 -1
- package/dist/conversations/queue.service.js +5 -0
- package/dist/conversations/titles.d.ts +5 -3
- package/dist/conversations/titles.js +21 -8
- package/dist/conversations/tree.d.ts +17 -0
- package/dist/conversations/tree.js +42 -0
- package/dist/ctx/create-ctx.d.ts +20 -1
- package/dist/ctx/create-ctx.js +38 -7
- package/dist/db/kernel-schema.d.ts +386 -18
- package/dist/environments/access.d.ts +41 -0
- package/dist/environments/access.js +77 -0
- package/dist/environments/conversation-environments.d.ts +61 -0
- package/dist/environments/conversation-environments.js +170 -0
- package/dist/environments/dto.d.ts +25 -0
- package/dist/environments/dto.js +12 -0
- package/dist/environments/environments.controller.d.ts +33 -0
- package/dist/environments/environments.controller.js +110 -0
- package/dist/environments/environments.module.d.ts +8 -0
- package/dist/environments/environments.module.js +27 -0
- package/dist/environments/environments.service.d.ts +153 -0
- package/dist/environments/environments.service.js +541 -0
- package/dist/environments/legacy-cleanup.job.d.ts +34 -0
- package/dist/environments/legacy-cleanup.job.js +141 -0
- package/dist/errors.d.ts +85 -2
- package/dist/errors.js +85 -2
- package/dist/evals/reconstruct.d.ts +18 -9
- package/dist/evals/reconstruct.js +26 -7
- package/dist/evals/run-replay.d.ts +4 -2
- package/dist/evals/run-replay.js +20 -6
- package/dist/evals/runs.service.d.ts +2 -1
- package/dist/evals/runs.service.js +13 -12
- package/dist/evals/step-replay.d.ts +4 -6
- package/dist/evals/step-replay.js +4 -3
- package/dist/evals/trajectory.service.d.ts +8 -3
- package/dist/evals/trajectory.service.js +26 -14
- package/dist/evals/worker.d.ts +5 -5
- package/dist/evals/worker.js +9 -3
- package/dist/extensions/admin-ops.d.ts +36 -10
- package/dist/extensions/admin-ops.js +65 -42
- package/dist/extensions/admin-view.d.ts +37 -10
- package/dist/extensions/admin-view.js +103 -20
- package/dist/extensions/bootstrap.d.ts +17 -4
- package/dist/extensions/bootstrap.js +70 -9
- package/dist/extensions/cli.d.ts +12 -0
- package/dist/extensions/cli.js +11 -2
- package/dist/extensions/config-hash.d.ts +10 -0
- package/dist/extensions/config-hash.js +38 -0
- package/dist/extensions/deployment-config.d.ts +28 -5
- package/dist/extensions/deployment-config.js +48 -7
- package/dist/extensions/effective-config.d.ts +127 -0
- package/dist/extensions/effective-config.js +368 -0
- package/dist/extensions/extensions.module.js +11 -11
- package/dist/extensions/hooks.d.ts +37 -4
- package/dist/extensions/hooks.js +82 -16
- package/dist/extensions/host.d.ts +24 -10
- package/dist/extensions/host.js +49 -54
- package/dist/extensions/installs.d.ts +20 -8
- package/dist/extensions/installs.js +37 -15
- package/dist/extensions/org-config.d.ts +75 -6
- package/dist/extensions/org-config.js +184 -32
- package/dist/extensions/org-levels.d.ts +37 -0
- package/dist/extensions/org-levels.js +71 -0
- package/dist/extensions/org-overrides.d.ts +151 -0
- package/dist/extensions/org-overrides.js +524 -0
- package/dist/extensions/permission-view.d.ts +16 -4
- package/dist/extensions/permission-view.js +4 -4
- package/dist/extensions/plugin-items.d.ts +21 -0
- package/dist/extensions/plugin-items.js +42 -0
- package/dist/extensions/point-defaults.d.ts +12 -5
- package/dist/extensions/point-defaults.js +37 -9
- package/dist/extensions/resolve.d.ts +5 -1
- package/dist/extensions/resolve.js +15 -2
- package/dist/extensions/state.module.d.ts +9 -0
- package/dist/extensions/state.module.js +38 -0
- package/dist/files/previewers.d.ts +8 -1
- package/dist/files/previewers.js +35 -6
- package/dist/http/api.module.js +25 -3
- package/dist/http/app.d.ts +11 -2
- package/dist/http/app.js +31 -5
- package/dist/http/plugin-dispatch.d.ts +4 -1
- package/dist/http/plugin-dispatch.js +14 -2
- package/dist/identity/accounts.d.ts +29 -29
- package/dist/identity/accounts.js +47 -47
- package/dist/identity/audit.d.ts +2 -1
- package/dist/identity/auth.guard.d.ts +13 -5
- package/dist/identity/auth.guard.js +26 -9
- package/dist/identity/identity.module.d.ts +1 -1
- package/dist/identity/identity.module.js +4 -4
- package/dist/identity/me.controller.js +1 -1
- package/dist/identity/principal.d.ts +3 -3
- package/dist/identity/principal.js +3 -3
- package/dist/identity/settings.d.ts +22 -11
- package/dist/identity/settings.js +53 -18
- package/dist/identity/{enterprise-admin.d.ts → super-admin.d.ts} +5 -5
- package/dist/identity/{enterprise-admin.js → super-admin.js} +24 -24
- package/dist/inbox/inbox.module.d.ts +4 -1
- package/dist/inbox/inbox.module.js +7 -3
- package/dist/inbox/inbox.service.d.ts +62 -3
- package/dist/inbox/inbox.service.js +74 -4
- package/dist/inbox/org-notices.d.ts +63 -0
- package/dist/inbox/org-notices.js +91 -0
- package/dist/inbox/platform-inbox.controller.d.ts +23 -0
- package/dist/inbox/platform-inbox.controller.js +58 -0
- package/dist/inbox/platform-inbox.service.d.ts +151 -0
- package/dist/inbox/platform-inbox.service.js +263 -0
- package/dist/inbox/platform-notices.d.ts +19 -0
- package/dist/inbox/platform-notices.js +9 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/infra/cli/kernel-cli.module.js +9 -1
- package/dist/infra/config/kernel-config.service.js +24 -1
- package/dist/infra/database/xact-lock.d.ts +1 -1
- package/dist/infra/database/xact-lock.js +1 -1
- package/dist/infra/events/kernel-events.d.ts +19 -2
- package/dist/infra/queue/add-job-once.d.ts +14 -0
- package/dist/infra/queue/add-job-once.js +16 -0
- package/dist/kernel.module.js +6 -0
- package/dist/lifecycle/kernel-lifecycle.d.ts +1 -1
- package/dist/lifecycle/kernel-lifecycle.js +4 -4
- package/dist/models/embeddings.d.ts +82 -0
- package/dist/models/embeddings.js +326 -0
- package/dist/models/enablement.controller.d.ts +40 -0
- package/dist/models/enablement.controller.js +74 -0
- package/dist/models/enablement.d.ts +99 -0
- package/dist/models/enablement.js +263 -0
- package/dist/models/models.module.d.ts +5 -1
- package/dist/models/models.module.js +16 -4
- package/dist/models/prices.d.ts +5 -5
- package/dist/models/prices.js +4 -4
- package/dist/models/purposes.controller.d.ts +6 -4
- package/dist/models/purposes.controller.js +13 -7
- package/dist/models/purposes.d.ts +37 -12
- package/dist/models/purposes.js +63 -17
- package/dist/orgs/directory-sync.d.ts +14 -5
- package/dist/orgs/directory-sync.js +41 -17
- package/dist/orgs/offboarding.d.ts +9 -7
- package/dist/orgs/offboarding.js +28 -17
- package/dist/orgs/org-lock.d.ts +5 -0
- package/dist/orgs/org-lock.js +13 -0
- package/dist/orgs/org.guard.d.ts +10 -0
- package/dist/orgs/org.guard.js +43 -32
- package/dist/orgs/orgs.module.js +3 -0
- package/dist/orgs/orgs.service.d.ts +20 -7
- package/dist/orgs/orgs.service.js +32 -12
- package/dist/orgs/roles.d.ts +1 -1
- package/dist/orgs/roles.js +5 -1
- package/dist/orgs/settings.controller.d.ts +1 -1
- package/dist/orgs/settings.service.d.ts +15 -3
- package/dist/orgs/settings.service.js +6 -2
- package/dist/overrides.d.ts +3 -0
- package/dist/overrides.js +2 -0
- package/dist/platform/actor.d.ts +48 -0
- package/dist/platform/actor.js +100 -0
- package/dist/platform/agent-docs.d.ts +18 -0
- package/dist/platform/agent-docs.js +59 -0
- package/dist/platform/availability.d.ts +14 -0
- package/dist/platform/availability.js +43 -0
- package/dist/platform/errors.d.ts +11 -0
- package/dist/platform/errors.js +26 -0
- package/dist/platform/exclusions.d.ts +12 -0
- package/dist/platform/exclusions.js +1405 -0
- package/dist/platform/method.d.ts +6 -0
- package/dist/platform/method.js +15 -0
- package/dist/platform/operation.d.ts +92 -0
- package/dist/platform/operation.js +35 -0
- package/dist/platform/ops/agent-templates.ops.d.ts +14 -0
- package/dist/platform/ops/agent-templates.ops.js +92 -0
- package/dist/platform/ops/agents.ops.d.ts +19 -0
- package/dist/platform/ops/agents.ops.js +294 -0
- package/dist/platform/ops/connectors.ops.d.ts +15 -0
- package/dist/platform/ops/connectors.ops.js +126 -0
- package/dist/platform/ops/errors.d.ts +11 -0
- package/dist/platform/ops/errors.js +22 -0
- package/dist/platform/ops/extensions.ops.d.ts +19 -0
- package/dist/platform/ops/extensions.ops.js +116 -0
- package/dist/platform/ops/marketplaces.ops.d.ts +16 -0
- package/dist/platform/ops/marketplaces.ops.js +157 -0
- package/dist/platform/ops/paging.d.ts +14 -0
- package/dist/platform/ops/paging.js +20 -0
- package/dist/platform/ops/platform.ops.d.ts +23 -0
- package/dist/platform/ops/platform.ops.js +158 -0
- package/dist/platform/ops/plugins.ops.d.ts +33 -0
- package/dist/platform/ops/plugins.ops.js +377 -0
- package/dist/platform/ops/requests.ops.d.ts +14 -0
- package/dist/platform/ops/requests.ops.js +153 -0
- package/dist/platform/ops/role.d.ts +4 -0
- package/dist/platform/ops/role.js +10 -0
- package/dist/platform/ops/skills.ops.d.ts +13 -0
- package/dist/platform/ops/skills.ops.js +98 -0
- package/dist/platform/ops/summary.d.ts +10 -0
- package/dist/platform/ops/summary.js +18 -0
- package/dist/platform/platform-ops.module.d.ts +7 -0
- package/dist/platform/platform-ops.module.js +55 -0
- package/dist/platform/platform.module.d.ts +8 -0
- package/dist/platform/platform.module.js +25 -0
- package/dist/platform/redact-orgs.d.ts +7 -0
- package/dist/platform/redact-orgs.js +52 -0
- package/dist/platform/registry.d.ts +30 -0
- package/dist/platform/registry.js +111 -0
- package/dist/roles/worker-role.d.ts +6 -4
- package/dist/roles/worker-role.js +14 -7
- package/dist/roles/worker.module.d.ts +1 -1
- package/dist/roles/worker.module.js +9 -1
- package/dist/runtime/context/build.d.ts +6 -4
- package/dist/runtime/context/build.js +26 -7
- package/dist/runtime/context/claude-tools.d.ts +2 -1
- package/dist/runtime/context/claude-tools.js +5 -4
- package/dist/runtime/context/compaction.js +9 -0
- package/dist/runtime/context/reminders.d.ts +2 -0
- package/dist/runtime/context/reminders.js +2 -0
- package/dist/runtime/context/skills.js +9 -2
- package/dist/runtime/context/tool-changes.d.ts +27 -0
- package/dist/runtime/context/tool-changes.js +60 -0
- package/dist/runtime/hook-calls.d.ts +8 -1
- package/dist/runtime/hook-calls.js +40 -7
- package/dist/runtime/langgraph-loop.d.ts +3 -1
- package/dist/runtime/langgraph-loop.js +35 -17
- package/dist/runtime/loop.d.ts +32 -4
- package/dist/runtime/maintenance.d.ts +7 -4
- package/dist/runtime/maintenance.js +23 -8
- package/dist/runtime/model-call.d.ts +38 -11
- package/dist/runtime/model-call.js +97 -24
- package/dist/runtime/providers.d.ts +146 -32
- package/dist/runtime/providers.js +321 -67
- package/dist/runtime/run-control.d.ts +11 -1
- package/dist/runtime/run-control.js +12 -0
- package/dist/runtime/run-drafts.d.ts +85 -0
- package/dist/runtime/run-drafts.js +230 -0
- package/dist/runtime/run-jobs.d.ts +3 -5
- package/dist/runtime/run-jobs.js +3 -7
- package/dist/runtime/run-queue.d.ts +37 -3
- package/dist/runtime/run-queue.js +188 -11
- package/dist/runtime/run-worker.d.ts +12 -6
- package/dist/runtime/run-worker.js +58 -35
- package/dist/runtime/runtime.module.js +3 -0
- package/dist/runtime/step-log.d.ts +9 -4
- package/dist/runtime/step-log.js +8 -5
- package/dist/runtime/stream.controller.d.ts +23 -1
- package/dist/runtime/stream.controller.js +60 -3
- package/dist/runtime/stream.d.ts +4 -1
- package/dist/runtime/stream.js +27 -3
- package/dist/runtime/subagents/child.d.ts +55 -7
- package/dist/runtime/subagents/child.js +105 -7
- package/dist/runtime/subagents/definition.d.ts +12 -3
- package/dist/runtime/subagents/definition.js +46 -32
- package/dist/runtime/subagents/deliveries.d.ts +71 -0
- package/dist/runtime/subagents/deliveries.js +228 -0
- package/dist/runtime/subagents/dispatch.d.ts +115 -26
- package/dist/runtime/subagents/dispatch.js +212 -141
- package/dist/runtime/subagents/limits.d.ts +24 -5
- package/dist/runtime/subagents/limits.js +40 -6
- package/dist/runtime/subagents/messages.d.ts +95 -0
- package/dist/runtime/subagents/messages.js +328 -0
- package/dist/runtime/subagents/preamble.d.ts +4 -4
- package/dist/runtime/subagents/preamble.js +9 -7
- package/dist/runtime/subagents/progress.d.ts +8 -6
- package/dist/runtime/subagents/progress.js +11 -6
- package/dist/runtime/subagents/render.d.ts +30 -0
- package/dist/runtime/subagents/render.js +53 -0
- package/dist/runtime/subagents/roster.d.ts +24 -7
- package/dist/runtime/subagents/roster.js +47 -11
- package/dist/runtime/subagents/skill-fork.d.ts +3 -2
- package/dist/runtime/subagents/skill-fork.js +8 -4
- package/dist/runtime/subagents/status.d.ts +14 -0
- package/dist/runtime/subagents/status.js +23 -0
- package/dist/runtime/subagents/subagents.service.d.ts +7 -4
- package/dist/runtime/subagents/subagents.service.js +11 -6
- package/dist/runtime/usage-report-jobs.d.ts +88 -0
- package/dist/runtime/usage-report-jobs.js +158 -0
- package/dist/runtime/usage-report.d.ts +33 -38
- package/dist/runtime/usage-report.js +169 -96
- package/dist/runtime/waits.d.ts +140 -37
- package/dist/runtime/waits.js +394 -106
- package/dist/sandbox/jobs.d.ts +40 -13
- package/dist/sandbox/jobs.js +57 -20
- package/dist/sandbox/leases.d.ts +37 -54
- package/dist/sandbox/leases.js +71 -115
- package/dist/sandbox/providers.d.ts +2 -2
- package/dist/sandbox/providers.js +1 -1
- package/dist/sandbox/sandbox.module.d.ts +3 -2
- package/dist/sandbox/sandbox.module.js +4 -3
- package/dist/sandbox/sandbox.service.d.ts +229 -134
- package/dist/sandbox/sandbox.service.js +630 -409
- package/dist/skills/catalog.d.ts +3 -2
- package/dist/skills/catalog.js +21 -43
- package/dist/skills/changes.controller.d.ts +7 -0
- package/dist/skills/changes.controller.js +19 -1
- package/dist/skills/invoke.js +8 -3
- package/dist/skills/package.d.ts +20 -1
- package/dist/skills/package.js +28 -1
- package/dist/skills/skills.controller.d.ts +39 -4
- package/dist/skills/skills.controller.js +88 -10
- package/dist/skills/skills.module.js +10 -1
- package/dist/skills/skills.service.d.ts +106 -26
- package/dist/skills/skills.service.js +421 -75
- package/dist/skills/usable.d.ts +81 -0
- package/dist/skills/usable.js +379 -0
- package/dist/tools/approvals.service.d.ts +20 -2
- package/dist/tools/approvals.service.js +23 -4
- package/dist/tools/builtin-names.d.ts +21 -5
- package/dist/tools/builtin-names.js +30 -5
- package/dist/tools/builtins/agent.d.ts +23 -21
- package/dist/tools/builtins/agent.js +62 -55
- package/dist/tools/builtins/builtin-tools.d.ts +6 -2
- package/dist/tools/builtins/builtin-tools.js +37 -12
- package/dist/tools/builtins/handback.d.ts +28 -0
- package/dist/tools/builtins/handback.js +53 -0
- package/dist/tools/builtins/platform.d.ts +34 -0
- package/dist/tools/builtins/platform.js +362 -0
- package/dist/tools/builtins/sandbox/bash.js +13 -3
- package/dist/tools/builtins/sandbox/common.d.ts +43 -24
- package/dist/tools/builtins/sandbox/common.js +80 -45
- package/dist/tools/builtins/sandbox/edit.js +2 -2
- package/dist/tools/builtins/sandbox/glob.js +2 -2
- package/dist/tools/builtins/sandbox/grep.js +2 -4
- package/dist/tools/builtins/sandbox/index.d.ts +1 -1
- package/dist/tools/builtins/sandbox/index.js +1 -1
- package/dist/tools/builtins/sandbox/read.js +1 -1
- package/dist/tools/builtins/sandbox/task-output.d.ts +14 -3
- package/dist/tools/builtins/sandbox/task-output.js +30 -5
- package/dist/tools/builtins/sandbox/task-stop.js +2 -1
- package/dist/tools/builtins/sandbox/write.js +2 -2
- package/dist/tools/builtins/send-message.d.ts +56 -0
- package/dist/tools/builtins/send-message.js +100 -0
- package/dist/tools/builtins/skill-load.d.ts +22 -14
- package/dist/tools/builtins/skill-load.js +86 -57
- package/dist/tools/builtins/skill-write.js +1 -1
- package/dist/tools/builtins/web/extract.js +5 -1
- package/dist/tools/builtins/web/fetch.js +1 -0
- package/dist/tools/builtins/web/search.js +1 -0
- package/dist/tools/connectors.controller.d.ts +10 -0
- package/dist/tools/connectors.controller.js +12 -0
- package/dist/tools/connectors.service.d.ts +46 -5
- package/dist/tools/connectors.service.js +94 -15
- package/dist/tools/extension-tools.controller.d.ts +14 -0
- package/dist/tools/extension-tools.controller.js +37 -0
- package/dist/tools/info.d.ts +42 -1
- package/dist/tools/info.js +64 -1
- package/dist/tools/org-tool-switches.d.ts +74 -0
- package/dist/tools/org-tool-switches.js +184 -0
- package/dist/tools/pipeline.d.ts +46 -40
- package/dist/tools/pipeline.js +193 -364
- package/dist/tools/policy.d.ts +1 -1
- package/dist/tools/policy.js +36 -16
- package/dist/tools/registry.d.ts +98 -5
- package/dist/tools/registry.js +87 -9
- package/dist/tools/tools.module.js +12 -2
- package/dist/ui/views.d.ts +2 -1
- package/dist/ui/views.js +17 -3
- package/package.json +3 -3
- package/src/migrations/0074_subagent_tree.sql +50 -0
- package/src/migrations/0075_plugin_scope.sql +61 -0
- package/src/migrations/0076_skills_created_by_nullable.sql +6 -0
- package/src/migrations/0077_scope_requests.sql +52 -0
- package/src/migrations/0078_scope_grant_switches.sql +18 -0
- package/src/migrations/0079_scope_live_install_switches.sql +19 -0
- package/src/migrations/0080_rename_enterprise_admin.sql +18 -0
- package/src/migrations/0081_platform_components.sql +129 -0
- package/src/migrations/0082_platform_migration.sql +33 -0
- package/src/migrations/0083_plugin_scope_sync_failures.sql +15 -0
- package/src/migrations/0084_org_owned_items.sql +85 -0
- package/src/migrations/0085_agent_templates_phase4.sql +45 -0
- package/src/migrations/0086_org_layering.sql +30 -0
- package/src/migrations/0087_approval_summary.sql +6 -0
- package/src/migrations/0088_environments.sql +80 -0
- package/src/migrations/0089_model_kinds_usage.sql +38 -0
- package/dist/catalog/upgrade-targets.d.ts +0 -56
- package/dist/catalog/upgrade-targets.js +0 -90
- package/dist/conversations/sandbox-status.d.ts +0 -24
- package/dist/conversations/sandbox-status.js +0 -52
- package/dist/extensions/org-config.controller.d.ts +0 -32
- package/dist/extensions/org-config.controller.js +0 -70
|
@@ -0,0 +1,1405 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kernel HTTP routes the `Platform` tool does not mirror, each with a reason (spec §9);
|
|
3
|
+
* `check:platform-ops` fails a route that is neither mirrored by an operation nor listed here.
|
|
4
|
+
* `later` needs an `issue` URL.
|
|
5
|
+
*/
|
|
6
|
+
export const PLATFORM_EXCLUSIONS = [
|
|
7
|
+
// platform-admin
|
|
8
|
+
{
|
|
9
|
+
route: "GET /api/v1/admin/overview",
|
|
10
|
+
category: "later",
|
|
11
|
+
reason: "Platform dashboard totals an agent could read once admin reads are mirrored",
|
|
12
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
route: "GET /api/v1/admin/accounts",
|
|
16
|
+
category: "human-only",
|
|
17
|
+
reason: "Lists every account with email addresses, a super admin console view",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
route: "POST /api/v1/admin/accounts",
|
|
21
|
+
category: "human-only",
|
|
22
|
+
reason: "Creates a login account with an initial password",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
route: "PATCH /api/v1/admin/accounts/:accountId",
|
|
26
|
+
category: "human-only",
|
|
27
|
+
reason: "Changes another account's status or super-admin flag",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
route: "GET /api/v1/admin/orgs",
|
|
31
|
+
category: "later",
|
|
32
|
+
reason: "Platform-wide org listing an agent could read once admin reads are mirrored",
|
|
33
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
route: "GET /api/v1/admin/settings",
|
|
37
|
+
category: "later",
|
|
38
|
+
reason: "Deployment settings read that an agent could mirror later",
|
|
39
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
route: "PUT /api/v1/admin/settings",
|
|
43
|
+
category: "later",
|
|
44
|
+
reason: "Deployment settings write that an agent could mirror later behind confirmation",
|
|
45
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
route: "GET /api/v1/admin/models",
|
|
49
|
+
category: "later",
|
|
50
|
+
reason: "Platform model catalog read that an agent could mirror later",
|
|
51
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
route: "PATCH /api/v1/admin/models/:provider/disabled",
|
|
55
|
+
category: "later",
|
|
56
|
+
reason: "Platform model disabled list write that an agent could mirror later behind confirmation",
|
|
57
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
route: "GET /api/v1/admin/model-prices",
|
|
61
|
+
category: "later",
|
|
62
|
+
reason: "Model price table read that an agent could mirror later",
|
|
63
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
route: "PUT /api/v1/admin/model-prices",
|
|
67
|
+
category: "later",
|
|
68
|
+
reason: "Model price write that an agent could mirror later behind confirmation",
|
|
69
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
route: "GET /api/v1/admin/model-purposes",
|
|
73
|
+
category: "later",
|
|
74
|
+
reason: "Platform default model per purpose, readable by an agent later",
|
|
75
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
route: "PUT /api/v1/admin/model-purposes/:purpose",
|
|
79
|
+
category: "later",
|
|
80
|
+
reason: "Platform default model per purpose, settable by an agent later",
|
|
81
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
82
|
+
},
|
|
83
|
+
// extensions-admin
|
|
84
|
+
{
|
|
85
|
+
route: "GET /api/v1/admin/extensions",
|
|
86
|
+
category: "later",
|
|
87
|
+
reason: "Installed extension list an agent could read later",
|
|
88
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
route: "GET /api/v1/admin/extensions/:name",
|
|
92
|
+
category: "later",
|
|
93
|
+
reason: "Extension detail an agent could read later",
|
|
94
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
route: "GET /api/v1/admin/extensions/:name/org-overrides",
|
|
98
|
+
category: "secret",
|
|
99
|
+
reason: "Lists every org's config copy of an extension: cross-org config state",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
route: "GET /api/v1/admin/extensions/:name/config",
|
|
103
|
+
category: "secret",
|
|
104
|
+
reason: "Returns deployment config that can include secret fields",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
route: "PUT /api/v1/admin/extensions/:name/config",
|
|
108
|
+
category: "secret",
|
|
109
|
+
reason: "Writes deployment config that can include secret fields",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
route: "POST /api/v1/admin/extensions/:name/approve",
|
|
113
|
+
category: "human-only",
|
|
114
|
+
reason: "Approves an extension's permission manifest, a trust decision",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
route: "POST /api/v1/admin/extensions/:name/install",
|
|
118
|
+
category: "later",
|
|
119
|
+
reason: "Installs an extension; mirrored once extension lifecycle ops exist",
|
|
120
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
route: "POST /api/v1/admin/extensions/:name/enable",
|
|
124
|
+
category: "later",
|
|
125
|
+
reason: "Enables an extension; mirrored once extension lifecycle ops exist",
|
|
126
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
route: "POST /api/v1/admin/extensions/:name/disable",
|
|
130
|
+
category: "later",
|
|
131
|
+
reason: "Disables an extension; mirrored once extension lifecycle ops exist",
|
|
132
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
route: "DELETE /api/v1/admin/extensions/:name",
|
|
136
|
+
category: "later",
|
|
137
|
+
reason: "Uninstalls an extension; mirrored once extension lifecycle ops exist",
|
|
138
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
route: "POST /api/v1/admin/extensions/packages/file",
|
|
142
|
+
category: "transport",
|
|
143
|
+
reason: "Uploads a package file as multipart bytes",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
route: "POST /api/v1/admin/extensions/packages/npm",
|
|
147
|
+
category: "later",
|
|
148
|
+
reason: "Installs a package from npm; mirrored once extension lifecycle ops exist",
|
|
149
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
150
|
+
},
|
|
151
|
+
// setup
|
|
152
|
+
{
|
|
153
|
+
route: "GET /api/v1/setup",
|
|
154
|
+
category: "internal",
|
|
155
|
+
reason: "First-run setup status used by the web app before any login",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
route: "POST /api/v1/setup",
|
|
159
|
+
category: "human-only",
|
|
160
|
+
reason: "Creates the first super admin account and password",
|
|
161
|
+
},
|
|
162
|
+
// agents
|
|
163
|
+
{
|
|
164
|
+
route: "PATCH /api/v1/orgs/:orgId/agents/:agentId/profile",
|
|
165
|
+
category: "later",
|
|
166
|
+
reason: "Agent profile edit an agent could do later",
|
|
167
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
route: "POST /api/v1/orgs/:orgId/agents/:agentId/avatar/uploads",
|
|
171
|
+
category: "transport",
|
|
172
|
+
reason: "Creates a presigned avatar upload",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
route: "GET /api/v1/orgs/:orgId/agents/:agentId/avatar",
|
|
176
|
+
category: "transport",
|
|
177
|
+
reason: "Streams avatar image bytes",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
route: "DELETE /api/v1/orgs/:orgId/agents/:agentId",
|
|
181
|
+
category: "later",
|
|
182
|
+
reason: "Agent deletion an agent could request later behind confirmation",
|
|
183
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
route: "POST /api/v1/orgs/:orgId/agents/:agentId/owner",
|
|
187
|
+
category: "human-only",
|
|
188
|
+
reason: "Transfers ownership of an agent to another person",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
route: "GET /api/v1/orgs/:orgId/agents/:agentId/versions",
|
|
192
|
+
category: "later",
|
|
193
|
+
reason: "Agent version history an agent could read later",
|
|
194
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
route: "GET /api/v1/orgs/:orgId/models",
|
|
198
|
+
category: "later",
|
|
199
|
+
reason: "Model list available to the org, readable by an agent later",
|
|
200
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
route: "GET /api/v1/orgs/:orgId/models/catalog",
|
|
204
|
+
category: "later",
|
|
205
|
+
reason: "Org model catalog with enablement, readable by an agent later",
|
|
206
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
route: "POST /api/v1/orgs/:orgId/agents/:agentId/pending-connectors/:key/bind",
|
|
210
|
+
category: "later",
|
|
211
|
+
reason: "Binds a pending connector to an agent, mirrored later",
|
|
212
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
route: "POST /api/v1/orgs/:orgId/agents/:agentId/pending-connectors/request",
|
|
216
|
+
category: "later",
|
|
217
|
+
reason: "Sending a setup request to the org admins is not a decision; mirrored later",
|
|
218
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
route: "GET /api/v1/orgs/:orgId/agents/:agentId/pending-connectors/request",
|
|
222
|
+
category: "later",
|
|
223
|
+
reason: "Setup request status an agent could read later",
|
|
224
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
route: "GET /api/v1/orgs/:orgId/readiness",
|
|
228
|
+
category: "later",
|
|
229
|
+
reason: "Org readiness checklist an agent could read later",
|
|
230
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
route: "PUT /api/v1/orgs/:orgId/agent-templates/:id",
|
|
234
|
+
category: "later",
|
|
235
|
+
reason: "Org agent template edit an agent could do later",
|
|
236
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
route: "GET /api/v1/orgs/:orgId/agent-templates/:id/delete-preview",
|
|
240
|
+
category: "later",
|
|
241
|
+
reason: "Template delete preview an agent could read later",
|
|
242
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
route: "DELETE /api/v1/orgs/:orgId/agent-templates/:id",
|
|
246
|
+
category: "later",
|
|
247
|
+
reason: "Template deletion an agent could request later behind confirmation",
|
|
248
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
route: "PUT /api/v1/orgs/:orgId/agent-templates/:id/shareable",
|
|
252
|
+
category: "later",
|
|
253
|
+
reason: "Sharing an org template with other orgs, mirrored later",
|
|
254
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
255
|
+
},
|
|
256
|
+
// background
|
|
257
|
+
{
|
|
258
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/background-tasks",
|
|
259
|
+
category: "later",
|
|
260
|
+
reason: "Background task list an agent could read later",
|
|
261
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
route: "POST /api/v1/orgs/:orgId/conversations/:id/background-tasks/:taskId/stop",
|
|
265
|
+
category: "later",
|
|
266
|
+
reason: "Stopping a background task, mirrored later",
|
|
267
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/background-tasks/:taskId/output",
|
|
271
|
+
category: "transport",
|
|
272
|
+
reason: "Streams raw task output bytes",
|
|
273
|
+
},
|
|
274
|
+
// catalog-admin
|
|
275
|
+
{
|
|
276
|
+
route: "POST /api/v1/admin/catalog/import/file",
|
|
277
|
+
category: "transport",
|
|
278
|
+
reason: "Uploads a plugin archive as multipart bytes",
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
route: "POST /api/v1/admin/catalog/import/npm",
|
|
282
|
+
category: "later",
|
|
283
|
+
reason: "Plugin import from npm, mirrored with the import review later",
|
|
284
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
route: "POST /api/v1/admin/catalog/import/git",
|
|
288
|
+
category: "later",
|
|
289
|
+
reason: "Plugin import from git, mirrored with the import review later",
|
|
290
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
route: "GET /api/v1/admin/catalog/imports/:stagingId",
|
|
294
|
+
category: "later",
|
|
295
|
+
reason: "Import review read, mirrored with the import review later",
|
|
296
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
route: "POST /api/v1/admin/catalog/imports/:stagingId/confirm",
|
|
300
|
+
category: "human-only",
|
|
301
|
+
reason: "Confirms an import review, an approval decision by the super admin",
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
route: "GET /api/v1/admin/catalog/items/:id/icon",
|
|
305
|
+
category: "transport",
|
|
306
|
+
reason: "Serves icon image bytes",
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
route: "POST /api/v1/admin/catalog/items/:id/scope/preview",
|
|
310
|
+
category: "later",
|
|
311
|
+
reason: "Scope change preview, mirrored later",
|
|
312
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
route: "PUT /api/v1/admin/catalog/items/:id/scope",
|
|
316
|
+
category: "later",
|
|
317
|
+
reason: "Scope change for a catalog item, mirrored later",
|
|
318
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
route: "PUT /api/v1/admin/catalog/items/:id/disabled",
|
|
322
|
+
category: "later",
|
|
323
|
+
reason: "Disabling a catalog item, mirrored later",
|
|
324
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
route: "POST /api/v1/admin/catalog/items/:id/confirm",
|
|
328
|
+
category: "human-only",
|
|
329
|
+
reason: "Confirms a catalog item's reviewed changes, an approval decision",
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
route: "POST /api/v1/admin/catalog/items/:id/reject",
|
|
333
|
+
category: "human-only",
|
|
334
|
+
reason: "Rejects a catalog item's reviewed changes, an approval decision",
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
route: "PUT /api/v1/admin/catalog/items/:id/shown",
|
|
338
|
+
category: "later",
|
|
339
|
+
reason: "Showing or hiding a catalog item, mirrored later",
|
|
340
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
route: "DELETE /api/v1/admin/catalog/items/:id",
|
|
344
|
+
category: "later",
|
|
345
|
+
reason: "Removing a catalog item, mirrored later behind confirmation",
|
|
346
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
347
|
+
},
|
|
348
|
+
// components
|
|
349
|
+
{
|
|
350
|
+
route: "POST /api/v1/admin/components/skill/:id/versions",
|
|
351
|
+
category: "later",
|
|
352
|
+
reason: "Publishing a platform skill version, mirrored later",
|
|
353
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
route: "POST /api/v1/admin/components/agent_template/:id/versions",
|
|
357
|
+
category: "later",
|
|
358
|
+
reason: "Publishing a platform agent template version, mirrored later",
|
|
359
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
route: "GET /api/v1/admin/components",
|
|
363
|
+
category: "later",
|
|
364
|
+
reason: "Platform component list an agent could read later",
|
|
365
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
route: "GET /api/v1/admin/components/:kind/:id/versions",
|
|
369
|
+
category: "later",
|
|
370
|
+
reason: "Component version history an agent could read later",
|
|
371
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
route: "POST /api/v1/admin/components/:kind/:id/scope/preview",
|
|
375
|
+
category: "later",
|
|
376
|
+
reason: "Component scope preview, mirrored later",
|
|
377
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
route: "PUT /api/v1/admin/components/:kind/:id/scope",
|
|
381
|
+
category: "later",
|
|
382
|
+
reason: "Component scope change, mirrored later",
|
|
383
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
route: "PUT /api/v1/admin/components/:kind/:id/disabled",
|
|
387
|
+
category: "later",
|
|
388
|
+
reason: "Disabling a component, mirrored later",
|
|
389
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
route: "PUT /api/v1/admin/components/:kind/:id/shown",
|
|
393
|
+
category: "later",
|
|
394
|
+
reason: "Showing or hiding a component, mirrored later",
|
|
395
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
route: "PUT /api/v1/orgs/:orgId/components/:kind/:id/switch",
|
|
399
|
+
category: "later",
|
|
400
|
+
reason: "Org switch for a platform component, mirrored later",
|
|
401
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
402
|
+
},
|
|
403
|
+
// marketplaces
|
|
404
|
+
{
|
|
405
|
+
route: "GET /api/v1/admin/marketplaces/entries",
|
|
406
|
+
category: "later",
|
|
407
|
+
reason: "Marketplace entry list an agent could read later",
|
|
408
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
route: "PATCH /api/v1/admin/marketplaces/:id",
|
|
412
|
+
category: "later",
|
|
413
|
+
reason: "Marketplace edit, mirrored later",
|
|
414
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
route: "DELETE /api/v1/admin/marketplaces/:id",
|
|
418
|
+
category: "later",
|
|
419
|
+
reason: "Marketplace removal, mirrored later behind confirmation",
|
|
420
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
route: "POST /api/v1/admin/marketplaces/:id/refresh",
|
|
424
|
+
category: "later",
|
|
425
|
+
reason: "Marketplace refresh, mirrored later",
|
|
426
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
route: "POST /api/v1/admin/marketplaces/:id/entries/:name/import",
|
|
430
|
+
category: "later",
|
|
431
|
+
reason: "Importing a marketplace entry, mirrored with the import review later",
|
|
432
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
433
|
+
},
|
|
434
|
+
// org-catalog
|
|
435
|
+
{
|
|
436
|
+
route: "GET /api/v1/orgs/:orgId/catalog/:itemId/icon",
|
|
437
|
+
category: "transport",
|
|
438
|
+
reason: "Serves icon image bytes",
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
route: "POST /api/v1/orgs/:orgId/catalog/:itemId/install",
|
|
442
|
+
category: "secret",
|
|
443
|
+
reason: "Install body carries connector credentials, client secrets and extension config entered by a person",
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
route: "POST /api/v1/orgs/:orgId/catalog/:itemId/connectors",
|
|
447
|
+
category: "secret",
|
|
448
|
+
reason: "Body carries connector credentials and client secrets entered by a person",
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
route: "POST /api/v1/orgs/:orgId/connector-templates/:templateId/connectors",
|
|
452
|
+
category: "secret",
|
|
453
|
+
reason: "Body carries connector credentials and client secrets entered by a person",
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
route: "GET /api/v1/orgs/:orgId/plugin-installs",
|
|
457
|
+
category: "later",
|
|
458
|
+
reason: "Org plugin install list an agent could read later",
|
|
459
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
route: "DELETE /api/v1/orgs/:orgId/plugin-installs/:installId",
|
|
463
|
+
category: "later",
|
|
464
|
+
reason: "Uninstalling a plugin from an org, mirrored later",
|
|
465
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
route: "POST /api/v1/orgs/:orgId/catalog-requests/:id/decide",
|
|
469
|
+
category: "human-only",
|
|
470
|
+
reason: "Decides another person's catalog request",
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
route: "POST /api/v1/orgs/:orgId/catalog-requests/:id/dismiss",
|
|
474
|
+
category: "human-only",
|
|
475
|
+
reason: "Dismisses another person's catalog request",
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
route: "GET /api/v1/admin/catalog/requests",
|
|
479
|
+
category: "later",
|
|
480
|
+
reason: "Platform catalog request list an agent could read later",
|
|
481
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
route: "POST /api/v1/admin/catalog/requests/:id/decide",
|
|
485
|
+
category: "human-only",
|
|
486
|
+
reason: "Decides an org's catalog request as super admin",
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
route: "PUT /api/v1/orgs/:orgId/extensions/:extension",
|
|
490
|
+
category: "secret",
|
|
491
|
+
reason: "Org extension config may hold secret fields",
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
route: "GET /api/v1/orgs/:orgId/extensions/:extension/overrides",
|
|
495
|
+
category: "secret",
|
|
496
|
+
reason: "The org's copy of an extension's deployment config, with secret fields as set or not",
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
route: "PUT /api/v1/orgs/:orgId/extensions/:extension/overrides",
|
|
500
|
+
category: "secret",
|
|
501
|
+
reason: "Saves the org's config copy, including the org's own secrets entered in the same save",
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
route: "DELETE /api/v1/orgs/:orgId/extensions/:extension/overrides",
|
|
505
|
+
category: "secret",
|
|
506
|
+
reason: "Drops the org's config copy and its secrets; part of the config-copy lifecycle on the web",
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
route: "POST /api/v1/orgs/:orgId/extensions/:extension/overrides/take",
|
|
510
|
+
category: "secret",
|
|
511
|
+
reason: "Starts an org config copy whose secrets a person enters on the web",
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
route: "GET /api/v1/orgs/:orgId/extensions/:extension/tools",
|
|
515
|
+
category: "later",
|
|
516
|
+
reason: "An extension's tools with the org's on/off switches, readable by an agent later",
|
|
517
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
route: "PUT /api/v1/orgs/:orgId/extensions/:extension/tools/:tool",
|
|
521
|
+
category: "later",
|
|
522
|
+
reason: "Turns one extension tool on or off in the org; an org-class write for later",
|
|
523
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
524
|
+
},
|
|
525
|
+
// org-uploads
|
|
526
|
+
{
|
|
527
|
+
route: "POST /api/v1/orgs/:orgId/catalog/uploads/file",
|
|
528
|
+
category: "transport",
|
|
529
|
+
reason: "Uploads a plugin archive as multipart bytes",
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
route: "GET /api/v1/orgs/:orgId/catalog/uploads/:stagingId",
|
|
533
|
+
category: "later",
|
|
534
|
+
reason: "Upload review read, mirrored with the import review later",
|
|
535
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
route: "POST /api/v1/orgs/:orgId/catalog/uploads/:stagingId/confirm",
|
|
539
|
+
category: "human-only",
|
|
540
|
+
reason: "Confirms an upload review, an approval decision",
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
route: "PUT /api/v1/orgs/:orgId/owned-plugins/:id/shareable",
|
|
544
|
+
category: "later",
|
|
545
|
+
reason: "Sharing an org-owned plugin with other orgs, mirrored later",
|
|
546
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
route: "POST /api/v1/orgs/:orgId/owned-plugins/:id/delete/preview",
|
|
550
|
+
category: "later",
|
|
551
|
+
reason: "Owned plugin delete preview, mirrored later",
|
|
552
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
route: "POST /api/v1/orgs/:orgId/owned-plugins/:id/delete",
|
|
556
|
+
category: "later",
|
|
557
|
+
reason: "Owned plugin deletion, mirrored later behind confirmation",
|
|
558
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
route: "DELETE /api/v1/orgs/:orgId/owned-plugins/:id/pending",
|
|
562
|
+
category: "later",
|
|
563
|
+
reason: "Dropping a pending owned plugin upload, mirrored later",
|
|
564
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
565
|
+
},
|
|
566
|
+
// channels
|
|
567
|
+
{
|
|
568
|
+
route: "GET /api/v1/orgs/:orgId/channels",
|
|
569
|
+
category: "later",
|
|
570
|
+
reason: "Channel connection list an agent could read later",
|
|
571
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
route: "GET /api/v1/orgs/:orgId/channels/schema/:plugin",
|
|
575
|
+
category: "later",
|
|
576
|
+
reason: "Channel config schema an agent could read later",
|
|
577
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
route: "POST /api/v1/orgs/:orgId/channels",
|
|
581
|
+
category: "secret",
|
|
582
|
+
reason: "Creates a channel connection with app secrets",
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
route: "GET /api/v1/orgs/:orgId/channels/:connectionId",
|
|
586
|
+
category: "secret",
|
|
587
|
+
reason: "Returns a channel connection whose config holds secret fields",
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
route: "PATCH /api/v1/orgs/:orgId/channels/:connectionId",
|
|
591
|
+
category: "secret",
|
|
592
|
+
reason: "Writes channel config that includes secret fields",
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
route: "DELETE /api/v1/orgs/:orgId/channels/:connectionId",
|
|
596
|
+
category: "later",
|
|
597
|
+
reason: "Removing a channel connection, mirrored later behind confirmation",
|
|
598
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
599
|
+
},
|
|
600
|
+
// attachments
|
|
601
|
+
{
|
|
602
|
+
route: "GET /api/v1/orgs/:orgId/attachments/limits",
|
|
603
|
+
category: "later",
|
|
604
|
+
reason: "Attachment limits an agent could read later",
|
|
605
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
route: "POST /api/v1/orgs/:orgId/attachments",
|
|
609
|
+
category: "transport",
|
|
610
|
+
reason: "Creates a presigned attachment upload",
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
route: "POST /api/v1/orgs/:orgId/attachments/:id/finalize",
|
|
614
|
+
category: "transport",
|
|
615
|
+
reason: "Finishes a presigned attachment upload",
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
route: "GET /api/v1/orgs/:orgId/attachments/:id/download",
|
|
619
|
+
category: "transport",
|
|
620
|
+
reason: "Serves attachment file bytes",
|
|
621
|
+
},
|
|
622
|
+
// conversations
|
|
623
|
+
{
|
|
624
|
+
route: "POST /api/v1/orgs/:orgId/conversations",
|
|
625
|
+
category: "later",
|
|
626
|
+
reason: "Starting a conversation, mirrored later",
|
|
627
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
route: "PATCH /api/v1/orgs/:orgId/conversations/:id",
|
|
631
|
+
category: "later",
|
|
632
|
+
reason: "Renaming or editing a conversation, mirrored later",
|
|
633
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
route: "DELETE /api/v1/orgs/:orgId/conversations/:id",
|
|
637
|
+
category: "later",
|
|
638
|
+
reason: "Deleting a conversation, mirrored later behind confirmation",
|
|
639
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
route: "GET /api/v1/orgs/:orgId/conversations",
|
|
643
|
+
category: "later",
|
|
644
|
+
reason: "Conversation list an agent could read later",
|
|
645
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
route: "GET /api/v1/orgs/:orgId/conversations/groups",
|
|
649
|
+
category: "later",
|
|
650
|
+
reason: "Conversation groups an agent could read later",
|
|
651
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id",
|
|
655
|
+
category: "later",
|
|
656
|
+
reason: "Conversation detail an agent could read later",
|
|
657
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/events",
|
|
661
|
+
category: "later",
|
|
662
|
+
reason: "Event log read an agent could do later",
|
|
663
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/subagents",
|
|
667
|
+
category: "later",
|
|
668
|
+
reason: "Sub-agent list an agent could read later",
|
|
669
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/agent-tree",
|
|
673
|
+
category: "later",
|
|
674
|
+
reason: "Agent tree an agent could read later",
|
|
675
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/usage",
|
|
679
|
+
category: "later",
|
|
680
|
+
reason: "Usage totals an agent could read later",
|
|
681
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/outputs/:outputId",
|
|
685
|
+
category: "transport",
|
|
686
|
+
reason: "Serves archived tool output bytes",
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/artifacts/:artifactId/download",
|
|
690
|
+
category: "transport",
|
|
691
|
+
reason: "Serves artifact file bytes",
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/artifacts/:artifactId/preview",
|
|
695
|
+
category: "transport",
|
|
696
|
+
reason: "Serves artifact preview bytes",
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/files",
|
|
700
|
+
category: "later",
|
|
701
|
+
reason: "Conversation file list an agent could read later",
|
|
702
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/files/:fileId/content",
|
|
706
|
+
category: "transport",
|
|
707
|
+
reason: "Serves sandbox file bytes",
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/environment",
|
|
711
|
+
category: "later",
|
|
712
|
+
reason: "The conversation's environment and its instance state, an agent could read later",
|
|
713
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
714
|
+
},
|
|
715
|
+
// environments (personal cloud environments, environments design phase 1)
|
|
716
|
+
{
|
|
717
|
+
route: "GET /api/v1/orgs/:orgId/environments",
|
|
718
|
+
category: "later",
|
|
719
|
+
reason: "The person's environments, an agent could list later",
|
|
720
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
route: "POST /api/v1/orgs/:orgId/environments",
|
|
724
|
+
category: "later",
|
|
725
|
+
reason: "Creates a personal cloud environment; an agent could do it later behind confirmation",
|
|
726
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
route: "GET /api/v1/orgs/:orgId/environments/:id",
|
|
730
|
+
category: "later",
|
|
731
|
+
reason: "One environment's details, an agent could read later",
|
|
732
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
route: "PATCH /api/v1/orgs/:orgId/environments/:id",
|
|
736
|
+
category: "later",
|
|
737
|
+
reason: "Renames an environment; an agent could do it later behind confirmation",
|
|
738
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
route: "DELETE /api/v1/orgs/:orgId/environments/:id",
|
|
742
|
+
category: "human-only",
|
|
743
|
+
reason: "Deletes an environment and its files",
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
route: "POST /api/v1/orgs/:orgId/environments/:id/files/reset",
|
|
747
|
+
category: "human-only",
|
|
748
|
+
reason: "Wipes an environment's files to start with an empty workspace",
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/tools",
|
|
752
|
+
category: "later",
|
|
753
|
+
reason: "Tool list of a conversation, readable by an agent later",
|
|
754
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
route: "POST /api/v1/orgs/:orgId/conversations/:id/messages",
|
|
758
|
+
category: "later",
|
|
759
|
+
reason: "Sending a user message, mirrored later",
|
|
760
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/queue",
|
|
764
|
+
category: "later",
|
|
765
|
+
reason: "Message queue read an agent could do later",
|
|
766
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
route: "POST /api/v1/orgs/:orgId/conversations/:id/queue",
|
|
770
|
+
category: "later",
|
|
771
|
+
reason: "Queueing a message, mirrored later",
|
|
772
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
route: "POST /api/v1/orgs/:orgId/conversations/:id/queue/resume",
|
|
776
|
+
category: "later",
|
|
777
|
+
reason: "Resuming a paused queue, mirrored later",
|
|
778
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
route: "PATCH /api/v1/orgs/:orgId/conversations/:id/queue/:itemId",
|
|
782
|
+
category: "later",
|
|
783
|
+
reason: "Editing a queued message, mirrored later",
|
|
784
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
route: "DELETE /api/v1/orgs/:orgId/conversations/:id/queue/:itemId",
|
|
788
|
+
category: "later",
|
|
789
|
+
reason: "Removing a queued message, mirrored later",
|
|
790
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
route: "POST /api/v1/orgs/:orgId/conversations/:id/queue/:itemId/send",
|
|
794
|
+
category: "later",
|
|
795
|
+
reason: "Sending a queued message now, mirrored later",
|
|
796
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
route: "POST /api/v1/orgs/:orgId/conversations/:id/abort",
|
|
800
|
+
category: "later",
|
|
801
|
+
reason: "Aborting a run, mirrored later",
|
|
802
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
803
|
+
},
|
|
804
|
+
// evals
|
|
805
|
+
{
|
|
806
|
+
route: "POST /api/v1/orgs/:orgId/eval-sets/:setId/runs/estimate",
|
|
807
|
+
category: "later",
|
|
808
|
+
reason: "Eval run cost estimate, mirrored later",
|
|
809
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
route: "POST /api/v1/orgs/:orgId/eval-sets/:setId/runs",
|
|
813
|
+
category: "later",
|
|
814
|
+
reason: "Starting an eval run, mirrored later behind confirmation",
|
|
815
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
route: "GET /api/v1/orgs/:orgId/eval-sets/:setId/runs",
|
|
819
|
+
category: "later",
|
|
820
|
+
reason: "Eval run list an agent could read later",
|
|
821
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
route: "GET /api/v1/orgs/:orgId/eval-runs/:runId",
|
|
825
|
+
category: "later",
|
|
826
|
+
reason: "Eval run detail an agent could read later",
|
|
827
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
route: "GET /api/v1/orgs/:orgId/eval-runs/:runId/results",
|
|
831
|
+
category: "later",
|
|
832
|
+
reason: "Eval results an agent could read later",
|
|
833
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
route: "GET /api/v1/orgs/:orgId/eval-runs/:runId/results/:resultId",
|
|
837
|
+
category: "later",
|
|
838
|
+
reason: "Eval result detail an agent could read later",
|
|
839
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
route: "POST /api/v1/orgs/:orgId/eval-runs/:runId/cancel",
|
|
843
|
+
category: "later",
|
|
844
|
+
reason: "Cancelling an eval run, mirrored later",
|
|
845
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
route: "PUT /api/v1/orgs/:orgId/eval-results/:resultId/label",
|
|
849
|
+
category: "later",
|
|
850
|
+
reason: "Labelling an eval result, mirrored later",
|
|
851
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
route: "POST /api/v1/orgs/:orgId/eval-sets",
|
|
855
|
+
category: "later",
|
|
856
|
+
reason: "Creating an eval set, mirrored later",
|
|
857
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
route: "GET /api/v1/orgs/:orgId/eval-sets",
|
|
861
|
+
category: "later",
|
|
862
|
+
reason: "Eval set list an agent could read later",
|
|
863
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
route: "GET /api/v1/orgs/:orgId/eval-sets/:setId",
|
|
867
|
+
category: "later",
|
|
868
|
+
reason: "Eval set detail an agent could read later",
|
|
869
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
route: "PATCH /api/v1/orgs/:orgId/eval-sets/:setId",
|
|
873
|
+
category: "later",
|
|
874
|
+
reason: "Editing an eval set, mirrored later",
|
|
875
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
route: "DELETE /api/v1/orgs/:orgId/eval-sets/:setId",
|
|
879
|
+
category: "later",
|
|
880
|
+
reason: "Deleting an eval set, mirrored later behind confirmation",
|
|
881
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
route: "POST /api/v1/orgs/:orgId/eval-sets/:setId/cases",
|
|
885
|
+
category: "later",
|
|
886
|
+
reason: "Adding an eval case, mirrored later",
|
|
887
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
route: "POST /api/v1/orgs/:orgId/eval-sets/:setId/cases/sample",
|
|
891
|
+
category: "later",
|
|
892
|
+
reason: "Sampling eval cases from conversations, mirrored later",
|
|
893
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
route: "GET /api/v1/orgs/:orgId/eval-sets/:setId/cases/:caseId",
|
|
897
|
+
category: "later",
|
|
898
|
+
reason: "Eval case detail an agent could read later",
|
|
899
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
route: "DELETE /api/v1/orgs/:orgId/eval-sets/:setId/cases/:caseId",
|
|
903
|
+
category: "later",
|
|
904
|
+
reason: "Removing an eval case, mirrored later",
|
|
905
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
route: "GET /api/v1/orgs/:orgId/trajectories",
|
|
909
|
+
category: "human-only",
|
|
910
|
+
reason: "Lists other people's conversation trajectories, audited as a human review",
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
route: "GET /api/v1/orgs/:orgId/trajectories/:conversationId",
|
|
914
|
+
category: "human-only",
|
|
915
|
+
reason: "Reads a full trajectory of someone's conversation, audited as a human review",
|
|
916
|
+
},
|
|
917
|
+
// extension-points
|
|
918
|
+
{
|
|
919
|
+
route: "GET /api/v1/orgs/:orgId/extension-points",
|
|
920
|
+
category: "later",
|
|
921
|
+
reason: "Extension point defaults an agent could read later",
|
|
922
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
route: "GET /api/v1/orgs/:orgId/extension-points/available",
|
|
926
|
+
category: "later",
|
|
927
|
+
reason: "Available extension point providers an agent could read later",
|
|
928
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
route: "PUT /api/v1/orgs/:orgId/extension-points/:point/default",
|
|
932
|
+
category: "later",
|
|
933
|
+
reason: "Choosing the default provider for a point, mirrored later",
|
|
934
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
935
|
+
},
|
|
936
|
+
// previewers
|
|
937
|
+
{
|
|
938
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/files/:fileId/previewers",
|
|
939
|
+
category: "transport",
|
|
940
|
+
reason: "Previewer lookup feeding the file viewer",
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/files/:fileId/previews/:plugin/:previewerId",
|
|
944
|
+
category: "transport",
|
|
945
|
+
reason: "Serves a rendered file preview",
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
route: "GET /api/v1/orgs/:orgId/file-previewers",
|
|
949
|
+
category: "later",
|
|
950
|
+
reason: "File previewer settings an agent could read later",
|
|
951
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
route: "PUT /api/v1/orgs/:orgId/file-previewers",
|
|
955
|
+
category: "later",
|
|
956
|
+
reason: "File previewer settings an agent could change later",
|
|
957
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
958
|
+
},
|
|
959
|
+
// identity
|
|
960
|
+
{ route: "POST /api/v1/auth/login", category: "human-only", reason: "Password login" },
|
|
961
|
+
{ route: "POST /api/v1/auth/refresh", category: "human-only", reason: "Rotates a refresh token" },
|
|
962
|
+
{ route: "POST /api/v1/auth/logout", category: "human-only", reason: "Ends the login session" },
|
|
963
|
+
{
|
|
964
|
+
route: "GET /api/v1/me",
|
|
965
|
+
category: "internal",
|
|
966
|
+
reason: "Account profile the web app loads for its own session; not an operation an agent needs",
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
route: "PUT /api/v1/me/current-org",
|
|
970
|
+
category: "human-only",
|
|
971
|
+
reason: "Switches the web session's current org",
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
route: "PUT /api/v1/me/password",
|
|
975
|
+
category: "human-only",
|
|
976
|
+
reason: "Changes the account password",
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
route: "POST /api/v1/me/tokens",
|
|
980
|
+
category: "human-only",
|
|
981
|
+
reason: "Creates a personal access token",
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
route: "GET /api/v1/me/tokens",
|
|
985
|
+
category: "human-only",
|
|
986
|
+
reason: "Lists personal access tokens",
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
route: "DELETE /api/v1/me/tokens/:tokenId",
|
|
990
|
+
category: "human-only",
|
|
991
|
+
reason: "Revokes a personal access token",
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
route: "GET /api/v1/auth/sources",
|
|
995
|
+
category: "internal",
|
|
996
|
+
reason: "Login source list the web sign-in page renders; no agent use",
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
route: "GET /api/v1/auth/sso/:plugin/start",
|
|
1000
|
+
category: "secret",
|
|
1001
|
+
reason: "Starts an SSO login with state and PKCE",
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
route: "GET /api/v1/auth/sso/:plugin/callback",
|
|
1005
|
+
category: "secret",
|
|
1006
|
+
reason: "Completes an SSO login from the identity provider",
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
route: "GET /api/v1/bind/:token",
|
|
1010
|
+
category: "human-only",
|
|
1011
|
+
reason: "Shows a one-time identity binding link",
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
route: "POST /api/v1/bind/:token",
|
|
1015
|
+
category: "human-only",
|
|
1016
|
+
reason: "Binds an external identity to an account",
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
route: "GET /api/v1/me/identities",
|
|
1020
|
+
category: "human-only",
|
|
1021
|
+
reason: "Lists the account's linked login identities",
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
route: "DELETE /api/v1/me/identities/:source/:externalId",
|
|
1025
|
+
category: "human-only",
|
|
1026
|
+
reason: "Unlinks a login identity",
|
|
1027
|
+
},
|
|
1028
|
+
// inbox
|
|
1029
|
+
{
|
|
1030
|
+
route: "GET /api/v1/admin/inbox",
|
|
1031
|
+
category: "later",
|
|
1032
|
+
reason: "Platform inbox list an agent could read later",
|
|
1033
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
route: "GET /api/v1/admin/inbox/count",
|
|
1037
|
+
category: "later",
|
|
1038
|
+
reason: "Platform inbox badge count, readable later",
|
|
1039
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
route: "POST /api/v1/admin/inbox/notices/:id/dismiss",
|
|
1043
|
+
category: "later",
|
|
1044
|
+
reason: "Dismissing a platform notice, mirrored later",
|
|
1045
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1046
|
+
},
|
|
1047
|
+
// health
|
|
1048
|
+
{ route: "GET /healthz", category: "transport", reason: "Liveness probe for the orchestrator" },
|
|
1049
|
+
{ route: "GET /readyz", category: "transport", reason: "Readiness probe for the orchestrator" },
|
|
1050
|
+
// models
|
|
1051
|
+
{
|
|
1052
|
+
route: "GET /api/v1/orgs/:orgId/model-purposes",
|
|
1053
|
+
category: "later",
|
|
1054
|
+
reason: "Org model per purpose, readable by an agent later",
|
|
1055
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
route: "PUT /api/v1/orgs/:orgId/model-purposes/:purpose",
|
|
1059
|
+
category: "later",
|
|
1060
|
+
reason: "Org model per purpose, settable by an agent later",
|
|
1061
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
route: "PATCH /api/v1/orgs/:orgId/models/:provider/disabled",
|
|
1065
|
+
category: "later",
|
|
1066
|
+
reason: "Org model disabled list write that an agent could mirror later behind confirmation",
|
|
1067
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1068
|
+
},
|
|
1069
|
+
// orgs
|
|
1070
|
+
{
|
|
1071
|
+
route: "POST /api/v1/orgs/:orgId/extensions/:extension/directory/sync",
|
|
1072
|
+
category: "later",
|
|
1073
|
+
reason: "Triggering a directory sync, mirrored later",
|
|
1074
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
route: "POST /api/v1/orgs/:orgId/invitations",
|
|
1078
|
+
category: "human-only",
|
|
1079
|
+
reason: "Invites a person into the org",
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
route: "GET /api/v1/orgs/:orgId/invitations",
|
|
1083
|
+
category: "human-only",
|
|
1084
|
+
reason: "Lists invitations with their tokens",
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
route: "DELETE /api/v1/orgs/:orgId/invitations/:id",
|
|
1088
|
+
category: "human-only",
|
|
1089
|
+
reason: "Revokes an invitation",
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
route: "GET /api/v1/invitations/:token",
|
|
1093
|
+
category: "human-only",
|
|
1094
|
+
reason: "Shows an invitation to its recipient",
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
route: "POST /api/v1/invitations/:token/accept",
|
|
1098
|
+
category: "human-only",
|
|
1099
|
+
reason: "Accepts an invitation into an org",
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
route: "POST /api/v1/orgs",
|
|
1103
|
+
category: "human-only",
|
|
1104
|
+
reason: "Creates an org and makes the caller its owner",
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
route: "GET /api/v1/orgs",
|
|
1108
|
+
category: "later",
|
|
1109
|
+
reason: "Org list an agent could read later",
|
|
1110
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
route: "GET /api/v1/orgs/:orgId",
|
|
1114
|
+
category: "later",
|
|
1115
|
+
reason: "Org detail an agent could read later",
|
|
1116
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
route: "PATCH /api/v1/orgs/:orgId",
|
|
1120
|
+
category: "later",
|
|
1121
|
+
reason: "Org profile edit, mirrored later",
|
|
1122
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1123
|
+
},
|
|
1124
|
+
{ route: "DELETE /api/v1/orgs/:orgId", category: "human-only", reason: "Deletes the whole org" },
|
|
1125
|
+
{
|
|
1126
|
+
route: "POST /api/v1/orgs/:orgId/transfer",
|
|
1127
|
+
category: "human-only",
|
|
1128
|
+
reason: "Transfers org ownership",
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
route: "POST /api/v1/orgs/:orgId/leave",
|
|
1132
|
+
category: "human-only",
|
|
1133
|
+
reason: "Removes the caller from the org",
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
route: "GET /api/v1/orgs/:orgId/members",
|
|
1137
|
+
category: "later",
|
|
1138
|
+
reason: "Member list an agent could read later",
|
|
1139
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
route: "PATCH /api/v1/orgs/:orgId/members/:accountId",
|
|
1143
|
+
category: "human-only",
|
|
1144
|
+
reason: "Changes a member's role",
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
route: "DELETE /api/v1/orgs/:orgId/members/:accountId",
|
|
1148
|
+
category: "human-only",
|
|
1149
|
+
reason: "Removes a member from the org",
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
route: "POST /api/v1/orgs/:orgId/service-tokens",
|
|
1153
|
+
category: "human-only",
|
|
1154
|
+
reason: "Creates a service token",
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
route: "GET /api/v1/orgs/:orgId/service-tokens",
|
|
1158
|
+
category: "human-only",
|
|
1159
|
+
reason: "Lists service tokens",
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
route: "DELETE /api/v1/orgs/:orgId/service-tokens/:tokenId",
|
|
1163
|
+
category: "human-only",
|
|
1164
|
+
reason: "Revokes a service token",
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
route: "GET /api/v1/orgs/:orgId/settings",
|
|
1168
|
+
category: "later",
|
|
1169
|
+
reason: "Org settings read an agent could do later",
|
|
1170
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
route: "PATCH /api/v1/orgs/:orgId/settings",
|
|
1174
|
+
category: "later",
|
|
1175
|
+
reason: "Org settings write, mirrored later behind confirmation",
|
|
1176
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1177
|
+
},
|
|
1178
|
+
// runtime
|
|
1179
|
+
{
|
|
1180
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/runs/:runId/draft",
|
|
1181
|
+
category: "transport",
|
|
1182
|
+
reason: "Streams the in-progress draft of a run",
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
route: "GET /api/v1/orgs/:orgId/conversations/:id/stream",
|
|
1186
|
+
category: "transport",
|
|
1187
|
+
reason: "Server-sent event stream of a conversation",
|
|
1188
|
+
},
|
|
1189
|
+
// skills
|
|
1190
|
+
{
|
|
1191
|
+
route: "GET /api/v1/orgs/:orgId/skill-changes/:id",
|
|
1192
|
+
category: "later",
|
|
1193
|
+
reason: "Skill change detail an agent could read later",
|
|
1194
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
route: "POST /api/v1/orgs/:orgId/skill-changes/:id/decide",
|
|
1198
|
+
category: "human-only",
|
|
1199
|
+
reason: "Decides a proposed skill change",
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
route: "GET /api/v1/orgs/:orgId/agents/:agentId/skills",
|
|
1203
|
+
category: "later",
|
|
1204
|
+
reason: "Skills attached to an agent, readable later",
|
|
1205
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
route: "DELETE /api/v1/orgs/:orgId/agents/:agentId/skills/:skillId",
|
|
1209
|
+
category: "later",
|
|
1210
|
+
reason: "Detaching a skill from an agent, mirrored later",
|
|
1211
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
route: "GET /api/v1/orgs/:orgId/inbox",
|
|
1215
|
+
category: "later",
|
|
1216
|
+
reason: "Org inbox list an agent could read later",
|
|
1217
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
route: "POST /api/v1/orgs/:orgId/inbox/notices/:id/dismiss",
|
|
1221
|
+
category: "later",
|
|
1222
|
+
reason: "Dismissing an org notice, mirrored later",
|
|
1223
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
route: "GET /api/v1/orgs/:orgId/agents/:agentId/invocable-skills",
|
|
1227
|
+
category: "later",
|
|
1228
|
+
reason: "Invocable skill list an agent could read later",
|
|
1229
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
route: "POST /api/v1/orgs/:orgId/skills/uploads",
|
|
1233
|
+
category: "transport",
|
|
1234
|
+
reason: "Uploads a skill archive as multipart bytes",
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
route: "PUT /api/v1/orgs/:orgId/skills/:id/shareable",
|
|
1238
|
+
category: "later",
|
|
1239
|
+
reason: "Sharing an org skill with other orgs, mirrored later",
|
|
1240
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
route: "GET /api/v1/orgs/:orgId/skills/:id/delete-preview",
|
|
1244
|
+
category: "later",
|
|
1245
|
+
reason: "Skill delete preview an agent could read later",
|
|
1246
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
route: "DELETE /api/v1/orgs/:orgId/skills/:id",
|
|
1250
|
+
category: "later",
|
|
1251
|
+
reason: "Skill deletion, mirrored later behind confirmation",
|
|
1252
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1253
|
+
},
|
|
1254
|
+
// approvals
|
|
1255
|
+
{
|
|
1256
|
+
route: "GET /api/v1/orgs/:orgId/approvals",
|
|
1257
|
+
category: "human-only",
|
|
1258
|
+
reason: "Lists approvals awaiting a person's decision",
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
route: "GET /api/v1/orgs/:orgId/approvals/:id",
|
|
1262
|
+
category: "human-only",
|
|
1263
|
+
reason: "Shows an approval awaiting a person's decision",
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
route: "POST /api/v1/orgs/:orgId/approvals/:id/decision",
|
|
1267
|
+
category: "human-only",
|
|
1268
|
+
reason: "Decides a tool permission approval",
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
route: "GET /api/v1/orgs/:orgId/me/tool-grants",
|
|
1272
|
+
category: "human-only",
|
|
1273
|
+
reason: "Lists the caller's standing permission grants",
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
route: "DELETE /api/v1/orgs/:orgId/me/tool-grants/:agentId/:toolKey",
|
|
1277
|
+
category: "human-only",
|
|
1278
|
+
reason: "Revokes a standing permission grant",
|
|
1279
|
+
},
|
|
1280
|
+
// connectors
|
|
1281
|
+
{
|
|
1282
|
+
route: "GET /api/v1/orgs/:orgId/connectors/prompts",
|
|
1283
|
+
category: "later",
|
|
1284
|
+
reason: "Connector prompt list an agent could read later",
|
|
1285
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
route: "GET /api/v1/orgs/:orgId/connectors/resources",
|
|
1289
|
+
category: "later",
|
|
1290
|
+
reason: "Connector resource list an agent could read later",
|
|
1291
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
route: "POST /api/v1/orgs/:orgId/connectors/:connectorId/prompts/:name",
|
|
1295
|
+
category: "later",
|
|
1296
|
+
reason: "Rendering a connector prompt, mirrored later",
|
|
1297
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
route: "GET /api/v1/orgs/:orgId/connectors/kinds",
|
|
1301
|
+
category: "later",
|
|
1302
|
+
reason: "Connector kinds an agent could read later",
|
|
1303
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
route: "POST /api/v1/orgs/:orgId/connectors",
|
|
1307
|
+
category: "secret",
|
|
1308
|
+
reason: "Creates a connector whose endpoint config can carry credentials",
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
route: "POST /api/v1/orgs/:orgId/connectors/preview",
|
|
1312
|
+
category: "secret",
|
|
1313
|
+
reason: "Preview body carries a connector credential entered by a person",
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
route: "PATCH /api/v1/orgs/:orgId/connectors/:connectorId",
|
|
1317
|
+
category: "secret",
|
|
1318
|
+
reason: "Edits connector endpoint config that can carry credentials",
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
route: "DELETE /api/v1/orgs/:orgId/connectors/:connectorId",
|
|
1322
|
+
category: "later",
|
|
1323
|
+
reason: "Deleting a connector, mirrored later behind confirmation",
|
|
1324
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
route: "POST /api/v1/orgs/:orgId/connectors/:connectorId/refresh",
|
|
1328
|
+
category: "later",
|
|
1329
|
+
reason: "Refreshing a connector's tool list, mirrored later",
|
|
1330
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
route: "POST /api/v1/orgs/:orgId/connectors/:connectorId/tools/:name/review",
|
|
1334
|
+
category: "human-only",
|
|
1335
|
+
reason: "Reviews a connector tool change, an approval decision",
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
route: "PUT /api/v1/orgs/:orgId/connectors/:connectorId/credentials/org",
|
|
1339
|
+
category: "secret",
|
|
1340
|
+
reason: "Writes the org's connector credentials",
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
route: "PUT /api/v1/orgs/:orgId/connectors/:connectorId/credentials/me",
|
|
1344
|
+
category: "secret",
|
|
1345
|
+
reason: "Writes the caller's connector credentials",
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
route: "DELETE /api/v1/orgs/:orgId/connectors/:connectorId/credentials/me",
|
|
1349
|
+
category: "secret",
|
|
1350
|
+
reason: "Deletes the caller's connector credentials",
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
route: "GET /api/v1/orgs/:orgId/tools/extensions",
|
|
1354
|
+
category: "later",
|
|
1355
|
+
reason: "Extension-provided tool list an agent could read later",
|
|
1356
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
route: "POST /api/v1/orgs/:orgId/connectors/:connectorId/connect",
|
|
1360
|
+
category: "secret",
|
|
1361
|
+
reason: "Starts a connector OAuth flow",
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
route: "GET /api/v1/oauth/callback",
|
|
1365
|
+
category: "secret",
|
|
1366
|
+
reason: "Receives the OAuth authorization code",
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
route: "GET /api/v1/orgs/:orgId/questions/:id",
|
|
1370
|
+
category: "human-only",
|
|
1371
|
+
reason: "Shows a question put to a person by an agent",
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
route: "POST /api/v1/orgs/:orgId/questions/:id/answer",
|
|
1375
|
+
category: "human-only",
|
|
1376
|
+
reason: "Answers a question put to a person",
|
|
1377
|
+
},
|
|
1378
|
+
// ui
|
|
1379
|
+
{
|
|
1380
|
+
route: "GET /api/v1/orgs/:orgId/ui/contributions",
|
|
1381
|
+
category: "later",
|
|
1382
|
+
reason: "Extension UI contribution list, readable later",
|
|
1383
|
+
issue: "https://github.com/capybara-hq/core/issues/91",
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
route: "GET /api/v1/orgs/:orgId/ui/views/:plugin/:id",
|
|
1387
|
+
category: "transport",
|
|
1388
|
+
reason: "Renders an extension UI view for the web app",
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
route: "POST /api/v1/orgs/:orgId/ui/actions/:plugin/:id",
|
|
1392
|
+
category: "transport",
|
|
1393
|
+
reason: "Runs an extension UI action from the web app",
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
route: "POST /api/v1/orgs/:orgId/ui/embeds/:plugin/:id/token",
|
|
1397
|
+
category: "transport",
|
|
1398
|
+
reason: "Issues an embed token for an iframe",
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
route: "GET /api/v1/orgs/:orgId/ui/stream",
|
|
1402
|
+
category: "transport",
|
|
1403
|
+
reason: "Server-sent event stream of UI invalidations",
|
|
1404
|
+
},
|
|
1405
|
+
];
|