-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
289 lines (289 loc) · 9.69 KB
/
Copy pathpackage.json
File metadata and controls
289 lines (289 loc) · 9.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
{
"name": "openspec-workflow",
"displayName": "OpenSpec Workflow",
"description": "Project-first OpenSpec dashboard for changes, specs, stores, worksets, and safe workflow actions",
"version": "0.2.2",
"publisher": "randysss",
"license": "MIT",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"keywords": [
"openspec",
"spec-driven",
"workflow",
"dashboard",
"task management",
"worksets",
"stores"
],
"repository": {
"type": "git",
"url": "https://github.com/RandyZ/openspec-ext.git"
},
"activationEvents": [
"workspaceContains:openspec/config.yaml",
"onView:openspec.dashboard"
],
"main": "./dist/extension.js",
"icon": "resources/icon.png",
"contributes": {
"configuration": {
"title": "OpenSpec",
"properties": {
"openspec.focusSidebarViewWhenOpeningChangeDetail": {
"type": "boolean",
"default": false,
"description": "When opening a change detail in the editor, focus the sidebar on the OpenSpec view."
},
"openspec.focusSidebarViewWhenOpeningDashboard": {
"type": "boolean",
"default": false,
"description": "When running Open Dashboard command, focus the sidebar on the OpenSpec view."
},
"openspec.cliPath": {
"type": "string",
"default": "",
"description": "OpenSpec CLI executable path. Leave empty to auto-detect from PATH and login shell."
},
"openspec.cliMode": {
"type": "string",
"enum": ["auto", "installed", "localSource", "customPath"],
"default": "auto",
"description": "OpenSpec CLI runtime source: auto, installed CLI, local OpenSpec source checkout, or custom executable path."
},
"openspec.localOpenSpecSourcePath": {
"type": "string",
"default": "",
"description": "Path to a local OpenSpec source checkout used when openspec.cliMode is localSource."
},
"openspec.localOpenSpecAutoBuild": {
"type": "string",
"enum": ["off", "prompt", "beforeUse"],
"default": "off",
"description": "Whether the extension may offer to build a local OpenSpec source checkout when build output is missing."
},
"openspec.taskExecutionMode": {
"type": "string",
"enum": [
"auto",
"fillChat"
],
"default": "fillChat",
"description": "When clicking task execute: auto = run via adapter; fillChat = fill chat or copy to clipboard."
},
"openspec.workflowLaunchMode": {
"type": "string",
"enum": [
"clipboard",
"adapter"
],
"default": "clipboard",
"description": "Workflow button behavior: clipboard = copy the generated command; adapter = route through the preferred agent adapter."
},
"openspec.preferredAgentAdapter": {
"type": "string",
"enum": [
"clipboard",
"cursor",
"vscode-copilot",
"claude-code",
"opencode"
],
"default": "clipboard",
"description": "Preferred Agent executor adapter used when workflowLaunchMode is adapter."
},
"openspec.cursorLaunchMode": {
"type": "string",
"enum": [
"clipboard",
"deeplink",
"chatCommand",
"agentCli"
],
"default": "clipboard",
"description": "Cursor adapter launch behavior for non-interactive workflow actions. Verify and Archive use the dedicated Verify & Archive tab; `agentCli` here means headless Agent CLI.",
"enumDescriptions": [
"Only copy the generated command to the clipboard. Does not open Cursor or start Agent CLI.",
"Open Cursor through the prompt deeplink with the generated command prefilled. The command is also copied as fallback.",
"Open Cursor Chat through the VS Code/Cursor chat command query. The command is also copied as fallback.",
"Run the generated command through Cursor Agent CLI in headless mode. This can modify the workspace and requires Cursor CLI login/trust."
],
"markdownDescription": "Cursor adapter launch behavior for workflow actions.\\n\\n- `clipboard`: safe default; only copy the generated `/opsx:*` command.\\n- `deeplink`: open Cursor prompt deeplink with `/opsx-*` prefilled, while keeping clipboard fallback.\\n- `chatCommand`: try Cursor Chat query prefill, while keeping clipboard fallback.\\n- `agentCli`: run Cursor Agent CLI directly in headless mode; may modify files."
},
"openspec.taskDependencyPolicy": {
"type": "string",
"enum": [
"block",
"warn"
],
"default": "block",
"description": "When preceding tasks are incomplete: block = prevent execution; warn = show warning and let user proceed."
},
"openspec.cursorAgentModel": {
"type": "string",
"default": "auto",
"description": "Cursor Agent CLI model used only for explicit Cursor Agent CLI execution. 'auto' lets Cursor choose."
},
"openspec.agentModel": {
"type": "string",
"default": "auto",
"description": "Legacy Cursor agent CLI model setting. Prefer openspec.cursorAgentModel."
},
"openspec.debug": {
"type": "boolean",
"default": false,
"description": "Enable debug: show Verify tab in change detail (to test IDE commands), and print the full prompt sent to Cursor Agent in the output channel when executing tasks."
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "openspec",
"title": "OpenSpec",
"icon": "resources/icon.svg"
}
]
},
"views": {
"openspec": [
{
"id": "openspec.dashboard",
"name": "Dashboard",
"type": "webview",
"visibility": "visible"
}
]
},
"commands": [
{
"command": "openspec.openDashboard",
"title": "OpenSpec: Open Dashboard",
"category": "OpenSpec"
},
{
"command": "openspec.refreshData",
"title": "OpenSpec: Refresh Data",
"category": "OpenSpec",
"icon": "$(refresh)"
},
{
"command": "openspec.openCacheFolder",
"title": "OpenSpec: Open Cache Folder",
"category": "OpenSpec",
"icon": "$(folder-opened)"
},
{
"command": "openspec.copyCachePath",
"title": "OpenSpec: Copy Cache Path",
"category": "OpenSpec",
"icon": "$(copy)"
},
{
"command": "openspec.clearCache",
"title": "OpenSpec: Clear Cache",
"category": "OpenSpec",
"icon": "$(trash)"
},
{
"command": "openspec.showCacheDetails",
"title": "OpenSpec: Show Cache Details",
"category": "OpenSpec",
"icon": "$(info)"
},
{
"command": "openspec.newChange",
"title": "OpenSpec: Create New Change",
"category": "OpenSpec",
"icon": "$(add)"
},
{
"command": "openspec.archiveChange",
"title": "OpenSpec: Archive Change",
"category": "OpenSpec"
},
{
"command": "openspec.selectAgentAdapter",
"title": "OpenSpec: Select Agent Adapter",
"category": "OpenSpec"
},
{
"command": "openspec.continueArtifact",
"title": "OpenSpec: Continue planning with AI",
"category": "OpenSpec"
}
],
"menus": {
"view/title": [
{
"command": "openspec.refreshData",
"when": "view == openspec.dashboard",
"group": "navigation"
},
{
"command": "openspec.newChange",
"when": "view == openspec.dashboard",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "pnpm run build",
"compile": "node esbuild.js && pnpm run build:webview",
"watch": "node esbuild.js --watch",
"build": "pnpm run compile",
"build:webview": "vite build",
"dev:webview": "vite",
"postinstall": "node scripts/link-vitest-pnpm.js",
"test": "vitest run",
"test:watch": "vitest",
"package": "node scripts/package-with-marketplace-readme.js",
"publish:marketplace": "pnpm exec vsce publish",
"publish:openvsx": "node scripts/publish-openvsx.js"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@resvg/resvg-js": "^2.6.2",
"@tailwindcss/postcss": "^4.1.18",
"@tailwindcss/vite": "^4.1.18",
"@types/node": "^25.2.1",
"@types/react": "^19.2.13",
"@types/react-dom": "^19.2.3",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vitejs/plugin-react": "^5.1.3",
"@vscode/vsce": "^3.2.2",
"autoprefixer": "^10.4.24",
"esbuild": "^0.27.3",
"eslint": "^10.0.0",
"eslint-config-prettier": "^10.1.8",
"ovsx": "^0.10.9",
"postcss": "^8.5.6",
"prettier": "^3.8.1",
"sharp": "^0.33.5",
"tailwindcss": "^3.4.19",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vitest": "^4.0.18"
},
"packageManager": "pnpm@10.14.0",
"dependencies": {
"@radix-ui/react-progress": "^1.1.8",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-tooltip": "^1.2.8",
"@vscode/codicons": "^0.0.45",
"class-variance-authority": "^0.7.1",
"highlight.js": "^11.11.1",
"marked": "^17.0.1",
"mermaid": "^11.12.2",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"yaml": "^2.7.0"
}
}