读取本地文件
packages/auth/src/pi-ai-store.ts:94
const text = await readFile(this.path, 'utf8')写入本地文件
packages/auth/src/pi-ai-store.ts:104
await mkdir(directory, { recursive: true, mode: 0o700 })写入本地文件
packages/auth/src/pi-ai-store.ts:105
await chmod(directory, 0o700)写入本地文件
packages/auth/src/pi-ai-store.ts:118
await rename(temporaryPath, this.path)写入本地文件
packages/auth/src/pi-ai-store.ts:119
await chmod(this.path, 0o600)写入本地文件
packages/auth/src/pi-ai-store.ts:125
await mkdir(directory, { recursive: true, mode: 0o700 })写入本地文件
packages/auth/src/pi-ai-store.ts:126
await chmod(directory, 0o700)删除本地文件
packages/auth/src/pi-ai-store.ts:155
await unlink(path)读取本地文件
packages/auth/src/pi-ai-store.ts:171
const details = await stat(path)执行外部命令来自配置/变量
packages/cli/src/auth-discovery.ts:104
const stdout = execFileSync(spec.command, [...spec.args], {执行外部命令来自配置/变量
packages/cli/src/auth-discovery.ts:177
execFileSync(command, ['--version'], { stdio: 'ignore', timeout: 5_000 })执行外部命令来自配置/变量
packages/cli/src/index.ts:44
const out = execFileSync(command, args, { encoding: 'utf8', timeout: 10_000, stdio: ['ignore', 'pipe', 'pipe'] })读取本地文件
packages/cli/src/index.ts:158
rows.push({ check: 'OmO workspace (~/.omo)', status: existsSync(omoDir) ? 'PARTIAL' : 'INFO', detail: existsSync(omoDir) ? 'present — migration candid读取本地文件
packages/cli/src/index.ts:192
if (!existsSync(configPath)) {读取本地文件
packages/cli/src/index.ts:203
if (existsSync(outPath)) {执行外部命令固定命令
packages/cli/src/user-commands.ts:120
const output = execFileSync('dsh', ['--version'], { encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'], timeout: 10_000 }).trim()读取本地文件
packages/cli/src/user-commands.ts:132
const cliPackageManifest = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8')) as { version?: unknown }执行外部命令固定命令
packages/cli/src/user-commands.ts:147
execFileSync('dsh', ['plugin', '--profile', options.profileName, 'add', bundleSpec], {读取本地文件
packages/cli/src/user-commands.ts:162
if (!existsSync(profileManifestPath(profileDir))) return false读取本地文件
packages/cli/src/user-commands.ts:164
const manifest = JSON.parse(readFileSync(profileManifestPath(profileDir), 'utf8')) as { dsh?: { profile?: { bundles?: unknown } } }读取本地文件
packages/cli/src/user-commands.ts:167
&& existsSync(join(profileDir, 'node_modules', '@dshelm', 'dsh', 'package.json'))读取本地文件
packages/cli/src/user-commands.ts:208
if (existsSync(path)) {读取本地文件
packages/cli/src/user-commands.ts:209
const existing = initProfileSchema.parse(JSON.parse(readFileSync(path, 'utf8')))写入本地文件
packages/cli/src/user-commands.ts:216
writeFileSync(path, `${JSON.stringify(profile, null, 2)}\n`, { mode: 0o600 })写入本地文件
packages/cli/src/user-commands.ts:229
mkdirSync(dirname(path), { recursive: true })写入本地文件
packages/cli/src/user-commands.ts:230
writeFileSync(path, `${JSON.stringify(profile, null, 2)}\n`, { mode: 0o600, flag: 'wx' })删除本地文件递归
packages/cli/src/user-commands.ts:241
await rm(dshProfilePath, { recursive: true, force: true })删除本地文件
packages/cli/src/user-commands.ts:254
await unlink(path)读取本地文件
packages/compat-omo/src/index.ts:72
const text = await readFile(path, 'utf8')读取本地文件
packages/dsh/src/config-files.ts:33
const text = await readFile(`${cwd}/${DSHELM_CONFIG_DIR}/${DSHELM_CONFIG_FILE}`, 'utf8')