发起网络请求
dsh-auto-upgrade/lib/client.js:295
const response = await fetch(url, {读取本地文件
dsh-auto-upgrade/lib/index.js:49
const ownPackage = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8'))读取本地文件
dsh-auto-upgrade/lib/index.js:67
const raw = readFileSync(path, 'utf8')读取本地文件
dsh-auto-upgrade/lib/index.js:728
manifest = JSON.parse(await readFile(installation.manifestPath, 'utf8'))发起网络请求
dsh-awake/lib/client.js:86
const response = await fetch(url, {发起网络请求
dsh-external-discuss/lib/client.js:224
const response = await fetch(`${API_PAYLOAD}?${query.toString()}`, { headers: { accept: 'application/json' } })读取本地文件
dsh-im-bridge-workspaces/lib/index.js:382
size = statSync(real).size;读取本地文件
dsh-im-bridge-workspaces/lib/index.js:393
buffer = readFileSync(real);读取密钥环境变量
dsh-im-bridge-workspaces/lib/index.js:6902
if (node_process.env.LOG_TOKENS) console.log("|", cst.prettyToken(source));写入本地文件
dsh-im-bridge-workspaces/lib/index.js:7915
mkdirSync(dir, { recursive: true });写入本地文件
dsh-im-bridge-workspaces/lib/index.js:8009
mkdirSync(dest, { recursive: true });读取本地文件
dsh-im-bridge-workspaces/lib/index.js:8013
if (existsSync(skillDir)) rmSync(skillDir, {删除本地文件
dsh-im-bridge-workspaces/lib/index.js:8013
if (existsSync(skillDir)) rmSync(skillDir, {写入本地文件
dsh-im-bridge-workspaces/lib/index.js:8022
mkdirSync(dirname(target), { recursive: true });写入本地文件
dsh-im-bridge-workspaces/lib/index.js:8023
writeFileSync(target, entry.data);读取本地文件
dsh-im-bridge-workspaces/lib/index.js:8163
const raw = readFileSync(pkgJsonPath, "utf8");读取本地文件
dsh-im-bridge-workspaces/lib/index.js:8168
return existsSync(binJs) ? binJs : void 0;读取本地文件
dsh-im-bridge-workspaces/lib/index.js:8186
for (const name of names) if (existsSync(join(dir, name))) return true;写入本地文件
dsh-im-bridge-workspaces/lib/index.js:8220
mkdirSync(shimDir, { recursive: true });写入本地文件
dsh-im-bridge-workspaces/lib/index.js:8222
writeFileSync(join(shimDir, "wecom-cli.cmd"), `@echo off\r\necho ${WECOM_CLI_SHIM_DENY_MESSAGE}\r\nexit /b 1\r\n`, "utf8");读取本地文件
dsh-im-bridge-workspaces/src/index.ts:651
return readFileSync(config.personaFile, 'utf8')读取本地文件
dsh-im-bridge-workspaces/src/index.ts:660
return stripLeadingHashComments(readFileSync(file, 'utf8'))读取本地文件
dsh-im-bridge-workspaces/src/index.ts:856
raw = readFileSync(file, 'utf8')写入本地文件
dsh-im-bridge-workspaces/src/index.ts:899
mkdirSync(dirname(file), { recursive: true })写入本地文件
dsh-im-bridge-workspaces/src/index.ts:901
writeFileSync(tmp, `${JSON.stringify(payload, null, 2)}\n`, 'utf8')写入本地文件
dsh-im-bridge-workspaces/src/index.ts:902
renameSync(tmp, file)读取本地文件
dsh-im-bridge-workspaces/src/index.ts:1821
if (!existsSync(target) || !statSync(target).isDirectory()) {读取本地文件
dsh-im-bridge-workspaces/src/index.ts:1821
if (!existsSync(target) || !statSync(target).isDirectory()) {写入本地文件
dsh-im-bridge-workspaces/src/index.ts:2109
mkdirSync(dirname(file), { recursive: true })写入本地文件
dsh-im-bridge-workspaces/src/index.ts:2110
appendFileSync(file, `${line}\n`, 'utf8')读取本地文件
dsh-im-bridge-workspaces/src/reply-images.ts:160
size = statSync(real).size读取本地文件
dsh-im-bridge-workspaces/src/reply-images.ts:171
buffer = readFileSync(real)写入本地文件
dsh-im-bridge-workspaces/src/wecom-cli.ts:323
mkdirSync(dir, { recursive: true })写入本地文件
dsh-im-bridge-workspaces/src/wecom-cli.ts:426
mkdirSync(dest, { recursive: true })读取本地文件
dsh-im-bridge-workspaces/src/wecom-cli.ts:430
if (existsSync(skillDir)) rmSync(skillDir, { recursive: true, force: true })删除本地文件递归
dsh-im-bridge-workspaces/src/wecom-cli.ts:430
if (existsSync(skillDir)) rmSync(skillDir, { recursive: true, force: true })写入本地文件
dsh-im-bridge-workspaces/src/wecom-cli.ts:438
mkdirSync(dirname(target), { recursive: true })写入本地文件
dsh-im-bridge-workspaces/src/wecom-cli.ts:439
writeFileSync(target, entry.data)读取本地文件
dsh-im-bridge-workspaces/src/wecom-cli.ts:608
const raw = readFileSync(pkgJsonPath, 'utf8')读取本地文件
dsh-im-bridge-workspaces/src/wecom-cli.ts:613
return existsSync(binJs) ? binJs : undefined读取本地文件
dsh-im-bridge-workspaces/src/wecom-cli.ts:633
if (existsSync(join(dir, name))) return true写入本地文件
dsh-im-bridge-workspaces/src/wecom-cli.ts:674
mkdirSync(shimDir, { recursive: true })写入本地文件
dsh-im-bridge-workspaces/src/wecom-cli.ts:676
writeFileSync(读取本地文件
dsh-im-bridge-workspaces/src/wecom-cli.ts:998
if (!existsSync(dir)) return []读取本地文件
dsh-im-bridge-workspaces/src/wecom-cli.ts:1001
entries = readdirSync(dir, { withFileTypes: true })读取本地文件
dsh-plugin-memx/lib/index.js:38
source: stripTypeScriptTypes(readFileSync(path, "utf8"), { mode: "transform" }),读取本地文件
dsh-plugin-product-subagents/lib/availability.js:44
const present = candidates.some((p) => existsSync(p))读取本地文件
dsh-plugin-product-subagents/lib/availability.js:51
return existsSync(path)读取本地文件
dsh-plugin-product-subagents/lib/registry.js:29
const raw = readFileSync(path, 'utf8')写入本地文件
dsh-plugin-product-subagents/lib/registry.js:39
mkdirSync(dirname(path), { recursive: true })写入本地文件
dsh-plugin-product-subagents/lib/registry.js:41
writeFileSync(tmp, JSON.stringify(cache, null, 2))写入本地文件
dsh-plugin-product-subagents/lib/registry.js:42
renameSync(tmp, path)读取本地文件
dsh-plugin-product-subagents/lib/roles.js:30
for (const file of readdirSync(rolesDir)) {读取本地文件
dsh-plugin-product-subagents/lib/roles.js:34
const raw = JSON.parse(readFileSync(join(rolesDir, file), 'utf8'))执行外部命令来自配置/变量
dsh-plugin-product-subagents/lib/run.js:32
if (!IS_WIN) return spawn(command, args, options)执行外部命令固定命令
dsh-plugin-product-subagents/lib/run.js:33
return spawn('cmd.exe', winArgs(command, args), { ...options, windowsVerbatimArguments: true })执行外部命令来自配置/变量
dsh-plugin-product-subagents/lib/run.js:37
if (!IS_WIN) return spawnSync(command, args, options)执行外部命令固定命令
dsh-plugin-product-subagents/lib/run.js:38
return spawnSync('cmd.exe', winArgs(command, args), { ...options, windowsVerbatimArguments: true })发起网络请求
dsh-prompt-optimizer/lib/client.js:698
const resp = await fetch(ROUTE, {发起网络请求
dsh-prompt-optimizer/lib/client.js:1307
const resp = await fetch("/dsh-prompt-optimizer/test-model", {发起网络请求
dsh-prompt-optimizer/lib/controller.js:322
const resp = await fetch(ROUTE, {执行外部命令来自配置/变量
dsh-subagents/lib/bridge-cli.js:54
const result = spawnSync(bin, args, {写入本地文件
dsh-subagents/lib/cli.js:137
writeFileSync(flags.out, `${JSON.stringify(payload, null, 2)}\n`, 'utf8')写入本地文件
dsh-subagents/lib/cli.js:199
writeFileSync(tmpFile, `${JSON.stringify(record, null, 2)}\n`, 'utf8')写入本地文件
dsh-subagents/lib/cli.js:200
renameSync(tmpFile, flags.record)读取本地文件
dsh-subagents/lib/cli.js:218
const request = JSON.parse(readFileSync(flags.request, 'utf8')).request写入本地文件
dsh-subagents/lib/cli.js:232
writeFileSync(flags.out, text, 'utf8')读取本地文件
dsh-subagents/lib/cli.js:242
const request = JSON.parse(readFileSync(flags.request, 'utf8')).request写入本地文件
dsh-subagents/lib/cli.js:245
writeFileSync(flags.out, text, 'utf8')读取本地文件
dsh-subagents/lib/cli.js:274
payload = JSON.parse(readFileSync(file, 'utf8'))读取本地文件
dsh-subagents/lib/cli.js:318
if (existsSync(canonical)) {执行外部命令固定命令
dsh-subagents/lib/cli.js:399
const out = spawnSync('gh', ['pr', 'view', String(flags.pr), '--json', 'headRefOid'], {读取本地文件
dsh-subagents/lib/cli.js:416
if (!existsSync(flags.record)) throw gate(`找不到审核记录 ${flags.record}(用 --no-review 显式跳过)`)写入本地文件
dsh-subagents/lib/cli.js:530
writeFileSync(requestFile, `${JSON.stringify({ request }, null, 2)}\n`, { encoding: 'utf8', mode: 0o600 })删除本地文件递归
dsh-subagents/lib/cli.js:547
rmSync(tmpDir, { recursive: true, force: true })读取本地文件
dsh-subagents/lib/cli.js:567
const text = renderCard(JSON.parse(readFileSync(flags.input, 'utf8')))执行外部命令固定命令
dsh-subagents/lib/cli.js:592
const out = spawnSync('git', ['remote', 'get-url', 'origin'], { encoding: 'utf8', cwd })执行外部命令固定命令
dsh-subagents/lib/cli.js:609
const out = spawnSync('gh', ['repo', 'view', '--json', 'nameWithOwner', '-q', '.nameWithOwner'], {执行外部命令固定命令
dsh-subagents/lib/cli.js:624
const out = spawnSync('gh', command.args, {读取本地文件
dsh-subagents/lib/provider.js:283
if (existsSync(join(dir, bin))) return true读取本地文件
dsh-subagents/lib/record-bridge.js:68
const cli = tried.find((candidate) => existsSync(candidate))执行外部命令来自配置/变量
dsh-subagents/lib/record-bridge.js:133
const result = spawnSync(cli, args, { encoding: 'utf8' })执行外部命令固定命令
dsh-subagents/lib/record.js:25
const result = spawnSync('git', ['worktree', 'list', '--porcelain'], { cwd, encoding: 'utf8' })读取本地文件
dsh-subagents/lib/record.js:54
return JSON.parse(readFileSync(file, 'utf8'))读取本地文件
dsh-subagents/lib/record.js:71
if (!existsSync(file)) return empty读取本地文件
dsh-subagents/lib/record.js:73
const stored = JSON.parse(readFileSync(file, 'utf8'))写入本地文件
dsh-subagents/lib/record.js:93
mkdirSync(dir, { recursive: true })写入本地文件
dsh-subagents/lib/record.js:94
writeFileSync(circuitFile(dir), `${JSON.stringify(state, null, 2)}\n`, 'utf8')写入本地文件
dsh-subagents/lib/record.js:100
mkdirSync(skipDir, { recursive: true })写入本地文件
dsh-subagents/lib/record.js:102
writeFileSync(读取本地文件
dsh-subagents/lib/record.js:112
if (!existsSync(dir)) return []读取本地文件
dsh-subagents/lib/record.js:114
for (const entry of readdirSync(dir)) {读取本地文件
dsh-subagents/lib/record.js:117
const record = JSON.parse(readFileSync(join(dir, entry), 'utf8'))执行外部命令来自配置/变量
dsh-subagents/lib/request.js:31
const result = spawnSync(bin, args, { cwd, encoding: 'utf8', timeout, env, maxBuffer: 64 * 1024 * 1024 })读取本地文件
dsh-subagents/lib/request.js:85
if (!existsSync(path)) {读取本地文件
dsh-subagents/lib/request.js:89
return readFileSync(path)读取本地文件
dsh-subagents/lib/roles.js:38
if (!existsSync(dir)) return { roles, skipped }读取本地文件
dsh-subagents/lib/roles.js:39
for (const entry of readdirSync(dir).sort()) {读取本地文件
dsh-subagents/lib/roles.js:43
const raw = JSON.parse(readFileSync(file, 'utf8'))读取本地文件
dsh-subagents/lib/shard.js:279
if (!existsSync(dir)) {读取本地文件
dsh-subagents/lib/shard.js:286
for (const name of readdirSync(dir).sort()) {读取本地文件
dsh-subagents/lib/shard.js:307
record = JSON.parse(readFileSync(file, 'utf8'))写入本地文件
dsh-subagents/lib/shard.js:458
writeFileSync(tmp, `${JSON.stringify(record, null, 2)}\n`, 'utf8')写入本地文件
dsh-subagents/lib/shard.js:459
renameSync(tmp, target)读取本地文件
dsh-subagents/lib/shard.js:479
record = JSON.parse(readFileSync(target, 'utf8'))写入本地文件
dsh-subagents/lib/shard.js:498
writeFileSync(tmp, `${JSON.stringify(sharded, null, 2)}\n`, 'utf8')写入本地文件
dsh-subagents/lib/shard.js:499
renameSync(tmp, target)删除本地文件
dsh-subagents/lib/shard.js:501
rmSync(tmp, { force: true })读取本地文件
dsh-usage-panel/lib/index.js:600
await access(filePath);读取本地文件
dsh-usage-panel/lib/index.js:616
const stream = createReadStream(filePath, { encoding: "utf8" });发起网络请求
dsh-usage-panel/lib/index.js:770
const req = lib.request(读取本地文件
dsh-usage-panel/lib/index.js:1034
const entries = await readdir(backupsDir, { withFileTypes: true });读取本地文件
dsh-usage-panel/lib/index.js:1150
raw = await readFile(filePath, "utf8");读取本地文件
dsh-usage-panel/lib/index.js:1230
raw = await readFile2(filePath, "utf8");读取本地文件
dsh-usage-panel/lib/index.js:1296
const info = await stat(filePath);发起网络请求
dsh-zhihu-sidebar/extension/content.js:13
const response = await fetch(url, {发起网络请求
dsh-zhihu-sidebar/lib/client.js:843
return fetch(url, init)