Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 4.32 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 4.32 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
{
"name": "kilo-code-kb-patch",
"displayName": "Kilo Code KB Patch",
"description": "Patches Kilo Code keyboard behavior: Enter for newline, Cmd+Enter to send, smarter Escape routing, and more.",
"version": "2.1.8",
"publisher": "zeyutang",
"license": "MIT",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/zeyutang/kilo-code-kb-patch.git"
},
"bugs": {
"url": "https://github.com/zeyutang/kilo-code-kb-patch/issues"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"AI"
],
"keywords": [
"kilo code",
"kilocode",
"keyboard",
"enter",
"claude code",
"math",
"katex"
],
"main": "./out/extension.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "kiloCodeKbPatch.apply",
"title": "Kilo Code KB Patch: Apply Patches"
},
{
"command": "kiloCodeKbPatch.restore",
"title": "Kilo Code KB Patch: Restore Originals"
},
{
"command": "kiloCodeKbPatch.status",
"title": "Kilo Code KB Patch: Show Status"
}
],
"configuration": {
"title": "Kilo Code KB Patch",
"properties": {
"kiloCodeKbPatch.addAttachFileButton": {
"type": "boolean",
"default": false,
"markdownDescription": "Add a `+` button to the Kilo Code prompt toolbar that opens the file picker directly. Restart extensions after changing."
},
"kiloCodeKbPatch.renameOpenInTab": {
"type": "boolean",
"default": false,
"markdownDescription": "Retitle Kilo Code's editor-title \"Open in Tab\" action to \"Kilo Code: Open\" so its icon groups next to other AI \"Open\" icons in the editor title bar. Reload the window after changing."
},
"kiloCodeKbPatch.chatHistoryFontSizeEm": {
"type": "number",
"default": 1,
"minimum": 0.5,
"maximum": 3,
"markdownDescription": "Multiply the font size of the agent's rendered response in chat history, relative to Kilo Code's own **Display** font-size setting. `1` leaves it unchanged. Headings are sized as a multiple of the response text, so their ratios hold at any value. Monospace content (code blocks, inline code, file paths) keeps its own size, as do reasoning blocks, tool output, and your own messages. Restart extensions after changing."
},
"kiloCodeKbPatch.chatHistoryFontFamily": {
"type": "string",
"default": "",
"markdownDescription": "CSS `font-family` for the agent's rendered response in chat history, for example `Charter, Georgia, serif`. Empty keeps Kilo Code's font. Code, file paths, and math keep their own fonts. Restart extensions after changing."
},
"kiloCodeKbPatch.chatRawMarkdownButton": {
"type": "boolean",
"default": false,
"markdownDescription": "Add a button beside **Copy** under the agent's reply that shows the reply's markdown source in place. Click it again for the rendered view. Restart extensions after changing."
},
"kiloCodeKbPatch.chatMathRendering": {
"type": "boolean",
"default": false,
"markdownDescription": "Render `$...$` inline math and `\\[...\\]` display math in chat. Kilo Code already renders `$$...$$` and `\\(...\\)`. Restart extensions after changing."
},
"kiloCodeKbPatch.chatMathFontSizeEm": {
"type": "number",
"default": 1.21,
"minimum": 0.5,
"maximum": 2,
"markdownDescription": "Font size of rendered math in chat, in `em` relative to the text around it. `1.21` is KaTeX's own size. Applies only while `#kiloCodeKbPatch.chatMathRendering#` is on. Restart extensions after changing."
}
}
}
},
"scripts": {
"compile": "tsc -p ./",
"format": "prettier --write .",
"format:check": "prettier --check .",
"watch": "tsc -watch -p ./",
"retarget": "npm run compile && node tools/retarget.js",
"verify": "npm run compile && node tools/verify.js",
"behavior": "npm run compile && node tools/behavior.js",
"vscode:prepublish": "npm run compile"
},
"devDependencies": {
"@types/node": "^20.11.0",
"@types/vscode": "^1.85.0",
"prettier": "^3.9.6",
"typescript": "^5.4.0"
}
}