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