Skip to content

Commit a17a967

Browse files
committed
build(vscode-extension): switch to bun for build process and add svg icon
- Replace npm with bun in all build scripts and CI workflow - Add new SVG icon and update all icon references from png to svg - Remove dependency overrides for brace-expansion and minimatch - Update extension version to 0.0.3
1 parent 10d584d commit a17a967

5 files changed

Lines changed: 36 additions & 17 deletions

File tree

.github/workflows/vscode-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Build Extension
3434
working-directory: ./vscode-extension
3535
run: |
36-
npm install -g @vscode/vsce
36+
bun install
3737
bun run package
3838
3939
- name: Create Release

bun.lock

Lines changed: 15 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@
6464
"typecheck": "tsc --noEmit"
6565
},
6666
"overrides": {
67-
"@modelcontextprotocol/sdk": "^1.26.0",
68-
"brace-expansion": "^2.0.1",
69-
"minimatch": "^9.0.5"
67+
"@modelcontextprotocol/sdk": "^1.26.0"
7068
},
7169
"dependencies": {
7270
"@google/generative-ai": "^0.24.1",

vscode-extension/icon.svg

Lines changed: 11 additions & 0 deletions
Loading

vscode-extension/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,31 @@
1717
"publisher": "involvex",
1818
"main": "./dist/extension.js",
1919
"scripts": {
20-
"build": "npm run compile && npm run copy-assets",
20+
"build": "bun run compile && bun run copy-assets",
2121
"compile": "tsc -p ./",
2222
"copy-assets": "node build.js",
2323
"lint": "eslint src --ext ts",
24-
"package": "bun run build && vsce package --no-dependencies -o dist/",
24+
"package": "npx vsce package --no-dependencies -o dist/",
2525
"typecheck": "tsc --noEmit",
26-
"vscode:prepublish": "npm run compile && npm run copy-assets",
26+
"vscode:prepublish": "bun run compile && bun run copy-assets",
2727
"watch": "tsc -w -p ./"
2828
},
2929
"contributes": {
3030
"commands": [
3131
{
3232
"command": "super-agent.openChat",
3333
"title": "Open Super Agent Chat",
34-
"icon": "icon.png"
34+
"icon": "icon.svg"
3535
},
3636
{
3737
"command": "super-agent.reconnect",
3838
"title": "Reconnect to CLI",
39-
"icon": "icon.png"
39+
"icon": "icon.svg"
4040
},
4141
{
4242
"command": "super-agent.startServer",
4343
"title": "Start CLI Server",
44-
"icon": "icon.png"
44+
"icon": "icon.svg"
4545
},
4646
{
4747
"command": "super-agent.mentionFile",
@@ -58,7 +58,7 @@
5858
"type": "webview",
5959
"id": "super-agent.chat",
6060
"name": "Chat",
61-
"icon": "icon.png"
61+
"icon": "icon.svg"
6262
}
6363
]
6464
},
@@ -67,7 +67,7 @@
6767
{
6868
"id": "super-agent-sidebar",
6969
"title": "Super Agent",
70-
"icon": "icon.png"
70+
"icon": "icon.svg"
7171
}
7272
]
7373
}

0 commit comments

Comments
 (0)