claude-code-kr 0.3.2 → 0.3.3

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.
@@ -104,6 +104,13 @@ const patches = [
104
104
  // formatDuration — mostSignificantOnly (상태줄 간략 표시)
105
105
  [/return`\$\{([\w$]+)\}d`;if\(([\w$]+)>0\)return`\$\{\2\}h`;if\(([\w$]+)>0\)return`\$\{\3\}m`;return`\$\{([\w$]+)\}s`/,
106
106
  'return`${$1}일`;if($2>0)return`${$2}시간`;if($3>0)return`${$3}분`;return`${$4}초`'],
107
+
108
+ // formatNumber compact — "1.3k" → "1.3천", "1.3M" → "130만", "1B" → "10억"
109
+ // Intl.NumberFormat의 locale을 ko로 바꿈
110
+ ['new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:1})',
111
+ 'new Intl.NumberFormat("ko",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:1})'],
112
+ ['new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:0})',
113
+ 'new Intl.NumberFormat("ko",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:0})'],
107
114
  ];
108
115
 
109
116
  module.exports = patches;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-kr",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Claude Code 한글 패치 CLI — /btw → /근데, /help → /도움, /compact → /압축",
5
5
  "main": "./index.js",
6
6
  "bin": {