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 +30 -0
- package/lib/locales/ko.json +2 -0
- package/package.json +1 -1
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 ์ ์ฉ + ์คํต๋ ํจ์น ์์ธ ๋ณด๊ธฐ
|
package/lib/locales/ko.json
CHANGED
|
@@ -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:\"ํด๋ฆฝ๋ณด๋์ ๋ณต์ฌ\"",
|