claude-code-kr 0.3.20 → 0.3.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/patcher.js +3 -2
  2. package/package.json +1 -1
package/lib/patcher.js CHANGED
@@ -153,11 +153,12 @@ function apply(cliJs, { force = false } = {}) {
153
153
  } catch {}
154
154
  }
155
155
 
156
- // 마커 체크 — CC 버전 + cckr 버전이 같으면 스킵
156
+ // 마커 체크 — CC 버전 + cckr 버전이 같고, 실제로도 패치된 상태일 때만 스킵
157
+ // (CC가 cli.js를 덮어썼지만 마커는 안 지운 경우 방어)
157
158
  if (!force && fs.existsSync(markerPath)) {
158
159
  try {
159
160
  const marker = JSON.parse(fs.readFileSync(markerPath, 'utf8'));
160
- if (marker.ccVersion === ccVersion && marker.cckrVersion === pkg.version) {
161
+ if (marker.ccVersion === ccVersion && marker.cckrVersion === pkg.version && isPatched(cliJs)) {
161
162
  return { ok: true, skipped: true, ccVersion, testedCcVersion: TESTED_CC_VERSION };
162
163
  }
163
164
  } catch {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-kr",
3
- "version": "0.3.20",
3
+ "version": "0.3.21",
4
4
  "description": "Claude Code 한글 패치 CLI — /btw → /근데, /help → /도움, /compact → /압축",
5
5
  "main": "./index.js",
6
6
  "bin": {