启用终端会话(PTY)
community-plugins/DSH-better-sidebar/src/agent-pty.ts:214
const pty = nodePty.spawn(this.shell, shellSpawnArgs(), {读取本地文件
community-plugins/DSH-better-sidebar/src/bundle-route.ts:51
const info = await stat(path)读取本地文件
community-plugins/DSH-better-sidebar/src/bundle-route.ts:56
const etag = `"${shortHash(await readFile(path))}"`读取本地文件
community-plugins/DSH-better-sidebar/src/bundle-route.ts:107
const body = await readFile(join(chunkDir, `client-${name}.js`))读取本地文件
community-plugins/DSH-better-sidebar/src/fs-tree.ts:43
level = await opendir(path)执行外部命令固定命令
community-plugins/DSH-better-sidebar/src/git.ts:97
const child = spawn('git', full, {读取本地文件
community-plugins/DSH-better-sidebar/src/index.ts:137
const info = await stat(path).catch((error: unknown) => {写入本地文件
community-plugins/DSH-better-sidebar/src/index.ts:225
await mkdir(dirname(path), { recursive: true })写入本地文件
community-plugins/DSH-better-sidebar/src/index.ts:226
await writeFile(tmp, content, 'utf8')写入本地文件
community-plugins/DSH-better-sidebar/src/index.ts:227
await rename(tmp, path)删除本地文件
community-plugins/DSH-better-sidebar/src/index.ts:229
await rm(tmp, { force: true }).catch(() => {})发起网络请求
community-plugins/DSH-better-sidebar/src/index.ts:390
let response = await fetch(parsed, { method: 'HEAD', redirect: 'follow', signal: controller.signal })发起网络请求
community-plugins/DSH-better-sidebar/src/index.ts:394
response = await fetch(parsed, { method: 'GET', redirect: 'follow', signal: controller.signal })读取本地文件
community-plugins/DSH-better-sidebar/src/index.ts:566
const info = await stat(path)读取本地文件
community-plugins/DSH-better-sidebar/src/index.ts:571
const body = await readFile(path)读取本地文件
community-plugins/DSH-better-sidebar/src/index.ts:627
const info = await stat(absolute)读取本地文件
community-plugins/DSH-better-sidebar/src/index.ts:632
const body = await readFile(absolute)写入本地文件
community-plugins/DSH-better-sidebar/src/pty-manager.ts:37
if (existsSync(helper)) chmodSync(helper, 0o755)读取本地文件
community-plugins/DSH-better-sidebar/src/pty-manager.ts:37
if (existsSync(helper)) chmodSync(helper, 0o755)启用终端会话(PTY)
community-plugins/DSH-better-sidebar/src/pty-manager.ts:122
pty: nodePty.spawn(this.shell, shellSpawnArgs(), {读取本地文件
community-plugins/dsh-backup/lib/index.js:232
dirents = await readdir(root, { withFileTypes: true });读取本地文件
community-plugins/dsh-backup/lib/index.js:242
size = (await fsStat(`${root}/${d.name}`)).size;写入本地文件
community-plugins/dsh-backup/lib/index.js:252
await mkdir(dirname(p), { recursive: true });写入本地文件
community-plugins/dsh-backup/lib/index.js:253
await writeFile(p, content, 'utf8');读取本地文件
community-plugins/dsh-backup/lib/index.js:270
const info = await fsStat(absPath);读取本地文件
community-plugins/dsh-backup/lib/index.js:274
const bytes = await readFile(absPath);写入本地文件
community-plugins/dsh-backup/lib/index.js:370
await mkdir(syncDir, { recursive: true });读取本地文件
community-plugins/dsh-backup/lib/index.js:372
const hasGit = await fsStat(`${syncDir}/.git`).then(() => true, () => false);读取本地文件
community-plugins/dsh-backup/lib/index.js:408
entries = await readdir(syncDir, { withFileTypes: true });写入本地文件
community-plugins/dsh-backup/lib/index.js:424
await copyFile(`${root}/${b.name}`, `${syncDir}/${b.name}`);写入本地文件
community-plugins/dsh-backup/lib/index.js:425
await copyFile(`${root}/${b.name}.sha256`, `${syncDir}/${b.name}.sha256`);发起网络请求
community-plugins/dsh-undo-plugin-fixed/lib/client.js:243
return fetch(path, {读取本地文件
community-plugins/dsh-undo-plugin-fixed/lib/index2.js:70
const hasScoped = existsSync(join(scoped, 'auto')) || existsSync(join(scoped, 'manual'));读取本地文件
community-plugins/dsh-undo-plugin-fixed/lib/index2.js:71
const hasFlat = existsSync(join(LEGACY_ROOT, 'auto')) || existsSync(join(LEGACY_ROOT, 'manual'));读取本地文件
community-plugins/dsh-undo-plugin-fixed/lib/index2.js:174
const j = JSON.parse(readFileSync(SPEC_PATH, 'utf8').replace(/^ FEFF/, ''));读取本地文件
community-plugins/dsh-undo-plugin-fixed/lib/index2.js:570
const j = JSON.parse(readFileSync(SETTINGS_FILE, 'utf8').replace(/^ FEFF/, ''));执行外部命令固定命令
community-plugins/dsh-undo-plugin-fixed/lib/index2.js:1216
execFile('powershell', ['-NoProfile', '-Command', script], {执行外部命令固定命令
community-plugins/dsh-undo-plugin-fixed/lib/index2.js:1239
execFile('powershell', ['-NoProfile', '-Command', script], {执行外部命令固定命令
community-plugins/dsh-undo-plugin-fixed/lib/index2.js:1254
execFile('powershell', ['-NoProfile', '-NonInteractive', '-Command', parts.join(' ')], {读取本地文件
community-plugins/dsh-undo-plugin-fixed/lib/index2.js:1743
if (!existsSync(dir)) return;发起网络请求
community-plugins/dsh-wsl-workspace/lib/client.js:30
response = await fetch(ENDPOINT, {读取本地文件
community-plugins/dsh-wsl-workspace/lib/fs.js:45
await lstat(destPath);写入本地文件
community-plugins/dsh-wsl-workspace/lib/fs.js:49
await rename(tempPath, destPath);写入本地文件
community-plugins/dsh-wsl-workspace/lib/fs.js:59
await rename(tempPath, destPath);读取本地文件
community-plugins/dsh-wsl-workspace/lib/fs.js:165
async lstat(path, opts, signal) {读取本地文件
community-plugins/dsh-wsl-workspace/lib/index.js:343
if (statSync(`${letter}:\\`).isDirectory()) entries.push({读取本地文件
community-plugins/dsh-wsl-workspace/lib/index.js:356
const entries = readdirSync(winPath !== null ? winPath : joinUnc(distro, linuxPath), { withFileTypes: true }).slice(0, 1e3).map((dirent) => {读取本地文件
community-plugins/dsh-wsl-workspace/lib/index.js:391
isDirectory: statSync(readPath).isDirectory()写入本地文件
community-plugins/dsh-wsl-workspace/lib/index.js:456
mkdirSync(dir, { recursive: true });写入本地文件
community-plugins/dsh-wsl-workspace/lib/index.js:457
writeFileSync(join(dir, "agent.cordis.yml"), transformed, "utf8");读取本地文件
community-plugins/dsh-wsl-workspace/lib/index.js:465
if (!existsSync(srcFile)) continue;写入本地文件
community-plugins/dsh-wsl-workspace/lib/index.js:466
mkdirSync(dirname(join(dir, rowFile)), { recursive: true });写入本地文件
community-plugins/dsh-wsl-workspace/lib/index.js:467
copyFileSync(srcFile, join(dir, rowFile));读取本地文件
community-plugins/dsh-wsl-workspace/lib/index.js:469
const content = readFileSync(srcFile, "utf8");读取本地文件
community-plugins/dsh-wsl-workspace/lib/index.js:484
const meta = readFileSync(join(dirname(preset.path), "preset.yml"), "utf8");写入本地文件
community-plugins/dsh-wsl-workspace/lib/index.js:492
writeFileSync(join(dir, "preset.yml"), `name: ${yamlScalar(name)}\n` + orderLine + `description: ${yamlScalar(variantDescription(preset.id))}\n`, "utf删除本地文件
community-plugins/dsh-wsl-workspace/lib/index.js:498
rmSync(join(userRoot, entry.name), {删除本地文件
community-plugins/dsh-wsl-workspace/lib/index.js:505
if (!generated.has(entry.name)) rmSync(join(userRoot, entry.name), {读取本地文件
community-plugins/dsh-wsl-workspace/lib/wsl-CW3VPEIA.js:24
const parsed = JSON.parse(readFileSync(storePath(), "utf8"));写入本地文件
community-plugins/dsh-wsl-workspace/lib/wsl-CW3VPEIA.js:67
mkdirSync(dirname(path), { recursive: true });写入本地文件
community-plugins/dsh-wsl-workspace/lib/wsl-CW3VPEIA.js:68
writeFileSync(path, JSON.stringify(store, null, 2) + "\n", "utf8");写入本地文件
community-plugins/dsh-wsl-workspace/lib/wsl-CW3VPEIA.js:91
mkdirSync(dirname(path), { recursive: true });写入本地文件
community-plugins/dsh-wsl-workspace/lib/wsl-CW3VPEIA.js:92
writeFileSync(path, JSON.stringify(store, null, 2) + "\n", "utf8");执行外部命令固定命令
community-plugins/dsh-wsl-workspace/lib/wsl-CW3VPEIA.js:193
const value = execFileSync("reg.exe", [执行外部命令固定命令
community-plugins/dsh-wsl-workspace/lib/wsl-CW3VPEIA.js:201
const name = execFileSync("reg.exe", [读取本地文件
community-plugins/dsh-wsl-workspace/src/fs.ts:93
await lstat(destPath)写入本地文件
community-plugins/dsh-wsl-workspace/src/fs.ts:99
await rename(tempPath, destPath)写入本地文件
community-plugins/dsh-wsl-workspace/src/fs.ts:110
await rename(tempPath, destPath)读取本地文件
community-plugins/dsh-wsl-workspace/src/fs.ts:220
override async lstat(path: string, opts?: { cwd?: string }, signal?: AbortSignal): Promise<FsPathInfo | undefined> {读取本地文件
community-plugins/dsh-wsl-workspace/src/index.ts:228
const info = statSync(`${letter}:\\`)读取本地文件
community-plugins/dsh-wsl-workspace/src/index.ts:238
const dirents = readdirSync(readPath, { withFileTypes: true })读取本地文件
community-plugins/dsh-wsl-workspace/src/index.ts:279
const info = statSync(readPath)写入本地文件
community-plugins/dsh-wsl-workspace/src/index.ts:368
mkdirSync(dir, { recursive: true })写入本地文件
community-plugins/dsh-wsl-workspace/src/index.ts:369
writeFileSync(join(dir, 'agent.cordis.yml'), transformed, 'utf8')读取本地文件
community-plugins/dsh-wsl-workspace/src/index.ts:381
if (!existsSync(srcFile)) continue写入本地文件
community-plugins/dsh-wsl-workspace/src/index.ts:382
mkdirSync(dirname(join(dir, rowFile)), { recursive: true })写入本地文件
community-plugins/dsh-wsl-workspace/src/index.ts:383
copyFileSync(srcFile, join(dir, rowFile))读取本地文件
community-plugins/dsh-wsl-workspace/src/index.ts:385
const content = readFileSync(srcFile, 'utf8')读取本地文件
community-plugins/dsh-wsl-workspace/src/index.ts:403
const meta = readFileSync(join(dirname(preset.path), 'preset.yml'), 'utf8')写入本地文件
community-plugins/dsh-wsl-workspace/src/index.ts:419
writeFileSync(删除本地文件递归
community-plugins/dsh-wsl-workspace/src/index.ts:432
rmSync(join(userRoot, entry.name), { recursive: true, force: true })删除本地文件递归
community-plugins/dsh-wsl-workspace/src/index.ts:436
if (!generated.has(entry.name)) rmSync(join(userRoot, entry.name), { recursive: true, force: true })读取本地文件
plugins/desktop-remote/index.mjs:197
assert.ok((await stat(config.stateDirectory)).isDirectory(), 'Create and protect stateDirectory before boot');删除本地文件
plugins/desktop-remote/index.mjs:208
await unlink(join(config.stateDirectory, file)).catch(error => { if (error.code !== 'ENOENT') throw error; });写入本地文件
plugins/desktop-remote/index.mjs:216
await writeFile(temp, JSON.stringify(state, null, 2) + '\n', { mode: 0o600 });写入本地文件
plugins/desktop-remote/index.mjs:217
await rename(temp, filename);写入本地文件
plugins/desktop-remote/index.mjs:223
await writeFile(join(config.stateDirectory, 'connect.html'), `<!doctype html><html lang="zh-CN"><meta charset="utf-8"><title>DSH 私有连接</title>发起网络请求
plugins/dsh-memory-panel/lib/client.js:24
return fetch('/memory' + suffix).then(function (r) { return r.json(); }).then(unwrap);发起网络请求
plugins/dsh-memory-panel/lib/client.js:28
return fetch('/memory' + suffix, {写入本地文件
plugins/dsh-memory-panel/lib/index.js:83
await mkdir(dir, { recursive: true })读取本地文件
plugins/dsh-memory-panel/lib/index.js:84
const entries = await readdir(dir, { withFileTypes: true })读取本地文件
plugins/dsh-memory-panel/lib/index.js:91
const st = await stat(p)读取本地文件
plugins/dsh-memory-panel/lib/index.js:108
content = await readFile(safePath(kind, f.id), 'utf8')写入本地文件
plugins/dsh-memory-panel/lib/index.js:181
await mkdir(kindDir('pages'), { recursive: true })写入本地文件
plugins/dsh-memory-panel/lib/index.js:182
await mkdir(kindDir('notes'), { recursive: true })读取本地文件
plugins/dsh-memory-panel/lib/index.js:213
content = await readFile(safePath('pages', r.id), 'utf8')读取本地文件
plugins/dsh-memory-panel/lib/index.js:230
const content = await readFile(p, 'utf8')读取本地文件
plugins/dsh-memory-panel/lib/index.js:244
content = await readFile(safePath('notes', r.id), 'utf8')写入本地文件
plugins/dsh-memory-panel/lib/index.js:287
await writeFile(safePath('notes', id), content, 'utf8')