Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
292 lines (292 loc) · 7.69 KB
/
Copy pathpackage.json
File metadata and controls
292 lines (292 loc) · 7.69 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
288
289
290
291
292
{
"name": "oh-my-pi-chat",
"displayName": "OMP Chat",
"description": "Copilot/Cursor-style chat sidebar for OMP (omp) in VS Code",
"repository": {
"type": "git",
"url": "https://github.com/Chakyiu/omp-vscode"
},
"version": "0.7.9",
"publisher": "ChakyiuLI",
"license": "MIT",
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"AI",
"Chat",
"Other"
],
"keywords": [
"omp",
"oh-my-pi",
"ai",
"chat",
"coding-agent"
],
"activationEvents": [
"onView:ompChat.sidebar",
"onCommand:ompChat.open",
"onCommand:ompChat.newChat",
"onCommand:ompChat.sendSelection",
"onCommand:ompChat.attachFiles",
"onCommand:ompChat.attachFolder",
"onCommand:ompChat.attachMenu",
"onCommand:ompChat.attachExplorer",
"onCommand:ompChat.attachTerminal"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "ompChat",
"title": "OMP",
"icon": "media/icon.svg"
}
]
},
"views": {
"ompChat": [
{
"type": "webview",
"id": "ompChat.sidebar",
"name": "Chat"
}
]
},
"commands": [
{
"command": "ompChat.open",
"title": "OMP: Open Chat",
"icon": "$(comment-discussion)"
},
{
"command": "ompChat.newChat",
"title": "OMP: New Chat",
"icon": "$(add)"
},
{
"command": "ompChat.stop",
"title": "OMP: Stop Generation",
"icon": "$(debug-stop)"
},
{
"command": "ompChat.sendSelection",
"title": "OMP: Send Selection to Chat"
},
{
"command": "ompChat.attachCurrentFile",
"title": "OMP: Attach Current File"
},
{
"command": "ompChat.restartSession",
"title": "OMP: Restart Session"
},
{
"command": "ompChat.attachFiles",
"title": "OMP: Attach Files",
"icon": "$(attach)"
},
{
"command": "ompChat.attachFolder",
"title": "OMP: Attach Folder",
"icon": "$(folder)"
},
{
"command": "ompChat.attachMenu",
"title": "OMP: Attach…",
"icon": "$(attach)"
},
{
"command": "ompChat.attachExplorer",
"title": "OMP: Attach to Chat",
"icon": "$(attach)"
},
{
"command": "ompChat.attachTerminal",
"title": "OMP: Attach Terminal Output",
"icon": "$(terminal)"
},
{
"command": "ompChat.showToolLog",
"title": "OMP: Show File Touch Log",
"icon": "$(output)"
},
{
"command": "ompChat.showErrorLog",
"title": "OMP: Show Error Log",
"icon": "$(output)"
}
],
"menus": {
"view/title": [
{
"command": "ompChat.newChat",
"when": "view == ompChat.sidebar",
"group": "navigation@1"
},
{
"command": "ompChat.stop",
"when": "view == ompChat.sidebar",
"group": "navigation@2"
},
{
"command": "ompChat.restartSession",
"when": "view == ompChat.sidebar",
"group": "navigation@3"
},
{
"command": "ompChat.attachMenu",
"when": "view == ompChat.sidebar",
"group": "navigation@0"
}
],
"editor/context": [
{
"command": "ompChat.sendSelection",
"when": "editorHasSelection",
"group": "ompChat@1"
},
{
"command": "ompChat.attachCurrentFile",
"group": "ompChat@2"
}
],
"explorer/context": [
{
"command": "ompChat.attachExplorer",
"group": "ompChat@1"
}
],
"terminal/context": [
{
"command": "ompChat.attachTerminal",
"group": "ompChat@1"
}
]
},
"configuration": {
"title": "OMP Chat",
"properties": {
"ompChat.ompPath": {
"type": "string",
"default": "omp",
"description": "Path to the omp executable."
},
"ompChat.model": {
"type": "string",
"default": "",
"description": "Optional model override (fuzzy match, e.g. opus, gpt-5.2)."
},
"ompChat.thinking": {
"type": "string",
"enum": [
"",
"off",
"minimal",
"low",
"medium",
"high",
"xhigh",
"max",
"auto"
],
"default": "",
"description": "Optional thinking level passed to omp."
},
"ompChat.approvalMode": {
"type": "string",
"enum": [
"",
"always-ask",
"write",
"yolo"
],
"default": "",
"description": "Optional tools.approvalMode override for this session."
},
"ompChat.autoApprove": {
"type": "boolean",
"default": false,
"description": "Pass --auto-approve to omp (skip approval prompts)."
},
"ompChat.continueLastSession": {
"type": "boolean",
"default": true,
"description": "Restore all open omp chat tabs/sessions when the chat bridge starts (survives VS Code restarts/kills). Disable to always start a blank session."
},
"ompChat.autoTitle": {
"type": "boolean",
"default": true,
"description": "Let omp generate a short session title after the first message (uses the tiny/smol title model). Shows on chat tabs and in history. Changing this offers a restart so open chats pick it up."
},
"ompChat.extraArgs": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Extra CLI args appended when spawning omp --mode rpc."
},
"ompChat.mode": {
"type": "string",
"enum": [
"Agent",
"Ask",
"Plan"
],
"default": "Agent",
"description": "Chat mode shown in the Cursor-style composer."
},
"ompChat.displayName": {
"type": "string",
"default": "",
"description": "Optional name used in the greeting (e.g. How can I help you, Alex?)."
},
"ompChat.showThinking": {
"type": "boolean",
"default": true,
"description": "Show model thinking blocks in the chat UI."
},
"ompChat.logFileTouches": {
"type": "boolean",
"default": true,
"description": "Log edit/write/delete tool calls and touched file paths to the \"OMP File Touches\" output channel."
}
}
},
"keybindings": [
{
"command": "ompChat.open",
"key": "ctrl+shift+;",
"mac": "cmd+shift+;"
},
{
"command": "ompChat.sendSelection",
"key": "ctrl+shift+'",
"mac": "cmd+shift+'",
"when": "editorTextFocus && editorHasSelection"
}
]
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "node esbuild.mjs",
"watch": "node esbuild.mjs --watch",
"compile": "tsc -p tsconfig.json --noEmit",
"package": "vsce package --no-dependencies --allow-missing-repository",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"format:check": "biome format ."
},
"devDependencies": {
"@biomejs/biome": "^2.5.5",
"@types/node": "^22.13.10",
"@types/vscode": "^1.90.0",
"@vscode/vsce": "^3.3.2",
"esbuild": "^0.25.1",
"typescript": "^5.8.2"
}
}