자동 스캔 결과입니다. 설치 전에 소스를 확인하세요. 등급은 기능 범위를 나타내며 안전 인증이 아닙니다.
스캔이 완료되지 않았습니다.외부 의존성 스캔 안 됨: …-5-5; 가져온 의존성이 스캔 한도를 초과했습니다 표시된 등급은 하한선이며, 분석하지 못한 부분에는 더 높은 권한이 있을 수 있습니다.
감지 위치 보기 (46)
명령 실행 · 줄123 줄plugins/clawd-hq/hooks/register.tsxspawn: a => $.agent.spawn({ subagentType: SCOUT_TYPE, description: a.description, prompt: a.prompt }), list: () => $.agent.list(), version: async () => { const v = await $.session.version(); return v.
도구 호출 가로채기 · 줄123 줄plugins/clawd-hq/hooks/register.tsxspawn: a => $.agent.spawn({ subagentType: SCOUT_TYPE, description: a.description, prompt: a.prompt }), list: () => $.agent.list(), version: async () => { const v = await $.session.version(); return v.
환경 변수 · 줄174 줄plugins/clawd-hq/hooks/register.tsxconst homeOf = async ($: EngineInterface) => ((await $.env.get("HOME").catch(() => undefined)) || (await $.env.get("USERPROFILE").catch(() => undefined)) || '').replace(/[\\/]+$/, '')
파일 읽기 · 줄177 줄plugins/clawd-hq/hooks/register.tsxroot: $.plugin.root, home, warn, read: path => $.fs.read(path), exists: path => $.fs.exists(path),
파일 쓰기 · 줄213 줄plugins/clawd-hq/hooks/register.tsxwrite: (path, text) => $.fs.write(path, text), setSeed: (part, text) => $.store.set(SEED_KEYS[part], text),
파일 읽기 · 줄243 줄plugins/clawd-hq/hooks/register.tsxhires: async () => hireTypes((await $.store.get(teamKey(cwd))) as SavedTeam | undefined), list: path => $.fs.list(path), fx: () => getFx($), setFx: fn => setFx($, fn),
도구 호출 가로채기 · 줄253 줄plugins/clawd-hq/hooks/register.tsxcheck: i => $.tool.check(i as never), list: i => $.tool.call({ tool: 'Artifact', ...i }) as never,
파일 읽기 · 줄259 줄plugins/clawd-hq/hooks/register.tsxread: path => $.fs.read(path), complete: ask => $.model.complete(ask), fillPrompt: text => knowIo($).fillPrompt(text), byOf: id => byOf($, id), get: key => $.store.get(key), set: (key, value) => $.sto
모델 호출 · 줄259 줄plugins/clawd-hq/hooks/register.tsxread: path => $.fs.read(path), complete: ask => $.model.complete(ask), fillPrompt: text => knowIo($).fillPrompt(text), byOf: id => byOf($, id), get: key => $.store.get(key), set: (key, value) => $.sto
파일 읽기 · 줄268 줄plugins/clawd-hq/hooks/register.tsxexists: path => $.fs.exists(path), read: path => $.fs.read(path), write: (path, text) => $.fs.write(path, text),
파일 쓰기 · 줄268 줄plugins/clawd-hq/hooks/register.tsxexists: path => $.fs.exists(path), read: path => $.fs.read(path), write: (path, text) => $.fs.write(path, text),
모델 호출 · 줄302 줄plugins/clawd-hq/hooks/register.tsxask: prompt => $.model.fork({ prompt }),
모델 호출 · 줄313 줄plugins/clawd-hq/hooks/register.tsxcomplete: ask => $.model.complete(ask),
환경 변수 · 줄324 줄plugins/clawd-hq/hooks/register.tsxconst [now, home, config, known, p] = [await $.clock.now(), await homeOf($), await $.env.get('CLAUDE_CONFIG_DIR').catch(() => undefined), await read($, blurbs), await getPayroll($)]
파일 읽기 · 줄328 줄plugins/clawd-hq/hooks/register.tsxnow: () => now, cwd, home: () => home, isFolder: path => $.fs.stat(path).then(s => s.kind === 'dir', () => false), configDir: () => config || undefined, blurbs: () => known, allAgentTypes: () => types
파일 읽기 · 줄331 줄plugins/clawd-hq/hooks/register.tsxlist: dir => listEntries(dir, d => $.fs.list(d), path => $.fs.stat(path)), read: path => $.fs.read(path).catch(() => undefined), exists: path => $.fs.exists(path),
모델 호출 · 줄334 줄plugins/clawd-hq/hooks/register.tsxcomplete: async req => answerText(await $.model.complete(req)),
파일 읽기 · 줄347 줄plugins/clawd-hq/hooks/register.tsxfolder: () => cwd, root: () => $.session.root(), real: path => $.fs.stat(path, { resolve: true }).then(s => s.realPath),
모델 호출 · 줄451 줄plugins/clawd-hq/hooks/register.tsxask: prompt => $.model.fork({ prompt }), // the note's one short question, on the cached chat
프롬프트 제출 · 줄459 줄plugins/clawd-hq/hooks/register.tsxconst councilIo = ($: EngineInterface): CouncilIo => ({ fill: text => $.prompt.fill({ text, mode: 'append' }), submit: text => $.prompt.submit({ text, asUser: true }), later: fn => $.clock.after(0, fn
도구 등록 · 줄516 줄plugins/clawd-hq/hooks/register.tsx['demo tool', () => $.tool.register(DEMO_SPEC)],
도구 등록 · 줄522 줄plugins/clawd-hq/hooks/register.tsx['offer rule tool', () => $.tool.register(OFFER_RULE_SPEC)],
도구 등록 · 줄524 줄plugins/clawd-hq/hooks/register.tsx['step tool', () => $.tool.register(STEP_SPEC)],
도구 등록 · 줄525 줄plugins/clawd-hq/hooks/register.tsx['find helpers tool', () => $.tool.register(FIND_HELPERS_SPEC)],
도구 등록 · 줄526 줄plugins/clawd-hq/hooks/register.tsx['contractor tool', () => $.tool.register(HIRE_CONTRACTOR_SPEC)],
명령 실행 · 줄640 줄plugins/clawd-hq/hooks/register.tsxif (spawnTypeOf(e) === SCOUT_TYPE) return handScoutSpawn(scoutHandoff, next.origin.plugin === 'clawd-hq', () => next(e)) as never // the setup scout: no brief notes, no desk
도구 호출 가로채기 · 줄684 줄plugins/clawd-hq/hooks/register.tsxon('tool.call', { tool: 'Artifact' }, async ($, e, next) => {
도구 호출 가로채기 · 줄692 줄plugins/clawd-hq/hooks/register.tsxfor (const tool of FILE_TOOLS) on('tool.call', { tool: tool as 'Edit' }, ($, e, next) => leftWatch(leftIo($), e as never, () => next(e))) // MultiEdit is no declared tool name, but the engine runs one
도구 호출 가로채기 · 줄694 줄plugins/clawd-hq/hooks/register.tsxon('tool.call', async ($, e, next) => {
명령 실행 · 줄67 줄plugins/clawd-hq/hooks/left-check.tsconst json = /\{[\s\S]*\}/.exec(reply)?.[0]
명령 실행 · 줄144 줄plugins/clawd-hq/hooks/know.tsconst bold = /^\*\*(.+?)\*\*/.exec(kept)
명령 실행 · 줄132 줄plugins/clawd-hq/hooks/left-scan.tsconst marker = comment === undefined ? undefined : MARKER.exec(comment)
명령 실행 · 줄55 줄plugins/clawd-hq/hooks/panel-model.tsconst after = new RegExp(`${family}-(\\d{1,2})(?:-(\\d{1,2}))?(?!\\d)`, 'i').exec(id)
명령 실행 · 줄56 줄plugins/clawd-hq/hooks/panel-model.tsconst before = new RegExp(`(\\d{1,2})(?:-(\\d{1,2}))?-${family}`, 'i').exec(id)
명령 실행 · 줄64 줄plugins/clawd-hq/hooks/panel-model.tsconst family = FAMILY.exec(id)?.[1]
명령 실행 · 줄133 줄plugins/clawd-hq/hooks/panel-model.tsconst end = CLAUSE_END.exec(rest)
명령 실행 · 줄156 줄plugins/clawd-hq/hooks/panel-model.tsconst asked = WHEN_ASKED.exec(plain)
명령 실행 · 줄38 줄plugins/clawd-hq/hooks/activity.tsconst host = /^https?:\/\/([^/?#:\s]+)/i.exec(text(input, 'url') ?? '')?.[1]
명령 실행 · 줄57 줄plugins/clawd-hq/hooks/artifacts.tsreturn named ?? tidy(typeof text === 'string' ? /^\s*title:[ \t]*(.+)$/im.exec(text)?.[1] : undefined)
명령 실행 · 줄135 줄plugins/clawd-hq/hooks/quiet.tsconst shortName = (tool: string) => MCP_NAME.exec(tool)?.[1] ?? tool
명령 실행 · 줄59 줄plugins/clawd-hq/hooks/scout-run.tsconst started = await host.spawn({ subagentType: SCOUT_TYPE, description: 'Look around the project', prompt })
명령 실행 · 줄96 줄plugins/clawd-hq/hooks/team.tsconst result = await io.spawnScout(brief).catch(() => ({ why: 'The scout could not start.' })) // the error's own words are not kept
명령 실행 · 줄38 줄plugins/clawd-hq/hooks/usage-count.tsconst name = typeof content === 'string' && COMMAND_TEXT.test(content) ? COMMAND_NAME.exec(content)?.[1] : undefined
명령 실행 · 줄78 줄plugins/clawd-hq/hooks/workflow-card.tsconst step = NUMBERED.exec(l)?.[1]
명령 실행 · 줄90 줄plugins/clawd-hq/hooks/workflow-card.tsconst item = NUMBERED.exec(l)?.[1] ?? BULLET.exec(l)?.[1]
명령 실행 · 줄53 줄plugins/clawd-hq/hooks/recap.tsconst at = NEXT_SENTENCE.exec(text)