|
15 | 15 | "license": "Apache-2.0",
|
16 | 16 | "description": "This is a vscode extension for goose: a programming agent that runs on your machine. Consider this extension experimental at this stage. You need goose-ai package installed for this to work. https://github.com/block-open-source/goose",
|
17 | 17 | "devDependencies": {
|
| 18 | + "@types/js-yaml": "^4.0.9", |
18 | 19 | "@types/node": "^22.3.0",
|
19 | 20 | "@types/vscode": "^1.91.0",
|
20 | 21 | "typescript": "^5.5.4",
|
21 | 22 | "vsce": "^2.15.0"
|
22 | 23 | },
|
23 | 24 | "dependencies": {
|
24 |
| - "@vscode/l10n": "^0.0.18" |
| 25 | + "@vscode/l10n": "^0.0.18", |
| 26 | + "js-yaml": "^4.1.0" |
25 | 27 | },
|
26 | 28 | "engines": {
|
27 | 29 | "vscode": "^1.91.1"
|
|
34 | 36 | "*"
|
35 | 37 | ],
|
36 | 38 | "contributes": {
|
| 39 | + "viewsContainers": { |
| 40 | + "activitybar": [ |
| 41 | + { |
| 42 | + "id": "profileManager", |
| 43 | + "title": "Profile Manager", |
| 44 | + "icon": "goose-icon.png" |
| 45 | + } |
| 46 | + ] |
| 47 | + }, |
| 48 | + "views": { |
| 49 | + "profileManager": [ |
| 50 | + { |
| 51 | + "type": "webview", |
| 52 | + "id": "profileFormView", |
| 53 | + "name": "Profile Form" |
| 54 | + }, |
| 55 | + { |
| 56 | + "type": "tree", |
| 57 | + "id": "profileExplorer", |
| 58 | + "name": "Profiles" |
| 59 | + } |
| 60 | + ] |
| 61 | + }, |
37 | 62 | "configuration": {
|
38 | 63 | "type": "object",
|
39 | 64 | "title": "Goose Settings",
|
|
58 | 83 | {
|
59 | 84 | "command": "extension.openGoose",
|
60 | 85 | "title": "🪿 open goose 🪿"
|
| 86 | + }, |
| 87 | + { |
| 88 | + "command": "extension.refreshProfiles", |
| 89 | + "title": "🪿 Refresh Profiles" |
| 90 | + }, |
| 91 | + { |
| 92 | + "command": "extension.addProfile", |
| 93 | + "title": "🪿 Add Profile" |
| 94 | + }, |
| 95 | + { |
| 96 | + "command": "profileExplorer.select", |
| 97 | + "title": "Select Profile" |
| 98 | + }, |
| 99 | + { |
| 100 | + "command": "extension.updateProfile", |
| 101 | + "title": "Update Profile" |
| 102 | + }, |
| 103 | + { |
| 104 | + "command": "extension.deleteProfile", |
| 105 | + "title": "🪿 Delete Profile" |
61 | 106 | }
|
62 | 107 | ],
|
63 | 108 | "menus": {
|
|
67 | 112 | "when": "editorHasSelection",
|
68 | 113 | "group": "navigation"
|
69 | 114 | }
|
| 115 | + ], |
| 116 | + "view/title": [ |
| 117 | + { |
| 118 | + "command": "extension.refreshProfiles", |
| 119 | + "when": "view == profileExplorer", |
| 120 | + "group": "navigation" |
| 121 | + }, |
| 122 | + { |
| 123 | + "command": "extension.addProfile", |
| 124 | + "when": "view == profileExplorer", |
| 125 | + "group": "navigation" |
| 126 | + } |
| 127 | + ], |
| 128 | + "view/item/context": [ |
| 129 | + { |
| 130 | + "command": "profileExplorer.select", |
| 131 | + "when": "view == profileExplorer", |
| 132 | + "group": "inline" |
| 133 | + }, |
| 134 | + { |
| 135 | + "command": "extension.deleteProfile", |
| 136 | + "when": "view == profileExplorer", |
| 137 | + "group": "inline" |
| 138 | + } |
70 | 139 | ]
|
71 | 140 | }
|
72 | 141 | }
|
|
0 commit comments