From 662485c3ebda3f946aa6de7f1e3a2fc80ad60181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E9=98=BF=E6=B1=9F=28Relakkes?= =?UTF-8?q?=29?= Date: Sun, 12 Apr 2026 00:05:39 +0800 Subject: [PATCH] experiment(desktop): static-import sidecars + drop src/ + node_modules/ from bundle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cuts the macOS .app from 435MB → 152MB (-65%) and the DMG from 113MB → 60MB (-47%) by inlining src/server and src/entrypoints/cli into the bun-compiled sidecar binaries instead of dynamic-importing them from disk at runtime. Architectural change ==================== Before: desktop/sidecars/server-launcher.ts → bun build --compile (≈57MB shell) └─ at runtime: dynamic file:// import of /src/server/index.ts which transitively requires ALL of src/ + the entire root node_modules/ to be shipped as Resource. tauri.conf.json copied 254M of node_modules and 47M of src/ into Contents/Resources/app/ on every build. After: desktop/sidecars/server-launcher.ts → bun build --compile (≈65MB) └─ uses `await import('../../src/server/index.ts')` with a literal specifier so bun's bundler walks the whole graph statically and inlines everything into the binary. Same treatment for cli-launcher.ts → src/entrypoints/cli.tsx. Resolver gymnastics =================== This fork carries dozens of ant-internal feature() gated require/import calls referencing modules that simply don't exist on disk (cachedMicrocompact, devtools, proactive, coordinator, etc). Bun's resolver walks the static dep graph BEFORE bun:bundle macro DCE, so even though the dead branches never execute at runtime, they still fail to resolve at compile time. Two complementary mechanisms: 1. desktop/scripts/scan-missing-imports.ts walks src/, regex-greps every relative import / require / type-import specifier, and writes a Proxy noop stub for any target that doesn't exist on disk. Stubs are tagged with "@generated stub from scan-missing-imports" for idempotency. Text resources (.md / .txt / .json) get appropriate format-specific stubs. Runs as a pre-step inside build:sidecars. 2. desktop/scripts/build-sidecars.ts adds an `external: [...]` list for bare-package optional deps not in package.json (OTLP exporters, @aws-sdk/*, @anthropic-ai/{bedrock,vertex,foundry,mcpb}-sdk, @azure/identity, fflate, turndown, sharp, react-devtools-core). These remain runtime imports, fail benignly when their gating env var or feature flag is off. Tauri side ========== - desktop/src-tauri/tauri.conf.json: dropped all `resources` entries. Was 7 entries totaling ≈301MB. Now `{}`. - desktop/src-tauri/src/lib.rs `resolve_app_root` no longer calls BaseDirectory::Resource (the app/ resource dir doesn't exist anymore); instead returns the directory of the current sidecar exe. The launchers still accept --app-root for backward compat with conversationService's CLI subprocess spawn. Optimisations ============= - bun build now uses minify whitespace+identifiers+syntax. Saved another ≈16MB across both binaries (server: 72MB→65MB, cli: 75MB→66MB). Bonus fix ========= src/services/remoteManagedSettings/index.ts had a typo importing './securityCheck.jsx' instead of '.js'. Bun's runtime resolver tolerated it; bun build didn't. Verification ============ - Both binaries boot successfully in /tmp with no src/ or node_modules/ on disk. Verified `claude-cli --version` returns the build version, `claude-cli --help` prints the full Commander spec, and claude-server starts CronScheduler + listens on the requested port. - bun test on src/ shows 358 pass / 45 fail / 2 errors vs main baseline of 359 / 44 / 2 — net 0 new failures (1 different flake direction). All 44 baseline failures pre-exist on main and are unrelated. - Full DMG round-trip via build-macos-arm64.sh succeeds; new bundle installs cleanly in /Volumes/. Bundle size summary =================== metric baseline after P0 delta Resources/app/ 301 MB 0 MB -301 MB MacOS/claude-server 57 MB 65 MB +8 MB MacOS/claude-cli 57 MB 66 MB +9 MB MacOS/claude-code-desktop 18 MB 18 MB — ───────────────────────────────────────────── .app total 435 MB 152 MB -283 MB (-65%) .dmg 113 MB 60 MB -53 MB (-47%) Generated stub files (173 of them under src/) are committed for reproducibility — the scanner is idempotent and will re-create them identically on every build, but tracking them avoids dirty working trees on first compile. Co-Authored-By: Claude Opus 4.6 (1M context) --- desktop/scripts/build-sidecars.ts | 46 +++- desktop/scripts/scan-missing-imports.ts | 219 ++++++++++++++++++ desktop/sidecars/cli-launcher.ts | 15 +- desktop/sidecars/server-launcher.ts | 23 +- desktop/src-tauri/src/lib.rs | 37 ++- desktop/src-tauri/tauri.conf.json | 10 +- src/assistant/AssistantSessionChooser.ts | 34 +++ src/assistant/gate.ts | 34 +++ src/assistant/index.ts | 34 +++ src/assistant/sessionDiscovery.ts | 34 +++ src/bridge/peerSessions.ts | 34 +++ src/bridge/webhookSanitizer.ts | 34 +++ src/cli/bg.ts | 34 +++ src/cli/handlers/ant.ts | 34 +++ src/cli/handlers/templateJobs.ts | 34 +++ src/cli/transports/Transport.ts | 34 +++ src/commands/agents-platform/index.ts | 34 +++ src/commands/assistant/assistant.ts | 34 +++ src/commands/assistant/index.ts | 34 +++ src/commands/clear/clear/caches.ts | 34 +++ src/commands/clear/clear/conversation.ts | 34 +++ src/commands/force-snip.ts | 34 +++ src/commands/fork/index.ts | 34 +++ src/commands/install-github-app/types.ts | 34 +++ src/commands/peers/index.ts | 34 +++ src/commands/plugin/types.ts | 34 +++ src/commands/plugin/unifiedTypes.ts | 34 +++ src/commands/proactive.ts | 34 +++ src/commands/remoteControlServer/index.ts | 34 +++ src/commands/subscribe-pr.ts | 34 +++ src/commands/torch.ts | 34 +++ src/commands/workflows/index.ts | 34 +++ src/components/AntModelSwitchCallout.ts | 34 +++ .../FeedbackSurvey/useFrustrationDetection.ts | 34 +++ src/components/FeedbackSurvey/utils.ts | 34 +++ src/components/Spinner/types.ts | 34 +++ src/components/UndercoverAutoCallout.ts | 34 +++ src/components/agents/SnapshotUpdateDialog.ts | 34 +++ .../agents/new-agent-creation/types.ts | 34 +++ src/components/mcp/types.ts | 34 +++ .../messages/SnipBoundaryMessage.ts | 34 +++ .../messages/UserCrossSessionMessage.ts | 34 +++ .../messages/UserForkBoilerplateMessage.ts | 34 +++ .../messages/UserGitHubWebhookMessage.ts | 34 +++ .../MonitorPermissionRequest.ts | 34 +++ .../ReviewArtifactPermissionRequest.ts | 34 +++ .../tasks/MonitorMcpDetailDialog.ts | 34 +++ src/components/tasks/WorkflowDetailDialog.ts | 34 +++ src/components/ui/option.ts | 34 +++ src/components/wizard/types.ts | 34 +++ src/constants/querySource.ts | 34 +++ src/coordinator/workerAgent.ts | 34 +++ src/daemon/main.ts | 34 +++ src/daemon/workerRegistry.ts | 34 +++ src/entrypoints/sdk/controlTypes.ts | 34 +++ src/entrypoints/sdk/sdkUtilityTypes.ts | 34 +++ src/environment-runner/main.ts | 34 +++ .../notifs/useAntOrgWarningNotification.ts | 34 +++ src/hooks/useKeybinding.ts | 34 +++ src/ink/cursor.ts | 34 +++ src/ink/devtools.ts | 34 +++ src/ink/events/paste-event.ts | 34 +++ src/ink/events/resize-event.ts | 34 +++ src/jobs/classifier.ts | 34 +++ src/keybindings/types.ts | 34 +++ src/memdir/memoryShapeTelemetry.ts | 34 +++ src/proactive/index.ts | 34 +++ src/proactive/useProactive.ts | 34 +++ src/query/transitions.ts | 34 +++ src/self-hosted-runner/main.ts | 34 +++ src/server/backends/dangerousBackend.ts | 34 +++ src/server/connectHeadless.ts | 34 +++ src/server/lockfile.ts | 34 +++ src/server/parseConnectUrl.ts | 34 +++ src/server/server.ts | 34 +++ src/server/serverBanner.ts | 34 +++ src/server/serverLog.ts | 34 +++ src/server/sessionManager.ts | 34 +++ src/services/compact/cachedMCConfig.ts | 34 +++ src/services/compact/cachedMicrocompact.ts | 34 +++ src/services/compact/reactiveCompact.ts | 34 +++ src/services/compact/snipCompact.ts | 34 +++ src/services/compact/snipProjection.ts | 34 +++ src/services/contextCollapse/index.ts | 34 +++ src/services/contextCollapse/operations.ts | 34 +++ src/services/contextCollapse/persist.ts | 34 +++ src/services/lsp/types.ts | 34 +++ src/services/oauth/types.ts | 34 +++ src/services/remoteManagedSettings/index.ts | 2 +- .../sessionTranscript/sessionTranscript.ts | 34 +++ src/services/skillSearch/featureCheck.ts | 34 +++ src/services/skillSearch/localSearch.ts | 34 +++ src/services/skillSearch/prefetch.ts | 34 +++ src/services/skillSearch/remoteSkillLoader.ts | 34 +++ src/services/skillSearch/remoteSkillState.ts | 34 +++ src/services/skillSearch/signals.ts | 34 +++ src/services/skillSearch/telemetry.ts | 34 +++ src/services/tips/types.ts | 34 +++ src/skills/bundled/claude-api/SKILL.md | 2 + .../bundled/claude-api/csharp/claude-api.md | 2 + .../bundled/claude-api/curl/examples.md | 2 + .../bundled/claude-api/go/claude-api.md | 2 + .../bundled/claude-api/java/claude-api.md | 2 + .../bundled/claude-api/php/claude-api.md | 2 + .../claude-api/python/agent-sdk/README.md | 2 + .../claude-api/python/agent-sdk/patterns.md | 2 + .../claude-api/python/claude-api/README.md | 2 + .../claude-api/python/claude-api/batches.md | 2 + .../claude-api/python/claude-api/files-api.md | 2 + .../claude-api/python/claude-api/streaming.md | 2 + .../claude-api/python/claude-api/tool-use.md | 2 + .../bundled/claude-api/ruby/claude-api.md | 2 + .../bundled/claude-api/shared/error-codes.md | 2 + .../bundled/claude-api/shared/live-sources.md | 2 + .../bundled/claude-api/shared/models.md | 2 + .../claude-api/shared/prompt-caching.md | 2 + .../claude-api/shared/tool-use-concepts.md | 2 + .../claude-api/typescript/agent-sdk/README.md | 2 + .../typescript/agent-sdk/patterns.md | 2 + .../typescript/claude-api/README.md | 2 + .../typescript/claude-api/batches.md | 2 + .../typescript/claude-api/files-api.md | 2 + .../typescript/claude-api/streaming.md | 2 + .../typescript/claude-api/tool-use.md | 2 + src/skills/bundled/dream.ts | 34 +++ src/skills/bundled/hunter.ts | 34 +++ src/skills/bundled/runSkillGenerator.ts | 34 +++ src/skills/mcpSkills.ts | 34 +++ src/ssh/SSHSessionManager.ts | 34 +++ src/ssh/createSSHSession.ts | 34 +++ .../LocalWorkflowTask/LocalWorkflowTask.ts | 34 +++ src/tasks/MonitorMcpTask/MonitorMcpTask.ts | 34 +++ src/tools/CtxInspectTool/CtxInspectTool.ts | 34 +++ src/tools/DiscoverSkillsTool/prompt.ts | 34 +++ src/tools/ListPeersTool/ListPeersTool.ts | 34 +++ src/tools/MonitorTool/MonitorTool.ts | 34 +++ .../OverflowTestTool/OverflowTestTool.ts | 34 +++ .../PushNotificationTool.ts | 34 +++ src/tools/REPLTool/REPLTool.ts | 34 +++ .../ReviewArtifactTool/ReviewArtifactTool.ts | 34 +++ .../SendUserFileTool/SendUserFileTool.ts | 34 +++ src/tools/SendUserFileTool/prompt.ts | 34 +++ src/tools/SleepTool/SleepTool.ts | 34 +++ src/tools/SnipTool/SnipTool.ts | 34 +++ src/tools/SnipTool/prompt.ts | 34 +++ src/tools/SubscribePRTool/SubscribePRTool.ts | 34 +++ .../SuggestBackgroundPRTool.ts | 34 +++ .../TerminalCaptureTool.ts | 34 +++ src/tools/TerminalCaptureTool/prompt.ts | 34 +++ .../VerifyPlanExecutionTool.ts | 34 +++ .../VerifyPlanExecutionTool/constants.ts | 34 +++ src/tools/WebBrowserTool/WebBrowserPanel.ts | 34 +++ src/tools/WebBrowserTool/WebBrowserTool.ts | 34 +++ .../WorkflowTool/WorkflowPermissionRequest.ts | 34 +++ src/tools/WorkflowTool/WorkflowTool.ts | 34 +++ src/tools/WorkflowTool/bundled/index.ts | 34 +++ .../WorkflowTool/createWorkflowCommand.ts | 34 +++ src/types/fileSuggestion.ts | 34 +++ src/types/message.ts | 34 +++ src/types/messageQueueTypes.ts | 34 +++ src/types/notebook.ts | 34 +++ src/types/statusLine.ts | 34 +++ src/types/tools.ts | 34 +++ src/types/utils.ts | 34 +++ src/utils/attributionHooks.ts | 34 +++ src/utils/attributionTrailer.ts | 34 +++ src/utils/ccshareResume.ts | 34 +++ src/utils/eventLoopStallDetector.ts | 34 +++ .../auto_mode_system_prompt.txt | 34 +++ .../permissions_anthropic.txt | 34 +++ .../permissions_external.txt | 34 +++ src/utils/postCommitAttribution.ts | 34 +++ src/utils/protectedNamespace.ts | 34 +++ src/utils/sdkHeapDumpMonitor.ts | 34 +++ src/utils/secureStorage/types.ts | 34 +++ src/utils/sessionDataUploader.ts | 34 +++ src/utils/systemThemeWatcher.ts | 34 +++ src/utils/taskSummary.ts | 34 +++ src/utils/udsClient.ts | 34 +++ src/utils/udsMessaging.ts | 34 +++ 180 files changed, 5365 insertions(+), 37 deletions(-) create mode 100644 desktop/scripts/scan-missing-imports.ts create mode 100644 src/assistant/AssistantSessionChooser.ts create mode 100644 src/assistant/gate.ts create mode 100644 src/assistant/index.ts create mode 100644 src/assistant/sessionDiscovery.ts create mode 100644 src/bridge/peerSessions.ts create mode 100644 src/bridge/webhookSanitizer.ts create mode 100644 src/cli/bg.ts create mode 100644 src/cli/handlers/ant.ts create mode 100644 src/cli/handlers/templateJobs.ts create mode 100644 src/cli/transports/Transport.ts create mode 100644 src/commands/agents-platform/index.ts create mode 100644 src/commands/assistant/assistant.ts create mode 100644 src/commands/assistant/index.ts create mode 100644 src/commands/clear/clear/caches.ts create mode 100644 src/commands/clear/clear/conversation.ts create mode 100644 src/commands/force-snip.ts create mode 100644 src/commands/fork/index.ts create mode 100644 src/commands/install-github-app/types.ts create mode 100644 src/commands/peers/index.ts create mode 100644 src/commands/plugin/types.ts create mode 100644 src/commands/plugin/unifiedTypes.ts create mode 100644 src/commands/proactive.ts create mode 100644 src/commands/remoteControlServer/index.ts create mode 100644 src/commands/subscribe-pr.ts create mode 100644 src/commands/torch.ts create mode 100644 src/commands/workflows/index.ts create mode 100644 src/components/AntModelSwitchCallout.ts create mode 100644 src/components/FeedbackSurvey/useFrustrationDetection.ts create mode 100644 src/components/FeedbackSurvey/utils.ts create mode 100644 src/components/Spinner/types.ts create mode 100644 src/components/UndercoverAutoCallout.ts create mode 100644 src/components/agents/SnapshotUpdateDialog.ts create mode 100644 src/components/agents/new-agent-creation/types.ts create mode 100644 src/components/mcp/types.ts create mode 100644 src/components/messages/SnipBoundaryMessage.ts create mode 100644 src/components/messages/UserCrossSessionMessage.ts create mode 100644 src/components/messages/UserForkBoilerplateMessage.ts create mode 100644 src/components/messages/UserGitHubWebhookMessage.ts create mode 100644 src/components/permissions/MonitorPermissionRequest/MonitorPermissionRequest.ts create mode 100644 src/components/permissions/ReviewArtifactPermissionRequest/ReviewArtifactPermissionRequest.ts create mode 100644 src/components/tasks/MonitorMcpDetailDialog.ts create mode 100644 src/components/tasks/WorkflowDetailDialog.ts create mode 100644 src/components/ui/option.ts create mode 100644 src/components/wizard/types.ts create mode 100644 src/constants/querySource.ts create mode 100644 src/coordinator/workerAgent.ts create mode 100644 src/daemon/main.ts create mode 100644 src/daemon/workerRegistry.ts create mode 100644 src/entrypoints/sdk/controlTypes.ts create mode 100644 src/entrypoints/sdk/sdkUtilityTypes.ts create mode 100644 src/environment-runner/main.ts create mode 100644 src/hooks/notifs/useAntOrgWarningNotification.ts create mode 100644 src/hooks/useKeybinding.ts create mode 100644 src/ink/cursor.ts create mode 100644 src/ink/devtools.ts create mode 100644 src/ink/events/paste-event.ts create mode 100644 src/ink/events/resize-event.ts create mode 100644 src/jobs/classifier.ts create mode 100644 src/keybindings/types.ts create mode 100644 src/memdir/memoryShapeTelemetry.ts create mode 100644 src/proactive/index.ts create mode 100644 src/proactive/useProactive.ts create mode 100644 src/query/transitions.ts create mode 100644 src/self-hosted-runner/main.ts create mode 100644 src/server/backends/dangerousBackend.ts create mode 100644 src/server/connectHeadless.ts create mode 100644 src/server/lockfile.ts create mode 100644 src/server/parseConnectUrl.ts create mode 100644 src/server/server.ts create mode 100644 src/server/serverBanner.ts create mode 100644 src/server/serverLog.ts create mode 100644 src/server/sessionManager.ts create mode 100644 src/services/compact/cachedMCConfig.ts create mode 100644 src/services/compact/cachedMicrocompact.ts create mode 100644 src/services/compact/reactiveCompact.ts create mode 100644 src/services/compact/snipCompact.ts create mode 100644 src/services/compact/snipProjection.ts create mode 100644 src/services/contextCollapse/index.ts create mode 100644 src/services/contextCollapse/operations.ts create mode 100644 src/services/contextCollapse/persist.ts create mode 100644 src/services/lsp/types.ts create mode 100644 src/services/oauth/types.ts create mode 100644 src/services/sessionTranscript/sessionTranscript.ts create mode 100644 src/services/skillSearch/featureCheck.ts create mode 100644 src/services/skillSearch/localSearch.ts create mode 100644 src/services/skillSearch/prefetch.ts create mode 100644 src/services/skillSearch/remoteSkillLoader.ts create mode 100644 src/services/skillSearch/remoteSkillState.ts create mode 100644 src/services/skillSearch/signals.ts create mode 100644 src/services/skillSearch/telemetry.ts create mode 100644 src/services/tips/types.ts create mode 100644 src/skills/bundled/claude-api/SKILL.md create mode 100644 src/skills/bundled/claude-api/csharp/claude-api.md create mode 100644 src/skills/bundled/claude-api/curl/examples.md create mode 100644 src/skills/bundled/claude-api/go/claude-api.md create mode 100644 src/skills/bundled/claude-api/java/claude-api.md create mode 100644 src/skills/bundled/claude-api/php/claude-api.md create mode 100644 src/skills/bundled/claude-api/python/agent-sdk/README.md create mode 100644 src/skills/bundled/claude-api/python/agent-sdk/patterns.md create mode 100644 src/skills/bundled/claude-api/python/claude-api/README.md create mode 100644 src/skills/bundled/claude-api/python/claude-api/batches.md create mode 100644 src/skills/bundled/claude-api/python/claude-api/files-api.md create mode 100644 src/skills/bundled/claude-api/python/claude-api/streaming.md create mode 100644 src/skills/bundled/claude-api/python/claude-api/tool-use.md create mode 100644 src/skills/bundled/claude-api/ruby/claude-api.md create mode 100644 src/skills/bundled/claude-api/shared/error-codes.md create mode 100644 src/skills/bundled/claude-api/shared/live-sources.md create mode 100644 src/skills/bundled/claude-api/shared/models.md create mode 100644 src/skills/bundled/claude-api/shared/prompt-caching.md create mode 100644 src/skills/bundled/claude-api/shared/tool-use-concepts.md create mode 100644 src/skills/bundled/claude-api/typescript/agent-sdk/README.md create mode 100644 src/skills/bundled/claude-api/typescript/agent-sdk/patterns.md create mode 100644 src/skills/bundled/claude-api/typescript/claude-api/README.md create mode 100644 src/skills/bundled/claude-api/typescript/claude-api/batches.md create mode 100644 src/skills/bundled/claude-api/typescript/claude-api/files-api.md create mode 100644 src/skills/bundled/claude-api/typescript/claude-api/streaming.md create mode 100644 src/skills/bundled/claude-api/typescript/claude-api/tool-use.md create mode 100644 src/skills/bundled/dream.ts create mode 100644 src/skills/bundled/hunter.ts create mode 100644 src/skills/bundled/runSkillGenerator.ts create mode 100644 src/skills/mcpSkills.ts create mode 100644 src/ssh/SSHSessionManager.ts create mode 100644 src/ssh/createSSHSession.ts create mode 100644 src/tasks/LocalWorkflowTask/LocalWorkflowTask.ts create mode 100644 src/tasks/MonitorMcpTask/MonitorMcpTask.ts create mode 100644 src/tools/CtxInspectTool/CtxInspectTool.ts create mode 100644 src/tools/DiscoverSkillsTool/prompt.ts create mode 100644 src/tools/ListPeersTool/ListPeersTool.ts create mode 100644 src/tools/MonitorTool/MonitorTool.ts create mode 100644 src/tools/OverflowTestTool/OverflowTestTool.ts create mode 100644 src/tools/PushNotificationTool/PushNotificationTool.ts create mode 100644 src/tools/REPLTool/REPLTool.ts create mode 100644 src/tools/ReviewArtifactTool/ReviewArtifactTool.ts create mode 100644 src/tools/SendUserFileTool/SendUserFileTool.ts create mode 100644 src/tools/SendUserFileTool/prompt.ts create mode 100644 src/tools/SleepTool/SleepTool.ts create mode 100644 src/tools/SnipTool/SnipTool.ts create mode 100644 src/tools/SnipTool/prompt.ts create mode 100644 src/tools/SubscribePRTool/SubscribePRTool.ts create mode 100644 src/tools/SuggestBackgroundPRTool/SuggestBackgroundPRTool.ts create mode 100644 src/tools/TerminalCaptureTool/TerminalCaptureTool.ts create mode 100644 src/tools/TerminalCaptureTool/prompt.ts create mode 100644 src/tools/VerifyPlanExecutionTool/VerifyPlanExecutionTool.ts create mode 100644 src/tools/VerifyPlanExecutionTool/constants.ts create mode 100644 src/tools/WebBrowserTool/WebBrowserPanel.ts create mode 100644 src/tools/WebBrowserTool/WebBrowserTool.ts create mode 100644 src/tools/WorkflowTool/WorkflowPermissionRequest.ts create mode 100644 src/tools/WorkflowTool/WorkflowTool.ts create mode 100644 src/tools/WorkflowTool/bundled/index.ts create mode 100644 src/tools/WorkflowTool/createWorkflowCommand.ts create mode 100644 src/types/fileSuggestion.ts create mode 100644 src/types/message.ts create mode 100644 src/types/messageQueueTypes.ts create mode 100644 src/types/notebook.ts create mode 100644 src/types/statusLine.ts create mode 100644 src/types/tools.ts create mode 100644 src/types/utils.ts create mode 100644 src/utils/attributionHooks.ts create mode 100644 src/utils/attributionTrailer.ts create mode 100644 src/utils/ccshareResume.ts create mode 100644 src/utils/eventLoopStallDetector.ts create mode 100644 src/utils/permissions/yolo-classifier-prompts/auto_mode_system_prompt.txt create mode 100644 src/utils/permissions/yolo-classifier-prompts/permissions_anthropic.txt create mode 100644 src/utils/permissions/yolo-classifier-prompts/permissions_external.txt create mode 100644 src/utils/postCommitAttribution.ts create mode 100644 src/utils/protectedNamespace.ts create mode 100644 src/utils/sdkHeapDumpMonitor.ts create mode 100644 src/utils/secureStorage/types.ts create mode 100644 src/utils/sessionDataUploader.ts create mode 100644 src/utils/systemThemeWatcher.ts create mode 100644 src/utils/taskSummary.ts create mode 100644 src/utils/udsClient.ts create mode 100644 src/utils/udsMessaging.ts diff --git a/desktop/scripts/build-sidecars.ts b/desktop/scripts/build-sidecars.ts index 3dbd8f67..261f25d3 100644 --- a/desktop/scripts/build-sidecars.ts +++ b/desktop/scripts/build-sidecars.ts @@ -12,6 +12,18 @@ const targetTriple = const bunTarget = mapTargetTripleToBun(targetTriple) +// 编译前先扫一遍 src/ 把所有缺失的 ant-internal 模块在磁盘上 stub 出来。 +// 见 desktop/scripts/scan-missing-imports.ts。 +console.log('[build-sidecars] scanning for missing imports...') +const scanProc = Bun.spawn( + ['bun', 'run', path.join(desktopRoot, 'scripts/scan-missing-imports.ts')], + { cwd: repoRoot, stdout: 'inherit', stderr: 'inherit' }, +) +const scanExit = await scanProc.exited +if (scanExit !== 0) { + throw new Error(`[build-sidecars] scan-missing-imports failed (exit ${scanExit})`) +} + await mkdir(binariesDir, { recursive: true }) await compileExecutable({ @@ -93,9 +105,41 @@ async function compileExecutable({ }) { const result = await Bun.build({ entrypoints: [entrypoint], - minify: false, + // minify whitespace + identifiers + dead-code 大概能省 5-15% 的二进制大小, + // 代价是 stack trace 里的函数名变成短名 —— 终端用户场景可接受。 + minify: { whitespace: true, identifiers: true, syntax: true }, sourcemap: 'none', target: 'bun', + // 可选 npm 包:开 telemetry / 用 sharp 图像 / 用 Bedrock/Vertex 等 + // 替代 provider 时才需要,全部不在顶层 package.json 里。标 external + // 让 bun build 跳过解析;运行时 import 在没装时自然失败,由 try/catch + // 或 feature() gate 兜底。 + external: [ + // OpenTelemetry exporters(开 OTEL_* env 时才加载) + '@opentelemetry/exporter-trace-otlp-grpc', + '@opentelemetry/exporter-trace-otlp-http', + '@opentelemetry/exporter-trace-otlp-proto', + '@opentelemetry/exporter-logs-otlp-grpc', + '@opentelemetry/exporter-logs-otlp-http', + '@opentelemetry/exporter-logs-otlp-proto', + '@opentelemetry/exporter-metrics-otlp-grpc', + '@opentelemetry/exporter-metrics-otlp-http', + '@opentelemetry/exporter-metrics-otlp-proto', + '@opentelemetry/exporter-prometheus', + // 替代 LLM provider —— 默认不用,用户自装 + '@aws-sdk/client-bedrock', + '@aws-sdk/client-sts', + '@anthropic-ai/bedrock-sdk', + '@anthropic-ai/foundry-sdk', + '@anthropic-ai/vertex-sdk', + '@azure/identity', + // ant-internal / 可选工具 + '@anthropic-ai/mcpb', + 'fflate', + 'turndown', + 'sharp', + 'react-devtools-core', + ], compile: { target: bunTarget, outfile: outfileBase, diff --git a/desktop/scripts/scan-missing-imports.ts b/desktop/scripts/scan-missing-imports.ts new file mode 100644 index 00000000..3f4db9b5 --- /dev/null +++ b/desktop/scripts/scan-missing-imports.ts @@ -0,0 +1,219 @@ +/** + * scan-missing-imports.ts + * + * 在编译 sidecar 之前,扫描 src/ 里所有相对路径的 import / require / 类型 import + * specifier,找出磁盘上不存在的目标,给它们生成最小 stub 文件。 + * + * 为什么需要:本 fork 的 src/ 大量使用 ant-internal 的 feature() macro 配 + * dynamic require/import,gating 一堆只在 Anthropic 内部 build 才存在的源文件。 + * bun build --compile 在 DCE 之前必须先把所有 import specifier 都 resolve 到 + * 实际文件,找不到就直接 fail。 + * + * Stub 文件内容是一个 Proxy,任何属性读、函数调用、构造调用都返回安全 noop。 + * 由于这些代码路径都被 feature(...) === false 的 DCE 干掉了,stub 在运行时 + * 永远不会真的被求值 —— 它只是给 resolver 的"占位符"。 + * + * 生成的 stub 标记 `// @generated stub from scan-missing-imports` 让脚本可以 + * 安全地覆写它们而不会动到真实代码。 + */ + +import { readdir, stat, readFile, writeFile, mkdir } from 'node:fs/promises' +import { existsSync } from 'node:fs' +import path from 'node:path' + +const repoRoot = path.resolve(import.meta.dir, '../..') +const srcRoot = path.join(repoRoot, 'src') + +const STUB_MARKER_TS = '// @generated stub from scan-missing-imports' +const STUB_MARKER_TEXT = '' + +const TS_STUB_CONTENT = `${STUB_MARKER_TS} +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub +` + +// 文本类资源(.md / .txt / .json 等)通过 Bun 的 text/json loader 内联, +// stub 内容只要是合法的对应格式且非空即可。 +const TEXT_STUB_CONTENT = `${STUB_MARKER_TEXT}\nstub\n` +const JSON_STUB_CONTENT = `{"__stubMissing": true}\n` + +const TEXT_EXTS = new Set(['.md', '.markdown', '.txt']) +const JSON_EXTS = new Set(['.json', '.json5']) + +const IMPORT_PATTERNS = [ + // import X from './foo' + /from\s+['"](\.[^'"]+)['"]/g, + // import('./foo') + /import\s*\(\s*['"](\.[^'"]+)['"]/g, + // require('./foo') + /require\s*\(\s*['"](\.[^'"]+)['"]/g, + // import './foo' (side-effect only) + /import\s+['"](\.[^'"]+)['"]/g, + // typeof import('./foo') + /typeof\s+import\s*\(\s*['"](\.[^'"]+)['"]/g, +] + +const SOURCE_EXT = new Set(['.ts', '.tsx', '.js', '.jsx', '.mts', '.cts', '.mjs', '.cjs']) + +async function* walk(dir: string): AsyncGenerator { + const entries = await readdir(dir, { withFileTypes: true }) + for (const entry of entries) { + if (entry.name.startsWith('.')) continue + if (entry.name === 'node_modules') continue + if (entry.name === '__tests__') continue + const full = path.join(dir, entry.name) + if (entry.isDirectory()) { + yield* walk(full) + } else if (entry.isFile() && SOURCE_EXT.has(path.extname(entry.name))) { + yield full + } + } +} + +function resolveCandidates(importer: string, spec: string): string[] { + const importerDir = path.dirname(importer) + const base = path.resolve(importerDir, spec) + return [ + base, + base + '.ts', + base + '.tsx', + base + '.mts', + base + '.cts', + base + '.js', + base + '.jsx', + base + '.mjs', + base + '.cjs', + base.replace(/\.(m|c)?js$/, '.ts'), + base.replace(/\.(m|c)?js$/, '.tsx'), + path.join(base, 'index.ts'), + path.join(base, 'index.tsx'), + path.join(base, 'index.js'), + ] +} + +function pickStubPath(importer: string, spec: string): string { + const importerDir = path.dirname(importer) + const base = path.resolve(importerDir, spec) + // 把 .js 还原成 .ts —— TS 源里写 .js 是 ESM-on-Node 的惯例 + if (base.endsWith('.js')) return base.slice(0, -3) + '.ts' + if (base.endsWith('.jsx')) return base.slice(0, -4) + '.tsx' + if (path.extname(base) === '') return base + '.ts' + return base +} + +function pickStubContent(stubPath: string): { content: string; marker: string } { + const ext = path.extname(stubPath).toLowerCase() + if (TEXT_EXTS.has(ext)) { + return { content: TEXT_STUB_CONTENT, marker: STUB_MARKER_TEXT } + } + if (JSON_EXTS.has(ext)) { + return { content: JSON_STUB_CONTENT, marker: '"__stubMissing"' } + } + return { content: TS_STUB_CONTENT, marker: STUB_MARKER_TS } +} + +async function main() { + const missing = new Map>() // stubPath → set of importers + let scannedFiles = 0 + + for await (const file of walk(srcRoot)) { + scannedFiles++ + let contents: string + try { + contents = await readFile(file, 'utf8') + } catch { + continue + } + + for (const pattern of IMPORT_PATTERNS) { + pattern.lastIndex = 0 + let match: RegExpExecArray | null + while ((match = pattern.exec(contents)) !== null) { + const spec = match[1]! + if (!spec.startsWith('.')) continue + const candidates = resolveCandidates(file, spec) + let exists = false + for (const c of candidates) { + if (existsSync(c)) { + exists = true + break + } + } + if (exists) continue + const stubPath = pickStubPath(file, spec) + if (!missing.has(stubPath)) missing.set(stubPath, new Set()) + missing.get(stubPath)!.add(path.relative(repoRoot, file)) + } + } + } + + console.log(`[scan] scanned ${scannedFiles} source files`) + console.log(`[scan] missing ${missing.size} stub targets`) + + let createdCount = 0 + let skippedCount = 0 + for (const [stubPath, importers] of missing) { + // 安全检查:只在 src/ 下创建,且如果文件已存在但不是 stub 就跳过 + if (!stubPath.startsWith(srcRoot + path.sep)) { + console.warn(`[scan] skip out-of-src stub target: ${stubPath}`) + continue + } + const { content, marker } = pickStubContent(stubPath) + if (existsSync(stubPath)) { + try { + const existing = await readFile(stubPath, 'utf8') + if (!existing.includes(marker) && !existing.includes(STUB_MARKER_TS)) { + console.warn( + `[scan] skip non-stub existing file: ${path.relative(repoRoot, stubPath)}`, + ) + skippedCount++ + continue + } + } catch { + // ignore + } + } + await mkdir(path.dirname(stubPath), { recursive: true }) + await writeFile(stubPath, content, 'utf8') + createdCount++ + const rel = path.relative(repoRoot, stubPath) + const sample = [...importers].slice(0, 2).join(', ') + console.log( + `[scan] stub: ${rel} (referenced from ${sample}${importers.size > 2 ? `, +${importers.size - 2}` : ''})`, + ) + } + console.log(`[scan] created ${createdCount} stubs, skipped ${skippedCount}`) +} + +await main() diff --git a/desktop/sidecars/cli-launcher.ts b/desktop/sidecars/cli-launcher.ts index 26f48973..06019bb3 100644 --- a/desktop/sidecars/cli-launcher.ts +++ b/desktop/sidecars/cli-launcher.ts @@ -1,5 +1,10 @@ -import path from 'node:path' -import { pathToFileURL } from 'node:url' +/** + * Claude Code 桌面端 CLI sidecar 入口。 + * + * 与 server-launcher.ts 同理:通过字面量 specifier 的 dynamic import + * 让 `bun build --compile` 把整棵 src/entrypoints/cli.tsx 依赖图静态 + * 内联进二进制。运行时不再依赖磁盘上的 src/ 或 node_modules/。 + */ const { appRoot, args } = parseLauncherArgs() @@ -7,10 +12,8 @@ process.env.CLAUDE_APP_ROOT = appRoot process.env.CALLER_DIR ||= process.cwd() process.argv = [process.argv[0]!, process.argv[1]!, ...args] -const preloadEntrypoint = pathToFileURL(path.join(appRoot, 'preload.ts')).href -const cliEntrypoint = pathToFileURL(path.join(appRoot, 'src/entrypoints/cli.tsx')).href -await import(preloadEntrypoint) -await import(cliEntrypoint) +await import('../../preload.ts') +await import('../../src/entrypoints/cli.tsx') function parseLauncherArgs() { const rawArgs = process.argv.slice(2) diff --git a/desktop/sidecars/server-launcher.ts b/desktop/sidecars/server-launcher.ts index 31c40f41..eadf059c 100644 --- a/desktop/sidecars/server-launcher.ts +++ b/desktop/sidecars/server-launcher.ts @@ -1,17 +1,24 @@ -import path from 'node:path' -import { pathToFileURL } from 'node:url' +/** + * Claude Code 桌面端 server sidecar 入口。 + * + * 这里把 src/server 这棵树通过字面量 specifier 的 dynamic import 拉进来, + * `bun build --compile` 会把它们作为静态依赖完整内联进单个二进制 —— + * 编译后运行时不再需要磁盘上的 src/ 或 node_modules/。 + * + * 注意:先做 process.env / process.argv 设置,再 await import,这样 + * - src/server/index.ts 顶层读 process.argv 时拿到的是被剥过 --app-root 的值; + * - preload.ts 设置的 MACRO 全局在 server 模块求值前到位。 + */ const { appRoot, args } = parseLauncherArgs() +// 维持 conversationService → CLI 子进程的兼容契约:CLI sidecar 仍然 +// 接受 --app-root 参数,所以 server 这边把它原样透传到环境变量里。 process.env.CLAUDE_APP_ROOT = appRoot -process.chdir(appRoot) process.argv = [process.argv[0]!, process.argv[1]!, ...args] -const preloadEntrypoint = pathToFileURL(path.join(appRoot, 'preload.ts')).href -const serverEntrypoint = pathToFileURL(path.join(appRoot, 'src/server/index.ts')).href -await import(preloadEntrypoint) -const { startServer } = await import(serverEntrypoint) - +await import('../../preload.ts') +const { startServer } = await import('../../src/server/index.ts') startServer() function parseLauncherArgs() { diff --git a/desktop/src-tauri/src/lib.rs b/desktop/src-tauri/src/lib.rs index a63eddb3..aed1b733 100644 --- a/desktop/src-tauri/src/lib.rs +++ b/desktop/src-tauri/src/lib.rs @@ -6,7 +6,7 @@ use std::{ time::{Duration, Instant}, }; -use tauri::{path::BaseDirectory, AppHandle, Manager, RunEvent, State}; +use tauri::{AppHandle, Manager, RunEvent, State}; use tauri_plugin_shell::{ process::{CommandChild, CommandEvent}, ShellExt, @@ -72,17 +72,30 @@ fn wait_for_server(url_host: &str, port: u16) -> Result<(), String> { )) } -fn resolve_app_root(app: &AppHandle) -> Result { - if cfg!(debug_assertions) { - return PathBuf::from(env!("CARGO_MANIFEST_DIR")) - .join("../..") - .canonicalize() - .map_err(|err| format!("resolve development app root: {err}")); - } - - app.path() - .resolve("app", BaseDirectory::Resource) - .map_err(|err| format!("resolve bundled app root: {err}")) +fn resolve_app_root(_app: &AppHandle) -> Result { + // 历史用途:此前 sidecar launcher 用 dynamic file:// import 加载磁盘上 + // 的 src/server/index.ts 和 preload.ts,所以 Tauri 必须把整个 src/ + + // node_modules/ 当 Resource 一起 ship 到 .app/Contents/Resources/app/。 + // + // 现在 launcher 改成静态 import + bun build --compile 整棵静态打进二进制, + // server / cli sidecar 不再读磁盘上的 src/ 或 node_modules/。CLAUDE_APP_ROOT + // 现在只剩一个名义上的"app 安装根目录"作用,给 conversationService + // 在 spawn CLI 子进程时通过 --app-root 透传。 + // + // 我们直接用当前可执行文件所在目录作为 app_root: + // Dev: desktop/src-tauri/target// (rust 跑出来的 binary 那一层) + // Prod: .app/Contents/MacOS/ (sidecar 二进制的同级目录) + // + // 这样 P0 不再依赖 BaseDirectory::Resource 解出的 app/ 目录,可以从 + // tauri.conf.json 的 resources 里把 src/、node_modules/、preload.ts、stubs/ + // 全部干掉,直接砍掉 ~300MB 包体。 + let exe = std::env::current_exe() + .map_err(|err| format!("resolve current exe path: {err}"))?; + let dir = exe + .parent() + .ok_or_else(|| "current exe has no parent dir".to_string())? + .to_path_buf(); + Ok(dir) } fn start_server_sidecar(app: &AppHandle) -> Result { diff --git a/desktop/src-tauri/tauri.conf.json b/desktop/src-tauri/tauri.conf.json index 9c11ab61..dfc09528 100644 --- a/desktop/src-tauri/tauri.conf.json +++ b/desktop/src-tauri/tauri.conf.json @@ -47,15 +47,7 @@ "binaries/claude-server", "binaries/claude-cli" ], - "resources": { - "../../src/": "app/src/", - "../../node_modules/": "app/node_modules/", - "../../package.json": "app/package.json", - "../../tsconfig.json": "app/tsconfig.json", - "../../bunfig.toml": "app/bunfig.toml", - "../../preload.ts": "app/preload.ts", - "../../stubs/": "app/stubs/" - }, + "resources": {}, "icon": [ "icons/32x32.png", "icons/128x128.png", diff --git a/src/assistant/AssistantSessionChooser.ts b/src/assistant/AssistantSessionChooser.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/assistant/AssistantSessionChooser.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/assistant/gate.ts b/src/assistant/gate.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/assistant/gate.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/assistant/index.ts b/src/assistant/index.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/assistant/index.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/assistant/sessionDiscovery.ts b/src/assistant/sessionDiscovery.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/assistant/sessionDiscovery.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/bridge/peerSessions.ts b/src/bridge/peerSessions.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/bridge/peerSessions.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/bridge/webhookSanitizer.ts b/src/bridge/webhookSanitizer.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/bridge/webhookSanitizer.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/cli/bg.ts b/src/cli/bg.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/cli/bg.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/cli/handlers/ant.ts b/src/cli/handlers/ant.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/cli/handlers/ant.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/cli/handlers/templateJobs.ts b/src/cli/handlers/templateJobs.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/cli/handlers/templateJobs.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/cli/transports/Transport.ts b/src/cli/transports/Transport.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/cli/transports/Transport.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/agents-platform/index.ts b/src/commands/agents-platform/index.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/agents-platform/index.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/assistant/assistant.ts b/src/commands/assistant/assistant.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/assistant/assistant.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/assistant/index.ts b/src/commands/assistant/index.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/assistant/index.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/clear/clear/caches.ts b/src/commands/clear/clear/caches.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/clear/clear/caches.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/clear/clear/conversation.ts b/src/commands/clear/clear/conversation.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/clear/clear/conversation.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/force-snip.ts b/src/commands/force-snip.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/force-snip.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/fork/index.ts b/src/commands/fork/index.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/fork/index.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/install-github-app/types.ts b/src/commands/install-github-app/types.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/install-github-app/types.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/peers/index.ts b/src/commands/peers/index.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/peers/index.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/plugin/types.ts b/src/commands/plugin/types.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/plugin/types.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/plugin/unifiedTypes.ts b/src/commands/plugin/unifiedTypes.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/plugin/unifiedTypes.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/proactive.ts b/src/commands/proactive.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/proactive.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/remoteControlServer/index.ts b/src/commands/remoteControlServer/index.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/remoteControlServer/index.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/subscribe-pr.ts b/src/commands/subscribe-pr.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/subscribe-pr.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/torch.ts b/src/commands/torch.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/torch.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/commands/workflows/index.ts b/src/commands/workflows/index.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/commands/workflows/index.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/AntModelSwitchCallout.ts b/src/components/AntModelSwitchCallout.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/AntModelSwitchCallout.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/FeedbackSurvey/useFrustrationDetection.ts b/src/components/FeedbackSurvey/useFrustrationDetection.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/FeedbackSurvey/useFrustrationDetection.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/FeedbackSurvey/utils.ts b/src/components/FeedbackSurvey/utils.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/FeedbackSurvey/utils.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/Spinner/types.ts b/src/components/Spinner/types.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/Spinner/types.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/UndercoverAutoCallout.ts b/src/components/UndercoverAutoCallout.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/UndercoverAutoCallout.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/agents/SnapshotUpdateDialog.ts b/src/components/agents/SnapshotUpdateDialog.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/agents/SnapshotUpdateDialog.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/agents/new-agent-creation/types.ts b/src/components/agents/new-agent-creation/types.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/agents/new-agent-creation/types.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/mcp/types.ts b/src/components/mcp/types.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/mcp/types.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/messages/SnipBoundaryMessage.ts b/src/components/messages/SnipBoundaryMessage.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/messages/SnipBoundaryMessage.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/messages/UserCrossSessionMessage.ts b/src/components/messages/UserCrossSessionMessage.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/messages/UserCrossSessionMessage.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/messages/UserForkBoilerplateMessage.ts b/src/components/messages/UserForkBoilerplateMessage.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/messages/UserForkBoilerplateMessage.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/messages/UserGitHubWebhookMessage.ts b/src/components/messages/UserGitHubWebhookMessage.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/messages/UserGitHubWebhookMessage.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/permissions/MonitorPermissionRequest/MonitorPermissionRequest.ts b/src/components/permissions/MonitorPermissionRequest/MonitorPermissionRequest.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/permissions/MonitorPermissionRequest/MonitorPermissionRequest.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/permissions/ReviewArtifactPermissionRequest/ReviewArtifactPermissionRequest.ts b/src/components/permissions/ReviewArtifactPermissionRequest/ReviewArtifactPermissionRequest.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/permissions/ReviewArtifactPermissionRequest/ReviewArtifactPermissionRequest.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/tasks/MonitorMcpDetailDialog.ts b/src/components/tasks/MonitorMcpDetailDialog.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/tasks/MonitorMcpDetailDialog.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/tasks/WorkflowDetailDialog.ts b/src/components/tasks/WorkflowDetailDialog.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/tasks/WorkflowDetailDialog.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/ui/option.ts b/src/components/ui/option.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/ui/option.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/components/wizard/types.ts b/src/components/wizard/types.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/components/wizard/types.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/constants/querySource.ts b/src/constants/querySource.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/constants/querySource.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/coordinator/workerAgent.ts b/src/coordinator/workerAgent.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/coordinator/workerAgent.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/daemon/main.ts b/src/daemon/main.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/daemon/main.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/daemon/workerRegistry.ts b/src/daemon/workerRegistry.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/daemon/workerRegistry.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/entrypoints/sdk/controlTypes.ts b/src/entrypoints/sdk/controlTypes.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/entrypoints/sdk/controlTypes.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/entrypoints/sdk/sdkUtilityTypes.ts b/src/entrypoints/sdk/sdkUtilityTypes.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/entrypoints/sdk/sdkUtilityTypes.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/environment-runner/main.ts b/src/environment-runner/main.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/environment-runner/main.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/hooks/notifs/useAntOrgWarningNotification.ts b/src/hooks/notifs/useAntOrgWarningNotification.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/hooks/notifs/useAntOrgWarningNotification.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/hooks/useKeybinding.ts b/src/hooks/useKeybinding.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/hooks/useKeybinding.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/ink/cursor.ts b/src/ink/cursor.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/ink/cursor.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/ink/devtools.ts b/src/ink/devtools.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/ink/devtools.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/ink/events/paste-event.ts b/src/ink/events/paste-event.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/ink/events/paste-event.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/ink/events/resize-event.ts b/src/ink/events/resize-event.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/ink/events/resize-event.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/jobs/classifier.ts b/src/jobs/classifier.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/jobs/classifier.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/keybindings/types.ts b/src/keybindings/types.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/keybindings/types.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/memdir/memoryShapeTelemetry.ts b/src/memdir/memoryShapeTelemetry.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/memdir/memoryShapeTelemetry.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/proactive/index.ts b/src/proactive/index.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/proactive/index.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/proactive/useProactive.ts b/src/proactive/useProactive.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/proactive/useProactive.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/query/transitions.ts b/src/query/transitions.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/query/transitions.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/self-hosted-runner/main.ts b/src/self-hosted-runner/main.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/self-hosted-runner/main.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/server/backends/dangerousBackend.ts b/src/server/backends/dangerousBackend.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/server/backends/dangerousBackend.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/server/connectHeadless.ts b/src/server/connectHeadless.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/server/connectHeadless.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/server/lockfile.ts b/src/server/lockfile.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/server/lockfile.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/server/parseConnectUrl.ts b/src/server/parseConnectUrl.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/server/parseConnectUrl.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/server/server.ts b/src/server/server.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/server/server.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/server/serverBanner.ts b/src/server/serverBanner.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/server/serverBanner.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/server/serverLog.ts b/src/server/serverLog.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/server/serverLog.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/server/sessionManager.ts b/src/server/sessionManager.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/server/sessionManager.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/compact/cachedMCConfig.ts b/src/services/compact/cachedMCConfig.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/compact/cachedMCConfig.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/compact/cachedMicrocompact.ts b/src/services/compact/cachedMicrocompact.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/compact/cachedMicrocompact.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/compact/reactiveCompact.ts b/src/services/compact/reactiveCompact.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/compact/reactiveCompact.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/compact/snipCompact.ts b/src/services/compact/snipCompact.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/compact/snipCompact.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/compact/snipProjection.ts b/src/services/compact/snipProjection.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/compact/snipProjection.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/contextCollapse/index.ts b/src/services/contextCollapse/index.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/contextCollapse/index.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/contextCollapse/operations.ts b/src/services/contextCollapse/operations.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/contextCollapse/operations.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/contextCollapse/persist.ts b/src/services/contextCollapse/persist.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/contextCollapse/persist.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/lsp/types.ts b/src/services/lsp/types.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/lsp/types.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/oauth/types.ts b/src/services/oauth/types.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/oauth/types.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/remoteManagedSettings/index.ts b/src/services/remoteManagedSettings/index.ts index 228f2edd..261ccc66 100644 --- a/src/services/remoteManagedSettings/index.ts +++ b/src/services/remoteManagedSettings/index.ts @@ -36,7 +36,7 @@ import { getRetryDelay } from '../api/withRetry.js' import { checkManagedSettingsSecurity, handleSecurityCheckResult, -} from './securityCheck.jsx' +} from './securityCheck.js' import { isRemoteManagedSettingsEligible, resetSyncCache } from './syncCache.js' import { getRemoteManagedSettingsSyncFromCache, diff --git a/src/services/sessionTranscript/sessionTranscript.ts b/src/services/sessionTranscript/sessionTranscript.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/sessionTranscript/sessionTranscript.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/skillSearch/featureCheck.ts b/src/services/skillSearch/featureCheck.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/skillSearch/featureCheck.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/skillSearch/localSearch.ts b/src/services/skillSearch/localSearch.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/skillSearch/localSearch.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/skillSearch/prefetch.ts b/src/services/skillSearch/prefetch.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/skillSearch/prefetch.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/skillSearch/remoteSkillLoader.ts b/src/services/skillSearch/remoteSkillLoader.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/skillSearch/remoteSkillLoader.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/skillSearch/remoteSkillState.ts b/src/services/skillSearch/remoteSkillState.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/skillSearch/remoteSkillState.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/skillSearch/signals.ts b/src/services/skillSearch/signals.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/skillSearch/signals.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/skillSearch/telemetry.ts b/src/services/skillSearch/telemetry.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/skillSearch/telemetry.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/services/tips/types.ts b/src/services/tips/types.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/services/tips/types.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/skills/bundled/claude-api/SKILL.md b/src/skills/bundled/claude-api/SKILL.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/SKILL.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/csharp/claude-api.md b/src/skills/bundled/claude-api/csharp/claude-api.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/csharp/claude-api.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/curl/examples.md b/src/skills/bundled/claude-api/curl/examples.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/curl/examples.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/go/claude-api.md b/src/skills/bundled/claude-api/go/claude-api.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/go/claude-api.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/java/claude-api.md b/src/skills/bundled/claude-api/java/claude-api.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/java/claude-api.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/php/claude-api.md b/src/skills/bundled/claude-api/php/claude-api.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/php/claude-api.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/python/agent-sdk/README.md b/src/skills/bundled/claude-api/python/agent-sdk/README.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/python/agent-sdk/README.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/python/agent-sdk/patterns.md b/src/skills/bundled/claude-api/python/agent-sdk/patterns.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/python/agent-sdk/patterns.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/python/claude-api/README.md b/src/skills/bundled/claude-api/python/claude-api/README.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/python/claude-api/README.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/python/claude-api/batches.md b/src/skills/bundled/claude-api/python/claude-api/batches.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/python/claude-api/batches.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/python/claude-api/files-api.md b/src/skills/bundled/claude-api/python/claude-api/files-api.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/python/claude-api/files-api.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/python/claude-api/streaming.md b/src/skills/bundled/claude-api/python/claude-api/streaming.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/python/claude-api/streaming.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/python/claude-api/tool-use.md b/src/skills/bundled/claude-api/python/claude-api/tool-use.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/python/claude-api/tool-use.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/ruby/claude-api.md b/src/skills/bundled/claude-api/ruby/claude-api.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/ruby/claude-api.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/shared/error-codes.md b/src/skills/bundled/claude-api/shared/error-codes.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/shared/error-codes.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/shared/live-sources.md b/src/skills/bundled/claude-api/shared/live-sources.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/shared/live-sources.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/shared/models.md b/src/skills/bundled/claude-api/shared/models.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/shared/models.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/shared/prompt-caching.md b/src/skills/bundled/claude-api/shared/prompt-caching.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/shared/prompt-caching.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/shared/tool-use-concepts.md b/src/skills/bundled/claude-api/shared/tool-use-concepts.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/shared/tool-use-concepts.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/typescript/agent-sdk/README.md b/src/skills/bundled/claude-api/typescript/agent-sdk/README.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/typescript/agent-sdk/README.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/typescript/agent-sdk/patterns.md b/src/skills/bundled/claude-api/typescript/agent-sdk/patterns.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/typescript/agent-sdk/patterns.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/typescript/claude-api/README.md b/src/skills/bundled/claude-api/typescript/claude-api/README.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/typescript/claude-api/README.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/typescript/claude-api/batches.md b/src/skills/bundled/claude-api/typescript/claude-api/batches.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/typescript/claude-api/batches.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/typescript/claude-api/files-api.md b/src/skills/bundled/claude-api/typescript/claude-api/files-api.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/typescript/claude-api/files-api.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/typescript/claude-api/streaming.md b/src/skills/bundled/claude-api/typescript/claude-api/streaming.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/typescript/claude-api/streaming.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/claude-api/typescript/claude-api/tool-use.md b/src/skills/bundled/claude-api/typescript/claude-api/tool-use.md new file mode 100644 index 00000000..7a4d285c --- /dev/null +++ b/src/skills/bundled/claude-api/typescript/claude-api/tool-use.md @@ -0,0 +1,2 @@ + +stub diff --git a/src/skills/bundled/dream.ts b/src/skills/bundled/dream.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/skills/bundled/dream.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/skills/bundled/hunter.ts b/src/skills/bundled/hunter.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/skills/bundled/hunter.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/skills/bundled/runSkillGenerator.ts b/src/skills/bundled/runSkillGenerator.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/skills/bundled/runSkillGenerator.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/skills/mcpSkills.ts b/src/skills/mcpSkills.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/skills/mcpSkills.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/ssh/SSHSessionManager.ts b/src/ssh/SSHSessionManager.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/ssh/SSHSessionManager.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/ssh/createSSHSession.ts b/src/ssh/createSSHSession.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/ssh/createSSHSession.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tasks/LocalWorkflowTask/LocalWorkflowTask.ts b/src/tasks/LocalWorkflowTask/LocalWorkflowTask.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tasks/LocalWorkflowTask/LocalWorkflowTask.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tasks/MonitorMcpTask/MonitorMcpTask.ts b/src/tasks/MonitorMcpTask/MonitorMcpTask.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tasks/MonitorMcpTask/MonitorMcpTask.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/CtxInspectTool/CtxInspectTool.ts b/src/tools/CtxInspectTool/CtxInspectTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/CtxInspectTool/CtxInspectTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/DiscoverSkillsTool/prompt.ts b/src/tools/DiscoverSkillsTool/prompt.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/DiscoverSkillsTool/prompt.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/ListPeersTool/ListPeersTool.ts b/src/tools/ListPeersTool/ListPeersTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/ListPeersTool/ListPeersTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/MonitorTool/MonitorTool.ts b/src/tools/MonitorTool/MonitorTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/MonitorTool/MonitorTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/OverflowTestTool/OverflowTestTool.ts b/src/tools/OverflowTestTool/OverflowTestTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/OverflowTestTool/OverflowTestTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/PushNotificationTool/PushNotificationTool.ts b/src/tools/PushNotificationTool/PushNotificationTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/PushNotificationTool/PushNotificationTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/REPLTool/REPLTool.ts b/src/tools/REPLTool/REPLTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/REPLTool/REPLTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/ReviewArtifactTool/ReviewArtifactTool.ts b/src/tools/ReviewArtifactTool/ReviewArtifactTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/ReviewArtifactTool/ReviewArtifactTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/SendUserFileTool/SendUserFileTool.ts b/src/tools/SendUserFileTool/SendUserFileTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/SendUserFileTool/SendUserFileTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/SendUserFileTool/prompt.ts b/src/tools/SendUserFileTool/prompt.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/SendUserFileTool/prompt.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/SleepTool/SleepTool.ts b/src/tools/SleepTool/SleepTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/SleepTool/SleepTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/SnipTool/SnipTool.ts b/src/tools/SnipTool/SnipTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/SnipTool/SnipTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/SnipTool/prompt.ts b/src/tools/SnipTool/prompt.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/SnipTool/prompt.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/SubscribePRTool/SubscribePRTool.ts b/src/tools/SubscribePRTool/SubscribePRTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/SubscribePRTool/SubscribePRTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/SuggestBackgroundPRTool/SuggestBackgroundPRTool.ts b/src/tools/SuggestBackgroundPRTool/SuggestBackgroundPRTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/SuggestBackgroundPRTool/SuggestBackgroundPRTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/TerminalCaptureTool/TerminalCaptureTool.ts b/src/tools/TerminalCaptureTool/TerminalCaptureTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/TerminalCaptureTool/TerminalCaptureTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/TerminalCaptureTool/prompt.ts b/src/tools/TerminalCaptureTool/prompt.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/TerminalCaptureTool/prompt.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/VerifyPlanExecutionTool/VerifyPlanExecutionTool.ts b/src/tools/VerifyPlanExecutionTool/VerifyPlanExecutionTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/VerifyPlanExecutionTool/VerifyPlanExecutionTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/VerifyPlanExecutionTool/constants.ts b/src/tools/VerifyPlanExecutionTool/constants.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/VerifyPlanExecutionTool/constants.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/WebBrowserTool/WebBrowserPanel.ts b/src/tools/WebBrowserTool/WebBrowserPanel.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/WebBrowserTool/WebBrowserPanel.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/WebBrowserTool/WebBrowserTool.ts b/src/tools/WebBrowserTool/WebBrowserTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/WebBrowserTool/WebBrowserTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/WorkflowTool/WorkflowPermissionRequest.ts b/src/tools/WorkflowTool/WorkflowPermissionRequest.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/WorkflowTool/WorkflowPermissionRequest.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/WorkflowTool/WorkflowTool.ts b/src/tools/WorkflowTool/WorkflowTool.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/WorkflowTool/WorkflowTool.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/WorkflowTool/bundled/index.ts b/src/tools/WorkflowTool/bundled/index.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/WorkflowTool/bundled/index.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/tools/WorkflowTool/createWorkflowCommand.ts b/src/tools/WorkflowTool/createWorkflowCommand.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/tools/WorkflowTool/createWorkflowCommand.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/types/fileSuggestion.ts b/src/types/fileSuggestion.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/types/fileSuggestion.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/types/message.ts b/src/types/message.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/types/message.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/types/messageQueueTypes.ts b/src/types/messageQueueTypes.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/types/messageQueueTypes.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/types/notebook.ts b/src/types/notebook.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/types/notebook.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/types/statusLine.ts b/src/types/statusLine.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/types/statusLine.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/types/tools.ts b/src/types/tools.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/types/tools.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/types/utils.ts b/src/types/utils.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/types/utils.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/attributionHooks.ts b/src/utils/attributionHooks.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/attributionHooks.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/attributionTrailer.ts b/src/utils/attributionTrailer.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/attributionTrailer.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/ccshareResume.ts b/src/utils/ccshareResume.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/ccshareResume.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/eventLoopStallDetector.ts b/src/utils/eventLoopStallDetector.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/eventLoopStallDetector.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/permissions/yolo-classifier-prompts/auto_mode_system_prompt.txt b/src/utils/permissions/yolo-classifier-prompts/auto_mode_system_prompt.txt new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/permissions/yolo-classifier-prompts/auto_mode_system_prompt.txt @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/permissions/yolo-classifier-prompts/permissions_anthropic.txt b/src/utils/permissions/yolo-classifier-prompts/permissions_anthropic.txt new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/permissions/yolo-classifier-prompts/permissions_anthropic.txt @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/permissions/yolo-classifier-prompts/permissions_external.txt b/src/utils/permissions/yolo-classifier-prompts/permissions_external.txt new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/permissions/yolo-classifier-prompts/permissions_external.txt @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/postCommitAttribution.ts b/src/utils/postCommitAttribution.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/postCommitAttribution.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/protectedNamespace.ts b/src/utils/protectedNamespace.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/protectedNamespace.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/sdkHeapDumpMonitor.ts b/src/utils/sdkHeapDumpMonitor.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/sdkHeapDumpMonitor.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/secureStorage/types.ts b/src/utils/secureStorage/types.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/secureStorage/types.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/sessionDataUploader.ts b/src/utils/sessionDataUploader.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/sessionDataUploader.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/systemThemeWatcher.ts b/src/utils/systemThemeWatcher.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/systemThemeWatcher.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/taskSummary.ts b/src/utils/taskSummary.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/taskSummary.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/udsClient.ts b/src/utils/udsClient.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/udsClient.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub diff --git a/src/utils/udsMessaging.ts b/src/utils/udsMessaging.ts new file mode 100644 index 00000000..c170c49a --- /dev/null +++ b/src/utils/udsMessaging.ts @@ -0,0 +1,34 @@ +// @generated stub from scan-missing-imports +// 该文件自动生成,对应 ant-internal 的 feature() gated 模块。 +// 所有外部 build 的代码路径在 DCE 后都不会真的执行这里的代码,这只是 +// bun build resolver 的占位符。 +const __target = function noop() {} +const __handler: ProxyHandler = { + get(_t, prop) { + if (prop === '__esModule') return true + if (prop === 'default') return new Proxy(__target, __handler) + if (prop === Symbol.toPrimitive) return () => undefined + if (prop === Symbol.iterator) return function* () {} + if (prop === Symbol.asyncIterator) return async function* () {} + if (prop === 'then') return undefined + return new Proxy(__target, __handler) + }, + apply() { + return new Proxy(__target, __handler) + }, + construct() { + return new Proxy(__target, __handler) + }, +} +const stub: any = new Proxy(__target, __handler) +export default stub +export const __stubMissing = true +// 兼容常见的命名导出 —— 没列在这里的也会通过 default Proxy 兜底 +export const createCachedMCState = stub +export const isCachedMicrocompactEnabled = stub +export const isModelSupportedForCacheEditing = stub +export const getCachedMCConfig = stub +export const markToolsSentToAPI = stub +export const resetCachedMCState = stub +export const checkProtectedNamespace = stub +export const getCoordinatorUserContext = stub