@vellumai/assistant 0.10.5 → 0.10.6-dev.202607062043.72bc40b
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/ARCHITECTURE.md +65 -64
- package/Dockerfile +1 -0
- package/README.md +7 -10
- package/__tests__/permissions/gateway-threshold-reader.test.ts +1 -1
- package/docs/stt-provider-onboarding.md +4 -5
- package/docs/trusted-contact-access.md +7 -7
- package/eslint-rules/cli-no-daemon-internals.js +3 -0
- package/node_modules/@vellumai/gateway-client/src/__tests__/contact-read-contracts.test.ts +36 -0
- package/node_modules/@vellumai/gateway-client/src/__tests__/invite-contract.test.ts +233 -0
- package/node_modules/@vellumai/gateway-client/src/__tests__/trust-verdict-contract.test.ts +22 -0
- package/node_modules/@vellumai/gateway-client/src/__tests__/verification-session-contract.test.ts +299 -0
- package/node_modules/@vellumai/gateway-client/src/channel-permission-contract.ts +156 -0
- package/node_modules/@vellumai/gateway-client/src/gateway-ipc-contracts.ts +20 -8
- package/node_modules/@vellumai/gateway-client/src/index.ts +112 -0
- package/node_modules/@vellumai/gateway-client/src/invite-contract.ts +216 -0
- package/node_modules/@vellumai/gateway-client/src/outbound-contract.ts +10 -0
- package/node_modules/@vellumai/gateway-client/src/trust-verdict-contract.ts +14 -0
- package/node_modules/@vellumai/gateway-client/src/verification-session-contract.ts +398 -0
- package/node_modules/@vellumai/service-contracts/src/__tests__/ingress.test.ts +0 -8
- package/node_modules/@vellumai/service-contracts/src/twilio-ingress.ts +3 -14
- package/openapi.yaml +378 -266
- package/package.json +1 -1
- package/src/__tests__/access-request-seed-content-blocks.test.ts +60 -4
- package/src/__tests__/acp-session.test.ts +4 -1
- package/src/__tests__/actor-trust-resolver-address-fallback.test.ts +1 -7
- package/src/__tests__/add-message-preassigned-id.test.ts +56 -0
- package/src/__tests__/anthropic-provider.test.ts +60 -19
- package/src/__tests__/app-conversation-ids-backfill.test.ts +3 -0
- package/src/__tests__/app-dir-path-guard.test.ts +2 -3
- package/src/__tests__/app-source-watcher.test.ts +11 -0
- package/src/__tests__/assistant-event-hub.test.ts +65 -0
- package/src/__tests__/assistant-id-boundary-guard.test.ts +0 -1
- package/src/__tests__/assistant-stream-state.test.ts +18 -0
- package/src/__tests__/attachment-stored-path-annotation.test.ts +151 -0
- package/src/__tests__/attachments-store.test.ts +40 -1
- package/src/__tests__/attachments.test.ts +53 -0
- package/src/__tests__/background-workers-disk-pressure.test.ts +2 -28
- package/src/__tests__/btw-routes.test.ts +57 -3
- package/src/__tests__/call-controller.test.ts +260 -79
- package/src/__tests__/call-domain.test.ts +48 -1
- package/src/__tests__/call-pointer-no-hardcoded-copy.guard.test.ts +2 -6
- package/src/__tests__/call-routes-http.test.ts +15 -14
- package/src/__tests__/call-setup-flow-invite.test.ts +568 -0
- package/src/__tests__/call-setup-flow-midcall-trust.test.ts +231 -0
- package/src/__tests__/call-setup-flow-name-capture.test.ts +754 -0
- package/src/__tests__/call-setup-flow-verification.test.ts +924 -0
- package/src/__tests__/call-setup-flow.test.ts +311 -0
- package/src/__tests__/call-start-guardian-guard.test.ts +29 -3
- package/src/__tests__/channel-approval-routes.test.ts +0 -1
- package/src/__tests__/channel-guardian.test.ts +293 -629
- package/src/__tests__/channel-readiness-service.test.ts +0 -6
- package/src/__tests__/channel-readiness-slack-remote.test.ts +0 -4
- package/src/__tests__/channel-reply-delivery.test.ts +214 -5
- package/src/__tests__/channel-setup-panel-ack.test.ts +184 -0
- package/src/__tests__/clear-all-lexical.test.ts +13 -49
- package/src/__tests__/client-os-metadata-persistence.test.ts +166 -0
- package/src/__tests__/config-loader-backfill.test.ts +16 -36
- package/src/__tests__/config-schema.test.ts +25 -118
- package/src/__tests__/contact-store-interaction-info.test.ts +27 -70
- package/src/__tests__/contacts-relay-reads.test.ts +188 -23
- package/src/__tests__/contacts-tools.test.ts +42 -1
- package/src/__tests__/contacts-write.test.ts +181 -0
- package/src/__tests__/context-search-conversations-source.test.ts +4 -0
- package/src/__tests__/conversation-agent-loop-inference-profile.test.ts +0 -4
- package/src/__tests__/conversation-agent-loop-overflow.test.ts +0 -4
- package/src/__tests__/conversation-agent-loop.test.ts +0 -4
- package/src/__tests__/conversation-analysis-routes.test.ts +1 -1
- package/src/__tests__/conversation-attention-telegram.test.ts +0 -1
- package/src/__tests__/conversation-delete-schedule-cleanup.test.ts +2 -61
- package/src/__tests__/conversation-disk-view.test.ts +1 -0
- package/src/__tests__/conversation-error.test.ts +26 -0
- package/src/__tests__/conversation-fork-crud.test.ts +3 -3
- package/src/__tests__/conversation-fork-retrospective.test.ts +0 -2
- package/src/__tests__/conversation-key-store-disk-view.test.ts +80 -0
- package/src/__tests__/conversation-queue.test.ts +108 -0
- package/src/__tests__/conversation-routes-enabled-plugins.test.ts +7 -3
- package/src/__tests__/conversation-routes-guardian-reply.test.ts +1 -0
- package/src/__tests__/conversation-routes-hidden-queue.test.ts +1 -0
- package/src/__tests__/conversation-routes-slash-commands.test.ts +1 -0
- package/src/__tests__/conversation-runtime-assembly.test.ts +59 -16
- package/src/__tests__/conversation-slash-queue.test.ts +0 -4
- package/src/__tests__/conversation-slash-unknown.test.ts +0 -4
- package/src/__tests__/credential-prompt-route.test.ts +69 -0
- package/src/__tests__/credential-security-invariants.test.ts +1 -0
- package/src/__tests__/default-plugin-names-guard.test.ts +28 -0
- package/src/__tests__/deterministic-verification-control-plane.test.ts +36 -64
- package/src/__tests__/disk-pressure-tools.test.ts +6 -0
- package/src/__tests__/empty-response-hook.test.ts +2 -0
- package/src/__tests__/empty-state-greeting-cache.test.ts +9 -0
- package/src/__tests__/exploration-drift-hook.test.ts +1 -0
- package/src/__tests__/file-edit-tool.test.ts +4 -3
- package/src/__tests__/file-read-tool.test.ts +4 -3
- package/src/__tests__/file-write-tool.test.ts +4 -3
- package/src/__tests__/gateway-only-enforcement.test.ts +15 -110
- package/src/__tests__/gateway-only-guard.test.ts +0 -1
- package/src/__tests__/guardian-expiry-notifier.test.ts +1 -0
- package/src/__tests__/guardian-outbound-http.test.ts +32 -18
- package/src/__tests__/guardian-routing-invariants.test.ts +18 -0
- package/src/__tests__/guardian-verification-voice-binding.test.ts +1 -1
- package/src/__tests__/guardian-wait-controller.test.ts +628 -0
- package/src/__tests__/helpers/create-guardian-binding.ts +1 -1
- package/src/__tests__/helpers/gateway-verification-sessions-stub.ts +171 -0
- package/src/__tests__/helpers/seed-contact-channel.ts +0 -2
- package/src/__tests__/helpers/verification-sessions-ipc-sim.ts +653 -0
- package/src/__tests__/history-repair-hook.test.ts +3 -0
- package/src/__tests__/hook-broadcast.test.ts +188 -0
- package/src/__tests__/http-conversation-lineage.test.ts +6 -1
- package/src/__tests__/http-user-message-parity.test.ts +1 -0
- package/src/__tests__/image-recovery-hook.test.ts +2 -0
- package/src/__tests__/image-source-path-reinject.test.ts +155 -14
- package/src/__tests__/inactive-tool-error-messages.test.ts +109 -0
- package/src/__tests__/inbound-invite-redemption.test.ts +72 -341
- package/src/__tests__/injector-chain.test.ts +4 -0
- package/src/__tests__/introduction-card-resolver.test.ts +363 -0
- package/src/__tests__/invite-redeemed-ipc.test.ts +97 -0
- package/src/__tests__/invite-routes-http.test.ts +246 -420
- package/src/__tests__/job-handler-registration-guard.test.ts +88 -0
- package/src/__tests__/lexical-index-dual-write.test.ts +105 -87
- package/src/__tests__/list-messages-attachments.test.ts +1 -0
- package/src/__tests__/managed-profile-guard.test.ts +569 -78
- package/src/__tests__/max-tokens-continue-hook.test.ts +1 -0
- package/src/__tests__/mcp-config-secret-boundary.test.ts +1 -0
- package/src/__tests__/media-stream-audio-transcode.test.ts +113 -0
- package/src/__tests__/media-stream-output.test.ts +350 -19
- package/src/__tests__/media-stream-server-integration.test.ts +947 -173
- package/src/__tests__/media-stream-stt-session.test.ts +498 -1
- package/src/__tests__/memory-jobs-worker-backoff.test.ts +1 -1
- package/src/__tests__/memory-jobs-worker-lanes.test.ts +3 -3
- package/src/__tests__/memory-retrieval-hook.test.ts +1 -0
- package/src/__tests__/memory-worker-tool-registry-guard.test.ts +59 -0
- package/src/__tests__/mtime-cache.test.ts +268 -84
- package/src/__tests__/notification-decision-fallback.test.ts +10 -8
- package/src/__tests__/notification-decision-strategy.test.ts +57 -8
- package/src/__tests__/persistence-layering-guard.test.ts +23 -9
- package/src/__tests__/phone.test.ts +1 -15
- package/src/__tests__/plugin-bootstrap.test.ts +6 -191
- package/src/__tests__/plugin-config-data-migration.test.ts +2 -4
- package/src/__tests__/plugin-disabled-state.test.ts +0 -97
- package/src/__tests__/plugin-effective-enabled-set.test.ts +50 -68
- package/src/__tests__/plugin-import-boundary-guard.test.ts +14 -3
- package/src/__tests__/plugin-pipeline.test.ts +98 -2
- package/src/__tests__/plugin-tool-contribution.test.ts +1 -1
- package/src/__tests__/plugin-types.test.ts +0 -1
- package/src/__tests__/public-ingress-urls.test.ts +0 -48
- package/src/__tests__/qdrant-collection-migration.test.ts +104 -0
- package/src/__tests__/reaction-intercept-member-verdict-warm.test.ts +0 -1
- package/src/__tests__/reaction-persistence.test.ts +2 -4
- package/src/__tests__/registry.test.ts +9 -10
- package/src/__tests__/schedule-routes.test.ts +6 -0
- package/src/__tests__/secret-ingress-http.test.ts +1 -0
- package/src/__tests__/secret-routes-platform-proxy.test.ts +5 -2
- package/src/__tests__/shared-dep-links.test.ts +123 -0
- package/src/__tests__/skill-load-feature-flag.test.ts +2 -4
- package/src/__tests__/skill-load-inline-command.test.ts +2 -4
- package/src/__tests__/skill-load-inline-includes.test.ts +2 -4
- package/src/__tests__/skill-load-plugin-scope.test.ts +2 -4
- package/src/__tests__/skill-load-tool.test.ts +3 -6
- package/src/__tests__/slack-inbound-verification.test.ts +22 -3
- package/src/__tests__/slack-reaction-canonical-approval.test.ts +51 -1
- package/src/__tests__/surface-completion-nudge-hook.test.ts +2 -0
- package/src/__tests__/task-progress-nudge-hook.test.ts +1 -0
- package/src/__tests__/telephony-credential-preflight.test.ts +312 -0
- package/src/__tests__/telephony-tts-guard.test.ts +531 -0
- package/src/__tests__/title-generate-hook.test.ts +2 -0
- package/src/__tests__/tool-approval-handler.test.ts +87 -1
- package/src/__tests__/tool-approval-seed-content-blocks.test.ts +45 -20
- package/src/__tests__/tool-error-hook.test.ts +1 -0
- package/src/__tests__/tool-execution-abort-cleanup.test.ts +9 -33
- package/src/__tests__/tool-executor.test.ts +77 -4
- package/src/__tests__/tool-grant-request-escalation.test.ts +48 -2
- package/src/__tests__/tool-name-aliases.test.ts +111 -0
- package/src/__tests__/tool-result-truncate-hook.test.ts +1 -0
- package/src/__tests__/tool-side-effects-slack-dm.test.ts +79 -22
- package/src/__tests__/trust-context-guards.test.ts +1 -1
- package/src/__tests__/trusted-contact-inline-approval-integration.test.ts +11 -0
- package/src/__tests__/trusted-contact-lifecycle-notifications.test.ts +21 -3
- package/src/__tests__/trusted-contact-multichannel.test.ts +23 -8
- package/src/__tests__/trusted-contact-verification.test.ts +7 -9
- package/src/__tests__/twilio-provider.test.ts +17 -17
- package/src/__tests__/twilio-routes-twiml.test.ts +6 -543
- package/src/__tests__/twilio-routes.test.ts +258 -388
- package/src/__tests__/twilio-validation.test.ts +1 -1
- package/src/__tests__/usage-cache-backfill-migration.test.ts +5 -0
- package/src/__tests__/vellum-self-knowledge-inline-command.test.ts +2 -4
- package/src/__tests__/voice-approval-resolver-relay.test.ts +150 -0
- package/src/__tests__/voice-ingress-preflight.test.ts +61 -0
- package/src/__tests__/workspace-git-service.test.ts +1 -1
- package/src/__tests__/workspace-migration-013-repair-conversation-disk-view.test.ts +1 -0
- package/src/__tests__/workspace-migration-124-correct-default-user-boundary-comments.test.ts +172 -0
- package/src/__tests__/workspace-migration-125-repoint-managed-connections-to-vellum.test.ts +140 -0
- package/src/acp/__tests__/session-manager-persistence.test.ts +2 -0
- package/src/acp/__tests__/session-manager-resume.test.ts +8 -0
- package/src/acp/__tests__/session-manager-usage.test.ts +6 -0
- package/src/acp/__tests__/session-manager.test.ts +6 -0
- package/src/acp/agent-process.test.ts +116 -0
- package/src/acp/agent-process.ts +71 -0
- package/src/acp/failure-error.test.ts +109 -0
- package/src/acp/failure-error.ts +111 -0
- package/src/acp/session-manager.test.ts +312 -0
- package/src/acp/session-manager.ts +102 -46
- package/src/agent/attachments.ts +55 -13
- package/src/agent/loop.ts +38 -71
- package/src/api/events/hook-event.ts +53 -0
- package/src/api/events/open-panel.ts +7 -0
- package/src/api/index.ts +8 -0
- package/src/approvals/guardian-decision-primitive.ts +74 -24
- package/src/approvals/guardian-request-resolvers.ts +433 -125
- package/src/apps/app-store.ts +3 -2
- package/src/apps/shared-app-links-store.ts +1 -0
- package/src/background-wake/wake-intent-hooks.test.ts +7 -0
- package/src/calls/__tests__/{relay-setup-router.test.ts → call-setup-router.test.ts} +158 -107
- package/src/calls/__tests__/fish-audio-client.test.ts +73 -0
- package/src/calls/__tests__/gateway-invite-reader.test.ts +170 -0
- package/src/calls/{relay-access-wait.ts → access-request-wait.ts} +4 -5
- package/src/calls/call-controller.ts +97 -50
- package/src/calls/call-domain.ts +18 -42
- package/src/calls/call-pointer-messages.ts +18 -0
- package/src/calls/call-setup-flow-types.ts +76 -0
- package/src/calls/call-setup-flow.ts +1742 -0
- package/src/calls/{relay-setup-router.ts → call-setup-router.ts} +27 -46
- package/src/calls/call-speech-output.ts +87 -24
- package/src/calls/call-store.ts +4 -0
- package/src/calls/call-transport.ts +22 -36
- package/src/calls/{relay-verification.ts → call-verification.ts} +22 -67
- package/src/calls/fish-audio-client.ts +3 -0
- package/src/calls/gateway-invite-reader.ts +98 -0
- package/src/calls/guardian-wait-controller.ts +451 -0
- package/src/calls/media-stream-audio-transcode.ts +82 -2
- package/src/calls/media-stream-output.ts +142 -36
- package/src/calls/media-stream-server.ts +304 -185
- package/src/calls/media-stream-stt-session.ts +393 -50
- package/src/calls/media-turn-detector.ts +4 -6
- package/src/calls/resolve-call-tts-provider.ts +99 -34
- package/src/calls/telephony-credential-preflight.ts +159 -0
- package/src/calls/telephony-tts-capability.ts +186 -0
- package/src/calls/tts-call-strategy.ts +10 -106
- package/src/calls/twilio-provider.ts +3 -2
- package/src/calls/twilio-routes.ts +47 -351
- package/src/calls/types.ts +5 -3
- package/src/calls/voice-ingress-preflight.ts +9 -0
- package/src/calls/voice-session-bridge.ts +4 -4
- package/src/channels/__tests__/gateway-verification-sessions.test.ts +521 -0
- package/src/channels/config.ts +0 -42
- package/src/channels/gateway-verification-sessions.ts +309 -0
- package/src/cli/commands/contacts.ts +2 -2
- package/src/cli/commands/conversations.ts +0 -65
- package/src/cli/commands/credentials.ts +17 -0
- package/src/cli/commands/keys.ts +86 -83
- package/src/cli/commands/memory/__tests__/memory-items.test.ts +445 -0
- package/src/cli/commands/memory/index.ts +10 -1
- package/src/cli/commands/memory/items.ts +490 -0
- package/src/cli/commands/monitoring.ts +111 -25
- package/src/cli/commands/platform/__tests__/credits.test.ts +111 -0
- package/src/cli/commands/platform/index.ts +86 -4
- package/src/cli/lib/__tests__/confirm-prompt.test.ts +9 -9
- package/src/cli/lib/diff-plugin.ts +7 -3
- package/src/cli/lib/inspect-plugin.ts +28 -10
- package/src/cli/lib/install-from-github.ts +69 -24
- package/src/cli/lib/ipc-params.ts +3 -3
- package/src/cli/lib/list-installed-plugins.ts +11 -5
- package/src/cli/lib/merge-plugin-tree.ts +15 -9
- package/src/cli/lib/plugin-fingerprint.ts +32 -69
- package/src/cli/lib/publish-plugin.ts +1 -1
- package/src/cli/lib/unknown-command.ts +3 -1
- package/src/cli/lib/upgrade-plugin.ts +2 -5
- package/src/config/__tests__/sync-gated-profiles.test.ts +2 -2
- package/src/config/bundled-skills/app-builder/SKILL.md +3 -3
- package/src/config/bundled-skills/app-builder/TOOLS.json +0 -20
- package/src/config/bundled-skills/app-builder/tools/app-create.ts +0 -4
- package/src/config/bundled-skills/app-builder/tools/app-delete.ts +1 -5
- package/src/config/bundled-skills/app-builder/tools/app-generate-icon.ts +0 -4
- package/src/config/bundled-skills/app-builder/tools/app-refresh.ts +0 -4
- package/src/config/bundled-skills/app-builder/tools/app-update.ts +0 -4
- package/src/config/bundled-skills/contacts/tools/contact-merge.ts +1 -1
- package/src/config/bundled-skills/contacts/tools/contact-search.ts +1 -1
- package/src/config/bundled-skills/phone-calls/SKILL.md +1 -1
- package/src/config/bundled-skills/phone-calls/references/CONFIG.md +9 -9
- package/src/config/bundled-skills/phone-calls/references/TROUBLESHOOTING.md +10 -7
- package/src/config/bundled-skills/settings/tools/voice-config-update.ts +1 -1
- package/src/config/feature-flag-registry.json +2 -2
- package/src/config/loader.ts +0 -2
- package/src/config/schemas/__tests__/memory-v3.test.ts +12 -0
- package/src/config/schemas/calls.ts +8 -6
- package/src/config/schemas/elevenlabs.ts +1 -1
- package/src/config/schemas/llm.ts +9 -9
- package/src/config/schemas/memory-v3.ts +10 -4
- package/src/config/schemas/monitoring.ts +25 -10
- package/src/config/schemas/tts.ts +5 -15
- package/src/config/seed-inference-profiles.ts +35 -23
- package/src/contacts/__tests__/member-write-relay.test.ts +101 -5
- package/src/contacts/canonical-guardian-store.ts +5 -0
- package/src/contacts/contact-store.ts +81 -35
- package/src/contacts/contacts-write.ts +50 -25
- package/src/contacts/member-write-relay.ts +74 -31
- package/src/contacts/types.ts +0 -8
- package/src/credential-execution/ces-runtime.ts +116 -1
- package/src/credential-execution/executable-discovery.ts +63 -4
- package/src/credential-execution/process-manager.test.ts +130 -3
- package/src/credential-execution/process-manager.ts +60 -13
- package/src/daemon/app-source-watcher.ts +8 -0
- package/src/daemon/conversation-agent-loop.ts +44 -25
- package/src/daemon/conversation-error.ts +43 -0
- package/src/daemon/conversation-lifecycle.ts +37 -15
- package/src/daemon/conversation-messaging.ts +82 -30
- package/src/daemon/conversation-plugin-scope.ts +38 -0
- package/src/daemon/conversation-process.ts +96 -28
- package/src/daemon/conversation-runtime-assembly.ts +25 -40
- package/src/daemon/conversation-surfaces.ts +162 -8
- package/src/daemon/conversation-tool-setup.test.ts +51 -1
- package/src/daemon/conversation-tool-setup.ts +63 -21
- package/src/daemon/conversation.ts +44 -13
- package/src/daemon/event-loop-watchdog.ts +60 -4
- package/src/daemon/external-plugins-bootstrap.ts +10 -66
- package/src/daemon/handlers/__tests__/config-a2a-accept.test.ts +1 -1
- package/src/daemon/handlers/__tests__/config-a2a-complete.test.ts +26 -14
- package/src/daemon/handlers/__tests__/config-a2a-invite.test.ts +27 -14
- package/src/daemon/handlers/__tests__/config-channels.test.ts +19 -13
- package/src/daemon/handlers/config-a2a.ts +7 -14
- package/src/daemon/handlers/config-channels.ts +44 -44
- package/src/daemon/handlers/shared.ts +1 -1
- package/src/daemon/lifecycle.ts +5 -26
- package/src/daemon/message-protocol.ts +2 -0
- package/src/daemon/message-types/contacts.ts +2 -10
- package/src/daemon/providers-setup.ts +2 -2
- package/src/daemon/shutdown-handlers.ts +0 -5
- package/src/daemon/sqlite-corruption-watchdog.test.ts +217 -0
- package/src/daemon/sqlite-corruption-watchdog.ts +155 -0
- package/src/daemon/tool-side-effects.ts +41 -12
- package/src/daemon/trust-context.ts +7 -0
- package/src/documents/document-comments-store.test.ts +7 -1
- package/src/documents/document-comments-store.ts +8 -0
- package/src/documents/document-store.ts +15 -0
- package/src/heartbeat/__tests__/heartbeat-service.test.ts +6 -0
- package/src/home/conversation-starter-checkpoints.ts +1 -0
- package/src/home/job-handlers/conversation-starters.ts +1 -0
- package/src/hooks/__tests__/hook-live-reload.test.ts +167 -0
- package/src/hooks/hook-broadcast.ts +60 -0
- package/src/hooks/hook-loader.ts +88 -117
- package/src/hooks/hook-logger.ts +28 -0
- package/src/hooks/registry.ts +58 -20
- package/src/hooks/types.ts +642 -0
- package/src/inbound/public-ingress-urls.ts +0 -17
- package/src/ipc/__tests__/contacts-info-ipc.test.ts +285 -0
- package/src/ipc/assistant-server.ts +28 -7
- package/src/ipc/routes/__tests__/contacts-mirror-apply-atomicity.test.ts +62 -0
- package/src/ipc/routes/__tests__/contacts-mirror-apply.test.ts +272 -0
- package/src/ipc/routes/__tests__/contacts-mirror-ipc-routes.test.ts +322 -0
- package/src/ipc/routes/__tests__/invite-ipc-routes.test.ts +60 -4
- package/src/ipc/routes/contacts-info-ipc-routes.ts +239 -0
- package/src/ipc/routes/contacts-mirror-ipc-routes.ts +202 -0
- package/src/ipc/routes/db-proxy.ts +6 -2
- package/src/ipc/routes/invite-ipc-routes.ts +53 -39
- package/src/live-voice/__tests__/live-voice-archive.test.ts +10 -1
- package/src/live-voice/__tests__/live-voice-tts.test.ts +10 -10
- package/src/live-voice/live-voice-archive.ts +5 -0
- package/src/live-voice/live-voice-tts.ts +1 -1
- package/src/messaging/providers/slack/api.test.ts +96 -1
- package/src/messaging/providers/slack/api.ts +38 -17
- package/src/messaging/providers/slack/send.ts +3 -0
- package/src/messaging/providers/whatsapp/send.ts +29 -9
- package/src/monitoring/__tests__/active-conversations.test.ts +87 -0
- package/src/monitoring/__tests__/control.test.ts +11 -5
- package/src/monitoring/__tests__/daemon-heartbeat.test.ts +50 -0
- package/src/monitoring/__tests__/page-cache.test.ts +82 -0
- package/src/monitoring/__tests__/plugin-source-watch.test.ts +214 -0
- package/src/monitoring/__tests__/process-memory.test.ts +67 -0
- package/src/monitoring/__tests__/resource-sampler.test.ts +111 -0
- package/src/monitoring/__tests__/slabinfo.test.ts +42 -0
- package/src/monitoring/__tests__/stall-capture.test.ts +130 -0
- package/src/monitoring/active-conversations.ts +97 -0
- package/src/monitoring/control.ts +5 -8
- package/src/monitoring/daemon-heartbeat.ts +81 -0
- package/src/monitoring/page-cache.ts +152 -0
- package/src/monitoring/plugin-source-watch.ts +246 -0
- package/src/monitoring/process-memory.ts +115 -0
- package/src/monitoring/prune-snapshots.ts +33 -0
- package/src/monitoring/resource-sampler.ts +170 -91
- package/src/monitoring/slabinfo.ts +73 -0
- package/src/monitoring/stall-capture.ts +191 -0
- package/src/monitoring/worker.ts +17 -4
- package/src/notifications/access-request-copy.ts +94 -23
- package/src/notifications/adapters/slack.ts +45 -8
- package/src/notifications/approval-card-builder.ts +33 -18
- package/src/notifications/approval-card-data.ts +48 -15
- package/src/notifications/broadcaster.ts +4 -1
- package/src/notifications/decision-engine.ts +10 -1
- package/src/permissions/approval-policy.ts +8 -1
- package/src/permissions/checker.test.ts +98 -1
- package/src/permissions/checker.ts +76 -16
- package/src/permissions/gateway-threshold-reader.ts +7 -6
- package/src/permissions/ipc-risk-types.ts +10 -0
- package/src/permissions/secret-prompter.ts +11 -3
- package/src/persistence/__tests__/conversation-queries-search.test.ts +4 -0
- package/src/persistence/__tests__/slow-query-log.test.ts +77 -1
- package/src/persistence/a2a-invite-store.ts +205 -0
- package/src/persistence/attachments-store.ts +26 -3
- package/src/persistence/conversation-crud.ts +137 -110
- package/src/persistence/conversation-display-order-migration.ts +8 -2
- package/src/persistence/conversation-group-migration.test.ts +8 -0
- package/src/persistence/conversation-group-migration.ts +9 -0
- package/src/persistence/conversation-key-store.ts +5 -0
- package/src/persistence/conversation-queries.ts +4 -0
- package/src/persistence/embeddings/__tests__/messages-lexical-index.test.ts +54 -4
- package/src/persistence/embeddings/embedding-local.ts +2 -0
- package/src/persistence/embeddings/messages-lexical-index.ts +50 -1
- package/src/persistence/embeddings/qdrant-client.ts +52 -1
- package/src/persistence/group-crud.ts +13 -1
- package/src/persistence/job-handlers/cleanup.ts +27 -5
- package/src/persistence/job-handlers/message-lexical.ts +3 -6
- package/src/persistence/jobs-store.ts +10 -2
- package/src/persistence/llm-usage-store.ts +11 -0
- package/src/persistence/migrations/028-call-session-mode.ts +1 -1
- package/src/persistence/migrations/315-create-a2a-invites.ts +58 -0
- package/src/persistence/migrations/316-drop-contact-channels-invite-id.ts +28 -0
- package/src/persistence/migrations/317-canonical-guardian-requester-signals.ts +24 -0
- package/src/persistence/migrations/318-drop-contact-channel-telemetry.ts +32 -0
- package/src/persistence/migrations/319-remove-legacy-managed-connections.ts +47 -0
- package/src/persistence/migrations/__tests__/315-create-a2a-invites.test.ts +161 -0
- package/src/persistence/migrations/__tests__/316-drop-contact-channels-invite-id.test.ts +156 -0
- package/src/persistence/migrations/__tests__/318-drop-contact-channel-telemetry.test.ts +134 -0
- package/src/persistence/migrations/__tests__/319-remove-legacy-managed-connections.test.ts +88 -0
- package/src/persistence/raw-query.ts +49 -13
- package/src/persistence/schema/a2a.ts +14 -0
- package/src/persistence/schema/calls.ts +0 -49
- package/src/persistence/schema/contacts.ts +0 -34
- package/src/persistence/schema/guardian.ts +4 -0
- package/src/persistence/slow-query-log.ts +195 -19
- package/src/persistence/steps.ts +10 -0
- package/src/persistence/subagent-store.ts +5 -2
- package/src/persistence/worker-control.ts +1 -1
- package/src/plugin-api/constants.ts +2 -0
- package/src/plugin-api/index.ts +6 -1
- package/src/plugin-api/types.ts +25 -518
- package/src/plugins/__tests__/source-fingerprint.test.ts +151 -0
- package/src/plugins/defaults/index.ts +7 -109
- package/src/plugins/defaults/main.ts +52 -0
- package/src/plugins/defaults/memory/__tests__/conversation-queries.test.ts +34 -3
- package/src/plugins/defaults/memory/__tests__/filing-jobs.test.ts +123 -0
- package/src/{persistence → plugins/defaults/memory}/__tests__/jobs-worker-memory-disabled.test.ts +8 -8
- package/src/plugins/defaults/memory/__tests__/jobs-worker-pkb-schedule.test.ts +273 -0
- package/src/plugins/defaults/memory/__tests__/jobs-worker-v2-graph-trigger-embed.test.ts +3 -3
- package/src/plugins/defaults/memory/__tests__/jobs-worker-v2-schedule.test.ts +1 -12
- package/src/plugins/defaults/memory/__tests__/shutdown-hook.test.ts +26 -0
- package/src/plugins/defaults/memory/context-search/sources/conversations.ts +1 -0
- package/src/plugins/defaults/memory/filing-jobs.ts +133 -0
- package/src/plugins/defaults/memory/graph/bootstrap.test.ts +36 -10
- package/src/plugins/defaults/memory/graph/bootstrap.ts +3 -0
- package/src/plugins/defaults/memory/graph/scoring.ts +2 -2
- package/src/plugins/defaults/memory/hooks/conversation-deleted.ts +34 -0
- package/src/plugins/defaults/memory/hooks/init.ts +28 -13
- package/src/plugins/defaults/memory/hooks/shutdown.ts +11 -4
- package/src/plugins/defaults/memory/job-handler-registration.ts +96 -0
- package/src/plugins/defaults/memory/job-handlers.ts +14 -6
- package/src/{persistence → plugins/defaults/memory}/jobs-worker.ts +120 -20
- package/src/plugins/defaults/memory/memory-v2-concept-frequency.ts +2 -0
- package/src/plugins/defaults/memory/persistence-hooks.ts +49 -65
- package/src/plugins/defaults/memory/pkb-schedule.ts +31 -0
- package/src/plugins/defaults/memory/rerank-local.ts +2 -0
- package/src/plugins/defaults/memory/startup.ts +16 -11
- package/src/plugins/defaults/memory/task-memory-cleanup.ts +30 -85
- package/src/plugins/defaults/memory/v2/__tests__/qdrant.test.ts +115 -4
- package/src/plugins/defaults/memory/v2/qdrant.ts +59 -2
- package/src/plugins/defaults/memory/v3/__tests__/gate-flag.test.ts +17 -4
- package/src/plugins/defaults/memory/v3/__tests__/orchestrate.test.ts +114 -2
- package/src/plugins/defaults/memory/v3/__tests__/shadow-plugin.test.ts +25 -6
- package/src/plugins/defaults/memory/v3/gate-flag.ts +9 -4
- package/src/plugins/defaults/memory/v3/gate.ts +3 -3
- package/src/plugins/defaults/memory/v3/orchestrate.ts +32 -0
- package/src/plugins/defaults/memory/v3/shadow-plugin.ts +7 -5
- package/src/{jobs → plugins/defaults/memory}/worker.ts +31 -7
- package/src/plugins/ensure-shared-dep-links.ts +150 -0
- package/src/plugins/injector-registry.ts +6 -12
- package/src/plugins/mtime-cache.ts +366 -36
- package/src/plugins/pipeline.ts +65 -23
- package/src/plugins/plugin-tree-walk.ts +107 -0
- package/src/plugins/source-fingerprint.ts +108 -0
- package/src/plugins/source-versions.ts +108 -0
- package/src/plugins/surface-import.ts +27 -6
- package/src/plugins/types.ts +20 -24
- package/src/plugins/user-loader.ts +15 -0
- package/src/prompts/templates/users/default.md +5 -5
- package/src/providers/__tests__/inference.test.ts +42 -31
- package/src/providers/__tests__/vellum-connection-routing.test.ts +124 -0
- package/src/providers/__tests__/vellum-mismatch-routing.test.ts +134 -0
- package/src/providers/connection-resolution.ts +35 -2
- package/src/providers/inference/__tests__/base-url-route-validation.test.ts +96 -1
- package/src/providers/inference/__tests__/connections-label.test.ts +9 -28
- package/src/providers/inference/adapter-factory.ts +8 -1
- package/src/providers/inference/auth.ts +12 -4
- package/src/providers/inference/backfill.ts +7 -5
- package/src/providers/inference/connections.ts +54 -30
- package/src/providers/provider-availability.ts +11 -4
- package/src/providers/registry.ts +21 -7
- package/src/providers/speech-to-text/__tests__/provider-catalog.test.ts +0 -64
- package/src/providers/speech-to-text/__tests__/resolve.test.ts +92 -79
- package/src/providers/speech-to-text/deepgram-realtime.test.ts +98 -0
- package/src/providers/speech-to-text/deepgram-realtime.ts +62 -3
- package/src/providers/speech-to-text/provider-catalog.ts +0 -89
- package/src/providers/speech-to-text/resolve.ts +55 -0
- package/src/providers/vellum-model-routing.test.ts +51 -0
- package/src/providers/vellum-model-routing.ts +108 -0
- package/src/runtime/AGENTS.md +4 -4
- package/src/runtime/__tests__/trust-verdict-consumer.test.ts +37 -8
- package/src/runtime/access-request-helper.ts +15 -1
- package/src/runtime/assistant-stream-state.ts +80 -25
- package/src/runtime/auth/__tests__/route-policy.test.ts +31 -0
- package/src/runtime/channel-approval-types.ts +52 -2
- package/src/runtime/channel-approvals.ts +23 -8
- package/src/runtime/channel-invite-transport.ts +2 -2
- package/src/runtime/channel-invite-transports/voice.ts +1 -1
- package/src/runtime/channel-readiness-service.ts +3 -5
- package/src/runtime/channel-reply-delivery.ts +83 -24
- package/src/runtime/channel-retry-sweep.ts +4 -0
- package/src/runtime/channel-verification-service.ts +34 -487
- package/src/runtime/guardian-action-service.ts +10 -11
- package/src/runtime/guardian-reply-router.ts +122 -21
- package/src/runtime/http-server.ts +32 -97
- package/src/runtime/introduction-policy.test.ts +214 -0
- package/src/runtime/introduction-policy.ts +284 -0
- package/src/runtime/invite-service.ts +104 -361
- package/src/runtime/middleware/twilio-validation.ts +5 -7
- package/src/runtime/{slack-no-response.ts → no-response.ts} +26 -6
- package/src/runtime/pre-first-message-gate.ts +1 -0
- package/src/runtime/routes/__tests__/channel-verification-revoke.test.ts +20 -43
- package/src/runtime/routes/__tests__/consolidation-routes.test.ts +24 -3
- package/src/runtime/routes/__tests__/contact-routes.test.ts +80 -15
- package/src/runtime/routes/__tests__/conversation-list-routes.test.ts +7 -1
- package/src/runtime/routes/__tests__/conversation-query-routes.test.ts +180 -54
- package/src/runtime/routes/__tests__/global-search-routes.test.ts +0 -3
- package/src/runtime/routes/__tests__/inference-provider-connection-routes.test.ts +61 -24
- package/src/runtime/routes/__tests__/invite-relay-routes.test.ts +119 -30
- package/src/runtime/routes/__tests__/monitoring-routes.test.ts +100 -35
- package/src/runtime/routes/__tests__/retrospective-routes.test.ts +4 -0
- package/src/runtime/routes/__tests__/surface-action-routes.test.ts +1 -1
- package/src/runtime/routes/__tests__/surface-content-routes.test.ts +1 -1
- package/src/runtime/routes/acp-routes.ts +15 -3
- package/src/runtime/routes/app-management-routes.ts +0 -92
- package/src/runtime/routes/approval-routes.ts +4 -0
- package/src/runtime/routes/btw-routes.ts +32 -4
- package/src/runtime/routes/channel-route-shared.ts +18 -14
- package/src/runtime/routes/channel-verification-routes.ts +10 -9
- package/src/runtime/routes/consolidation-routes.ts +4 -2
- package/src/runtime/routes/contact-routes.ts +298 -117
- package/src/runtime/routes/conversation-management-routes.ts +1 -70
- package/src/runtime/routes/conversation-query-routes.ts +240 -56
- package/src/runtime/routes/conversation-routes.ts +26 -5
- package/src/runtime/routes/credential-prompt-routes.ts +20 -5
- package/src/runtime/routes/debug-routes.ts +1 -0
- package/src/runtime/routes/documents-routes.ts +5 -2
- package/src/runtime/routes/empty-state-greeting-cache.ts +37 -10
- package/src/runtime/routes/filing-routes.ts +50 -27
- package/src/runtime/routes/global-search-routes.ts +1 -0
- package/src/runtime/routes/inbound-message-handler.ts +9 -7
- package/src/runtime/routes/inbound-stages/acl-enforcement.test.ts +419 -82
- package/src/runtime/routes/inbound-stages/acl-enforcement.ts +147 -610
- package/src/runtime/routes/inbound-stages/background-dispatch.test.ts +6 -1
- package/src/runtime/routes/inbound-stages/background-dispatch.ts +1 -1
- package/src/runtime/routes/inbound-stages/bootstrap-intercept.test.ts +266 -0
- package/src/runtime/routes/inbound-stages/bootstrap-intercept.ts +129 -23
- package/src/runtime/routes/inbound-stages/guardian-activation-intercept.test.ts +93 -44
- package/src/runtime/routes/inbound-stages/guardian-activation-intercept.ts +72 -28
- package/src/runtime/routes/index.ts +0 -2
- package/src/runtime/routes/inference-provider-connection-routes.ts +26 -19
- package/src/runtime/routes/internal-twilio-routes.ts +0 -15
- package/src/runtime/routes/monitoring-routes.ts +79 -42
- package/src/runtime/routes/platform-routes.ts +82 -1
- package/src/runtime/routes/secret-routes.ts +14 -9
- package/src/runtime/routes/surface-conversation-resolver.ts +1 -0
- package/src/runtime/services/__tests__/analyze-conversation.test.ts +54 -9
- package/src/runtime/services/analyze-conversation.ts +14 -4
- package/src/runtime/slack-reply-session.test.ts +208 -15
- package/src/runtime/slack-reply-session.ts +65 -12
- package/src/runtime/slack-task-progress.test.ts +127 -0
- package/src/runtime/slack-task-progress.ts +47 -12
- package/src/runtime/trust-verdict-consumer.ts +7 -6
- package/src/runtime/verification-outbound-actions.ts +80 -54
- package/src/schedule/schedule-usage-store.ts +1 -0
- package/src/security/secure-keys.ts +15 -11
- package/src/stt/types.ts +5 -9
- package/src/telemetry/types.ts +10 -8
- package/src/telemetry/watchdog-direct-emit.test.ts +109 -0
- package/src/telemetry/watchdog-direct-emit.ts +89 -0
- package/src/tools/calls/call-start.ts +2 -2
- package/src/tools/document/document-comment-tool.test.ts +4 -0
- package/src/tools/executor.ts +59 -3
- package/src/tools/filesystem/edit.ts +0 -3
- package/src/tools/filesystem/fuzzy-match.ts +1 -1
- package/src/tools/filesystem/list.ts +0 -3
- package/src/tools/filesystem/read.ts +0 -3
- package/src/tools/filesystem/search.ts +0 -3
- package/src/tools/filesystem/write.ts +0 -3
- package/src/tools/network/__tests__/web-fetch-firecrawl.test.ts +21 -24
- package/src/tools/network/__tests__/web-search-metadata.test.ts +8 -19
- package/src/tools/network/__tests__/web-search.test.ts +34 -29
- package/src/tools/network/web-fetch.ts +9 -5
- package/src/tools/network/web-search.ts +0 -3
- package/src/tools/registry.ts +15 -27
- package/src/tools/skills/execute.ts +0 -3
- package/src/tools/skills/load.ts +0 -2
- package/src/tools/subagent/notify-parent.ts +0 -3
- package/src/tools/system/request-permission.ts +0 -3
- package/src/tools/terminal/safe-env.ts +2 -0
- package/src/tools/terminal/shell.ts +0 -3
- package/src/tools/tool-approval-handler.ts +171 -39
- package/src/tools/tool-manifest.ts +5 -41
- package/src/tools/tool-name-aliases.ts +141 -2
- package/src/tools/types.ts +7 -0
- package/src/tools/ui-surface/definitions.ts +1 -1
- package/src/tts/__tests__/provider-adapters.test.ts +53 -68
- package/src/tts/__tests__/provider-catalog-consistency.test.ts +8 -5
- package/src/tts/__tests__/provider-catalog.test.ts +21 -0
- package/src/tts/__tests__/provider-resolution.test.ts +83 -0
- package/src/tts/provider-catalog.ts +103 -232
- package/src/tts/provider-definition.ts +156 -0
- package/src/tts/providers/deepgram-provider.ts +41 -0
- package/src/tts/providers/elevenlabs-provider.ts +41 -0
- package/src/tts/providers/fish-audio-provider.ts +61 -10
- package/src/tts/providers/xai-provider.ts +41 -0
- package/src/tts/synthesize-text.ts +1 -1
- package/src/tts/types.ts +35 -16
- package/src/util/__tests__/cgroup-cpu.test.ts +31 -0
- package/src/util/__tests__/cgroup-memory.test.ts +104 -0
- package/src/util/__tests__/worker-memory.test.ts +64 -0
- package/src/util/cgroup-cpu.ts +47 -0
- package/src/util/cgroup-memory.ts +128 -7
- package/src/util/counter-diff.ts +21 -0
- package/src/util/phone.ts +1 -8
- package/src/util/process-tree.ts +3 -3
- package/src/util/worker-memory.ts +77 -0
- package/src/util/worker-process.ts +5 -1
- package/src/workflows/journal-store.ts +16 -1
- package/src/workspace/git-service.ts +6 -0
- package/src/workspace/migrations/124-correct-default-user-boundary-comments.ts +98 -0
- package/src/workspace/migrations/125-repoint-managed-connections-to-vellum.ts +99 -0
- package/src/workspace/migrations/registry.ts +4 -0
- package/src/__tests__/app-git-history.test.ts +0 -180
- package/src/__tests__/app-git-service.test.ts +0 -140
- package/src/__tests__/conversation-wipe.test.ts +0 -159
- package/src/__tests__/elevenlabs-client.test.ts +0 -297
- package/src/__tests__/filing-service.test.ts +0 -584
- package/src/__tests__/invite-redemption-service.test.ts +0 -1180
- package/src/__tests__/invite-service-ipc.test.ts +0 -350
- package/src/__tests__/job-handler-registry-guard.test.ts +0 -131
- package/src/__tests__/relay-server.test.ts +0 -6149
- package/src/__tests__/stt-hints.test.ts +0 -476
- package/src/__tests__/telephony-stt-routing.test.ts +0 -329
- package/src/__tests__/voice-invite-redemption.test.ts +0 -702
- package/src/__tests__/voice-quality.test.ts +0 -626
- package/src/apps/app-git-service.ts +0 -366
- package/src/calls/elevenlabs-client.ts +0 -116
- package/src/calls/relay-server.ts +0 -2465
- package/src/calls/stt-hints.ts +0 -186
- package/src/calls/telephony-stt-routing.ts +0 -145
- package/src/calls/voice-quality.ts +0 -124
- package/src/channels/channel-verification-sessions.ts +0 -562
- package/src/contacts/__tests__/contacts-write-revoke-relay.test.ts +0 -128
- package/src/contacts/guardian-rate-limits.ts +0 -191
- package/src/jobs/register-job-handlers.ts +0 -101
- package/src/persistence/invite-store.ts +0 -481
- package/src/persistence/memory-lifecycle-hooks.test.ts +0 -146
- package/src/persistence/memory-lifecycle-hooks.ts +0 -174
- package/src/plugins/defaults/default-plugin-names.ts +0 -60
- package/src/plugins/defaults/memory/filing-service.ts +0 -430
- package/src/plugins/job-handler-registry.ts +0 -94
- package/src/runtime/invite-redemption-service.ts +0 -828
- package/src/runtime/invite-redemption-templates.ts +0 -46
- package/src/runtime/routes/wipe-conversation-routes.ts +0 -97
- package/src/tts/__tests__/provider-registry.test.ts +0 -90
- package/src/tts/provider-registry.ts +0 -73
- package/src/tts/providers/index.ts +0 -44
- package/src/tts/providers/register-builtins.ts +0 -130
- package/src/util/voice-code.ts +0 -31
package/openapi.yaml
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
openapi: 3.1.0
|
|
4
4
|
info:
|
|
5
5
|
title: Vellum Assistant API
|
|
6
|
-
version: 0.10.
|
|
6
|
+
version: 0.10.6
|
|
7
7
|
description: Auto-generated OpenAPI specification for the Vellum Assistant runtime HTTP server.
|
|
8
8
|
servers:
|
|
9
9
|
- url: http://127.0.0.1:7821
|
|
@@ -747,93 +747,6 @@ paths:
|
|
|
747
747
|
required:
|
|
748
748
|
- success
|
|
749
749
|
additionalProperties: false
|
|
750
|
-
/v1/apps/{id}/diff:
|
|
751
|
-
get:
|
|
752
|
-
operationId: apps_by_id_diff_get
|
|
753
|
-
summary: Get app diff
|
|
754
|
-
description: Return a git diff between two commits for an app.
|
|
755
|
-
tags:
|
|
756
|
-
- apps
|
|
757
|
-
parameters:
|
|
758
|
-
- name: id
|
|
759
|
-
in: path
|
|
760
|
-
required: true
|
|
761
|
-
schema:
|
|
762
|
-
type: string
|
|
763
|
-
- name: fromCommit
|
|
764
|
-
in: query
|
|
765
|
-
required: true
|
|
766
|
-
schema:
|
|
767
|
-
type: string
|
|
768
|
-
- name: toCommit
|
|
769
|
-
in: query
|
|
770
|
-
required: false
|
|
771
|
-
schema:
|
|
772
|
-
type: string
|
|
773
|
-
responses:
|
|
774
|
-
"200":
|
|
775
|
-
description: Successful response
|
|
776
|
-
content:
|
|
777
|
-
application/json:
|
|
778
|
-
schema:
|
|
779
|
-
type: object
|
|
780
|
-
properties:
|
|
781
|
-
appId:
|
|
782
|
-
type: string
|
|
783
|
-
diff:
|
|
784
|
-
type: string
|
|
785
|
-
required:
|
|
786
|
-
- appId
|
|
787
|
-
- diff
|
|
788
|
-
additionalProperties: false
|
|
789
|
-
/v1/apps/{id}/history:
|
|
790
|
-
get:
|
|
791
|
-
operationId: apps_by_id_history_get
|
|
792
|
-
summary: Get app version history
|
|
793
|
-
description: Return the git commit history of an app.
|
|
794
|
-
tags:
|
|
795
|
-
- apps
|
|
796
|
-
parameters:
|
|
797
|
-
- name: id
|
|
798
|
-
in: path
|
|
799
|
-
required: true
|
|
800
|
-
schema:
|
|
801
|
-
type: string
|
|
802
|
-
- name: limit
|
|
803
|
-
in: query
|
|
804
|
-
required: false
|
|
805
|
-
schema:
|
|
806
|
-
type: number
|
|
807
|
-
responses:
|
|
808
|
-
"200":
|
|
809
|
-
description: Successful response
|
|
810
|
-
content:
|
|
811
|
-
application/json:
|
|
812
|
-
schema:
|
|
813
|
-
type: object
|
|
814
|
-
properties:
|
|
815
|
-
appId:
|
|
816
|
-
type: string
|
|
817
|
-
versions:
|
|
818
|
-
type: array
|
|
819
|
-
items:
|
|
820
|
-
type: object
|
|
821
|
-
properties:
|
|
822
|
-
commitHash:
|
|
823
|
-
type: string
|
|
824
|
-
message:
|
|
825
|
-
type: string
|
|
826
|
-
timestamp:
|
|
827
|
-
type: number
|
|
828
|
-
required:
|
|
829
|
-
- commitHash
|
|
830
|
-
- message
|
|
831
|
-
- timestamp
|
|
832
|
-
additionalProperties: false
|
|
833
|
-
required:
|
|
834
|
-
- appId
|
|
835
|
-
- versions
|
|
836
|
-
additionalProperties: false
|
|
837
750
|
/v1/apps/{id}/open:
|
|
838
751
|
post:
|
|
839
752
|
operationId: apps_by_id_open_post
|
|
@@ -1006,43 +919,6 @@ paths:
|
|
|
1006
919
|
required:
|
|
1007
920
|
- published
|
|
1008
921
|
additionalProperties: false
|
|
1009
|
-
/v1/apps/{id}/restore:
|
|
1010
|
-
post:
|
|
1011
|
-
operationId: apps_by_id_restore_post
|
|
1012
|
-
summary: Restore app version
|
|
1013
|
-
description: Restore an app to a previous git commit.
|
|
1014
|
-
tags:
|
|
1015
|
-
- apps
|
|
1016
|
-
parameters:
|
|
1017
|
-
- name: id
|
|
1018
|
-
in: path
|
|
1019
|
-
required: true
|
|
1020
|
-
schema:
|
|
1021
|
-
type: string
|
|
1022
|
-
requestBody:
|
|
1023
|
-
required: true
|
|
1024
|
-
content:
|
|
1025
|
-
application/json:
|
|
1026
|
-
schema:
|
|
1027
|
-
type: object
|
|
1028
|
-
properties:
|
|
1029
|
-
commitHash:
|
|
1030
|
-
type: string
|
|
1031
|
-
required:
|
|
1032
|
-
- commitHash
|
|
1033
|
-
responses:
|
|
1034
|
-
"200":
|
|
1035
|
-
description: Successful response
|
|
1036
|
-
content:
|
|
1037
|
-
application/json:
|
|
1038
|
-
schema:
|
|
1039
|
-
type: object
|
|
1040
|
-
properties:
|
|
1041
|
-
success:
|
|
1042
|
-
type: boolean
|
|
1043
|
-
required:
|
|
1044
|
-
- success
|
|
1045
|
-
additionalProperties: false
|
|
1046
922
|
/v1/apps/{id}/share-cloud:
|
|
1047
923
|
post:
|
|
1048
924
|
operationId: apps_by_id_sharecloud_post
|
|
@@ -3400,6 +3276,9 @@ paths:
|
|
|
3400
3276
|
content:
|
|
3401
3277
|
type: string
|
|
3402
3278
|
description: User prompt content
|
|
3279
|
+
clientTimezone:
|
|
3280
|
+
description: IANA timezone reported by the active client
|
|
3281
|
+
type: string
|
|
3403
3282
|
required:
|
|
3404
3283
|
- conversationKey
|
|
3405
3284
|
- content
|
|
@@ -4130,6 +4009,14 @@ paths:
|
|
|
4130
4009
|
- type: "null"
|
|
4131
4010
|
memberDisplayName:
|
|
4132
4011
|
type: string
|
|
4012
|
+
interactionCount:
|
|
4013
|
+
type: number
|
|
4014
|
+
lastInteraction:
|
|
4015
|
+
anyOf:
|
|
4016
|
+
- type: number
|
|
4017
|
+
- type: "null"
|
|
4018
|
+
hasInterceptableVerificationSession:
|
|
4019
|
+
type: boolean
|
|
4133
4020
|
required:
|
|
4134
4021
|
- trustClass
|
|
4135
4022
|
- canonicalSenderId
|
|
@@ -5159,7 +5046,9 @@ paths:
|
|
|
5159
5046
|
- type: number
|
|
5160
5047
|
- type: "null"
|
|
5161
5048
|
interactionCount:
|
|
5162
|
-
|
|
5049
|
+
anyOf:
|
|
5050
|
+
- type: number
|
|
5051
|
+
- type: "null"
|
|
5163
5052
|
createdAt:
|
|
5164
5053
|
type: number
|
|
5165
5054
|
updatedAt:
|
|
@@ -5200,7 +5089,9 @@ paths:
|
|
|
5200
5089
|
- type: number
|
|
5201
5090
|
- type: "null"
|
|
5202
5091
|
interactionCount:
|
|
5203
|
-
|
|
5092
|
+
anyOf:
|
|
5093
|
+
- type: number
|
|
5094
|
+
- type: "null"
|
|
5204
5095
|
lastInteraction:
|
|
5205
5096
|
anyOf:
|
|
5206
5097
|
- type: number
|
|
@@ -5319,7 +5210,9 @@ paths:
|
|
|
5319
5210
|
- type: number
|
|
5320
5211
|
- type: "null"
|
|
5321
5212
|
interactionCount:
|
|
5322
|
-
|
|
5213
|
+
anyOf:
|
|
5214
|
+
- type: number
|
|
5215
|
+
- type: "null"
|
|
5323
5216
|
createdAt:
|
|
5324
5217
|
type: number
|
|
5325
5218
|
updatedAt:
|
|
@@ -5360,7 +5253,9 @@ paths:
|
|
|
5360
5253
|
- type: number
|
|
5361
5254
|
- type: "null"
|
|
5362
5255
|
interactionCount:
|
|
5363
|
-
|
|
5256
|
+
anyOf:
|
|
5257
|
+
- type: number
|
|
5258
|
+
- type: "null"
|
|
5364
5259
|
lastInteraction:
|
|
5365
5260
|
anyOf:
|
|
5366
5261
|
- type: number
|
|
@@ -5448,7 +5343,9 @@ paths:
|
|
|
5448
5343
|
- type: number
|
|
5449
5344
|
- type: "null"
|
|
5450
5345
|
interactionCount:
|
|
5451
|
-
|
|
5346
|
+
anyOf:
|
|
5347
|
+
- type: number
|
|
5348
|
+
- type: "null"
|
|
5452
5349
|
createdAt:
|
|
5453
5350
|
type: number
|
|
5454
5351
|
updatedAt:
|
|
@@ -5489,7 +5386,9 @@ paths:
|
|
|
5489
5386
|
- type: number
|
|
5490
5387
|
- type: "null"
|
|
5491
5388
|
interactionCount:
|
|
5492
|
-
|
|
5389
|
+
anyOf:
|
|
5390
|
+
- type: number
|
|
5391
|
+
- type: "null"
|
|
5493
5392
|
lastInteraction:
|
|
5494
5393
|
anyOf:
|
|
5495
5394
|
- type: number
|
|
@@ -5615,6 +5514,9 @@ paths:
|
|
|
5615
5514
|
expectedExternalUserId:
|
|
5616
5515
|
type: string
|
|
5617
5516
|
description: Expected user ID (E.164 for phone)
|
|
5517
|
+
sourceConversationId:
|
|
5518
|
+
type: string
|
|
5519
|
+
description: Conversation the invite was created from (opaque)
|
|
5618
5520
|
required:
|
|
5619
5521
|
- contactId
|
|
5620
5522
|
responses:
|
|
@@ -5663,7 +5565,9 @@ paths:
|
|
|
5663
5565
|
post:
|
|
5664
5566
|
operationId: contacts_invites_by_id_call_post
|
|
5665
5567
|
summary: Trigger invite call
|
|
5666
|
-
description:
|
|
5568
|
+
description:
|
|
5569
|
+
"Trigger an outbound call for a phone invite. Gateway-only: the gateway validates its canonical invite row
|
|
5570
|
+
and supplies the resolved call fields in the body."
|
|
5667
5571
|
tags:
|
|
5668
5572
|
- contacts
|
|
5669
5573
|
parameters:
|
|
@@ -5672,6 +5576,28 @@ paths:
|
|
|
5672
5576
|
required: true
|
|
5673
5577
|
schema:
|
|
5674
5578
|
type: string
|
|
5579
|
+
requestBody:
|
|
5580
|
+
required: true
|
|
5581
|
+
content:
|
|
5582
|
+
application/json:
|
|
5583
|
+
schema:
|
|
5584
|
+
type: object
|
|
5585
|
+
properties:
|
|
5586
|
+
phoneNumber:
|
|
5587
|
+
type: string
|
|
5588
|
+
description: E.164 number the invite call dials (invite's bound caller)
|
|
5589
|
+
friendName:
|
|
5590
|
+
description: Invitee display name for the call greeting
|
|
5591
|
+
anyOf:
|
|
5592
|
+
- type: string
|
|
5593
|
+
- type: "null"
|
|
5594
|
+
guardianName:
|
|
5595
|
+
description: Guardian display label recorded on the invite
|
|
5596
|
+
anyOf:
|
|
5597
|
+
- type: string
|
|
5598
|
+
- type: "null"
|
|
5599
|
+
required:
|
|
5600
|
+
- phoneNumber
|
|
5675
5601
|
responses:
|
|
5676
5602
|
"200":
|
|
5677
5603
|
description: Successful response
|
|
@@ -5706,34 +5632,32 @@ paths:
|
|
|
5706
5632
|
type: object
|
|
5707
5633
|
properties:
|
|
5708
5634
|
token:
|
|
5709
|
-
type: string
|
|
5710
5635
|
description: Invite token (token-based redemption)
|
|
5711
|
-
code:
|
|
5712
5636
|
type: string
|
|
5637
|
+
code:
|
|
5713
5638
|
description: Voice code (voice-code redemption)
|
|
5714
|
-
callerExternalUserId:
|
|
5715
5639
|
type: string
|
|
5640
|
+
callerExternalUserId:
|
|
5716
5641
|
description: Caller E.164 phone (voice-code)
|
|
5717
|
-
externalUserId:
|
|
5718
5642
|
type: string
|
|
5643
|
+
externalUserId:
|
|
5719
5644
|
description: External user ID (token-based)
|
|
5720
|
-
externalChatId:
|
|
5721
5645
|
type: string
|
|
5646
|
+
externalChatId:
|
|
5722
5647
|
description: External chat ID (token-based)
|
|
5723
|
-
sourceChannel:
|
|
5724
5648
|
type: string
|
|
5649
|
+
sourceChannel:
|
|
5725
5650
|
description: Source channel (token-based)
|
|
5726
|
-
assistantId:
|
|
5727
5651
|
type: string
|
|
5652
|
+
displayName:
|
|
5653
|
+
description: Sender display name (token-based)
|
|
5654
|
+
type: string
|
|
5655
|
+
username:
|
|
5656
|
+
description: Sender username (token-based)
|
|
5657
|
+
type: string
|
|
5658
|
+
assistantId:
|
|
5728
5659
|
description: Assistant ID (voice-code)
|
|
5729
|
-
|
|
5730
|
-
- token
|
|
5731
|
-
- code
|
|
5732
|
-
- callerExternalUserId
|
|
5733
|
-
- externalUserId
|
|
5734
|
-
- externalChatId
|
|
5735
|
-
- sourceChannel
|
|
5736
|
-
- assistantId
|
|
5660
|
+
type: string
|
|
5737
5661
|
responses:
|
|
5738
5662
|
"200":
|
|
5739
5663
|
description: Successful response
|
|
@@ -5822,7 +5746,9 @@ paths:
|
|
|
5822
5746
|
- type: number
|
|
5823
5747
|
- type: "null"
|
|
5824
5748
|
interactionCount:
|
|
5825
|
-
|
|
5749
|
+
anyOf:
|
|
5750
|
+
- type: number
|
|
5751
|
+
- type: "null"
|
|
5826
5752
|
createdAt:
|
|
5827
5753
|
type: number
|
|
5828
5754
|
updatedAt:
|
|
@@ -5863,7 +5789,9 @@ paths:
|
|
|
5863
5789
|
- type: number
|
|
5864
5790
|
- type: "null"
|
|
5865
5791
|
interactionCount:
|
|
5866
|
-
|
|
5792
|
+
anyOf:
|
|
5793
|
+
- type: number
|
|
5794
|
+
- type: "null"
|
|
5867
5795
|
lastInteraction:
|
|
5868
5796
|
anyOf:
|
|
5869
5797
|
- type: number
|
|
@@ -6016,7 +5944,9 @@ paths:
|
|
|
6016
5944
|
- type: number
|
|
6017
5945
|
- type: "null"
|
|
6018
5946
|
interactionCount:
|
|
6019
|
-
|
|
5947
|
+
anyOf:
|
|
5948
|
+
- type: number
|
|
5949
|
+
- type: "null"
|
|
6020
5950
|
createdAt:
|
|
6021
5951
|
type: number
|
|
6022
5952
|
updatedAt:
|
|
@@ -6057,7 +5987,9 @@ paths:
|
|
|
6057
5987
|
- type: number
|
|
6058
5988
|
- type: "null"
|
|
6059
5989
|
interactionCount:
|
|
6060
|
-
|
|
5990
|
+
anyOf:
|
|
5991
|
+
- type: number
|
|
5992
|
+
- type: "null"
|
|
6061
5993
|
lastInteraction:
|
|
6062
5994
|
anyOf:
|
|
6063
5995
|
- type: number
|
|
@@ -7656,47 +7588,6 @@ paths:
|
|
|
7656
7588
|
- removedCount
|
|
7657
7589
|
- conversationId
|
|
7658
7590
|
additionalProperties: false
|
|
7659
|
-
/v1/conversations/{id}/wipe:
|
|
7660
|
-
post:
|
|
7661
|
-
operationId: conversations_by_id_wipe_post
|
|
7662
|
-
summary: Wipe a conversation
|
|
7663
|
-
description: Delete all messages in a conversation and revert associated memory changes.
|
|
7664
|
-
tags:
|
|
7665
|
-
- conversations
|
|
7666
|
-
parameters:
|
|
7667
|
-
- name: id
|
|
7668
|
-
in: path
|
|
7669
|
-
required: true
|
|
7670
|
-
schema:
|
|
7671
|
-
type: string
|
|
7672
|
-
responses:
|
|
7673
|
-
"200":
|
|
7674
|
-
description: Successful response
|
|
7675
|
-
content:
|
|
7676
|
-
application/json:
|
|
7677
|
-
schema:
|
|
7678
|
-
type: object
|
|
7679
|
-
properties:
|
|
7680
|
-
wiped:
|
|
7681
|
-
type: boolean
|
|
7682
|
-
unsupersededItems:
|
|
7683
|
-
type: integer
|
|
7684
|
-
minimum: -9007199254740991
|
|
7685
|
-
maximum: 9007199254740991
|
|
7686
|
-
deletedSummaries:
|
|
7687
|
-
type: integer
|
|
7688
|
-
minimum: -9007199254740991
|
|
7689
|
-
maximum: 9007199254740991
|
|
7690
|
-
cancelledJobs:
|
|
7691
|
-
type: integer
|
|
7692
|
-
minimum: -9007199254740991
|
|
7693
|
-
maximum: 9007199254740991
|
|
7694
|
-
required:
|
|
7695
|
-
- wiped
|
|
7696
|
-
- unsupersededItems
|
|
7697
|
-
- deletedSummaries
|
|
7698
|
-
- cancelledJobs
|
|
7699
|
-
additionalProperties: false
|
|
7700
7591
|
/v1/conversations/archive/bulk:
|
|
7701
7592
|
post:
|
|
7702
7593
|
operationId: conversations_archive_bulk_post
|
|
@@ -9424,47 +9315,6 @@ paths:
|
|
|
9424
9315
|
- invoked
|
|
9425
9316
|
- producedToolCalls
|
|
9426
9317
|
additionalProperties: false
|
|
9427
|
-
/v1/conversations/wipe:
|
|
9428
|
-
post:
|
|
9429
|
-
operationId: conversations_wipe_post
|
|
9430
|
-
summary: Wipe a conversation
|
|
9431
|
-
description: Permanently delete a conversation and its associated data including memory vectors.
|
|
9432
|
-
tags:
|
|
9433
|
-
- conversations
|
|
9434
|
-
requestBody:
|
|
9435
|
-
required: true
|
|
9436
|
-
content:
|
|
9437
|
-
application/json:
|
|
9438
|
-
schema:
|
|
9439
|
-
type: object
|
|
9440
|
-
properties:
|
|
9441
|
-
conversationId:
|
|
9442
|
-
type: string
|
|
9443
|
-
minLength: 1
|
|
9444
|
-
required:
|
|
9445
|
-
- conversationId
|
|
9446
|
-
responses:
|
|
9447
|
-
"200":
|
|
9448
|
-
description: Successful response
|
|
9449
|
-
content:
|
|
9450
|
-
application/json:
|
|
9451
|
-
schema:
|
|
9452
|
-
type: object
|
|
9453
|
-
properties:
|
|
9454
|
-
wiped:
|
|
9455
|
-
type: boolean
|
|
9456
|
-
unsupersededItems:
|
|
9457
|
-
type: number
|
|
9458
|
-
deletedSummaries:
|
|
9459
|
-
type: number
|
|
9460
|
-
cancelledJobs:
|
|
9461
|
-
type: number
|
|
9462
|
-
required:
|
|
9463
|
-
- wiped
|
|
9464
|
-
- unsupersededItems
|
|
9465
|
-
- deletedSummaries
|
|
9466
|
-
- cancelledJobs
|
|
9467
|
-
additionalProperties: false
|
|
9468
9318
|
/v1/credentials/delete:
|
|
9469
9319
|
post:
|
|
9470
9320
|
operationId: credentials_delete_post
|
|
@@ -9666,6 +9516,8 @@ paths:
|
|
|
9666
9516
|
properties:
|
|
9667
9517
|
ok:
|
|
9668
9518
|
type: boolean
|
|
9519
|
+
cancelled:
|
|
9520
|
+
type: boolean
|
|
9669
9521
|
error:
|
|
9670
9522
|
type: string
|
|
9671
9523
|
service:
|
|
@@ -11528,7 +11380,9 @@ paths:
|
|
|
11528
11380
|
post:
|
|
11529
11381
|
operationId: filing_runnow_post
|
|
11530
11382
|
summary: Run filing now
|
|
11531
|
-
description:
|
|
11383
|
+
description:
|
|
11384
|
+
Enqueue an immediate PKB filing job. Returns once the job is queued; the job itself runs through the memory
|
|
11385
|
+
jobs worker.
|
|
11532
11386
|
tags:
|
|
11533
11387
|
- filing
|
|
11534
11388
|
responses:
|
|
@@ -11543,7 +11397,7 @@ paths:
|
|
|
11543
11397
|
type: boolean
|
|
11544
11398
|
ran:
|
|
11545
11399
|
type: boolean
|
|
11546
|
-
description: Whether
|
|
11400
|
+
description: Whether a job was enqueued
|
|
11547
11401
|
required:
|
|
11548
11402
|
- success
|
|
11549
11403
|
- ran
|
|
@@ -13888,7 +13742,7 @@ paths:
|
|
|
13888
13742
|
type: string
|
|
13889
13743
|
description:
|
|
13890
13744
|
"Filter by provider. One of: anthropic, openai, gemini, ollama, fireworks, together, openrouter,
|
|
13891
|
-
openai-compatible, minimax, atlascloud"
|
|
13745
|
+
openai-compatible, minimax, atlascloud, vellum"
|
|
13892
13746
|
responses:
|
|
13893
13747
|
"200":
|
|
13894
13748
|
description: Successful response
|
|
@@ -13958,9 +13812,8 @@ paths:
|
|
|
13958
13812
|
operationId: inference_providerconnections_by_name_delete
|
|
13959
13813
|
summary: Delete a provider connection
|
|
13960
13814
|
description:
|
|
13961
|
-
Delete a provider connection. Fails with 400 for managed
|
|
13962
|
-
|
|
13963
|
-
connection.
|
|
13815
|
+
Delete a provider connection. Fails with 400 for the Vellum-managed connection (vellum) which is re-seeded
|
|
13816
|
+
on boot. Fails with 409 if any profile or call-site references the connection.
|
|
13964
13817
|
tags:
|
|
13965
13818
|
- inference
|
|
13966
13819
|
parameters:
|
|
@@ -14014,8 +13867,8 @@ paths:
|
|
|
14014
13867
|
operationId: inference_providerconnections_by_name_patch
|
|
14015
13868
|
summary: Update a provider connection
|
|
14016
13869
|
description:
|
|
14017
|
-
Update an existing connection. Cannot rename or change the provider. For managed
|
|
14018
|
-
(
|
|
13870
|
+
Update an existing connection. Cannot rename or change the provider. For the Vellum-managed connection
|
|
13871
|
+
(vellum) the auth is locked to platform; label remains editable.
|
|
14019
13872
|
tags:
|
|
14020
13873
|
- inference
|
|
14021
13874
|
parameters:
|
|
@@ -15634,16 +15487,6 @@ paths:
|
|
|
15634
15487
|
required:
|
|
15635
15488
|
- skipped
|
|
15636
15489
|
additionalProperties: false
|
|
15637
|
-
/v1/internal/twilio/connect-action:
|
|
15638
|
-
post:
|
|
15639
|
-
operationId: internal_twilio_connectaction_post
|
|
15640
|
-
summary: Internal Twilio connect-action
|
|
15641
|
-
description: Gateway-to-runtime forwarding for ConversationRelay connect-action callback.
|
|
15642
|
-
tags:
|
|
15643
|
-
- internal
|
|
15644
|
-
responses:
|
|
15645
|
-
"200":
|
|
15646
|
-
description: Successful response
|
|
15647
15490
|
/v1/internal/twilio/status:
|
|
15648
15491
|
post:
|
|
15649
15492
|
operationId: internal_twilio_status_post
|
|
@@ -19454,7 +19297,9 @@ paths:
|
|
|
19454
19297
|
post:
|
|
19455
19298
|
operationId: monitoring_start_post
|
|
19456
19299
|
summary: Start the resource monitor
|
|
19457
|
-
description:
|
|
19300
|
+
description:
|
|
19301
|
+
Spawns (or reuses) the resource monitor process as a child of the daemon. The daemon also spawns it at
|
|
19302
|
+
every boot.
|
|
19458
19303
|
tags:
|
|
19459
19304
|
- system
|
|
19460
19305
|
responses:
|
|
@@ -19469,15 +19314,11 @@ paths:
|
|
|
19469
19314
|
type: number
|
|
19470
19315
|
alreadyRunning:
|
|
19471
19316
|
type: boolean
|
|
19472
|
-
monitoringEnabled:
|
|
19473
|
-
type: boolean
|
|
19474
|
-
const: true
|
|
19475
19317
|
pidPath:
|
|
19476
19318
|
type: string
|
|
19477
19319
|
required:
|
|
19478
19320
|
- pid
|
|
19479
19321
|
- alreadyRunning
|
|
19480
|
-
- monitoringEnabled
|
|
19481
19322
|
- pidPath
|
|
19482
19323
|
additionalProperties: false
|
|
19483
19324
|
/v1/monitoring/status:
|
|
@@ -19485,8 +19326,8 @@ paths:
|
|
|
19485
19326
|
operationId: monitoring_status_get
|
|
19486
19327
|
summary: Resource monitor status
|
|
19487
19328
|
description:
|
|
19488
|
-
Reports the resource monitor process state,
|
|
19489
|
-
|
|
19329
|
+
Reports the resource monitor process state, the forensics data directory, and the most recent persisted
|
|
19330
|
+
memory/disk sample.
|
|
19490
19331
|
tags:
|
|
19491
19332
|
- system
|
|
19492
19333
|
responses:
|
|
@@ -19504,8 +19345,6 @@ paths:
|
|
|
19504
19345
|
- not_running
|
|
19505
19346
|
pid:
|
|
19506
19347
|
type: number
|
|
19507
|
-
monitoringEnabled:
|
|
19508
|
-
type: boolean
|
|
19509
19348
|
dataDir:
|
|
19510
19349
|
type: string
|
|
19511
19350
|
latestSample:
|
|
@@ -19539,6 +19378,107 @@ paths:
|
|
|
19539
19378
|
- ratio
|
|
19540
19379
|
additionalProperties: false
|
|
19541
19380
|
- type: "null"
|
|
19381
|
+
memoryStat:
|
|
19382
|
+
anyOf:
|
|
19383
|
+
- type: object
|
|
19384
|
+
properties:
|
|
19385
|
+
anonBytes:
|
|
19386
|
+
anyOf:
|
|
19387
|
+
- type: number
|
|
19388
|
+
- type: "null"
|
|
19389
|
+
fileBytes:
|
|
19390
|
+
anyOf:
|
|
19391
|
+
- type: number
|
|
19392
|
+
- type: "null"
|
|
19393
|
+
kernelBytes:
|
|
19394
|
+
anyOf:
|
|
19395
|
+
- type: number
|
|
19396
|
+
- type: "null"
|
|
19397
|
+
slabReclaimableBytes:
|
|
19398
|
+
anyOf:
|
|
19399
|
+
- type: number
|
|
19400
|
+
- type: "null"
|
|
19401
|
+
slabUnreclaimableBytes:
|
|
19402
|
+
anyOf:
|
|
19403
|
+
- type: number
|
|
19404
|
+
- type: "null"
|
|
19405
|
+
unevictableBytes:
|
|
19406
|
+
anyOf:
|
|
19407
|
+
- type: number
|
|
19408
|
+
- type: "null"
|
|
19409
|
+
reclaimableBytes:
|
|
19410
|
+
anyOf:
|
|
19411
|
+
- type: number
|
|
19412
|
+
- type: "null"
|
|
19413
|
+
required:
|
|
19414
|
+
- anonBytes
|
|
19415
|
+
- fileBytes
|
|
19416
|
+
- kernelBytes
|
|
19417
|
+
- slabReclaimableBytes
|
|
19418
|
+
- slabUnreclaimableBytes
|
|
19419
|
+
- unevictableBytes
|
|
19420
|
+
- reclaimableBytes
|
|
19421
|
+
additionalProperties: false
|
|
19422
|
+
- type: "null"
|
|
19423
|
+
reclaim:
|
|
19424
|
+
anyOf:
|
|
19425
|
+
- type: object
|
|
19426
|
+
properties:
|
|
19427
|
+
pgscanDirect:
|
|
19428
|
+
anyOf:
|
|
19429
|
+
- type: number
|
|
19430
|
+
- type: "null"
|
|
19431
|
+
pgstealDirect:
|
|
19432
|
+
anyOf:
|
|
19433
|
+
- type: number
|
|
19434
|
+
- type: "null"
|
|
19435
|
+
workingsetRefaultFile:
|
|
19436
|
+
anyOf:
|
|
19437
|
+
- type: number
|
|
19438
|
+
- type: "null"
|
|
19439
|
+
required:
|
|
19440
|
+
- pgscanDirect
|
|
19441
|
+
- pgstealDirect
|
|
19442
|
+
- workingsetRefaultFile
|
|
19443
|
+
additionalProperties: false
|
|
19444
|
+
- type: "null"
|
|
19445
|
+
cpu:
|
|
19446
|
+
anyOf:
|
|
19447
|
+
- type: object
|
|
19448
|
+
properties:
|
|
19449
|
+
usageUsec:
|
|
19450
|
+
anyOf:
|
|
19451
|
+
- type: number
|
|
19452
|
+
- type: "null"
|
|
19453
|
+
userUsec:
|
|
19454
|
+
anyOf:
|
|
19455
|
+
- type: number
|
|
19456
|
+
- type: "null"
|
|
19457
|
+
systemUsec:
|
|
19458
|
+
anyOf:
|
|
19459
|
+
- type: number
|
|
19460
|
+
- type: "null"
|
|
19461
|
+
nrPeriods:
|
|
19462
|
+
anyOf:
|
|
19463
|
+
- type: number
|
|
19464
|
+
- type: "null"
|
|
19465
|
+
nrThrottled:
|
|
19466
|
+
anyOf:
|
|
19467
|
+
- type: number
|
|
19468
|
+
- type: "null"
|
|
19469
|
+
throttledUsec:
|
|
19470
|
+
anyOf:
|
|
19471
|
+
- type: number
|
|
19472
|
+
- type: "null"
|
|
19473
|
+
required:
|
|
19474
|
+
- usageUsec
|
|
19475
|
+
- userUsec
|
|
19476
|
+
- systemUsec
|
|
19477
|
+
- nrPeriods
|
|
19478
|
+
- nrThrottled
|
|
19479
|
+
- throttledUsec
|
|
19480
|
+
additionalProperties: false
|
|
19481
|
+
- type: "null"
|
|
19542
19482
|
events:
|
|
19543
19483
|
anyOf:
|
|
19544
19484
|
- type: object
|
|
@@ -19561,6 +19501,107 @@ paths:
|
|
|
19561
19501
|
- oomKill
|
|
19562
19502
|
additionalProperties: false
|
|
19563
19503
|
- type: "null"
|
|
19504
|
+
deltas:
|
|
19505
|
+
anyOf:
|
|
19506
|
+
- type: object
|
|
19507
|
+
properties:
|
|
19508
|
+
events:
|
|
19509
|
+
anyOf:
|
|
19510
|
+
- type: object
|
|
19511
|
+
properties:
|
|
19512
|
+
low:
|
|
19513
|
+
anyOf:
|
|
19514
|
+
- type: number
|
|
19515
|
+
- type: "null"
|
|
19516
|
+
high:
|
|
19517
|
+
anyOf:
|
|
19518
|
+
- type: number
|
|
19519
|
+
- type: "null"
|
|
19520
|
+
max:
|
|
19521
|
+
anyOf:
|
|
19522
|
+
- type: number
|
|
19523
|
+
- type: "null"
|
|
19524
|
+
oom:
|
|
19525
|
+
anyOf:
|
|
19526
|
+
- type: number
|
|
19527
|
+
- type: "null"
|
|
19528
|
+
oomKill:
|
|
19529
|
+
anyOf:
|
|
19530
|
+
- type: number
|
|
19531
|
+
- type: "null"
|
|
19532
|
+
required:
|
|
19533
|
+
- low
|
|
19534
|
+
- high
|
|
19535
|
+
- max
|
|
19536
|
+
- oom
|
|
19537
|
+
- oomKill
|
|
19538
|
+
additionalProperties: false
|
|
19539
|
+
- type: "null"
|
|
19540
|
+
reclaim:
|
|
19541
|
+
anyOf:
|
|
19542
|
+
- type: object
|
|
19543
|
+
properties:
|
|
19544
|
+
pgscanDirect:
|
|
19545
|
+
anyOf:
|
|
19546
|
+
- type: number
|
|
19547
|
+
- type: "null"
|
|
19548
|
+
pgstealDirect:
|
|
19549
|
+
anyOf:
|
|
19550
|
+
- type: number
|
|
19551
|
+
- type: "null"
|
|
19552
|
+
workingsetRefaultFile:
|
|
19553
|
+
anyOf:
|
|
19554
|
+
- type: number
|
|
19555
|
+
- type: "null"
|
|
19556
|
+
required:
|
|
19557
|
+
- pgscanDirect
|
|
19558
|
+
- pgstealDirect
|
|
19559
|
+
- workingsetRefaultFile
|
|
19560
|
+
additionalProperties: false
|
|
19561
|
+
- type: "null"
|
|
19562
|
+
cpu:
|
|
19563
|
+
anyOf:
|
|
19564
|
+
- type: object
|
|
19565
|
+
properties:
|
|
19566
|
+
usageUsec:
|
|
19567
|
+
anyOf:
|
|
19568
|
+
- type: number
|
|
19569
|
+
- type: "null"
|
|
19570
|
+
userUsec:
|
|
19571
|
+
anyOf:
|
|
19572
|
+
- type: number
|
|
19573
|
+
- type: "null"
|
|
19574
|
+
systemUsec:
|
|
19575
|
+
anyOf:
|
|
19576
|
+
- type: number
|
|
19577
|
+
- type: "null"
|
|
19578
|
+
nrPeriods:
|
|
19579
|
+
anyOf:
|
|
19580
|
+
- type: number
|
|
19581
|
+
- type: "null"
|
|
19582
|
+
nrThrottled:
|
|
19583
|
+
anyOf:
|
|
19584
|
+
- type: number
|
|
19585
|
+
- type: "null"
|
|
19586
|
+
throttledUsec:
|
|
19587
|
+
anyOf:
|
|
19588
|
+
- type: number
|
|
19589
|
+
- type: "null"
|
|
19590
|
+
required:
|
|
19591
|
+
- usageUsec
|
|
19592
|
+
- userUsec
|
|
19593
|
+
- systemUsec
|
|
19594
|
+
- nrPeriods
|
|
19595
|
+
- nrThrottled
|
|
19596
|
+
- throttledUsec
|
|
19597
|
+
additionalProperties: false
|
|
19598
|
+
- type: "null"
|
|
19599
|
+
required:
|
|
19600
|
+
- events
|
|
19601
|
+
- reclaim
|
|
19602
|
+
- cpu
|
|
19603
|
+
additionalProperties: false
|
|
19604
|
+
- type: "null"
|
|
19564
19605
|
disk:
|
|
19565
19606
|
anyOf:
|
|
19566
19607
|
- type: object
|
|
@@ -19580,16 +19621,50 @@ paths:
|
|
|
19580
19621
|
- freeMb
|
|
19581
19622
|
additionalProperties: false
|
|
19582
19623
|
- type: "null"
|
|
19624
|
+
activeConversations:
|
|
19625
|
+
anyOf:
|
|
19626
|
+
- type: array
|
|
19627
|
+
items:
|
|
19628
|
+
type: object
|
|
19629
|
+
properties:
|
|
19630
|
+
conversationId:
|
|
19631
|
+
type: string
|
|
19632
|
+
title:
|
|
19633
|
+
anyOf:
|
|
19634
|
+
- type: string
|
|
19635
|
+
- type: "null"
|
|
19636
|
+
originChannel:
|
|
19637
|
+
anyOf:
|
|
19638
|
+
- type: string
|
|
19639
|
+
- type: "null"
|
|
19640
|
+
originInterface:
|
|
19641
|
+
anyOf:
|
|
19642
|
+
- type: string
|
|
19643
|
+
- type: "null"
|
|
19644
|
+
processingStartedAt:
|
|
19645
|
+
type: number
|
|
19646
|
+
required:
|
|
19647
|
+
- conversationId
|
|
19648
|
+
- title
|
|
19649
|
+
- originChannel
|
|
19650
|
+
- originInterface
|
|
19651
|
+
- processingStartedAt
|
|
19652
|
+
additionalProperties: false
|
|
19653
|
+
- type: "null"
|
|
19583
19654
|
required:
|
|
19584
19655
|
- ts
|
|
19585
19656
|
- memory
|
|
19657
|
+
- memoryStat
|
|
19658
|
+
- reclaim
|
|
19659
|
+
- cpu
|
|
19586
19660
|
- events
|
|
19661
|
+
- deltas
|
|
19587
19662
|
- disk
|
|
19663
|
+
- activeConversations
|
|
19588
19664
|
additionalProperties: false
|
|
19589
19665
|
- type: "null"
|
|
19590
19666
|
required:
|
|
19591
19667
|
- status
|
|
19592
|
-
- monitoringEnabled
|
|
19593
19668
|
- dataDir
|
|
19594
19669
|
- latestSample
|
|
19595
19670
|
additionalProperties: false
|
|
@@ -19597,7 +19672,7 @@ paths:
|
|
|
19597
19672
|
post:
|
|
19598
19673
|
operationId: monitoring_stop_post
|
|
19599
19674
|
summary: Stop the resource monitor
|
|
19600
|
-
description:
|
|
19675
|
+
description: SIGTERMs the resource monitor process if it is running. The monitor respawns on the next daemon boot.
|
|
19601
19676
|
tags:
|
|
19602
19677
|
- system
|
|
19603
19678
|
responses:
|
|
@@ -19612,12 +19687,8 @@ paths:
|
|
|
19612
19687
|
type: boolean
|
|
19613
19688
|
pid:
|
|
19614
19689
|
type: number
|
|
19615
|
-
monitoringEnabled:
|
|
19616
|
-
type: boolean
|
|
19617
|
-
const: false
|
|
19618
19690
|
required:
|
|
19619
19691
|
- monitoringWasRunning
|
|
19620
|
-
- monitoringEnabled
|
|
19621
19692
|
additionalProperties: false
|
|
19622
19693
|
/v1/notification-intent-result:
|
|
19623
19694
|
post:
|
|
@@ -21010,6 +21081,44 @@ paths:
|
|
|
21010
21081
|
showPlatformLogin:
|
|
21011
21082
|
type: boolean
|
|
21012
21083
|
additionalProperties: false
|
|
21084
|
+
/v1/platform/credits:
|
|
21085
|
+
get:
|
|
21086
|
+
operationId: platform_credits_get
|
|
21087
|
+
summary: Get the organization's remaining credit balance
|
|
21088
|
+
description:
|
|
21089
|
+
Fetches the org's settled, pending, and effective (remaining) credit balance in USD from the platform
|
|
21090
|
+
billing summary.
|
|
21091
|
+
tags:
|
|
21092
|
+
- platform
|
|
21093
|
+
responses:
|
|
21094
|
+
"200":
|
|
21095
|
+
description: Successful response
|
|
21096
|
+
content:
|
|
21097
|
+
application/json:
|
|
21098
|
+
schema:
|
|
21099
|
+
type: object
|
|
21100
|
+
properties:
|
|
21101
|
+
remaining:
|
|
21102
|
+
type: number
|
|
21103
|
+
settled:
|
|
21104
|
+
type: number
|
|
21105
|
+
pending:
|
|
21106
|
+
type: number
|
|
21107
|
+
unit:
|
|
21108
|
+
type: string
|
|
21109
|
+
const: USD
|
|
21110
|
+
stale:
|
|
21111
|
+
type: boolean
|
|
21112
|
+
as_of:
|
|
21113
|
+
type: string
|
|
21114
|
+
required:
|
|
21115
|
+
- remaining
|
|
21116
|
+
- settled
|
|
21117
|
+
- pending
|
|
21118
|
+
- unit
|
|
21119
|
+
- stale
|
|
21120
|
+
- as_of
|
|
21121
|
+
additionalProperties: false
|
|
21013
21122
|
/v1/platform/disconnect:
|
|
21014
21123
|
post:
|
|
21015
21124
|
operationId: platform_disconnect_post
|
|
@@ -31381,6 +31490,7 @@ components:
|
|
|
31381
31490
|
- openai-compatible
|
|
31382
31491
|
- minimax
|
|
31383
31492
|
- atlascloud
|
|
31493
|
+
- vellum
|
|
31384
31494
|
Auth:
|
|
31385
31495
|
oneOf:
|
|
31386
31496
|
- type: object
|
|
@@ -31924,6 +32034,8 @@ components:
|
|
|
31924
32034
|
additionalProperties: false
|
|
31925
32035
|
supportsVision:
|
|
31926
32036
|
type: boolean
|
|
32037
|
+
invariant:
|
|
32038
|
+
type: boolean
|
|
31927
32039
|
additionalProperties: {}
|
|
31928
32040
|
ProviderConnection:
|
|
31929
32041
|
type: object
|