fix: review fix — ripgrep note 文案修正 + init catch 加调试日志

- ripgrep "no ripgrep available" note 去掉无意义的 USE_BUILTIN_RIPGREP=0 建议
- init.ts ripgrep status check 的空 catch 加 logForDebugging

Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win>
This commit is contained in:
claude-code-best
2026-06-15 16:39:58 +08:00
parent 9d6a98dd06
commit 9d2d511b53
2 changed files with 2 additions and 1 deletions

View File

@@ -247,6 +247,7 @@ export const init = memoize(async (): Promise<void> => {
}
} catch {
// Ripgrep status is best-effort; never block init.
logForDebugging('[init] ripgrep status check skipped')
}
logForDiagnosticsNoPII('info', 'init_completed', {

View File

@@ -112,7 +112,7 @@ export function resolveBuiltinWithFallback(
mode: 'builtin',
command: builtinPath,
args: [],
note: `no ripgrep available on ${p}; install via apt/pkg/brew or set USE_BUILTIN_RIPGREP=0`,
note: `no ripgrep available on ${p}; install ripgrep via apt/pkg/brew`,
}
}