検出箇所を見る(32)
コマンド実行 ・行79 行plugin/hooks/register.tsxconst match = /__(init|run|log)_experiment$/.exec(tool)
環境変数 ・行149 行plugin/hooks/register.tsxtmpDir: async () => ((await $.env.get('TMPDIR')) ?? '/tmp').replace(/\/+$/, '') || '/tmp',
環境変数 ・行150 行plugin/hooks/register.tsxparentPid: () => $.env.get('CLAUDE_PID'),
ファイル読み取り ・行161 行plugin/hooks/register.tsxsize = (await $.fs.stat(path)).size
ファイル読み取り ・行165 行plugin/hooks/register.tsxif (size < FS_LIMIT_BYTES) return $.fs.read(path)
コマンド実行 ・行167 行plugin/hooks/register.tsxfor await (const chunk of $.process.spawn({ argv: ['cat', '--', path] })) {
ファイル書き込み ・行172 行plugin/hooks/register.tsxwriteText: (path, text) => $.fs.write(path, text),
コマンド実行 ・行174 行plugin/hooks/register.tsxconst result = await $.process.run(
ファイル読み取り ・行183 行plugin/hooks/register.tsxconst { kind } = await $.fs.stat(path)
ファイル読み取り ・行191 行plugin/hooks/register.tsxreturn (await $.fs.stat(path, { resolve: true })).realPath ?? null
コマンド実行 ・行196 行plugin/hooks/register.tsxisExecutable: async path => (await $.process.run(['test', '-x', path])).exitCode === 0,
コマンド実行 ・行198 行plugin/hooks/register.tsxconst result = await $.process.run(['rm', '-f', '--', path])
コマンド実行 ・行202 行plugin/hooks/register.tsxrun: (argv, init) => $.process.run(argv, init),
コマンド実行 ・行204 行plugin/hooks/register.tsxconst stream = $.process.spawn({ argv, cwd: init.cwd, env: init.env })
プロンプト送信 ・行240 行plugin/hooks/register.tsxvoid $.prompt.submit({ text }).catch(error => {
ツール登録 ・行245 行plugin/hooks/register.tsxregisterTool: async spec => (await $.tool.register(spec)).tool,
ネットワーク通信 ・行286 行plugin/hooks/register.tsxpost: async (url, body) => ({ status: (await $.http.fetch(url, { method: 'POST', body })).status }),
コマンド実行 ・行288 行plugin/hooks/register.tsxconst opened = await $.process.run(['open', url]).catch(() => null)
コマンド実行 ・行290 行plugin/hooks/register.tsxawait $.process.run(['xdg-open', url])
ツール呼び出しの介入 ・行406 行plugin/hooks/register.tsxon('tool.call', { tool: OUR_TOOLS }, async ($, e, next) => {
コマンド実行 ・行30 行plugin/hooks/app/index.tsconst match = /^mcp__[\w-]*autoresearch[\w-]*__(init|run|log)_experiment$/.exec(served);
コマンド実行 ・行119 行plugin/hooks/app/index.tsif (name === "init_experiment") answer = await executeInit(ctx, input as unknown as InitParams);
コマンド実行 ・行120 行plugin/hooks/app/index.tselse if (name === "run_experiment") answer = await executeRun(ctx, input as unknown as RunParams, toolUseId, signal);
コマンド実行 ・行121 行plugin/hooks/app/index.tselse answer = await executeLog(ctx, input as unknown as LogParams);
コマンド実行 ・行79 行plugin/hooks/upstream/experiment-core.tswhile ((match = regex.exec(output)) !== null) {
コマンド実行 ・行73 行plugin/hooks/app/export.tsconst child = host.spawn(
コマンド実行 ・行24 行plugin/hooks/app/tools/init.tsexport async function executeInit(ctx: Ctx, params: InitParams): Promise<ToolAnswer> {
コマンド実行 ・行87 行plugin/hooks/app/tools/run.tsexport async function executeRun(
コマンド実行 ・行193 行plugin/hooks/app/tools/run.tsconst child = host.spawn(wrapperArgv(host, timeout / 1000, timeoutMarker, fullLogPath, params.command), {
コマンド実行 ・行334 行plugin/hooks/app/tools/run.tsconst child = host.spawn(
コマンド実行 ・行54 行plugin/hooks/app/tools/log.tsexport async function executeLog(ctx: Ctx, params: LogParams): Promise<ToolAnswer> {
コマンド実行 ・行83 行plugin/hooks/ui/styled.tsconst marker = /^38;2;1;2;(\d+)$/.exec(params);