claude-code-kr 0.4.2 โ†’ 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:\"์ˆ˜๋ฝ\"",
@@ -438,6 +439,7 @@
438
439
  "action:\"write to file\"": "action:\"ํŒŒ์ผ์— ์ €์žฅ\"",
439
440
  "description:\"expand history\"": "description:\"๊ธฐ๋ก ํŽผ์น˜๊ธฐ\"",
440
441
  "description:\"expand\"": "description:\"ํŽผ์น˜๊ธฐ\"",
442
+ "hasActiveTools:xn.size>0": "hasActiveTools:(xn?.size??0)>0",
441
443
  "label:\"Back\"": "label:\"๋’ค๋กœ\"",
442
444
  "label:\"Continue\"": "label:\"๊ณ„์†\"",
443
445
  "label:\"Copy to clipboard\"": "label:\"ํด๋ฆฝ๋ณด๋“œ์— ๋ณต์‚ฌ\"",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-kr",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "Claude Code ํ•œ๊ธ€ ํŒจ์น˜ CLI โ€” /btw โ†’ /๊ทผ๋ฐ, /help โ†’ /๋„์›€, /compact โ†’ /์••์ถ•",
5
5
  "main": "./index.js",
6
6
  "bin": {