@neuralnomads/codenomad 0.14.0 → 0.15.0
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/cli-upgrade.js +53 -0
- package/dist/cli-upgrade.test.js +31 -0
- package/dist/filesystem/browser.js +15 -1
- package/dist/index.js +23 -6
- package/dist/opencode-config/package-lock.json +380 -0
- package/dist/opencode-config/package.json +2 -2
- package/dist/server/__tests__/remote-proxy.test.js +204 -0
- package/dist/server/http-server.js +8 -32
- package/dist/server/remote-proxy.js +466 -0
- package/dist/server/routes/remote-proxy.js +42 -0
- package/dist/server/routes/settings.js +1 -1
- package/dist/server/routes/workspaces.js +118 -0
- package/dist/workspaces/__tests__/git-worktrees.test.js +43 -0
- package/dist/workspaces/__tests__/spawn.test.js +140 -0
- package/dist/workspaces/git-mutations.js +98 -0
- package/dist/workspaces/git-status.js +323 -0
- package/dist/workspaces/git-worktrees.js +18 -1
- package/dist/workspaces/manager.js +9 -4
- package/dist/workspaces/opencode-auth.js +18 -0
- package/dist/workspaces/opencode-auth.test.js +34 -0
- package/dist/workspaces/runtime.js +54 -77
- package/dist/workspaces/spawn.js +219 -0
- package/dist/workspaces/worktree-directory.js +74 -0
- package/package.json +1 -1
- package/public/assets/ChangesTab-ovdqLHc3.js +2 -0
- package/public/assets/DiffToolbar-B12EfXMX.js +1 -0
- package/public/assets/FilesTab-nb_itEXG.js +2 -0
- package/public/assets/GitChangesTab-DcT_4BL2.js +2 -0
- package/public/assets/{SplitFilePanel-CupweEA5.js → SplitFilePanel-BOHH3F--.js} +1 -1
- package/public/assets/StatusTab-Dyt_EG33.js +1 -0
- package/public/assets/align-justify-9zpyaAdy.js +1 -0
- package/public/assets/{bundle-full-B-5u6Iv3.js → bundle-full-xFW13Lny.js} +1 -1
- package/public/assets/{diff-viewer-_ehhYA-Z.js → diff-viewer-xG9yjpN8.js} +1 -1
- package/public/assets/index-7DpT014-.js +1 -0
- package/public/assets/index-BDK4V9L0.js +1 -0
- package/public/assets/index-Bx-Bezt2.js +1 -0
- package/public/assets/{index-BqiNjV6R.js → index-CCAZZY0l.js} +1 -1
- package/public/assets/{index-BntAaLZs.js → index-CEcZq5WB.js} +1 -1
- package/public/assets/index-CQCmSDHL.js +1 -0
- package/public/assets/{index-CxQr-wOF.js → index-Cz_fl8aY.js} +1 -1
- package/public/assets/index-Dcgftm1m.css +1 -0
- package/public/assets/index-m4C3yx3J.js +1 -0
- package/public/assets/index-mh_z9p40.js +2 -0
- package/public/assets/{loading-Dck2H3XH.js → loading-HUhLEgb_.js} +1 -1
- package/public/assets/main-CKhfaeKI.js +48 -0
- package/public/assets/{markdown-CFV9kR80.js → markdown-BeXU9Z-x.js} +22 -22
- package/public/assets/monaco-viewer-BgP6xpZ6.js +26 -0
- package/public/assets/{todo-Ghwirj-b.js → todo-D6PVVp_f.js} +1 -1
- package/public/assets/tool-call-Dgn3NlA8.js +60 -0
- package/public/assets/{unified-picker-Dw0kTXoT.js → unified-picker-DuNuUpLy.js} +1 -1
- package/public/assets/wrap-text-zghCl6wN.js +1 -0
- package/public/index.html +4 -4
- package/public/loading.html +4 -4
- package/public/sw.js +1 -1
- package/public/ui-version.json +1 -1
- package/public/assets/ChangesTab-CFkk3tAp.js +0 -2
- package/public/assets/DiffToolbar-CQQLR1mp.js +0 -1
- package/public/assets/FilesTab-CXgucPtN.js +0 -2
- package/public/assets/GitChangesTab-BidSb28_.js +0 -2
- package/public/assets/StatusTab-C2Pl_Vce.js +0 -1
- package/public/assets/index-BnfDkr8C.js +0 -1
- package/public/assets/index-BwCEJ4BE.css +0 -1
- package/public/assets/index-DXaitXVC.js +0 -1
- package/public/assets/index-DzRzoTK8.js +0 -2
- package/public/assets/index-ShHad48G.js +0 -1
- package/public/assets/index-_EaXFUIj.js +0 -1
- package/public/assets/index-mMh5TJvW.js +0 -1
- package/public/assets/main-BsIf5lOY.js +0 -50
- package/public/assets/monaco-viewer-CMM6n0T3.js +0 -25
- package/public/assets/tool-call-BC2Pv3uG.js +0 -60
- package/public/assets/wrap-text-D2MJk2ad.js +0 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { spawn } from "child_process";
|
|
2
|
+
const CODENOMAD_PACKAGE_NAME = "@neuralnomads/codenomad";
|
|
3
|
+
function detectFromText(value) {
|
|
4
|
+
const lower = (value ?? "").toLowerCase();
|
|
5
|
+
if (!lower)
|
|
6
|
+
return null;
|
|
7
|
+
if (lower.includes("pnpm"))
|
|
8
|
+
return "pnpm";
|
|
9
|
+
if (lower.includes("bun"))
|
|
10
|
+
return "bun";
|
|
11
|
+
if (lower.includes("npm"))
|
|
12
|
+
return "npm";
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
export function detectPackageManager(env = process.env) {
|
|
16
|
+
return detectFromText(env.npm_config_user_agent) ?? detectFromText(env.npm_execpath) ?? "npm";
|
|
17
|
+
}
|
|
18
|
+
export function buildUpgradeCommand(version, packageManager = detectPackageManager()) {
|
|
19
|
+
const targetVersion = (version ?? "").trim() || "latest";
|
|
20
|
+
const packageSpec = `${CODENOMAD_PACKAGE_NAME}@${targetVersion}`;
|
|
21
|
+
const args = packageManager === "bun" ? ["add", "-g", packageSpec] : ["install", "-g", packageSpec];
|
|
22
|
+
return {
|
|
23
|
+
command: packageManager,
|
|
24
|
+
args,
|
|
25
|
+
packageSpec,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function formatUpgradeCommand(command) {
|
|
29
|
+
return [command.command, ...command.args].join(" ");
|
|
30
|
+
}
|
|
31
|
+
export function runCliUpgrade(version, env = process.env) {
|
|
32
|
+
const upgrade = buildUpgradeCommand(version, detectPackageManager(env));
|
|
33
|
+
console.log(`Upgrading CodeNomad with: ${formatUpgradeCommand(upgrade)}`);
|
|
34
|
+
return new Promise((resolve) => {
|
|
35
|
+
const child = spawn(upgrade.command, upgrade.args, {
|
|
36
|
+
env,
|
|
37
|
+
shell: process.platform === "win32",
|
|
38
|
+
stdio: "inherit",
|
|
39
|
+
});
|
|
40
|
+
child.on("exit", (code, signal) => {
|
|
41
|
+
if (signal) {
|
|
42
|
+
console.error(`Upgrade command stopped by signal ${signal}`);
|
|
43
|
+
resolve(1);
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
resolve(code ?? 0);
|
|
47
|
+
});
|
|
48
|
+
child.on("error", (error) => {
|
|
49
|
+
console.error("Failed to launch upgrade command", error);
|
|
50
|
+
resolve(1);
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import assert from "node:assert/strict";
|
|
2
|
+
import { describe, it } from "node:test";
|
|
3
|
+
import { buildUpgradeCommand, detectPackageManager, formatUpgradeCommand } from "./cli-upgrade";
|
|
4
|
+
describe("cli upgrade", () => {
|
|
5
|
+
it("defaults to npm when no package manager can be detected", () => {
|
|
6
|
+
assert.equal(detectPackageManager({}), "npm");
|
|
7
|
+
});
|
|
8
|
+
it("detects package managers from npm user agent", () => {
|
|
9
|
+
assert.equal(detectPackageManager({ npm_config_user_agent: "pnpm/9.0.0 node/v22" }), "pnpm");
|
|
10
|
+
assert.equal(detectPackageManager({ npm_config_user_agent: "bun/1.0.0" }), "bun");
|
|
11
|
+
assert.equal(detectPackageManager({ npm_config_user_agent: "npm/10.0.0 node/v22" }), "npm");
|
|
12
|
+
});
|
|
13
|
+
it("builds latest upgrade command by default", () => {
|
|
14
|
+
const command = buildUpgradeCommand(undefined, "npm");
|
|
15
|
+
assert.equal(command.packageSpec, "@neuralnomads/codenomad@latest");
|
|
16
|
+
assert.deepEqual(command.args, ["install", "-g", "@neuralnomads/codenomad@latest"]);
|
|
17
|
+
assert.equal(formatUpgradeCommand(command), "npm install -g @neuralnomads/codenomad@latest");
|
|
18
|
+
});
|
|
19
|
+
it("builds a versioned upgrade command", () => {
|
|
20
|
+
const command = buildUpgradeCommand("0.10.5", "pnpm");
|
|
21
|
+
assert.equal(command.packageSpec, "@neuralnomads/codenomad@0.10.5");
|
|
22
|
+
assert.deepEqual(command.args, ["install", "-g", "@neuralnomads/codenomad@0.10.5"]);
|
|
23
|
+
assert.equal(formatUpgradeCommand(command), "pnpm install -g @neuralnomads/codenomad@0.10.5");
|
|
24
|
+
});
|
|
25
|
+
it("uses bun add for Bun installs", () => {
|
|
26
|
+
const command = buildUpgradeCommand("0.10.5", "bun");
|
|
27
|
+
assert.equal(command.packageSpec, "@neuralnomads/codenomad@0.10.5");
|
|
28
|
+
assert.deepEqual(command.args, ["add", "-g", "@neuralnomads/codenomad@0.10.5"]);
|
|
29
|
+
assert.equal(formatUpgradeCommand(command), "bun add -g @neuralnomads/codenomad@0.10.5");
|
|
30
|
+
});
|
|
31
|
+
});
|
|
@@ -206,6 +206,17 @@ export class FileSystemBrowser {
|
|
|
206
206
|
if (!input || input === "." || input === "./" || input === "/") {
|
|
207
207
|
return ".";
|
|
208
208
|
}
|
|
209
|
+
if (path.isAbsolute(input)) {
|
|
210
|
+
const resolved = path.resolve(input);
|
|
211
|
+
const relativeToRoot = path.relative(this.root, resolved);
|
|
212
|
+
if (relativeToRoot === "") {
|
|
213
|
+
return ".";
|
|
214
|
+
}
|
|
215
|
+
if (this.isOutsideRoot(relativeToRoot)) {
|
|
216
|
+
throw new Error("Access outside of root is not allowed");
|
|
217
|
+
}
|
|
218
|
+
return relativeToRoot.replace(/\\+/g, "/");
|
|
219
|
+
}
|
|
209
220
|
let normalized = input.replace(/\\+/g, "/");
|
|
210
221
|
if (normalized.startsWith("./")) {
|
|
211
222
|
normalized = normalized.replace(/^\.\/+/, "");
|
|
@@ -232,11 +243,14 @@ export class FileSystemBrowser {
|
|
|
232
243
|
const normalized = this.normalizeRelativePath(relativePath);
|
|
233
244
|
const target = path.resolve(this.root, normalized);
|
|
234
245
|
const relativeToRoot = path.relative(this.root, target);
|
|
235
|
-
if (
|
|
246
|
+
if (this.isOutsideRoot(relativeToRoot)) {
|
|
236
247
|
throw new Error("Access outside of root is not allowed");
|
|
237
248
|
}
|
|
238
249
|
return target;
|
|
239
250
|
}
|
|
251
|
+
isOutsideRoot(relativeToRoot) {
|
|
252
|
+
return relativeToRoot === ".." || relativeToRoot.startsWith(`..${path.sep}`) || path.isAbsolute(relativeToRoot);
|
|
253
|
+
}
|
|
240
254
|
resolveUnrestrictedPath(input) {
|
|
241
255
|
if (!input || input === "." || input === "./") {
|
|
242
256
|
return this.homeDir;
|
package/dist/index.js
CHANGED
|
@@ -20,6 +20,7 @@ import { launchInBrowser } from "./launcher";
|
|
|
20
20
|
import { resolveUi } from "./ui/remote-ui";
|
|
21
21
|
import { AuthManager, BOOTSTRAP_TOKEN_STDOUT_PREFIX, DEFAULT_AUTH_COOKIE_NAME, DEFAULT_AUTH_USERNAME } from "./auth/manager";
|
|
22
22
|
import { resolveHttpsOptions } from "./server/tls";
|
|
23
|
+
import { RemoteProxySessionManager } from "./server/remote-proxy";
|
|
23
24
|
import { resolveNetworkAddresses, resolveRemoteAddresses } from "./server/network-addresses";
|
|
24
25
|
import { startDevReleaseMonitor } from "./releases/dev-release-monitor";
|
|
25
26
|
import { SpeechService } from "./speech/service";
|
|
@@ -27,6 +28,7 @@ import { SideCarManager } from "./sidecars/manager";
|
|
|
27
28
|
import { ClientConnectionManager } from "./clients/connection-manager";
|
|
28
29
|
import { PluginChannelManager } from "./plugins/channel";
|
|
29
30
|
import { VoiceModeManager } from "./plugins/voice-mode";
|
|
31
|
+
import { runCliUpgrade } from "./cli-upgrade";
|
|
30
32
|
const require = createRequire(import.meta.url);
|
|
31
33
|
const packageJson = require("../package.json");
|
|
32
34
|
const __filename = fileURLToPath(import.meta.url);
|
|
@@ -74,9 +76,11 @@ function parseCliOptions(argv) {
|
|
|
74
76
|
.default(false))
|
|
75
77
|
.addOption(new Option("--dangerously-skip-auth", "Disable CodeNomad's internal auth. Use only behind a trusted perimeter (SSO/VPN/etc).")
|
|
76
78
|
.env("CODENOMAD_SKIP_AUTH")
|
|
77
|
-
.default(false))
|
|
79
|
+
.default(false))
|
|
80
|
+
.addOption(new Option("--upgrade [version]", "Upgrade the global CodeNomad CLI server package and exit"));
|
|
78
81
|
program.parse(argv, { from: "user" });
|
|
79
82
|
const parsed = program.opts();
|
|
83
|
+
const upgrade = parsed.upgrade;
|
|
80
84
|
const parseBooleanEnv = (value) => {
|
|
81
85
|
const normalized = (value ?? "").trim().toLowerCase();
|
|
82
86
|
return normalized === "1" || normalized === "true" || normalized === "yes" || normalized === "y" || normalized === "on";
|
|
@@ -87,7 +91,7 @@ function parseCliOptions(argv) {
|
|
|
87
91
|
const uiAutoUpdate = autoUpdateString === "1" || autoUpdateString === "true" || autoUpdateString === "yes";
|
|
88
92
|
const httpsEnabled = parseBooleanEnv(parsed.https);
|
|
89
93
|
const httpEnabled = parseBooleanEnv(parsed.http);
|
|
90
|
-
if (!httpsEnabled && !httpEnabled) {
|
|
94
|
+
if (upgrade === undefined && !httpsEnabled && !httpEnabled) {
|
|
91
95
|
throw new InvalidArgumentError("At least one listener must be enabled (--https or --http)");
|
|
92
96
|
}
|
|
93
97
|
return {
|
|
@@ -116,6 +120,7 @@ function parseCliOptions(argv) {
|
|
|
116
120
|
authCookieName: parsed.authCookieName,
|
|
117
121
|
generateToken: Boolean(parsed.generateToken),
|
|
118
122
|
dangerouslySkipAuth: Boolean(parsed.dangerouslySkipAuth),
|
|
123
|
+
upgrade,
|
|
119
124
|
};
|
|
120
125
|
}
|
|
121
126
|
function parsePort(input) {
|
|
@@ -142,6 +147,11 @@ function programHasArg(argv, flag) {
|
|
|
142
147
|
}
|
|
143
148
|
async function main() {
|
|
144
149
|
const options = parseCliOptions(process.argv.slice(2));
|
|
150
|
+
if (options.upgrade !== undefined) {
|
|
151
|
+
const version = typeof options.upgrade === "string" ? options.upgrade : undefined;
|
|
152
|
+
process.exitCode = await runCliUpgrade(version);
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
145
155
|
const logger = createLogger({ level: options.logLevel, destination: options.logDestination, component: "app" });
|
|
146
156
|
const workspaceLogger = logger.child({ component: "workspace" });
|
|
147
157
|
const configLogger = logger.child({ component: "config" });
|
|
@@ -209,7 +219,10 @@ async function main() {
|
|
|
209
219
|
getServerBaseUrl: () => serverMeta.localUrl,
|
|
210
220
|
nodeExtraCaCertsPath,
|
|
211
221
|
});
|
|
212
|
-
const fileSystemBrowser = new FileSystemBrowser({
|
|
222
|
+
const fileSystemBrowser = new FileSystemBrowser({
|
|
223
|
+
rootDir: options.rootDir,
|
|
224
|
+
unrestricted: options.unrestrictedRoot,
|
|
225
|
+
});
|
|
213
226
|
const instanceStore = new InstanceStore(configLocation.instancesDir);
|
|
214
227
|
const speechService = new SpeechService(settings, logger.child({ component: "speech" }));
|
|
215
228
|
const sidecarManager = new SideCarManager({
|
|
@@ -262,12 +275,14 @@ async function main() {
|
|
|
262
275
|
},
|
|
263
276
|
})
|
|
264
277
|
: null;
|
|
265
|
-
if (uiResolution.uiDevServerUrl && options.https) {
|
|
266
|
-
throw new InvalidArgumentError("UI dev proxy is only supported with --https=false --http=true");
|
|
267
|
-
}
|
|
268
278
|
const remoteAccessEnabled = options.host === "0.0.0.0" || !isLoopbackHost(options.host);
|
|
269
279
|
const clientConnectionManager = new ClientConnectionManager(logger.child({ component: "client-connections" }));
|
|
270
280
|
const pluginChannel = new PluginChannelManager(logger.child({ component: "plugin-channel" }));
|
|
281
|
+
const remoteProxySessionManager = new RemoteProxySessionManager({
|
|
282
|
+
authManager,
|
|
283
|
+
logger: logger.child({ component: "remote-proxy" }),
|
|
284
|
+
httpsOptions: tlsResolution?.httpsOptions,
|
|
285
|
+
});
|
|
271
286
|
const voiceModeManager = new VoiceModeManager({
|
|
272
287
|
connections: clientConnectionManager,
|
|
273
288
|
channel: pluginChannel,
|
|
@@ -302,6 +317,7 @@ async function main() {
|
|
|
302
317
|
clientConnectionManager,
|
|
303
318
|
pluginChannel,
|
|
304
319
|
voiceModeManager,
|
|
320
|
+
remoteProxySessionManager,
|
|
305
321
|
uiStaticDir: uiResolution.uiStaticDir ?? DEFAULT_UI_STATIC_DIR,
|
|
306
322
|
uiDevServerUrl: uiResolution.uiDevServerUrl,
|
|
307
323
|
logger,
|
|
@@ -326,6 +342,7 @@ async function main() {
|
|
|
326
342
|
clientConnectionManager,
|
|
327
343
|
pluginChannel,
|
|
328
344
|
voiceModeManager,
|
|
345
|
+
remoteProxySessionManager,
|
|
329
346
|
uiStaticDir: uiResolution.uiStaticDir ?? DEFAULT_UI_STATIC_DIR,
|
|
330
347
|
uiDevServerUrl: undefined,
|
|
331
348
|
logger,
|
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@codenomad/opencode-config",
|
|
3
|
+
"version": "0.15.0",
|
|
4
|
+
"lockfileVersion": 3,
|
|
5
|
+
"requires": true,
|
|
6
|
+
"packages": {
|
|
7
|
+
"": {
|
|
8
|
+
"name": "@codenomad/opencode-config",
|
|
9
|
+
"version": "0.15.0",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@opencode-ai/plugin": "1.14.24"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"node_modules/@msgpackr-extract/msgpackr-extract-darwin-arm64": {
|
|
16
|
+
"version": "3.0.3",
|
|
17
|
+
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-arm64/-/msgpackr-extract-darwin-arm64-3.0.3.tgz",
|
|
18
|
+
"integrity": "sha512-QZHtlVgbAdy2zAqNA9Gu1UpIuI8Xvsd1v8ic6B2pZmeFnFcMWiPLfWXh7TVw4eGEZ/C9TH281KwhVoeQUKbyjw==",
|
|
19
|
+
"cpu": [
|
|
20
|
+
"arm64"
|
|
21
|
+
],
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"optional": true,
|
|
24
|
+
"os": [
|
|
25
|
+
"darwin"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"node_modules/@msgpackr-extract/msgpackr-extract-darwin-x64": {
|
|
29
|
+
"version": "3.0.3",
|
|
30
|
+
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-x64/-/msgpackr-extract-darwin-x64-3.0.3.tgz",
|
|
31
|
+
"integrity": "sha512-mdzd3AVzYKuUmiWOQ8GNhl64/IoFGol569zNRdkLReh6LRLHOXxU4U8eq0JwaD8iFHdVGqSy4IjFL4reoWCDFw==",
|
|
32
|
+
"cpu": [
|
|
33
|
+
"x64"
|
|
34
|
+
],
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"optional": true,
|
|
37
|
+
"os": [
|
|
38
|
+
"darwin"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"node_modules/@msgpackr-extract/msgpackr-extract-linux-arm": {
|
|
42
|
+
"version": "3.0.3",
|
|
43
|
+
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm/-/msgpackr-extract-linux-arm-3.0.3.tgz",
|
|
44
|
+
"integrity": "sha512-fg0uy/dG/nZEXfYilKoRe7yALaNmHoYeIoJuJ7KJ+YyU2bvY8vPv27f7UKhGRpY6euFYqEVhxCFZgAUNQBM3nw==",
|
|
45
|
+
"cpu": [
|
|
46
|
+
"arm"
|
|
47
|
+
],
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"optional": true,
|
|
50
|
+
"os": [
|
|
51
|
+
"linux"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"node_modules/@msgpackr-extract/msgpackr-extract-linux-arm64": {
|
|
55
|
+
"version": "3.0.3",
|
|
56
|
+
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm64/-/msgpackr-extract-linux-arm64-3.0.3.tgz",
|
|
57
|
+
"integrity": "sha512-YxQL+ax0XqBJDZiKimS2XQaf+2wDGVa1enVRGzEvLLVFeqa5kx2bWbtcSXgsxjQB7nRqqIGFIcLteF/sHeVtQg==",
|
|
58
|
+
"cpu": [
|
|
59
|
+
"arm64"
|
|
60
|
+
],
|
|
61
|
+
"license": "MIT",
|
|
62
|
+
"optional": true,
|
|
63
|
+
"os": [
|
|
64
|
+
"linux"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"node_modules/@msgpackr-extract/msgpackr-extract-linux-x64": {
|
|
68
|
+
"version": "3.0.3",
|
|
69
|
+
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-x64/-/msgpackr-extract-linux-x64-3.0.3.tgz",
|
|
70
|
+
"integrity": "sha512-cvwNfbP07pKUfq1uH+S6KJ7dT9K8WOE4ZiAcsrSes+UY55E/0jLYc+vq+DO7jlmqRb5zAggExKm0H7O/CBaesg==",
|
|
71
|
+
"cpu": [
|
|
72
|
+
"x64"
|
|
73
|
+
],
|
|
74
|
+
"license": "MIT",
|
|
75
|
+
"optional": true,
|
|
76
|
+
"os": [
|
|
77
|
+
"linux"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"node_modules/@msgpackr-extract/msgpackr-extract-win32-x64": {
|
|
81
|
+
"version": "3.0.3",
|
|
82
|
+
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-win32-x64/-/msgpackr-extract-win32-x64-3.0.3.tgz",
|
|
83
|
+
"integrity": "sha512-x0fWaQtYp4E6sktbsdAqnehxDgEc/VwM7uLsRCYWaiGu0ykYdZPiS8zCWdnjHwyiumousxfBm4SO31eXqwEZhQ==",
|
|
84
|
+
"cpu": [
|
|
85
|
+
"x64"
|
|
86
|
+
],
|
|
87
|
+
"license": "MIT",
|
|
88
|
+
"optional": true,
|
|
89
|
+
"os": [
|
|
90
|
+
"win32"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"node_modules/@opencode-ai/plugin": {
|
|
94
|
+
"version": "1.14.24",
|
|
95
|
+
"resolved": "https://registry.npmjs.org/@opencode-ai/plugin/-/plugin-1.14.24.tgz",
|
|
96
|
+
"integrity": "sha512-upzw2a9KfzIkIvvjYSPJiyV6o85D3HLmhVvAJIwV8mYWxbvi2wP2NA0hJaMp2+GZVuUl/ra8WV8kacD1CWcb4w==",
|
|
97
|
+
"license": "MIT",
|
|
98
|
+
"dependencies": {
|
|
99
|
+
"@opencode-ai/sdk": "1.14.24",
|
|
100
|
+
"effect": "4.0.0-beta.48",
|
|
101
|
+
"zod": "4.1.8"
|
|
102
|
+
},
|
|
103
|
+
"peerDependencies": {
|
|
104
|
+
"@opentui/core": ">=0.1.99",
|
|
105
|
+
"@opentui/solid": ">=0.1.99"
|
|
106
|
+
},
|
|
107
|
+
"peerDependenciesMeta": {
|
|
108
|
+
"@opentui/core": {
|
|
109
|
+
"optional": true
|
|
110
|
+
},
|
|
111
|
+
"@opentui/solid": {
|
|
112
|
+
"optional": true
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"node_modules/@opencode-ai/sdk": {
|
|
117
|
+
"version": "1.14.24",
|
|
118
|
+
"resolved": "https://registry.npmjs.org/@opencode-ai/sdk/-/sdk-1.14.24.tgz",
|
|
119
|
+
"integrity": "sha512-hZWc1jx+gtZBM6Mff9iOMlXM1at9BbAGg0uNrQk8DuXpd8K19fu942emojdInO2zy0jC5/wWggsi7GJu7HMp/w==",
|
|
120
|
+
"license": "MIT",
|
|
121
|
+
"dependencies": {
|
|
122
|
+
"cross-spawn": "7.0.6"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"node_modules/@standard-schema/spec": {
|
|
126
|
+
"version": "1.1.0",
|
|
127
|
+
"resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
|
|
128
|
+
"integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
|
|
129
|
+
"license": "MIT"
|
|
130
|
+
},
|
|
131
|
+
"node_modules/cross-spawn": {
|
|
132
|
+
"version": "7.0.6",
|
|
133
|
+
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
|
|
134
|
+
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
|
|
135
|
+
"license": "MIT",
|
|
136
|
+
"dependencies": {
|
|
137
|
+
"path-key": "^3.1.0",
|
|
138
|
+
"shebang-command": "^2.0.0",
|
|
139
|
+
"which": "^2.0.1"
|
|
140
|
+
},
|
|
141
|
+
"engines": {
|
|
142
|
+
"node": ">= 8"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"node_modules/detect-libc": {
|
|
146
|
+
"version": "2.1.2",
|
|
147
|
+
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
|
|
148
|
+
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
|
|
149
|
+
"license": "Apache-2.0",
|
|
150
|
+
"optional": true,
|
|
151
|
+
"engines": {
|
|
152
|
+
"node": ">=8"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"node_modules/effect": {
|
|
156
|
+
"version": "4.0.0-beta.48",
|
|
157
|
+
"resolved": "https://registry.npmjs.org/effect/-/effect-4.0.0-beta.48.tgz",
|
|
158
|
+
"integrity": "sha512-MMAM/ZabuNdNmgXiin+BAanQXK7qM8mlt7nfXDoJ/Gn9V8i89JlCq+2N0AiWmqFLXjGLA0u3FjiOjSOYQk5uMw==",
|
|
159
|
+
"license": "MIT",
|
|
160
|
+
"dependencies": {
|
|
161
|
+
"@standard-schema/spec": "^1.1.0",
|
|
162
|
+
"fast-check": "^4.6.0",
|
|
163
|
+
"find-my-way-ts": "^0.1.6",
|
|
164
|
+
"ini": "^6.0.0",
|
|
165
|
+
"kubernetes-types": "^1.30.0",
|
|
166
|
+
"msgpackr": "^1.11.9",
|
|
167
|
+
"multipasta": "^0.2.7",
|
|
168
|
+
"toml": "^4.1.1",
|
|
169
|
+
"uuid": "^13.0.0",
|
|
170
|
+
"yaml": "^2.8.3"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"node_modules/fast-check": {
|
|
174
|
+
"version": "4.7.0",
|
|
175
|
+
"resolved": "https://registry.npmjs.org/fast-check/-/fast-check-4.7.0.tgz",
|
|
176
|
+
"integrity": "sha512-NsZRtqvSSoCP0HbNjUD+r1JH8zqZalyp6gLY9e7OYs7NK9b6AHOs2baBFeBG7bVNsuoukh89x2Yg3rPsul8ziQ==",
|
|
177
|
+
"funding": [
|
|
178
|
+
{
|
|
179
|
+
"type": "individual",
|
|
180
|
+
"url": "https://github.com/sponsors/dubzzz"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"type": "opencollective",
|
|
184
|
+
"url": "https://opencollective.com/fast-check"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"license": "MIT",
|
|
188
|
+
"dependencies": {
|
|
189
|
+
"pure-rand": "^8.0.0"
|
|
190
|
+
},
|
|
191
|
+
"engines": {
|
|
192
|
+
"node": ">=12.17.0"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"node_modules/find-my-way-ts": {
|
|
196
|
+
"version": "0.1.6",
|
|
197
|
+
"resolved": "https://registry.npmjs.org/find-my-way-ts/-/find-my-way-ts-0.1.6.tgz",
|
|
198
|
+
"integrity": "sha512-a85L9ZoXtNAey3Y6Z+eBWW658kO/MwR7zIafkIUPUMf3isZG0NCs2pjW2wtjxAKuJPxMAsHUIP4ZPGv0o5gyTA==",
|
|
199
|
+
"license": "MIT"
|
|
200
|
+
},
|
|
201
|
+
"node_modules/ini": {
|
|
202
|
+
"version": "6.0.0",
|
|
203
|
+
"resolved": "https://registry.npmjs.org/ini/-/ini-6.0.0.tgz",
|
|
204
|
+
"integrity": "sha512-IBTdIkzZNOpqm7q3dRqJvMaldXjDHWkEDfrwGEQTs5eaQMWV+djAhR+wahyNNMAa+qpbDUhBMVt4ZKNwpPm7xQ==",
|
|
205
|
+
"license": "ISC",
|
|
206
|
+
"engines": {
|
|
207
|
+
"node": "^20.17.0 || >=22.9.0"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"node_modules/isexe": {
|
|
211
|
+
"version": "2.0.0",
|
|
212
|
+
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
|
|
213
|
+
"integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
|
|
214
|
+
"license": "ISC"
|
|
215
|
+
},
|
|
216
|
+
"node_modules/kubernetes-types": {
|
|
217
|
+
"version": "1.30.0",
|
|
218
|
+
"resolved": "https://registry.npmjs.org/kubernetes-types/-/kubernetes-types-1.30.0.tgz",
|
|
219
|
+
"integrity": "sha512-Dew1okvhM/SQcIa2rcgujNndZwU8VnSapDgdxlYoB84ZlpAD43U6KLAFqYo17ykSFGHNPrg0qry0bP+GJd9v7Q==",
|
|
220
|
+
"license": "Apache-2.0"
|
|
221
|
+
},
|
|
222
|
+
"node_modules/msgpackr": {
|
|
223
|
+
"version": "1.11.10",
|
|
224
|
+
"resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.11.10.tgz",
|
|
225
|
+
"integrity": "sha512-iCZNq+HszvF+fC3anCm4nBmWEnbeIAfpDs6IStAEKhQ2YSgkjzVG2FF9XJqwwQh5bH3N9OUTUt4QwVN6MLMLtA==",
|
|
226
|
+
"license": "MIT",
|
|
227
|
+
"optionalDependencies": {
|
|
228
|
+
"msgpackr-extract": "^3.0.2"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"node_modules/msgpackr-extract": {
|
|
232
|
+
"version": "3.0.3",
|
|
233
|
+
"resolved": "https://registry.npmjs.org/msgpackr-extract/-/msgpackr-extract-3.0.3.tgz",
|
|
234
|
+
"integrity": "sha512-P0efT1C9jIdVRefqjzOQ9Xml57zpOXnIuS+csaB4MdZbTdmGDLo8XhzBG1N7aO11gKDDkJvBLULeFTo46wwreA==",
|
|
235
|
+
"hasInstallScript": true,
|
|
236
|
+
"license": "MIT",
|
|
237
|
+
"optional": true,
|
|
238
|
+
"dependencies": {
|
|
239
|
+
"node-gyp-build-optional-packages": "5.2.2"
|
|
240
|
+
},
|
|
241
|
+
"bin": {
|
|
242
|
+
"download-msgpackr-prebuilds": "bin/download-prebuilds.js"
|
|
243
|
+
},
|
|
244
|
+
"optionalDependencies": {
|
|
245
|
+
"@msgpackr-extract/msgpackr-extract-darwin-arm64": "3.0.3",
|
|
246
|
+
"@msgpackr-extract/msgpackr-extract-darwin-x64": "3.0.3",
|
|
247
|
+
"@msgpackr-extract/msgpackr-extract-linux-arm": "3.0.3",
|
|
248
|
+
"@msgpackr-extract/msgpackr-extract-linux-arm64": "3.0.3",
|
|
249
|
+
"@msgpackr-extract/msgpackr-extract-linux-x64": "3.0.3",
|
|
250
|
+
"@msgpackr-extract/msgpackr-extract-win32-x64": "3.0.3"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"node_modules/multipasta": {
|
|
254
|
+
"version": "0.2.7",
|
|
255
|
+
"resolved": "https://registry.npmjs.org/multipasta/-/multipasta-0.2.7.tgz",
|
|
256
|
+
"integrity": "sha512-KPA58d68KgGil15oDqXjkUBEBYc00XvbPj5/X+dyzeo/lWm9Nc25pQRlf1D+gv4OpK7NM0J1odrbu9JNNGvynA==",
|
|
257
|
+
"license": "MIT"
|
|
258
|
+
},
|
|
259
|
+
"node_modules/node-gyp-build-optional-packages": {
|
|
260
|
+
"version": "5.2.2",
|
|
261
|
+
"resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.2.2.tgz",
|
|
262
|
+
"integrity": "sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw==",
|
|
263
|
+
"license": "MIT",
|
|
264
|
+
"optional": true,
|
|
265
|
+
"dependencies": {
|
|
266
|
+
"detect-libc": "^2.0.1"
|
|
267
|
+
},
|
|
268
|
+
"bin": {
|
|
269
|
+
"node-gyp-build-optional-packages": "bin.js",
|
|
270
|
+
"node-gyp-build-optional-packages-optional": "optional.js",
|
|
271
|
+
"node-gyp-build-optional-packages-test": "build-test.js"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"node_modules/path-key": {
|
|
275
|
+
"version": "3.1.1",
|
|
276
|
+
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
|
277
|
+
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
|
|
278
|
+
"license": "MIT",
|
|
279
|
+
"engines": {
|
|
280
|
+
"node": ">=8"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"node_modules/pure-rand": {
|
|
284
|
+
"version": "8.4.0",
|
|
285
|
+
"resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-8.4.0.tgz",
|
|
286
|
+
"integrity": "sha512-IoM8YF/jY0hiugFo/wOWqfmarlE6J0wc6fDK1PhftMk7MGhVZl88sZimmqBBFomLOCSmcCCpsfj7wXASCpvK9A==",
|
|
287
|
+
"funding": [
|
|
288
|
+
{
|
|
289
|
+
"type": "individual",
|
|
290
|
+
"url": "https://github.com/sponsors/dubzzz"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"type": "opencollective",
|
|
294
|
+
"url": "https://opencollective.com/fast-check"
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
"license": "MIT"
|
|
298
|
+
},
|
|
299
|
+
"node_modules/shebang-command": {
|
|
300
|
+
"version": "2.0.0",
|
|
301
|
+
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
|
|
302
|
+
"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
|
|
303
|
+
"license": "MIT",
|
|
304
|
+
"dependencies": {
|
|
305
|
+
"shebang-regex": "^3.0.0"
|
|
306
|
+
},
|
|
307
|
+
"engines": {
|
|
308
|
+
"node": ">=8"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"node_modules/shebang-regex": {
|
|
312
|
+
"version": "3.0.0",
|
|
313
|
+
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
|
|
314
|
+
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
|
|
315
|
+
"license": "MIT",
|
|
316
|
+
"engines": {
|
|
317
|
+
"node": ">=8"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"node_modules/toml": {
|
|
321
|
+
"version": "4.1.1",
|
|
322
|
+
"resolved": "https://registry.npmjs.org/toml/-/toml-4.1.1.tgz",
|
|
323
|
+
"integrity": "sha512-EBJnVBr3dTXdA89WVFoAIPUqkBjxPMwRqsfuo1r240tKFHXv3zgca4+NJib/h6TyvGF7vOawz0jGuryJCdNHrw==",
|
|
324
|
+
"license": "MIT",
|
|
325
|
+
"engines": {
|
|
326
|
+
"node": ">=20"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"node_modules/uuid": {
|
|
330
|
+
"version": "13.0.0",
|
|
331
|
+
"resolved": "https://registry.npmjs.org/uuid/-/uuid-13.0.0.tgz",
|
|
332
|
+
"integrity": "sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w==",
|
|
333
|
+
"funding": [
|
|
334
|
+
"https://github.com/sponsors/broofa",
|
|
335
|
+
"https://github.com/sponsors/ctavan"
|
|
336
|
+
],
|
|
337
|
+
"license": "MIT",
|
|
338
|
+
"bin": {
|
|
339
|
+
"uuid": "dist-node/bin/uuid"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"node_modules/which": {
|
|
343
|
+
"version": "2.0.2",
|
|
344
|
+
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
|
|
345
|
+
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
|
|
346
|
+
"license": "ISC",
|
|
347
|
+
"dependencies": {
|
|
348
|
+
"isexe": "^2.0.0"
|
|
349
|
+
},
|
|
350
|
+
"bin": {
|
|
351
|
+
"node-which": "bin/node-which"
|
|
352
|
+
},
|
|
353
|
+
"engines": {
|
|
354
|
+
"node": ">= 8"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"node_modules/yaml": {
|
|
358
|
+
"version": "2.8.3",
|
|
359
|
+
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",
|
|
360
|
+
"integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==",
|
|
361
|
+
"license": "ISC",
|
|
362
|
+
"bin": {
|
|
363
|
+
"yaml": "bin.mjs"
|
|
364
|
+
},
|
|
365
|
+
"engines": {
|
|
366
|
+
"node": ">= 14.6"
|
|
367
|
+
},
|
|
368
|
+
"funding": {
|
|
369
|
+
"url": "https://github.com/sponsors/eemeli"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"node_modules/zod": {
|
|
373
|
+
"version": "4.1.8",
|
|
374
|
+
"license": "MIT",
|
|
375
|
+
"funding": {
|
|
376
|
+
"url": "https://github.com/sponsors/colinhacks"
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|