-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
287 lines (287 loc) · 13.5 KB
/
Copy pathpackage.json
File metadata and controls
287 lines (287 loc) · 13.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
{
"name": "claude-code-ui-patch",
"displayName": "Claude Code UI Patch",
"description": "Patch Claude Code with finegrained UI settings for font sizes, code blocks, diff cards, and more.",
"version": "1.3.7",
"publisher": "zeyutang",
"icon": "icon.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/zeyutang/claude-code-ui-patch.git"
},
"bugs": {
"url": "https://github.com/zeyutang/claude-code-ui-patch/issues"
},
"homepage": "https://github.com/zeyutang/claude-code-ui-patch#readme",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"AI"
],
"keywords": [
"claude",
"claude code",
"font size",
"font",
"text size",
"readability",
"accessibility",
"zoom",
"plan mode",
"patch"
],
"main": "./out/extension.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "claudeCodeUiPatch.panel",
"title": "Claude Code UI Patch: Open Panel"
}
],
"configuration": {
"title": "Claude Code UI Patch",
"properties": {
"claudeCodeUiPatch.chatHistoryFontSize": {
"type": "number",
"default": 0,
"minimum": 0,
"maximum": 48,
"markdownDescription": "Agent message text size in px, private to Claude Code (other chat extensions stay native). `0` follows `#chat.fontSize#`."
},
"claudeCodeUiPatch.chatHistoryFontFamily": {
"type": "string",
"default": "",
"markdownDescription": "Font family for agent messages; the interface and input box stay native. Empty = native."
},
"claudeCodeUiPatch.chatHistoryParagraphSpacing": {
"type": "number",
"default": 1,
"minimum": 0,
"maximum": 5,
"markdownDescription": "Multiplier on the gap between agent-message paragraphs (scales the native `em` margins, so it tracks `#claudeCodeUiPatch.chatHistoryFontSize#`). `1` = native, `1.2` = 20% looser, `0` = no gap."
},
"claudeCodeUiPatch.chatInputHistoryFontSize": {
"type": "number",
"default": 0,
"minimum": 0,
"maximum": 48,
"markdownDescription": "Text size in px for your sent messages in the chat history; attachment chips, slash-command echoes, and the input box stay native. `0` follows `#chat.fontSize#`."
},
"claudeCodeUiPatch.chatInputHistoryFontFamily": {
"type": "string",
"default": "",
"markdownDescription": "Font family for your sent messages in the chat history; attachment chips, slash-command echoes, and the input box stay native. Empty = native."
},
"claudeCodeUiPatch.chatCodeBlockFontSize": {
"type": "number",
"default": 11,
"minimum": 6,
"maximum": 24,
"markdownDescription": "Chat fenced code block size in px."
},
"claudeCodeUiPatch.chatCodeInlineFontSize": {
"type": "number",
"default": 0,
"minimum": 0,
"maximum": 24,
"markdownDescription": "Chat inline code size in px. `0` follows `#claudeCodeUiPatch.chatCodeBlockFontSize#`."
},
"claudeCodeUiPatch.codeFontFamily": {
"type": "string",
"default": "",
"markdownDescription": "Font family for code only: fenced and inline code in the chat and the Plan Mode preview, plus the permission command block. Prose, chrome, and diff cards stay native. Empty = native monospace; quote families with spaces, e.g. `\"Fira Code, JetBrains Mono\"`."
},
"claudeCodeUiPatch.chatInputMaxLines": {
"type": "number",
"default": 0,
"minimum": 0,
"maximum": 40,
"markdownDescription": "Chat input box growth cap in lines before it scrolls, clamped to 70% of the window height; the caret reveal keeps the bottom padding in view. `0` = native (a fixed 200px cap)."
},
"claudeCodeUiPatch.chatDiffCardFontSize": {
"type": "number",
"default": 12,
"minimum": 6,
"maximum": 24,
"markdownDescription": "Diff card code size in px (Edit/MultiEdit cards and the expand modal)."
},
"claudeCodeUiPatch.chatDiffCardLineNumbers": {
"type": "boolean",
"default": false,
"markdownDescription": "Show line numbers in the diff card, with real `+`/`-` gutter signs. Live edits number lines by their true position in the file; replayed, failed, and `replace_all` edits number from 1."
},
"claudeCodeUiPatch.chatDiffCardThemeSync": {
"type": "boolean",
"default": false,
"markdownDescription": "Sync the diff card theme to the VS Code light/dark theme instead of forcing dark."
},
"claudeCodeUiPatch.chatMathRendering": {
"type": "boolean",
"default": false,
"markdownDescription": "Render TeX math in agent messages with a bundled KaTeX (`$...$`, `$$...$$`, `\\(...\\)`, `\\[...\\]`). Code blocks and inline code are left alone, and currency like `$5 and $10` stays literal. `$$...$$` alone on its line(s) is display math, inline otherwise. Off = native (raw TeX shown)."
},
"claudeCodeUiPatch.chatMathFontSizeEm": {
"type": "number",
"default": 1,
"minimum": 0.5,
"maximum": 3,
"markdownDescription": "Math size in `em` of the chat text, while `#claudeCodeUiPatch.chatMathRendering#` is on. `1.0` matches the text; KaTeX's stock is `1.21`."
},
"claudeCodeUiPatch.chatPermissionCodeMatchChatCodeBlock": {
"type": "boolean",
"default": false,
"markdownDescription": "Size the permission command block to match the tool input block (`0.85em` instead of `0.9em`)."
},
"claudeCodeUiPatch.chatPermissionCodeNoWrap": {
"type": "boolean",
"default": false,
"markdownDescription": "Stop the permission command block from wrapping: each visual row is one logical line, and a long command scrolls sideways."
},
"claudeCodeUiPatch.chatScrollToBottomDot": {
"type": "boolean",
"default": false,
"markdownDescription": "Show a button above the chat input box's top-right corner that scrolls to the latest message; it dims when already at the bottom, and sits on the permission/question box when one replaces the input box. While on, an incoming permission or question box scrolls the history to the bottom only if it is already there, and follows the box as it settles; the box dims the history unless the find bar is open. With `#claudeCodeUiPatch.chatJumpToMessageButtons#` on, the jump buttons line up on its left."
},
"claudeCodeUiPatch.chatJumpToMessageButtons": {
"type": "boolean",
"default": false,
"markdownDescription": "Show previous/next buttons above the chat input box's top-right corner that jump between turns (each user message pins to the top as a sticky header). A direction with nowhere to go dims, and the pair sits on the permission/question box when one replaces the input box, which dims the history unless the find bar is open. With `#claudeCodeUiPatch.chatScrollToBottomDot#` on, the pair lines up on its left."
},
"claudeCodeUiPatch.chatInputCtrlUpDownToHistory": {
"type": "boolean",
"default": false,
"markdownDescription": "Recall previous/next sent messages with `Cmd`/`Ctrl`+`Up`/`Down` from anywhere in the chat input, and keep plain `Up`/`Down` moving the caret only. Off = native (plain `Up`/`Down` at the input's very start/end recalls)."
},
"claudeCodeUiPatch.chatFindBar": {
"type": "boolean",
"default": false,
"markdownDescription": "Replace `Cmd`/`Ctrl`+`F` in Claude Code interface with a find bar. Matches show in the editor's find colors with a counter, and `Escape` closes. Block-skip buttons jump between the blocks that hold matches, and a side ruler marks the active match's block (nothing auto-expands). Off = native."
},
"claudeCodeUiPatch.chatFindBarNextMatchKeys": {
"type": "string",
"default": "",
"markdownDescription": "Extra key chords for the find bar's Next Match, comma-separated (e.g. `f6, cmd+j`). Empty = the defaults alone: `Enter`, `F3`, `Cmd`+`G` (macOS), plus your Find Next keybindings.",
"pattern": "^\\s*(?:[^\\s,]+(?:\\s*,\\s*[^\\s,]+)*\\s*,?\\s*)?$",
"patternErrorMessage": "Comma-separated single chords like `cmd+j, f6` (no spaces inside a chord)."
},
"claudeCodeUiPatch.chatFindBarPreviousMatchKeys": {
"type": "string",
"default": "",
"markdownDescription": "Extra key chords for the find bar's Previous Match, comma-separated. Empty = the defaults alone: `Shift`+`Enter`, `Shift`+`F3`, `Cmd`+`Shift`+`G` (macOS), plus your Find Previous keybindings.",
"pattern": "^\\s*(?:[^\\s,]+(?:\\s*,\\s*[^\\s,]+)*\\s*,?\\s*)?$",
"patternErrorMessage": "Comma-separated single chords like `cmd+j, f6` (no spaces inside a chord)."
},
"claudeCodeUiPatch.chatFindBarNextMatchBlockKeys": {
"type": "string",
"default": "",
"markdownDescription": "Extra key chords for the find bar's Next Match Block, comma-separated. Empty = the default alone: `Cmd`/`Ctrl`+`Enter`.",
"pattern": "^\\s*(?:[^\\s,]+(?:\\s*,\\s*[^\\s,]+)*\\s*,?\\s*)?$",
"patternErrorMessage": "Comma-separated single chords like `cmd+j, f6` (no spaces inside a chord)."
},
"claudeCodeUiPatch.chatFindBarPreviousMatchBlockKeys": {
"type": "string",
"default": "",
"markdownDescription": "Extra key chords for the find bar's Previous Match Block, comma-separated. Empty = the default alone: `Cmd`/`Ctrl`+`Shift`+`Enter`.",
"pattern": "^\\s*(?:[^\\s,]+(?:\\s*,\\s*[^\\s,]+)*\\s*,?\\s*)?$",
"patternErrorMessage": "Comma-separated single chords like `cmd+j, f6` (no spaces inside a chord)."
},
"claudeCodeUiPatch.chatShowMoreAndLessAlign": {
"type": "string",
"enum": [
"",
"left",
"right"
],
"enumDescriptions": [
"Native (drifting) position",
"Pin to the left",
"Pin to the right"
],
"default": "",
"markdownDescription": "Pin the chat message \"Show more\"/\"Show less\" buttons to a side. Empty = native (drifting) position."
},
"claudeCodeUiPatch.effortSyncFix": {
"type": "boolean",
"default": false,
"markdownDescription": "On window reload, push the persisted effort level to the CLI so it does not silently run at the default."
},
"claudeCodeUiPatch.planPreviewFontSize": {
"type": "number",
"default": 14,
"minimum": 6,
"maximum": 24,
"markdownDescription": "Plan preview text size in px (headings scale with it)."
},
"claudeCodeUiPatch.planPreviewFontFamily": {
"type": "string",
"default": "",
"markdownDescription": "Font family for the Plan Mode preview panel. Empty = native."
},
"claudeCodeUiPatch.planPreviewCodeBlockFontSize": {
"type": "number",
"default": 13,
"minimum": 6,
"maximum": 24,
"markdownDescription": "Plan preview fenced code block size in px."
},
"claudeCodeUiPatch.planPreviewCodeInlineFontSize": {
"type": "number",
"default": 0,
"minimum": 0,
"maximum": 24,
"markdownDescription": "Plan preview inline code size in px. `0` follows `#claudeCodeUiPatch.planPreviewCodeBlockFontSize#`."
},
"claudeCodeUiPatch.planPreviewCommentInputFontSize": {
"type": "number",
"default": 13,
"minimum": 6,
"maximum": 24,
"markdownDescription": "Plan preview comment box text size in px."
},
"claudeCodeUiPatch.planPreviewCommentInputRows": {
"type": "number",
"default": 0,
"minimum": 0,
"maximum": 40,
"markdownDescription": "Plan preview comment box height in rows. `0` = native (about 3)."
},
"claudeCodeUiPatch.planPreviewCommentInputCtrlEnterToSend": {
"type": "boolean",
"default": false,
"markdownDescription": "In the plan preview comment box, send on `Cmd`/`Ctrl`+`Enter` and let plain `Enter` insert a newline. Off = native (`Enter` sends, `Shift`+`Enter` newlines)."
},
"claudeCodeUiPatch.planPreviewCommentQuoteFontSize": {
"type": "number",
"default": 12,
"minimum": 6,
"maximum": 24,
"markdownDescription": "Plan preview selected-quote size in px."
},
"claudeCodeUiPatch.planPreviewCommentBadgeFontSize": {
"type": "number",
"default": 10,
"minimum": 6,
"maximum": 12,
"markdownDescription": "Plan preview comment badge size in px (14px circle, keep <= 12)."
}
}
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"update-katex": "node scripts/update-katex.js",
"vscode:prepublish": "npm run compile"
},
"devDependencies": {
"@types/node": "^20.11.0",
"@types/vscode": "^1.85.0",
"katex": "^0.18.1",
"typescript": "^5.4.0"
}
}