alchemylab-opencode 1.0.3 → 1.0.5
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/build.mjs +163 -0
- package/dist/chunk-ANDTK76Q.js +319 -0
- package/dist/chunk-ANDTK76Q.js.map +7 -0
- package/dist/chunk-B3FN2B2N.js +2280 -0
- package/dist/chunk-B3FN2B2N.js.map +7 -0
- package/dist/chunk-BI5OUHTQ.js +31 -0
- package/dist/chunk-BI5OUHTQ.js.map +7 -0
- package/dist/chunk-CR6IREZA.js +127 -0
- package/dist/chunk-CR6IREZA.js.map +7 -0
- package/dist/chunk-CYXMV3J3.js +6535 -0
- package/dist/chunk-CYXMV3J3.js.map +7 -0
- package/dist/chunk-DSPC5QIG.js +23731 -0
- package/dist/chunk-DSPC5QIG.js.map +7 -0
- package/dist/chunk-HORZKFCR.js +88 -0
- package/dist/chunk-HORZKFCR.js.map +7 -0
- package/dist/chunk-MCWTARFP.js +728 -0
- package/dist/chunk-MCWTARFP.js.map +7 -0
- package/dist/chunk-UWZSRZHA.js +5025 -0
- package/dist/chunk-UWZSRZHA.js.map +7 -0
- package/dist/mcp-VAU4RMWH.js +22 -0
- package/dist/mcp-VAU4RMWH.js.map +7 -0
- package/dist/pty.node-RHOAUGH6.js +40 -0
- package/dist/pty.node-RHOAUGH6.js.map +7 -0
- package/dist/registry-PYMN6L3G.js +23 -0
- package/dist/registry-PYMN6L3G.js.map +7 -0
- package/dist/run-YFVCQJQM.js +4791 -0
- package/dist/run-YFVCQJQM.js.map +7 -0
- package/dist/run-service-LHEVFBIU.js +22 -0
- package/dist/run-service-LHEVFBIU.js.map +7 -0
- package/dist/run.js +22 -0
- package/dist/run.js.map +7 -0
- package/dist/schema-32EBFLEO.js +24 -0
- package/dist/schema-32EBFLEO.js.map +7 -0
- package/dist/serve.js +41 -0
- package/dist/serve.js.map +7 -0
- package/dist/server-K3UGWASP.js +26 -0
- package/dist/server-K3UGWASP.js.map +7 -0
- package/dist/session-HJFWTM7C.js +23 -0
- package/dist/session-HJFWTM7C.js.map +7 -0
- package/dist/share-next-55VCIMUH.js +24 -0
- package/dist/share-next-55VCIMUH.js.map +7 -0
- package/dist/worktree-6GGDLADY.js +63 -0
- package/dist/worktree-6GGDLADY.js.map +7 -0
- package/package.json +10 -3
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Built by esbuild from opencode-server source
|
|
2
|
+
if (typeof globalThis.Bun === 'undefined') {
|
|
3
|
+
globalThis.Bun = {
|
|
4
|
+
version: '0.0.0-node-compat',
|
|
5
|
+
stdin: { async text() { const chunks = []; for await (const c of process.stdin) chunks.push(c); return Buffer.concat(chunks).toString(); } },
|
|
6
|
+
which(cmd) { try { return require('child_process').execFileSync('which', [cmd], { encoding: 'utf8' }).trim(); } catch { return null; } },
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
if (typeof globalThis.__name === 'undefined') { globalThis.__name = (t, n) => { Object.defineProperty(t, 'name', { value: n, configurable: true }); return t; }; }
|
|
10
|
+
if (typeof globalThis.__export === 'undefined') { globalThis.__export = (t, a) => { for (const k in a) Object.defineProperty(t, k, { get: a[k], enumerable: true }); }; }
|
|
11
|
+
|
|
12
|
+
import {
|
|
13
|
+
MCP
|
|
14
|
+
} from "./chunk-CYXMV3J3.js";
|
|
15
|
+
import "./chunk-B3FN2B2N.js";
|
|
16
|
+
import "./chunk-CR6IREZA.js";
|
|
17
|
+
import "./chunk-BI5OUHTQ.js";
|
|
18
|
+
import "./chunk-HORZKFCR.js";
|
|
19
|
+
export {
|
|
20
|
+
MCP
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=mcp-VAU4RMWH.js.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// Built by esbuild from opencode-server source
|
|
2
|
+
if (typeof globalThis.Bun === 'undefined') {
|
|
3
|
+
globalThis.Bun = {
|
|
4
|
+
version: '0.0.0-node-compat',
|
|
5
|
+
stdin: { async text() { const chunks = []; for await (const c of process.stdin) chunks.push(c); return Buffer.concat(chunks).toString(); } },
|
|
6
|
+
which(cmd) { try { return require('child_process').execFileSync('which', [cmd], { encoding: 'utf8' }).trim(); } catch { return null; } },
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
if (typeof globalThis.__name === 'undefined') { globalThis.__name = (t, n) => { Object.defineProperty(t, 'name', { value: n, configurable: true }); return t; }; }
|
|
10
|
+
if (typeof globalThis.__export === 'undefined') { globalThis.__export = (t, a) => { for (const k in a) Object.defineProperty(t, k, { get: a[k], enumerable: true }); }; }
|
|
11
|
+
|
|
12
|
+
import "./chunk-HORZKFCR.js";
|
|
13
|
+
|
|
14
|
+
// packages/opencode/src/pty/pty.node.ts
|
|
15
|
+
import * as pty from "@lydell/node-pty";
|
|
16
|
+
function spawn2(file, args, opts) {
|
|
17
|
+
const proc = pty.spawn(file, args, opts);
|
|
18
|
+
return {
|
|
19
|
+
pid: proc.pid,
|
|
20
|
+
onData(listener) {
|
|
21
|
+
return proc.onData(listener);
|
|
22
|
+
},
|
|
23
|
+
onExit(listener) {
|
|
24
|
+
return proc.onExit(listener);
|
|
25
|
+
},
|
|
26
|
+
write(data) {
|
|
27
|
+
proc.write(data);
|
|
28
|
+
},
|
|
29
|
+
resize(cols, rows) {
|
|
30
|
+
proc.resize(cols, rows);
|
|
31
|
+
},
|
|
32
|
+
kill(signal) {
|
|
33
|
+
proc.kill(signal);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
spawn2 as spawn
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=pty.node-RHOAUGH6.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../packages/opencode/src/pty/pty.node.ts"],
|
|
4
|
+
"sourcesContent": ["/** @ts-expect-error */\nimport * as pty from \"@lydell/node-pty\"\nimport type { Opts, Proc } from \"./pty\"\n\nexport type { Disp, Exit, Opts, Proc } from \"./pty\"\n\nexport function spawn(file: string, args: string[], opts: Opts): Proc {\n const proc = pty.spawn(file, args, opts)\n return {\n pid: proc.pid,\n onData(listener) {\n return proc.onData(listener)\n },\n onExit(listener) {\n return proc.onExit(listener)\n },\n write(data) {\n proc.write(data)\n },\n resize(cols, rows) {\n proc.resize(cols, rows)\n },\n kill(signal) {\n proc.kill(signal)\n },\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AACA,YAAY,SAAS;AAKd,SAASA,OAAM,MAAc,MAAgB,MAAkB;AACpE,QAAM,OAAW,UAAM,MAAM,MAAM,IAAI;AACvC,SAAO;AAAA,IACL,KAAK,KAAK;AAAA,IACV,OAAO,UAAU;AACf,aAAO,KAAK,OAAO,QAAQ;AAAA,IAC7B;AAAA,IACA,OAAO,UAAU;AACf,aAAO,KAAK,OAAO,QAAQ;AAAA,IAC7B;AAAA,IACA,MAAM,MAAM;AACV,WAAK,MAAM,IAAI;AAAA,IACjB;AAAA,IACA,OAAO,MAAM,MAAM;AACjB,WAAK,OAAO,MAAM,IAAI;AAAA,IACxB;AAAA,IACA,KAAK,QAAQ;AACX,WAAK,KAAK,MAAM;AAAA,IAClB;AAAA,EACF;AACF;",
|
|
6
|
+
"names": ["spawn"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Built by esbuild from opencode-server source
|
|
2
|
+
if (typeof globalThis.Bun === 'undefined') {
|
|
3
|
+
globalThis.Bun = {
|
|
4
|
+
version: '0.0.0-node-compat',
|
|
5
|
+
stdin: { async text() { const chunks = []; for await (const c of process.stdin) chunks.push(c); return Buffer.concat(chunks).toString(); } },
|
|
6
|
+
which(cmd) { try { return require('child_process').execFileSync('which', [cmd], { encoding: 'utf8' }).trim(); } catch { return null; } },
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
if (typeof globalThis.__name === 'undefined') { globalThis.__name = (t, n) => { Object.defineProperty(t, 'name', { value: n, configurable: true }); return t; }; }
|
|
10
|
+
if (typeof globalThis.__export === 'undefined') { globalThis.__export = (t, a) => { for (const k in a) Object.defineProperty(t, k, { get: a[k], enumerable: true }); }; }
|
|
11
|
+
|
|
12
|
+
import {
|
|
13
|
+
ToolRegistry
|
|
14
|
+
} from "./chunk-DSPC5QIG.js";
|
|
15
|
+
import "./chunk-CYXMV3J3.js";
|
|
16
|
+
import "./chunk-B3FN2B2N.js";
|
|
17
|
+
import "./chunk-CR6IREZA.js";
|
|
18
|
+
import "./chunk-BI5OUHTQ.js";
|
|
19
|
+
import "./chunk-HORZKFCR.js";
|
|
20
|
+
export {
|
|
21
|
+
ToolRegistry
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=registry-PYMN6L3G.js.map
|