자동 스캔 결과입니다. 설치 전에 소스를 확인하세요. 등급은 기능 범위를 나타내며 안전 인증이 아닙니다.
감지 위치 보기 (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);