查看命中位置(18)
写文件 · 第128 行plugins/context-diet/hooks/register.tsxawait $.fs.write(ignore, '# Context Diet keeps full tool outputs here. Nothing in this folder belongs in git.\n*\n')
执行命令 · 第177 行plugins/context-diet/hooks/register.tsxexport const persistedPath = (text: string) => PERSISTED.exec(text)?.[1]
工具拦截 · 第580 行plugins/context-diet/hooks/register.tsxon('tool.call', async ($, e, next) => {
读文件 · 第613 行plugins/context-diet/hooks/register.tsxif (path) persisted[path] = await $.fs.read(path).catch(() => undefined) ?? ''
读文件 · 第621 行plugins/context-diet/hooks/register.tsxconst text = await $.fs.read(info.capture).catch(() => undefined)
写文件 · 第637 行plugins/context-diet/hooks/register.tsxfor (const save of saves) await $.fs.write(save.path, save.text)
执行命令 · 第664 行plugins/context-diet/hooks/register.tsxconst m = THRESHOLD_ARG.exec(arg)
执行命令 · 第685 行plugins/context-diet/hooks/register.tsxconst keepArg = /^(keep|unkeep)(?:\s+(.+))?$/i.exec(e.args.trim())
执行命令 · 第210 行plugins/context-diet/hooks/diet.tsconst m = /^diff --git a\/(.+?) b\/(.+)$/.exec(line)
执行命令 · 第217 行plugins/context-diet/hooks/diet.tsconst p = /^\+\+\+ (?:b\/)?(.+)$/.exec(line)
执行命令 · 第273 行plugins/context-diet/hooks/diet.tsconst m = /^([^\s:]+?)[:-](\d+)[:-](.*)$/.exec(line)
执行命令 · 第131 行plugins/context-diet/hooks/tools.tsconst run = /^=== RUN\s+(\S+)/.exec(l)
执行命令 · 第134 行plugins/context-diet/hooks/tools.tsconst fail = /^\s*--- FAIL: (\S+)/.exec(l)
执行命令 · 第155 行plugins/context-diet/hooks/tools.tsconst w = /^warning: (.+)$/.exec(l)
执行命令 · 第174 行plugins/context-diet/hooks/tools.tsconst m = TSC.exec(lines[k] ?? '')
执行命令 · 第197 行plugins/context-diet/hooks/tools.tsconst m = problem.exec(l)
执行命令 · 第225 行plugins/context-diet/hooks/tools.tsconst w = /^(?:npm (?:WARN|warn)|warning|WARNING:?)\s+(\S+)/.exec(l)
执行命令 · 第240 行plugins/context-diet/hooks/tools.tsconst step = /^#(\d+) \[/.exec(l)