@opencode/browse 0.0.18-dev.192 → 0.0.18-dev.193

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 (39) hide show
  1. package/dist/{Runtime-tvxdkp60.mjs → Runtime-r9sev1rq.mjs} +1 -1
  2. package/dist/{cli-54nftqxr.mjs → cli-ekwkvvmm.mjs} +33 -29
  3. package/dist/cli.mjs +23 -13
  4. package/dist/{helpers-yksnc17b.mjs → helpers-3ycvp75a.mjs} +2 -1
  5. package/dist/{index-kmxtpxxk.mjs → index-xsb9s479.mjs} +2 -2
  6. package/dist/{legacy-runtime-e6y2jnc6.mjs → legacy-runtime-v1sdjj5h.mjs} +8 -7
  7. package/dist/log-yek648ak.mjs +9 -0
  8. package/dist/{main-dyya6jpy.mjs → main-1qwrze1y.mjs} +2 -2
  9. package/dist/{main-p8jk5985.mjs → main-2p0v71q0.mjs} +39 -37
  10. package/dist/{main-hh16893t.mjs → main-3g7fdzbh.mjs} +28 -26
  11. package/dist/{main-de0xhbg0.mjs → main-55a4gpef.mjs} +59 -67
  12. package/dist/main-693wwz19.mjs +4 -0
  13. package/dist/main-91vhk5de.mjs +38 -0
  14. package/dist/{main-4wycvga6.mjs → main-9t32k44b.mjs} +4 -3
  15. package/dist/{main-d1th6z2h.mjs → main-bv9nawja.mjs} +21 -225
  16. package/dist/main-cgnkhs2x.mjs +35 -0
  17. package/dist/{main-w6180mxa.mjs → main-esdgpebk.mjs} +3 -3
  18. package/dist/{main-z4c819pg.mjs → main-fg5awggs.mjs} +29 -27
  19. package/dist/{main-4fw36c57.mjs → main-gt2gskrq.mjs} +2 -2
  20. package/dist/{main-p8q3wrpd.mjs → main-gw77et6v.mjs} +3 -3
  21. package/dist/{main-t8hspw29.mjs → main-kcw411ep.mjs} +11 -42
  22. package/dist/{main-h65pjrag.mjs → main-nnfxg7re.mjs} +7 -7
  23. package/dist/{main-zrjcdksk.mjs → main-pcqtqhgv.mjs} +5 -3
  24. package/dist/{main-jtgan144.mjs → main-pxs5m0kb.mjs} +10 -8
  25. package/dist/main-qazf3bhk.mjs +223 -0
  26. package/dist/{main-q5w61fgh.mjs → main-sf7vaxb6.mjs} +1 -1
  27. package/dist/{main-t8xtycpr.mjs → main-stf180y1.mjs} +7 -5
  28. package/dist/{main-p44hff2a.mjs → main-zedq93ez.mjs} +5 -3
  29. package/dist/{main-c9qxrdzn.mjs → main-zzggnpf4.mjs} +2 -2
  30. package/dist/{mcp-a2jkny55.mjs → mcp-xfx04fxe.mjs} +125 -121
  31. package/dist/{migrate-p84kbr3y.mjs → migrate-4rewxqd7.mjs} +8 -7
  32. package/dist/{relay-e9q9hfc3.mjs → relay-me036e19.mjs} +562 -166
  33. package/dist/{remove-stored-secrets-c90a5h72.mjs → remove-stored-secrets-ymhge5va.mjs} +1 -1
  34. package/dist/{runtime-update-jj6pa7vd.mjs → runtime-update-hd2cvy1c.mjs} +12 -10
  35. package/dist/{setup-p86ywb7k.mjs → setup-0hmbzam5.mjs} +12 -11
  36. package/dist/{update-rh24h3m1.mjs → update-vnkjbc0e.mjs} +3 -3
  37. package/dist/{version-1p8wpyzk.mjs → version-jn0h3rmc.mjs} +1 -1
  38. package/package.json +1 -1
  39. package/dist/main-wds0wcmt.mjs +0 -4
@@ -0,0 +1,223 @@
1
+ // node_modules/effect/dist/Pipeable.js
2
+ var pipeArguments = (self, args) => {
3
+ switch (args.length) {
4
+ case 0:
5
+ return self;
6
+ case 1:
7
+ return args[0](self);
8
+ case 2:
9
+ return args[1](args[0](self));
10
+ case 3:
11
+ return args[2](args[1](args[0](self)));
12
+ case 4:
13
+ return args[3](args[2](args[1](args[0](self))));
14
+ case 5:
15
+ return args[4](args[3](args[2](args[1](args[0](self)))));
16
+ case 6:
17
+ return args[5](args[4](args[3](args[2](args[1](args[0](self))))));
18
+ case 7:
19
+ return args[6](args[5](args[4](args[3](args[2](args[1](args[0](self)))))));
20
+ case 8:
21
+ return args[7](args[6](args[5](args[4](args[3](args[2](args[1](args[0](self))))))));
22
+ case 9:
23
+ return args[8](args[7](args[6](args[5](args[4](args[3](args[2](args[1](args[0](self)))))))));
24
+ default: {
25
+ let ret = self;
26
+ for (let i = 0, len = args.length;i < len; i++) {
27
+ ret = args[i](ret);
28
+ }
29
+ return ret;
30
+ }
31
+ }
32
+ };
33
+ var Prototype2 = {
34
+ pipe() {
35
+ return pipeArguments(this, arguments);
36
+ }
37
+ };
38
+ var Class4 = /* @__PURE__ */ function() {
39
+ function PipeableBase() {}
40
+ PipeableBase.prototype = Prototype2;
41
+ return PipeableBase;
42
+ }();
43
+
44
+ // node_modules/effect/dist/Function.js
45
+ var dual = function(arity, body) {
46
+ if (typeof arity === "function") {
47
+ return function() {
48
+ return arity(arguments) ? body.apply(this, arguments) : (self) => body(self, ...arguments);
49
+ };
50
+ }
51
+ switch (arity) {
52
+ case 0:
53
+ case 1:
54
+ throw new RangeError(`Invalid arity ${arity}`);
55
+ case 2:
56
+ return function(a, b) {
57
+ if (arguments.length >= 2) {
58
+ return body(a, b);
59
+ }
60
+ return function(self) {
61
+ return body(self, a);
62
+ };
63
+ };
64
+ case 3:
65
+ return function(a, b, c) {
66
+ if (arguments.length >= 3) {
67
+ return body(a, b, c);
68
+ }
69
+ return function(self) {
70
+ return body(self, a, b);
71
+ };
72
+ };
73
+ default:
74
+ return function() {
75
+ if (arguments.length >= arity) {
76
+ return body.apply(this, arguments);
77
+ }
78
+ const args = arguments;
79
+ return function(self) {
80
+ return body(self, ...args);
81
+ };
82
+ };
83
+ }
84
+ };
85
+ var identity = (a) => a;
86
+ var constant = (value) => () => value;
87
+ var constTrue = /* @__PURE__ */ constant(true);
88
+ var constFalse = /* @__PURE__ */ constant(false);
89
+ var constUndefined = /* @__PURE__ */ constant(undefined);
90
+ var constVoid = constUndefined;
91
+ function pipe(a, ...args) {
92
+ return pipeArguments(a, args);
93
+ }
94
+ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
95
+ switch (arguments.length) {
96
+ case 1:
97
+ return ab;
98
+ case 2:
99
+ return function() {
100
+ return bc(ab.apply(this, arguments));
101
+ };
102
+ case 3:
103
+ return function() {
104
+ return cd(bc(ab.apply(this, arguments)));
105
+ };
106
+ case 4:
107
+ return function() {
108
+ return de(cd(bc(ab.apply(this, arguments))));
109
+ };
110
+ case 5:
111
+ return function() {
112
+ return ef(de(cd(bc(ab.apply(this, arguments)))));
113
+ };
114
+ case 6:
115
+ return function() {
116
+ return fg(ef(de(cd(bc(ab.apply(this, arguments))))));
117
+ };
118
+ case 7:
119
+ return function() {
120
+ return gh(fg(ef(de(cd(bc(ab.apply(this, arguments)))))));
121
+ };
122
+ case 8:
123
+ return function() {
124
+ return hi(gh(fg(ef(de(cd(bc(ab.apply(this, arguments))))))));
125
+ };
126
+ case 9:
127
+ return function() {
128
+ return ij(hi(gh(fg(ef(de(cd(bc(ab.apply(this, arguments)))))))));
129
+ };
130
+ }
131
+ return;
132
+ }
133
+ function memoize(f) {
134
+ const cache = new WeakMap;
135
+ return (a) => {
136
+ const cached = cache.get(a);
137
+ if (cached !== undefined)
138
+ return cached;
139
+ const result = f(a);
140
+ cache.set(a, result);
141
+ return result;
142
+ };
143
+ }
144
+ function memoizeIdempotent(f) {
145
+ const cache = new WeakMap;
146
+ return (a) => {
147
+ const cached = cache.get(a);
148
+ if (cached !== undefined)
149
+ return cached;
150
+ const result = f(a);
151
+ cache.set(a, result);
152
+ if (result !== a) {
153
+ cache.set(result, result);
154
+ }
155
+ return result;
156
+ };
157
+ }
158
+
159
+ // node_modules/effect/dist/Predicate.js
160
+ function isString(input) {
161
+ return typeof input === "string";
162
+ }
163
+ function isNumber(input) {
164
+ return typeof input === "number";
165
+ }
166
+ function isBoolean(input) {
167
+ return typeof input === "boolean";
168
+ }
169
+ function isBigInt(input) {
170
+ return typeof input === "bigint";
171
+ }
172
+ function isSymbol(input) {
173
+ return typeof input === "symbol";
174
+ }
175
+ function isPropertyKey(u) {
176
+ return isString(u) || isNumber(u) || isSymbol(u);
177
+ }
178
+ function isFunction(input) {
179
+ return typeof input === "function";
180
+ }
181
+ function isUndefined(input) {
182
+ return input === undefined;
183
+ }
184
+ function isNotUndefined(input) {
185
+ return input !== undefined;
186
+ }
187
+ function isNotNull(input) {
188
+ return input !== null;
189
+ }
190
+ function isNullish(input) {
191
+ return input === null || input === undefined;
192
+ }
193
+ function isNotNullish(input) {
194
+ return input != null;
195
+ }
196
+ function isNever(_) {
197
+ return false;
198
+ }
199
+ function isUnknown(_) {
200
+ return true;
201
+ }
202
+ function isObjectOrArray(input) {
203
+ return typeof input === "object" && input !== null;
204
+ }
205
+ function isObject(input) {
206
+ return typeof input === "object" && input !== null && !Array.isArray(input);
207
+ }
208
+ function isReadonlyObject(input) {
209
+ return isObject(input);
210
+ }
211
+ function isObjectKeyword(input) {
212
+ return typeof input === "object" && input !== null || isFunction(input);
213
+ }
214
+ var hasProperty = /* @__PURE__ */ dual(2, (self, property) => isObjectKeyword(self) && (property in self));
215
+ var isTagged = /* @__PURE__ */ dual(2, (self, tag) => hasProperty(self, "_tag") && self["_tag"] === tag);
216
+ function isError(input) {
217
+ return input instanceof Error;
218
+ }
219
+ function isIterable(input) {
220
+ return hasProperty(input, Symbol.iterator) || isString(input);
221
+ }
222
+
223
+ export { pipeArguments, Prototype2, Class4, dual, identity, constant, constTrue, constFalse, constUndefined, constVoid, pipe, flow, memoize, memoizeIdempotent, isString, isNumber, isBoolean, isBigInt, isSymbol, isPropertyKey, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isNotNullish, isNever, isUnknown, isObjectOrArray, isObject, isReadonlyObject, isObjectKeyword, hasProperty, isTagged, isError, isIterable };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  dataRoot
3
- } from "./main-dyya6jpy.mjs";
3
+ } from "./main-1qwrze1y.mjs";
4
4
 
5
5
  // src/setup/remove-stored-secrets.ts
6
6
  import fs from "node:fs";
@@ -1,10 +1,12 @@
1
1
  import {
2
- isNodeError,
2
+ isNodeError
3
+ } from "./main-91vhk5de.mjs";
4
+ import {
3
5
  isValidSessionId2
4
- } from "./main-t8hspw29.mjs";
6
+ } from "./main-kcw411ep.mjs";
5
7
  import {
6
8
  stateRoot
7
- } from "./main-dyya6jpy.mjs";
9
+ } from "./main-1qwrze1y.mjs";
8
10
  import {
9
11
  decodeUnknownOption,
10
12
  optionalKey,
@@ -14,10 +16,10 @@ import {
14
16
  Struct,
15
17
  ArraySchema,
16
18
  NullOr
17
- } from "./main-z4c819pg.mjs";
19
+ } from "./main-fg5awggs.mjs";
18
20
  import {
19
21
  isSome
20
- } from "./main-d1th6z2h.mjs";
22
+ } from "./main-bv9nawja.mjs";
21
23
 
22
24
  // src/session-manager/journal.ts
23
25
  import fs from "node:fs";
@@ -1,10 +1,12 @@
1
1
  import {
2
- writePrivateJsonFileSync,
2
+ writePrivateJsonFileSync
3
+ } from "./main-91vhk5de.mjs";
4
+ import {
3
5
  defaultPort2
4
- } from "./main-t8hspw29.mjs";
6
+ } from "./main-kcw411ep.mjs";
5
7
  import {
6
8
  stateRoot
7
- } from "./main-dyya6jpy.mjs";
9
+ } from "./main-1qwrze1y.mjs";
8
10
 
9
11
  // src/relay/port.ts
10
12
  import fs from "node:fs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ensurePrivateDirectorySync
3
- } from "./main-t8hspw29.mjs";
3
+ } from "./main-91vhk5de.mjs";
4
4
  import {
5
5
  dataRoot
6
- } from "./main-dyya6jpy.mjs";
6
+ } from "./main-1qwrze1y.mjs";
7
7
 
8
8
  // src/relay/secrets.ts
9
9
  import crypto from "node:crypto";