|
140 | 140 | "experimental" |
141 | 141 | ] |
142 | 142 | }, |
| 143 | + "coder.experimental.tasks": { |
| 144 | + "markdownDescription": "Enable the experimental [Tasks](https://coder.com/docs/ai-coder/tasks) panel in VS Code. When enabled, a sidebar panel lets you run and manage AI coding agents in Coder workspaces. This feature is under active development and may change. Requires a Coder deployment with Tasks support.", |
| 145 | + "type": "boolean", |
| 146 | + "default": false, |
| 147 | + "tags": [ |
| 148 | + "experimental" |
| 149 | + ] |
| 150 | + }, |
143 | 151 | "coder.sshFlags": { |
144 | 152 | "markdownDescription": "Additional flags to pass to the `coder ssh` command when establishing SSH connections. Enter each flag as a separate array item; values are passed verbatim and in order. See the [CLI ssh reference](https://coder.com/docs/reference/cli/ssh) for available flags.\n\nNote: `--network-info-dir` and `--ssh-host-prefix` are ignored (managed internally). Prefer `#coder.proxyLogDirectory#` over `--log-dir`/`-l` for full functionality.", |
145 | 153 | "type": "array", |
|
182 | 190 | "id": "coder", |
183 | 191 | "title": "Coder Remote", |
184 | 192 | "icon": "media/logo-white.svg" |
| 193 | + }, |
| 194 | + { |
| 195 | + "id": "coderTasks", |
| 196 | + "title": "Coder Tasks", |
| 197 | + "icon": "media/tasks-logo.svg" |
185 | 198 | } |
186 | 199 | ] |
187 | 200 | }, |
|
199 | 212 | "visibility": "visible", |
200 | 213 | "icon": "media/logo-white.svg", |
201 | 214 | "when": "coder.authenticated && coder.isOwner" |
202 | | - }, |
| 215 | + } |
| 216 | + ], |
| 217 | + "coderTasks": [ |
203 | 218 | { |
204 | 219 | "type": "webview", |
205 | 220 | "id": "coder.tasksPanel", |
206 | | - "name": "Tasks", |
207 | | - "icon": "media/logo-white.svg", |
208 | | - "when": "coder.authenticated && coder.devMode" |
| 221 | + "name": "Coder Tasks", |
| 222 | + "icon": "media/tasks-logo.svg", |
| 223 | + "when": "coder.authenticated && coder.tasksEnabled" |
209 | 224 | } |
210 | 225 | ] |
211 | 226 | }, |
|
218 | 233 | { |
219 | 234 | "view": "coder.tasksPanel", |
220 | 235 | "contents": "[Login](command:coder.login) to view tasks.", |
221 | | - "when": "!coder.authenticated && coder.loaded" |
| 236 | + "when": "!coder.authenticated && coder.loaded && coder.tasksEnabled" |
222 | 237 | } |
223 | 238 | ], |
224 | 239 | "commands": [ |
|
308 | 323 | "command": "coder.manageCredentials", |
309 | 324 | "title": "Manage Credentials", |
310 | 325 | "category": "Coder" |
| 326 | + }, |
| 327 | + { |
| 328 | + "command": "coder.tasks.refresh", |
| 329 | + "title": "Refresh Tasks", |
| 330 | + "category": "Coder", |
| 331 | + "icon": "$(refresh)" |
311 | 332 | } |
312 | 333 | ], |
313 | 334 | "menus": { |
|
370 | 391 | }, |
371 | 392 | { |
372 | 393 | "command": "coder.manageCredentials" |
| 394 | + }, |
| 395 | + { |
| 396 | + "command": "coder.tasks.refresh", |
| 397 | + "when": "false" |
373 | 398 | } |
374 | 399 | ], |
375 | 400 | "view/title": [ |
|
404 | 429 | "command": "coder.searchAllWorkspaces", |
405 | 430 | "when": "coder.authenticated && view == allWorkspaces", |
406 | 431 | "group": "navigation@3" |
| 432 | + }, |
| 433 | + { |
| 434 | + "command": "coder.tasks.refresh", |
| 435 | + "when": "coder.authenticated && coder.tasksEnabled && view == coder.tasksPanel", |
| 436 | + "group": "navigation@1" |
407 | 437 | } |
408 | 438 | ], |
409 | 439 | "view/item/context": [ |
|
448 | 478 | }, |
449 | 479 | "dependencies": { |
450 | 480 | "@peculiar/x509": "^1.14.3", |
| 481 | + "@repo/shared": "workspace:*", |
451 | 482 | "axios": "1.13.5", |
452 | 483 | "date-fns": "^4.1.0", |
453 | 484 | "eventsource": "^4.1.0", |
|
478 | 509 | "@types/ws": "^8.18.1", |
479 | 510 | "@typescript-eslint/eslint-plugin": "^8.54.0", |
480 | 511 | "@typescript-eslint/parser": "^8.54.0", |
481 | | - "@vitejs/plugin-react-swc": "catalog:", |
| 512 | + "@vitejs/plugin-react": "catalog:", |
482 | 513 | "@vitest/coverage-v8": "^4.0.18", |
483 | 514 | "@vscode/test-cli": "^0.0.12", |
484 | 515 | "@vscode/test-electron": "^2.5.2", |
485 | 516 | "@vscode/vsce": "^3.7.1", |
| 517 | + "babel-plugin-react-compiler": "catalog:", |
486 | 518 | "bufferutil": "^4.1.0", |
487 | 519 | "coder": "github:coder/coder#main", |
488 | 520 | "concurrently": "^9.2.1", |
|
495 | 527 | "eslint-plugin-import-x": "^4.16.1", |
496 | 528 | "eslint-plugin-package-json": "^0.88.2", |
497 | 529 | "eslint-plugin-react": "^7.37.5", |
| 530 | + "eslint-plugin-react-compiler": "catalog:", |
498 | 531 | "eslint-plugin-react-hooks": "^7.0.1", |
499 | 532 | "globals": "^17.3.0", |
500 | 533 | "jsdom": "^28.0.0", |
|
0 commit comments