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 +30 -0
- package/lib/locales/ko.json +1 -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:\"μλ½\"",
|