@involvex/super-agent-cli 0.0.79 → 0.0.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.prettierignore CHANGED
@@ -8,4 +8,6 @@ node_modules
8
8
  /*/**/node_modules/*/**
9
9
  .turbo
10
10
  /*/*/dist
11
- build
11
+ build
12
+ vscode-extension/out
13
+ vscode-extension/node_modules
Binary file
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1731,7 +1731,7 @@ var init_indexer = __esm(() => {
1731
1731
  var require_package = __commonJS((exports, module) => {
1732
1732
  module.exports = {
1733
1733
  name: "@involvex/super-agent-cli",
1734
- version: "0.0.79",
1734
+ version: "0.0.80",
1735
1735
  description: "An open-source AI agent that brings the power of Super Agent directly into your terminal.",
1736
1736
  keywords: [
1737
1737
  "cli",
@@ -1763,13 +1763,15 @@ var require_package = __commonJS((exports, module) => {
1763
1763
  },
1764
1764
  workspaces: [
1765
1765
  "@plugins/templates/*",
1766
- "@plugins/examples/*"
1766
+ "@plugins/examples/*",
1767
+ "vscode-extension"
1767
1768
  ],
1768
1769
  scripts: {
1769
1770
  prebuild: "bun run format && bun run lint:fix && bun run typecheck",
1770
1771
  build: "bun build src/index.ts --outdir ./dist --target node --packages external --format esm",
1771
1772
  "build:bun": "bun build src/index.ts --outdir ./dist --target node --packages external --format esm",
1772
1773
  "build:plugins": "bun run -F @involvex/super-agent\\* build",
1774
+ "build:vscode": "bun run -F super-agent-vscode build",
1773
1775
  "build:web": "bun run scripts/build-web.ts",
1774
1776
  changelog: "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
1775
1777
  compile: "bun run prebuild && bun build --compile src/index.ts --outfile ./dist/super-agent-cli.exe --config bunfig.toml",
@@ -1780,6 +1782,7 @@ var require_package = __commonJS((exports, module) => {
1780
1782
  "install:bun": "bun install",
1781
1783
  lint: "eslint . --ext .js,.jsx,.ts,.tsx --ignore-pattern dist",
1782
1784
  "lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix --ignore-pattern dist",
1785
+ "package:vscode": "bun run -F super-agent-vscode package",
1783
1786
  start: "node dist/index.js",
1784
1787
  "start:bun": "bun run dist/index.js",
1785
1788
  test: "vitest run",
Binary file
package/eslint.config.mjs CHANGED
@@ -10,6 +10,7 @@ export default [
10
10
  "@plugins/templates/*/dist/*.js",
11
11
  "@plugins/examples/*/dist/*.js.map",
12
12
  "@plugins/templates/*/dist/*.js.map",
13
+ "vscode-extension/out/**",
13
14
  ],
14
15
  },
15
16
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@involvex/super-agent-cli",
3
- "version": "0.0.79",
3
+ "version": "0.0.80",
4
4
  "description": "An open-source AI agent that brings the power of Super Agent directly into your terminal.",
5
5
  "keywords": [
6
6
  "cli",
@@ -32,13 +32,15 @@
32
32
  },
33
33
  "workspaces": [
34
34
  "@plugins/templates/*",
35
- "@plugins/examples/*"
35
+ "@plugins/examples/*",
36
+ "vscode-extension"
36
37
  ],
37
38
  "scripts": {
38
39
  "prebuild": "bun run format && bun run lint:fix && bun run typecheck",
39
40
  "build": "bun build src/index.ts --outdir ./dist --target node --packages external --format esm",
40
41
  "build:bun": "bun build src/index.ts --outdir ./dist --target node --packages external --format esm",
41
42
  "build:plugins": "bun run -F @involvex/super-agent\\* build",
43
+ "build:vscode": "bun run -F super-agent-vscode build",
42
44
  "build:web": "bun run scripts/build-web.ts",
43
45
  "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
44
46
  "compile": "bun run prebuild && bun build --compile src/index.ts --outfile ./dist/super-agent-cli.exe --config bunfig.toml",
@@ -49,6 +51,7 @@
49
51
  "install:bun": "bun install",
50
52
  "lint": "eslint . --ext .js,.jsx,.ts,.tsx --ignore-pattern dist",
51
53
  "lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix --ignore-pattern dist",
54
+ "package:vscode": "bun run -F super-agent-vscode package",
52
55
  "start": "node dist/index.js",
53
56
  "start:bun": "bun run dist/index.js",
54
57
  "test": "vitest run",
@@ -0,0 +1,39 @@
1
+ # Source files
2
+ src/
3
+ *.ts
4
+ !**/out/**/*.js
5
+ tsconfig.json
6
+
7
+ # Build files
8
+ build.js
9
+ bun.lock
10
+ bun.lockb
11
+
12
+ # Config files
13
+ .eslintrc*
14
+ .prettierrc*
15
+ .eslintrc.json
16
+ .prettierignore
17
+
18
+ # Development files
19
+ .vscode/
20
+ .vscode-test/
21
+
22
+ # Git files
23
+ .git*
24
+ .gitignore
25
+
26
+ # Test files
27
+ **/*.test.ts
28
+ **/*.spec.ts
29
+ test/
30
+ tests/
31
+
32
+ # Documentation
33
+ CHANGELOG.md
34
+ docs/
35
+
36
+ # Lock files (ws dependency will be bundled automatically)
37
+ package-lock.json
38
+ yarn.lock
39
+ pnpm-lock.yaml
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 involvex
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -9,10 +9,10 @@ if (!fs.existsSync(outDir)) {
9
9
  fs.mkdirSync(outDir, { recursive: true });
10
10
  }
11
11
 
12
- // Copy CSS and TypeScript files
13
- const filesToCopy = ["chat.css", "chat.ts"];
12
+ // Copy webview assets (these are plain JS/CSS files that run in the browser)
13
+ const assetsToCopy = ["chat.js", "chat.css"];
14
14
 
15
- for (const file of filesToCopy) {
15
+ for (const file of assetsToCopy) {
16
16
  const srcPath = path.join(srcDir, file);
17
17
  const outPath = path.join(outDir, file);
18
18
 
@@ -20,6 +20,8 @@ for (const file of filesToCopy) {
20
20
  fs.copyFileSync(srcPath, outPath);
21
21
  console.log(`Copied ${file} to out/`);
22
22
  } else {
23
- console.error(`Source file not found: ${srcPath}`);
23
+ console.warn(`Source file not found: ${srcPath}`);
24
24
  }
25
25
  }
26
+
27
+ // Note: icon.png is already in the extension root, no need to copy
Binary file
@@ -8,14 +8,30 @@
8
8
  "Other",
9
9
  "Programming Languages"
10
10
  ],
11
+ "homepage": "https://involvex.github.io/super-agent-cli/",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/involvex/super-agent-cli.git"
15
+ },
16
+ "license": "MIT",
11
17
  "publisher": "involvex",
12
18
  "main": "./out/extension.js",
19
+ "scripts": {
20
+ "build": "npm run compile && npm run copy-assets",
21
+ "compile": "tsc -p ./",
22
+ "copy-assets": "node build.js",
23
+ "lint": "eslint src --ext ts",
24
+ "package": "vsce package --no-dependencies",
25
+ "typecheck": "tsc --noEmit",
26
+ "vscode:prepublish": "npm run compile && npm run copy-assets",
27
+ "watch": "tsc -w -p ./"
28
+ },
13
29
  "contributes": {
14
30
  "commands": [
15
31
  {
16
32
  "command": "super-agent.openChat",
17
33
  "title": "Open Super Agent Chat",
18
- "icon": "assets/icon.svg"
34
+ "icon": "icon.png"
19
35
  },
20
36
  {
21
37
  "command": "super-agent.mentionFile",
@@ -31,7 +47,8 @@
31
47
  {
32
48
  "type": "webview",
33
49
  "id": "super-agent.chat",
34
- "name": "Chat"
50
+ "name": "Chat",
51
+ "icon": "icon.png"
35
52
  }
36
53
  ]
37
54
  },
@@ -40,7 +57,7 @@
40
57
  {
41
58
  "id": "super-agent-sidebar",
42
59
  "title": "Super Agent",
43
- "icon": "assets/icon.svg"
60
+ "icon": "icon.png"
44
61
  }
45
62
  ]
46
63
  }
@@ -48,9 +65,20 @@
48
65
  "activationEvents": [
49
66
  "onStartupFinished"
50
67
  ],
68
+ "dependencies": {
69
+ "ws": "^8.19.0"
70
+ },
71
+ "devDependencies": {
72
+ "@types/node": "^20.17.6",
73
+ "@types/vscode": "^1.80.0",
74
+ "@types/ws": "^8.5.13",
75
+ "@vscode/vsce": "^3.2.1",
76
+ "typescript": "^5.7.2"
77
+ },
51
78
  "engines": {
52
79
  "vscode": "^1.80.0"
53
80
  },
81
+ "icon": "icon.png",
54
82
  "configuration": {
55
83
  "title": "Super Agent",
56
84
  "properties": {
@@ -1,15 +0,0 @@
1
- {
2
- "mcpServers": {
3
- "context7": {
4
- "command": "npx",
5
- "args": ["-y", "@upstash/context7-mcp"],
6
- "env": {
7
- "DEFAULT_MINIMUM_TOKENS": ""
8
- }
9
- },
10
- "cloudflare": {
11
- "command": "npx",
12
- "args": ["mcp-remote", "https://builds.mcp.cloudflare.com/sse"]
13
- }
14
- }
15
- }