-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
234 lines (234 loc) · 6.22 KB
/
Copy pathpackage.json
File metadata and controls
234 lines (234 loc) · 6.22 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
{
"name": "reasonix-agent",
"displayName": "Reasonix",
"description": "Cache-first Reasonix coding agent integration for VS Code.",
"version": "0.1.1",
"publisher": "SivanLiu",
"license": "MIT",
"homepage": "https://github.com/SivanCola/reasonix-vscode#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/SivanCola/reasonix-vscode.git"
},
"bugs": {
"url": "https://github.com/SivanCola/reasonix-vscode/issues"
},
"galleryBanner": {
"color": "#172033",
"theme": "dark"
},
"icon": "media/icon.png",
"engines": {
"vscode": "^1.92.0"
},
"categories": [
"AI",
"Other"
],
"activationEvents": [
"onView:reasonix.chat",
"onCommand:reasonix.openChat",
"onCommand:reasonix.newSession",
"onCommand:reasonix.sendSelection",
"onCommand:reasonix.cancelTurn",
"onCommand:reasonix.pickModel",
"onCommand:reasonix.pickEffort",
"onCommand:reasonix.pickUiLanguage",
"onCommand:reasonix.openSettings",
"onCommand:reasonix.showOutput"
],
"main": "./dist/extension.js",
"files": [
"dist/extension.js",
"media/webview.js",
"media/styles.css",
"media/icon.svg",
"media/mark.svg",
"media/icon.png",
"scripts/acp-smoke.mjs",
"scripts/verify-vsix-contents.mjs",
"CHANGELOG.md",
"README.md",
"README.zh-CN.md",
"LICENSE",
"package.json"
],
"contributes": {
"commands": [
{
"command": "reasonix.openChat",
"title": "Reasonix: Open Chat",
"category": "Reasonix"
},
{
"command": "reasonix.newSession",
"title": "Reasonix: New Session",
"category": "Reasonix"
},
{
"command": "reasonix.sendSelection",
"title": "Reasonix: Send Selection",
"category": "Reasonix"
},
{
"command": "reasonix.cancelTurn",
"title": "Reasonix: Cancel Turn",
"category": "Reasonix"
},
{
"command": "reasonix.pickModel",
"title": "Reasonix: Pick Model",
"category": "Reasonix"
},
{
"command": "reasonix.pickEffort",
"title": "Reasonix: Pick Effort",
"category": "Reasonix"
},
{
"command": "reasonix.pickUiLanguage",
"title": "Reasonix: Pick UI Language",
"category": "Reasonix"
},
{
"command": "reasonix.openSettings",
"title": "Reasonix: Open Settings",
"category": "Reasonix"
},
{
"command": "reasonix.showOutput",
"title": "Reasonix: Show Output",
"category": "Reasonix"
}
],
"configuration": {
"title": "Reasonix",
"properties": {
"reasonix.binaryPath": {
"type": "string",
"default": "",
"description": "Absolute path to the Reasonix CLI. When empty, the extension resolves reasonix from PATH."
},
"reasonix.model": {
"type": "string",
"default": "",
"description": "Optional provider/model reference passed to reasonix acp --model."
},
"reasonix.uiLanguage": {
"type": "string",
"enum": [
"auto",
"en",
"zh-CN"
],
"default": "auto",
"description": "Controls the Reasonix chat UI language.",
"enumDescriptions": [
"Follow the VS Code display language.",
"Use English.",
"Use Simplified Chinese."
]
},
"reasonix.autoStart": {
"type": "boolean",
"default": false,
"description": "Start the Reasonix ACP process when the chat view is opened."
},
"reasonix.trace": {
"type": "boolean",
"default": false,
"description": "Write ACP JSON-RPC traffic diagnostics to the Reasonix output channel."
},
"reasonix.includeSelectionMode": {
"type": "string",
"enum": [
"off",
"selectionOnly",
"nearby"
],
"default": "selectionOnly",
"description": "Controls how the active editor selection or cursor window is appended to prompts."
}
}
},
"menus": {
"editor/context": [
{
"command": "reasonix.sendSelection",
"when": "editorTextFocus",
"group": "navigation@90"
}
],
"commandPalette": [
{
"command": "reasonix.openChat"
},
{
"command": "reasonix.newSession"
},
{
"command": "reasonix.sendSelection"
},
{
"command": "reasonix.cancelTurn"
},
{
"command": "reasonix.pickModel"
},
{
"command": "reasonix.pickEffort"
},
{
"command": "reasonix.pickUiLanguage"
},
{
"command": "reasonix.openSettings"
},
{
"command": "reasonix.showOutput"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "reasonix",
"title": "Reasonix",
"icon": "media/icon.svg"
}
]
},
"views": {
"reasonix": [
{
"id": "reasonix.chat",
"name": "Chat",
"type": "webview"
}
]
}
},
"scripts": {
"build": "npm run compile",
"compile": "node esbuild.mjs",
"watch": "node esbuild.mjs --watch",
"dev:host": "node scripts/open-dev-host.mjs",
"lint": "tsc --noEmit",
"test": "npm run compile && node --test dist/test/*.test.js",
"test:vscode": "npm run compile && node dist/test/vscode/runTest.js",
"smoke:acp": "node scripts/acp-smoke.mjs",
"debug:extension": "npm run lint && npm test && npm run test:vscode && npm run smoke:acp",
"package:vsix": "vsce package --no-dependencies -o dist/reasonix-vscode.vsix",
"verify:vsix-contents": "node scripts/verify-vsix-contents.mjs dist/reasonix-vscode.vsix",
"package": "vsce package",
"vscode:prepublish": "npm run compile"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/vscode": "^1.92.0",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.2.1",
"esbuild": "^0.28.0",
"typescript": "^5.7.2"
}
}