读取本地文件
codex-bridge/mcp-codex-server.mjs:39
if (existsSync(c)) return { cmd: c, prefix: [], source: c };执行外部命令来自配置/变量
codex-bridge/mcp-codex-server.mjs:102
child = spawn(cmd, [...prefix, ...args], {读取本地文件
codex-bridge/mcp-codex-server.mjs:142
if (existsSync(lastFile)) finalMessage = readFileSync(lastFile, 'utf8').trim();读取本地文件
codex-bridge/mcp-codex-server.mjs:142
if (existsSync(lastFile)) finalMessage = readFileSync(lastFile, 'utf8').trim();删除本地文件递归
codex-bridge/mcp-codex-server.mjs:146
try { rmSync(tmpDir, { recursive: true, force: true }); } catch { }执行外部命令来自配置/变量
codex-bridge/mcp-codex-server.mjs:275
const c = spawn(cmd, ['--version'], { windowsHide: true, stdio: ['ignore', 'pipe', 'ignore'] });执行外部命令来自配置/变量
codex-bridge/selftest.mjs:19
const child = spawn(process.execPath, [serverPath], { stdio: ['pipe', 'pipe', 'inherit'] });读取本地文件
docs/research/_audit.mjs:3
const rows = JSON.parse(readFileSync(new URL('./_scan.json', import.meta.url), 'utf8'));读取本地文件
docs/research/_audit.mjs:4
const md = readFileSync(new URL('./mcp-verify.md', import.meta.url), 'utf8');读取本地文件
docs/research/_gen.mjs:5
const rows = JSON.parse(readFileSync(new URL('./_scan.json', import.meta.url), 'utf8'));写入本地文件
docs/research/_gen.mjs:470
writeFileSync(new URL('./mcp-verify.md', import.meta.url), md, 'utf8');发起网络请求
docs/research/_scan.mjs:61
const res = await fetch(url, {写入本地文件
docs/research/_scan.mjs:119
writeFileSync(new URL('./_scan.json', import.meta.url), JSON.stringify(out, null, 2), 'utf8');请求外部主机registry.npmjs.org
docs/research/_scan2.mjs:15
const res = await fetch(`https://registry.npmjs.org/${enc(name)}`, { headers: { accept: 'application/json' } });发起网络请求
docs/research/_scan2.mjs:15
const res = await fetch(`https://registry.npmjs.org/${enc(name)}`, { headers: { accept: 'application/json' } });请求外部主机registry.npmjs.org
docs/research/_scan2.mjs:38
const d = await (await fetch(`https://registry.npmjs.org/${name.replace('/', '%2f')}`)).json();发起网络请求
docs/research/_scan2.mjs:38
const d = await (await fetch(`https://registry.npmjs.org/${name.replace('/', '%2f')}`)).json();读取本地文件
docs/research/build-catalog.mjs:12
const awesome = JSON.parse(readFileSync(join(HERE, 'awesome-parsed.json'), 'utf8'));读取本地文件
docs/research/build-catalog.mjs:13
const npm = JSON.parse(readFileSync(join(HERE, 'decorations-raw.json'), 'utf8'));读取本地文件
docs/research/build-catalog.mjs:15
try { catalog = JSON.parse(readFileSync(join(HERE, 'catalog-decor.json'), 'utf8')); } catch { }读取本地文件
docs/research/build-catalog.mjs:17
try { github = JSON.parse(readFileSync(join(HERE, 'github-decor.json'), 'utf8')); } catch { }写入本地文件
docs/research/build-catalog.mjs:306
writeFileSync(outPath, out.join('\n'), 'utf8');读取本地文件
docs/research/build-gallery.mjs:17
const data = JSON.parse(readFileSync(IN, 'utf8'));写入本地文件
docs/research/build-gallery.mjs:240
writeFileSync(OUT, html, 'utf8');写入本地文件
docs/research/build-gallery.mjs:297
writeFileSync(MD, md.join('\n'), 'utf8');读取本地文件
docs/research/fetch-catalog.mjs:39
catalog = JSON.parse(readFileSync(FILE, 'utf8'));发起网络请求
docs/research/fetch-catalog.mjs:41
const r = await fetch(SRC, { signal: AbortSignal.timeout(60000) });写入本地文件
docs/research/fetch-catalog.mjs:71
writeFileSync(OUT, JSON.stringify({发起网络请求
docs/research/fetch-decorations.mjs:32
const r = await fetch(url, {写入本地文件
docs/research/fetch-decorations.mjs:118
writeFileSync(OUT, JSON.stringify(payload, null, 1), 'utf8');读取本地文件
docs/research/fetch-dl.js:5
const raw = JSON.parse(fs.readFileSync(path.join(dir, 'raw.json'), 'utf8').replace(/^ FEFF/, ''));发起网络请求
docs/research/fetch-dl.js:15
const r = await fetch(url, { signal: AbortSignal.timeout(15000) });写入本地文件
docs/research/fetch-dl.js:40
fs.writeFileSync(path.join(dir, 'with-dl.json'), JSON.stringify(merged, null, 1), 'utf8');读取密钥环境变量
docs/research/fetch-github.mjs:17
const TOKEN = process.env.GITHUB_TOKEN;发起网络请求
docs/research/fetch-github.mjs:54
const r = await fetch(url, {写入本地文件
docs/research/fetch-github.mjs:129
writeFileSync(OUT, JSON.stringify({读取本地文件
docs/research/fetch-previews.mjs:32
const text = readFileSync(IN, 'utf8');发起网络请求
docs/research/fetch-previews.mjs:73
const r = await fetch(url, { signal: AbortSignal.timeout(15000), headers: { 'user-agent': 'dsh-previews/1.0' } });写入本地文件
docs/research/fetch-previews.mjs:153
writeFileSync(OUT, JSON.stringify({ generated: new Date().toISOString(), total: results.length, byType, entries: results }, null, 1), 'utf8');发起网络请求
docs/research/fetch-search.js:13
const r = await fetch(url, { signal: AbortSignal.timeout(30000) });读取本地文件
docs/research/fetch-search.js:34
if (fs.existsSync(dlPath)) {读取本地文件
docs/research/fetch-search.js:35
const prev = JSON.parse(fs.readFileSync(dlPath, 'utf8').replace(/^ FEFF/, ''));写入本地文件
docs/research/fetch-search.js:39
fs.writeFileSync(path.join(dir, 'search-clean.json'), JSON.stringify(rows, null, 1), 'utf8');写入本地文件
docs/research/fetch-search.js:78
fs.writeFileSync(path.join(dir, 'category-top.md'), out.join('\n'), 'utf8');读取本地文件
docs/research/parse-awesome.mjs:15
const lines = readFileSync(src, 'utf8').split(/ ? /);写入本地文件
docs/research/parse-awesome.mjs:63
writeFileSync(outPath, JSON.stringify({发起网络请求
media-plugins/media-hub/client.js:106
try { const response = await fetch(path, { credentials: 'same-origin', ...options, headers: { accept: 'application/json', ...(init.body ? { 'content-t发起网络请求
media-plugins/media-hub/client.js:375
try { const response = await fetch('/media-hub/api/status', { credentials: 'same-origin', headers: { accept: 'application/json' }, signal: controller.发起网络请求
media-plugins/media-hub/index.js:180
upstream = await fetch(lease.url, { method: req.method, headers, redirect: 'error', signal: controller.signal });读取本地文件
we-workshop/index.js:9
const PAGE = readFileSync(join(HERE, 'page.html'), 'utf8');发起网络请求
we-workshop/index.js:75
const connectReq = http.request({发起网络请求
we-workshop/index.js:94
const req = https.request({读取本地文件
we-workshop/index.js:141
if (!existsSync(WORKSHOP_DIR)) return { dir: WORKSHOP_DIR, count: 0, items: [] };读取本地文件
we-workshop/index.js:143
for (const entry of readdirSync(WORKSHOP_DIR, { withFileTypes: true })) {读取本地文件
we-workshop/index.js:148
const project = JSON.parse(readFileSync(join(WORKSHOP_DIR, entry.name, 'project.json'), 'utf8'));