发起网络请求
src/application/channelPublishingService.ts:242
const decision = await approval.request(intent, controller.signal);发起网络请求
src/application/workbenchService.ts:292
return this.draftBatches.request(request, caller, signal);发起网络请求
src/application/workbenchService.ts:296
return this.references.request(request, signal);发起网络请求
src/application/workbenchService.ts:300
return this.accounts.request(request, caller, signal);发起网络请求
src/application/workbenchService.ts:306
return this.channelService.request(request, caller, signal);发起网络请求
src/application/workbenchService.ts:778
const decision = await approval.request(saved.intent, controller.signal);发起网络请求
src/client/content-library-controller.ts:220
const page = await this.request(input, owner.signal) as LibraryPage;发起网络请求
src/client/content-library-controller.ts:253
const result = await this.request({ operation: "batch_preflight", contentRefs: this.state.checked.map(value => value.contentRef), channels: [...this.s发起网络请求
src/client/content-library-controller.ts:267
const detail = await this.request({ operation: "library_read", itemId }, owner.signal) as LibraryDetail;发起网络请求
src/client/content-library-controller.ts:279
const chunk = await this.request({ operation: "library_media", itemId, offset, length: CONTENT_MEDIA_CHUNK, revisionDigest: item.revisionDigest }, own发起网络请求
src/client/controller.ts:221
const result = await this.remote.request(request, signal);发起网络请求
src/host/approval.ts:29
const outcome = await approval.request({ agent, toolName: exec.name, callId: exec.callId, signal, reason: `${intent.targetSummary}\n内容:${intent.conten写入本地文件
src/host/compose.ts:72
await mkdir(config.dataDir, { recursive: true, mode: 0o700 });读取本地文件
src/host/compose.ts:108
const script = await realpath(adapterConfig.command);读取本地文件
src/host/compose.ts:109
if (basename(script) !== "wemedia_bridge.mjs" || !(await stat(script)).isFile()) throw new Error("bridge");读取本地文件
src/host/compose.ts:122
const script = await realpath(entry.command);读取本地文件
src/host/compose.ts:123
if (basename(script) !== "wemedia_bridge.mjs" || !(await stat(script)).isFile()) throw new Error("bridge");发起网络请求
src/host/tools.ts:106
return await workbench.request({ ...args, operation: spec.operation }, binding.caller, exec.signal);写入本地文件
src/infrastructure/accountApiLogin.ts:130
await mkdir(dirname(config.secretPath), { recursive: true, mode: 0o700 });读取本地文件
src/infrastructure/accountApiLogin.ts:131
if (await realpath(dirname(config.secretPath)) !== dirname(config.secretPath)) throw new Error("Credential directory changed");写入本地文件
src/infrastructure/accountApiLogin.ts:143
writeFileSync(fd, `${JSON.stringify(stored, null, 2)}\n`); fsyncSync(fd); closeSync(fd); fd = undefined;写入本地文件
src/infrastructure/accountApiLogin.ts:144
renameSync(temporary, config.secretPath);删除本地文件
src/infrastructure/accountApiLogin.ts:145
} finally { if (fd !== undefined) closeSync(fd); try { unlinkSync(temporary); } catch {} }读取本地文件
src/infrastructure/accountApiLogin.ts:189
const command = await realpath(entry.command);读取本地文件
src/infrastructure/accountApiLogin.ts:190
if (basename(command) !== "wemedia_bridge.mjs" || !(await lstat(command)).isFile() || basename(dirname(command)) !== "src") throw new Error("X bridge 读取本地文件
src/infrastructure/accountApiLogin.ts:193
for (const file of ["oauth.js", "store.js", "config.js"]) if (!(await lstat(resolve(project, "src", file))).isFile()) throw new Error("X OAuth unavail读取本地文件
src/infrastructure/accountApiLogin.ts:206
const command = await realpath(adapter.command);读取本地文件
src/infrastructure/accountApiLogin.ts:229
const command = await realpath(adapter.command);发起网络请求
src/infrastructure/accountLogin.ts:73
const response = await fetch(url, { method: "GET", headers, redirect: "error", signal: AbortSignal.any([signal, AbortSignal.timeout(timeout)]) });读取本地文件
src/infrastructure/accountLogin.ts:181
const bytes = await handle.readFile(); const after = await handle.stat(); const named = await lstat(file);读取本地文件
src/infrastructure/accountLogin.ts:201
const parent = dirname(file); check(await realpath(parent) === parent, "知乎凭据目录已变化,原凭据已保留。");读取本地文件
src/infrastructure/accountLogin.ts:208
active(signal); await checkCurrent(); check(await realpath(parent) === parent, "知乎凭据目录已变化,原凭据已保留。"); active(signal);写入本地文件
src/infrastructure/accountLogin.ts:211
renameSync(temp, file); created = false;删除本地文件
src/infrastructure/accountLogin.ts:213
} finally { if (created) await unlink(temp).catch(() => {}); }读取本地文件
src/infrastructure/accountLogin.ts:227
const executablePath = await stat(chrome).then(info => info.isFile() ? chrome : undefined).catch(() => undefined);读取本地文件
src/infrastructure/accountLogin.ts:272
const path = await realpath(config!.command!); check(basename(path) === "wemedia_bridge.mjs" && (await stat(path)).isFile(), "登录适配器入口无效。"); return pat读取本地文件
src/infrastructure/accountLogin.ts:272
const path = await realpath(config!.command!); check(basename(path) === "wemedia_bridge.mjs" && (await stat(path)).isFile(), "登录适配器入口无效。"); return pat读取本地文件
src/infrastructure/contentLibrary.ts:86
const rootInfo = await lstat(root.realPath);读取本地文件
src/infrastructure/contentLibrary.ts:91
const info = await lstat(current);读取本地文件
src/infrastructure/contentLibrary.ts:109
const latest = await lstat(absolute, { bigint: true });读取本地文件
src/infrastructure/contentLibrary.ts:383
const entries = await readdir(resolve(root.realPath, path), { withFileTypes: true });读取本地文件
src/infrastructure/contentLibrary.ts:394
const info = await lstat(resolve(root.realPath, child));读取本地文件
src/infrastructure/contentLibrary.ts:404
const info = await lstat(root.realPath);写入本地文件
src/infrastructure/fileCommitLock.ts:13
try { await mkdir(dirname(filePath), { recursive: true, mode: 0o700 }); }读取本地文件
src/infrastructure/fileCommitLock.ts:30
const current = await lstat(lockPath, { bigint: true }).catch(() => null);删除本地文件
src/infrastructure/fileCommitLock.ts:31
if (identity && current?.isFile() && !current.isSymbolicLink() && current.dev === identity.dev && current.ino === identity.ino) await unlink(lockPath)写入本地文件
src/infrastructure/indexCacheRepository.ts:21
await mkdir(directory, { recursive: true, mode: 0o700 });写入本地文件
src/infrastructure/indexCacheRepository.ts:31
await rename(temporary, path);删除本地文件
src/infrastructure/indexCacheRepository.ts:39
await unlink(temporary).catch(() => undefined);读取本地文件
src/infrastructure/indexCacheRepository.ts:51
const raw = await readFile(this.filePath, "utf8");删除本地文件
src/infrastructure/indexCacheRepository.ts:82
await unlink(this.filePath);读取本地文件
src/infrastructure/ledgerRepository.ts:43
raw = await readFile(this.filePath, "utf8");读取本地文件
src/infrastructure/legacyLedgerReader.ts:53
raw = await readFile(absolutePath, "utf8");读取本地文件
src/infrastructure/localPublications.ts:88
if (!path || await realpath(this.root) !== this.root) throw new Error("rejected");读取本地文件
src/infrastructure/localPublications.ts:89
const rootInfo = await lstat(this.root);读取本地文件
src/infrastructure/localPublications.ts:94
const info = await lstat(current);读取本地文件
src/infrastructure/localPublications.ts:97
if (await realpath(path) !== path) throw new Error("rejected");读取本地文件
src/infrastructure/localPublications.ts:114
const entry = await lstat(path, { bigint: true });读取本地文件
src/infrastructure/localSetup.ts:33
const first = await lstat(normalized, { bigint: true });读取本地文件
src/infrastructure/localSetup.ts:34
const canonical = await realpath(normalized);读取本地文件
src/infrastructure/localSetup.ts:38
await access(normalized, constants.R_OK | (writable ? constants.W_OK : 0));读取本地文件
src/infrastructure/localSetup.ts:39
const final = await lstat(normalized, { bigint: true });写入本地文件
src/infrastructure/manifest.ts:88
await mkdir(target.value.absolutePath, { recursive: false, mode: 0o700 });写入本地文件
src/infrastructure/manifest.ts:90
await mkdir(resolve(writeRoot.realPath, directory), { recursive: false, mode: 0o700 });写入本地文件
src/infrastructure/overlayRepository.ts:27
await mkdir(directory, { recursive: true, mode: 0o700 });写入本地文件
src/infrastructure/overlayRepository.ts:38
await rename(temporary, path);删除本地文件
src/infrastructure/overlayRepository.ts:41
await unlink(temporary).catch(() => undefined);读取本地文件
src/infrastructure/overlayRepository.ts:77
const raw = await readFile(this.filePath, "utf8");读取本地文件
src/infrastructure/pathPolicy.ts:100
entries = await readdir(current);读取本地文件
src/infrastructure/pathPolicy.ts:120
const resolved = await realpath(descriptor.path);读取本地文件
src/infrastructure/pathPolicy.ts:121
const info = await stat(resolved);读取本地文件
src/infrastructure/pathPolicy.ts:135
const resolved = await realpath(exact.value);读取本地文件
src/infrastructure/pathPolicy.ts:139
const info = await stat(resolved);读取本地文件
src/infrastructure/pathPolicy.ts:169
const entries = await readdir(parent.value.absolutePath);执行外部命令来自配置/变量
src/infrastructure/processRunner.ts:126
const child = spawn(policy.path, command.argv, {读取本地文件
src/infrastructure/publicationDrafts.ts:60
const before = await lstat(root.realPath, { bigint: true });读取本地文件
src/infrastructure/publicationDrafts.ts:61
if (!before.isDirectory() || before.isSymbolicLink() || await realpath(root.realPath) !== root.realPath) return fail("PUBLICATION_ROOT_CHANGED", "内容写入读取本地文件
src/infrastructure/publicationDrafts.ts:62
const after = await lstat(root.realPath, { bigint: true });读取本地文件
src/infrastructure/publicationDrafts.ts:80
const info = await lstat(current);读取本地文件
src/infrastructure/publicationDrafts.ts:86
const file = await this.exact(path), named = await lstat(file, { bigint: true });读取本地文件
src/infrastructure/publicationDrafts.ts:98
const after = await handle.stat({ bigint: true }), current = await lstat(await this.exact(path), { bigint: true });写入本地文件
src/infrastructure/publicationDrafts.ts:236
await mkdir(created.value.absolutePath, { mode: 0o700 });写入本地文件
src/infrastructure/publicationDrafts.ts:237
await mkdir(resolve(await this.exact(folder), "assets"), { mode: 0o700 });读取本地文件
src/infrastructure/scanner.ts:151
const info = await stat(resolved.value.absolutePath, { bigint: true });读取本地文件
src/infrastructure/scanner.ts:228
const entries = await readdir(directory, { withFileTypes: true });读取本地文件
src/infrastructure/watcher.ts:32
const entries = await readdir(directory, { withFileTypes: true });读取本地文件
src/infrastructure/watcher.ts:39
const info = await stat(resolve(directory, entry.name), { bigint: true });发起网络请求
src/infrastructure/wechatCollector.ts:176
const pending = fetch(url.href, { method: "GET", redirect: "manual", credentials: "omit", referrerPolicy: "no-referrer", signal, headers: { Accept: "t读取本地文件
src/infrastructure/workbenchDocuments.ts:162
const namedBefore = await lstat(path.value.absolutePath, { bigint: true });读取本地文件
src/infrastructure/workbenchDocuments.ts:171
if (!current.ok || current.value.kind !== "file" || current.value.absolutePath !== path.value.absolutePath || !sameFileState(before, await lstat(curre写入本地文件
src/infrastructure/workbenchDocuments.ts:377
await mkdir(created.value.absolutePath, { mode: 0o700 });写入本地文件
src/infrastructure/workbenchDocuments.ts:381
await mkdir(resolve(created.value.absolutePath, "assets"), { mode: 0o700 });发起网络请求
src/infrastructure/xhsCollector.ts:53
const response = await runtime.fetch(new URL(`/api/v1/${route}`, runtime.endpoint), {发起网络请求
src/remote/service.ts:13
return this.workbench.request(request, { kind: "user" }, signal);