claude-code-kr 0.4.3 β†’ 0.4.5

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.
package/bin/cc-kr.js CHANGED
@@ -180,6 +180,35 @@ switch (cmd) {
180
180
  break;
181
181
  }
182
182
 
183
+ case 'update': {
184
+ console.log('πŸ” μ΅œμ‹  버전 확인 쀑...');
185
+ checkUpdate().then((latest) => {
186
+ if (!latest) {
187
+ console.log(`βœ… 이미 μ΅œμ‹  λ²„μ „μž…λ‹ˆλ‹€ (${pkg.version})`);
188
+ return;
189
+ }
190
+ console.log(`⬆️ ${pkg.version} β†’ ${latest}`);
191
+ const sudo = needsSudo() ? 'sudo ' : '';
192
+ const installCmd = `${sudo}npm i -g claude-code-kr@${latest}`;
193
+ console.log(` ${installCmd}`);
194
+ console.log('');
195
+ try {
196
+ execSync(installCmd, { stdio: 'inherit' });
197
+ console.log(`\nβœ… ${latest} μ—…λ°μ΄νŠΈ μ™„λ£Œ`);
198
+ // μ—…λ°μ΄νŠΈ ν›„ μžλ™ 재패치
199
+ console.log('πŸ”„ 패치 재적용 쀑...');
200
+ execSync(`${sudo}cckr apply --force`, { stdio: 'inherit' });
201
+ } catch (e) {
202
+ console.error(`\n❌ μ—…λ°μ΄νŠΈ μ‹€νŒ¨: ${e.message}`);
203
+ if (needsSudo()) {
204
+ console.error(' sudo cckr update 둜 μ‹€ν–‰ν•˜μ„Έμš”');
205
+ }
206
+ process.exit(1);
207
+ }
208
+ });
209
+ break;
210
+ }
211
+
183
212
  case 'hook-install': {
184
213
  const result = hooks.install();
185
214
  if (result.skipped) {
@@ -209,6 +238,7 @@ switch (cmd) {
209
238
 
210
239
  μ‚¬μš©λ²•:
211
240
  cckr status 패치 μƒνƒœ 확인
241
+ cckr update μ΅œμ‹  λ²„μ „μœΌλ‘œ μžλ™ μ—…λ°μ΄νŠΈ + 재패치
212
242
  cckr apply ν•œκΈ€ 패치 적용 (이미 적용됐으면 μŠ€ν‚΅)
213
243
  cckr apply -f κ°•μ œ 재적용
214
244
  cckr apply -v 적용 + μŠ€ν‚΅λœ 패치 상세 보기
@@ -209,7 +209,7 @@
209
209
  "\"Plugins\"": "\"ν”ŒλŸ¬κ·ΈμΈ\"",
210
210
  "\"Press Option+Enter to send a multi-line message\"": "\"Option+Enter둜 μ—¬λŸ¬ 쀄 λ©”μ‹œμ§€λ₯Ό λ³΄λ‚΄μ„Έμš”\"",
211
211
  "\"Press Shift+Enter to send a multi-line message\"": "\"Shift+Enter둜 μ—¬λŸ¬ 쀄 λ©”μ‹œμ§€λ₯Ό λ³΄λ‚΄μ„Έμš”\"",
212
- "\"Proceed?\"": "\"μ§„ν–‰ν• κΉŒμš”?\"",
212
+ "\"Proceed\"": "\"μ§„ν–‰\"",
213
213
  "\"Process timed out\"": "\"ν”„λ‘œμ„ΈμŠ€ μ‹œκ°„ 초과\"",
214
214
  "\"Project agents\"": "\"ν”„λ‘œμ νŠΈ μ—μ΄μ „νŠΈ\"",
215
215
  "\"Project settings\"": "\"ν”„λ‘œμ νŠΈ μ„€μ •\"",
@@ -438,7 +438,6 @@
438
438
  "action:\"write to file\"": "action:\"νŒŒμΌμ— μ €μž₯\"",
439
439
  "description:\"expand history\"": "description:\"기둝 펼치기\"",
440
440
  "description:\"expand\"": "description:\"펼치기\"",
441
- "hasActiveTools:xn.size>0": "hasActiveTools:(xn?.size??0)>0",
442
441
  "label:\"Back\"": "label:\"λ’€λ‘œ\"",
443
442
  "label:\"Continue\"": "label:\"계속\"",
444
443
  "label:\"Copy to clipboard\"": "label:\"ν΄λ¦½λ³΄λ“œμ— 볡사\"",
package/lib/patcher.js CHANGED
@@ -181,7 +181,7 @@ function apply(cliJs, { force = false } = {}) {
181
181
  'clear': '["reset","new"]',
182
182
  'resume': '["continue"]',
183
183
  'teleport': '["tp"]',
184
- 'rewind': '["checkpoint","undo"]',
184
+ 'rewind': '["checkpoint"]',
185
185
  };
186
186
 
187
187
  for (const [cmd, aliases, descKr] of mappings) {
@@ -11,7 +11,7 @@
11
11
  // 주의: fragile은 stable보닀 λ¨Όμ € μ‹€ν–‰λ˜λ―€λ‘œ 원본 μ˜μ–΄ λ§€μΉ­.
12
12
  // ──────────────────────────────────────────────────────────
13
13
 
14
- const TESTED_CC_VERSION = '2.1.108';
14
+ const TESTED_CC_VERSION = '2.1.107';
15
15
 
16
16
  const patches = [
17
17
  // ──── 도ꡬ ν‘œμ‹œ (getActivityDescription) ────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-kr",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "Claude Code ν•œκΈ€ 패치 CLI β€” /btw β†’ /근데, /help β†’ /도움, /compact β†’ /μ••μΆ•",
5
5
  "main": "./index.js",
6
6
  "bin": {