Compare commits

..

2 Commits

Author SHA1 Message Date
claude-code-best
0e39283631 fix: resolve pre-existing typecheck errors (zod v4 compat + RCS web exclude) 2026-05-28 21:12:02 +08:00
claude-code-best
124e3219d1 refactor: remove tab/quote normalization from FileEditTool 2026-05-28 20:55:55 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "claude-code-best",
"version": "2.6.6",
"version": "2.6.5",
"description": "Reverse-engineered Anthropic Claude Code CLI — interactive AI coding assistant in the terminal",
"type": "module",
"author": "claude-code-best <claude-code-best@proton.me>",

View File

@@ -397,7 +397,7 @@ export function searchSkills(
for (const v of freq.values()) if (v > max) max = v
for (const [term, count] of freq) queryTf.set(term, count / max)
const idf = cachedIndex === index && cachedIdf ? cachedIdf : computeIdf(index)
const idf = cachedIdf ?? computeIdf(index)
const queryTfIdf = new Map<string, number>()
for (const [term, tf] of queryTf) {
queryTfIdf.set(term, tf * (idf.get(term) ?? 0))