claude-code-kr 0.4.3 β†’ 0.4.4

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 적용 + μŠ€ν‚΅λœ 패치 상세 보기
@@ -362,6 +362,7 @@
362
362
  "\"↓ stats\"": "\"↓ 톡계\"",
363
363
  "Claude Code has switched from npm to native installer. Run `claude install` or see https://docs.anthropic.com/en/docs/claude-code/getting-started for more options.": "Claude Codeκ°€ npmμ—μ„œ λ„€μ΄ν‹°λΈŒ μ„€μΉ˜λ‘œ μ „ν™˜λ˜μ—ˆμŠ΅λ‹ˆλ‹€. `claude install`을 μ‹€ν–‰ν•˜κ±°λ‚˜ https://docs.anthropic.com/en/docs/claude-code/getting-started 을 μ°Έκ³ ν•˜μ„Έμš”.",
364
364
  "Continue your session in Claude Code Desktop with ${": "Claude Code Desktopμ—μ„œ μ„Έμ…˜ 이어가기: ${",
365
+ "O.has(V1.contentBlock.id)||A6.has(V1.contentBlock.id)": "O?.has(V1.contentBlock.id)||A6?.has(V1.contentBlock.id)",
365
366
  "Use Plan Mode to prepare for a complex request before making changes. Press ${": "λ³΅μž‘ν•œ μš”μ²­ μ „ κ³„νš λͺ¨λ“œλ‘œ μ€€λΉ„ν•˜μ„Έμš”. ${",
366
367
  "Your default model setting is Opus Plan Mode. Press ${": "κΈ°λ³Έ λͺ¨λΈμ΄ Opus κ³„νš λͺ¨λ“œμž…λ‹ˆλ‹€. ${",
367
368
  "action:\"accept\"": "action:\"수락\"",
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.4",
4
4
  "description": "Claude Code ν•œκΈ€ 패치 CLI β€” /btw β†’ /근데, /help β†’ /도움, /compact β†’ /μ••μΆ•",
5
5
  "main": "./index.js",
6
6
  "bin": {