Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ This is for if you want to enhance the extension or fix bugs.
> [!TIP]
> You don't usually need to run this from source unless you are working on this extension.

Open this repo via `code .` and then press F5 to run a new workspace with this in it.
Open this repo via `code .`, open `src/extension.ts` and then press F5 to run a new workspace with this in it.

### Packaging the Extension

Expand Down
71 changes: 70 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@
"license": "Apache-2.0",
"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",
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.3.0",
"@types/vscode": "^1.91.0",
"typescript": "^5.5.4",
"vsce": "^2.15.0"
},
"dependencies": {
"@vscode/l10n": "^0.0.18"
"@vscode/l10n": "^0.0.18",
"js-yaml": "^4.1.0"
},
"engines": {
"vscode": "^1.91.1"
Expand All @@ -34,6 +36,29 @@
"*"
],
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "profileManager",
"title": "Profile Manager",
"icon": "goose-icon.png"
}
]
},
"views": {
"profileManager": [
{
"type": "webview",
"id": "profileFormView",
"name": "Profile Form"
},
{
"type": "tree",
"id": "profileExplorer",
"name": "Profiles"
}
]
},
"configuration": {
"type": "object",
"title": "Goose Settings",
Expand All @@ -58,6 +83,26 @@
{
"command": "extension.openGoose",
"title": "🪿 open goose 🪿"
},
{
"command": "extension.refreshProfiles",
"title": "🪿 Refresh Profiles"
},
{
"command": "extension.addProfile",
"title": "🪿 Add Profile"
},
{
"command": "profileExplorer.select",
"title": "Select Profile"
},
{
"command": "extension.updateProfile",
"title": "Update Profile"
},
{
"command": "extension.deleteProfile",
"title": "🪿 Delete Profile"
}
],
"menus": {
Expand All @@ -67,6 +112,30 @@
"when": "editorHasSelection",
"group": "navigation"
}
],
"view/title": [
{
"command": "extension.refreshProfiles",
"when": "view == profileExplorer",
"group": "navigation"
},
{
"command": "extension.addProfile",
"when": "view == profileExplorer",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "profileExplorer.select",
"when": "view == profileExplorer",
"group": "inline"
},
{
"command": "extension.deleteProfile",
"when": "view == profileExplorer",
"group": "inline"
}
]
}
}
Expand Down
Loading