@tencent-ai/agent-harness 0.2.0-beta.6 → 0.2.0-beta.8
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/CHANGELOG.md +42 -0
- package/cli/CHANGELOG.md +123 -0
- package/cli/dist-server/lite/in-memory-session-store.js +1 -1
- package/cli/dist-server/shared.cjs +338 -291
- package/cli/dist-server/types/node/a2a/a2a-protocol.d.ts +516 -0
- package/cli/dist-server/types/node/agent/agent-completion-waiter.d.ts +28 -0
- package/cli/dist-server/types/node/agent/agent-controller.d.ts +147 -0
- package/cli/dist-server/types/node/agent/agent-display.d.ts +77 -0
- package/cli/dist-server/types/node/agent/agent-manager.d.ts +964 -0
- package/cli/dist-server/types/node/agent/agent-memory.d.ts +72 -0
- package/cli/dist-server/types/node/agent/agent-runtime-adapter.d.ts +71 -0
- package/cli/dist-server/types/node/agent/builtin-agent-modes.d.ts +47 -0
- package/cli/dist-server/types/node/agent/custom-agent-identity.d.ts +54 -0
- package/cli/dist-server/types/node/agent/custom-agent-manager.d.ts +43 -0
- package/cli/dist-server/types/node/agent/custom-agent-path-registry.d.ts +19 -0
- package/cli/dist-server/types/node/agent/exit-planmode-visibility.d.ts +64 -0
- package/cli/dist-server/types/node/agent/index.d.ts +22 -0
- package/cli/dist-server/types/node/agent/insights-data-agent-run-interceptor.d.ts +67 -0
- package/cli/dist-server/types/node/agent/interceptors/command-interceptors.d.ts +89 -0
- package/cli/dist-server/types/node/agent/interceptors/deep-research-pending-interceptor.d.ts +30 -0
- package/cli/dist-server/types/node/agent/interceptors/env-interceptor.d.ts +7 -0
- package/cli/dist-server/types/node/agent/interceptors/file-interceptors.d.ts +45 -0
- package/cli/dist-server/types/node/agent/interceptors/image-interceptors.d.ts +47 -0
- package/cli/dist-server/types/node/agent/interceptors/index.d.ts +16 -0
- package/cli/dist-server/types/node/agent/interceptors/initial-prompt-interceptor.d.ts +29 -0
- package/cli/dist-server/types/node/agent/interceptors/manual-compact-request-handler.d.ts +29 -0
- package/cli/dist-server/types/node/agent/interceptors/model-interceptors.d.ts +43 -0
- package/cli/dist-server/types/node/agent/interceptors/sandbox-interceptor.d.ts +84 -0
- package/cli/dist-server/types/node/agent/interceptors/sensitive-user-input-interceptor.d.ts +7 -0
- package/cli/dist-server/types/node/agent/interceptors/system-reminder-interceptor.d.ts +101 -0
- package/cli/dist-server/types/node/agent/interceptors/team-resume-intent-interceptor.d.ts +31 -0
- package/cli/dist-server/types/node/agent/interceptors/telemetry-interceptors.d.ts +43 -0
- package/cli/dist-server/types/node/agent/interceptors/ultracode-effort-reminder-interceptor.d.ts +21 -0
- package/cli/dist-server/types/node/agent/interceptors/ultracode-keyword-interceptor.d.ts +34 -0
- package/cli/dist-server/types/node/agent/main-agent-policy.d.ts +33 -0
- package/cli/dist-server/types/node/agent/main-agent-preset.d.ts +32 -0
- package/cli/dist-server/types/node/agent/main-agent-resolver.d.ts +156 -0
- package/cli/dist-server/types/node/agent/main-agent-session.d.ts +212 -0
- package/cli/dist-server/types/node/agent/memory-context-interceptor.d.ts +84 -0
- package/cli/dist-server/types/node/agent/standing-main-agent.d.ts +12 -0
- package/cli/dist-server/types/node/agent/stream-json-init-interceptor.d.ts +9 -0
- package/cli/dist-server/types/node/agent/subagent-limits.d.ts +90 -0
- package/cli/dist-server/types/node/agent/team-context-interceptor.d.ts +42 -0
- package/cli/dist-server/types/node/agent/teammate-failure-interceptor.d.ts +67 -0
- package/cli/dist-server/types/node/agent-home/agent-home-attachments.d.ts +83 -0
- package/cli/dist-server/types/node/agent-home/agent-home-channel-system-event.d.ts +15 -0
- package/cli/dist-server/types/node/agent-home/agent-home-channel-task-event.d.ts +24 -0
- package/cli/dist-server/types/node/agent-home/agent-home-channel-wake.d.ts +115 -0
- package/cli/dist-server/types/node/agent-home/agent-home-channel-widget.d.ts +45 -0
- package/cli/dist-server/types/node/agent-home/agent-home-directory.d.ts +304 -0
- package/cli/dist-server/types/node/agent-home/agent-home-limits.d.ts +73 -0
- package/cli/dist-server/types/node/agent-home/agent-home-membership.d.ts +34 -0
- package/cli/dist-server/types/node/agent-home/agent-home-mentions.d.ts +39 -0
- package/cli/dist-server/types/node/agent-home/agent-home-room-contacts.d.ts +51 -0
- package/cli/dist-server/types/node/agent-home/channel-wake-service.d.ts +69 -0
- package/cli/dist-server/types/node/agent-task/agent-task-manager.d.ts +242 -0
- package/cli/dist-server/types/node/agent-task/agent-task-output-manager.d.ts +55 -0
- package/cli/dist-server/types/node/agent-task/agent-task-protocol.d.ts +687 -0
- package/cli/dist-server/types/node/agent-task/agent-task.d.ts +405 -0
- package/cli/dist-server/types/node/agent-task/background-task-notifier.d.ts +212 -0
- package/cli/dist-server/types/node/agent-task/background-task-tool-approval-service.d.ts +36 -0
- package/cli/dist-server/types/node/agent-task/index.d.ts +9 -0
- package/cli/dist-server/types/node/agent-task/retained-agent-task.d.ts +11 -0
- package/cli/dist-server/types/node/agent-task/stream-json-drain-trigger.d.ts +23 -0
- package/cli/dist-server/types/node/agent-task/subagent-output-scanner.d.ts +53 -0
- package/cli/dist-server/types/node/agent-team/backends/teammate-backend-protocol.d.ts +119 -0
- package/cli/dist-server/types/node/agent-team/team-member.d.ts +391 -0
- package/cli/dist-server/types/node/agent-team/team-protocol.d.ts +375 -0
- package/cli/dist-server/types/node/agent-view/agent-view-actions.d.ts +209 -0
- package/cli/dist-server/types/node/agent-view/agent-view-protocol.d.ts +714 -0
- package/cli/dist-server/types/node/agent-view/handoff-policy.d.ts +80 -0
- package/cli/dist-server/types/node/agent-view/launch-workspace.d.ts +9 -0
- package/cli/dist-server/types/node/agent-view/session-handoff.d.ts +161 -0
- package/cli/dist-server/types/node/ask/ask-protoctol.d.ts +102 -0
- package/cli/dist-server/types/node/ask/ask-service.d.ts +62 -0
- package/cli/dist-server/types/node/ask/index.d.ts +3 -0
- package/cli/dist-server/types/node/ask/session-ask-user-question-handler.d.ts +25 -0
- package/cli/dist-server/types/node/authentication/api-key-authentication-storage.d.ts +17 -0
- package/cli/dist-server/types/node/authentication/custom-token-authentication-storage.d.ts +10 -0
- package/cli/dist-server/types/node/authentication/file-authentication-storage.d.ts +71 -0
- package/cli/dist-server/types/node/bash-sandbox/bash-sandbox-manager.d.ts +125 -0
- package/cli/dist-server/types/node/bash-sandbox/index.d.ts +4 -0
- package/cli/dist-server/types/node/bash-sandbox/legacy-sandbox-shell-protocol.d.ts +33 -0
- package/cli/dist-server/types/node/bash-sandbox/legacy-sandbox-shell-service.d.ts +33 -0
- package/cli/dist-server/types/node/blob-store/blob-store-protocol.d.ts +104 -0
- package/cli/dist-server/types/node/blob-store/blob-store-service.d.ts +22 -0
- package/cli/dist-server/types/node/blob-store/image-blob-service.d.ts +121 -0
- package/cli/dist-server/types/node/blob-store/index.d.ts +4 -0
- package/cli/dist-server/types/node/blob-store/tool-result-blob-service.d.ts +109 -0
- package/cli/dist-server/types/node/channel/channel-event-service.d.ts +18 -0
- package/cli/dist-server/types/node/channel/channel-manager.d.ts +41 -0
- package/cli/dist-server/types/node/channel/channel-permission-adapter.d.ts +27 -0
- package/cli/dist-server/types/node/channel/channel-protocol.d.ts +192 -0
- package/cli/dist-server/types/node/channel/channel-security-manager.d.ts +12 -0
- package/cli/dist-server/types/node/channel/index.d.ts +5 -0
- package/cli/dist-server/types/node/cli/tui-mode-service.d.ts +20 -0
- package/cli/dist-server/types/node/code-ratio/cli-git-commit-watcher.d.ts +142 -0
- package/cli/dist-server/types/node/code-ratio/cli-svn-commit-watcher.d.ts +111 -0
- package/cli/dist-server/types/node/code-ratio/code-ratio-reporting-service.d.ts +90 -0
- package/cli/dist-server/types/node/code-ratio/fs-file-reader.d.ts +26 -0
- package/cli/dist-server/types/node/code-ratio/index.d.ts +5 -0
- package/cli/dist-server/types/node/code-ratio/vcs-repo-resolver.d.ts +51 -0
- package/cli/dist-server/types/node/command/add-dir-command-executor.d.ts +11 -0
- package/cli/dist-server/types/node/command/agent-mode-command-executor.d.ts +11 -0
- package/cli/dist-server/types/node/command/agents-command-executor.d.ts +9 -0
- package/cli/dist-server/types/node/command/auto-compact-command-executor.d.ts +20 -0
- package/cli/dist-server/types/node/command/background-command-executor.d.ts +29 -0
- package/cli/dist-server/types/node/command/bash-command-executor.d.ts +62 -0
- package/cli/dist-server/types/node/command/btw-command-executor.d.ts +13 -0
- package/cli/dist-server/types/node/command/clear-command-executor.d.ts +17 -0
- package/cli/dist-server/types/node/command/command-manager.d.ts +54 -0
- package/cli/dist-server/types/node/command/command-protocol.d.ts +106 -0
- package/cli/dist-server/types/node/command/config-command-executor.d.ts +15 -0
- package/cli/dist-server/types/node/command/context-command-executor.d.ts +42 -0
- package/cli/dist-server/types/node/command/copy-command-executor.d.ts +10 -0
- package/cli/dist-server/types/node/command/cost-command-executor.d.ts +13 -0
- package/cli/dist-server/types/node/command/custom-command-renderer.d.ts +29 -0
- package/cli/dist-server/types/node/command/debug-command-executor.d.ts +15 -0
- package/cli/dist-server/types/node/command/deep-research-command-executor.d.ts +27 -0
- package/cli/dist-server/types/node/command/doctor-command-executor.d.ts +7 -0
- package/cli/dist-server/types/node/command/effort-command-executor.d.ts +68 -0
- package/cli/dist-server/types/node/command/exit-command-executor.d.ts +14 -0
- package/cli/dist-server/types/node/command/export-command-executor.d.ts +7 -0
- package/cli/dist-server/types/node/command/feedback-command-executor.d.ts +9 -0
- package/cli/dist-server/types/node/command/fork-bg-command-executor.d.ts +29 -0
- package/cli/dist-server/types/node/command/fork-command-executor.d.ts +28 -0
- package/cli/dist-server/types/node/command/goal-command-executor.d.ts +50 -0
- package/cli/dist-server/types/node/command/handoff-message-adapter.d.ts +9 -0
- package/cli/dist-server/types/node/command/help-command-executor.d.ts +9 -0
- package/cli/dist-server/types/node/command/hooks-command-executor.d.ts +9 -0
- package/cli/dist-server/types/node/command/ide-command-executor.d.ts +11 -0
- package/cli/dist-server/types/node/command/index.d.ts +66 -0
- package/cli/dist-server/types/node/command/local-shell.d.ts +31 -0
- package/cli/dist-server/types/node/command/mcp-command-executor.d.ts +15 -0
- package/cli/dist-server/types/node/command/mcp-prompt-renderer.d.ts +44 -0
- package/cli/dist-server/types/node/command/memory-command-executor.d.ts +17 -0
- package/cli/dist-server/types/node/command/model-command-executor.d.ts +11 -0
- package/cli/dist-server/types/node/command/model-image-to-image-command-executor.d.ts +17 -0
- package/cli/dist-server/types/node/command/model-image-to-video-command-executor.d.ts +17 -0
- package/cli/dist-server/types/node/command/model-lite-command-executor.d.ts +17 -0
- package/cli/dist-server/types/node/command/model-reasoning-command-executor.d.ts +17 -0
- package/cli/dist-server/types/node/command/model-text-to-image-command-executor.d.ts +17 -0
- package/cli/dist-server/types/node/command/model-text-to-video-command-executor.d.ts +17 -0
- package/cli/dist-server/types/node/command/multitask-command-executor.d.ts +9 -0
- package/cli/dist-server/types/node/command/permissions-command-executor.d.ts +9 -0
- package/cli/dist-server/types/node/command/plan-command-executor.d.ts +11 -0
- package/cli/dist-server/types/node/command/plugin-command-executor.d.ts +25 -0
- package/cli/dist-server/types/node/command/plugin-validate-command-executor.d.ts +21 -0
- package/cli/dist-server/types/node/command/release-notes-command-executor.d.ts +18 -0
- package/cli/dist-server/types/node/command/reload-plugins-command-executor.d.ts +22 -0
- package/cli/dist-server/types/node/command/remote-control-command-executor.d.ts +44 -0
- package/cli/dist-server/types/node/command/rename-command-executor.d.ts +11 -0
- package/cli/dist-server/types/node/command/reset-command-executor.d.ts +9 -0
- package/cli/dist-server/types/node/command/resume-command-executor.d.ts +21 -0
- package/cli/dist-server/types/node/command/rewind-command-executor.d.ts +10 -0
- package/cli/dist-server/types/node/command/sandbox-command-executor.d.ts +20 -0
- package/cli/dist-server/types/node/command/save-workflow-command-executor.d.ts +43 -0
- package/cli/dist-server/types/node/command/skills-command-executor.d.ts +9 -0
- package/cli/dist-server/types/node/command/stats-command-executor.d.ts +11 -0
- package/cli/dist-server/types/node/command/status-command-executor.d.ts +11 -0
- package/cli/dist-server/types/node/command/tasks-command-executor.d.ts +9 -0
- package/cli/dist-server/types/node/command/terminal-setup-command-executor.d.ts +7 -0
- package/cli/dist-server/types/node/command/theme-command-executor.d.ts +7 -0
- package/cli/dist-server/types/node/command/todos-command-executor.d.ts +16 -0
- package/cli/dist-server/types/node/command/upgrade-command-executor.d.ts +13 -0
- package/cli/dist-server/types/node/command/vim-command-executor.d.ts +11 -0
- package/cli/dist-server/types/node/command/web-command-executor.d.ts +18 -0
- package/cli/dist-server/types/node/command/workflows-command-executor.d.ts +26 -0
- package/cli/dist-server/types/node/command-parser/command-parser-protocol.d.ts +81 -0
- package/cli/dist-server/types/node/console/console-manager.d.ts +37 -0
- package/cli/dist-server/types/node/console/console-protocol.d.ts +112 -0
- package/cli/dist-server/types/node/console/index.d.ts +2 -0
- package/cli/dist-server/types/node/context/deferred-tools-description-builder.d.ts +145 -0
- package/cli/dist-server/types/node/context/token-calculator/token-calculator-protocol.d.ts +27 -0
- package/cli/dist-server/types/node/debug/debug-middleware.d.ts +8 -0
- package/cli/dist-server/types/node/debug/debug-protocol.d.ts +63 -0
- package/cli/dist-server/types/node/debug/debug-service.d.ts +26 -0
- package/cli/dist-server/types/node/debug/index.d.ts +3 -0
- package/cli/dist-server/types/node/elicitation/elicitation-service.d.ts +100 -0
- package/cli/dist-server/types/node/feedback/feedback-protocol.d.ts +32 -0
- package/cli/dist-server/types/node/feedback/feedback-service.d.ts +19 -0
- package/cli/dist-server/types/node/feedback/index.d.ts +2 -0
- package/cli/dist-server/types/node/galileo/agent-metrics-aggregator.d.ts +115 -0
- package/cli/dist-server/types/node/galileo/error-category.d.ts +65 -0
- package/cli/dist-server/types/node/galileo/galileo-chat-reporter.d.ts +302 -0
- package/cli/dist-server/types/node/galileo/galileo-protocol.d.ts +78 -0
- package/cli/dist-server/types/node/galileo/galileo-service.d.ts +171 -0
- package/cli/dist-server/types/node/galileo/galileo-session-bridge-protocol.d.ts +134 -0
- package/cli/dist-server/types/node/galileo/galileo-session-bridge.d.ts +105 -0
- package/cli/dist-server/types/node/galileo/galileo-timing-hook.d.ts +115 -0
- package/cli/dist-server/types/node/galileo/galileo-tool-error-report-hook.d.ts +32 -0
- package/cli/dist-server/types/node/galileo/galileo-tool-post-hook.d.ts +18 -0
- package/cli/dist-server/types/node/galileo/galileo-tool-pre-hook.d.ts +16 -0
- package/cli/dist-server/types/node/galileo/galileo-tool-start-report-hook.d.ts +14 -0
- package/cli/dist-server/types/node/galileo/galileo-tool-success-report-hook.d.ts +14 -0
- package/cli/dist-server/types/node/galileo/index.d.ts +15 -0
- package/cli/dist-server/types/node/galileo/session-error-tracker.d.ts +44 -0
- package/cli/dist-server/types/node/galileo/task-outcome-resolver.d.ts +28 -0
- package/cli/dist-server/types/node/galileo/task-outcome.d.ts +35 -0
- package/cli/dist-server/types/node/hooks/functional-hooks-protocol.d.ts +78 -0
- package/cli/dist-server/types/node/hooks/functional-hooks.d.ts +23 -0
- package/cli/dist-server/types/node/http/certificate-manager.d.ts +50 -0
- package/cli/dist-server/types/node/http/classify-network-error.d.ts +21 -0
- package/cli/dist-server/types/node/http/custom-header-http-interceptor.d.ts +14 -0
- package/cli/dist-server/types/node/http/custom-headers-provider.d.ts +26 -0
- package/cli/dist-server/types/node/http/fetch-proxy.d.ts +22 -0
- package/cli/dist-server/types/node/http/http-proxy-interceptor.d.ts +116 -0
- package/cli/dist-server/types/node/http/index.d.ts +6 -0
- package/cli/dist-server/types/node/ide-integration/ide-edit-manager.d.ts +53 -0
- package/cli/dist-server/types/node/ide-integration/ide-protocol.d.ts +450 -0
- package/cli/dist-server/types/node/install/index.d.ts +6 -0
- package/cli/dist-server/types/node/install/install-controller.d.ts +15 -0
- package/cli/dist-server/types/node/install/install-env.d.ts +12 -0
- package/cli/dist-server/types/node/install/install-protocol.d.ts +83 -0
- package/cli/dist-server/types/node/install/install-service.d.ts +36 -0
- package/cli/dist-server/types/node/install/releases-service.d.ts +29 -0
- package/cli/dist-server/types/node/install/shell-setup.d.ts +36 -0
- package/cli/dist-server/types/node/library-runtime.d.ts +9 -0
- package/cli/dist-server/types/node/loopback/endpoint-provider.d.ts +9 -0
- package/cli/dist-server/types/node/loopback/error-provider.d.ts +9 -0
- package/cli/dist-server/types/node/loopback/index.d.ts +4 -0
- package/cli/dist-server/types/node/loopback/loopback-body-limit.d.ts +52 -0
- package/cli/dist-server/types/node/lsp/index.d.ts +6 -0
- package/cli/dist-server/types/node/lsp/lsp-client.d.ts +104 -0
- package/cli/dist-server/types/node/lsp/lsp-manager.d.ts +90 -0
- package/cli/dist-server/types/node/lsp/lsp-protocol.d.ts +245 -0
- package/cli/dist-server/types/node/mcp/agent-scoped-mcp-manager.d.ts +38 -0
- package/cli/dist-server/types/node/mcp/index.d.ts +32 -0
- package/cli/dist-server/types/node/mcp/mcp-cli-config-initializer.d.ts +18 -0
- package/cli/dist-server/types/node/mcp/mcp-config-diagnostics-manager.d.ts +29 -0
- package/cli/dist-server/types/node/mcp/mcp-config-env-expand-service.d.ts +45 -0
- package/cli/dist-server/types/node/mcp/mcp-config-fingerprint.d.ts +28 -0
- package/cli/dist-server/types/node/mcp/mcp-config-manager.d.ts +110 -0
- package/cli/dist-server/types/node/mcp/mcp-config-store.d.ts +18 -0
- package/cli/dist-server/types/node/mcp/mcp-connection-manager.d.ts +35 -0
- package/cli/dist-server/types/node/mcp/mcp-controller.d.ts +56 -0
- package/cli/dist-server/types/node/mcp/mcp-descriptor-environment.d.ts +5 -0
- package/cli/dist-server/types/node/mcp/mcp-first-run-status-service.d.ts +37 -0
- package/cli/dist-server/types/node/mcp/mcp-log-service.d.ts +5 -0
- package/cli/dist-server/types/node/mcp/mcp-manager.d.ts +339 -0
- package/cli/dist-server/types/node/mcp/mcp-oauth-controller.d.ts +26 -0
- package/cli/dist-server/types/node/mcp/mcp-oauth-manager.d.ts +33 -0
- package/cli/dist-server/types/node/mcp/mcp-oauth-store.d.ts +30 -0
- package/cli/dist-server/types/node/mcp/mcp-permissions-manager.d.ts +52 -0
- package/cli/dist-server/types/node/mcp/mcp-plugin-registry.d.ts +39 -0
- package/cli/dist-server/types/node/mcp/mcp-ready-service.d.ts +94 -0
- package/cli/dist-server/types/node/mcp/mcp-resource-catalog-protocol.d.ts +62 -0
- package/cli/dist-server/types/node/mcp/mcp-resource-catalog.d.ts +32 -0
- package/cli/dist-server/types/node/mcp/mcp-server-manager.d.ts +283 -0
- package/cli/dist-server/types/node/mcp/mcp-server-model-manager.d.ts +14 -0
- package/cli/dist-server/types/node/mcp/mcp-subagent-tool-manager.d.ts +36 -0
- package/cli/dist-server/types/node/mcp/mcp-toggle-manager.d.ts +45 -0
- package/cli/dist-server/types/node/mcp/mcp-transport-manager.d.ts +34 -0
- package/cli/dist-server/types/node/mcp/mcp-validate-middleware.d.ts +25 -0
- package/cli/dist-server/types/node/mcp/node-websocket-transport.d.ts +38 -0
- package/cli/dist-server/types/node/mcp/official-mcp-egress-policy.d.ts +17 -0
- package/cli/dist-server/types/node/mcp/sdk-mcp-server.d.ts +149 -0
- package/cli/dist-server/types/node/mcp/sdk-mcp-transport.d.ts +97 -0
- package/cli/dist-server/types/node/memory/conditional-rules-service.d.ts +21 -0
- package/cli/dist-server/types/node/memory/glob-matcher.d.ts +16 -0
- package/cli/dist-server/types/node/memory/index.d.ts +20 -0
- package/cli/dist-server/types/node/memory/memory-age.d.ts +44 -0
- package/cli/dist-server/types/node/memory/memory-cache.d.ts +8 -0
- package/cli/dist-server/types/node/memory/memory-controller.d.ts +62 -0
- package/cli/dist-server/types/node/memory/memory-extraction-prompts.d.ts +11 -0
- package/cli/dist-server/types/node/memory/memory-extraction-service.d.ts +56 -0
- package/cli/dist-server/types/node/memory/memory-extraction-stop-hook.d.ts +18 -0
- package/cli/dist-server/types/node/memory/memory-freshness-post-tool-hook.d.ts +22 -0
- package/cli/dist-server/types/node/memory/memory-loader.d.ts +62 -0
- package/cli/dist-server/types/node/memory/memory-manager.d.ts +24 -0
- package/cli/dist-server/types/node/memory/memory-parser.d.ts +15 -0
- package/cli/dist-server/types/node/memory/memory-prompt-builder.d.ts +38 -0
- package/cli/dist-server/types/node/memory/memory-protocol.d.ts +235 -0
- package/cli/dist-server/types/node/memory/memory-relevance-protocol.d.ts +33 -0
- package/cli/dist-server/types/node/memory/memory-relevance-service.d.ts +30 -0
- package/cli/dist-server/types/node/memory/memory-scan.d.ts +35 -0
- package/cli/dist-server/types/node/memory/memory-types.d.ts +49 -0
- package/cli/dist-server/types/node/memory/memory-validator.d.ts +6 -0
- package/cli/dist-server/types/node/memory/subdirectory-memory-loader.d.ts +55 -0
- package/cli/dist-server/types/node/model/model-protocol.d.ts +22 -0
- package/cli/dist-server/types/node/multitask/session-flags.d.ts +110 -0
- package/cli/dist-server/types/node/multitask/types.d.ts +123 -0
- package/cli/dist-server/types/node/navigation/index.d.ts +2 -0
- package/cli/dist-server/types/node/navigation/navigation-manager.d.ts +12 -0
- package/cli/dist-server/types/node/navigation/navigation-protocol.d.ts +23 -0
- package/cli/dist-server/types/node/notification/notification-protocol.d.ts +19 -0
- package/cli/dist-server/types/node/output-style/output-style-protocol.d.ts +60 -0
- package/cli/dist-server/types/node/permission/brokered-sandbox/approval-coordinator.d.ts +32 -0
- package/cli/dist-server/types/node/permission/brokered-sandbox/host-protocol.d.ts +103 -0
- package/cli/dist-server/types/node/permission/canonicalize-command.d.ts +30 -0
- package/cli/dist-server/types/node/permission/codebuddy-sandbox-env.d.ts +35 -0
- package/cli/dist-server/types/node/permission/directory-trust-service.d.ts +45 -0
- package/cli/dist-server/types/node/permission/file-policy-assessment.d.ts +35 -0
- package/cli/dist-server/types/node/permission/index.d.ts +16 -0
- package/cli/dist-server/types/node/permission/permission-protocol.d.ts +9 -0
- package/cli/dist-server/types/node/permission/sandbox-attribution-analyzer.d.ts +108 -0
- package/cli/dist-server/types/node/permission/sandbox-audit-service.d.ts +40 -0
- package/cli/dist-server/types/node/permission/sandbox-exec-policy-builtin.d.ts +30 -0
- package/cli/dist-server/types/node/permission/sandbox-exec-policy-protocol.d.ts +67 -0
- package/cli/dist-server/types/node/permission/sandbox-exec-policy.d.ts +13 -0
- package/cli/dist-server/types/node/permission/sandbox-orchestrator-protocol.d.ts +239 -0
- package/cli/dist-server/types/node/permission/sandbox-orchestrator.d.ts +308 -0
- package/cli/dist-server/types/node/permission/sandbox-permission-gateway.d.ts +36 -0
- package/cli/dist-server/types/node/permission/sandbox-telemetry-context.d.ts +27 -0
- package/cli/dist-server/types/node/permission/sensitive-command-detector.d.ts +71 -0
- package/cli/dist-server/types/node/prewarm/prewarm-protocol.d.ts +296 -0
- package/cli/dist-server/types/node/product/api-key-helper-product-provider.d.ts +105 -0
- package/cli/dist-server/types/node/product/cli-options-product-provider.d.ts +30 -0
- package/cli/dist-server/types/node/product/cloud-pre-product-provider.d.ts +76 -0
- package/cli/dist-server/types/node/product/config-watch-service.d.ts +201 -0
- package/cli/dist-server/types/node/product/craft-to-cli-agent-models-sync-provider.d.ts +16 -0
- package/cli/dist-server/types/node/product/custom-agents-product-provider.d.ts +67 -0
- package/cli/dist-server/types/node/product/custom-commands-product-provider.d.ts +49 -0
- package/cli/dist-server/types/node/product/custom-product-config-provider.d.ts +6 -0
- package/cli/dist-server/types/node/product/index.d.ts +21 -0
- package/cli/dist-server/types/node/product/internet-enviroment-product-provider.d.ts +61 -0
- package/cli/dist-server/types/node/product/mcp-prompt-product-provider.d.ts +17 -0
- package/cli/dist-server/types/node/product/mcp-watch-service.d.ts +31 -0
- package/cli/dist-server/types/node/product/models-product-provider.d.ts +41 -0
- package/cli/dist-server/types/node/product/plugin-product-provider.d.ts +13 -0
- package/cli/dist-server/types/node/product/product-capabilities.d.ts +55 -0
- package/cli/dist-server/types/node/product/product-config-controller.d.ts +27 -0
- package/cli/dist-server/types/node/product/product-env-service.d.ts +20 -0
- package/cli/dist-server/types/node/product/product-identity.d.ts +57 -0
- package/cli/dist-server/types/node/product/product-protocol.d.ts +7 -0
- package/cli/dist-server/types/node/product/sdk-initialize-product-provider.d.ts +17 -0
- package/cli/dist-server/types/node/product/settings-endpoint-product-provider.d.ts +20 -0
- package/cli/dist-server/types/node/product/skill-product-provider.d.ts +62 -0
- package/cli/dist-server/types/node/references/index.d.ts +2 -0
- package/cli/dist-server/types/node/references/reference-protocol.d.ts +20 -0
- package/cli/dist-server/types/node/references/reference-service.d.ts +42 -0
- package/cli/dist-server/types/node/remote-control/remote-control-protocol.d.ts +288 -0
- package/cli/dist-server/types/node/runtime/add-dir-middleware.d.ts +13 -0
- package/cli/dist-server/types/node/runtime/cli-capabilities.d.ts +28 -0
- package/cli/dist-server/types/node/runtime/external-uri-opener.d.ts +8 -0
- package/cli/dist-server/types/node/runtime/file-local-storage.d.ts +17 -0
- package/cli/dist-server/types/node/runtime/host-capability-provider.d.ts +57 -0
- package/cli/dist-server/types/node/runtime/host-detection.d.ts +34 -0
- package/cli/dist-server/types/node/runtime/index.d.ts +8 -0
- package/cli/dist-server/types/node/runtime/workspace-folder-manager.d.ts +45 -0
- package/cli/dist-server/types/node/runtime/workspace.d.ts +5 -0
- package/cli/dist-server/types/node/sandbox-cli/sandbox-backend-support.d.ts +7 -0
- package/cli/dist-server/types/node/sandbox-cli/sandbox-cli-lifecycle-protocol.d.ts +109 -0
- package/cli/dist-server/types/node/sandbox-cli/sandbox-cli-protocol.d.ts +376 -0
- package/cli/dist-server/types/node/sandbox-cli/sandbox-rule-sync-service.d.ts +310 -0
- package/cli/dist-server/types/node/sandbox-cli/sandbox-session-preparation.d.ts +49 -0
- package/cli/dist-server/types/node/sandbox-cli/sandbox-turn-config.d.ts +32 -0
- package/cli/dist-server/types/node/sandbox-cli/threat-domain-checker.d.ts +137 -0
- package/cli/dist-server/types/node/security-review/gate.d.ts +13 -0
- package/cli/dist-server/types/node/security-review/index.d.ts +2 -0
- package/cli/dist-server/types/node/security-review/protocol.d.ts +14 -0
- package/cli/dist-server/types/node/sensitive-content/index.d.ts +15 -0
- package/cli/dist-server/types/node/sensitive-content/managed-cipher-stream-restorer.d.ts +22 -0
- package/cli/dist-server/types/node/sensitive-content/sandbox-center-ipc-client-protocol.d.ts +3 -0
- package/cli/dist-server/types/node/sensitive-content/sandbox-center-ipc-client.d.ts +7 -0
- package/cli/dist-server/types/node/sensitive-content/sandbox-center-port.d.ts +17 -0
- package/cli/dist-server/types/node/sensitive-content/sensitive-approval-port.d.ts +22 -0
- package/cli/dist-server/types/node/sensitive-content/sensitive-content-mediation.d.ts +6 -0
- package/cli/dist-server/types/node/sensitive-content/sensitive-decision-mediation.d.ts +69 -0
- package/cli/dist-server/types/node/sensitive-content/sensitive-history-admission.d.ts +42 -0
- package/cli/dist-server/types/node/sensitive-content/sensitive-history-replay.d.ts +6 -0
- package/cli/dist-server/types/node/sensitive-content/sensitive-local-sideband.d.ts +21 -0
- package/cli/dist-server/types/node/sensitive-content/sensitive-model-boundary.d.ts +22 -0
- package/cli/dist-server/types/node/sensitive-content/sensitive-protection-metadata.d.ts +7 -0
- package/cli/dist-server/types/node/sensitive-content/sensitive-session-grants.d.ts +41 -0
- package/cli/dist-server/types/node/sensitive-content/sensitive-tool-egress-guard.d.ts +7 -0
- package/cli/dist-server/types/node/sensitive-content/sensitive-user-input-review.d.ts +7 -0
- package/cli/dist-server/types/node/sensitive-content/settings-sensitive-protection-policy.d.ts +14 -0
- package/cli/dist-server/types/node/server/types.d.ts +11 -2
- package/cli/dist-server/types/node/session/index.d.ts +15 -0
- package/cli/dist-server/types/node/session/input-history-service.d.ts +47 -0
- package/cli/dist-server/types/node/session/input-item-processors.d.ts +70 -0
- package/cli/dist-server/types/node/session/session-abort-middleware.d.ts +22 -0
- package/cli/dist-server/types/node/session/session-controller.d.ts +126 -0
- package/cli/dist-server/types/node/session/session-history-clean-flag.d.ts +2 -0
- package/cli/dist-server/types/node/session/session-history-clean-service.d.ts +49 -0
- package/cli/dist-server/types/node/session/session-hook-host-adapter.d.ts +21 -0
- package/cli/dist-server/types/node/session/session-host-adapter.d.ts +34 -0
- package/cli/dist-server/types/node/session/session-http-protocol.d.ts +1 -0
- package/cli/dist-server/types/node/session/session-interruption-host-adapter.d.ts +115 -0
- package/cli/dist-server/types/node/session/session-manager-host-adapter.d.ts +100 -0
- package/cli/dist-server/types/node/session/session-middleware.d.ts +68 -0
- package/cli/dist-server/types/node/session/session-response-host-adapter.d.ts +9 -0
- package/cli/dist-server/types/node/session/session-store-host-adapter.d.ts +23 -0
- package/cli/dist-server/types/node/session/tasks-controller.d.ts +80 -0
- package/cli/dist-server/types/node/settings/current-session-model-transition-protocol.d.ts +23 -0
- package/cli/dist-server/types/node/settings/current-session-model-transition.d.ts +15 -0
- package/cli/dist-server/types/node/settings/index.d.ts +8 -0
- package/cli/dist-server/types/node/settings/settings-controller.d.ts +23 -0
- package/cli/dist-server/types/node/settings/settings-manager.d.ts +1 -0
- package/cli/dist-server/types/node/settings/settings-protocol.d.ts +4 -0
- package/cli/dist-server/types/node/settings/settings-validate-middleware.d.ts +9 -0
- package/cli/dist-server/types/node/shell/delegating-shell-service.d.ts +44 -0
- package/cli/dist-server/types/node/shell/driver-shell-service.d.ts +8 -0
- package/cli/dist-server/types/node/shell/index.d.ts +10 -0
- package/cli/dist-server/types/node/shell/language-shim-env.d.ts +11 -0
- package/cli/dist-server/types/node/shell/output-spiller.d.ts +39 -0
- package/cli/dist-server/types/node/shell/powershell-safe-delete.d.ts +16 -0
- package/cli/dist-server/types/node/shell/safe-delete/bulk-guard/contract.d.ts +61 -0
- package/cli/dist-server/types/node/shell/safe-delete/bulk-guard/index.d.ts +3 -0
- package/cli/dist-server/types/node/shell/safe-delete/bulk-guard/marker.d.ts +5 -0
- package/cli/dist-server/types/node/shell/safe-delete/bulk-guard/service.d.ts +12 -0
- package/cli/dist-server/types/node/shell/safe-delete/index.d.ts +17 -0
- package/cli/dist-server/types/node/shell/safe-delete/safe-delete-attribution.d.ts +16 -0
- package/cli/dist-server/types/node/shell/safe-delete/safe-delete-bootstrap.d.ts +1 -0
- package/cli/dist-server/types/node/shell/safe-delete/safe-delete-env.d.ts +42 -0
- package/cli/dist-server/types/node/shell/safe-delete/safe-delete-report.d.ts +18 -0
- package/cli/dist-server/types/node/shell/safe-delete/safe-delete-sandbox-helpers.d.ts +39 -0
- package/cli/dist-server/types/node/shell/safe-delete/safe-delete-settings.d.ts +42 -0
- package/cli/dist-server/types/node/shell/safe-delete/safe-delete-trash-service.d.ts +12 -0
- package/cli/dist-server/types/node/shell/shell-protocol.d.ts +287 -0
- package/cli/dist-server/types/node/shell/shell-runtime-paths.d.ts +23 -0
- package/cli/dist-server/types/node/shell/shell-service.d.ts +257 -0
- package/cli/dist-server/types/node/shell/shell-snapshot-protocol.d.ts +75 -0
- package/cli/dist-server/types/node/shell/shell-snapshot-service.d.ts +86 -0
- package/cli/dist-server/types/node/shell/terminal-serializer.d.ts +26 -0
- package/cli/dist-server/types/node/shell/truncate-buffer.d.ts +24 -0
- package/cli/dist-server/types/node/shell/windows-process-utils.d.ts +42 -0
- package/cli/dist-server/types/node/shortcut/shortcut-protocol.d.ts +41 -0
- package/cli/dist-server/types/node/skills/skill-approval.d.ts +31 -0
- package/cli/dist-server/types/node/stats/index.d.ts +5 -0
- package/cli/dist-server/types/node/stats/insights-protocol.d.ts +59 -0
- package/cli/dist-server/types/node/stats/insights-report-service.d.ts +17 -0
- package/cli/dist-server/types/node/stats/session-facet-service.d.ts +46 -0
- package/cli/dist-server/types/node/stats/stats-protocol.d.ts +145 -0
- package/cli/dist-server/types/node/stats/stats-service.d.ts +48 -0
- package/cli/dist-server/types/node/telemetry/cost-protocol.d.ts +67 -0
- package/cli/dist-server/types/node/telemetry/cost-service.d.ts +21 -0
- package/cli/dist-server/types/node/telemetry/extension-info-processor.d.ts +13 -0
- package/cli/dist-server/types/node/telemetry/friction-analysis.d.ts +54 -0
- package/cli/dist-server/types/node/telemetry/friction-recall-client.d.ts +15 -0
- package/cli/dist-server/types/node/telemetry/host-ide-info-processor.d.ts +11 -0
- package/cli/dist-server/types/node/telemetry/index.d.ts +21 -0
- package/cli/dist-server/types/node/telemetry/logger/index.d.ts +1 -0
- package/cli/dist-server/types/node/telemetry/logger/storage-path-provider.d.ts +4 -0
- package/cli/dist-server/types/node/telemetry/plugin-telemetry-protocol.d.ts +68 -0
- package/cli/dist-server/types/node/telemetry/plugin-telemetry-service.d.ts +31 -0
- package/cli/dist-server/types/node/telemetry/qimei-env-detector.d.ts +16 -0
- package/cli/dist-server/types/node/telemetry/sandbox-telemetry-protocol.d.ts +164 -0
- package/cli/dist-server/types/node/telemetry/sandbox-telemetry-service.d.ts +181 -0
- package/cli/dist-server/types/node/telemetry/startup-profiler.d.ts +32 -0
- package/cli/dist-server/types/node/telemetry/status-reporter.d.ts +39 -0
- package/cli/dist-server/types/node/telemetry/telemetry-client-carrier.d.ts +14 -0
- package/cli/dist-server/types/node/telemetry/telemetry-client-info-event-processor.d.ts +8 -0
- package/cli/dist-server/types/node/telemetry/telemetry-protocol.d.ts +137 -0
- package/cli/dist-server/types/node/telemetry/telemetry-service.d.ts +115 -0
- package/cli/dist-server/types/node/telemetry/turn-baggage-processor.d.ts +23 -0
- package/cli/dist-server/types/node/telemetry/vcs-event-processor.d.ts +19 -0
- package/cli/dist-server/types/node/tips/builtin-tips.d.ts +2 -0
- package/cli/dist-server/types/node/tips/index.d.ts +4 -0
- package/cli/dist-server/types/node/tips/tips-manager.d.ts +14 -0
- package/cli/dist-server/types/node/tips/tips-protocol.d.ts +42 -0
- package/cli/dist-server/types/node/tips/user-state-manager.d.ts +25 -0
- package/cli/dist-server/types/node/tool-control/index.d.ts +1 -0
- package/cli/dist-server/types/node/tool-control/tool-control-policy.d.ts +34 -0
- package/cli/dist-server/types/node/tools/a2a-cancel-task-tool.d.ts +55 -0
- package/cli/dist-server/types/node/tools/a2a-get-agent-card-tool.d.ts +59 -0
- package/cli/dist-server/types/node/tools/a2a-get-task-tool.d.ts +334 -0
- package/cli/dist-server/types/node/tools/a2a-send-message-tool.d.ts +168 -0
- package/cli/dist-server/types/node/tools/a2a-tool-guards.d.ts +48 -0
- package/cli/dist-server/types/node/tools/agent-tool.d.ts +202 -0
- package/cli/dist-server/types/node/tools/artifact-control-tool.d.ts +103 -0
- package/cli/dist-server/types/node/tools/artifact-tool.d.ts +96 -0
- package/cli/dist-server/types/node/tools/ask-user-for-structured-input-tool.d.ts +127 -0
- package/cli/dist-server/types/node/tools/ask-user-question-tool.d.ts +237 -0
- package/cli/dist-server/types/node/tools/audio-transcribe-service.d.ts +61 -0
- package/cli/dist-server/types/node/tools/audio-transcribe-tool.d.ts +66 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-allow-filter.d.ts +33 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-classifier-client.d.ts +230 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-critique-client.d.ts +51 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-defaults.d.ts +16 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-denial-tracker.d.ts +114 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-permission-service.d.ts +51 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-project-instructions.d.ts +26 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-protocol.d.ts +140 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-settings.d.ts +36 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-strategy.d.ts +21 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-system-prompt-builder.d.ts +28 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-timeout.d.ts +16 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-transcript-limit.d.ts +29 -0
- package/cli/dist-server/types/node/tools/auto-mode/auto-mode-transcript.d.ts +50 -0
- package/cli/dist-server/types/node/tools/auto-mode/index.d.ts +15 -0
- package/cli/dist-server/types/node/tools/auto-mode/permission-mode-policy.d.ts +63 -0
- package/cli/dist-server/types/node/tools/bash-output-tool.d.ts +34 -0
- package/cli/dist-server/types/node/tools/bash-sandbox-approval-requester.d.ts +55 -0
- package/cli/dist-server/types/node/tools/bash-tool.d.ts +211 -0
- package/cli/dist-server/types/node/tools/brief-mode-service.d.ts +26 -0
- package/cli/dist-server/types/node/tools/channel-tasks-tool.d.ts +174 -0
- package/cli/dist-server/types/node/tools/computer-use-tool.d.ts +86 -0
- package/cli/dist-server/types/node/tools/create-channel-tool.d.ts +82 -0
- package/cli/dist-server/types/node/tools/create-colleague-tool.d.ts +64 -0
- package/cli/dist-server/types/node/tools/cron-create-tool.d.ts +46 -0
- package/cli/dist-server/types/node/tools/cron-delete-tool.d.ts +28 -0
- package/cli/dist-server/types/node/tools/cron-list-tool.d.ts +27 -0
- package/cli/dist-server/types/node/tools/defer-execute-tool.d.ts +265 -0
- package/cli/dist-server/types/node/tools/defer-tool-config-protocol.d.ts +88 -0
- package/cli/dist-server/types/node/tools/defer-tool-config-service.d.ts +23 -0
- package/cli/dist-server/types/node/tools/deferred-tool-bridge.d.ts +50 -0
- package/cli/dist-server/types/node/tools/delegate-tool.d.ts +71 -0
- package/cli/dist-server/types/node/tools/edit-tool.d.ts +83 -0
- package/cli/dist-server/types/node/tools/enter-planmode-tool.d.ts +29 -0
- package/cli/dist-server/types/node/tools/enter-worktree-tool.d.ts +59 -0
- package/cli/dist-server/types/node/tools/exit-planmode-tool.d.ts +86 -0
- package/cli/dist-server/types/node/tools/file-change-artifact-publisher.d.ts +82 -0
- package/cli/dist-server/types/node/tools/glob-tool.d.ts +102 -0
- package/cli/dist-server/types/node/tools/grep-tool.d.ts +141 -0
- package/cli/dist-server/types/node/tools/image-edit-tool.d.ts +94 -0
- package/cli/dist-server/types/node/tools/image-gen-tool.d.ts +107 -0
- package/cli/dist-server/types/node/tools/image-service.d.ts +113 -0
- package/cli/dist-server/types/node/tools/index.d.ts +109 -0
- package/cli/dist-server/types/node/tools/kill-shell-tool.d.ts +27 -0
- package/cli/dist-server/types/node/tools/leave-worktree-tool.d.ts +54 -0
- package/cli/dist-server/types/node/tools/library-upload-tool.d.ts +70 -0
- package/cli/dist-server/types/node/tools/list-colleagues-tool.d.ts +35 -0
- package/cli/dist-server/types/node/tools/list-mcp-resources-tool.d.ts +58 -0
- package/cli/dist-server/types/node/tools/lsp-tool.d.ts +68 -0
- package/cli/dist-server/types/node/tools/main-agent-meta-tools.d.ts +107 -0
- package/cli/dist-server/types/node/tools/memory-tool.d.ts +33 -0
- package/cli/dist-server/types/node/tools/message-colleague-tool.d.ts +83 -0
- package/cli/dist-server/types/node/tools/monitor-tool.d.ts +216 -0
- package/cli/dist-server/types/node/tools/multi-edit-tool.d.ts +109 -0
- package/cli/dist-server/types/node/tools/notebook-edit-tool.d.ts +75 -0
- package/cli/dist-server/types/node/tools/notebook-read-tool.d.ts +55 -0
- package/cli/dist-server/types/node/tools/notebook-write-tool.d.ts +7 -0
- package/cli/dist-server/types/node/tools/plan-storage-service.d.ts +68 -0
- package/cli/dist-server/types/node/tools/powershell-clm-types.d.ts +30 -0
- package/cli/dist-server/types/node/tools/powershell-command-semantics.d.ts +23 -0
- package/cli/dist-server/types/node/tools/powershell-dangerous-cmdlets.d.ts +72 -0
- package/cli/dist-server/types/node/tools/powershell-destructive-warning.d.ts +12 -0
- package/cli/dist-server/types/node/tools/powershell-detection.d.ts +51 -0
- package/cli/dist-server/types/node/tools/powershell-git-safety.d.ts +60 -0
- package/cli/dist-server/types/node/tools/powershell-security.d.ts +93 -0
- package/cli/dist-server/types/node/tools/powershell-tool.d.ts +174 -0
- package/cli/dist-server/types/node/tools/produced-artifact-report.d.ts +35 -0
- package/cli/dist-server/types/node/tools/push-notification-tool.d.ts +55 -0
- package/cli/dist-server/types/node/tools/read-file-state-service.d.ts +27 -0
- package/cli/dist-server/types/node/tools/read-mcp-resource-tool.d.ts +71 -0
- package/cli/dist-server/types/node/tools/read-tool.d.ts +71 -0
- package/cli/dist-server/types/node/tools/repl/index.d.ts +10 -0
- package/cli/dist-server/types/node/tools/repl/repl-bridge-broker.d.ts +150 -0
- package/cli/dist-server/types/node/tools/repl/repl-bridge-host.d.ts +29 -0
- package/cli/dist-server/types/node/tools/repl/repl-catalog-protocol.d.ts +149 -0
- package/cli/dist-server/types/node/tools/repl/repl-catalog-render.d.ts +56 -0
- package/cli/dist-server/types/node/tools/repl/repl-catalog-source.d.ts +108 -0
- package/cli/dist-server/types/node/tools/repl/repl-import-rewrite.d.ts +17 -0
- package/cli/dist-server/types/node/tools/repl/repl-protocol.d.ts +210 -0
- package/cli/dist-server/types/node/tools/repl/repl-tool.d.ts +142 -0
- package/cli/dist-server/types/node/tools/repl/repl-worker-manager.d.ts +103 -0
- package/cli/dist-server/types/node/tools/repl/repl-worker-source.d.ts +16 -0
- package/cli/dist-server/types/node/tools/repl/repl-worker-source.generated.d.ts +2 -0
- package/cli/dist-server/types/node/tools/report-findings-tool.d.ts +97 -0
- package/cli/dist-server/types/node/tools/sandbox-approval-review.d.ts +40 -0
- package/cli/dist-server/types/node/tools/sandbox-permission-file-tool.d.ts +14 -0
- package/cli/dist-server/types/node/tools/sandbox-write-rule-guard.d.ts +126 -0
- package/cli/dist-server/types/node/tools/send-message-tool.d.ts +116 -0
- package/cli/dist-server/types/node/tools/send-user-message-attachments.d.ts +22 -0
- package/cli/dist-server/types/node/tools/send-user-message-tool.d.ts +60 -0
- package/cli/dist-server/types/node/tools/shell-stream-pusher.d.ts +25 -0
- package/cli/dist-server/types/node/tools/skill-manage-tool.d.ts +77 -0
- package/cli/dist-server/types/node/tools/skill-tool.d.ts +129 -0
- package/cli/dist-server/types/node/tools/slash-command-tool.d.ts +51 -0
- package/cli/dist-server/types/node/tools/space-upload/errors.d.ts +14 -0
- package/cli/dist-server/types/node/tools/space-upload/index.d.ts +4 -0
- package/cli/dist-server/types/node/tools/space-upload/local-file-source.d.ts +33 -0
- package/cli/dist-server/types/node/tools/space-upload/types.d.ts +65 -0
- package/cli/dist-server/types/node/tools/space-upload/upload-file.d.ts +27 -0
- package/cli/dist-server/types/node/tools/speak-in-channel-tool.d.ts +182 -0
- package/cli/dist-server/types/node/tools/structured-output-tool.d.ts +43 -0
- package/cli/dist-server/types/node/tools/task-create-tool.d.ts +71 -0
- package/cli/dist-server/types/node/tools/task-get-tool.d.ts +31 -0
- package/cli/dist-server/types/node/tools/task-list-tool.d.ts +20 -0
- package/cli/dist-server/types/node/tools/task-output-tool.d.ts +142 -0
- package/cli/dist-server/types/node/tools/task-stop-tool.d.ts +61 -0
- package/cli/dist-server/types/node/tools/task-storage-service.d.ts +161 -0
- package/cli/dist-server/types/node/tools/task-update-tool.d.ts +79 -0
- package/cli/dist-server/types/node/tools/team-create-tool.d.ts +84 -0
- package/cli/dist-server/types/node/tools/team-delete-tool.d.ts +38 -0
- package/cli/dist-server/types/node/tools/todo-storage-service.d.ts +48 -0
- package/cli/dist-server/types/node/tools/todo-write-tool.d.ts +117 -0
- package/cli/dist-server/types/node/tools/tool-always-approval-service.d.ts +73 -0
- package/cli/dist-server/types/node/tools/tool-argument-rewrite-service.d.ts +4 -0
- package/cli/dist-server/types/node/tools/tool-error-codes.d.ts +140 -0
- package/cli/dist-server/types/node/tools/tool-hook-manager.d.ts +61 -0
- package/cli/dist-server/types/node/tools/tool-manager.d.ts +585 -0
- package/cli/dist-server/types/node/tools/tool-permission-service.d.ts +145 -0
- package/cli/dist-server/types/node/tools/tool-permission-strategy.d.ts +83 -0
- package/cli/dist-server/types/node/tools/tool-protocol.d.ts +2 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/content-history-admission.d.ts +10 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/content-review.d.ts +56 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/execution-approval-adapter.d.ts +11 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/index.d.ts +7 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/mcp-permission-review.d.ts +15 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/mcp-projector.d.ts +5 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/permission-metadata.d.ts +8 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/projector-registry.d.ts +22 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/projectors/index.d.ts +5 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/prompt.d.ts +6 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/protocol.d.ts +231 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/review-context-build.d.ts +2 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/review-context.d.ts +42 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/review-runtime.d.ts +6 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/reviewer-client-impl.d.ts +3 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/reviewer-client.d.ts +37 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/scope.d.ts +6 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/service.d.ts +75 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/session-state.d.ts +49 -0
- package/cli/dist-server/types/node/tools/tool-risk-review/trusted-builtin-code.d.ts +25 -0
- package/cli/dist-server/types/node/tools/tool-search-protocol.d.ts +286 -0
- package/cli/dist-server/types/node/tools/tool-search-service.d.ts +137 -0
- package/cli/dist-server/types/node/tools/tool-search-tool.d.ts +103 -0
- package/cli/dist-server/types/node/tools/tool-spec/agent-tool-defer-overlay-cache.d.ts +45 -0
- package/cli/dist-server/types/node/tools/tool-spec/index.d.ts +6 -0
- package/cli/dist-server/types/node/tools/tool-spec/legacy-ide-tool-names.d.ts +2 -0
- package/cli/dist-server/types/node/tools/tool-spec/tool-defer-overlay.d.ts +70 -0
- package/cli/dist-server/types/node/tools/tool-spec/tool-spec-augment.d.ts +17 -0
- package/cli/dist-server/types/node/tools/tool-spec/tool-spec-parser.d.ts +38 -0
- package/cli/dist-server/types/node/tools/tool-spec/tool-spec-protocol.d.ts +83 -0
- package/cli/dist-server/types/node/tools/video-gen-tool.d.ts +88 -0
- package/cli/dist-server/types/node/tools/video-service.d.ts +57 -0
- package/cli/dist-server/types/node/tools/wait-for-mcp-servers-tool.d.ts +79 -0
- package/cli/dist-server/types/node/tools/web-fetch-tool.d.ts +164 -0
- package/cli/dist-server/types/node/tools/web-search-tool.d.ts +79 -0
- package/cli/dist-server/types/node/tools/wechat-reply-tool.d.ts +43 -0
- package/cli/dist-server/types/node/tools/wecom-reply-tool.d.ts +65 -0
- package/cli/dist-server/types/node/tools/workflow-background-task.d.ts +54 -0
- package/cli/dist-server/types/node/tools/workflow-tool.d.ts +83 -0
- package/cli/dist-server/types/node/tools/write-tool.d.ts +80 -0
- package/cli/dist-server/types/node/trace/trace-collector-protocol.d.ts +203 -0
- package/cli/dist-server/types/node/utils/installation-utils.d.ts +35 -0
- package/cli/dist-server/types/node/utils/osc-protocol-utils.d.ts +209 -0
- package/cli/dist-server/types/node/utils/process-identity.d.ts +40 -0
- package/cli/dist-server/types/node/utils/security-audit-log.d.ts +134 -0
- package/cli/dist-server/types/node/utils/terminal-detector-utils.d.ts +78 -0
- package/cli/dist-server/types/node/vim/index.d.ts +2 -0
- package/cli/dist-server/types/node/vim/vim-manager.d.ts +12 -0
- package/cli/dist-server/types/node/vim/vim-protocol.d.ts +24 -0
- package/cli/dist-server/types/vendor/cbc-core/node/agent/agent-protocol.d.ts +12 -2
- package/cli/dist-server/types/vendor/cbc-core/node/agent/reviewer-recovery.d.ts +7 -0
- package/cli/dist-server/types/vendor/cbc-core/node/context/mods-bridge.d.ts +38 -2
- package/cli/dist-server/types/vendor/cbc-core/node/session/background-task-protocol.d.ts +14 -0
- package/cli/dist-server/types/vendor/cbc-core/node/session/interruption-service.d.ts +4 -0
- package/cli/dist-server/types/vendor/cbc-core/node/session/session-hook-host-protocol.d.ts +2 -1
- package/cli/dist-server/types/vendor/cbc-core/node/session/session-interruption-host-protocol.d.ts +3 -0
- package/cli/dist-server/types/vendor/cbc-core/node/session/session-protocol.d.ts +8 -2
- package/cli/dist-server/types/vendor/cbc-core/node/session/session-store.d.ts +59 -7
- package/cli/dist-server/types/vendor/cbc-core/node/session/truncation-recovery.d.ts +8 -0
- package/cli/dist-server/types/vendor/cbc-core/node/session-title/session-title-utils.d.ts +36 -0
- package/cli/dist-server/types/vendor/cbc-core/node/utils/history-utils.d.ts +37 -9
- package/cli/dist-server/types/vendor/cbc-core/node/utils/input-item-utils.d.ts +28 -0
- package/cli/dist-server/types/vendor/cbc-core/node/utils/message-utils.d.ts +1 -0
- package/cli/dist-server/types/vendor/cbc-core/node/utils/model-utils.d.ts +9 -5
- package/cli/dist-server/types/vendor/cbc-shared/node/agent/custom-input-item-types.d.ts +20 -0
- package/cli/dist-server/types/vendor/cbc-shared/node/agent/openai-agents-types.d.ts +2 -2
- package/cli/dist-server/types/vendor/cbc-shared/node/index.d.ts +1 -0
- package/cli/dist-server/types/vendor/cbc-shared/node/model/model-errors.d.ts +23 -6
- package/cli/dist-server/types/vendor/cbc-shared/node/tools/tool-names.d.ts +2 -0
- package/cli/dist-server/types/vendor/cbc-shared/node/utils/concurrency-utils.d.ts +5 -0
- package/cli/dist-server/types/workspace/agent-client-protocol/lib/common/prompt-codec.d.ts +2 -0
- package/cli/dist-server/types/workspace/agent-client-protocol/lib/common/security-review-reason-code.d.ts +0 -10
- package/cli/dist-server/types/workspace/cbc-checkpoint/lib/node/checkpoint/checkpoint-path-utils.d.ts +10 -0
- package/cli/dist-server/types/workspace/cbc-checkpoint/lib/node/checkpoint/checkpoint-service.d.ts +2 -0
- package/cli/dist-server/types/workspace/cbc-core/lib/node/agent/agent-protocol.d.ts +12 -2
- package/cli/dist-server/types/workspace/cbc-core/lib/node/agent/reviewer-recovery.d.ts +7 -0
- package/cli/dist-server/types/workspace/cbc-core/lib/node/context/mods-bridge.d.ts +38 -2
- package/cli/dist-server/types/workspace/cbc-core/lib/node/session/background-task-protocol.d.ts +14 -0
- package/cli/dist-server/types/workspace/cbc-core/lib/node/session/interruption-service.d.ts +4 -0
- package/cli/dist-server/types/workspace/cbc-core/lib/node/session/session-hook-host-protocol.d.ts +2 -1
- package/cli/dist-server/types/workspace/cbc-core/lib/node/session/session-interruption-host-protocol.d.ts +3 -0
- package/cli/dist-server/types/workspace/cbc-core/lib/node/session/session-protocol.d.ts +8 -2
- package/cli/dist-server/types/workspace/cbc-core/lib/node/session/session-store.d.ts +59 -7
- package/cli/dist-server/types/workspace/cbc-core/lib/node/session/truncation-recovery.d.ts +8 -0
- package/cli/dist-server/types/workspace/cbc-core/lib/node/session-title/session-title-utils.d.ts +36 -0
- package/cli/dist-server/types/workspace/cbc-core/lib/node/utils/history-utils.d.ts +37 -9
- package/cli/dist-server/types/workspace/cbc-core/lib/node/utils/input-item-utils.d.ts +28 -0
- package/cli/dist-server/types/workspace/cbc-core/lib/node/utils/message-utils.d.ts +1 -0
- package/cli/dist-server/types/workspace/cbc-core/lib/node/utils/model-utils.d.ts +9 -5
- package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-parser.d.ts +34 -0
- package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-protocol.d.ts +191 -0
- package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-scheduler-service.d.ts +131 -0
- package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-scheduler.d.ts +20 -0
- package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-state-manager.d.ts +50 -0
- package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-storage.d.ts +61 -0
- package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/cron-task-session.d.ts +1 -0
- package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/index.d.ts +8 -0
- package/cli/dist-server/types/workspace/cbc-cron/lib/node/cron/loop-skill-provider.d.ts +36 -0
- package/cli/dist-server/types/workspace/cbc-cron/lib/node/index.d.ts +10 -0
- package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/bg-session-handler.d.ts +88 -0
- package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/daemon-auto-restart.d.ts +61 -0
- package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/daemon-channel-autoconnect.d.ts +28 -0
- package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/daemon-enhancements-lifecycle.d.ts +45 -0
- package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/daemon-process.d.ts +77 -0
- package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/daemon-protocol.d.ts +324 -0
- package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/daemon-service.d.ts +45 -0
- package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/index.d.ts +10 -0
- package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/session-registry.d.ts +39 -0
- package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/system-service.d.ts +60 -0
- package/cli/dist-server/types/workspace/cbc-daemon/lib/node/daemon/wake-detector.d.ts +47 -0
- package/cli/dist-server/types/workspace/cbc-daemon/lib/node/index.d.ts +11 -0
- package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/goal-format.d.ts +25 -0
- package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/goal-policy.d.ts +55 -0
- package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/goal-protocol.d.ts +204 -0
- package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/goal-service.d.ts +353 -0
- package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/goal-session-start-hook.d.ts +25 -0
- package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/goal-utils.d.ts +23 -0
- package/cli/dist-server/types/workspace/cbc-goal/lib/node/goal/index.d.ts +6 -0
- package/cli/dist-server/types/workspace/cbc-goal/lib/node/index.d.ts +12 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/index.d.ts +35 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/builtin/index.d.ts +14 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/builtin/sec-default.d.ts +32 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/builtin/telemetry.d.ts +43 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/enable-flag.d.ts +41 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/engine-builder.d.ts +61 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/hooks-registry.d.ts +188 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/index.d.ts +6 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/mods-runtime.d.ts +101 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/op-table.d.ts +37 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/engine/pattern.d.ts +20 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/core-handler.d.ts +78 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/host-bindings.d.ts +215 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/index.d.ts +6 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/plugin-store.d.ts +22 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/render-component.d.ts +115 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/render-registry.d.ts +99 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/host/terminal-play.d.ts +56 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/index.d.ts +9 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/legacy-adapter/fan-out.d.ts +23 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/legacy-adapter/hook-result-mapper.d.ts +27 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/legacy-adapter/index.d.ts +2 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/bootstrap.d.ts +104 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/bundle-cache.d.ts +59 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/index.d.ts +8 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/isolated-import.d.ts +20 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/load-mod.d.ts +151 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/manifest-dir.d.ts +33 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/mounted-import.d.ts +12 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/ts-runtime.d.ts +64 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/loader/types-emitter.d.ts +105 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/testing/harness.d.ts +84 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/testing/index.d.ts +1 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/events/agent.d.ts +188 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/events/command.d.ts +114 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/events/prompt.d.ts +310 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/events/tool.d.ts +308 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/events/upstream.d.ts +8777 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/events.d.ts +651 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/mods/types/index.d.ts +1 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/concurrency.d.ts +1 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/dependency-resolver.d.ts +43 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/directory-plugin-cache-projection.d.ts +2 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/guards/index.d.ts +2 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/guards/weixinpay-integrity-guard.d.ts +48 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/index.d.ts +42 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/installers/git-plugin-installer.d.ts +42 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/installers/git-subdir-plugin-installer.d.ts +19 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/installers/index.d.ts +4 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/installers/local-plugin-installer.d.ts +40 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/installers/npm-plugin-installer.d.ts +23 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/agent-loader.d.ts +43 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/command-loader.d.ts +39 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/hook-loader.d.ts +55 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/index.d.ts +8 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/lsp-loader.d.ts +47 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/mcp-loader.d.ts +75 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/output-style-loader.d.ts +49 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/plugin-loader-manager.d.ts +73 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/skill-loader.d.ts +45 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplace-name-validator.d.ts +50 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplace-path-safety.d.ts +86 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/base-marketplace.d.ts +48 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/builtin-marketplace-provider.d.ts +47 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/directory-marketplace.d.ts +19 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/git-availability-detector.d.ts +62 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/git-fallback-coordinator.d.ts +42 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/git-to-zip-url-converter.d.ts +50 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/github-marketplace.d.ts +41 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/http-marketplace.d.ts +47 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/index.d.ts +13 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/marketplace-config-manager.d.ts +43 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/marketplace-factory.d.ts +12 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/marketplace-storage.d.ts +142 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/marketplace-update-checker.d.ts +41 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplaces/zip-marketplace.d.ts +150 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/mcpb-handler.d.ts +29 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-controller.d.ts +77 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-environment.d.ts +36 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-error-collector.d.ts +17 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-install-stats-service.d.ts +20 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-manager.d.ts +765 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-mcp-snapshot.d.ts +63 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-options-storage.d.ts +87 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-policy-service.d.ts +55 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-protocol.d.ts +1567 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-read-summary.d.ts +61 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-runtime-refresh-service.d.ts +262 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/plugin-validator.d.ts +48 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/session-plugin-snapshot.d.ts +5 -0
- package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/zip-utils.d.ts +94 -0
- package/cli/dist-server/types/workspace/cbc-shared/lib/node/agent/custom-input-item-types.d.ts +20 -0
- package/cli/dist-server/types/workspace/cbc-shared/lib/node/agent/openai-agents-types.d.ts +2 -2
- package/cli/dist-server/types/workspace/cbc-shared/lib/node/index.d.ts +1 -0
- package/cli/dist-server/types/workspace/cbc-shared/lib/node/model/model-errors.d.ts +23 -6
- package/cli/dist-server/types/workspace/cbc-shared/lib/node/tools/tool-names.d.ts +2 -0
- package/cli/dist-server/types/workspace/cbc-shared/lib/node/utils/concurrency-utils.d.ts +5 -0
- package/cli/dist-server/types/workspace/code-ratio/lib/common/code-ratio-protocol.d.ts +124 -0
- package/cli/dist-server/types/workspace/code-ratio/lib/common/code-ratio-reporter.d.ts +57 -0
- package/cli/dist-server/types/workspace/code-ratio/lib/common/diff/unified-diff.d.ts +37 -0
- package/cli/dist-server/types/workspace/code-ratio/lib/common/feature-gate.d.ts +59 -0
- package/cli/dist-server/types/workspace/code-ratio/lib/common/filters/file-filter.d.ts +41 -0
- package/cli/dist-server/types/workspace/code-ratio/lib/common/index.d.ts +6 -0
- package/cli/dist-server/types/workspace/code-ratio/lib/common/vcs-repo-resolver-protocol.d.ts +50 -0
- package/cli/dist-server/types/workspace/product/lib/common/index.d.ts +1 -0
- package/cli/dist-server/types/workspace/product/lib/common/repo-params.d.ts +14 -0
- package/cli/dist-server/types/workspace/product/lib/common/types/features.d.ts +69 -44
- package/cli/dist-server/types/workspace/product/lib/common/types/language-model.d.ts +6 -1
- package/cli/dist-server/types/workspace/sandbox-cli/lib/common/protocol.generated.d.ts +392 -0
- package/cli/dist-server/types/workspace/sandbox-cli/lib/node/file-policy.d.ts +48 -0
- package/cli/dist-server/types/workspace/sandbox-cli/lib/node/resolver.d.ts +95 -0
- package/cli/dist-server/types/workspace/sandbox-cli/lib/node/sandbox-cli-client.d.ts +78 -0
- package/cli/dist-server/types/workspace/telemetry/lib/common/event/types/security-review.d.ts +35 -6
- package/cli/dist-server/types/workspace/telemetry/lib/common/tracing/index.d.ts +1 -1
- package/cli/dist-server/types/workspace/telemetry/lib/common/tracing/otel-env.d.ts +1 -0
- package/cli/package.json +1 -1
- package/cli/product.cloudhosted.json +1 -1
- package/cli/product.internal.json +1 -1
- package/cli/product.ioa.json +1 -1
- package/cli/product.json +1 -1
- package/cli/product.selfhosted.json +1 -1
- package/docs/client.md +62 -0
- package/docs/in-process.md +151 -14
- package/docs/server.md +40 -1
- package/executor/lib/capsule/THIRD_PARTY_LICENSES.md +2 -2
- package/executor/lib/capsule/entry.mjs +8 -8
- package/executor/lib/capsule/manifest.json +2 -2
- package/executor/lib/private-protocol.cjs +33 -2
- package/executor/lib/private-protocol.d.cts +21 -1
- package/executor/lib/types.d.cts +15 -0
- package/lib/agent/v2.d.ts +1 -1
- package/lib/agent/v2.js +1 -1
- package/lib/application/services.d.ts +13 -1
- package/lib/application/services.js +1 -1
- package/lib/cli/main.js +3 -3
- package/lib/client/rpc.d.ts +16 -0
- package/lib/components/functional-hooks.d.mts +4 -0
- package/lib/components/functional-hooks.mjs +1 -0
- package/lib/harness/create-harness.js +1 -1
- package/lib/harness/hooks.d.ts +8 -0
- package/lib/harness/hooks.js +1 -0
- package/lib/harness/runtime.js +1 -1
- package/lib/harness/types.d.ts +7 -2
- package/lib/integration/agent-integration.d.ts +5 -1
- package/lib/integration/agent-integration.js +1 -1
- package/lib/integration/client-mcp-attachment.d.ts +5 -1
- package/lib/integration/client-mcp-attachment.js +1 -1
- package/lib/integration/executor-supervisor.d.ts +10 -1
- package/lib/integration/executor-supervisor.js +1 -1
- package/lib/integration/session-mcp-scope.d.ts +5 -1
- package/lib/integration/session-mcp-scope.js +1 -1
- package/lib/integration/session-mcp-view.d.ts +6 -1
- package/lib/integration/session-mcp-view.js +1 -1
- package/lib/mcp-server/module.d.ts +22 -2
- package/lib/mcp-server/module.js +1 -1
- package/lib/mcp-server/rpcs.d.ts +174 -123
- package/lib/mcp-server/rpcs.js +1 -1
- package/lib/mcp-server/schemas.d.ts +33 -0
- package/lib/mcp-server/schemas.js +1 -1
- package/lib/protocol/rpc.d.ts +73 -3
- package/lib/public.d.ts +1 -1
- package/package.json +24 -20
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Logger } from '@celljs/core';
|
|
2
|
+
import { CliRuntimeOptions } from '../../../../../../node/cli/cli-runtime-options.js';
|
|
3
|
+
import { McpConfig } from '../../../../../../node/mcp/index.js';
|
|
4
|
+
import { Command } from '../../../../../product/lib/common/index.js';
|
|
5
|
+
import { PluginOptionsStorage } from '../plugin-options-storage.js';
|
|
6
|
+
import { PluginComponents, PluginErrorCollector, PluginInfo } from '../plugin-protocol.js';
|
|
7
|
+
import { AgentExtensionLoader } from './agent-loader.js';
|
|
8
|
+
import { CommandExtensionLoader } from './command-loader.js';
|
|
9
|
+
import { HookExtensionLoader } from './hook-loader.js';
|
|
10
|
+
import { LSPExtensionLoader } from './lsp-loader.js';
|
|
11
|
+
import { MCPExtensionLoader } from './mcp-loader.js';
|
|
12
|
+
import { OutputStyleExtensionLoader } from './output-style-loader.js';
|
|
13
|
+
import { SkillExtensionLoader } from './skill-loader.js';
|
|
14
|
+
/**
|
|
15
|
+
* 插件加载器管理器
|
|
16
|
+
* 统一协调各类型扩展加载器,根据pluginInfo对象的配置智能加载扩展
|
|
17
|
+
* 内部智能合并配置加载和文件扫描的结果
|
|
18
|
+
*/
|
|
19
|
+
export declare class PluginLoaderManager {
|
|
20
|
+
protected readonly logger: Logger;
|
|
21
|
+
protected readonly errorCollector: PluginErrorCollector;
|
|
22
|
+
protected readonly agentLoader: AgentExtensionLoader;
|
|
23
|
+
protected readonly commandLoader: CommandExtensionLoader;
|
|
24
|
+
protected readonly skillLoader: SkillExtensionLoader;
|
|
25
|
+
protected readonly hookLoader: HookExtensionLoader;
|
|
26
|
+
protected readonly mcpLoader: MCPExtensionLoader;
|
|
27
|
+
protected readonly lspLoader: LSPExtensionLoader;
|
|
28
|
+
protected readonly outputStyleLoader: OutputStyleExtensionLoader;
|
|
29
|
+
protected readonly pluginOptionsStorage?: PluginOptionsStorage;
|
|
30
|
+
protected readonly cliRuntimeOptions: CliRuntimeOptions;
|
|
31
|
+
protected init(): void;
|
|
32
|
+
/**
|
|
33
|
+
* 归一化路径配置:仅保留字符串路径,过滤掉非字符串项。
|
|
34
|
+
*
|
|
35
|
+
* 背景:plugin-manager 的 enrichPluginInfo 出于 REST 展示目的,会把
|
|
36
|
+
* `{ name, description }` 对象写入同一个 PluginInfo 的 skills/commands 字段
|
|
37
|
+
* (契约本应为路径字符串)。这些展示元数据并非可加载的路径,若直接透传给
|
|
38
|
+
* 各 loader 的 `join(extensionDir, path)` 会抛 ERR_INVALID_ARG_TYPE,进而被
|
|
39
|
+
* 上层 catch 静默吞掉,最终降级为「0 个技能/命令」。这里在消费边界做归一化,
|
|
40
|
+
* 把非字符串项剔除;当过滤后为空时返回 undefined,使 loader 回退到默认目录扫描。
|
|
41
|
+
*/
|
|
42
|
+
private normalizePathConfig;
|
|
43
|
+
private createPluginEnvironment;
|
|
44
|
+
private loadPluginCommandsWithEnvironment;
|
|
45
|
+
/**
|
|
46
|
+
* Load only slash commands from one already-resolved Plugin path. This is
|
|
47
|
+
* the runtime-parity boundary used by pre-session management discovery; it
|
|
48
|
+
* deliberately does not inspect hooks, MCP bundles, LSP or other Plugin
|
|
49
|
+
* components.
|
|
50
|
+
*/
|
|
51
|
+
loadPluginCommands(pluginInfo: PluginInfo, pluginPath: string, projectDir: string): Promise<Command[]>;
|
|
52
|
+
/**
|
|
53
|
+
* Load only MCP declarations from one already-resolved Plugin path.
|
|
54
|
+
*
|
|
55
|
+
* Resource discovery uses this narrow boundary to describe Plugin MCP to
|
|
56
|
+
* the Harness-owned connection plane without activating the rest of the
|
|
57
|
+
* Plugin runtime or publishing the descriptors into this process's MCP
|
|
58
|
+
* manager. An ordinary Agent runtime can still load and connect its own
|
|
59
|
+
* Plugin MCP through {@link loadPluginComponents} when strict MCP config is
|
|
60
|
+
* disabled.
|
|
61
|
+
*/
|
|
62
|
+
loadPluginMcpServers(pluginInfo: PluginInfo, pluginPath: string, projectDir: string, environment: Readonly<NodeJS.ProcessEnv>): Promise<Record<string, McpConfig>>;
|
|
63
|
+
/**
|
|
64
|
+
* 从插件信息加载所有组件
|
|
65
|
+
* 根据pluginInfo对象中的配置字段决定加载哪些扩展
|
|
66
|
+
* 各加载器内部会智能合并配置和文件扫描的结果
|
|
67
|
+
*
|
|
68
|
+
* @param pluginInfo 插件信息对象,包含name、description及agents/commands/skills/hooks/mcpServers等配置
|
|
69
|
+
* @param pluginPath 插件安装路径
|
|
70
|
+
* @returns PluginComponents 包含所有加载的扩展组件
|
|
71
|
+
*/
|
|
72
|
+
loadPluginComponents(pluginInfo: PluginInfo, pluginPath: string): Promise<PluginComponents>;
|
|
73
|
+
}
|
package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/loaders/skill-loader.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Logger } from '@celljs/core';
|
|
2
|
+
import { Skill } from '../../../../../product/lib/common/index.js';
|
|
3
|
+
import { PluginEnvironmentContext } from '../plugin-environment.js';
|
|
4
|
+
import { PluginErrorCollector, PluginExtensionType } from '../plugin-protocol.js';
|
|
5
|
+
/**
|
|
6
|
+
* Skill 扩展加载器
|
|
7
|
+
* 从扩展目录的 skills 子目录中加载 skill 配置
|
|
8
|
+
* 支持配置路径和默认扫描的合并
|
|
9
|
+
*/
|
|
10
|
+
export declare class SkillExtensionLoader {
|
|
11
|
+
readonly type = PluginExtensionType.Skill;
|
|
12
|
+
protected readonly logger: Logger;
|
|
13
|
+
protected readonly errorCollector: PluginErrorCollector;
|
|
14
|
+
protected init(): void;
|
|
15
|
+
/**
|
|
16
|
+
* 加载 skills
|
|
17
|
+
* 如果提供了 skillPaths 配置,则加载指定路径;否则默认扫描 skills 目录
|
|
18
|
+
* 两种方式的结果会被合并
|
|
19
|
+
* @param extensionDir 扩展目录路径
|
|
20
|
+
* @param extensionName 扩展名称(用于标记)
|
|
21
|
+
* @param skillPaths 可选的 skill 路径配置数组,相对于 extensionDir
|
|
22
|
+
* @returns Skill 数组
|
|
23
|
+
*/
|
|
24
|
+
load(extensionDir: string, extensionName: string, skillPaths?: string[], pluginEnvironment?: PluginEnvironmentContext): Promise<Skill[]>;
|
|
25
|
+
/**
|
|
26
|
+
* 从指定的 skill 路径加载
|
|
27
|
+
* @param extensionDir 扩展目录路径
|
|
28
|
+
* @param extensionName 扩展名称
|
|
29
|
+
* @param skillPaths skill 路径配置数组
|
|
30
|
+
* @param loadedPaths 已加载的路径集合,用于去重
|
|
31
|
+
* @returns Skill 数组
|
|
32
|
+
*/
|
|
33
|
+
private loadFromPaths;
|
|
34
|
+
private pathExists;
|
|
35
|
+
unload(extensionName: string): Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* Maximum recursion depth for scanning nested skill directories.
|
|
38
|
+
*/
|
|
39
|
+
private static readonly MAX_SCAN_DEPTH;
|
|
40
|
+
private scanSkillsDirectory;
|
|
41
|
+
private getSkillLoadConcurrency;
|
|
42
|
+
private isDirectoryEntry;
|
|
43
|
+
private isFileEntry;
|
|
44
|
+
private parseSkillFile;
|
|
45
|
+
}
|
package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplace-name-validator.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 官方市场名称保护 - 四层防御
|
|
3
|
+
*
|
|
4
|
+
* 防止第三方冒充官方市场:
|
|
5
|
+
* 1. 白名单 - 官方保留名称
|
|
6
|
+
* 2. 黑名单模式 - 正则模式匹配冒充名称
|
|
7
|
+
* 3. 同形攻击防护 - 检测 Unicode 非 ASCII 字符
|
|
8
|
+
* 4. 源验证 - 官方名称必须来自可信源
|
|
9
|
+
*
|
|
10
|
+
* 参考: Claude Code schemas.ts:1-157
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 官方保留市场名称
|
|
14
|
+
* 仅官方市场允许使用这些名称,第三方注册会被拒绝
|
|
15
|
+
*/
|
|
16
|
+
export declare const ALLOWED_OFFICIAL_MARKETPLACE_NAMES: Set<string>;
|
|
17
|
+
/**
|
|
18
|
+
* 检测冒充官方名称的正则模式
|
|
19
|
+
*
|
|
20
|
+
* 匹配以下变体:
|
|
21
|
+
* - "official" + "codebuddy/anthropic/claude" (如 "official-codebuddy-plugins")
|
|
22
|
+
* - "codebuddy/anthropic/claude" + "official" (如 "claude-official")
|
|
23
|
+
* - "codebuddy/anthropic/claude" 开头 + 官方后缀 (如 "anthropic-marketplace-new")
|
|
24
|
+
*/
|
|
25
|
+
export declare const BLOCKED_OFFICIAL_NAME_PATTERN: RegExp;
|
|
26
|
+
/**
|
|
27
|
+
* 检查市场名称是否冒充官方名称
|
|
28
|
+
*
|
|
29
|
+
* @param name 市场名称
|
|
30
|
+
* @returns true 表示被阻止(冒充),false 表示允许
|
|
31
|
+
*/
|
|
32
|
+
export declare function isBlockedOfficialName(name: string): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* 验证官方名称的来源是否可信
|
|
35
|
+
* 官方保留名称只能从可信的 GitHub 组织或官方 CDN 路径注册
|
|
36
|
+
*
|
|
37
|
+
* @param name 市场名称
|
|
38
|
+
* @param source 市场源地址 (GitHub URL、org/repo 格式、或官方 CDN URL)
|
|
39
|
+
* @returns true 表示来源可信,false 表示不可信
|
|
40
|
+
*/
|
|
41
|
+
export declare function validateOfficialNameSource(name: string, source?: string): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* 检查是否为官方市场名称(用于自动更新默认值等)
|
|
44
|
+
*/
|
|
45
|
+
export declare function isOfficialMarketplace(name: string): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* 检查市场是否默认启用自动更新
|
|
48
|
+
* 官方市场默认启用(除了明确排除的),第三方默认不启用
|
|
49
|
+
*/
|
|
50
|
+
export declare function isMarketplaceAutoUpdateDefault(marketplaceName: string, autoUpdate?: boolean): boolean;
|
package/cli/dist-server/types/workspace/cbc-plugins/lib/node/plugins/marketplace-path-safety.d.ts
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { MarketplaceInfo, MarketplaceType } from './plugin-protocol.js';
|
|
2
|
+
export declare function getMarketplacesRoot(homePluginsDir?: string): string;
|
|
3
|
+
/**
|
|
4
|
+
* Require a single non-empty path segment. Unicode/spaces are allowed; unsafe
|
|
5
|
+
* input is rejected rather than sanitized. Prefer {@link resolveMarketplaceInstallDir}
|
|
6
|
+
* when you also need the directory; call this alone only to validate a name
|
|
7
|
+
* without resolving a path (e.g. adopting an in-memory display name).
|
|
8
|
+
*/
|
|
9
|
+
export declare function assertSafePathSegment(value: unknown, label?: string): void;
|
|
10
|
+
/**
|
|
11
|
+
* Plugin names used in `join(marketplaceRoot, 'plugins', name)` must be a
|
|
12
|
+
* single safe identifier (same rule as Local/Git installers).
|
|
13
|
+
*/
|
|
14
|
+
export declare function assertSafePluginName(name: unknown): void;
|
|
15
|
+
/**
|
|
16
|
+
* Resolve `segments` under `baseDir` and reject any path that escapes the root
|
|
17
|
+
* (Zip Slip / `../` / absolute segments). By default the result must be a
|
|
18
|
+
* strict child of `baseDir` (the root itself is not a valid install target).
|
|
19
|
+
*
|
|
20
|
+
* Pass `{ allowRoot: true }` for local plugin sources like `"."` / `"./"` where
|
|
21
|
+
* the marketplace root is also the plugin root.
|
|
22
|
+
*/
|
|
23
|
+
export declare function resolveContainedPath(baseDir: string, ...segments: string[]): string;
|
|
24
|
+
/** Same as {@link resolveContainedPath}, but `"."` / `"./"` may resolve to `baseDir`. */
|
|
25
|
+
export declare function resolveContainedPathAllowingRoot(baseDir: string, ...segments: string[]): string;
|
|
26
|
+
/** Resolve `marketplaces/<name>` after a single segment check. Do not pre-assert. */
|
|
27
|
+
export declare function resolveMarketplaceInstallDir(marketplacesRoot: string, name: unknown): string;
|
|
28
|
+
/**
|
|
29
|
+
* Persisted `installLocation` for non-directory marketplaces must stay inside
|
|
30
|
+
* `plugins/marketplaces`. Poisoned config must fail closed — never delete or
|
|
31
|
+
* update paths outside the root.
|
|
32
|
+
*/
|
|
33
|
+
export declare function assertInstallLocationInsideMarketplacesRoot(installLocation: string, marketplacesRoot?: string): void;
|
|
34
|
+
export declare function isInstallLocationInsideMarketplacesRoot(installLocation: string, marketplacesRoot?: string): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Resolve existing paths (or the nearest existing ancestor) via realpath and
|
|
37
|
+
* ensure the final target stays inside the marketplaces root. Blocks
|
|
38
|
+
* symlink/junction escapes that string containment alone would miss.
|
|
39
|
+
*
|
|
40
|
+
* Fail-closed: only ENOENT walks to a parent (first install / missing dest).
|
|
41
|
+
* EACCES, ELOOP, and other realpath failures refuse the operation.
|
|
42
|
+
*/
|
|
43
|
+
export declare function assertRealInstallLocationInsideMarketplacesRoot(installLocation: string, marketplacesRoot?: string): Promise<void>;
|
|
44
|
+
export declare function isDirectoryMarketplaceType(type: MarketplaceType | string | undefined): boolean;
|
|
45
|
+
export declare function isGeneratedMarketplaceSourceStagingName(name: string): boolean;
|
|
46
|
+
/** Resolve the one durable source directory for a managed marketplace. */
|
|
47
|
+
export declare function resolveStableMarketplaceInstallLocation(marketplace: Pick<MarketplaceInfo, 'name' | 'storageName'>, homePluginsDir?: string): string;
|
|
48
|
+
/**
|
|
49
|
+
* Detect the layout accidentally persisted by older clients after they used a
|
|
50
|
+
* transaction-local `source-*` directory as the final marketplace directory.
|
|
51
|
+
*/
|
|
52
|
+
export declare function isLegacyMarketplaceSourceStagingLocation(marketplace: Pick<MarketplaceInfo, 'type' | 'source' | 'installLocation'>, homePluginsDir?: string): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Check whether a persisted remote marketplace points at a complete local
|
|
55
|
+
* source snapshot.
|
|
56
|
+
*
|
|
57
|
+
* Directory marketplaces are declarations of a host-owned live directory,
|
|
58
|
+
* not copied source snapshots. Keep their registry entry even while that
|
|
59
|
+
* directory is temporarily unavailable so already-materialized plugin caches
|
|
60
|
+
* remain usable. Remote marketplaces, however, must have a readable catalog and every
|
|
61
|
+
* catalog-local plugin directory before reconcile may call them installed.
|
|
62
|
+
*/
|
|
63
|
+
export declare function isMarketplaceMaterialized(info: Pick<MarketplaceInfo, 'type' | 'source' | 'installLocation'>, marketplacesRoot?: string): Promise<boolean>;
|
|
64
|
+
/**
|
|
65
|
+
* Non-directory marketplaces may only persist install paths under marketplaces root.
|
|
66
|
+
* Uses realpath so a junction/symlink that only *looks* contained is still rejected (#71947).
|
|
67
|
+
*/
|
|
68
|
+
export declare function isLoadableInstallLocation(info: {
|
|
69
|
+
type?: MarketplaceType | string;
|
|
70
|
+
source?: {
|
|
71
|
+
source?: string;
|
|
72
|
+
};
|
|
73
|
+
installLocation?: string;
|
|
74
|
+
}, marketplacesRoot: string): Promise<boolean>;
|
|
75
|
+
/**
|
|
76
|
+
* Refuse to persist a non-directory marketplace whose installLocation escapes the
|
|
77
|
+
* marketplaces root — including via symlink/junction (#71947).
|
|
78
|
+
*/
|
|
79
|
+
export declare function assertSavableInstallLocation(marketplace: {
|
|
80
|
+
name: string;
|
|
81
|
+
type?: MarketplaceType | string;
|
|
82
|
+
source?: {
|
|
83
|
+
source?: string;
|
|
84
|
+
};
|
|
85
|
+
installLocation?: string;
|
|
86
|
+
}, marketplacesRoot?: string): Promise<void>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ContainerUtil } from '@celljs/core';
|
|
2
|
+
import { Marketplace, MarketplaceInfo, MarketplaceManifest, MarketplaceSource, MarketplaceType, PluginInfo, ProgressCallback } from '../plugin-protocol.js';
|
|
3
|
+
/**
|
|
4
|
+
* 市场实体类
|
|
5
|
+
*/
|
|
6
|
+
export declare class BaseMarketplace implements Marketplace {
|
|
7
|
+
protected componentServices?: typeof ContainerUtil;
|
|
8
|
+
protected get services(): typeof ContainerUtil;
|
|
9
|
+
name: string;
|
|
10
|
+
storageName: string;
|
|
11
|
+
manifestName?: string;
|
|
12
|
+
/** 见 {@link MarketplaceInfo.declaredName}。 */
|
|
13
|
+
declaredName?: string;
|
|
14
|
+
type: MarketplaceType;
|
|
15
|
+
source: MarketplaceSource;
|
|
16
|
+
installLocation: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
lastUpdated?: string;
|
|
19
|
+
isBuiltIn?: boolean;
|
|
20
|
+
autoUpdate?: boolean;
|
|
21
|
+
manifest?: MarketplaceManifest;
|
|
22
|
+
constructor();
|
|
23
|
+
init(marketplaceInfo: MarketplaceInfo): void;
|
|
24
|
+
loadManifest(): Promise<void>;
|
|
25
|
+
install(onProgress?: ProgressCallback): Promise<void>;
|
|
26
|
+
update(onProgress?: ProgressCallback): Promise<boolean>;
|
|
27
|
+
/**
|
|
28
|
+
* 列出市场中的所有插件
|
|
29
|
+
* 仅返回marketplace.json中定义的插件元数据,不执行安装
|
|
30
|
+
* 实际安装由PluginManager通过PluginInstaller完成
|
|
31
|
+
*/
|
|
32
|
+
listPlugins(): Promise<PluginInfo[]>;
|
|
33
|
+
/**
|
|
34
|
+
* 获取指定插件信息
|
|
35
|
+
* @param pluginName 插件名称
|
|
36
|
+
* @returns 插件信息,如果不存在则抛出异常
|
|
37
|
+
*/
|
|
38
|
+
getPlugin(pluginName: string): Promise<PluginInfo | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* 转换为JSON对象
|
|
41
|
+
*
|
|
42
|
+
* 注意:必须包含 `storageName`,否则 marketplace 信息一旦经过 toJSON()
|
|
43
|
+
*(例如对外 API 响应、跨进程消息、缓存持久化)就会丢失稳定 ID。
|
|
44
|
+
* `name` 在 loadManifest() 后会被 manifest.name 覆盖,是不稳定字段,
|
|
45
|
+
* 不能作为外部唯一标识使用。
|
|
46
|
+
*/
|
|
47
|
+
toJSON(): MarketplaceInfo;
|
|
48
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ContainerUtil } from '@celljs/core';
|
|
2
|
+
import { ProductConfigurationContext } from '../../../../../product/lib/common/index.js';
|
|
3
|
+
import { Logger } from '../../../../../telemetry/lib/common/index.js';
|
|
4
|
+
import { BuiltInMarketplaceProvider, MarketplaceConfigEntry, MarketplaceSource } from '../plugin-protocol.js';
|
|
5
|
+
export declare class BuiltInMarketplaceProviderImpl implements BuiltInMarketplaceProvider {
|
|
6
|
+
protected componentServices?: typeof ContainerUtil;
|
|
7
|
+
protected get services(): typeof ContainerUtil;
|
|
8
|
+
protected readonly logger: Logger;
|
|
9
|
+
protected readonly executionConfiguration?: ProductConfigurationContext;
|
|
10
|
+
/**
|
|
11
|
+
* 绑定配置身份,靠每轮同步发布的新快照自然失效。裸 Set 会把"配置里暂时没有内置市场"
|
|
12
|
+
* (定制版 `builtInMarketplaces: {}` 即此形态)固化成空集,之后永远判不出内置市场(#119844)。
|
|
13
|
+
*/
|
|
14
|
+
private builtInNamesCache?;
|
|
15
|
+
protected init(): void;
|
|
16
|
+
/**
|
|
17
|
+
* 只读已发布配置:`getCurrentConfiguration()` 会暴露 doSync 逐个 provider 合并的中间态
|
|
18
|
+
* (打包 product.json 已合并、ENV 下发的带版本号 URL 尚未覆盖),据此对比会误判 source
|
|
19
|
+
* 变化并整包重装(#119844)。
|
|
20
|
+
*
|
|
21
|
+
* 尚未发布时返回 undefined 而不是回退读中间态:此时没有任何一层声明过期望状态,猜一个
|
|
22
|
+
* 出来就会按从未被声明的状态改写共享的市场存储。首次发布必然 fire `onDidChange`,
|
|
23
|
+
* 热加载会补跑安装(PluginManager 的 `wait-builtin-marketplace-refresh` 阶段)。
|
|
24
|
+
*/
|
|
25
|
+
private getPublishedConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* #83869 builtin 市场静态资源 URL(市场 zip / version / meta)解析:
|
|
28
|
+
* enterprise 模式(UseEnterpriseDownloadSource + endpoint 就绪)下命中 SaaS
|
|
29
|
+
* 静态域名表的 URL 整域名改写为 {endpoint}{path};saas / 未命中原样返回。
|
|
30
|
+
* 幂等:已改写的企业 URL 不会二次改写。
|
|
31
|
+
*/
|
|
32
|
+
private resolveMarketplaceUrl;
|
|
33
|
+
/**
|
|
34
|
+
* 获取所有内置市场配置
|
|
35
|
+
* 将对象结构转换为带名称的数组结构
|
|
36
|
+
*/
|
|
37
|
+
getBuiltInMarketplaces(): Promise<MarketplaceConfigEntry[]>;
|
|
38
|
+
/**
|
|
39
|
+
* 检查指定市场是否为内置市场
|
|
40
|
+
*/
|
|
41
|
+
isBuiltInMarketplace(name: string): Promise<boolean>;
|
|
42
|
+
getVersionUrl(name: string): Promise<string | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* 将市场配置转换为 MarketplaceSource
|
|
45
|
+
*/
|
|
46
|
+
toMarketplaceSource(config: MarketplaceConfigEntry): MarketplaceSource;
|
|
47
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PluginInfo, ProgressCallback } from '../plugin-protocol.js';
|
|
2
|
+
import { BaseMarketplace } from './base-marketplace.js';
|
|
3
|
+
/**
|
|
4
|
+
* 目录类型的市场实现类
|
|
5
|
+
*/
|
|
6
|
+
export declare class DirectoryMarketplace extends BaseMarketplace {
|
|
7
|
+
private pluginListCache?;
|
|
8
|
+
private pluginListLoading?;
|
|
9
|
+
private pluginListGeneration;
|
|
10
|
+
clearPluginListCache(): void;
|
|
11
|
+
install(onProgress?: ProgressCallback): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* 列出市场中的所有插件
|
|
14
|
+
*/
|
|
15
|
+
listPlugins(): Promise<PluginInfo[]>;
|
|
16
|
+
private loadPluginList;
|
|
17
|
+
private findPluginManifestPath;
|
|
18
|
+
private clonePlugins;
|
|
19
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Logger } from '../../../../../telemetry/lib/common/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Probes whether the local `git` executable is invokable.
|
|
4
|
+
*
|
|
5
|
+
* The result is cached for the lifetime of the process; concurrent callers
|
|
6
|
+
* share a single probe promise. Callers that want a fresh answer (for
|
|
7
|
+
* example after an in-app "install git" action) can call
|
|
8
|
+
* {@link invalidateCache}.
|
|
9
|
+
*
|
|
10
|
+
* The probe is guarded by a short timeout. On slow machines this trades a
|
|
11
|
+
* tiny chance of a false negative for a hard upper bound on how long
|
|
12
|
+
* marketplace installation waits before deciding to fall back to Zip.
|
|
13
|
+
*
|
|
14
|
+
* On macOS the probe first checks — WITHOUT executing git — whether the
|
|
15
|
+
* resolved `git` is merely the Apple Command Line Tools shim while the tools
|
|
16
|
+
* are absent. In that case it reports git as unavailable instead of running
|
|
17
|
+
* the shim, which would otherwise trigger the "install developer tools"
|
|
18
|
+
* dialog. `xcode-select -p` is used for the tools-presence check; unlike
|
|
19
|
+
* `git`/`xcode-select --install`, it never triggers the GUI prompt.
|
|
20
|
+
*/
|
|
21
|
+
export declare class GitAvailabilityDetector {
|
|
22
|
+
protected readonly logger: Logger;
|
|
23
|
+
/**
|
|
24
|
+
* Upper bound on the `git --version` probe. 5s is generous for a
|
|
25
|
+
* process-start benchmark yet short enough that users do not perceive
|
|
26
|
+
* a stall when git is absent but reported by shims that hang.
|
|
27
|
+
*/
|
|
28
|
+
private static readonly DETECTION_TIMEOUT_MS;
|
|
29
|
+
private probePromise;
|
|
30
|
+
/** Returns true when `git --version` exits successfully within the timeout. */
|
|
31
|
+
isAvailable(): Promise<boolean>;
|
|
32
|
+
/** Clears the cached probe result so the next {@link isAvailable} call re-probes. */
|
|
33
|
+
invalidateCache(): void;
|
|
34
|
+
private probe;
|
|
35
|
+
/**
|
|
36
|
+
* macOS-only: decide whether executing `git` is safe (i.e. will not trigger
|
|
37
|
+
* the Command Line Tools install dialog).
|
|
38
|
+
*
|
|
39
|
+
* - No `git` anywhere on PATH → not safe (nothing to run anyway).
|
|
40
|
+
* - `git` resolves to a real binary (Homebrew/MacPorts/…, i.e. anything
|
|
41
|
+
* other than {@link MACOS_GIT_STUB_PATH}) → safe.
|
|
42
|
+
* - `git` resolves to the Apple shim → safe only when the Command Line
|
|
43
|
+
* Tools / Xcode developer directory is actually configured.
|
|
44
|
+
*/
|
|
45
|
+
private isMacGitSafeToExecute;
|
|
46
|
+
/**
|
|
47
|
+
* Resolve the `git` executable the same way the OS would when spawning it:
|
|
48
|
+
* the first executable named `git` across `PATH`. Pure filesystem lookup —
|
|
49
|
+
* it never executes anything, so it cannot trigger the macOS prompt.
|
|
50
|
+
*
|
|
51
|
+
* Returns the absolute candidate path, or undefined when none is found.
|
|
52
|
+
*/
|
|
53
|
+
private resolveGitOnPath;
|
|
54
|
+
/**
|
|
55
|
+
* Whether the macOS Command Line Tools (or Xcode) developer directory is
|
|
56
|
+
* configured. Uses `xcode-select -p`, which prints the active developer
|
|
57
|
+
* directory or exits non-zero when the tools are absent — and crucially
|
|
58
|
+
* does NOT trigger the install dialog (only `xcode-select --install` or
|
|
59
|
+
* running a shim binary does).
|
|
60
|
+
*/
|
|
61
|
+
private isCommandLineToolsInstalled;
|
|
62
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Logger } from '../../../../../telemetry/lib/common/index.js';
|
|
2
|
+
import { MarketplaceSource } from '../plugin-protocol.js';
|
|
3
|
+
import { GitAvailabilityDetector } from './git-availability-detector.js';
|
|
4
|
+
import { GitToZipUrlConverter } from './git-to-zip-url-converter.js';
|
|
5
|
+
/**
|
|
6
|
+
* Facade that decides whether a Git/Github marketplace source should be
|
|
7
|
+
* silently rewritten to a Zip source because the local `git` executable is
|
|
8
|
+
* not available.
|
|
9
|
+
*
|
|
10
|
+
* The rewrite is intentionally applied as early as possible in
|
|
11
|
+
* {@link PluginManagerImpl.addMarketplace} — before the marketplace info is
|
|
12
|
+
* persisted to disk — so that the on-disk state reflects the actual install
|
|
13
|
+
* method. This keeps subsequent `updateMarketplace`, autoUpdate and startup
|
|
14
|
+
* load paths on the Zip code path without requiring any per-path patches.
|
|
15
|
+
*
|
|
16
|
+
* See `apps/workbuddy-desktop/docs/refactor/marketplace/09-git-to-zip-fallback-design.md`
|
|
17
|
+
* for the full design.
|
|
18
|
+
*/
|
|
19
|
+
export declare class GitFallbackCoordinator {
|
|
20
|
+
protected readonly logger: Logger;
|
|
21
|
+
protected readonly detector: GitAvailabilityDetector;
|
|
22
|
+
protected readonly converter: GitToZipUrlConverter;
|
|
23
|
+
/**
|
|
24
|
+
* When the input is a Git/Github source and the local git is unavailable,
|
|
25
|
+
* return a new Zip source targeting the platform's archive URL. Otherwise
|
|
26
|
+
* return the input unchanged.
|
|
27
|
+
*
|
|
28
|
+
* Warnings are emitted (but no error is thrown) when git is unavailable
|
|
29
|
+
* but no conversion is possible; the original source is returned so the
|
|
30
|
+
* subsequent Git install can surface its native error message to the user.
|
|
31
|
+
*
|
|
32
|
+
* @param src Source produced by {@link PluginManagerImpl.parseSource}.
|
|
33
|
+
* @param displayName Optional marketplace name used only for logging.
|
|
34
|
+
*/
|
|
35
|
+
maybeFallback(src: MarketplaceSource, displayName?: string): Promise<MarketplaceSource>;
|
|
36
|
+
/**
|
|
37
|
+
* Extract a usable reference string from a Git/Github source. Prefers
|
|
38
|
+
* the most explicit form (`url`) and falls back through `path` and
|
|
39
|
+
* `repo` shorthand.
|
|
40
|
+
*/
|
|
41
|
+
private extractUrl;
|
|
42
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A single platform's rule for translating a Git repository URL to a ZIP
|
|
3
|
+
* download URL. Rules are matched by hostname and applied in registration
|
|
4
|
+
* order (newest first, see {@link GitToZipUrlConverter.registerRule}).
|
|
5
|
+
*/
|
|
6
|
+
export interface GitPlatformRule {
|
|
7
|
+
/** Human-readable rule identifier, used in logs and tests. */
|
|
8
|
+
readonly name: string;
|
|
9
|
+
/** Return true when this rule applies to the given lower-cased hostname. */
|
|
10
|
+
match(hostname: string): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Build the ZIP download URL.
|
|
13
|
+
*
|
|
14
|
+
* @param host Host with optional port, as returned by `URL#host`.
|
|
15
|
+
* @param pathname Repository pathname with leading `/` and no trailing `/`.
|
|
16
|
+
*/
|
|
17
|
+
convert(host: string, pathname: string): string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Converts Git-style references (http(s) URLs, SSH URLs, or `owner/repo`
|
|
21
|
+
* shorthand) into archive download URLs understood by {@link ZipMarketplace}.
|
|
22
|
+
*
|
|
23
|
+
* Rule set is intentionally aligned with the reference table in
|
|
24
|
+
* `packages/agent-craft/src/common/plugin/plugin-manager.ts` so the two
|
|
25
|
+
* implementations stay behaviour-compatible.
|
|
26
|
+
*
|
|
27
|
+
* The converter does not know whether git is available; that decision is
|
|
28
|
+
* made by {@link GitFallbackCoordinator}.
|
|
29
|
+
*/
|
|
30
|
+
export declare class GitToZipUrlConverter {
|
|
31
|
+
private readonly rules;
|
|
32
|
+
/**
|
|
33
|
+
* Register an additional rule. Newer rules take precedence over built-ins
|
|
34
|
+
* so callers can override default behaviour for a specific host.
|
|
35
|
+
*/
|
|
36
|
+
registerRule(rule: GitPlatformRule): void;
|
|
37
|
+
/**
|
|
38
|
+
* Convert a Git reference to a ZIP archive URL.
|
|
39
|
+
*
|
|
40
|
+
* Accepts:
|
|
41
|
+
* - `https://host/owner/repo` / `https://host/owner/repo.git`
|
|
42
|
+
* - `git@host:owner/repo(.git)?`
|
|
43
|
+
* - `owner/repo` shorthand (assumed to be GitHub)
|
|
44
|
+
*
|
|
45
|
+
* Returns `undefined` when the host is not recognised or the input is
|
|
46
|
+
* not parseable as any of the accepted forms.
|
|
47
|
+
*/
|
|
48
|
+
convert(input: string): string | undefined;
|
|
49
|
+
private normaliseToHttpUrl;
|
|
50
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ProgressCallback } from '../plugin-protocol.js';
|
|
2
|
+
import { DirectoryMarketplace } from './directory-marketplace.js';
|
|
3
|
+
/**
|
|
4
|
+
* GitHub类型的市场实现类
|
|
5
|
+
*/
|
|
6
|
+
export declare class GithubMarketplace extends DirectoryMarketplace {
|
|
7
|
+
/**
|
|
8
|
+
* 安装或更新GitHub仓库到本地
|
|
9
|
+
*/
|
|
10
|
+
install(onProgress?: ProgressCallback): Promise<void>;
|
|
11
|
+
/**
|
|
12
|
+
* clone 完成后根据 marketplace.json 里的 name rename 目录。
|
|
13
|
+
*
|
|
14
|
+
* 不复用 HttpMarketplace 的 tempLocation 预建方式:Git marketplace 的 manifest
|
|
15
|
+
* 是随 clone 一并下来的,install 开始时读不到 —— 因此只能在 update() 之后回头调整。
|
|
16
|
+
*
|
|
17
|
+
* rename 失败不抛异常:clone 已成功,稳住旧目录名仍可继续工作,由上层的
|
|
18
|
+
* known_marketplaces.json 记录 installLocation 做后续定位。
|
|
19
|
+
* 不安全的 manifest.name(路径穿越)忽略,同样保留 slug 目录 (#71947)。
|
|
20
|
+
*/
|
|
21
|
+
private renameToManifestName;
|
|
22
|
+
/**
|
|
23
|
+
* 读取 installLocation 下的 marketplace.json 获取 name 字段
|
|
24
|
+
* 遍历所有支持的 metadata 目录(.codebuddy-plugin / .claude-plugin)
|
|
25
|
+
*/
|
|
26
|
+
private readManifestName;
|
|
27
|
+
private readMarketplaceManifest;
|
|
28
|
+
update(onProgress?: ProgressCallback): Promise<boolean>;
|
|
29
|
+
private readRepoState;
|
|
30
|
+
/**
|
|
31
|
+
* 克隆Git仓库
|
|
32
|
+
* clone 失败时清理残留目录,避免后续 update 误判为已有仓库
|
|
33
|
+
*/
|
|
34
|
+
private cloneRepo;
|
|
35
|
+
private swapDirectoryFromStaging;
|
|
36
|
+
/**
|
|
37
|
+
* 获取Git URL
|
|
38
|
+
* 从source中提取Git仓库地址
|
|
39
|
+
*/
|
|
40
|
+
private getGitUrl;
|
|
41
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ProgressCallback } from '../plugin-protocol.js';
|
|
2
|
+
import { DirectoryMarketplace } from './directory-marketplace.js';
|
|
3
|
+
/**
|
|
4
|
+
* HTTP类型的市场实现类
|
|
5
|
+
*/
|
|
6
|
+
export declare class HttpMarketplace extends DirectoryMarketplace {
|
|
7
|
+
/** 上次成功命中的远端元数据目录,用于后续插件探测时优先尝试 */
|
|
8
|
+
private detectedMetaDir?;
|
|
9
|
+
/**
|
|
10
|
+
* 安装或更新HTTP市场到本地
|
|
11
|
+
* HTTP市场需要下载marketplace.json和所有插件的plugin.json到本地缓存
|
|
12
|
+
*/
|
|
13
|
+
install(onProgress?: ProgressCallback): Promise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* 更新HTTP市场
|
|
16
|
+
* 重新下载marketplace.json和插件信息
|
|
17
|
+
*/
|
|
18
|
+
update(onProgress?: ProgressCallback): Promise<boolean>;
|
|
19
|
+
/**
|
|
20
|
+
* 获取marketplace.json内容
|
|
21
|
+
*/
|
|
22
|
+
private fetchManifest;
|
|
23
|
+
/**
|
|
24
|
+
* 下载marketplace.json到本地
|
|
25
|
+
*/
|
|
26
|
+
private downloadManifest;
|
|
27
|
+
private downloadPluginManifest;
|
|
28
|
+
private fetchJson;
|
|
29
|
+
/** Compare complete metadata snapshots so a successful no-op refresh stays idempotent. */
|
|
30
|
+
private haveSameSnapshot;
|
|
31
|
+
private readSnapshotFiles;
|
|
32
|
+
/**
|
|
33
|
+
* 根据URL生成临时名称(用于初始下载)
|
|
34
|
+
*/
|
|
35
|
+
private generateNameFromUrl;
|
|
36
|
+
/**
|
|
37
|
+
* 获取HTTP URL
|
|
38
|
+
* 从source中提取HTTP地址,source.url实际指向marketplace.json
|
|
39
|
+
*/
|
|
40
|
+
private getHttpUrl;
|
|
41
|
+
/**
|
|
42
|
+
* 构建完整URL
|
|
43
|
+
*/
|
|
44
|
+
private buildUrl;
|
|
45
|
+
private swapDirectoryFromStaging;
|
|
46
|
+
private safeRemove;
|
|
47
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './base-marketplace.js';
|
|
2
|
+
export * from './directory-marketplace.js';
|
|
3
|
+
export * from './github-marketplace.js';
|
|
4
|
+
export * from './http-marketplace.js';
|
|
5
|
+
export * from './zip-marketplace.js';
|
|
6
|
+
export * from './marketplace-factory.js';
|
|
7
|
+
export * from './marketplace-storage.js';
|
|
8
|
+
export * from './marketplace-config-manager.js';
|
|
9
|
+
export * from './marketplace-update-checker.js';
|
|
10
|
+
export * from './builtin-marketplace-provider.js';
|
|
11
|
+
export * from './git-availability-detector.js';
|
|
12
|
+
export * from './git-to-zip-url-converter.js';
|
|
13
|
+
export * from './git-fallback-coordinator.js';
|