claude-code-kr 0.1.27 → 0.1.32

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.
Files changed (2) hide show
  1. package/lib/patcher.js +39 -5
  2. package/package.json +1 -1
package/lib/patcher.js CHANGED
@@ -137,11 +137,14 @@ function apply(cliJs) {
137
137
  ['O.length===0?"Listing":"listing":O.length===0?"Listed":"listed"', 'O.length===0?"목록":"목록":O.length===0?"목록 완료":"목록 완료"'],
138
138
  // directory 단독 사용 (다른 컨텍스트)
139
139
  ['g===1?"directory":"directories"', 'g===1?"폴더":"폴더"'],
140
- // 도구 요약 메시지 — JSX 코드경로 (2번째)
140
+ // 도구 요약 메시지 — JSX 코드경로 (어순 + 번역)
141
141
  ['z6?"Searching for":"searching for":z6?"Searched for":"searched for"', 'z6?"검색":"검색":z6?"검색 완료":"검색 완료"'],
142
- ['U===1?"pattern":"patterns"', 'U===1?"패턴":"패턴"'],
143
142
  ['z6?"Reading":"reading":z6?"Read":"read"', 'z6?"읽는 중":"읽는 중":z6?"읽기 완료":"읽기 완료"'],
144
143
  ['z6?"Listing":"listing":z6?"Listed":"listed"', 'z6?"목록":"목록":z6?"목록 완료":"목록 완료"'],
144
+ // JSX 어순 변경: "verb count noun" → "count개 noun verb"
145
+ ['key:"search"},r," ",pq.default.createElement(V,{bold:!0},U)," ",U===1?"pattern":"patterns"', 'key:"search"},pq.default.createElement(V,{bold:!0},U),"개 패턴 ",r'],
146
+ ['key:"read"},r," ",pq.default.createElement(V,{bold:!0},p)," ",p===1?"file":"files"', 'key:"read"},pq.default.createElement(V,{bold:!0},p),"개 파일 ",r'],
147
+ ['key:"list"},r," ",pq.default.createElement(V,{bold:!0},g)," ",g===1?"폴더":"폴더"', 'key:"list"},pq.default.createElement(V,{bold:!0},g),"개 폴더 ",r'],
145
148
  // 권한 모드
146
149
  ['title:"Bypass Permissions",shortTitle:"Bypass"', 'title:"확인 생략",shortTitle:"생략"'],
147
150
  ['title:"Accept edits",shortTitle:"Accept"', 'title:"수정 허용",shortTitle:"허용"'],
@@ -162,13 +165,25 @@ function apply(cliJs) {
162
165
  ['"(",X," to ",z,")"', '"(",X,"으로 ",z,")"'],
163
166
  ['X," to ",z)', 'X," ",z)'],
164
167
  ['action:"expand"', 'action:"펼쳐보기"'],
168
+ // 트랜스크립트 모드 footer
169
+ ['"Showing detailed transcript · "', '"상세 기록 표시 중 · "'],
170
+ ['" to toggle"', '"으로 전환"'],
171
+ ['"collapse":"show all"', '"접기":"모두 보기"'],
172
+ ['" · n/N to navigate"', '" · n/N 탐색"'],
173
+ ['scroll · home/end top/bottom', '스크롤 · home/end 처음/끝'],
165
174
  // 상태바 — tokens, thinking
166
175
  [' · /effort`', ' · /노력`'],
167
- ['`${Z6} tokens`:`${s6.arrowDown} ${Z6} tokens`', '`${Z6} 토큰`:`${s6.arrowDown} ${Z6} 토큰`'],
168
- ['`thinking${G}`:typeof f==="number"?`thought for ${Math.max(1,Math.round(f/1000))}s`', '`생각중${G}`:typeof f==="number"?`${Math.max(1,Math.round(f/1000))} 생각`'],
169
- // formatDuration시간 표시 한글화
176
+ ['" tokens"', '" 토큰"'],
177
+ ['`thinking${G}`:typeof f==="number"?`thought for ${Math.max(1,Math.round(f/1000))}s`', '`생각중${G}`:typeof f==="number"?`${Math.max(1,Math.round(f/1000))}초간 생각함`'],
178
+ // 완료 메시지 "Crunched for 2분 27초" → "2분 27초에 걸쳐 처리 완료"
179
+ ['`${A} for ${X}`', '`${X}에 걸쳐 ${A}`'],
180
+ ['"Baked","Brewed","Churned","Cogitated","Cooked","Crunched","Sautéed","Worked"', '"처리 완료","처리 완료","처리 완료","처리 완료","처리 완료","처리 완료","처리 완료","처리 완료"'],
181
+ // formatDuration — 시간 표시 한글화 (전체 형식)
170
182
  ['return`${_}d ${z}h`;return`${_}d ${z}h ${Y}m`}if(z>0){if(O&&Y===0&&A===0)return`${z}h`;if(O&&A===0)return`${z}h ${Y}m`;return`${z}h ${Y}m ${A}s`}if(Y>0){if(O&&A===0)return`${Y}m`;return`${Y}m ${A}s`}return`${A}s`',
171
183
  'return`${_}일 ${z}시간`;return`${_}일 ${z}시간 ${Y}분`}if(z>0){if(O&&Y===0&&A===0)return`${z}시간`;if(O&&A===0)return`${z}시간 ${Y}분`;return`${z}시간 ${Y}분 ${A}초`}if(Y>0){if(O&&A===0)return`${Y}분`;return`${Y}분 ${A}초`}return`${A}초`'],
184
+ // formatDuration — mostSignificantOnly (상태줄 간략 표시)
185
+ ['return`${_}d`;if(z>0)return`${z}h`;if(Y>0)return`${Y}m`;return`${A}s`',
186
+ 'return`${_}일`;if(z>0)return`${z}시간`;if(Y>0)return`${Y}분`;return`${A}초`'],
172
187
  // 도움말 화면 (shortcuts)
173
188
  ['"! for bash mode"', '"! bash 모드"'],
174
189
  ['"/ for commands"', '"/ 커맨드"'],
@@ -212,6 +227,25 @@ function apply(cliJs) {
212
227
  ['"Initializing…"', '"초기화 중…"'],
213
228
  ['"Shortcuts"', '"단축키"'],
214
229
  // 권한 대화상자
230
+ ['"Do you want to proceed?"', '"실행할까요?"'],
231
+ ['label:"Yes",value:"yes"', 'label:"네",value:"yes"'],
232
+ ['label:"No",value:"no"', 'label:"아니요",value:"no"'],
233
+ ['"Yes, and don\'t ask again for "', '"네, 다시 묻지 않기: "'],
234
+ ['" commands in"', '" 명령어"'],
235
+ ['"commands in "', '"명령어 "'],
236
+ ['label:"Yes, and bypass permissions"', 'label:"네, 확인 생략"'],
237
+ ['label:"Yes, and use auto mode"', 'label:"네, 자동 모드 사용"'],
238
+ ['label:"Yes, auto-accept edits"', 'label:"네, 수정 자동 허용"'],
239
+ ['label:"Yes, enable auto mode"', 'label:"네, 자동 모드 활성화"'],
240
+ ['label:"Yes, enter plan mode"', 'label:"네, 계획 모드 진입"'],
241
+ ['label:"Yes, and make it my default mode"', 'label:"네, 기본 모드로 설정"'],
242
+ ['label:"Yes, for this session"', 'label:"네, 이 세션에서"'],
243
+ ['label:"Yes, delete"', 'label:"네, 삭제"'],
244
+ ['label:"No, cancel"', 'label:"아니요, 취소"'],
245
+ ['label:"No, exit"', 'label:"아니요, 종료"'],
246
+ ['label:"No, exit Claude Code"', 'label:"아니요, Claude Code 종료"'],
247
+ ['label:"Not now"', 'label:"나중에"'],
248
+ ['label:"No, not now"', 'label:"아니요, 나중에"'],
215
249
  ['"tell Claude what to do next"', '"다음에 할 일을 알려주세요"'],
216
250
  ['"tell Claude what to do differently"', '"다르게 할 일을 알려주세요"'],
217
251
  ['"What would you like to do?"', '"무엇을 할까요?"'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-kr",
3
- "version": "0.1.27",
3
+ "version": "0.1.32",
4
4
  "description": "Claude Code 한글 패치 CLI — /btw → /근데, /help → /도움, /compact → /압축",
5
5
  "main": "./index.js",
6
6
  "bin": {