-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
389 lines (389 loc) · 12.2 KB
/
package.json
File metadata and controls
389 lines (389 loc) · 12.2 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
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
{
"name": "kiro-for-codex",
"displayName": "Kiro for Codex",
"description": "Spec-driven development with Codex CLI - inspired by Kiro",
"version": "0.7.1",
"author": "atman-33",
"publisher": "atman-dev",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/atman-33/kiro-for-codex"
},
"engines": {
"vscode": "^1.84.0"
},
"categories": [
"AI",
"Programming Languages",
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "dist/extension.js",
"extensionKind": [
"workspace",
"ui"
],
"scripts": {
"install:all": "npm install && cd webview-ui && npm install",
"build:ext": "esbuild src/extension.ts --bundle --platform=node --target=node16 --external:vscode --outfile=dist/extension.js",
"build": "npm run build-prompts && npm run build:ext && node scripts/copy-resources.js && npm run build:webview",
"vscode:prepublish": "npm run build",
"compile": "npm run build && npm run package",
"watch": "concurrently \"tsc -watch -p ./\" \"node scripts/watch-prompts.js\"",
"package": "vsce package",
"build-prompts": "node scripts/build-prompts.js",
"compile-web": "webpack --mode development",
"watch-web": "webpack --mode development --watch",
"package-web": "npm run build-prompts && webpack --mode production --devtool hidden-source-map",
"lint": "biome lint src/",
"lint:fix": "biome lint --write src/",
"format": "biome format --write src/",
"check": "biome check --write src/",
"test": "vitest",
"test:watch": "vitest --watch",
"test:coverage": "vitest --coverage",
"prepare": "husky",
"--- WEBVIEW ---": "--- --- --- --- ---",
"build:webview": "npm --prefix webview-ui run build"
},
"contributes": {
"configuration": {
"title": "Kiro for Codex",
"properties": {
"kiroCodex.views.specs.visible": {
"type": "boolean",
"default": true,
"description": "Show Specs view in the Kiro activity container"
},
"kiroCodex.views.steering.visible": {
"type": "boolean",
"default": true,
"description": "Show Steering view in the Kiro activity container"
},
"kiroCodex.views.prompts.visible": {
"type": "boolean",
"default": true,
"description": "Show Prompts view in the Kiro activity container"
},
"kiroCodex.views.settings.visible": {
"type": "boolean",
"default": true,
"description": "Show Settings view in the Kiro activity container"
},
"kiroCodex.codex.path": {
"type": "string",
"default": "codex",
"description": "Codex CLI executable name or path"
},
"kiroCodex.codex.defaultApprovalMode": {
"type": "string",
"enum": [
"full-auto",
"yolo"
],
"default": "full-auto",
"description": "Default approval mode when invoking Codex CLI"
},
"kiroCodex.codex.defaultModel": {
"type": "string",
"default": "gpt-5-codex",
"description": "Default model identifier for Codex CLI"
},
"kiroCodex.codex.timeout": {
"type": "number",
"default": 30000,
"description": "Command timeout in milliseconds for Codex CLI"
},
"kiroCodex.codex.terminalDelay": {
"type": "number",
"default": 1000,
"description": "Delay in milliseconds before writing to terminal to improve UX"
},
"kiroCodex.codex.windowsShellPath": {
"type": "string",
"default": "",
"description": "Windows only: shell executable to launch when running Codex commands. Leave empty to inherit the VS Code default terminal."
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "kiroCodex",
"title": "Kiro for Codex",
"icon": "./icons/kiro.svg"
}
]
},
"views": {
"kiroCodex": [
{
"id": "kiroCodex.views.specExplorer",
"name": "Specs",
"icon": "symbol-structure",
"when": "!(workbenchState == empty || workspaceFolderCount == 0) && config.kiroCodex.views.specs.visible"
},
{
"id": "kiroCodex.views.steeringExplorer",
"name": "Steering",
"icon": "symbol-parameter",
"when": "!(workbenchState == empty || workspaceFolderCount == 0) && config.kiroCodex.views.steering.visible"
},
{
"id": "kiroCodex.views.promptsExplorer",
"name": "Prompts",
"icon": "terminal",
"when": "!(workbenchState == empty || workspaceFolderCount == 0) && config.kiroCodex.views.prompts.visible"
},
{
"id": "kiroCodex.views.overview",
"name": "Settings",
"icon": "gear",
"visibility": "collapsed",
"when": "!(workbenchState == empty || workspaceFolderCount == 0) && config.kiroCodex.views.settings.visible"
}
]
},
"viewsWelcome": [
{
"view": "kiroCodex.views.specExplorer",
"contents": "Plan features with Specs\n\n[$(plus) Create New Spec](command:kiroCodex.spec.create)"
},
{
"view": "kiroCodex.views.promptsExplorer",
"contents": "Create and run prompts (.md) under .codex/prompts\n\n[$(plus) Create Prompt](command:kiroCodex.prompts.create)\n[$(refresh) Refresh](command:kiroCodex.prompts.refresh)"
},
{
"view": "kiroCodex.views.overview",
"contents": "Configure Kiro for Codex\n\n[$(gear) Open Settings](command:kiroCodex.settings.open)\n[$(question) Help](command:kiroCodex.help.open)"
},
{
"view": "kiroCodex.views.specExplorer",
"contents": "Build complex features with structured planning\n\n[$(plus) Create New Spec](command:kiroCodex.spec.create)"
},
{
"view": "kiroCodex.views.steeringExplorer",
"contents": "[$(globe) Create User Rule](command:kiroCodex.steering.createUserRule)\n\n[$(root-folder) Create Project Rule](command:kiroCodex.steering.createProjectRule)"
}
],
"commands": [
{
"command": "kiroCodex.prompts.create",
"title": "Create Prompt",
"category": "Kiro for Codex",
"icon": "$(plus)"
},
{
"command": "kiroCodex.prompts.refresh",
"title": "Refresh Prompts",
"category": "Kiro for Codex",
"icon": "$(refresh)"
},
{
"command": "kiroCodex.prompts.run",
"title": "Run Prompt",
"category": "Kiro for Codex",
"icon": "$(play)"
},
{
"command": "kiroCodex.spec.create",
"title": "Create New Spec",
"category": "Kiro for Codex",
"icon": "$(plus)"
},
{
"command": "kiroCodex.steering.create",
"title": "Create Custom Steering",
"category": "Kiro for Codex",
"icon": "$(plus)"
},
{
"command": "kiroCodex.steering.generateInitial",
"title": "Init Steering",
"category": "Kiro for Codex",
"icon": "$(sparkle)"
},
{
"command": "kiroCodex.steering.refine",
"title": "Refine Steering",
"category": "Kiro for Codex",
"icon": "$(sparkle)"
},
{
"command": "kiroCodex.spec.delete",
"title": "Delete Spec",
"category": "Kiro for Codex",
"icon": "$(trash)"
},
{
"command": "kiroCodex.steering.delete",
"title": "Delete Steering",
"category": "Kiro for Codex",
"icon": "$(trash)"
},
{
"command": "kiroCodex.steering.createUserRule",
"title": "Create User Rule",
"category": "Kiro for Codex",
"icon": "$(globe)"
},
{
"command": "kiroCodex.steering.createProjectRule",
"title": "Create Project Rule",
"category": "Kiro for Codex",
"icon": "$(root-folder)"
},
{
"command": "kiroCodex.settings.open",
"title": "Kiro Settings",
"category": "Kiro for Codex",
"icon": "$(gear)"
},
{
"command": "kiroCodex.checkForUpdates",
"title": "Check for Updates",
"category": "Kiro for Codex",
"icon": "$(sync)"
},
{
"command": "kiroCodex.spec.refresh",
"title": "Refresh Specs",
"category": "Kiro for Codex",
"icon": "$(refresh)"
},
{
"command": "kiroCodex.steering.refresh",
"title": "Refresh Steering",
"category": "Kiro for Codex",
"icon": "$(refresh)"
},
{
"command": "kiroCodex.help.open",
"title": "Kiro Help",
"category": "Kiro for Codex",
"icon": "$(question)"
},
{
"command": "kiroCodex.menu.open",
"title": "Kiro Menu",
"category": "Kiro for Codex",
"icon": "$(ellipsis)"
},
{
"command": "kiroCodex.spec.implTask",
"title": "Implement Task",
"category": "Kiro for Codex"
}
],
"menus": {
"view/title": [
{
"command": "kiroCodex.menu.open",
"when": "view == kiroCodex.views.overview",
"group": "navigation"
},
{
"command": "kiroCodex.spec.create",
"when": "view == kiroCodex.views.specExplorer",
"group": "navigation@1"
},
{
"command": "kiroCodex.spec.refresh",
"when": "view == kiroCodex.views.specExplorer",
"group": "navigation@3"
},
{
"command": "kiroCodex.steering.generateInitial",
"when": "view == kiroCodex.views.steeringExplorer",
"group": "navigation@2"
},
{
"command": "kiroCodex.steering.create",
"when": "view == kiroCodex.views.steeringExplorer",
"group": "navigation@1"
},
{
"command": "kiroCodex.steering.refresh",
"when": "view == kiroCodex.views.steeringExplorer",
"group": "navigation@3"
},
{
"command": "kiroCodex.prompts.create",
"when": "view == kiroCodex.views.promptsExplorer",
"group": "navigation@1"
},
{
"command": "kiroCodex.prompts.refresh",
"when": "view == kiroCodex.views.promptsExplorer",
"group": "navigation@2"
}
],
"view/item/context": [
{
"command": "kiroCodex.spec.delete",
"when": "view == kiroCodex.views.specExplorer && viewItem == spec",
"group": "7_modification"
},
{
"command": "kiroCodex.prompts.run",
"when": "view == kiroCodex.views.promptsExplorer && viewItem == prompt",
"group": "inline"
},
{
"command": "kiroCodex.steering.refine",
"when": "view == kiroCodex.views.steeringExplorer && viewItem == steering-document",
"group": "inline"
},
{
"command": "kiroCodex.steering.delete",
"when": "view == kiroCodex.views.steeringExplorer && viewItem == steering-document",
"group": "7_modification"
}
],
"commandPalette": [
{
"command": "kiroCodex.spec.create"
},
{
"command": "kiroCodex.prompts.create",
"when": "workspaceFolderCount > 0"
},
{
"command": "kiroCodex.steering.create",
"when": "workspaceFolderCount > 0"
},
{
"command": "kiroCodex.checkForUpdates"
}
]
}
},
"dependencies": {
"gray-matter": "^4.0.3",
"handlebars": "^4.7.8",
"js-yaml": "^4.1.0"
},
"devDependencies": {
"@biomejs/biome": "2.2.4",
"@jest/globals": "^29.7.0",
"@types/glob": "^8.1.0",
"@types/handlebars": "^4.0.40",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.x",
"@types/vscode": "^1.84.0",
"@vitest/ui": "^3.2.4",
"concurrently": "^9.2.0",
"copy-webpack-plugin": "^13.0.0",
"esbuild": "^0.23.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"ts-jest": "^29.4.0",
"ts-loader": "^9.5.2",
"typescript": "^5.3.0",
"vitest": "^3.2.4",
"vsce": "^2.15.0"
}
}