alchemylab-opencode 1.0.18 → 1.0.20

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 (97) hide show
  1. package/dist/{run-service-RE7EK2UK.js → arktype-aI7TBD0R-ETU7X65Q.js} +1 -11
  2. package/dist/chunk-7KKA6WBY.js +12 -0
  3. package/dist/chunk-A4S3BYGY.js +12 -0
  4. package/dist/{chunk-PWFRMDDF.js → chunk-BGADAZN4.js} +0 -1
  5. package/dist/chunk-BYJU35KA.js +18 -0
  6. package/dist/chunk-FT4RVZXD.js +18 -0
  7. package/dist/chunk-LTCXIXYM.js +12 -0
  8. package/dist/chunk-M4CB72HE.js +13 -0
  9. package/dist/chunk-M4DCWBCO.js +12 -0
  10. package/dist/chunk-MBZTOEAD.js +12 -0
  11. package/dist/chunk-N7PLTD3P.js +13 -0
  12. package/dist/chunk-QRUX5DYI.js +75 -0
  13. package/dist/chunk-T6MY2WE4.js +12 -0
  14. package/dist/{chunk-FMP3YLWX.js → chunk-T7EXROHP.js} +1 -19
  15. package/dist/chunk-UO2AIECR.js +2214 -0
  16. package/dist/{mcp-4SNUY4OD.js → chunk-XREX5MYM.js} +1 -11
  17. package/dist/{schema-EWYI6LGA.js → default-u_dwuiYb-5QQ4GXMV.js} +1 -13
  18. package/dist/effect-QlVUlMFu-ORZ7TVO5.js +12 -0
  19. package/dist/log-MVJ7H4K5.js +12 -0
  20. package/dist/mcp-7UCWZJLJ.js +12 -0
  21. package/dist/{registry-EQ7TBD6Z.js → pty.node-X2EITEZ4.js} +1 -12
  22. package/dist/registry-HGPZOISH.js +12 -0
  23. package/dist/run-DYJ5YKU4.js +20 -0
  24. package/dist/run-service-IUIOP7ZW.js +12 -0
  25. package/dist/run.js +1 -11
  26. package/dist/schema-YWIVP7UR.js +12 -0
  27. package/dist/serve.js +1 -36
  28. package/dist/{default-u_dwuiYb-WOFHQQ3K.js → server-VKRBP2QM.js} +1 -11
  29. package/dist/session-Z4P4Y6MB.js +12 -0
  30. package/dist/share-next-WZUJANDA.js +12 -0
  31. package/dist/sury-CWZTCd75-IXNCX752.js +12 -0
  32. package/dist/typebox-Dei93FPO-K67WT2FO.js +12 -0
  33. package/dist/valibot--1zFm7rT-SSCP4J5I.js +12 -0
  34. package/dist/valibot-D_HTw1Gn-KPCJMJMC.js +12 -0
  35. package/dist/worktree-5JVGPJ42.js +12 -0
  36. package/dist/{arktype-aI7TBD0R-HX4BR3RX.js → zod-Bwrt9trS-BYLM45IZ.js} +1 -10
  37. package/dist/{chunk-BI5OUHTQ.js → zod-DSgpEGAE-T3VJY2W3.js} +1 -20
  38. package/package.json +10 -5
  39. package/dist/arktype-aI7TBD0R-HX4BR3RX.js.map +0 -7
  40. package/dist/chunk-3AF5MXLF.js +0 -49
  41. package/dist/chunk-3AF5MXLF.js.map +0 -7
  42. package/dist/chunk-6UDEKTJV.js +0 -23942
  43. package/dist/chunk-6UDEKTJV.js.map +0 -7
  44. package/dist/chunk-BI5OUHTQ.js.map +0 -7
  45. package/dist/chunk-COCF34ZS.js +0 -144
  46. package/dist/chunk-COCF34ZS.js.map +0 -7
  47. package/dist/chunk-FMP3YLWX.js.map +0 -7
  48. package/dist/chunk-HORZKFCR.js +0 -88
  49. package/dist/chunk-HORZKFCR.js.map +0 -7
  50. package/dist/chunk-J4KUHHYM.js +0 -2289
  51. package/dist/chunk-J4KUHHYM.js.map +0 -7
  52. package/dist/chunk-O5VWOPCL.js +0 -106
  53. package/dist/chunk-O5VWOPCL.js.map +0 -7
  54. package/dist/chunk-PWFRMDDF.js.map +0 -7
  55. package/dist/chunk-S3PMXQSO.js +0 -728
  56. package/dist/chunk-S3PMXQSO.js.map +0 -7
  57. package/dist/chunk-SNATISLF.js +0 -319
  58. package/dist/chunk-SNATISLF.js.map +0 -7
  59. package/dist/chunk-VL3RSEZ2.js +0 -160
  60. package/dist/chunk-VL3RSEZ2.js.map +0 -7
  61. package/dist/chunk-YX3AWX2A.js +0 -6620
  62. package/dist/chunk-YX3AWX2A.js.map +0 -7
  63. package/dist/chunk-Z6HKGDR4.js +0 -5678
  64. package/dist/chunk-Z6HKGDR4.js.map +0 -7
  65. package/dist/default-u_dwuiYb-WOFHQQ3K.js.map +0 -7
  66. package/dist/effect-QlVUlMFu-UERLUUQW.js +0 -29
  67. package/dist/effect-QlVUlMFu-UERLUUQW.js.map +0 -7
  68. package/dist/mcp-4SNUY4OD.js.map +0 -7
  69. package/dist/pty.node-RHOAUGH6.js +0 -40
  70. package/dist/pty.node-RHOAUGH6.js.map +0 -7
  71. package/dist/registry-EQ7TBD6Z.js.map +0 -7
  72. package/dist/run-XIMVXVMO.js +0 -4794
  73. package/dist/run-XIMVXVMO.js.map +0 -7
  74. package/dist/run-service-RE7EK2UK.js.map +0 -7
  75. package/dist/run.js.map +0 -7
  76. package/dist/schema-EWYI6LGA.js.map +0 -7
  77. package/dist/serve.js.map +0 -7
  78. package/dist/server-P3JM3FFL.js +0 -29
  79. package/dist/server-P3JM3FFL.js.map +0 -7
  80. package/dist/session-FV32QIWG.js +0 -23
  81. package/dist/session-FV32QIWG.js.map +0 -7
  82. package/dist/share-next-MK3GU4BJ.js +0 -24
  83. package/dist/share-next-MK3GU4BJ.js.map +0 -7
  84. package/dist/sury-CWZTCd75-XC3NCMTP.js +0 -29
  85. package/dist/sury-CWZTCd75-XC3NCMTP.js.map +0 -7
  86. package/dist/typebox-Dei93FPO-QOBKW4L7.js +0 -21
  87. package/dist/typebox-Dei93FPO-QOBKW4L7.js.map +0 -7
  88. package/dist/valibot--1zFm7rT-LHHLSLYY.js +0 -29
  89. package/dist/valibot--1zFm7rT-LHHLSLYY.js.map +0 -7
  90. package/dist/valibot-D_HTw1Gn-UR62BIDY.js +0 -60
  91. package/dist/valibot-D_HTw1Gn-UR62BIDY.js.map +0 -7
  92. package/dist/worktree-N3PSXGW4.js +0 -63
  93. package/dist/worktree-N3PSXGW4.js.map +0 -7
  94. package/dist/zod-Bwrt9trS-J2GOMA2R.js +0 -43
  95. package/dist/zod-Bwrt9trS-J2GOMA2R.js.map +0 -7
  96. package/dist/zod-DSgpEGAE-VTXQW6SB.js +0 -56
  97. package/dist/zod-DSgpEGAE-VTXQW6SB.js.map +0 -7
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../packages/opencode/src/util/schema.ts"],
4
- "sourcesContent": ["import { Schema } from \"effect\"\n\n/**\n * Attach static methods to a schema object. Designed to be used with `.pipe()`:\n *\n * @example\n * export const Foo = fooSchema.pipe(\n * withStatics((schema) => ({\n * zero: schema.makeUnsafe(0),\n * from: Schema.decodeUnknownOption(schema),\n * }))\n * )\n */\nexport const withStatics =\n <S extends object, M extends Record<string, unknown>>(methods: (schema: S) => M) =>\n (schema: S): S & M =>\n Object.assign(schema, methods(schema))\n\ndeclare const NewtypeBrand: unique symbol\ntype NewtypeBrand<Tag extends string> = { readonly [NewtypeBrand]: Tag }\n\n/**\n * Nominal wrapper for scalar types. The class itself is a valid schema \u2014\n * pass it directly to `Schema.decode`, `Schema.decodeEffect`, etc.\n *\n * @example\n * class QuestionID extends Newtype<QuestionID>()(\"QuestionID\", Schema.String) {\n * static make(id: string): QuestionID {\n * return this.makeUnsafe(id)\n * }\n * }\n *\n * Schema.decodeEffect(QuestionID)(input)\n */\nexport function Newtype<Self>() {\n return <const Tag extends string, S extends Schema.Top>(tag: Tag, schema: S) => {\n type Branded = NewtypeBrand<Tag>\n\n abstract class Base {\n declare readonly [NewtypeBrand]: Tag\n\n static makeUnsafe(value: Schema.Schema.Type<S>): Self {\n return value as unknown as Self\n }\n }\n\n Object.setPrototypeOf(Base, schema)\n\n return Base as unknown as (abstract new (_: never) => Branded) & {\n readonly makeUnsafe: (value: Schema.Schema.Type<S>) => Self\n } & Omit<Schema.Opaque<Self, S, {}>, \"makeUnsafe\">\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;AAaO,IAAM,cACX,CAAsD,YACtD,CAAC,WACC,OAAO,OAAO,QAAQ,QAAQ,MAAM,CAAC;AAkBlC,SAAS,UAAgB;AAC9B,SAAO,CAAiD,KAAU,WAAc;AAAA,IAG9E,MAAe,KAAK;AAAA,MAGlB,OAAO,WAAW,OAAoC;AACpD,eAAO;AAAA,MACT;AAAA,IACF;AAEA,WAAO,eAAe,MAAM,MAAM;AAElC,WAAO;AAAA,EAGT;AACF;",
6
- "names": []
7
- }
@@ -1,144 +0,0 @@
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
- withStatics
14
- } from "./chunk-BI5OUHTQ.js";
15
-
16
- // packages/opencode/src/session/schema.ts
17
- import { Schema } from "effect";
18
- import z2 from "zod";
19
-
20
- // packages/opencode/src/id/id.ts
21
- import z from "zod";
22
- import { randomBytes } from "crypto";
23
- var Identifier;
24
- ((Identifier2) => {
25
- const prefixes = {
26
- event: "evt",
27
- session: "ses",
28
- message: "msg",
29
- permission: "per",
30
- question: "que",
31
- user: "usr",
32
- part: "prt",
33
- pty: "pty",
34
- tool: "tool",
35
- workspace: "wrk"
36
- };
37
- function schema(prefix) {
38
- return z.string().startsWith(prefixes[prefix]);
39
- }
40
- Identifier2.schema = schema;
41
- const LENGTH = 26;
42
- let lastTimestamp = 0;
43
- let counter = 0;
44
- function ascending(prefix, given) {
45
- return generateID(prefix, false, given);
46
- }
47
- Identifier2.ascending = ascending;
48
- function descending(prefix, given) {
49
- return generateID(prefix, true, given);
50
- }
51
- Identifier2.descending = descending;
52
- function generateID(prefix, descending2, given) {
53
- if (!given) {
54
- return create(prefix, descending2);
55
- }
56
- if (!given.startsWith(prefixes[prefix])) {
57
- throw new Error(`ID ${given} does not start with ${prefixes[prefix]}`);
58
- }
59
- return given;
60
- }
61
- function randomBase62(length) {
62
- const chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
63
- let result = "";
64
- const bytes = randomBytes(length);
65
- for (let i = 0; i < length; i++) {
66
- result += chars[bytes[i] % 62];
67
- }
68
- return result;
69
- }
70
- function create(prefix, descending2, timestamp2) {
71
- const currentTimestamp = timestamp2 ?? Date.now();
72
- if (currentTimestamp !== lastTimestamp) {
73
- lastTimestamp = currentTimestamp;
74
- counter = 0;
75
- }
76
- counter++;
77
- let now = BigInt(currentTimestamp) * BigInt(4096) + BigInt(counter);
78
- now = descending2 ? ~now : now;
79
- const timeBytes = Buffer.alloc(6);
80
- for (let i = 0; i < 6; i++) {
81
- timeBytes[i] = Number(now >> BigInt(40 - 8 * i) & BigInt(255));
82
- }
83
- return prefixes[prefix] + "_" + timeBytes.toString("hex") + randomBase62(LENGTH - 12);
84
- }
85
- Identifier2.create = create;
86
- function compareAscending(a, b) {
87
- if (a === b) return 0;
88
- try {
89
- const fa = BigInt("0x" + a.slice(a.indexOf("_") + 1, a.indexOf("_") + 13));
90
- const fb = BigInt("0x" + b.slice(b.indexOf("_") + 1, b.indexOf("_") + 13));
91
- if (fa !== fb) {
92
- const MOD = 1n << 48n;
93
- const HALF = 1n << 47n;
94
- let d = (fa - fb) % MOD;
95
- if (d < 0n) d += MOD;
96
- return d < HALF ? 1 : -1;
97
- }
98
- } catch {
99
- }
100
- return a < b ? -1 : 1;
101
- }
102
- Identifier2.compareAscending = compareAscending;
103
- function timestamp(id) {
104
- const prefix = id.split("_")[0];
105
- const hex = id.slice(prefix.length + 1, prefix.length + 13);
106
- const encoded = BigInt("0x" + hex);
107
- return Number(encoded / BigInt(4096));
108
- }
109
- Identifier2.timestamp = timestamp;
110
- })(Identifier || (Identifier = {}));
111
-
112
- // packages/opencode/src/session/schema.ts
113
- var SessionID = Schema.String.pipe(
114
- Schema.brand("SessionID"),
115
- withStatics((s) => ({
116
- make: (id) => s.makeUnsafe(id),
117
- descending: (id) => s.makeUnsafe(Identifier.descending("session", id)),
118
- zod: Identifier.schema("session").pipe(z2.custom())
119
- }))
120
- );
121
- var MessageID = Schema.String.pipe(
122
- Schema.brand("MessageID"),
123
- withStatics((s) => ({
124
- make: (id) => s.makeUnsafe(id),
125
- ascending: (id) => s.makeUnsafe(Identifier.ascending("message", id)),
126
- zod: Identifier.schema("message").pipe(z2.custom())
127
- }))
128
- );
129
- var PartID = Schema.String.pipe(
130
- Schema.brand("PartID"),
131
- withStatics((s) => ({
132
- make: (id) => s.makeUnsafe(id),
133
- ascending: (id) => s.makeUnsafe(Identifier.ascending("part", id)),
134
- zod: Identifier.schema("part").pipe(z2.custom())
135
- }))
136
- );
137
-
138
- export {
139
- Identifier,
140
- SessionID,
141
- MessageID,
142
- PartID
143
- };
144
- //# sourceMappingURL=chunk-COCF34ZS.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../packages/opencode/src/session/schema.ts", "../packages/opencode/src/id/id.ts"],
4
- "sourcesContent": ["import { Schema } from \"effect\"\nimport z from \"zod\"\n\nimport { Identifier } from \"@/id/id\"\nimport { withStatics } from \"@/util/schema\"\n\nexport const SessionID = Schema.String.pipe(\n Schema.brand(\"SessionID\"),\n withStatics((s) => ({\n make: (id: string) => s.makeUnsafe(id),\n descending: (id?: string) => s.makeUnsafe(Identifier.descending(\"session\", id)),\n zod: Identifier.schema(\"session\").pipe(z.custom<Schema.Schema.Type<typeof s>>()),\n })),\n)\n\nexport type SessionID = Schema.Schema.Type<typeof SessionID>\n\nexport const MessageID = Schema.String.pipe(\n Schema.brand(\"MessageID\"),\n withStatics((s) => ({\n make: (id: string) => s.makeUnsafe(id),\n ascending: (id?: string) => s.makeUnsafe(Identifier.ascending(\"message\", id)),\n zod: Identifier.schema(\"message\").pipe(z.custom<Schema.Schema.Type<typeof s>>()),\n })),\n)\n\nexport type MessageID = Schema.Schema.Type<typeof MessageID>\n\nexport const PartID = Schema.String.pipe(\n Schema.brand(\"PartID\"),\n withStatics((s) => ({\n make: (id: string) => s.makeUnsafe(id),\n ascending: (id?: string) => s.makeUnsafe(Identifier.ascending(\"part\", id)),\n zod: Identifier.schema(\"part\").pipe(z.custom<Schema.Schema.Type<typeof s>>()),\n })),\n)\n\nexport type PartID = Schema.Schema.Type<typeof PartID>\n", "import z from \"zod\"\nimport { randomBytes } from \"crypto\"\n\nexport namespace Identifier {\n const prefixes = {\n event: \"evt\",\n session: \"ses\",\n message: \"msg\",\n permission: \"per\",\n question: \"que\",\n user: \"usr\",\n part: \"prt\",\n pty: \"pty\",\n tool: \"tool\",\n workspace: \"wrk\",\n } as const\n\n export function schema(prefix: keyof typeof prefixes) {\n return z.string().startsWith(prefixes[prefix])\n }\n\n const LENGTH = 26\n\n // State for monotonic ID generation\n let lastTimestamp = 0\n let counter = 0\n\n export function ascending(prefix: keyof typeof prefixes, given?: string) {\n return generateID(prefix, false, given)\n }\n\n export function descending(prefix: keyof typeof prefixes, given?: string) {\n return generateID(prefix, true, given)\n }\n\n function generateID(prefix: keyof typeof prefixes, descending: boolean, given?: string): string {\n if (!given) {\n return create(prefix, descending)\n }\n\n if (!given.startsWith(prefixes[prefix])) {\n throw new Error(`ID ${given} does not start with ${prefixes[prefix]}`)\n }\n return given\n }\n\n function randomBase62(length: number): string {\n const chars = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\"\n let result = \"\"\n const bytes = randomBytes(length)\n for (let i = 0; i < length; i++) {\n result += chars[bytes[i] % 62]\n }\n return result\n }\n\n export function create(prefix: keyof typeof prefixes, descending: boolean, timestamp?: number): string {\n const currentTimestamp = timestamp ?? Date.now()\n\n if (currentTimestamp !== lastTimestamp) {\n lastTimestamp = currentTimestamp\n counter = 0\n }\n counter++\n\n let now = BigInt(currentTimestamp) * BigInt(0x1000) + BigInt(counter)\n\n now = descending ? ~now : now\n\n const timeBytes = Buffer.alloc(6)\n for (let i = 0; i < 6; i++) {\n timeBytes[i] = Number((now >> BigInt(40 - 8 * i)) & BigInt(0xff))\n }\n\n return prefixes[prefix] + \"_\" + timeBytes.toString(\"hex\") + randomBase62(LENGTH - 12)\n }\n\n /**\n * Wrap-aware ordering for two ascending IDs of the same kind.\n *\n * The 12-hex time field encodes (Date.now() * 4096 + counter) truncated to\n * 48 bits, so it wraps every 2^36 ms (~795 days). The first wrap ever hit at\n * 2026-08-14T11:19:55Z; from that moment a plain string comparison says every\n * new ID is older than two years of existing ones (sessions with pre-wrap\n * history silently swallowed all new prompts). Compare the time fields like\n * TCP sequence numbers instead (signed difference modulo 2^48), which is\n * correct for any real gap under ~397 days.\n * Returns negative if a is older than b, positive if newer, 0 if identical.\n */\n export function compareAscending(a: string, b: string): number {\n if (a === b) return 0\n try {\n const fa = BigInt(\"0x\" + a.slice(a.indexOf(\"_\") + 1, a.indexOf(\"_\") + 13))\n const fb = BigInt(\"0x\" + b.slice(b.indexOf(\"_\") + 1, b.indexOf(\"_\") + 13))\n if (fa !== fb) {\n const MOD = 1n << 48n\n const HALF = 1n << 47n\n let d = (fa - fb) % MOD\n if (d < 0n) d += MOD\n return d < HALF ? 1 : -1\n }\n } catch {\n // IDs without a hex time field fall back to plain ordering\n }\n return a < b ? -1 : 1\n }\n\n /** Extract timestamp from an ascending ID. Does not work with descending IDs. */\n export function timestamp(id: string): number {\n const prefix = id.split(\"_\")[0]\n const hex = id.slice(prefix.length + 1, prefix.length + 13)\n const encoded = BigInt(\"0x\" + hex)\n return Number(encoded / BigInt(0x1000))\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;AAAA,SAAS,cAAc;AACvB,OAAOA,QAAO;;;ACDd,OAAO,OAA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YAAS;AAAA,GAzGD;;;ADGV,IAAM,YAAY,OAAO,OAAO;AAAA,EACrC,OAAO,MAAM,WAAW;AAAA,EACxB,YAAY,CAAC,OAAO;AAAA,IAClB,MAAM,CAAC,OAAe,EAAE,WAAW,EAAE;AAAA,IACrC,YAAY,CAAC,OAAgB,EAAE,WAAW,WAAW,WAAW,WAAW,EAAE,CAAC;AAAA,IAC9E,KAAK,WAAW,OAAO,SAAS,EAAE,KAAKG,GAAE,OAAqC,CAAC;AAAA,EACjF,EAAE;AACJ;AAIO,IAAM,YAAY,OAAO,OAAO;AAAA,EACrC,OAAO,MAAM,WAAW;AAAA,EACxB,YAAY,CAAC,OAAO;AAAA,IAClB,MAAM,CAAC,OAAe,EAAE,WAAW,EAAE;AAAA,IACrC,WAAW,CAAC,OAAgB,EAAE,WAAW,WAAW,UAAU,WAAW,EAAE,CAAC;AAAA,IAC5E,KAAK,WAAW,OAAO,SAAS,EAAE,KAAKA,GAAE,OAAqC,CAAC;AAAA,EACjF,EAAE;AACJ;AAIO,IAAM,SAAS,OAAO,OAAO;AAAA,EAClC,OAAO,MAAM,QAAQ;AAAA,EACrB,YAAY,CAAC,OAAO;AAAA,IAClB,MAAM,CAAC,OAAe,EAAE,WAAW,EAAE;AAAA,IACrC,WAAW,CAAC,OAAgB,EAAE,WAAW,WAAW,UAAU,QAAQ,EAAE,CAAC;AAAA,IACzE,KAAK,WAAW,OAAO,MAAM,EAAE,KAAKA,GAAE,OAAqC,CAAC;AAAA,EAC9E,EAAE;AACJ;",
6
- "names": ["z", "Identifier", "descending", "timestamp", "z"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../node_modules/@standard-community/standard-openapi/dist/default-u_dwuiYb.js"],
4
- "sourcesContent": ["import { toJsonSchema } from '@standard-community/standard-json';\nimport { convertToOpenAPISchema } from './vendors/convert.js';\n\nfunction getToOpenAPISchemaFn() {\n return async (schema, context) => convertToOpenAPISchema(\n await toJsonSchema(schema, context.options),\n context\n );\n}\n\nexport { getToOpenAPISchemaFn as default };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;AAGA,SAAS,uBAAuB;AAC9B,SAAO,OAAO,QAAQ,YAAY;AAAA,IAChC,MAAM,aAAa,QAAQ,QAAQ,OAAO;AAAA,IAC1C;AAAA,EACF;AACF;",
6
- "names": []
7
- }
@@ -1,88 +0,0 @@
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
- var __defProp = Object.defineProperty;
13
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
14
- var __getOwnPropNames = Object.getOwnPropertyNames;
15
- var __hasOwnProp = Object.prototype.hasOwnProperty;
16
- var __knownSymbol = (name, symbol) => (symbol = Symbol[name]) ? symbol : /* @__PURE__ */ Symbol.for("Symbol." + name);
17
- var __typeError = (msg) => {
18
- throw TypeError(msg);
19
- };
20
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
21
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
22
- }) : x)(function(x) {
23
- if (typeof require !== "undefined") return require.apply(this, arguments);
24
- throw Error('Dynamic require of "' + x + '" is not supported');
25
- });
26
- var __export = (target, all) => {
27
- for (var name in all)
28
- __defProp(target, name, { get: all[name], enumerable: true });
29
- };
30
- var __copyProps = (to, from, except, desc) => {
31
- if (from && typeof from === "object" || typeof from === "function") {
32
- for (let key of __getOwnPropNames(from))
33
- if (!__hasOwnProp.call(to, key) && key !== except)
34
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
35
- }
36
- return to;
37
- };
38
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
39
- var __using = (stack, value, async) => {
40
- if (value != null) {
41
- if (typeof value !== "object" && typeof value !== "function") __typeError("Object expected");
42
- var dispose, inner;
43
- if (async) dispose = value[__knownSymbol("asyncDispose")];
44
- if (dispose === void 0) {
45
- dispose = value[__knownSymbol("dispose")];
46
- if (async) inner = dispose;
47
- }
48
- if (typeof dispose !== "function") __typeError("Object not disposable");
49
- if (inner) dispose = function() {
50
- try {
51
- inner.call(this);
52
- } catch (e) {
53
- return Promise.reject(e);
54
- }
55
- };
56
- stack.push([async, dispose, value]);
57
- } else if (async) {
58
- stack.push([async]);
59
- }
60
- return value;
61
- };
62
- var __callDispose = (stack, error, hasError) => {
63
- var E = typeof SuppressedError === "function" ? SuppressedError : function(e, s, m, _) {
64
- return _ = Error(m), _.name = "SuppressedError", _.error = e, _.suppressed = s, _;
65
- };
66
- var fail = (e) => error = hasError ? new E(e, error, "An error was suppressed during disposal") : (hasError = true, e);
67
- var next = (it) => {
68
- while (it = stack.pop()) {
69
- try {
70
- var result = it[1] && it[1].call(it[2]);
71
- if (it[0]) return Promise.resolve(result).then(next, (e) => (fail(e), next()));
72
- } catch (e) {
73
- fail(e);
74
- }
75
- }
76
- if (hasError) throw error;
77
- };
78
- return next();
79
- };
80
-
81
- export {
82
- __require,
83
- __export,
84
- __reExport,
85
- __using,
86
- __callDispose
87
- };
88
- //# sourceMappingURL=chunk-HORZKFCR.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }