@involvex/super-agent-cli 0.0.88 → 0.0.89
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/dist/index.js +75 -48
- package/dist/super-agent-cli.exe +0 -0
- package/dist/super-agent.js +5 -1
- package/eslint.config.mjs +1 -1
- package/package.json +3 -4
- package/super-agent.js +5 -1
- package/vscode-extension/.vscodeignore +1 -1
- package/vscode-extension/build.js +4 -4
- package/vscode-extension/dist/chat-provider.js +262 -0
- package/vscode-extension/dist/chat-provider.js.map +1 -0
- package/vscode-extension/dist/chat.css +268 -0
- package/vscode-extension/dist/chat.js +234 -0
- package/vscode-extension/dist/cli-connector.js +296 -0
- package/vscode-extension/dist/cli-connector.js.map +1 -0
- package/vscode-extension/dist/extension.js +156 -0
- package/vscode-extension/dist/extension.js.map +1 -0
- package/vscode-extension/dist/file-context.js +230 -0
- package/vscode-extension/dist/file-context.js.map +1 -0
- package/vscode-extension/dist/node_modules/ws/LICENSE +20 -0
- package/vscode-extension/dist/node_modules/ws/README.md +548 -0
- package/vscode-extension/dist/node_modules/ws/browser.js +8 -0
- package/vscode-extension/dist/node_modules/ws/index.js +13 -0
- package/vscode-extension/dist/node_modules/ws/lib/buffer-util.js +131 -0
- package/vscode-extension/dist/node_modules/ws/lib/constants.js +19 -0
- package/vscode-extension/dist/node_modules/ws/lib/event-target.js +292 -0
- package/vscode-extension/dist/node_modules/ws/lib/extension.js +203 -0
- package/vscode-extension/dist/node_modules/ws/lib/limiter.js +55 -0
- package/vscode-extension/dist/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/vscode-extension/dist/node_modules/ws/lib/receiver.js +706 -0
- package/vscode-extension/dist/node_modules/ws/lib/sender.js +602 -0
- package/vscode-extension/dist/node_modules/ws/lib/stream.js +161 -0
- package/vscode-extension/dist/node_modules/ws/lib/subprotocol.js +62 -0
- package/vscode-extension/dist/node_modules/ws/lib/validation.js +152 -0
- package/vscode-extension/dist/node_modules/ws/lib/websocket-server.js +554 -0
- package/vscode-extension/dist/node_modules/ws/lib/websocket.js +1393 -0
- package/vscode-extension/dist/node_modules/ws/package.json +69 -0
- package/vscode-extension/dist/node_modules/ws/wrapper.mjs +8 -0
- package/vscode-extension/dist/super-agent-vscode-0.0.2.vsix +0 -0
- package/vscode-extension/package.json +3 -3
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.FileContextProvider = void 0;
|
|
37
|
+
const vscode = __importStar(require("vscode"));
|
|
38
|
+
const path = __importStar(require("path"));
|
|
39
|
+
class FileContextProvider {
|
|
40
|
+
workspaceRoot;
|
|
41
|
+
constructor() {
|
|
42
|
+
this.updateWorkspaceRoot();
|
|
43
|
+
// Listen for workspace folder changes
|
|
44
|
+
vscode.workspace.onDidChangeWorkspaceFolders(() => {
|
|
45
|
+
this.updateWorkspaceRoot();
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
updateWorkspaceRoot() {
|
|
49
|
+
const workspaceFolders = vscode.workspace.workspaceFolders;
|
|
50
|
+
if (workspaceFolders && workspaceFolders.length > 0) {
|
|
51
|
+
this.workspaceRoot = workspaceFolders[0].uri.fsPath;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Get the file path for the currently active editor
|
|
56
|
+
*/
|
|
57
|
+
getActiveFilePath() {
|
|
58
|
+
const editor = vscode.window.activeTextEditor;
|
|
59
|
+
if (editor) {
|
|
60
|
+
return editor.document.uri.fsPath;
|
|
61
|
+
}
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Get the relative path for a file path from the workspace root
|
|
66
|
+
*/
|
|
67
|
+
getRelativePath(filePath) {
|
|
68
|
+
if (this.workspaceRoot) {
|
|
69
|
+
return path.relative(this.workspaceRoot, filePath);
|
|
70
|
+
}
|
|
71
|
+
return filePath;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Get file content as a mention object
|
|
75
|
+
*/
|
|
76
|
+
async getFileMention(filePath) {
|
|
77
|
+
try {
|
|
78
|
+
const uri = vscode.Uri.file(filePath);
|
|
79
|
+
const document = vscode.workspace.textDocuments.find(doc => doc.uri.fsPath === filePath);
|
|
80
|
+
if (document) {
|
|
81
|
+
// File is open in editor
|
|
82
|
+
return {
|
|
83
|
+
path: filePath,
|
|
84
|
+
relativePath: this.getRelativePath(filePath),
|
|
85
|
+
content: document.getText(),
|
|
86
|
+
language: document.languageId,
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
// Read file from disk
|
|
91
|
+
const content = await vscode.workspace.fs.readFile(uri);
|
|
92
|
+
return {
|
|
93
|
+
path: filePath,
|
|
94
|
+
relativePath: this.getRelativePath(filePath),
|
|
95
|
+
content: Buffer.from(content).toString("utf-8"),
|
|
96
|
+
language: this.getLanguageFromPath(filePath),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
catch (error) {
|
|
101
|
+
console.error(`Failed to read file: ${filePath}`, error);
|
|
102
|
+
return undefined;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Get the current file mention for the active editor
|
|
107
|
+
*/
|
|
108
|
+
async getCurrentFileMention() {
|
|
109
|
+
const filePath = this.getActiveFilePath();
|
|
110
|
+
if (filePath) {
|
|
111
|
+
return await this.getFileMention(filePath);
|
|
112
|
+
}
|
|
113
|
+
return undefined;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Get all open file mentions
|
|
117
|
+
*/
|
|
118
|
+
async getOpenFileMentions() {
|
|
119
|
+
const mentions = [];
|
|
120
|
+
for (const document of vscode.workspace.textDocuments) {
|
|
121
|
+
if (document.uri.scheme === "file") {
|
|
122
|
+
const mention = await this.getFileMention(document.uri.fsPath);
|
|
123
|
+
if (mention) {
|
|
124
|
+
mentions.push(mention);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
return mentions;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Get language ID from file path
|
|
132
|
+
*/
|
|
133
|
+
getLanguageFromPath(filePath) {
|
|
134
|
+
const ext = path.extname(filePath);
|
|
135
|
+
const languageMap = {
|
|
136
|
+
".ts": "typescript",
|
|
137
|
+
".tsx": "typescriptreact",
|
|
138
|
+
".js": "javascript",
|
|
139
|
+
".jsx": "javascriptreact",
|
|
140
|
+
".py": "python",
|
|
141
|
+
".rs": "rust",
|
|
142
|
+
".go": "go",
|
|
143
|
+
".java": "java",
|
|
144
|
+
".cpp": "cpp",
|
|
145
|
+
".c": "c",
|
|
146
|
+
".cs": "csharp",
|
|
147
|
+
".php": "php",
|
|
148
|
+
".rb": "ruby",
|
|
149
|
+
".swift": "swift",
|
|
150
|
+
".kt": "kotlin",
|
|
151
|
+
".scala": "scala",
|
|
152
|
+
".sh": "shellscript",
|
|
153
|
+
".bash": "shellscript",
|
|
154
|
+
".zsh": "shellscript",
|
|
155
|
+
".fish": "fish",
|
|
156
|
+
".ps1": "powershell",
|
|
157
|
+
".json": "json",
|
|
158
|
+
".yaml": "yaml",
|
|
159
|
+
".yml": "yaml",
|
|
160
|
+
".toml": "toml",
|
|
161
|
+
".xml": "xml",
|
|
162
|
+
".html": "html",
|
|
163
|
+
".css": "css",
|
|
164
|
+
".scss": "scss",
|
|
165
|
+
".less": "less",
|
|
166
|
+
".md": "markdown",
|
|
167
|
+
".sql": "sql",
|
|
168
|
+
".dockerfile": "dockerfile",
|
|
169
|
+
".dockerignore": "ignore",
|
|
170
|
+
".gitignore": "ignore",
|
|
171
|
+
".editorconfig": "editorconfig",
|
|
172
|
+
".env": "dotenv",
|
|
173
|
+
};
|
|
174
|
+
return languageMap[ext] || "plaintext";
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Parse file mentions from input text (e.g., "@src/index.ts")
|
|
178
|
+
*/
|
|
179
|
+
parseFileMentions(input) {
|
|
180
|
+
const mentionPattern = /@([^\s]+)/g;
|
|
181
|
+
const mentions = [];
|
|
182
|
+
let match;
|
|
183
|
+
while ((match = mentionPattern.exec(input)) !== null) {
|
|
184
|
+
mentions.push(match[1]);
|
|
185
|
+
}
|
|
186
|
+
return mentions;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Replace file mentions with their content
|
|
190
|
+
*/
|
|
191
|
+
async expandFileMentions(input) {
|
|
192
|
+
const mentions = this.parseFileMentions(input);
|
|
193
|
+
let expandedInput = input;
|
|
194
|
+
for (const mention of mentions) {
|
|
195
|
+
let filePath = mention;
|
|
196
|
+
// Convert relative path to absolute if needed
|
|
197
|
+
if (this.workspaceRoot && !path.isAbsolute(filePath)) {
|
|
198
|
+
filePath = path.join(this.workspaceRoot, filePath);
|
|
199
|
+
}
|
|
200
|
+
const fileMention = await this.getFileMention(filePath);
|
|
201
|
+
if (fileMention && fileMention.content !== undefined) {
|
|
202
|
+
const placeholder = `\n--- File: ${fileMention.relativePath} ---\n${fileMention.content}\n--- End of ${fileMention.relativePath} ---\n`;
|
|
203
|
+
expandedInput = expandedInput.replace(`@${mention}`, placeholder);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
return expandedInput;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Show file picker for selecting files to mention
|
|
210
|
+
*/
|
|
211
|
+
async showFilePicker() {
|
|
212
|
+
if (!this.workspaceRoot) {
|
|
213
|
+
vscode.window.showWarningMessage("No workspace folder open");
|
|
214
|
+
return undefined;
|
|
215
|
+
}
|
|
216
|
+
const fileUri = await vscode.window.showOpenDialog({
|
|
217
|
+
canSelectFiles: true,
|
|
218
|
+
canSelectFolders: false,
|
|
219
|
+
canSelectMany: false,
|
|
220
|
+
defaultUri: vscode.Uri.file(this.workspaceRoot),
|
|
221
|
+
openLabel: "Select File to Mention",
|
|
222
|
+
});
|
|
223
|
+
if (fileUri && fileUri.length > 0) {
|
|
224
|
+
return fileUri[0].fsPath;
|
|
225
|
+
}
|
|
226
|
+
return undefined;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
exports.FileContextProvider = FileContextProvider;
|
|
230
|
+
//# sourceMappingURL=file-context.js.map
|
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S,EAAE,CAAC;gBACrD,MAAM,WAAW,GAAG,eAAe,WAAW,CAAC,YAAY,SAAS,WAAW,CAAC,OAAO,gBAAgB,WAAW,CAAC,YAAY,QAAQ,CAAC;gBACxI,aAAa,GAAG,aAAa,CAAC,OAAO,CAAC,IAAI,OAAO,EAAE,EAAE,WAAW,CAAC,CAAC;YACpE,CAAC;QACH,CAAC;QAED,OAAO,aAAa,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,cAAc;QAClB,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YACxB,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,0BAA0B,CAAC,CAAC;YAC7D,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC;YACjD,cAAc,EAAE,IAAI;YACpB,gBAAgB,EAAE,KAAK;YACvB,aAAa,EAAE,KAAK;YACpB,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;YAC/C,SAAS,EAAE,wBAAwB;SACpC,CAAC,CAAC;QAEH,IAAI,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAClC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;QAC3B,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AAtND,kDAsNC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright (c) 2011 Einar Otto Stangvik <einaros@gmail.com>
|
|
2
|
+
Copyright (c) 2013 Arnout Kazemier and contributors
|
|
3
|
+
Copyright (c) 2016 Luigi Pinca and contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
+
the Software without restriction, including without limitation the rights to
|
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
+
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, FITNESS
|
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|