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.
Files changed (44) hide show
  1. package/build.mjs +163 -0
  2. package/dist/chunk-ANDTK76Q.js +319 -0
  3. package/dist/chunk-ANDTK76Q.js.map +7 -0
  4. package/dist/chunk-B3FN2B2N.js +2280 -0
  5. package/dist/chunk-B3FN2B2N.js.map +7 -0
  6. package/dist/chunk-BI5OUHTQ.js +31 -0
  7. package/dist/chunk-BI5OUHTQ.js.map +7 -0
  8. package/dist/chunk-CR6IREZA.js +127 -0
  9. package/dist/chunk-CR6IREZA.js.map +7 -0
  10. package/dist/chunk-CYXMV3J3.js +6535 -0
  11. package/dist/chunk-CYXMV3J3.js.map +7 -0
  12. package/dist/chunk-DSPC5QIG.js +23731 -0
  13. package/dist/chunk-DSPC5QIG.js.map +7 -0
  14. package/dist/chunk-HORZKFCR.js +88 -0
  15. package/dist/chunk-HORZKFCR.js.map +7 -0
  16. package/dist/chunk-MCWTARFP.js +728 -0
  17. package/dist/chunk-MCWTARFP.js.map +7 -0
  18. package/dist/chunk-UWZSRZHA.js +5025 -0
  19. package/dist/chunk-UWZSRZHA.js.map +7 -0
  20. package/dist/mcp-VAU4RMWH.js +22 -0
  21. package/dist/mcp-VAU4RMWH.js.map +7 -0
  22. package/dist/pty.node-RHOAUGH6.js +40 -0
  23. package/dist/pty.node-RHOAUGH6.js.map +7 -0
  24. package/dist/registry-PYMN6L3G.js +23 -0
  25. package/dist/registry-PYMN6L3G.js.map +7 -0
  26. package/dist/run-YFVCQJQM.js +4791 -0
  27. package/dist/run-YFVCQJQM.js.map +7 -0
  28. package/dist/run-service-LHEVFBIU.js +22 -0
  29. package/dist/run-service-LHEVFBIU.js.map +7 -0
  30. package/dist/run.js +22 -0
  31. package/dist/run.js.map +7 -0
  32. package/dist/schema-32EBFLEO.js +24 -0
  33. package/dist/schema-32EBFLEO.js.map +7 -0
  34. package/dist/serve.js +41 -0
  35. package/dist/serve.js.map +7 -0
  36. package/dist/server-K3UGWASP.js +26 -0
  37. package/dist/server-K3UGWASP.js.map +7 -0
  38. package/dist/session-HJFWTM7C.js +23 -0
  39. package/dist/session-HJFWTM7C.js.map +7 -0
  40. package/dist/share-next-55VCIMUH.js +24 -0
  41. package/dist/share-next-55VCIMUH.js.map +7 -0
  42. package/dist/worktree-6GGDLADY.js +63 -0
  43. package/dist/worktree-6GGDLADY.js.map +7 -0
  44. 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,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -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
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }