@letta-ai/letta-code 0.34.68 → 0.34.70
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/cursor-worker.js +5 -1
- package/dist/agent-presets.js.map +7 -7
- package/dist/app-server-client.cjs.map +3 -3
- package/dist/app-server-client.js.map +3 -3
- package/dist/ask-user-question.cjs.map +2 -2
- package/dist/ask-user-question.js.map +2 -2
- package/dist/channels-public.js.map +8 -8
- package/dist/channels-slack.js.map +9 -9
- package/dist/channels-telegram.js.map +6 -6
- package/dist/gateway-core.js.map +8 -8
- package/dist/mcp-client.js +2 -2
- package/dist/mcp-client.js.map +3 -3
- package/dist/mcp-oauth.js +2 -2
- package/dist/mcp-oauth.js.map +11 -11
- package/dist/memory-confinement.js.map +11 -11
- package/dist/memory-constraints.js.map +3 -3
- package/dist/schedules.js.map +2 -2
- package/dist/types/agent/acting-user.d.ts +0 -16
- package/dist/types/agent/acting-user.d.ts.map +1 -1
- package/dist/types/agent/agent-tags.d.ts +0 -13
- package/dist/types/agent/agent-tags.d.ts.map +1 -1
- package/dist/types/agent/approval-execution.d.ts +0 -60
- package/dist/types/agent/approval-execution.d.ts.map +1 -1
- package/dist/types/agent/approval-result-normalization.d.ts +0 -8
- package/dist/types/agent/approval-result-normalization.d.ts.map +1 -1
- package/dist/types/agent/available-models.d.ts +0 -22
- package/dist/types/agent/available-models.d.ts.map +1 -1
- package/dist/types/agent/client-skills-baseline-store.d.ts +0 -26
- package/dist/types/agent/client-skills-baseline-store.d.ts.map +1 -1
- package/dist/types/agent/client-skills-baseline.d.ts +0 -29
- package/dist/types/agent/client-skills-baseline.d.ts.map +1 -1
- package/dist/types/agent/client-skills-watcher.d.ts +0 -6
- package/dist/types/agent/client-skills-watcher.d.ts.map +1 -1
- package/dist/types/agent/client-skills.d.ts +0 -39
- package/dist/types/agent/client-skills.d.ts.map +1 -1
- package/dist/types/agent/cloud-managed-system-prompt.d.ts +0 -1
- package/dist/types/agent/cloud-managed-system-prompt.d.ts.map +1 -1
- package/dist/types/agent/context.d.ts +0 -43
- package/dist/types/agent/context.d.ts.map +1 -1
- package/dist/types/agent/create-agent-request.d.ts +0 -34
- package/dist/types/agent/create-agent-request.d.ts.map +1 -1
- package/dist/types/agent/legacy-default-system-prompt-hashes.d.ts +0 -12
- package/dist/types/agent/legacy-default-system-prompt-hashes.d.ts.map +1 -1
- package/dist/types/agent/mcp-originator-authority-file.d.ts +0 -54
- package/dist/types/agent/mcp-originator-authority-file.d.ts.map +1 -1
- package/dist/types/agent/mcp-originator-authority.d.ts +0 -105
- package/dist/types/agent/mcp-originator-authority.d.ts.map +1 -1
- package/dist/types/agent/mcp-originator-keepalive.d.ts +0 -41
- package/dist/types/agent/mcp-originator-keepalive.d.ts.map +1 -1
- package/dist/types/agent/mcp-originator-tokens.d.ts +0 -178
- package/dist/types/agent/mcp-originator-tokens.d.ts.map +1 -1
- package/dist/types/agent/memory-auth.d.ts +0 -1
- package/dist/types/agent/memory-auth.d.ts.map +1 -1
- package/dist/types/agent/memory-conflict-repair.d.ts +3 -25
- package/dist/types/agent/memory-conflict-repair.d.ts.map +1 -1
- package/dist/types/agent/memory-constraints-audit.d.ts +0 -6
- package/dist/types/agent/memory-constraints-audit.d.ts.map +1 -1
- package/dist/types/agent/memory-constraints.d.ts +0 -26
- package/dist/types/agent/memory-constraints.d.ts.map +1 -1
- package/dist/types/agent/memory-filesystem.d.ts +0 -91
- package/dist/types/agent/memory-filesystem.d.ts.map +1 -1
- package/dist/types/agent/memory-git-config-lock.d.ts +0 -24
- package/dist/types/agent/memory-git-config-lock.d.ts.map +1 -1
- package/dist/types/agent/memory-git-dir.d.ts +0 -5
- package/dist/types/agent/memory-git-dir.d.ts.map +1 -1
- package/dist/types/agent/memory-git-hooks.d.ts +0 -42
- package/dist/types/agent/memory-git-hooks.d.ts.map +1 -1
- package/dist/types/agent/memory-git-process.d.ts +0 -1
- package/dist/types/agent/memory-git-process.d.ts.map +1 -1
- package/dist/types/agent/memory-git-signing.d.ts +0 -12
- package/dist/types/agent/memory-git-signing.d.ts.map +1 -1
- package/dist/types/agent/memory-git-windows-credentials.d.ts +0 -2
- package/dist/types/agent/memory-git-windows-credentials.d.ts.map +1 -1
- package/dist/types/agent/memory-git.d.ts +0 -80
- package/dist/types/agent/memory-git.d.ts.map +1 -1
- package/dist/types/agent/memory-operation.d.ts +0 -11
- package/dist/types/agent/memory-operation.d.ts.map +1 -1
- package/dist/types/agent/memory-runtime.d.ts +0 -8
- package/dist/types/agent/memory-runtime.d.ts.map +1 -1
- package/dist/types/agent/memory.d.ts +0 -19
- package/dist/types/agent/memory.d.ts.map +1 -1
- package/dist/types/agent/message-attribution.d.ts +0 -2
- package/dist/types/agent/message-attribution.d.ts.map +1 -1
- package/dist/types/agent/message.d.ts +0 -49
- package/dist/types/agent/message.d.ts.map +1 -1
- package/dist/types/agent/model-catalog.d.ts +0 -23
- package/dist/types/agent/model-catalog.d.ts.map +1 -1
- package/dist/types/agent/model.d.ts +0 -99
- package/dist/types/agent/model.d.ts.map +1 -1
- package/dist/types/agent/modify.d.ts +0 -88
- package/dist/types/agent/modify.d.ts.map +1 -1
- package/dist/types/agent/organization-id.d.ts +0 -19
- package/dist/types/agent/organization-id.d.ts.map +1 -1
- package/dist/types/agent/parent-memory-note.d.ts +0 -1
- package/dist/types/agent/parent-memory-note.d.ts.map +1 -1
- package/dist/types/agent/personality-default-files.d.ts.map +1 -1
- package/dist/types/agent/personality-presets.d.ts +0 -19
- package/dist/types/agent/personality-presets.d.ts.map +1 -1
- package/dist/types/agent/preloaded-skills.d.ts +0 -1
- package/dist/types/agent/preloaded-skills.d.ts.map +1 -1
- package/dist/types/agent/prompt-assets.d.ts +0 -11
- package/dist/types/agent/prompt-assets.d.ts.map +1 -1
- package/dist/types/agent/shared-memory-skills.d.ts +0 -4
- package/dist/types/agent/shared-memory-skills.d.ts.map +1 -1
- package/dist/types/agent/skill-sources.d.ts +0 -3
- package/dist/types/agent/skill-sources.d.ts.map +1 -1
- package/dist/types/agent/skills.d.ts +0 -73
- package/dist/types/agent/skills.d.ts.map +1 -1
- package/dist/types/agent/subagent-events.d.ts +0 -15
- package/dist/types/agent/subagent-events.d.ts.map +1 -1
- package/dist/types/agent/subagent-state.d.ts +0 -133
- package/dist/types/agent/subagent-state.d.ts.map +1 -1
- package/dist/types/agent/subagents/background-link.d.ts +0 -3
- package/dist/types/agent/subagents/background-link.d.ts.map +1 -1
- package/dist/types/agent/subagents/child-send-tracking.d.ts +0 -15
- package/dist/types/agent/subagents/child-send-tracking.d.ts.map +1 -1
- package/dist/types/agent/subagents/context-budget.d.ts +0 -8
- package/dist/types/agent/subagents/context-budget.d.ts.map +1 -1
- package/dist/types/agent/subagents/ephemeral-subagent.d.ts +0 -31
- package/dist/types/agent/subagents/ephemeral-subagent.d.ts.map +1 -1
- package/dist/types/agent/subagents/fork-conversation.d.ts +0 -1
- package/dist/types/agent/subagents/fork-conversation.d.ts.map +1 -1
- package/dist/types/agent/subagents/index.d.ts +0 -49
- package/dist/types/agent/subagents/index.d.ts.map +1 -1
- package/dist/types/agent/subagents/manager.d.ts +1 -29
- package/dist/types/agent/subagents/manager.d.ts.map +1 -1
- package/dist/types/agent/subagents/memory-handoff.d.ts +0 -3
- package/dist/types/agent/subagents/memory-handoff.d.ts.map +1 -1
- package/dist/types/agent/subagents/memory-worker-session.d.ts +0 -5
- package/dist/types/agent/subagents/memory-worker-session.d.ts.map +1 -1
- package/dist/types/agent/subagents/memory-worker.d.ts +0 -14
- package/dist/types/agent/subagents/memory-worker.d.ts.map +1 -1
- package/dist/types/agent/subagents/names.d.ts +0 -2
- package/dist/types/agent/subagents/names.d.ts.map +1 -1
- package/dist/types/agent/subagents/parent-transcript.d.ts +0 -14
- package/dist/types/agent/subagents/parent-transcript.d.ts.map +1 -1
- package/dist/types/agent/subagents/remote-turn-wait.d.ts +0 -2
- package/dist/types/agent/subagents/remote-turn-wait.d.ts.map +1 -1
- package/dist/types/agent/subagents/sandbox.d.ts +0 -43
- package/dist/types/agent/subagents/sandbox.d.ts.map +1 -1
- package/dist/types/agent/subagents/subagent-depth.d.ts +0 -9
- package/dist/types/agent/subagents/subagent-depth.d.ts.map +1 -1
- package/dist/types/agent/subagents/subagent-launcher.d.ts +0 -42
- package/dist/types/agent/subagents/subagent-launcher.d.ts.map +1 -1
- package/dist/types/agent/subagents/subagent-model.d.ts +0 -8
- package/dist/types/agent/subagents/subagent-model.d.ts.map +1 -1
- package/dist/types/agent/subagents/subagent-names.d.ts +0 -5
- package/dist/types/agent/subagents/subagent-names.d.ts.map +1 -1
- package/dist/types/agent/subagents/subagent-process.d.ts +0 -11
- package/dist/types/agent/subagents/subagent-process.d.ts.map +1 -1
- package/dist/types/agent/subagents/subagent-refusal.d.ts +0 -2
- package/dist/types/agent/subagents/subagent-refusal.d.ts.map +1 -1
- package/dist/types/agent/subagents/subagent-reminders.d.ts +0 -3
- package/dist/types/agent/subagents/subagent-reminders.d.ts.map +1 -1
- package/dist/types/agent/subagents/subagent-stream.d.ts +0 -44
- package/dist/types/agent/subagents/subagent-stream.d.ts.map +1 -1
- package/dist/types/agent/system-prompt-resolution.d.ts +0 -33
- package/dist/types/agent/system-prompt-resolution.d.ts.map +1 -1
- package/dist/types/agent/system-prompt-size.d.ts +0 -23
- package/dist/types/agent/system-prompt-size.d.ts.map +1 -1
- package/dist/types/agent/system-prompt-versioning.d.ts.map +1 -1
- package/dist/types/agent/turn-recovery-policy.d.ts +0 -83
- package/dist/types/agent/turn-recovery-policy.d.ts.map +1 -1
- package/dist/types/agent-presets.d.ts +0 -11
- package/dist/types/agent-presets.d.ts.map +1 -1
- package/dist/types/agent-settings.d.ts +0 -1
- package/dist/types/agent-settings.d.ts.map +1 -1
- package/dist/types/app-server-client.d.ts +0 -30
- package/dist/types/app-server-client.d.ts.map +1 -1
- package/dist/types/ask-user-question.d.ts +0 -3
- package/dist/types/ask-user-question.d.ts.map +1 -1
- package/dist/types/auth/desktop-credentials.d.ts +0 -3
- package/dist/types/auth/desktop-credentials.d.ts.map +1 -1
- package/dist/types/auth/oauth-refresh.d.ts.map +1 -1
- package/dist/types/auth/oauth.d.ts +0 -27
- package/dist/types/auth/oauth.d.ts.map +1 -1
- package/dist/types/auth/org-credentials-session.d.ts +0 -27
- package/dist/types/auth/org-credentials-session.d.ts.map +1 -1
- package/dist/types/backend/api/agent-message.d.ts +0 -12
- package/dist/types/backend/api/agent-message.d.ts.map +1 -1
- package/dist/types/backend/api/agents.d.ts +0 -20
- package/dist/types/backend/api/agents.d.ts.map +1 -1
- package/dist/types/backend/api/client.d.ts.map +1 -1
- package/dist/types/backend/api/conversation-enqueue.d.ts +0 -10
- package/dist/types/backend/api/conversation-enqueue.d.ts.map +1 -1
- package/dist/types/backend/api/conversations.d.ts +0 -1
- package/dist/types/backend/api/conversations.d.ts.map +1 -1
- package/dist/types/backend/api/environments.d.ts +0 -8
- package/dist/types/backend/api/environments.d.ts.map +1 -1
- package/dist/types/backend/api/ephemeral-conversations.d.ts +0 -1
- package/dist/types/backend/api/ephemeral-conversations.d.ts.map +1 -1
- package/dist/types/backend/api/generate.d.ts.map +1 -1
- package/dist/types/backend/api/http-headers.d.ts +0 -7
- package/dist/types/backend/api/http-headers.d.ts.map +1 -1
- package/dist/types/backend/api/mcp-originator-resolver.d.ts +0 -6
- package/dist/types/backend/api/mcp-originator-resolver.d.ts.map +1 -1
- package/dist/types/backend/api/mcp-subprocess-broker.d.ts +0 -8
- package/dist/types/backend/api/mcp-subprocess-broker.d.ts.map +1 -1
- package/dist/types/backend/api/memfs-git-proxy.d.ts +0 -23
- package/dist/types/backend/api/memfs-git-proxy.d.ts.map +1 -1
- package/dist/types/backend/api/metadata.d.ts +0 -1
- package/dist/types/backend/api/metadata.d.ts.map +1 -1
- package/dist/types/backend/api/monitors.d.ts.map +1 -1
- package/dist/types/backend/api/providers.d.ts +0 -5
- package/dist/types/backend/api/providers.d.ts.map +1 -1
- package/dist/types/backend/api/reflection-runs.d.ts +0 -1
- package/dist/types/backend/api/reflection-runs.d.ts.map +1 -1
- package/dist/types/backend/api/request.d.ts +0 -6
- package/dist/types/backend/api/request.d.ts.map +1 -1
- package/dist/types/backend/api/schedules.d.ts +0 -22
- package/dist/types/backend/api/schedules.d.ts.map +1 -1
- package/dist/types/backend/api/server-url.d.ts +0 -8
- package/dist/types/backend/api/server-url.d.ts.map +1 -1
- package/dist/types/backend/api/unified-mcp.d.ts +0 -6
- package/dist/types/backend/api/unified-mcp.d.ts.map +1 -1
- package/dist/types/backend/api/usage-cost.d.ts +0 -2
- package/dist/types/backend/api/usage-cost.d.ts.map +1 -1
- package/dist/types/backend/backend-mode.d.ts +0 -8
- package/dist/types/backend/backend-mode.d.ts.map +1 -1
- package/dist/types/backend/backend.d.ts +0 -19
- package/dist/types/backend/backend.d.ts.map +1 -1
- package/dist/types/backend/compaction-events.d.ts +0 -15
- package/dist/types/backend/compaction-events.d.ts.map +1 -1
- package/dist/types/backend/dev/fake-headless-backend.d.ts.map +1 -1
- package/dist/types/backend/dev/headless-turn-executor.d.ts +0 -4
- package/dist/types/backend/dev/headless-turn-executor.d.ts.map +1 -1
- package/dist/types/backend/dev/local-provider-errors.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-api-streams.d.ts +0 -7
- package/dist/types/backend/dev/pi-api-streams.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-image-elision.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-llama-cpp-provider.d.ts +0 -8
- package/dist/types/backend/dev/pi-llama-cpp-provider.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-lmstudio-provider.d.ts +0 -6
- package/dist/types/backend/dev/pi-lmstudio-provider.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-local-endpoint-provider.d.ts +0 -40
- package/dist/types/backend/dev/pi-local-endpoint-provider.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-messages.d.ts +0 -1
- package/dist/types/backend/dev/pi-messages.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-mod-provider.d.ts +0 -15
- package/dist/types/backend/dev/pi-mod-provider.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-model-factory.d.ts +0 -12
- package/dist/types/backend/dev/pi-model-factory.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-models-runtime.d.ts +0 -83
- package/dist/types/backend/dev/pi-models-runtime.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-oauth.d.ts +0 -6
- package/dist/types/backend/dev/pi-oauth.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-ollama-provider.d.ts +0 -22
- package/dist/types/backend/dev/pi-ollama-provider.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-openai-compatible-provider.d.ts +0 -5
- package/dist/types/backend/dev/pi-openai-compatible-provider.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-provider-mod-registry.d.ts +0 -5
- package/dist/types/backend/dev/pi-provider-mod-registry.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-provider-mod-types.d.ts +0 -7
- package/dist/types/backend/dev/pi-provider-mod-types.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-provider-registry.d.ts +0 -5
- package/dist/types/backend/dev/pi-provider-registry.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-request-headers.d.ts +0 -1
- package/dist/types/backend/dev/pi-request-headers.d.ts.map +1 -1
- package/dist/types/backend/dev/pi-stream-adapter.d.ts +0 -6
- package/dist/types/backend/dev/pi-stream-adapter.d.ts.map +1 -1
- package/dist/types/backend/dev/provider-turn-executor.d.ts +0 -26
- package/dist/types/backend/dev/provider-turn-executor.d.ts.map +1 -1
- package/dist/types/backend/local/compaction-transcript.d.ts.map +1 -1
- package/dist/types/backend/local/compaction.d.ts +0 -8
- package/dist/types/backend/local/compaction.d.ts.map +1 -1
- package/dist/types/backend/local/initial-memory.d.ts +0 -4
- package/dist/types/backend/local/initial-memory.d.ts.map +1 -1
- package/dist/types/backend/local/local-agent-record-file.d.ts +0 -7
- package/dist/types/backend/local/local-agent-record-file.d.ts.map +1 -1
- package/dist/types/backend/local/local-agent-record.d.ts.map +1 -1
- package/dist/types/backend/local/local-backend.d.ts +0 -22
- package/dist/types/backend/local/local-backend.d.ts.map +1 -1
- package/dist/types/backend/local/local-context-estimate.d.ts.map +1 -1
- package/dist/types/backend/local/local-conversation-key.d.ts +0 -4
- package/dist/types/backend/local/local-conversation-key.d.ts.map +1 -1
- package/dist/types/backend/local/local-message-list-options.d.ts +0 -1
- package/dist/types/backend/local/local-message-list-options.d.ts.map +1 -1
- package/dist/types/backend/local/local-message-projection.d.ts.map +1 -1
- package/dist/types/backend/local/local-message.d.ts +0 -10
- package/dist/types/backend/local/local-message.d.ts.map +1 -1
- package/dist/types/backend/local/local-model-config.d.ts +0 -5
- package/dist/types/backend/local/local-model-config.d.ts.map +1 -1
- package/dist/types/backend/local/local-pi-credential-store.d.ts +0 -16
- package/dist/types/backend/local/local-pi-credential-store.d.ts.map +1 -1
- package/dist/types/backend/local/local-provider-auth-store.d.ts +0 -6
- package/dist/types/backend/local/local-provider-auth-store.d.ts.map +1 -1
- package/dist/types/backend/local/local-provider-timeout.d.ts.map +1 -1
- package/dist/types/backend/local/local-store.d.ts +0 -37
- package/dist/types/backend/local/local-store.d.ts.map +1 -1
- package/dist/types/backend/local/local-stream-chunks.d.ts +0 -2
- package/dist/types/backend/local/local-stream-chunks.d.ts.map +1 -1
- package/dist/types/backend/local/local-transcript-history.d.ts +0 -13
- package/dist/types/backend/local/local-transcript-history.d.ts.map +1 -1
- package/dist/types/backend/local/local-transcript.d.ts +0 -60
- package/dist/types/backend/local/local-transcript.d.ts.map +1 -1
- package/dist/types/backend/local/local-types.d.ts +0 -7
- package/dist/types/backend/local/local-types.d.ts.map +1 -1
- package/dist/types/backend/local/paths.d.ts +0 -1
- package/dist/types/backend/local/paths.d.ts.map +1 -1
- package/dist/types/backend/local/system-prompt-compilation.d.ts +0 -1
- package/dist/types/backend/local/system-prompt-compilation.d.ts.map +1 -1
- package/dist/types/browser-device-mcp-oauth.d.ts +0 -19
- package/dist/types/browser-device-mcp-oauth.d.ts.map +1 -1
- package/dist/types/channels/command-runtime-executor.d.ts +0 -56
- package/dist/types/channels/command-runtime-executor.d.ts.map +1 -1
- package/dist/types/channels/command-surface.d.ts +0 -49
- package/dist/types/channels/command-surface.d.ts.map +1 -1
- package/dist/types/channels/control-request-coordinator.d.ts.map +1 -1
- package/dist/types/channels/gateway-core.d.ts +0 -7
- package/dist/types/channels/gateway-core.d.ts.map +1 -1
- package/dist/types/channels/message-channel-bindings.d.ts +0 -1
- package/dist/types/channels/message-channel-bindings.d.ts.map +1 -1
- package/dist/types/channels/message-channel-executor.d.ts +0 -8
- package/dist/types/channels/message-channel-executor.d.ts.map +1 -1
- package/dist/types/channels/message-channel-idempotency.d.ts +0 -5
- package/dist/types/channels/message-channel-idempotency.d.ts.map +1 -1
- package/dist/types/channels/message-channel-tool-definition.d.ts +0 -3
- package/dist/types/channels/message-channel-tool-definition.d.ts.map +1 -1
- package/dist/types/channels/message-channel-types.d.ts +0 -2
- package/dist/types/channels/message-channel-types.d.ts.map +1 -1
- package/dist/types/channels/message-references.d.ts +0 -5
- package/dist/types/channels/message-references.d.ts.map +1 -1
- package/dist/types/channels/plugin-types.d.ts +0 -57
- package/dist/types/channels/plugin-types.d.ts.map +1 -1
- package/dist/types/channels/progress-builder.d.ts +0 -6
- package/dist/types/channels/progress-builder.d.ts.map +1 -1
- package/dist/types/channels/progress-formatting.d.ts +0 -7
- package/dist/types/channels/progress-formatting.d.ts.map +1 -1
- package/dist/types/channels/progress-types.d.ts +0 -12
- package/dist/types/channels/progress-types.d.ts.map +1 -1
- package/dist/types/channels/route-thread-key.d.ts +0 -16
- package/dist/types/channels/route-thread-key.d.ts.map +1 -1
- package/dist/types/channels/slack/attachment-primitives.d.ts +0 -15
- package/dist/types/channels/slack/attachment-primitives.d.ts.map +1 -1
- package/dist/types/channels/slack/bot-policy.d.ts.map +1 -1
- package/dist/types/channels/slack/message-action-contract.d.ts +0 -11
- package/dist/types/channels/slack/message-action-contract.d.ts.map +1 -1
- package/dist/types/channels/slack/model-picker-blocks.d.ts +0 -5
- package/dist/types/channels/slack/model-picker-blocks.d.ts.map +1 -1
- package/dist/types/channels/slack/status-controller.d.ts +0 -1
- package/dist/types/channels/slack/status-controller.d.ts.map +1 -1
- package/dist/types/channels/telegram/debounce.d.ts +0 -11
- package/dist/types/channels/telegram/debounce.d.ts.map +1 -1
- package/dist/types/channels/telegram/ingress.d.ts +0 -12
- package/dist/types/channels/telegram/ingress.d.ts.map +1 -1
- package/dist/types/channels/telegram/message-action-contract.d.ts +0 -10
- package/dist/types/channels/telegram/message-action-contract.d.ts.map +1 -1
- package/dist/types/channels/telegram/message-shapes.d.ts +0 -14
- package/dist/types/channels/telegram/message-shapes.d.ts.map +1 -1
- package/dist/types/channels/telegram/outbound.d.ts +0 -8
- package/dist/types/channels/telegram/outbound.d.ts.map +1 -1
- package/dist/types/channels/types.d.ts +0 -355
- package/dist/types/channels/types.d.ts.map +1 -1
- package/dist/types/channels/whatsapp/attachment-policy-types.d.ts +0 -5
- package/dist/types/channels/whatsapp/attachment-policy-types.d.ts.map +1 -1
- package/dist/types/channels/whatsapp/message-prefix-config-types.d.ts +0 -1
- package/dist/types/channels/whatsapp/message-prefix-config-types.d.ts.map +1 -1
- package/dist/types/channels/whatsapp/waiting-behavior-config-types.d.ts +0 -1
- package/dist/types/channels/whatsapp/waiting-behavior-config-types.d.ts.map +1 -1
- package/dist/types/channels/xml.d.ts +0 -26
- package/dist/types/channels/xml.d.ts.map +1 -1
- package/dist/types/channels-telegram.d.ts +0 -12
- package/dist/types/channels-telegram.d.ts.map +1 -1
- package/dist/types/cli/helpers/accumulator.d.ts +0 -48
- package/dist/types/cli/helpers/accumulator.d.ts.map +1 -1
- package/dist/types/cli/helpers/agent-info.d.ts +0 -5
- package/dist/types/cli/helpers/agent-info.d.ts.map +1 -1
- package/dist/types/cli/helpers/app-urls.d.ts +0 -21
- package/dist/types/cli/helpers/app-urls.d.ts.map +1 -1
- package/dist/types/cli/helpers/chunk-log.d.ts +0 -37
- package/dist/types/cli/helpers/chunk-log.d.ts.map +1 -1
- package/dist/types/cli/helpers/compaction-utils.d.ts +0 -7
- package/dist/types/cli/helpers/compaction-utils.d.ts.map +1 -1
- package/dist/types/cli/helpers/context-tracker.d.ts +0 -7
- package/dist/types/cli/helpers/context-tracker.d.ts.map +1 -1
- package/dist/types/cli/helpers/conversation-bootstrap.d.ts.map +1 -1
- package/dist/types/cli/helpers/conversation-title.d.ts +0 -7
- package/dist/types/cli/helpers/conversation-title.d.ts.map +1 -1
- package/dist/types/cli/helpers/error-context.d.ts +0 -13
- package/dist/types/cli/helpers/error-context.d.ts.map +1 -1
- package/dist/types/cli/helpers/error-formatter.d.ts +0 -29
- package/dist/types/cli/helpers/error-formatter.d.ts.map +1 -1
- package/dist/types/cli/helpers/git-context.d.ts +0 -10
- package/dist/types/cli/helpers/git-context.d.ts.map +1 -1
- package/dist/types/cli/helpers/markdown-split.d.ts +0 -7
- package/dist/types/cli/helpers/markdown-split.d.ts.map +1 -1
- package/dist/types/cli/helpers/memory-reminder.d.ts +0 -3
- package/dist/types/cli/helpers/memory-reminder.d.ts.map +1 -1
- package/dist/types/cli/helpers/session-context.d.ts +0 -17
- package/dist/types/cli/helpers/session-context.d.ts.map +1 -1
- package/dist/types/cli/helpers/stream-processor.d.ts +0 -11
- package/dist/types/cli/helpers/stream-processor.d.ts.map +1 -1
- package/dist/types/cli/helpers/stream-resume.d.ts +0 -4
- package/dist/types/cli/helpers/stream-resume.d.ts.map +1 -1
- package/dist/types/cli/helpers/stream-stall-reconciler.d.ts +0 -4
- package/dist/types/cli/helpers/stream-stall-reconciler.d.ts.map +1 -1
- package/dist/types/cli/helpers/stream-terminal-eof-guard.d.ts +0 -3
- package/dist/types/cli/helpers/stream-terminal-eof-guard.d.ts.map +1 -1
- package/dist/types/cli/helpers/stream.d.ts +0 -15
- package/dist/types/cli/helpers/stream.d.ts.map +1 -1
- package/dist/types/cli/helpers/system-prompt-warning.d.ts +0 -5
- package/dist/types/cli/helpers/system-prompt-warning.d.ts.map +1 -1
- package/dist/types/cli/helpers/tool-name-mapping.d.ts +0 -62
- package/dist/types/cli/helpers/tool-name-mapping.d.ts.map +1 -1
- package/dist/types/cli/helpers/unified-exec-output.d.ts +0 -5
- package/dist/types/cli/helpers/unified-exec-output.d.ts.map +1 -1
- package/dist/types/cli/helpers/zai-errors.d.ts +0 -30
- package/dist/types/cli/helpers/zai-errors.d.ts.map +1 -1
- package/dist/types/cli/subcommands/mcp-connect.d.ts +0 -6
- package/dist/types/cli/subcommands/mcp-connect.d.ts.map +1 -1
- package/dist/types/cli/subcommands/mcp-io.d.ts.map +1 -1
- package/dist/types/cli/subcommands/mcp-search.d.ts.map +1 -1
- package/dist/types/cli/subcommands/mcp.d.ts +0 -8
- package/dist/types/cli/subcommands/mcp.d.ts.map +1 -1
- package/dist/types/constants.d.ts +0 -30
- package/dist/types/constants.d.ts.map +1 -1
- package/dist/types/cron/cron-file.d.ts +0 -101
- package/dist/types/cron/cron-file.d.ts.map +1 -1
- package/dist/types/cron/parse-interval.d.ts +0 -50
- package/dist/types/cron/parse-interval.d.ts.map +1 -1
- package/dist/types/cron/process-identity.d.ts +0 -2
- package/dist/types/cron/process-identity.d.ts.map +1 -1
- package/dist/types/cron/prompt.d.ts +0 -2
- package/dist/types/cron/prompt.d.ts.map +1 -1
- package/dist/types/cron/run-log.d.ts +0 -6
- package/dist/types/cron/run-log.d.ts.map +1 -1
- package/dist/types/cron/runner.d.ts +0 -42
- package/dist/types/cron/runner.d.ts.map +1 -1
- package/dist/types/cron/scheduled-task-prompt.d.ts +0 -13
- package/dist/types/cron/scheduled-task-prompt.d.ts.map +1 -1
- package/dist/types/cron/scheduler.d.ts +0 -36
- package/dist/types/cron/scheduler.d.ts.map +1 -1
- package/dist/types/headless-enqueue-wait.d.ts +0 -5
- package/dist/types/headless-enqueue-wait.d.ts.map +1 -1
- package/dist/types/headless-environment-response.d.ts +0 -45
- package/dist/types/headless-environment-response.d.ts.map +1 -1
- package/dist/types/headless-listener-launch.d.ts +0 -10
- package/dist/types/headless-listener-launch.d.ts.map +1 -1
- package/dist/types/headless-super-run-wait.d.ts +0 -9
- package/dist/types/headless-super-run-wait.d.ts.map +1 -1
- package/dist/types/helpers/usable-directory.d.ts +0 -1
- package/dist/types/helpers/usable-directory.d.ts.map +1 -1
- package/dist/types/hooks/executor.d.ts +0 -25
- package/dist/types/hooks/executor.d.ts.map +1 -1
- package/dist/types/hooks/index.d.ts +0 -49
- package/dist/types/hooks/index.d.ts.map +1 -1
- package/dist/types/hooks/loader.d.ts +0 -50
- package/dist/types/hooks/loader.d.ts.map +1 -1
- package/dist/types/hooks/prompt-executor.d.ts +0 -4
- package/dist/types/hooks/prompt-executor.d.ts.map +1 -1
- package/dist/types/hooks/types.d.ts +0 -203
- package/dist/types/hooks/types.d.ts.map +1 -1
- package/dist/types/image-resize-public.d.ts.map +1 -1
- package/dist/types/lsp/client.d.ts +0 -21
- package/dist/types/lsp/client.d.ts.map +1 -1
- package/dist/types/lsp/manager.d.ts +0 -28
- package/dist/types/lsp/manager.d.ts.map +1 -1
- package/dist/types/lsp/servers/index.d.ts +0 -7
- package/dist/types/lsp/servers/index.d.ts.map +1 -1
- package/dist/types/lsp/servers/python.d.ts +0 -8
- package/dist/types/lsp/servers/python.d.ts.map +1 -1
- package/dist/types/lsp/servers/typescript.d.ts +0 -7
- package/dist/types/lsp/servers/typescript.d.ts.map +1 -1
- package/dist/types/lsp/types.d.ts +0 -40
- package/dist/types/lsp/types.d.ts.map +1 -1
- package/dist/types/managed-cloud-runtime.d.ts +0 -5
- package/dist/types/managed-cloud-runtime.d.ts.map +1 -1
- package/dist/types/mcp-client.d.ts +0 -7
- package/dist/types/mcp-client.d.ts.map +1 -1
- package/dist/types/mcp-oauth-callback.d.ts +0 -9
- package/dist/types/mcp-oauth-callback.d.ts.map +1 -1
- package/dist/types/mcp-oauth-client-name.d.ts +0 -6
- package/dist/types/mcp-oauth-client-name.d.ts.map +1 -1
- package/dist/types/mcp-oauth-identity.d.ts +0 -5
- package/dist/types/mcp-oauth-identity.d.ts.map +1 -1
- package/dist/types/mcp-oauth-public.d.ts +0 -36
- package/dist/types/mcp-oauth-public.d.ts.map +1 -1
- package/dist/types/mcp-oauth.d.ts +0 -26
- package/dist/types/mcp-oauth.d.ts.map +1 -1
- package/dist/types/mcp-runtime.d.ts +0 -4
- package/dist/types/mcp-runtime.d.ts.map +1 -1
- package/dist/types/mcp-scope.d.ts +0 -6
- package/dist/types/mcp-scope.d.ts.map +1 -1
- package/dist/types/memory-confinement.d.ts +0 -9
- package/dist/types/memory-confinement.d.ts.map +1 -1
- package/dist/types/memory-constraints.d.ts +0 -14
- package/dist/types/memory-constraints.d.ts.map +1 -1
- package/dist/types/memory-frontmatter.d.ts +0 -10
- package/dist/types/memory-frontmatter.d.ts.map +1 -1
- package/dist/types/mods/event-emitter.d.ts +0 -1
- package/dist/types/mods/event-emitter.d.ts.map +1 -1
- package/dist/types/mods/mod-adapter.d.ts.map +1 -1
- package/dist/types/mods/mod-engine.d.ts +0 -3
- package/dist/types/mods/mod-engine.d.ts.map +1 -1
- package/dist/types/mods/turn-start-cancel.d.ts +0 -3
- package/dist/types/mods/turn-start-cancel.d.ts.map +1 -1
- package/dist/types/mods/types.d.ts +0 -33
- package/dist/types/mods/types.d.ts.map +1 -1
- package/dist/types/permissions/agent-memory-prefixes.d.ts +0 -1
- package/dist/types/permissions/agent-memory-prefixes.d.ts.map +1 -1
- package/dist/types/permissions/analyzer.d.ts +0 -3
- package/dist/types/permissions/analyzer.d.ts.map +1 -1
- package/dist/types/permissions/canonical.d.ts.map +1 -1
- package/dist/types/permissions/checker.d.ts +0 -40
- package/dist/types/permissions/checker.d.ts.map +1 -1
- package/dist/types/permissions/cli-permissions-instance.d.ts +0 -9
- package/dist/types/permissions/cli-permissions-instance.d.ts.map +1 -1
- package/dist/types/permissions/cli.d.ts +0 -44
- package/dist/types/permissions/cli.d.ts.map +1 -1
- package/dist/types/permissions/cross-agent-guard.d.ts +0 -41
- package/dist/types/permissions/cross-agent-guard.d.ts.map +1 -1
- package/dist/types/permissions/file-path-args.d.ts +0 -1
- package/dist/types/permissions/file-path-args.d.ts.map +1 -1
- package/dist/types/permissions/loader.d.ts +0 -14
- package/dist/types/permissions/loader.d.ts.map +1 -1
- package/dist/types/permissions/matcher.d.ts +0 -35
- package/dist/types/permissions/matcher.d.ts.map +1 -1
- package/dist/types/permissions/memory-confinement-launcher.d.ts +0 -7
- package/dist/types/permissions/memory-confinement-launcher.d.ts.map +1 -1
- package/dist/types/permissions/memory-paths.d.ts +0 -5
- package/dist/types/permissions/memory-paths.d.ts.map +1 -1
- package/dist/types/permissions/memory-write-allowance.d.ts +0 -12
- package/dist/types/permissions/memory-write-allowance.d.ts.map +1 -1
- package/dist/types/permissions/mode.d.ts +0 -37
- package/dist/types/permissions/mode.d.ts.map +1 -1
- package/dist/types/permissions/read-only-letta.d.ts.map +1 -1
- package/dist/types/permissions/read-only-shell.d.ts +0 -3
- package/dist/types/permissions/read-only-shell.d.ts.map +1 -1
- package/dist/types/permissions/sandbox-gate.d.ts +0 -28
- package/dist/types/permissions/sandbox-gate.d.ts.map +1 -1
- package/dist/types/permissions/sandbox-policy.d.ts +0 -116
- package/dist/types/permissions/sandbox-policy.d.ts.map +1 -1
- package/dist/types/permissions/session.d.ts +0 -16
- package/dist/types/permissions/session.d.ts.map +1 -1
- package/dist/types/permissions/shell-analysis.d.ts +0 -20
- package/dist/types/permissions/shell-analysis.d.ts.map +1 -1
- package/dist/types/permissions/types.d.ts +0 -12
- package/dist/types/permissions/types.d.ts.map +1 -1
- package/dist/types/providers/byok-providers.d.ts +0 -60
- package/dist/types/providers/byok-providers.d.ts.map +1 -1
- package/dist/types/providers/chatgpt-provider-auth.d.ts +0 -22
- package/dist/types/providers/chatgpt-provider-auth.d.ts.map +1 -1
- package/dist/types/providers/openai-codex-provider.d.ts +0 -31
- package/dist/types/providers/openai-codex-provider.d.ts.map +1 -1
- package/dist/types/queue/queue-runtime.d.ts +0 -111
- package/dist/types/queue/queue-runtime.d.ts.map +1 -1
- package/dist/types/reflection-settings.d.ts +0 -1
- package/dist/types/reflection-settings.d.ts.map +1 -1
- package/dist/types/reminders/disk-space.d.ts +0 -36
- package/dist/types/reminders/disk-space.d.ts.map +1 -1
- package/dist/types/reminders/engine.d.ts +0 -13
- package/dist/types/reminders/engine.d.ts.map +1 -1
- package/dist/types/reminders/state.d.ts +0 -7
- package/dist/types/reminders/state.d.ts.map +1 -1
- package/dist/types/reminders/variables.d.ts.map +1 -1
- package/dist/types/runtime-context.d.ts +0 -37
- package/dist/types/runtime-context.d.ts.map +1 -1
- package/dist/types/runtime-execution-settings.d.ts +0 -3
- package/dist/types/runtime-execution-settings.d.ts.map +1 -1
- package/dist/types/sandbox/availability.d.ts +0 -44
- package/dist/types/sandbox/availability.d.ts.map +1 -1
- package/dist/types/sandbox/bwrap.d.ts +0 -32
- package/dist/types/sandbox/bwrap.d.ts.map +1 -1
- package/dist/types/sandbox/policy.d.ts +0 -70
- package/dist/types/sandbox/policy.d.ts.map +1 -1
- package/dist/types/sandbox/seatbelt.d.ts +0 -26
- package/dist/types/sandbox/seatbelt.d.ts.map +1 -1
- package/dist/types/sandbox/wrap.d.ts +0 -11
- package/dist/types/sandbox/wrap.d.ts.map +1 -1
- package/dist/types/schedules.d.ts +0 -6
- package/dist/types/schedules.d.ts.map +1 -1
- package/dist/types/settings-manager.d.ts +0 -218
- package/dist/types/settings-manager.d.ts.map +1 -1
- package/dist/types/telemetry/busy-recovery.d.ts +0 -2
- package/dist/types/telemetry/busy-recovery.d.ts.map +1 -1
- package/dist/types/telemetry/channel.d.ts.map +1 -1
- package/dist/types/telemetry/error-reporting.d.ts +0 -8
- package/dist/types/telemetry/error-reporting.d.ts.map +1 -1
- package/dist/types/telemetry/event-queue.d.ts +0 -24
- package/dist/types/telemetry/event-queue.d.ts.map +1 -1
- package/dist/types/telemetry/fatal-error-handler.d.ts +0 -4
- package/dist/types/telemetry/fatal-error-handler.d.ts.map +1 -1
- package/dist/types/telemetry/index.d.ts +0 -63
- package/dist/types/telemetry/index.d.ts.map +1 -1
- package/dist/types/tools/client-preferences.d.ts +0 -2
- package/dist/types/tools/client-preferences.d.ts.map +1 -1
- package/dist/types/tools/client-tool-background.d.ts +0 -2
- package/dist/types/tools/client-tool-background.d.ts.map +1 -1
- package/dist/types/tools/client-tool-serialization.d.ts +0 -1
- package/dist/types/tools/client-tool-serialization.d.ts.map +1 -1
- package/dist/types/tools/commit-trailer.d.ts +0 -22
- package/dist/types/tools/commit-trailer.d.ts.map +1 -1
- package/dist/types/tools/external-tool-background-eligibility.d.ts +0 -2
- package/dist/types/tools/external-tool-background-eligibility.d.ts.map +1 -1
- package/dist/types/tools/external-tool-background.d.ts +0 -8
- package/dist/types/tools/external-tool-background.d.ts.map +1 -1
- package/dist/types/tools/external-tool-content.d.ts +0 -1
- package/dist/types/tools/external-tool-content.d.ts.map +1 -1
- package/dist/types/tools/external-tool-execution.d.ts +0 -1
- package/dist/types/tools/external-tool-execution.d.ts.map +1 -1
- package/dist/types/tools/external-tool-types.d.ts +0 -9
- package/dist/types/tools/external-tool-types.d.ts.map +1 -1
- package/dist/types/tools/filter.d.ts +0 -14
- package/dist/types/tools/filter.d.ts.map +1 -1
- package/dist/types/tools/foreground-yield.d.ts +0 -6
- package/dist/types/tools/foreground-yield.d.ts.map +1 -1
- package/dist/types/tools/hook-feedback.d.ts +0 -10
- package/dist/types/tools/hook-feedback.d.ts.map +1 -1
- package/dist/types/tools/impl/apply-patch.d.ts +0 -3
- package/dist/types/tools/impl/apply-patch.d.ts.map +1 -1
- package/dist/types/tools/impl/bash.d.ts +0 -15
- package/dist/types/tools/impl/bash.d.ts.map +1 -1
- package/dist/types/tools/impl/claude-repository-skills.d.ts.map +1 -1
- package/dist/types/tools/impl/claude-steer-timeouts.d.ts +0 -18
- package/dist/types/tools/impl/claude-steer-timeouts.d.ts.map +1 -1
- package/dist/types/tools/impl/claude-stream-session-types.d.ts +2 -15
- package/dist/types/tools/impl/claude-stream-session-types.d.ts.map +1 -1
- package/dist/types/tools/impl/claude-stream-session.d.ts +1 -9
- package/dist/types/tools/impl/claude-stream-session.d.ts.map +1 -1
- package/dist/types/tools/impl/code-mode.d.ts +0 -6
- package/dist/types/tools/impl/code-mode.d.ts.map +1 -1
- package/dist/types/tools/impl/codex-app-server-payloads.d.ts +5 -8
- package/dist/types/tools/impl/codex-app-server-payloads.d.ts.map +1 -1
- package/dist/types/tools/impl/codex-app-server.d.ts +1 -5
- package/dist/types/tools/impl/codex-app-server.d.ts.map +1 -1
- package/dist/types/tools/impl/codex-steer-receipt.d.ts +0 -2
- package/dist/types/tools/impl/codex-steer-receipt.d.ts.map +1 -1
- package/dist/types/tools/impl/cursor-session.d.ts +1 -1
- package/dist/types/tools/impl/cursor-session.d.ts.map +1 -1
- package/dist/types/tools/impl/cursor-start-retry.d.ts.map +1 -1
- package/dist/types/tools/impl/cursor-worker.d.ts +2 -0
- package/dist/types/tools/impl/cursor-worker.d.ts.map +1 -1
- package/dist/types/tools/impl/edit.d.ts +0 -10
- package/dist/types/tools/impl/edit.d.ts.map +1 -1
- package/dist/types/tools/impl/enter-worktree-messages.d.ts.map +1 -1
- package/dist/types/tools/impl/enter-worktree.d.ts +0 -19
- package/dist/types/tools/impl/enter-worktree.d.ts.map +1 -1
- package/dist/types/tools/impl/exec-command.d.ts.map +1 -1
- package/dist/types/tools/impl/exit-worktree.d.ts +0 -9
- package/dist/types/tools/impl/exit-worktree.d.ts.map +1 -1
- package/dist/types/tools/impl/external-coding-agent-task.d.ts +0 -7
- package/dist/types/tools/impl/external-coding-agent-task.d.ts.map +1 -1
- package/dist/types/tools/impl/external-coding-agent.d.ts +2 -35
- package/dist/types/tools/impl/external-coding-agent.d.ts.map +1 -1
- package/dist/types/tools/impl/external-fork-context.d.ts +0 -17
- package/dist/types/tools/impl/external-fork-context.d.ts.map +1 -1
- package/dist/types/tools/impl/external-llm-trace-launch.d.ts.map +1 -1
- package/dist/types/tools/impl/external-llm-trace-payload.d.ts +0 -2
- package/dist/types/tools/impl/external-llm-trace-payload.d.ts.map +1 -1
- package/dist/types/tools/impl/external-llm-trace-proxy.d.ts +0 -1
- package/dist/types/tools/impl/external-llm-trace-proxy.d.ts.map +1 -1
- package/dist/types/tools/impl/external-llm-trace-session.d.ts +0 -1
- package/dist/types/tools/impl/external-llm-trace-session.d.ts.map +1 -1
- package/dist/types/tools/impl/external-tool-call.d.ts +0 -15
- package/dist/types/tools/impl/external-tool-call.d.ts.map +1 -1
- package/dist/types/tools/impl/foreground-sleep.d.ts +0 -10
- package/dist/types/tools/impl/foreground-sleep.d.ts.map +1 -1
- package/dist/types/tools/impl/fork-prompt.d.ts +0 -1
- package/dist/types/tools/impl/fork-prompt.d.ts.map +1 -1
- package/dist/types/tools/impl/github-pull-request-cloud.d.ts +0 -1
- package/dist/types/tools/impl/github-pull-request-cloud.d.ts.map +1 -1
- package/dist/types/tools/impl/github-pull-request-tracker.d.ts +0 -1
- package/dist/types/tools/impl/github-pull-request-tracker.d.ts.map +1 -1
- package/dist/types/tools/impl/github-pull-request-watch.d.ts +0 -5
- package/dist/types/tools/impl/github-pull-request-watch.d.ts.map +1 -1
- package/dist/types/tools/impl/github-workflow-run.d.ts.map +1 -1
- package/dist/types/tools/impl/glob.d.ts.map +1 -1
- package/dist/types/tools/impl/grep.d.ts.map +1 -1
- package/dist/types/tools/impl/kill-bash.d.ts.map +1 -1
- package/dist/types/tools/impl/ls.d.ts.map +1 -1
- package/dist/types/tools/impl/memory-task-lifecycle.d.ts +0 -27
- package/dist/types/tools/impl/memory-task-lifecycle.d.ts.map +1 -1
- package/dist/types/tools/impl/memory.d.ts +0 -5
- package/dist/types/tools/impl/memory.d.ts.map +1 -1
- package/dist/types/tools/impl/monitor-backup.d.ts +0 -17
- package/dist/types/tools/impl/monitor-backup.d.ts.map +1 -1
- package/dist/types/tools/impl/monitor-script.d.ts +0 -6
- package/dist/types/tools/impl/monitor-script.d.ts.map +1 -1
- package/dist/types/tools/impl/monitor-state.d.ts +0 -1
- package/dist/types/tools/impl/monitor-state.d.ts.map +1 -1
- package/dist/types/tools/impl/monitor-timeout.d.ts +0 -11
- package/dist/types/tools/impl/monitor-timeout.d.ts.map +1 -1
- package/dist/types/tools/impl/monitor-url-cloud.d.ts +0 -13
- package/dist/types/tools/impl/monitor-url-cloud.d.ts.map +1 -1
- package/dist/types/tools/impl/monitor.d.ts.map +1 -1
- package/dist/types/tools/impl/native-session-capture.d.ts +0 -3
- package/dist/types/tools/impl/native-session-capture.d.ts.map +1 -1
- package/dist/types/tools/impl/native-session-owner.d.ts +2 -0
- package/dist/types/tools/impl/native-session-owner.d.ts.map +1 -1
- package/dist/types/tools/impl/opencode-server.d.ts +0 -2
- package/dist/types/tools/impl/opencode-server.d.ts.map +1 -1
- package/dist/types/tools/impl/opencode-session.d.ts +1 -1
- package/dist/types/tools/impl/opencode-session.d.ts.map +1 -1
- package/dist/types/tools/impl/overflow.d.ts +0 -50
- package/dist/types/tools/impl/overflow.d.ts.map +1 -1
- package/dist/types/tools/impl/process_manager.d.ts +0 -34
- package/dist/types/tools/impl/process_manager.d.ts.map +1 -1
- package/dist/types/tools/impl/read-lsp.d.ts.map +1 -1
- package/dist/types/tools/impl/read.d.ts.map +1 -1
- package/dist/types/tools/impl/remote-connect-retry.d.ts +0 -1
- package/dist/types/tools/impl/remote-connect-retry.d.ts.map +1 -1
- package/dist/types/tools/impl/remote-external-coding-agent.d.ts +0 -3
- package/dist/types/tools/impl/remote-external-coding-agent.d.ts.map +1 -1
- package/dist/types/tools/impl/remote-external-worker-computer.d.ts.map +1 -1
- package/dist/types/tools/impl/remote-follow-up-retry.d.ts +0 -2
- package/dist/types/tools/impl/remote-follow-up-retry.d.ts.map +1 -1
- package/dist/types/tools/impl/remote-subagent-events.d.ts +0 -7
- package/dist/types/tools/impl/remote-subagent-events.d.ts.map +1 -1
- package/dist/types/tools/impl/self-matching-pgrep.d.ts +0 -10
- package/dist/types/tools/impl/self-matching-pgrep.d.ts.map +1 -1
- package/dist/types/tools/impl/send-agent-message.d.ts +0 -1
- package/dist/types/tools/impl/send-agent-message.d.ts.map +1 -1
- package/dist/types/tools/impl/shell-env.d.ts +0 -9
- package/dist/types/tools/impl/shell-env.d.ts.map +1 -1
- package/dist/types/tools/impl/shell-launchers.d.ts.map +1 -1
- package/dist/types/tools/impl/shell-runner.d.ts +0 -11
- package/dist/types/tools/impl/shell-runner.d.ts.map +1 -1
- package/dist/types/tools/impl/shell-sandbox.d.ts +1 -31
- package/dist/types/tools/impl/shell-sandbox.d.ts.map +1 -1
- package/dist/types/tools/impl/skill-content-registry.d.ts +0 -18
- package/dist/types/tools/impl/skill-content-registry.d.ts.map +1 -1
- package/dist/types/tools/impl/skill.d.ts +0 -17
- package/dist/types/tools/impl/skill.d.ts.map +1 -1
- package/dist/types/tools/impl/stop-conversation-background.d.ts +0 -1
- package/dist/types/tools/impl/stop-conversation-background.d.ts.map +1 -1
- package/dist/types/tools/impl/subagent-computer.d.ts +0 -38
- package/dist/types/tools/impl/subagent-computer.d.ts.map +1 -1
- package/dist/types/tools/impl/subagent-stop-bridge.d.ts +0 -1
- package/dist/types/tools/impl/subagent-stop-bridge.d.ts.map +1 -1
- package/dist/types/tools/impl/task-abort-hook.d.ts.map +1 -1
- package/dist/types/tools/impl/task-agent-selection.d.ts +0 -5
- package/dist/types/tools/impl/task-agent-selection.d.ts.map +1 -1
- package/dist/types/tools/impl/task-create.d.ts +2 -2
- package/dist/types/tools/impl/task-create.d.ts.map +1 -1
- package/dist/types/tools/impl/task-get.d.ts +2 -2
- package/dist/types/tools/impl/task-get.d.ts.map +1 -1
- package/dist/types/tools/impl/task-list.d.ts +2 -6
- package/dist/types/tools/impl/task-list.d.ts.map +1 -1
- package/dist/types/tools/impl/task-stop.d.ts.map +1 -1
- package/dist/types/tools/impl/task-summary.d.ts +19 -0
- package/dist/types/tools/impl/task-summary.d.ts.map +1 -0
- package/dist/types/tools/impl/task-transcript.d.ts +1 -47
- package/dist/types/tools/impl/task-transcript.d.ts.map +1 -1
- package/dist/types/tools/impl/task-update.d.ts +2 -2
- package/dist/types/tools/impl/task-update.d.ts.map +1 -1
- package/dist/types/tools/impl/task.d.ts +0 -49
- package/dist/types/tools/impl/task.d.ts.map +1 -1
- package/dist/types/tools/impl/tasks/store.d.ts +7 -13
- package/dist/types/tools/impl/tasks/store.d.ts.map +1 -1
- package/dist/types/tools/impl/tool-return-clamp.d.ts +0 -31
- package/dist/types/tools/impl/tool-return-clamp.d.ts.map +1 -1
- package/dist/types/tools/impl/truncation.d.ts +0 -21
- package/dist/types/tools/impl/truncation.d.ts.map +1 -1
- package/dist/types/tools/impl/update-plan.d.ts +0 -9
- package/dist/types/tools/impl/update-plan.d.ts.map +1 -1
- package/dist/types/tools/impl/validation.d.ts +0 -4
- package/dist/types/tools/impl/validation.d.ts.map +1 -1
- package/dist/types/tools/impl/wake.d.ts +0 -1
- package/dist/types/tools/impl/wake.d.ts.map +1 -1
- package/dist/types/tools/impl/watch-pr-cloud.d.ts +0 -1
- package/dist/types/tools/impl/watch-pr-cloud.d.ts.map +1 -1
- package/dist/types/tools/impl/watch-pr.d.ts.map +1 -1
- package/dist/types/tools/impl/windows-command-safety.d.ts.map +1 -1
- package/dist/types/tools/impl/workflow.d.ts +0 -30
- package/dist/types/tools/impl/workflow.d.ts.map +1 -1
- package/dist/types/tools/impl/worktree-git.d.ts +0 -16
- package/dist/types/tools/impl/worktree-git.d.ts.map +1 -1
- package/dist/types/tools/manager.d.ts +0 -129
- package/dist/types/tools/manager.d.ts.map +1 -1
- package/dist/types/tools/model-facing-tool.d.ts.map +1 -1
- package/dist/types/tools/permission-mode-state.d.ts +0 -1
- package/dist/types/tools/permission-mode-state.d.ts.map +1 -1
- package/dist/types/tools/removed-tools.d.ts.map +1 -1
- package/dist/types/tools/script-tool-scope.d.ts +0 -2
- package/dist/types/tools/script-tool-scope.d.ts.map +1 -1
- package/dist/types/tools/secret-substitution.d.ts +0 -74
- package/dist/types/tools/secret-substitution.d.ts.map +1 -1
- package/dist/types/tools/subagent-tool-policy.d.ts +0 -3
- package/dist/types/tools/subagent-tool-policy.d.ts.map +1 -1
- package/dist/types/tools/task-tool-assets.d.ts +0 -11
- package/dist/types/tools/task-tool-assets.d.ts.map +1 -1
- package/dist/types/tools/tool-context-retention.d.ts +0 -2
- package/dist/types/tools/tool-context-retention.d.ts.map +1 -1
- package/dist/types/tools/tool-definitions.d.ts.map +1 -1
- package/dist/types/tools/tool-name-mapping.d.ts +0 -2
- package/dist/types/tools/tool-name-mapping.d.ts.map +1 -1
- package/dist/types/tools/tool-policy.d.ts +0 -7
- package/dist/types/tools/tool-policy.d.ts.map +1 -1
- package/dist/types/tools/toolset-catalog.d.ts +0 -2
- package/dist/types/tools/toolset-catalog.d.ts.map +1 -1
- package/dist/types/tools/toolset.d.ts +0 -20
- package/dist/types/tools/toolset.d.ts.map +1 -1
- package/dist/types/tools/workflow/decide.d.ts +0 -1
- package/dist/types/tools/workflow/decide.d.ts.map +1 -1
- package/dist/types/tools/workflow/execution-registry.d.ts +0 -17
- package/dist/types/tools/workflow/execution-registry.d.ts.map +1 -1
- package/dist/types/tools/workflow/format-stats.d.ts +0 -14
- package/dist/types/tools/workflow/format-stats.d.ts.map +1 -1
- package/dist/types/tools/workflow/journal.d.ts +0 -10
- package/dist/types/tools/workflow/journal.d.ts.map +1 -1
- package/dist/types/tools/workflow/meta.d.ts +0 -10
- package/dist/types/tools/workflow/meta.d.ts.map +1 -1
- package/dist/types/tools/workflow/sdk-loader.d.ts +0 -27
- package/dist/types/tools/workflow/sdk-loader.d.ts.map +1 -1
- package/dist/types/tools/workflow/sdk-spawner.d.ts +0 -32
- package/dist/types/tools/workflow/sdk-spawner.d.ts.map +1 -1
- package/dist/types/tools/workflow/types.d.ts +0 -81
- package/dist/types/tools/workflow/types.d.ts.map +1 -1
- package/dist/types/tools/workflow/workflow-engine.d.ts +0 -18
- package/dist/types/tools/workflow/workflow-engine.d.ts.map +1 -1
- package/dist/types/types/app-server-info.d.ts +0 -9
- package/dist/types/types/app-server-info.d.ts.map +1 -1
- package/dist/types/types/app-server-protocol.d.ts +0 -1
- package/dist/types/types/app-server-protocol.d.ts.map +1 -1
- package/dist/types/types/background-process-protocol.d.ts +0 -2
- package/dist/types/types/background-process-protocol.d.ts.map +1 -1
- package/dist/types/types/client-preferences.d.ts +0 -1
- package/dist/types/types/client-preferences.d.ts.map +1 -1
- package/dist/types/types/conversation-fork-protocol.d.ts +0 -3
- package/dist/types/types/conversation-fork-protocol.d.ts.map +1 -1
- package/dist/types/types/cwd-protocol.d.ts +0 -5
- package/dist/types/types/cwd-protocol.d.ts.map +1 -1
- package/dist/types/types/external-tool-protocol.d.ts +0 -32
- package/dist/types/types/external-tool-protocol.d.ts.map +1 -1
- package/dist/types/types/file-write-protocol.d.ts +0 -23
- package/dist/types/types/file-write-protocol.d.ts.map +1 -1
- package/dist/types/types/input-command.d.ts +0 -23
- package/dist/types/types/input-command.d.ts.map +1 -1
- package/dist/types/types/input-create-message.d.ts +0 -20
- package/dist/types/types/input-create-message.d.ts.map +1 -1
- package/dist/types/types/loop-status-protocol.d.ts +0 -10
- package/dist/types/types/loop-status-protocol.d.ts.map +1 -1
- package/dist/types/types/protocol.d.ts +0 -319
- package/dist/types/types/protocol.d.ts.map +1 -1
- package/dist/types/types/protocol_v2.d.ts +0 -259
- package/dist/types/types/protocol_v2.d.ts.map +1 -1
- package/dist/types/types/provider-oauth-config.d.ts +0 -12
- package/dist/types/types/provider-oauth-config.d.ts.map +1 -1
- package/dist/types/types/queue-update-protocol.d.ts +0 -12
- package/dist/types/types/queue-update-protocol.d.ts.map +1 -1
- package/dist/types/types/runtime-scope.d.ts +0 -12
- package/dist/types/types/runtime-scope.d.ts.map +1 -1
- package/dist/types/types/runtime-start-protocol.d.ts +1 -39
- package/dist/types/types/runtime-start-protocol.d.ts.map +1 -1
- package/dist/types/types/schedule-protocol.d.ts +0 -1
- package/dist/types/types/schedule-protocol.d.ts.map +1 -1
- package/dist/types/types/subagent-protocol.d.ts +0 -42
- package/dist/types/types/subagent-protocol.d.ts.map +1 -1
- package/dist/types/types/task-control-protocol.d.ts +0 -7
- package/dist/types/types/task-control-protocol.d.ts.map +1 -1
- package/dist/types/types/teleport-protocol.d.ts +0 -1
- package/dist/types/types/teleport-protocol.d.ts.map +1 -1
- package/dist/types/types/turn-finished-protocol.d.ts +0 -1
- package/dist/types/types/turn-finished-protocol.d.ts.map +1 -1
- package/dist/types/usage/cost.d.ts +0 -6
- package/dist/types/usage/cost.d.ts.map +1 -1
- package/dist/types/utils/checkout-readiness.d.ts +0 -2
- package/dist/types/utils/checkout-readiness.d.ts.map +1 -1
- package/dist/types/utils/confirm-process-exit.d.ts +0 -1
- package/dist/types/utils/confirm-process-exit.d.ts.map +1 -1
- package/dist/types/utils/create-relayed-abort-controller.d.ts +0 -9
- package/dist/types/utils/create-relayed-abort-controller.d.ts.map +1 -1
- package/dist/types/utils/debug.d.ts +0 -22
- package/dist/types/utils/debug.d.ts.map +1 -1
- package/dist/types/utils/directory-limits.d.ts +0 -3
- package/dist/types/utils/directory-limits.d.ts.map +1 -1
- package/dist/types/utils/disk-reserve.d.ts +0 -2
- package/dist/types/utils/disk-reserve.d.ts.map +1 -1
- package/dist/types/utils/error.d.ts +0 -6
- package/dist/types/utils/error.d.ts.map +1 -1
- package/dist/types/utils/file-lock.d.ts +0 -23
- package/dist/types/utils/file-lock.d.ts.map +1 -1
- package/dist/types/utils/file-path.d.ts +0 -7
- package/dist/types/utils/file-path.d.ts.map +1 -1
- package/dist/types/utils/frontmatter.d.ts +0 -15
- package/dist/types/utils/frontmatter.d.ts.map +1 -1
- package/dist/types/utils/fs.d.ts +0 -16
- package/dist/types/utils/fs.d.ts.map +1 -1
- package/dist/types/utils/image-resize.d.ts.map +1 -1
- package/dist/types/utils/image-resize.magick.d.ts +0 -5
- package/dist/types/utils/image-resize.magick.d.ts.map +1 -1
- package/dist/types/utils/image-resize.shared.d.ts +0 -1
- package/dist/types/utils/image-resize.shared.d.ts.map +1 -1
- package/dist/types/utils/local-backend-paths.d.ts +0 -19
- package/dist/types/utils/local-backend-paths.d.ts.map +1 -1
- package/dist/types/utils/memory-access.d.ts.map +1 -1
- package/dist/types/utils/message-queue-bridge.d.ts +0 -32
- package/dist/types/utils/message-queue-bridge.d.ts.map +1 -1
- package/dist/types/utils/native-cli-env.d.ts +0 -1
- package/dist/types/utils/native-cli-env.d.ts.map +1 -1
- package/dist/types/utils/openai-reasoning-effort.d.ts +0 -4
- package/dist/types/utils/openai-reasoning-effort.d.ts.map +1 -1
- package/dist/types/utils/package-manager-spawn.d.ts +0 -7
- package/dist/types/utils/package-manager-spawn.d.ts.map +1 -1
- package/dist/types/utils/process-liveness.d.ts +0 -25
- package/dist/types/utils/process-liveness.d.ts.map +1 -1
- package/dist/types/utils/rename-sync-with-retry.d.ts.map +1 -1
- package/dist/types/utils/repository-checkout.d.ts +0 -1
- package/dist/types/utils/repository-checkout.d.ts.map +1 -1
- package/dist/types/utils/secrets-store.d.ts +0 -52
- package/dist/types/utils/secrets-store.d.ts.map +1 -1
- package/dist/types/utils/secrets.d.ts +0 -34
- package/dist/types/utils/secrets.d.ts.map +1 -1
- package/dist/types/utils/settings-path.d.ts +0 -6
- package/dist/types/utils/settings-path.d.ts.map +1 -1
- package/dist/types/utils/shell-context.d.ts +0 -7
- package/dist/types/utils/shell-context.d.ts.map +1 -1
- package/dist/types/utils/sleep.d.ts +0 -3
- package/dist/types/utils/sleep.d.ts.map +1 -1
- package/dist/types/utils/stdin.d.ts +0 -1
- package/dist/types/utils/stdin.d.ts.map +1 -1
- package/dist/types/utils/subagent-depth-env.d.ts +0 -6
- package/dist/types/utils/subagent-depth-env.d.ts.map +1 -1
- package/dist/types/utils/subagent-launch-marker.d.ts +0 -1
- package/dist/types/utils/subagent-launch-marker.d.ts.map +1 -1
- package/dist/types/utils/subagent-scope.d.ts +0 -7
- package/dist/types/utils/subagent-scope.d.ts.map +1 -1
- package/dist/types/utils/subagent-stdout-failure.d.ts +0 -6
- package/dist/types/utils/subagent-stdout-failure.d.ts.map +1 -1
- package/dist/types/utils/systemd-workload-scope.d.ts +0 -7
- package/dist/types/utils/systemd-workload-scope.d.ts.map +1 -1
- package/dist/types/utils/task-notifications.d.ts +0 -55
- package/dist/types/utils/task-notifications.d.ts.map +1 -1
- package/dist/types/utils/timing.d.ts +0 -40
- package/dist/types/utils/timing.d.ts.map +1 -1
- package/dist/types/utils/transcript-paths.d.ts +0 -10
- package/dist/types/utils/transcript-paths.d.ts.map +1 -1
- package/dist/types/utils/type-guards.d.ts +0 -5
- package/dist/types/utils/type-guards.d.ts.map +1 -1
- package/dist/types/utils/url.d.ts.map +1 -1
- package/dist/types/utils/variables-store.d.ts.map +1 -1
- package/dist/types/utils/version.d.ts +0 -19
- package/dist/types/utils/version.d.ts.map +1 -1
- package/dist/types/utils/worktree-lock.d.ts +0 -18
- package/dist/types/utils/worktree-lock.d.ts.map +1 -1
- package/dist/types/websocket/listener/background-process-snapshot.d.ts +0 -1
- package/dist/types/websocket/listener/background-process-snapshot.d.ts.map +1 -1
- package/dist/types/websocket/listener/commands/browser-device-mcp-oauth.d.ts +0 -1
- package/dist/types/websocket/listener/commands/browser-device-mcp-oauth.d.ts.map +1 -1
- package/dist/types/websocket/listener/connection.d.ts +0 -7
- package/dist/types/websocket/listener/connection.d.ts.map +1 -1
- package/dist/types/websocket/listener/constants.d.ts +0 -8
- package/dist/types/websocket/listener/constants.d.ts.map +1 -1
- package/dist/types/websocket/listener/conversation-runtime.d.ts +0 -1
- package/dist/types/websocket/listener/conversation-runtime.d.ts.map +1 -1
- package/dist/types/websocket/listener/cwd-change.d.ts +0 -6
- package/dist/types/websocket/listener/cwd-change.d.ts.map +1 -1
- package/dist/types/websocket/listener/cwd.d.ts +0 -14
- package/dist/types/websocket/listener/cwd.d.ts.map +1 -1
- package/dist/types/websocket/listener/device-git-context.d.ts.map +1 -1
- package/dist/types/websocket/listener/device-status-cache.d.ts.map +1 -1
- package/dist/types/websocket/listener/device-toolset-status.d.ts.map +1 -1
- package/dist/types/websocket/listener/durable-file-lock.d.ts +0 -18
- package/dist/types/websocket/listener/durable-file-lock.d.ts.map +1 -1
- package/dist/types/websocket/listener/failed-teleport-cleanup.d.ts.map +1 -1
- package/dist/types/websocket/listener/inbound-queue.d.ts.map +1 -1
- package/dist/types/websocket/listener/input-disposition.d.ts +0 -2
- package/dist/types/websocket/listener/input-disposition.d.ts.map +1 -1
- package/dist/types/websocket/listener/input-terminal-journal.d.ts +0 -15
- package/dist/types/websocket/listener/input-terminal-journal.d.ts.map +1 -1
- package/dist/types/websocket/listener/interrupted-turn-disk-reserve.d.ts +0 -1
- package/dist/types/websocket/listener/interrupted-turn-disk-reserve.d.ts.map +1 -1
- package/dist/types/websocket/listener/interrupted-turn-input-ownership.d.ts +0 -1
- package/dist/types/websocket/listener/interrupted-turn-input-ownership.d.ts.map +1 -1
- package/dist/types/websocket/listener/interrupted-turn-record.d.ts.map +1 -1
- package/dist/types/websocket/listener/interrupted-turn-storage.d.ts.map +1 -1
- package/dist/types/websocket/listener/interrupted-turn-types.d.ts +0 -11
- package/dist/types/websocket/listener/interrupted-turn-types.d.ts.map +1 -1
- package/dist/types/websocket/listener/listener-constants.d.ts +0 -7
- package/dist/types/websocket/listener/listener-constants.d.ts.map +1 -1
- package/dist/types/websocket/listener/org-credentials.d.ts +0 -10
- package/dist/types/websocket/listener/org-credentials.d.ts.map +1 -1
- package/dist/types/websocket/listener/outbound-delivery.d.ts +0 -1
- package/dist/types/websocket/listener/outbound-delivery.d.ts.map +1 -1
- package/dist/types/websocket/listener/outbound-wire.d.ts +0 -56
- package/dist/types/websocket/listener/outbound-wire.d.ts.map +1 -1
- package/dist/types/websocket/listener/permission-mode.d.ts +0 -40
- package/dist/types/websocket/listener/permission-mode.d.ts.map +1 -1
- package/dist/types/websocket/listener/protocol-outbound-routing.d.ts.map +1 -1
- package/dist/types/websocket/listener/protocol-outbound.d.ts.map +1 -1
- package/dist/types/websocket/listener/queue.d.ts.map +1 -1
- package/dist/types/websocket/listener/recovery-lineage-sidecar.d.ts +0 -2
- package/dist/types/websocket/listener/recovery-lineage-sidecar.d.ts.map +1 -1
- package/dist/types/websocket/listener/remote-settings-lock.d.ts +0 -14
- package/dist/types/websocket/listener/remote-settings-lock.d.ts.map +1 -1
- package/dist/types/websocket/listener/remote-settings.d.ts +0 -31
- package/dist/types/websocket/listener/remote-settings.d.ts.map +1 -1
- package/dist/types/websocket/listener/runtime.d.ts +0 -9
- package/dist/types/websocket/listener/runtime.d.ts.map +1 -1
- package/dist/types/websocket/listener/startup-frame-buffer.d.ts +0 -2
- package/dist/types/websocket/listener/startup-frame-buffer.d.ts.map +1 -1
- package/dist/types/websocket/listener/startup-ingress.d.ts +0 -27
- package/dist/types/websocket/listener/startup-ingress.d.ts.map +1 -1
- package/dist/types/websocket/listener/stream-observers.d.ts +0 -12
- package/dist/types/websocket/listener/stream-observers.d.ts.map +1 -1
- package/dist/types/websocket/listener/subagent-state-cache.d.ts +0 -5
- package/dist/types/websocket/listener/subagent-state-cache.d.ts.map +1 -1
- package/dist/types/websocket/listener/transport.d.ts +0 -7
- package/dist/types/websocket/listener/transport.d.ts.map +1 -1
- package/dist/types/websocket/listener/turn-context.d.ts.map +1 -1
- package/dist/types/websocket/listener/turn-finished-replay.d.ts +0 -15
- package/dist/types/websocket/listener/turn-finished-replay.d.ts.map +1 -1
- package/dist/types/websocket/listener/turn-lifecycle.d.ts.map +1 -1
- package/dist/types/websocket/listener/types.d.ts +0 -226
- package/dist/types/websocket/listener/types.d.ts.map +1 -1
- package/dist/types/websocket/listener/worktree-watcher.d.ts +0 -23
- package/dist/types/websocket/listener/worktree-watcher.d.ts.map +1 -1
- package/dist/types/websocket/ws-event-redaction.d.ts +0 -8
- package/dist/types/websocket/ws-event-redaction.d.ts.map +1 -1
- package/image-resize.js.map +4 -4
- package/letta.js +102 -36
- package/npm-shrinkwrap.json +11 -11
- package/package.json +2 -2
- package/scripts/agent-watch/verify-pr-identity.ts +1 -4
- package/scripts/build-pypi.py +0 -5
- package/scripts/builtin-skills-watch/agent-watch.ts +0 -1
- package/scripts/builtin-skills-watch/aggregate-results.ts +0 -1
- package/scripts/builtin-skills-watch/finalize-result.ts +0 -1
- package/scripts/builtin-skills-watch/reconcile-results.ts +0 -1
- package/scripts/builtin-skills-watch/update-tracker.ts +0 -1
- package/scripts/check-bundled-skill-scripts.js +0 -11
- package/scripts/check-exported-functions.js +0 -14
- package/scripts/check-filename-casing.js +0 -10
- package/scripts/check-layer-boundaries.js +0 -21
- package/scripts/check-test-coverage.cjs +0 -24
- package/scripts/claude-watch/docs-snapshot.ts +1 -19
- package/scripts/claude-watch/release-source.ts +0 -6
- package/scripts/claude-watch/runtime-probe.ts +0 -5
- package/scripts/claude-watch/runtime-sandbox.ts +0 -7
- package/scripts/claude-watch/state-branch.ts +0 -20
- package/scripts/claude-watch/tracker.ts +0 -4
- package/scripts/claude-watch/types.ts +0 -2
- package/scripts/codex-watch/agent-watch.ts +0 -6
- package/scripts/codex-watch/diff-models-json.ts +0 -25
- package/scripts/codex-watch/release-analysis.ts +0 -1
- package/scripts/codex-watch/update-tracker.ts +0 -6
- package/scripts/isolated-unit-tests.json +0 -187
- package/scripts/latency-benchmark.ts +0 -38
- package/scripts/postinstall-patches.js +6 -46
- package/scripts/rename-to-kebab.js +1 -8
- package/scripts/run-api-integration-tests.ts +0 -4
- package/scripts/run-unit-tests.cjs +0 -12
- package/scripts/smoke-image-resize-export.mjs +0 -5
- package/scripts/smoke-image-worker.mjs +0 -3
- package/scripts/source-file-size-baseline.json +29 -36
- package/scripts/stage-pypi-deps.mjs +0 -5
- package/scripts/test-home-preload.ts +0 -6
- package/scripts/test-sharding.cjs +0 -3
- package/scripts/unit-test-impact.cjs +0 -10
- package/scripts/unit-test-impact.test.cjs +25 -10
- package/scripts/update-kebab-imports.js +1 -14
- package/skills/creating-skills/scripts/init-skill.ts +0 -19
- package/skills/creating-skills/scripts/package-skill.ts +36 -64
- package/skills/creating-skills/scripts/validate-skill.ts +0 -29
- package/skills/initializing-memory/scripts/history-coverage.mjs +0 -13
- package/skills/initializing-memory/scripts/prepare-history.mjs +0 -14
- package/skills/managing-agent-webhooks/scripts/manage-agent-webhooks.mjs +1 -2
- package/skills/self-configuration/scripts/add_permission.py +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-sources.d.ts","sourceRoot":"","sources":["../../../src/agent/skill-sources.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"skill-sources.d.ts","sourceRoot":"","sources":["../../../src/agent/skill-sources.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAErE,eAAO,MAAM,iBAAiB,EAAE,WAAW,EAK1C,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG,KAAK,CAAC;AAEvD,MAAM,MAAM,yBAAyB,GAAG;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAWF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,WAAW,EAAE,CAKzE;AAOD,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,MAAM,GAAG,WAAW,EAAE,CAgC5E;AAED,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,yBAAyB,GAC/B,WAAW,EAAE,CAcf"}
|
|
@@ -1,63 +1,29 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Skills module - provides skill discovery and management functionality
|
|
3
|
-
*
|
|
4
|
-
* Skills are discovered from four sources (in order of priority):
|
|
5
|
-
* 1. Project skills: .agents/skills/ in current directory, with .skills/ as a legacy fallback (highest priority - overrides)
|
|
6
|
-
* 2. Agent skills: ~/.letta/agents/{agent-id}/memory/skills/ for agent-specific skills
|
|
7
|
-
* 3. Global skills: ~/.letta/skills/ for user's personal skills
|
|
8
|
-
* 4. Bundled skills: embedded in package (lowest priority - defaults)
|
|
9
|
-
*/
|
|
10
1
|
import { type SkillSource } from "./skill-sources";
|
|
11
2
|
export type { SkillSource } from "./skill-sources";
|
|
12
|
-
/**
|
|
13
|
-
* Represents a skill that can be used by the agent
|
|
14
|
-
*/
|
|
15
3
|
export interface Skill {
|
|
16
|
-
/** Unique identifier for the skill */
|
|
17
4
|
id: string;
|
|
18
|
-
/** Human-readable name of the skill */
|
|
19
5
|
name: string;
|
|
20
|
-
/** Description of what the skill does and when to use it */
|
|
21
6
|
description: string;
|
|
22
|
-
/** Optional additional trigger guidance from `when_to_use` frontmatter */
|
|
23
7
|
whenToUse?: string;
|
|
24
|
-
/** Hint shown in slash-command autocomplete */
|
|
25
8
|
argumentHint?: string;
|
|
26
|
-
/** If true, hide from model auto-invocation / Skill tool listings */
|
|
27
9
|
disableModelInvocation?: boolean;
|
|
28
|
-
/** If false, hide from slash-command user invocation */
|
|
29
10
|
userInvocable?: boolean;
|
|
30
|
-
/** Optional category for organizing skills */
|
|
31
11
|
category?: string;
|
|
32
|
-
/** Optional tags for filtering/searching skills */
|
|
33
12
|
tags?: string[];
|
|
34
|
-
/** Path to the skill file (empty for bundled skills) */
|
|
35
13
|
path: string;
|
|
36
|
-
/** Source of the skill */
|
|
37
14
|
source: SkillSource;
|
|
38
|
-
/** Raw content of the skill (for bundled skills) */
|
|
39
15
|
content?: string;
|
|
40
16
|
}
|
|
41
|
-
/**
|
|
42
|
-
* Represents the result of skill discovery
|
|
43
|
-
*/
|
|
44
17
|
export interface SkillDiscoveryResult {
|
|
45
|
-
/** List of discovered skills */
|
|
46
18
|
skills: Skill[];
|
|
47
|
-
/** Any errors encountered during discovery */
|
|
48
19
|
errors: SkillDiscoveryError[];
|
|
49
20
|
}
|
|
50
21
|
export interface SkillDiscoveryOptions {
|
|
51
22
|
skipBundled?: boolean;
|
|
52
23
|
sources?: SkillSource[];
|
|
53
24
|
}
|
|
54
|
-
/**
|
|
55
|
-
* Represents an error that occurred during skill discovery
|
|
56
|
-
*/
|
|
57
25
|
export interface SkillDiscoveryError {
|
|
58
|
-
/** Path where the error occurred */
|
|
59
26
|
path: string;
|
|
60
|
-
/** Error message */
|
|
61
27
|
message: string;
|
|
62
28
|
}
|
|
63
29
|
export declare function compareSkills(a: Skill, b: Skill): number;
|
|
@@ -67,50 +33,11 @@ export declare function getFrontmatterBoolean(frontmatter: Record<string, string
|
|
|
67
33
|
export declare function isModelInvocableSkill(skill: Skill): boolean;
|
|
68
34
|
export declare function isUserInvocableSkill(skill: Skill): boolean;
|
|
69
35
|
export declare function isSkillAvailableForAgent(skill: Skill, agentId?: string): boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Canonical directory where project skills are stored.
|
|
72
|
-
*/
|
|
73
36
|
export declare const PROJECT_SKILLS_DIR: string;
|
|
74
|
-
/**
|
|
75
|
-
* Legacy directory name where project skills were stored.
|
|
76
|
-
*/
|
|
77
37
|
export declare const SKILLS_DIR = ".skills";
|
|
78
|
-
/**
|
|
79
|
-
* Global skills directory for the active product config root.
|
|
80
|
-
*/
|
|
81
38
|
export declare function getGlobalSkillsDir(env?: NodeJS.ProcessEnv): string;
|
|
82
|
-
/**
|
|
83
|
-
* Get the agent-scoped skills directory for a specific agent.
|
|
84
|
-
* Primary path is <product-config>/agents/{id}/memory/skills/ (memfs).
|
|
85
|
-
*/
|
|
86
39
|
export declare function getAgentSkillsDir(agentId: string): string;
|
|
87
|
-
/**
|
|
88
|
-
* Parse a bundled skill from its embedded content
|
|
89
|
-
*/
|
|
90
|
-
/**
|
|
91
|
-
* Get bundled skills by discovering from the bundled skills directory
|
|
92
|
-
*/
|
|
93
40
|
export declare function getBundledSkills(): Promise<Skill[]>;
|
|
94
|
-
/**
|
|
95
|
-
* Discovers skills from all sources (bundled, global, agent, project)
|
|
96
|
-
* Later sources override earlier ones with the same ID.
|
|
97
|
-
*
|
|
98
|
-
* Priority order (highest to lowest):
|
|
99
|
-
* 1. Project skills (the provided project skills path; callers may scan .agents/skills before .skills)
|
|
100
|
-
* 2. Agent skills (~/.letta/agents/{agent-id}/memory/skills/)
|
|
101
|
-
* 3. Global skills (~/.letta/skills/)
|
|
102
|
-
* 4. Bundled skills (embedded in package)
|
|
103
|
-
*
|
|
104
|
-
* @param projectSkillsPath - The project skills directory (default: .skills in current directory)
|
|
105
|
-
* @param agentId - Optional agent ID for agent-scoped skills
|
|
106
|
-
* @returns A result containing discovered skills and any errors
|
|
107
|
-
*/
|
|
108
41
|
export declare function discoverSkills(projectSkillsPath?: string, agentId?: string, options?: SkillDiscoveryOptions): Promise<SkillDiscoveryResult>;
|
|
109
|
-
/**
|
|
110
|
-
* Format discovered skills as a system reminder for injection into conversation.
|
|
111
|
-
* Returns empty string if no skills are available.
|
|
112
|
-
*
|
|
113
|
-
* Format: `- name (source): description` for each skill.
|
|
114
|
-
*/
|
|
115
42
|
export declare function formatSkillsAsSystemReminder(skills: Skill[]): string;
|
|
116
43
|
//# sourceMappingURL=skills.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../src/agent/skills.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../src/agent/skills.ts"],"names":[],"mappings":"AAOA,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAYtE,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,MAAM,EAAE,mBAAmB,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,GAAG,MAAM,CAMxD;AAaD,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,EAC9C,GAAG,EAAE,MAAM,GACV,MAAM,GAAG,SAAS,CAGpB;AAED,wBAAgB,wBAAwB,CACtC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,EAC9C,GAAG,EAAE,MAAM,GACV,MAAM,EAAE,GAAG,SAAS,CAYtB;AAED,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,EAC9C,GAAG,EAAE,MAAM,GACV,OAAO,GAAG,SAAS,CAKrB;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAE3D;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAE1D;AAYD,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,KAAK,EACZ,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAUT;AAED,eAAO,MAAM,kBAAkB,QAA4B,CAAC;AAE5D,eAAO,MAAM,UAAU,YAAY,CAAC;AAEpC,wBAAgB,kBAAkB,CAChC,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,MAAM,CAKR;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEzD;AAED,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC,CAIzD;AA0BD,wBAAsB,cAAc,CAClC,iBAAiB,GAAE,MAAwC,EAC3D,OAAO,CAAC,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,qBAAqB,GAC9B,OAAO,CAAC,oBAAoB,CAAC,CAkD/B;AAsID,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,CAepE"}
|
|
@@ -1,25 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Subagent events kept on the computer that runs a subagent, so a parent on
|
|
3
|
-
* another computer can read each one once (`read_subagent_events`).
|
|
4
|
-
*
|
|
5
|
-
* Only caller-notified launches keep events here. An event over
|
|
6
|
-
* {@link REMOTE_EVENT_MAX_BYTES} is cut, with a `[truncated N bytes]` marker,
|
|
7
|
-
* and the oldest are dropped past {@link REMOTE_EVENT_STORE_MAX_BYTES}.
|
|
8
|
-
*/
|
|
9
1
|
import type { SubagentEventRecord } from "../types/subagent-protocol";
|
|
10
|
-
/** Largest single event sent to a parent on another computer. */
|
|
11
2
|
export declare const REMOTE_EVENT_MAX_BYTES: number;
|
|
12
|
-
/** Most event bytes kept per subagent for a parent to read. */
|
|
13
3
|
export declare const REMOTE_EVENT_STORE_MAX_BYTES: number;
|
|
14
|
-
/** Largest page of one `read_subagent_events` reply. */
|
|
15
4
|
export declare const REMOTE_EVENT_PAGE_BYTES: number;
|
|
16
|
-
/** Cut an event's payload (`output`, `text`, or `input`) to fit `maxBytes`. */
|
|
17
5
|
export declare function capTaskEvent(event: SubagentEventRecord, maxBytes?: number): SubagentEventRecord;
|
|
18
|
-
/** Keep this subagent's events so a parent on another computer can read them. */
|
|
19
6
|
export declare function serveSubagentEvents(subagentId: string): void;
|
|
20
|
-
/** Store an event for remote readers, if this subagent serves them. */
|
|
21
7
|
export declare function storeSubagentEvent(subagentId: string, event: SubagentEventRecord): void;
|
|
22
|
-
/** Events after `afterSeq`, oldest first, up to about `maxBytes` of JSON. */
|
|
23
8
|
export declare function readSubagentEvents(subagentId: string, afterSeq: number, maxBytes?: number): {
|
|
24
9
|
events: SubagentEventRecord[];
|
|
25
10
|
next_seq: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subagent-events.d.ts","sourceRoot":"","sources":["../../../src/agent/subagent-events.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"subagent-events.d.ts","sourceRoot":"","sources":["../../../src/agent/subagent-events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAErE,eAAO,MAAM,sBAAsB,QAAa,CAAC;AACjD,eAAO,MAAM,4BAA4B,QAAmB,CAAC;AAC7D,eAAO,MAAM,uBAAuB,QAAc,CAAC;AAKnD,wBAAgB,YAAY,CAC1B,KAAK,EAAE,mBAAmB,EAC1B,QAAQ,SAAyB,GAChC,mBAAmB,CAgBrB;AAUD,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAG5D;AAED,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,mBAAmB,GACzB,IAAI,CAaN;AAED,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,SAA0B,GAEhC;IACE,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB,GACD,SAAS,CAwBZ;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAE5D"}
|
|
@@ -1,32 +1,15 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Subagent state management for tracking active subagents
|
|
3
|
-
*
|
|
4
|
-
* This module provides a centralized state store that bridges non-React code
|
|
5
|
-
* (manager.ts) with React components (SubagentGroupDisplay.tsx).
|
|
6
|
-
* Uses an event-emitter pattern compatible with React's useSyncExternalStore.
|
|
7
|
-
*/
|
|
8
1
|
export interface ToolCall {
|
|
9
2
|
id: string;
|
|
10
3
|
name: string;
|
|
11
4
|
args: string;
|
|
12
5
|
}
|
|
13
|
-
/**
|
|
14
|
-
* An assistant text block from an external coding worker. Sent to a parent on
|
|
15
|
-
* another computer as `SubagentSnapshot.progress_texts` (latest
|
|
16
|
-
* {@link MAX_PROGRESS_TEXTS}, oldest first); older listeners omit the field.
|
|
17
|
-
*/
|
|
18
6
|
export interface ProgressText {
|
|
19
|
-
/** Stable per subagent, so a parent appends each text to its log once. */
|
|
20
7
|
id: string;
|
|
21
|
-
/** ISO timestamp of when the text was recorded. */
|
|
22
8
|
at: string;
|
|
23
9
|
text: string;
|
|
24
10
|
}
|
|
25
|
-
/** Longest progress text excerpt kept per entry. */
|
|
26
11
|
export declare const PROGRESS_TEXT_CHARS = 300;
|
|
27
|
-
/** Most recent progress texts kept per subagent (and sent in snapshots). */
|
|
28
12
|
export declare const MAX_PROGRESS_TEXTS = 20;
|
|
29
|
-
/** Collapse whitespace and cap a progress excerpt to one short line. */
|
|
30
13
|
export declare function excerptProgressText(value: string, max: number): string;
|
|
31
14
|
export interface SubagentState {
|
|
32
15
|
id: string;
|
|
@@ -37,51 +20,28 @@ export interface SubagentState {
|
|
|
37
20
|
agentId?: string | null;
|
|
38
21
|
agentURL: string | null;
|
|
39
22
|
conversationId?: string | null;
|
|
40
|
-
/** Exact accepted Super Run for a remotely executing child send. */
|
|
41
23
|
superRunId?: string;
|
|
42
24
|
toolCalls: ToolCall[];
|
|
43
|
-
/** Latest assistant text blocks from an external worker, oldest first. */
|
|
44
25
|
progressTexts?: ProgressText[];
|
|
45
|
-
/** Texts recorded so far; numbers progress text IDs so they stay stable. */
|
|
46
26
|
progressTextCount?: number;
|
|
47
|
-
/**
|
|
48
|
-
* Seq of the latest event in the task's event log. Sent in snapshots as
|
|
49
|
-
* `event_seq` so a parent on another computer knows there are events to
|
|
50
|
-
* read with `read_subagent_events`; absent for older listeners.
|
|
51
|
-
*/
|
|
52
27
|
eventSeq?: number;
|
|
53
28
|
maxToolCallsSeen: number;
|
|
54
29
|
totalTokens: number;
|
|
55
30
|
durationMs: number;
|
|
56
31
|
error?: string;
|
|
57
|
-
/** Final report published for a caller-notified launch. */
|
|
58
32
|
result?: string;
|
|
59
|
-
/** The outcome is published to a caller on another computer, which may
|
|
60
|
-
* reconnect later to read it. Set for failures too, which carry no result. */
|
|
61
33
|
published?: boolean;
|
|
62
34
|
model?: string;
|
|
63
35
|
startTime: number;
|
|
64
36
|
toolCallId?: string;
|
|
65
37
|
isBackground?: boolean;
|
|
66
|
-
/** False when the entry is presentation-only and must not retain the parent runtime. */
|
|
67
38
|
claimsParentRuntime?: boolean;
|
|
68
39
|
silent?: boolean;
|
|
69
40
|
parentAgentId?: string;
|
|
70
41
|
parentConversationId?: string;
|
|
71
|
-
/** True while an interrupt's abort-hook cancel is still in flight: the
|
|
72
|
-
* row is a live remote run's only retry handle (its conversationId), so
|
|
73
|
-
* cleanup must not delete it until the hook settles the cancel. */
|
|
74
42
|
cancelPending?: boolean;
|
|
75
|
-
/** A user-requested stop failed and the remote run is still live: the row
|
|
76
|
-
* is the retry handle and idle Esc retries its stop. */
|
|
77
43
|
stopFailed?: boolean;
|
|
78
|
-
/** Monotonic count of stop attempts dispatched through the row's abort
|
|
79
|
-
* hook; incremented by the interrupt marking whenever a hook fires. */
|
|
80
44
|
stopAttempts?: number;
|
|
81
|
-
/** Outcome of the most recently dispatched stop attempt, written only by
|
|
82
|
-
* the abort-hook settle/restore paths (the single writer that knows
|
|
83
|
-
* whether a cancel killed a live run, failed to land, or found the run
|
|
84
|
-
* already settled). */
|
|
85
45
|
stopOutcome?: {
|
|
86
46
|
attempt: number;
|
|
87
47
|
kind: "failed" | "stopped" | "natural";
|
|
@@ -104,37 +64,15 @@ export interface SubagentLifecycleContext {
|
|
|
104
64
|
list(): SubagentLifecycleItem[];
|
|
105
65
|
}
|
|
106
66
|
export declare const DEFAULT_PUBLISHED_RESULT_RETENTION_MS: number;
|
|
107
|
-
/**
|
|
108
|
-
* Generate a unique subagent ID
|
|
109
|
-
*/
|
|
110
67
|
export declare function generateSubagentId(): string;
|
|
111
|
-
/**
|
|
112
|
-
* Get a subagent by its parent Task tool call ID
|
|
113
|
-
*/
|
|
114
68
|
export declare function getSubagentByToolCallId(toolCallId: string): SubagentState | undefined;
|
|
115
|
-
/**
|
|
116
|
-
* Register a new subagent when Task tool starts
|
|
117
|
-
*/
|
|
118
69
|
export declare function registerSubagent(id: string, type: string, description: string, toolCallId?: string, isBackground?: boolean, silent?: boolean, parentScope?: {
|
|
119
70
|
agentId?: string | null;
|
|
120
71
|
conversationId?: string | null;
|
|
121
72
|
}, prompt?: string, claimsParentRuntime?: boolean): void;
|
|
122
|
-
/**
|
|
123
|
-
* Update a subagent's state
|
|
124
|
-
*/
|
|
125
73
|
export declare function updateSubagent(id: string, updates: Partial<Omit<SubagentState, "id">>): void;
|
|
126
|
-
/**
|
|
127
|
-
* Add a tool call to a subagent
|
|
128
|
-
*/
|
|
129
74
|
export declare function addToolCall(subagentId: string, toolCallId: string, toolName: string, toolArgs: string): void;
|
|
130
|
-
/**
|
|
131
|
-
* Record an assistant text block from an external worker, keeping the latest
|
|
132
|
-
* {@link MAX_PROGRESS_TEXTS}. Skips blanks and a repeat of the previous text.
|
|
133
|
-
*/
|
|
134
75
|
export declare function addProgressText(subagentId: string, text: string, now?: () => Date): void;
|
|
135
|
-
/**
|
|
136
|
-
* Mark a subagent as completed
|
|
137
|
-
*/
|
|
138
76
|
export declare function completeSubagent(id: string, result: {
|
|
139
77
|
success: boolean;
|
|
140
78
|
error?: string;
|
|
@@ -146,97 +84,38 @@ export declare function __setCompletedSubagentRetentionMsForTests(ms: number): v
|
|
|
146
84
|
export declare function __resetCompletedSubagentRetentionMsForTests(): void;
|
|
147
85
|
export declare function __setPublishedResultRetentionMsForTests(ms: number): void;
|
|
148
86
|
export declare function getSubagentToolCount(agent: Pick<SubagentState, "toolCalls" | "maxToolCallsSeen">): number;
|
|
149
|
-
/**
|
|
150
|
-
* Toggle expanded/collapsed state
|
|
151
|
-
*/
|
|
152
87
|
export declare function toggleExpanded(): void;
|
|
153
|
-
/**
|
|
154
|
-
* Get current expanded state
|
|
155
|
-
*/
|
|
156
88
|
export declare function isExpanded(): boolean;
|
|
157
|
-
/**
|
|
158
|
-
* Get all active subagents (not yet cleared)
|
|
159
|
-
*/
|
|
160
89
|
export declare function getSubagents(): SubagentState[];
|
|
161
|
-
/**
|
|
162
|
-
* Get silent background agents that are still pending or running
|
|
163
|
-
*/
|
|
164
90
|
export declare function getActiveBackgroundAgents(): SubagentState[];
|
|
165
91
|
export declare function getSubagentLifecycleItems(): SubagentLifecycleItem[];
|
|
166
92
|
export declare function getSubagentLifecycleSnapshot(): SubagentLifecycleItem[];
|
|
167
93
|
export declare function getSubagentLifecycleContext(): SubagentLifecycleContext;
|
|
168
94
|
export declare function subscribeToSubagentLifecycle(listener: () => void): () => void;
|
|
169
|
-
/**
|
|
170
|
-
* Get subagents grouped by type
|
|
171
|
-
*/
|
|
172
95
|
export declare function getGroupedSubagents(): Map<string, SubagentState[]>;
|
|
173
|
-
/**
|
|
174
|
-
* Clear all completed subagents (call on new user message)
|
|
175
|
-
*/
|
|
176
96
|
export declare function clearCompletedSubagents(): void;
|
|
177
|
-
/**
|
|
178
|
-
* Clear specific subagents by their IDs (call when committing to staticItems)
|
|
179
|
-
*/
|
|
180
97
|
export declare function clearSubagentsByIds(ids: string[]): void;
|
|
181
|
-
/**
|
|
182
|
-
* Clear all subagents
|
|
183
|
-
*/
|
|
184
98
|
export declare function clearAllSubagents(): void;
|
|
185
|
-
/**
|
|
186
|
-
* Check if there are any active subagents
|
|
187
|
-
*/
|
|
188
99
|
export declare function hasActiveSubagents(): boolean;
|
|
189
|
-
/**
|
|
190
|
-
* Register a callback that aborts a still-running background subagent task.
|
|
191
|
-
* Task spawn sites register the task's AbortController trigger so a user
|
|
192
|
-
* interrupt stops the subagent process, not just its UI status.
|
|
193
|
-
*/
|
|
194
100
|
export declare function registerSubagentAbortHook(id: string, hook: () => void): void;
|
|
195
|
-
/** Remove a subagent's abort hook once its task has settled. */
|
|
196
101
|
export declare function clearSubagentAbortHook(id: string): void;
|
|
197
|
-
/**
|
|
198
|
-
* Mark all running/pending subagents as interrupted
|
|
199
|
-
* Called when user presses ESC to interrupt execution
|
|
200
|
-
*
|
|
201
|
-
* Scope: when `scope` is provided, only subagents belonging to that
|
|
202
|
-
* agent/conversation are interrupted — concurrent conversations of the same
|
|
203
|
-
* agent (or other agents in the listener) keep running. Subagents with no
|
|
204
|
-
* recorded parent conversation stay interruptible by agent alone.
|
|
205
|
-
*/
|
|
206
102
|
export declare function interruptActiveSubagents(errorMessage: string, scope?: {
|
|
207
103
|
agentId?: string;
|
|
208
104
|
conversationId?: string;
|
|
209
105
|
}): void;
|
|
210
|
-
/**
|
|
211
|
-
* Retry the stop of subagents whose previous user-requested stop failed
|
|
212
|
-
* (stopFailed rows still pending/running in scope). Unlike
|
|
213
|
-
* interruptActiveSubagents this leaves healthy same-scope background tasks
|
|
214
|
-
* alone: an Esc retrying one task's stop must not abort its siblings.
|
|
215
|
-
* Returns the ids of the rows whose stop was re-dispatched.
|
|
216
|
-
*/
|
|
217
106
|
export declare function interruptStopFailedSubagents(errorMessage: string, scope?: {
|
|
218
107
|
agentId?: string;
|
|
219
108
|
conversationId?: string;
|
|
220
109
|
}): string[];
|
|
221
|
-
/** True when a live subagent row's user-requested stop failed and the remote
|
|
222
|
-
* run is still going — the state where a later Esc must retry the stop. */
|
|
223
110
|
export declare function hasStopFailedSubagents(scope?: {
|
|
224
111
|
agentId?: string;
|
|
225
112
|
conversationId?: string;
|
|
226
113
|
}): boolean;
|
|
227
|
-
/**
|
|
228
|
-
* Subscribe to store changes
|
|
229
|
-
*/
|
|
230
114
|
export declare function subscribe(listener: () => void): () => void;
|
|
231
|
-
/**
|
|
232
|
-
* Get a snapshot of the current state for React
|
|
233
|
-
* Returns cached snapshot - only updates when notifyListeners is called
|
|
234
|
-
*/
|
|
235
115
|
export declare function getSnapshot(): {
|
|
236
116
|
agents: SubagentState[];
|
|
237
117
|
expanded: boolean;
|
|
238
118
|
};
|
|
239
|
-
/** Worker output or a harness notification after its memory push completes. */
|
|
240
119
|
export type SubagentStreamEvent = {
|
|
241
120
|
type: "message";
|
|
242
121
|
message_type: string;
|
|
@@ -246,19 +125,7 @@ export type SubagentStreamEvent = {
|
|
|
246
125
|
affected_paths: string[];
|
|
247
126
|
timestamp: number;
|
|
248
127
|
};
|
|
249
|
-
/**
|
|
250
|
-
* Callback for forwarding raw subagent stream events to the WS layer.
|
|
251
|
-
* Events include streamed output and harness-owned memory push notifications.
|
|
252
|
-
*/
|
|
253
128
|
export type SubagentStreamEventListener = (subagentId: string, event: SubagentStreamEvent) => void;
|
|
254
|
-
/**
|
|
255
|
-
* Subscribe to raw subagent stream events (for WS forwarding).
|
|
256
|
-
* Returns an unsubscribe function.
|
|
257
|
-
*/
|
|
258
129
|
export declare function subscribeToStreamEvents(listener: SubagentStreamEventListener): () => void;
|
|
259
|
-
/**
|
|
260
|
-
* Emit a raw stream event from a subagent. Called from processStreamEvent
|
|
261
|
-
* in manager.ts for message-type events that should be forwarded to the web UI.
|
|
262
|
-
*/
|
|
263
130
|
export declare function emitStreamEvent(subagentId: string, event: SubagentStreamEvent): void;
|
|
264
131
|
//# sourceMappingURL=subagent-state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subagent-state.d.ts","sourceRoot":"","sources":["../../../src/agent/subagent-state.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"subagent-state.d.ts","sourceRoot":"","sources":["../../../src/agent/subagent-state.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
/** Wait for a background subagent to publish a linkable agent or conversation. */
|
|
2
1
|
export declare function waitForBackgroundSubagentLink(subagentId: string, timeoutMs?: number | null, signal?: AbortSignal): Promise<void>;
|
|
3
|
-
/** Wait for a background subagent to publish its agent identity. */
|
|
4
2
|
export declare function waitForBackgroundSubagentAgentId(subagentId: string, timeoutMs?: number | null, signal?: AbortSignal): Promise<string | null>;
|
|
5
|
-
/** Wait for a background subagent to publish its conversation identity. */
|
|
6
3
|
export declare function waitForBackgroundSubagentConversationId(subagentId: string, timeoutMs?: number | null, signal?: AbortSignal): Promise<string | null>;
|
|
7
4
|
//# sourceMappingURL=background-link.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background-link.d.ts","sourceRoot":"","sources":["../../../../src/agent/subagents/background-link.ts"],"names":[],"mappings":"AAaA,
|
|
1
|
+
{"version":3,"file":"background-link.d.ts","sourceRoot":"","sources":["../../../../src/agent/subagents/background-link.ts"],"names":[],"mappings":"AAaA,wBAAsB,6BAA6B,CACjD,UAAU,EAAE,MAAM,EAClB,SAAS,GAAE,MAAM,GAAG,IAAW,EAC/B,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,IAAI,CAAC,CAkBf;AAED,wBAAsB,gCAAgC,CACpD,UAAU,EAAE,MAAM,EAClB,SAAS,GAAE,MAAM,GAAG,IAAW,EAC/B,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAkBxB;AAED,wBAAsB,uCAAuC,CAC3D,UAAU,EAAE,MAAM,EAClB,SAAS,GAAE,MAAM,GAAG,IAAW,EAC/B,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAkBxB"}
|
|
@@ -2,14 +2,8 @@ import { type Backend } from "../../backend";
|
|
|
2
2
|
import type { EnqueueReceipt } from "../../backend/api/conversation-enqueue";
|
|
3
3
|
export interface ChildSubagentIdentity {
|
|
4
4
|
name: string;
|
|
5
|
-
/** The `type:<subagent_type>` tag written at spawn, when present. */
|
|
6
5
|
type: string;
|
|
7
6
|
}
|
|
8
|
-
/**
|
|
9
|
-
* Resolves `agentId` as a subagent spawned by `parentAgentId`, or null. Spawned
|
|
10
|
-
* subagents carry a `parent:<id>` tag (see manager.ts); peers messaged over
|
|
11
|
-
* A2A carry no such tag and never enter the parent's subagent state.
|
|
12
|
-
*/
|
|
13
7
|
export declare function resolveChildSubagent(backend: Pick<Backend, "retrieveAgent">, agentId: string, parentAgentId: string): Promise<ChildSubagentIdentity | null>;
|
|
14
8
|
export interface TrackChildSendInput {
|
|
15
9
|
receipt: EnqueueReceipt;
|
|
@@ -20,16 +14,7 @@ export interface TrackChildSendInput {
|
|
|
20
14
|
conversationId: string;
|
|
21
15
|
};
|
|
22
16
|
signal?: AbortSignal;
|
|
23
|
-
/** Test seam; follows the Cloud Super Run feed by default. */
|
|
24
17
|
waitForRun?: (receipt: EnqueueReceipt, signal: AbortSignal) => Promise<unknown>;
|
|
25
18
|
}
|
|
26
|
-
/**
|
|
27
|
-
* A `SendAgentMessage` to a child subagent is fire-and-forget for the model,
|
|
28
|
-
* but the child is still doing this parent's work. Register it in the parent's
|
|
29
|
-
* subagent state (feeding the TUI group, the listener snapshot, and Cloud's
|
|
30
|
-
* `active_subagent_count`) and follow the enqueue receipt until that specific
|
|
31
|
-
* Super Run settles. Tracking is bound to the receipt, so a later direct chat
|
|
32
|
-
* with the child never keeps the parent's indicator lit.
|
|
33
|
-
*/
|
|
34
19
|
export declare function trackChildSend(input: TrackChildSendInput): string;
|
|
35
20
|
//# sourceMappingURL=child-send-tracking.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"child-send-tracking.d.ts","sourceRoot":"","sources":["../../../../src/agent/subagents/child-send-tracking.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,OAAO,EAAc,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAczE,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,
|
|
1
|
+
{"version":3,"file":"child-send-tracking.d.ts","sourceRoot":"","sources":["../../../../src/agent/subagents/child-send-tracking.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,OAAO,EAAc,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAczE,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAYD,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,eAAe,CAAC,EACvC,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,qBAAqB,GAAG,IAAI,CAAC,CAavC;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,cAAc,CAAC;IACxB,KAAK,EAAE,qBAAqB,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,MAAM,CAAA;KAAE,CAAC;IACzD,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,UAAU,CAAC,EAAE,CACX,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,WAAW,KAChB,OAAO,CAAC,OAAO,CAAC,CAAC;CACvB;AAkBD,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,MAAM,CAqCjE"}
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Conservative startup-context budgeting for subagents.
|
|
3
|
-
*
|
|
4
|
-
* We intentionally avoid tokenizer dependencies here. The estimate is used only
|
|
5
|
-
* as a safety guard before sending prompts to the API; using 4 chars/token is
|
|
6
|
-
* conservative enough for English/Markdown prompts while keeping the codepath
|
|
7
|
-
* synchronous and dependency-free.
|
|
8
|
-
*/
|
|
9
1
|
import type { SubagentConfig } from ".";
|
|
10
2
|
export declare const STARTUP_CONTEXT_ESTIMATED_CHARS_PER_TOKEN = 4;
|
|
11
3
|
export declare const REFLECTION_STARTUP_CONTEXT_TOKEN_LIMIT = 16000;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-budget.d.ts","sourceRoot":"","sources":["../../../../src/agent/subagents/context-budget.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"context-budget.d.ts","sourceRoot":"","sources":["../../../../src/agent/subagents/context-budget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAC;AAExC,eAAO,MAAM,yCAAyC,IAAI,CAAC;AAC3D,eAAO,MAAM,sCAAsC,QAAS,CAAC;AAC7D,eAAO,MAAM,qCAAqC,QAEP,CAAC;AAE5C,eAAO,MAAM,4CAA4C,QAAS,CAAC;AAEnE,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEjE;AAqCD,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,cAAc,EACtB,UAAU,EAAE,MAAM,GACjB,MAAM,CA4BR"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import type { BackendMode } from "../../backend";
|
|
2
|
-
/** Set to "0" or "false" to fall back to creating a hidden agent per call. */
|
|
3
2
|
export declare const EPHEMERAL_SUBAGENTS_ENV = "LETTA_CODE_EPHEMERAL_SUBAGENTS";
|
|
4
|
-
/**
|
|
5
|
-
* Parent side: whether a launch should use `--ephemeral` in place of
|
|
6
|
-
* `--new-agent`. Deploying an agent or conversation (`agent_id`,
|
|
7
|
-
* `conversation_id`, `fork_context`) keeps its existing path, as do the local
|
|
8
|
-
* backend and computer-routed launches (remote turns need a real agent).
|
|
9
|
-
*/
|
|
10
3
|
export declare function shouldRunSubagentEphemerally(params: {
|
|
11
4
|
backendMode?: BackendMode;
|
|
12
5
|
existingAgentId?: string;
|
|
@@ -19,38 +12,14 @@ export interface EphemeralSubagentLink {
|
|
|
19
12
|
is_subagent: true;
|
|
20
13
|
name: string;
|
|
21
14
|
}
|
|
22
|
-
/**
|
|
23
|
-
* Child side: how the ephemeral conversation links to its parent. Cloud
|
|
24
|
-
* records `parent_agent_id` (authorized against the caller's organization)
|
|
25
|
-
* and derives the parent conversation from the sandbox key's binding, so
|
|
26
|
-
* user-scoped private resources resolve through the same conversation chain
|
|
27
|
-
* as the parent's turn.
|
|
28
|
-
*/
|
|
29
15
|
export declare function resolveEphemeralSubagentLink(env?: NodeJS.ProcessEnv): EphemeralSubagentLink | null;
|
|
30
|
-
/**
|
|
31
|
-
* The agent ID a detached subagent session exports as `AGENT_ID` /
|
|
32
|
-
* `LETTA_AGENT_ID` to its tools: the parent agent, since the session's own ID
|
|
33
|
-
* is a conversation ID. Undefined for any other session.
|
|
34
|
-
*/
|
|
35
16
|
export declare function resolveDetachedSubagentEnvAgentId(sessionId: string, env?: NodeJS.ProcessEnv): string | undefined;
|
|
36
|
-
/**
|
|
37
|
-
* The real agent behind an agent ID taken from this session's context. A
|
|
38
|
-
* detached subagent's own ID is its conversation ID, so anything that hands
|
|
39
|
-
* an agent identity to a child or the API (nested subagent launches, external
|
|
40
|
-
* coding agents) uses the parent agent instead, matching `AGENT_ID`.
|
|
41
|
-
*/
|
|
42
17
|
export declare function resolveEffectiveAgentId(agentId: string, env?: NodeJS.ProcessEnv): string;
|
|
43
18
|
export declare function resolveEffectiveAgentId(agentId: string | undefined, env?: NodeJS.ProcessEnv): string | undefined;
|
|
44
|
-
/** `getCurrentAgentId()`, resolved to the real agent for detached subagents. */
|
|
45
19
|
export declare function getEffectiveAgentId(env?: NodeJS.ProcessEnv): string;
|
|
46
20
|
interface DetachedConversationLookup {
|
|
47
21
|
retrieveConversation(conversationId: string): Promise<object>;
|
|
48
22
|
}
|
|
49
|
-
/**
|
|
50
|
-
* The parent agent of a detached subagent conversation, or undefined when the
|
|
51
|
-
* conversation has its own agent or was not created as a subagent. Mirrors
|
|
52
|
-
* the `role:subagent` tag requirement for agent-backed subagents.
|
|
53
|
-
*/
|
|
54
23
|
export declare function lookupDetachedConversationParent(conversationId: string, backend: DetachedConversationLookup): Promise<string | undefined>;
|
|
55
24
|
export {};
|
|
56
25
|
//# sourceMappingURL=ephemeral-subagent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ephemeral-subagent.d.ts","sourceRoot":"","sources":["../../../../src/agent/subagents/ephemeral-subagent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ephemeral-subagent.d.ts","sourceRoot":"","sources":["../../../../src/agent/subagents/ephemeral-subagent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAI7C,eAAO,MAAM,uBAAuB,mCAAmC,CAAC;AAExE,wBAAgB,4BAA4B,CAAC,MAAM,EAAE;IACnD,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;CACzB,GAAG,OAAO,CAYV;AAED,MAAM,WAAW,qBAAqB;IACpC,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,4BAA4B,CAC1C,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,qBAAqB,GAAG,IAAI,CAa9B;AAED,wBAAgB,iCAAiC,CAC/C,SAAS,EAAE,MAAM,EACjB,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,MAAM,GAAG,SAAS,CAIpB;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,EACf,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,GACtB,MAAM,CAAC;AACV,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,GACtB,MAAM,GAAG,SAAS,CAAC;AAStB,wBAAgB,mBAAmB,CACjC,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,MAAM,CAER;AAED,UAAU,0BAA0B;IAClC,oBAAoB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CAC/D;AAED,wBAAsB,gCAAgC,CACpD,cAAc,EAAE,MAAM,EACtB,OAAO,EAAE,0BAA0B,GAClC,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAU7B"}
|
|
@@ -15,7 +15,6 @@ interface ForkParentConversationDependencies {
|
|
|
15
15
|
updateConversationModel?: (conversationId: string, modelHandle: string, updateArgs?: Record<string, unknown>) => Promise<unknown>;
|
|
16
16
|
inheritToolset?: typeof inheritForkToolset;
|
|
17
17
|
}
|
|
18
|
-
/** Fork the parent conversation, then apply fork-only runtime configuration. */
|
|
19
18
|
export declare function forkParentConversation(params: ForkParentConversationParams, dependencies?: ForkParentConversationDependencies): Promise<{
|
|
20
19
|
id: string;
|
|
21
20
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fork-conversation.d.ts","sourceRoot":"","sources":["../../../../src/agent/subagents/fork-conversation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAC;AACxC,OAAO,EACL,KAAK,iBAAiB,EAGvB,MAAM,kBAAkB,CAAC;AAE1B,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,EACf,oBAAoB,EAAE,MAAM,EAC5B,kBAAkB,EAAE,MAAM,GACzB,OAAO,CAAC,IAAI,CAAC,CAaf;AAED,UAAU,4BAA4B;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,UAAU,kCAAkC;IAC1C,oBAAoB,CAAC,EAAE,MAAM,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IAC/D,uBAAuB,CAAC,EAAE,CACxB,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,MAAM,EACnB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KACjC,OAAO,CAAC,OAAO,CAAC,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,kBAAkB,CAAC;CAC5C;AAED,
|
|
1
|
+
{"version":3,"file":"fork-conversation.d.ts","sourceRoot":"","sources":["../../../../src/agent/subagents/fork-conversation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAC;AACxC,OAAO,EACL,KAAK,iBAAiB,EAGvB,MAAM,kBAAkB,CAAC;AAE1B,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,EACf,oBAAoB,EAAE,MAAM,EAC5B,kBAAkB,EAAE,MAAM,GACzB,OAAO,CAAC,IAAI,CAAC,CAaf;AAED,UAAU,4BAA4B;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,UAAU,kCAAkC;IAC1C,oBAAoB,CAAC,EAAE,MAAM,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IAC/D,uBAAuB,CAAC,EAAE,CACxB,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,MAAM,EACnB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KACjC,OAAO,CAAC,OAAO,CAAC,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,kBAAkB,CAAC;CAC5C;AAED,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE,4BAA4B,EACpC,YAAY,GAAE,kCAAuC;;GAoDtD"}
|