claude-code-kr 0.3.8 → 0.3.10

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.
@@ -1,7 +1,9 @@
1
1
  {
2
2
  " · /effort`": " · /노력`",
3
3
  "\" commands in\"": "\" 명령어\"",
4
+ "\" during this session\"": "\" (이 세션 동안)\"",
4
5
  "\" for verbose output\"": "\" 자세히 보기\"",
6
+ "\" from this project\"": "\" (이 프로젝트)\"",
5
7
  "\" says: \"": "\": \"",
6
8
  "\" to cycle permission modes. Each mode changes how much Claude asks before acting:\"": "\" 권한 모드 전환. 각 모드는 Claude가 행동 전에 얼마나 묻는지 결정합니다:\"",
7
9
  "\" to toggle\"": "\"으로 전환\"",
@@ -220,6 +222,8 @@
220
222
  "\"Working Directory Has Changes\"": "\"작업 디렉토리에 변경사항 있음\"",
221
223
  "\"Workspace\"": "\"작업 공간\"",
222
224
  "\"Yes, allow all edits during this session\"": "\"네, 이 세션에서 모든 수정 허용\"",
225
+ "\"Yes, allow reading from \"": "\"네, 읽기 허용: \"",
226
+ "\"Yes, and always allow access to \"": "\"네, 항상 접근 허용: \"",
223
227
  "\"Yes, and don't ask again for \"": "\"네, 다시 묻지 않기: \"",
224
228
  "\"Yes, and don't ask again for\"": "\"네, 다시 묻지 않기:\"",
225
229
  "\"chat:cycleMode\",\"Chat\",\"shift+tab\")} to cycle between default mode, auto-accept edit mode, and plan mode": "\"chat:cycleMode\",\"Chat\",\"shift+tab\")}로 기본 모드, 수정 허용, 계획 모드를 전환하세요",
@@ -110,6 +110,23 @@ const patches = [
110
110
  [/if\((\w+)<60000\)return`\$\{Math\.round\(\1\/1000\)\}s`;let (\w+)=Math\.floor\(\1\/60000\),(\w+)=Math\.round\(\1%60000\/1000\);return \3>0\?`\$\{\2\}m \$\{\3\}s`:`\$\{\2\}m`/,
111
111
  'if($1<60000)return`${Math.round($1/1000)}초`;let $2=Math.floor($1/60000),$3=Math.round($1%60000/1000);return $3>0?`${$2}분 ${$3}초`:`${$2}분`'],
112
112
 
113
+ // formatDuration (E5)의 < 60s 분기
114
+ // if(q<60000){if(q===0)return"0s";if(q<1)return`${(q/1000).toFixed(1)}s`;return`${Math.floor(q/1000).toString()}s`}
115
+ [/if\((\w+)<60000\)\{if\(\1===0\)return"0s";if\(\1<1\)return`\$\{\(\1\/1000\)\.toFixed\(1\)\}s`;return`\$\{Math\.floor\(\1\/1000\)\.toString\(\)\}s`\}/,
116
+ 'if($1<60000){if($1===0)return"0초";if($1<1)return`${($1/1000).toFixed(1)}초`;return`${Math.floor($1/1000).toString()}초`}'],
117
+
118
+ // 인라인 ms/s/m ternary (D<1000?`${D}ms`:D<60000?`${Math.floor(D/1000)}s`:...)
119
+ [/(\w+)<1000\?`\$\{\1\}ms`:\1<60000\?`\$\{Math\.floor\(\1\/1000\)\}s`:`\$\{Math\.floor\(\1\/60000\)\}m \$\{Math\.floor\(\1%60000\/1000\)\}s`/,
120
+ '$1<1000?`${$1}밀리초`:$1<60000?`${Math.floor($1/1000)}초`:`${Math.floor($1/60000)}분 ${Math.floor($1%60000/1000)}초`'],
121
+
122
+ // 도구 실행/연결 시간 표시 — Math.floor(var/1000)}s 형식
123
+ // 컨텍스트별로 안전하게 매칭
124
+ [/(\w+)=`\$\{Math\.floor\((\w+)\/1000\)\}s`;F8/g, '$1=`${Math.floor($2/1000)}초`;F8'],
125
+ [/\$\{Math\.floor\((\w+)\/1000\)\}s \(\$\{/g, '${Math.floor($1/1000)}초 (${'],
126
+ [/\$\{Math\.floor\((\w+)\/1000\)\}s: \$\{/g, '${Math.floor($1/1000)}초: ${'],
127
+ [/\$\{Math\.floor\((\w+)\/1000\)\}s`,"MCP/g, '${Math.floor($1/1000)}초`,"MCP'],
128
+ [/\$\{Math\.floor\((\w+)\/1000\)\}s uptime`/g, '${Math.floor($1/1000)}초 가동`'],
129
+
113
130
  // formatNumber compact — "1.3k" → "1.3천", "1.3M" → "130만", "1B" → "10억"
114
131
  // Intl.NumberFormat의 locale을 ko로 바꿈
115
132
  ['new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:1})',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-kr",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
4
4
  "description": "Claude Code 한글 패치 CLI — /btw → /근데, /help → /도움, /compact → /압축",
5
5
  "main": "./index.js",
6
6
  "bin": {