@kitman-sh/cli 0.14.6 → 0.14.7
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/{chunk-hyenk9x1.js → chunk-64zvzv63.js} +6 -6
- package/dist/{chunk-b4ymnz4g.js → chunk-79g5zh2p.js} +2 -2
- package/dist/{chunk-c80dvhxf.js → chunk-8k6adfg7.js} +1 -1
- package/dist/{chunk-n60tz2ah.js → chunk-9yenzg12.js} +18 -18
- package/dist/{chunk-2v47x00x.js → chunk-ag19ejy7.js} +16 -16
- package/dist/{chunk-cg7y7f6e.js → chunk-aj2608jz.js} +329 -131
- package/dist/{chunk-drrpqwtz.js → chunk-b009hdm0.js} +8 -8
- package/dist/{chunk-vt8aqeby.js → chunk-bbf0jzsc.js} +1 -1
- package/dist/{chunk-x1szvb5k.js → chunk-bdd62njv.js} +33 -185
- package/dist/{chunk-wwq069wt.js → chunk-bpx2zjh7.js} +2 -2
- package/dist/{chunk-admtq6ke.js → chunk-bty0mbn4.js} +62 -62
- package/dist/{chunk-thb5bz9d.js → chunk-c9j28q63.js} +13 -13
- package/dist/{chunk-wxvrkx85.js → chunk-cn86thbx.js} +9 -9
- package/dist/{chunk-psvspmpe.js → chunk-d2bqqd9t.js} +8 -8
- package/dist/{chunk-0pw5z0kz.js → chunk-gnhfwa99.js} +1 -1
- package/dist/{chunk-whwwydvq.js → chunk-htxs2z8d.js} +1 -1
- package/dist/{chunk-2re6c3f2.js → chunk-hz4t408c.js} +4 -4
- package/dist/{chunk-19q771ek.js → chunk-jv4p85q5.js} +10 -10
- package/dist/{chunk-s601j5bt.js → chunk-qkh0dhad.js} +3 -3
- package/dist/{chunk-70ghvmwm.js → chunk-rjz0pnf9.js} +4 -4
- package/dist/{chunk-hap4y0ps.js → chunk-s7rhz991.js} +6 -6
- package/dist/{chunk-93xj74qp.js → chunk-w8pevmva.js} +3 -3
- package/dist/{chunk-6ayt58hs.js → chunk-xxx61cda.js} +29 -29
- package/dist/{chunk-cwdrhsvk.js → chunk-y6njjend.js} +2 -2
- package/dist/{chunk-wttgq85b.js → chunk-zpp4jg4a.js} +60 -60
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
assignProperty,
|
|
39
39
|
PipeInspectableProto,
|
|
40
40
|
withFiber,
|
|
41
|
-
|
|
41
|
+
make13,
|
|
42
42
|
strictEqual,
|
|
43
43
|
Tuple,
|
|
44
44
|
Number2,
|
|
@@ -58,13 +58,15 @@ import {
|
|
|
58
58
|
Service2,
|
|
59
59
|
makeUnsafe4,
|
|
60
60
|
empty3,
|
|
61
|
-
|
|
61
|
+
make14,
|
|
62
62
|
add,
|
|
63
63
|
getOrUndefined2,
|
|
64
64
|
getOrUndefinedUnsafe,
|
|
65
|
-
|
|
65
|
+
get3,
|
|
66
66
|
merge3,
|
|
67
67
|
Reference,
|
|
68
|
+
fromInputUnsafe,
|
|
69
|
+
isFinite,
|
|
68
70
|
millis,
|
|
69
71
|
seconds,
|
|
70
72
|
toMillis,
|
|
@@ -84,14 +86,14 @@ import {
|
|
|
84
86
|
DisablePropagation,
|
|
85
87
|
sync,
|
|
86
88
|
map7,
|
|
87
|
-
ClockRef,
|
|
88
|
-
currentTimeMillis2,
|
|
89
89
|
ConsoleRef,
|
|
90
90
|
succeed3,
|
|
91
91
|
fail4,
|
|
92
|
+
void_2,
|
|
92
93
|
isSuccess2,
|
|
94
|
+
isFailure2,
|
|
93
95
|
makeUnsafe5,
|
|
94
|
-
|
|
96
|
+
make15,
|
|
95
97
|
_await,
|
|
96
98
|
fail5,
|
|
97
99
|
isDone,
|
|
@@ -99,8 +101,12 @@ import {
|
|
|
99
101
|
succeed4,
|
|
100
102
|
doneUnsafe,
|
|
101
103
|
TracerTimingEnabled,
|
|
104
|
+
Scope,
|
|
105
|
+
makeUnsafe6,
|
|
102
106
|
provide,
|
|
107
|
+
addFinalizerExit,
|
|
103
108
|
addFinalizer,
|
|
109
|
+
close,
|
|
104
110
|
succeed5,
|
|
105
111
|
effect,
|
|
106
112
|
effectContext,
|
|
@@ -152,6 +158,7 @@ import {
|
|
|
152
158
|
tapCause,
|
|
153
159
|
retry,
|
|
154
160
|
ignore,
|
|
161
|
+
ignoreCause,
|
|
155
162
|
orElseSucceed,
|
|
156
163
|
timeout,
|
|
157
164
|
timeoutOrElse,
|
|
@@ -163,6 +170,7 @@ import {
|
|
|
163
170
|
context,
|
|
164
171
|
contextWith,
|
|
165
172
|
provide3,
|
|
173
|
+
provideContext2,
|
|
166
174
|
serviceOption,
|
|
167
175
|
updateContext,
|
|
168
176
|
provideService,
|
|
@@ -173,6 +181,7 @@ import {
|
|
|
173
181
|
addFinalizer2,
|
|
174
182
|
ensuring2,
|
|
175
183
|
onError,
|
|
184
|
+
onExit,
|
|
176
185
|
cached,
|
|
177
186
|
interrupt3,
|
|
178
187
|
interruptible,
|
|
@@ -184,6 +193,7 @@ import {
|
|
|
184
193
|
withParentSpan,
|
|
185
194
|
forkScoped,
|
|
186
195
|
runFork,
|
|
196
|
+
runForkWith,
|
|
187
197
|
runPromise,
|
|
188
198
|
runPromiseWith,
|
|
189
199
|
runSync,
|
|
@@ -203,7 +213,7 @@ import {
|
|
|
203
213
|
decodeEffect,
|
|
204
214
|
decodeUnknownOption,
|
|
205
215
|
decodeOption,
|
|
206
|
-
|
|
216
|
+
make16,
|
|
207
217
|
isSchema,
|
|
208
218
|
optionalKey,
|
|
209
219
|
optional,
|
|
@@ -263,12 +273,30 @@ import {
|
|
|
263
273
|
decodeJsonStringOption,
|
|
264
274
|
encodeJsonStringSync,
|
|
265
275
|
encodePrettyJsonString
|
|
266
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-zpp4jg4a.js";
|
|
277
|
+
import {
|
|
278
|
+
isDateTime,
|
|
279
|
+
Numeric,
|
|
280
|
+
isWholeNumber,
|
|
281
|
+
guard,
|
|
282
|
+
Id,
|
|
283
|
+
Timestamp,
|
|
284
|
+
ActorType,
|
|
285
|
+
SecretName,
|
|
286
|
+
SecretScope,
|
|
287
|
+
SecretHosts,
|
|
288
|
+
isSecretReference
|
|
289
|
+
} from "./chunk-8k6adfg7.js";
|
|
267
290
|
import {
|
|
268
291
|
map,
|
|
269
292
|
makeEquivalence,
|
|
270
|
-
|
|
293
|
+
Clock,
|
|
294
|
+
currentTimeMillis,
|
|
271
295
|
bytes,
|
|
296
|
+
join,
|
|
297
|
+
interrupt,
|
|
298
|
+
getCurrent,
|
|
299
|
+
runIn,
|
|
272
300
|
BadArgument,
|
|
273
301
|
systemError,
|
|
274
302
|
badArgument,
|
|
@@ -290,13 +318,11 @@ import {
|
|
|
290
318
|
isSink,
|
|
291
319
|
fromChannel,
|
|
292
320
|
drain,
|
|
293
|
-
make10,
|
|
294
|
-
get3,
|
|
295
321
|
isStream,
|
|
296
322
|
fromChannel2,
|
|
297
323
|
callback,
|
|
298
324
|
empty2,
|
|
299
|
-
|
|
325
|
+
make10,
|
|
300
326
|
suspend,
|
|
301
327
|
fail2,
|
|
302
328
|
fromQueue,
|
|
@@ -322,30 +348,17 @@ import {
|
|
|
322
348
|
mkArrayBuffer,
|
|
323
349
|
toReadableStreamEffect,
|
|
324
350
|
FileSystem,
|
|
325
|
-
|
|
351
|
+
make11,
|
|
326
352
|
FileTypeId,
|
|
327
353
|
WatchBackend,
|
|
328
354
|
Path,
|
|
329
|
-
|
|
355
|
+
make12,
|
|
330
356
|
option,
|
|
331
357
|
String2,
|
|
332
358
|
optionalEnv,
|
|
333
359
|
harnessesUnsupportedInSrt2,
|
|
334
360
|
harnessesUnsupportedInDocker2
|
|
335
|
-
} from "./chunk-
|
|
336
|
-
import {
|
|
337
|
-
isDateTime,
|
|
338
|
-
Numeric,
|
|
339
|
-
isWholeNumber,
|
|
340
|
-
guard,
|
|
341
|
-
Id,
|
|
342
|
-
Timestamp,
|
|
343
|
-
ActorType,
|
|
344
|
-
SecretName,
|
|
345
|
-
SecretScope,
|
|
346
|
-
SecretHosts,
|
|
347
|
-
isSecretReference
|
|
348
|
-
} from "./chunk-c80dvhxf.js";
|
|
361
|
+
} from "./chunk-bdd62njv.js";
|
|
349
362
|
import {
|
|
350
363
|
isRedacted,
|
|
351
364
|
make,
|
|
@@ -359,15 +372,11 @@ import {
|
|
|
359
372
|
make3,
|
|
360
373
|
parseFdName,
|
|
361
374
|
fdName
|
|
362
|
-
} from "./chunk-
|
|
375
|
+
} from "./chunk-79g5zh2p.js";
|
|
363
376
|
|
|
364
377
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
365
378
|
var makeEquivalence3 = Tuple;
|
|
366
379
|
|
|
367
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
|
|
368
|
-
var Clock = ClockRef;
|
|
369
|
-
var currentTimeMillis = currentTimeMillis2;
|
|
370
|
-
|
|
371
380
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
|
|
372
381
|
var TypeId = "~effect/DateTime";
|
|
373
382
|
var TimeZoneTypeId = "~effect/DateTime/TimeZone";
|
|
@@ -502,7 +511,7 @@ var fromDateUnsafe = (date) => {
|
|
|
502
511
|
}
|
|
503
512
|
return makeUtc(epochMillis);
|
|
504
513
|
};
|
|
505
|
-
var
|
|
514
|
+
var makeUnsafe7 = (input) => {
|
|
506
515
|
if (isDateTime2(input)) {
|
|
507
516
|
return input;
|
|
508
517
|
} else if (input instanceof Date) {
|
|
@@ -522,7 +531,7 @@ var makeUnsafe6 = (input) => {
|
|
|
522
531
|
var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
|
|
523
532
|
var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
|
|
524
533
|
var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
|
|
525
|
-
var make4 = /* @__PURE__ */ liftThrowable(
|
|
534
|
+
var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe7);
|
|
526
535
|
var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
|
|
527
536
|
var nowUnsafe = () => makeUtc(Date.now());
|
|
528
537
|
var toDateUtc = (self) => new Date(self.epochMilliseconds);
|
|
@@ -629,7 +638,7 @@ class Metric$ {
|
|
|
629
638
|
}
|
|
630
639
|
hook(context) {
|
|
631
640
|
const key = this.key(context);
|
|
632
|
-
const registry =
|
|
641
|
+
const registry = get3(context, MetricRegistry);
|
|
633
642
|
let metadata = registry.get(key);
|
|
634
643
|
if (isUndefined(metadata)) {
|
|
635
644
|
metadata = this.metadata(this.createHooks());
|
|
@@ -638,11 +647,11 @@ class Metric$ {
|
|
|
638
647
|
return metadata.hooks;
|
|
639
648
|
}
|
|
640
649
|
removeUnsafe(context) {
|
|
641
|
-
|
|
650
|
+
get3(context, MetricRegistry).delete(this.key(context));
|
|
642
651
|
}
|
|
643
652
|
registerUnsafe(context, hooks) {
|
|
644
653
|
const key = this.key(context);
|
|
645
|
-
const registry =
|
|
654
|
+
const registry = get3(context, MetricRegistry);
|
|
646
655
|
const metadata = this.metadata({
|
|
647
656
|
get: hooks.get,
|
|
648
657
|
update: constVoid,
|
|
@@ -658,7 +667,7 @@ class Metric$ {
|
|
|
658
667
|
};
|
|
659
668
|
}
|
|
660
669
|
key(context) {
|
|
661
|
-
const extraAttributes =
|
|
670
|
+
const extraAttributes = get3(context, CurrentMetricAttributes);
|
|
662
671
|
if (extraAttributes !== this.#extraAttributes) {
|
|
663
672
|
this.#extraAttributes = extraAttributes;
|
|
664
673
|
const merged = mergeAttributes(this.attributes, extraAttributes);
|
|
@@ -901,9 +910,160 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
|
|
|
901
910
|
// node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
|
|
902
911
|
var runMain = runMain2;
|
|
903
912
|
|
|
913
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
914
|
+
var BigInt2 = globalThis.BigInt;
|
|
915
|
+
var toNumber = (b) => {
|
|
916
|
+
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
917
|
+
return none();
|
|
918
|
+
}
|
|
919
|
+
return some(Number(b));
|
|
920
|
+
};
|
|
921
|
+
|
|
922
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
|
|
923
|
+
var TypeId3 = "~effect/RcRef";
|
|
924
|
+
var stateEmpty = {
|
|
925
|
+
_tag: "Empty"
|
|
926
|
+
};
|
|
927
|
+
var stateClosed = {
|
|
928
|
+
_tag: "Closed"
|
|
929
|
+
};
|
|
930
|
+
var variance = {
|
|
931
|
+
_A: identity,
|
|
932
|
+
_E: identity
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
class RcRefImpl {
|
|
936
|
+
[TypeId3] = variance;
|
|
937
|
+
pipe() {
|
|
938
|
+
return pipeArguments(this, arguments);
|
|
939
|
+
}
|
|
940
|
+
state = stateEmpty;
|
|
941
|
+
acquire;
|
|
942
|
+
context;
|
|
943
|
+
scope;
|
|
944
|
+
idleTimeToLive;
|
|
945
|
+
constructor(acquire, context, scope, idleTimeToLive) {
|
|
946
|
+
this.acquire = acquire;
|
|
947
|
+
this.context = context;
|
|
948
|
+
this.scope = scope;
|
|
949
|
+
this.idleTimeToLive = idleTimeToLive;
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
var make17 = (options) => withFiber2((fiber) => {
|
|
953
|
+
const context = fiber.context;
|
|
954
|
+
const scope = get3(context, Scope);
|
|
955
|
+
const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
|
|
956
|
+
return as(addFinalizerExit(scope, () => {
|
|
957
|
+
const state = ref.state;
|
|
958
|
+
ref.state = stateClosed;
|
|
959
|
+
if (state._tag === "Acquired")
|
|
960
|
+
return close(state.scope, void_2);
|
|
961
|
+
if (state._tag === "Acquiring")
|
|
962
|
+
return interrupt(state.fiber);
|
|
963
|
+
return void_3;
|
|
964
|
+
}), ref);
|
|
965
|
+
});
|
|
966
|
+
var getState = (self, restore) => {
|
|
967
|
+
switch (self.state._tag) {
|
|
968
|
+
case "Closed": {
|
|
969
|
+
return interrupt3;
|
|
970
|
+
}
|
|
971
|
+
case "Acquired": {
|
|
972
|
+
const state = self.state;
|
|
973
|
+
state.refCount++;
|
|
974
|
+
return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
|
|
975
|
+
}
|
|
976
|
+
case "Acquiring": {
|
|
977
|
+
const state = self.state;
|
|
978
|
+
state.awaiters++;
|
|
979
|
+
return awaitAcquiring(self, state, restore);
|
|
980
|
+
}
|
|
981
|
+
case "Empty": {
|
|
982
|
+
const acquiring = {
|
|
983
|
+
_tag: "Acquiring",
|
|
984
|
+
fiber: undefined,
|
|
985
|
+
awaiters: 1,
|
|
986
|
+
acquired: undefined
|
|
987
|
+
};
|
|
988
|
+
self.state = acquiring;
|
|
989
|
+
const scope = makeUnsafe6();
|
|
990
|
+
const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
|
|
991
|
+
if (self.state !== acquiring) {
|
|
992
|
+
return interrupt3;
|
|
993
|
+
}
|
|
994
|
+
const state = {
|
|
995
|
+
_tag: "Acquired",
|
|
996
|
+
value,
|
|
997
|
+
scope,
|
|
998
|
+
fiber: undefined,
|
|
999
|
+
refCount: acquiring.awaiters,
|
|
1000
|
+
invalidated: false
|
|
1001
|
+
};
|
|
1002
|
+
self.state = state;
|
|
1003
|
+
acquiring.acquired = state;
|
|
1004
|
+
return succeed6(state);
|
|
1005
|
+
}), onExit((exit) => {
|
|
1006
|
+
if (isSuccess2(exit))
|
|
1007
|
+
return void_3;
|
|
1008
|
+
if (self.state === acquiring)
|
|
1009
|
+
self.state = stateEmpty;
|
|
1010
|
+
return close(scope, exit);
|
|
1011
|
+
}));
|
|
1012
|
+
acquiring.fiber = runForkWith(getCurrent().context)(acquire);
|
|
1013
|
+
return awaitAcquiring(self, acquiring, restore);
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
};
|
|
1017
|
+
var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
|
|
1018
|
+
const acquired = acquiring.acquired;
|
|
1019
|
+
if (acquired !== undefined) {
|
|
1020
|
+
return isFailure2(exit) ? release(self, acquired) : void_3;
|
|
1021
|
+
}
|
|
1022
|
+
if (--acquiring.awaiters > 0 || self.state !== acquiring)
|
|
1023
|
+
return void_3;
|
|
1024
|
+
self.state = stateEmpty;
|
|
1025
|
+
return interrupt(acquiring.fiber);
|
|
1026
|
+
});
|
|
1027
|
+
var get4 = (self_) => {
|
|
1028
|
+
const self = self_;
|
|
1029
|
+
return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
|
|
1030
|
+
};
|
|
1031
|
+
var release = (self, state) => {
|
|
1032
|
+
state.refCount--;
|
|
1033
|
+
if (state.refCount > 0) {
|
|
1034
|
+
return void_3;
|
|
1035
|
+
}
|
|
1036
|
+
const idleTimeToLive = self.idleTimeToLive;
|
|
1037
|
+
if (idleTimeToLive === undefined || state.invalidated) {
|
|
1038
|
+
if (self.state === state) {
|
|
1039
|
+
self.state = stateEmpty;
|
|
1040
|
+
}
|
|
1041
|
+
return close(state.scope, void_2);
|
|
1042
|
+
} else if (!isFinite(idleTimeToLive)) {
|
|
1043
|
+
return void_3;
|
|
1044
|
+
}
|
|
1045
|
+
state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
|
|
1046
|
+
if (self.state === state && state.refCount === 0) {
|
|
1047
|
+
self.state = stateEmpty;
|
|
1048
|
+
return ignoreCause(close(state.scope, void_2), {
|
|
1049
|
+
log: "Unhandled",
|
|
1050
|
+
message: "Unhandled error in RcRef finalizer"
|
|
1051
|
+
});
|
|
1052
|
+
}
|
|
1053
|
+
return void_3;
|
|
1054
|
+
})).pipe(ensuring2(sync2(() => {
|
|
1055
|
+
state.fiber = undefined;
|
|
1056
|
+
})), runForkWith(self.context), runIn(self.scope));
|
|
1057
|
+
return void_3;
|
|
1058
|
+
};
|
|
1059
|
+
|
|
1060
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
1061
|
+
var make18 = make17;
|
|
1062
|
+
var get5 = get4;
|
|
1063
|
+
|
|
904
1064
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
|
|
905
|
-
var makeUnsafe =
|
|
906
|
-
var
|
|
1065
|
+
var makeUnsafe = makeUnsafe7;
|
|
1066
|
+
var make19 = make4;
|
|
907
1067
|
var now2 = now;
|
|
908
1068
|
var nowUnsafe2 = nowUnsafe;
|
|
909
1069
|
var toDateUtc2 = toDateUtc;
|
|
@@ -1222,7 +1382,7 @@ var taskkill = (childProcess, onExit = () => {}) => {
|
|
|
1222
1382
|
windowsHide: true
|
|
1223
1383
|
}, onExit);
|
|
1224
1384
|
};
|
|
1225
|
-
var
|
|
1385
|
+
var make20 = /* @__PURE__ */ gen(function* () {
|
|
1226
1386
|
const fs = yield* FileSystem;
|
|
1227
1387
|
const path = yield* Path;
|
|
1228
1388
|
const resolveWorkingDirectory = fnUntraced(function* (options) {
|
|
@@ -1751,7 +1911,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1751
1911
|
});
|
|
1752
1912
|
return make2(spawnCommand);
|
|
1753
1913
|
});
|
|
1754
|
-
var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner,
|
|
1914
|
+
var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make20);
|
|
1755
1915
|
var flattenCommand = (command) => {
|
|
1756
1916
|
const commands = [];
|
|
1757
1917
|
const pipeOptions = [];
|
|
@@ -2235,7 +2395,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
|
|
|
2235
2395
|
resume(fail7(handleBadArgument("writeFile")(err)));
|
|
2236
2396
|
}
|
|
2237
2397
|
});
|
|
2238
|
-
var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) =>
|
|
2398
|
+
var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
|
|
2239
2399
|
access: access2,
|
|
2240
2400
|
chmod: chmod2,
|
|
2241
2401
|
chown: chown2,
|
|
@@ -2295,15 +2455,15 @@ var fileUrlOps = (windows) => ({
|
|
|
2295
2455
|
})
|
|
2296
2456
|
})
|
|
2297
2457
|
});
|
|
2298
|
-
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2458
|
+
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
2299
2459
|
...NodePath.posix,
|
|
2300
2460
|
.../* @__PURE__ */ fileUrlOps(false)
|
|
2301
2461
|
}));
|
|
2302
|
-
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2462
|
+
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
2303
2463
|
...NodePath.win32,
|
|
2304
2464
|
.../* @__PURE__ */ fileUrlOps(true)
|
|
2305
2465
|
}));
|
|
2306
|
-
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2466
|
+
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
2307
2467
|
...NodePath,
|
|
2308
2468
|
.../* @__PURE__ */ fileUrlOps(undefined)
|
|
2309
2469
|
}));
|
|
@@ -2312,10 +2472,10 @@ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
|
2312
2472
|
var layer2 = layer7;
|
|
2313
2473
|
|
|
2314
2474
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stdio.js
|
|
2315
|
-
var
|
|
2316
|
-
var Stdio = /* @__PURE__ */ Service2(
|
|
2317
|
-
var
|
|
2318
|
-
[
|
|
2475
|
+
var TypeId4 = "~effect/Stdio";
|
|
2476
|
+
var Stdio = /* @__PURE__ */ Service2(TypeId4);
|
|
2477
|
+
var make21 = (options) => ({
|
|
2478
|
+
[TypeId4]: TypeId4,
|
|
2319
2479
|
stdinIsTerminal: succeed6(false),
|
|
2320
2480
|
stdoutIsTerminal: succeed6(false),
|
|
2321
2481
|
stderrIsTerminal: succeed6(false),
|
|
@@ -2323,7 +2483,7 @@ var make20 = (options) => ({
|
|
|
2323
2483
|
});
|
|
2324
2484
|
|
|
2325
2485
|
// node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
|
|
2326
|
-
var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */
|
|
2486
|
+
var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make21({
|
|
2327
2487
|
args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
|
|
2328
2488
|
stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
|
|
2329
2489
|
stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
|
|
@@ -2523,7 +2683,7 @@ var makeUuid = (bytes, randomBytes, format) => {
|
|
|
2523
2683
|
const uuid = bytes(randomBytes(16));
|
|
2524
2684
|
return format === "bytes" ? uuid : stringify(uuid);
|
|
2525
2685
|
};
|
|
2526
|
-
var
|
|
2686
|
+
var make22 = (randomBytes) => {
|
|
2527
2687
|
const randomBytesChecked = (size) => {
|
|
2528
2688
|
checkSize(size);
|
|
2529
2689
|
return randomBytes(size);
|
|
@@ -2557,13 +2717,18 @@ var fillRandom = (crypto2, size) => {
|
|
|
2557
2717
|
}
|
|
2558
2718
|
return bytes;
|
|
2559
2719
|
};
|
|
2560
|
-
var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(
|
|
2720
|
+
var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make22((size) => fillRandom(crypto2, size)))));
|
|
2721
|
+
var randomBytesUnsafe = (size) => {
|
|
2722
|
+
checkSize(size);
|
|
2723
|
+
return fillRandom(globalThis.crypto, size);
|
|
2724
|
+
};
|
|
2725
|
+
var uuidV4Unsafe = (options) => makeUuid(v4Bytes, randomBytesUnsafe, options?.format);
|
|
2561
2726
|
|
|
2562
2727
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
|
|
2563
|
-
var
|
|
2728
|
+
var TypeId5 = "~effect/http/Cookies";
|
|
2564
2729
|
var CookieTypeId = "~effect/http/Cookies/Cookie";
|
|
2565
2730
|
var Proto2 = {
|
|
2566
|
-
[
|
|
2731
|
+
[TypeId5]: TypeId5,
|
|
2567
2732
|
...BaseProto,
|
|
2568
2733
|
toJSON() {
|
|
2569
2734
|
return {
|
|
@@ -2742,14 +2907,14 @@ var tryDecodeURIComponent = (str) => {
|
|
|
2742
2907
|
};
|
|
2743
2908
|
|
|
2744
2909
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
|
|
2745
|
-
var
|
|
2910
|
+
var TypeId6 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
|
|
2746
2911
|
var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
|
|
2747
|
-
[
|
|
2748
|
-
value:
|
|
2912
|
+
[TypeId6]: {
|
|
2913
|
+
value: TypeId6
|
|
2749
2914
|
},
|
|
2750
2915
|
[symbolRedactable]: {
|
|
2751
2916
|
value(context) {
|
|
2752
|
-
return redact2(this,
|
|
2917
|
+
return redact2(this, get3(context, CurrentRedactedNames));
|
|
2753
2918
|
}
|
|
2754
2919
|
},
|
|
2755
2920
|
toJSON: {
|
|
@@ -2774,7 +2939,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
|
|
|
2774
2939
|
value: BaseProto[NodeInspectSymbol]
|
|
2775
2940
|
}
|
|
2776
2941
|
});
|
|
2777
|
-
var
|
|
2942
|
+
var make23 = (input) => Object.assign(Object.create(Proto3), input);
|
|
2778
2943
|
var Equivalence2 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
|
|
2779
2944
|
var empty = /* @__PURE__ */ Object.create(Proto3);
|
|
2780
2945
|
var fromInput = (input) => {
|
|
@@ -2799,21 +2964,21 @@ var fromInput = (input) => {
|
|
|
2799
2964
|
};
|
|
2800
2965
|
var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto3);
|
|
2801
2966
|
var set = /* @__PURE__ */ dual(3, (self, key, value) => {
|
|
2802
|
-
const out =
|
|
2967
|
+
const out = make23(self);
|
|
2803
2968
|
out[key.toLowerCase()] = value;
|
|
2804
2969
|
return out;
|
|
2805
2970
|
});
|
|
2806
|
-
var setAll = /* @__PURE__ */ dual(2, (self, headers) =>
|
|
2971
|
+
var setAll = /* @__PURE__ */ dual(2, (self, headers) => make23({
|
|
2807
2972
|
...self,
|
|
2808
2973
|
...fromInput(headers)
|
|
2809
2974
|
}));
|
|
2810
2975
|
var merge = /* @__PURE__ */ dual(2, (self, headers) => {
|
|
2811
|
-
const out =
|
|
2976
|
+
const out = make23(self);
|
|
2812
2977
|
Object.assign(out, headers);
|
|
2813
2978
|
return out;
|
|
2814
2979
|
});
|
|
2815
2980
|
var remove2 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
2816
|
-
const out =
|
|
2981
|
+
const out = make23(self);
|
|
2817
2982
|
delete out[key.toLowerCase()];
|
|
2818
2983
|
return out;
|
|
2819
2984
|
});
|
|
@@ -2870,18 +3035,18 @@ var bodyDecoder = /* @__PURE__ */ new TextDecoder("utf-8", {
|
|
|
2870
3035
|
var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(/^\?/, "%3F"));
|
|
2871
3036
|
|
|
2872
3037
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/UrlParams.js
|
|
2873
|
-
var
|
|
2874
|
-
var isUrlParams = (u) => hasProperty(u,
|
|
3038
|
+
var TypeId7 = "~effect/http/UrlParams";
|
|
3039
|
+
var isUrlParams = (u) => hasProperty(u, TypeId7);
|
|
2875
3040
|
var Proto4 = {
|
|
2876
3041
|
...PipeInspectableProto,
|
|
2877
|
-
[
|
|
3042
|
+
[TypeId7]: TypeId7,
|
|
2878
3043
|
[Symbol.iterator]() {
|
|
2879
3044
|
return this.params[Symbol.iterator]();
|
|
2880
3045
|
},
|
|
2881
3046
|
[symbolRedactable](context) {
|
|
2882
3047
|
return {
|
|
2883
3048
|
_id: "UrlParams",
|
|
2884
|
-
params: Object.fromEntries(redact3(this,
|
|
3049
|
+
params: Object.fromEntries(redact3(this, get3(context, CurrentRedactedNames2)))
|
|
2885
3050
|
};
|
|
2886
3051
|
},
|
|
2887
3052
|
toJSON() {
|
|
@@ -2894,7 +3059,7 @@ var Proto4 = {
|
|
|
2894
3059
|
return array(this.params.flat());
|
|
2895
3060
|
}
|
|
2896
3061
|
};
|
|
2897
|
-
var
|
|
3062
|
+
var make24 = (params) => {
|
|
2898
3063
|
const self = Object.create(Proto4);
|
|
2899
3064
|
self.params = params;
|
|
2900
3065
|
return self;
|
|
@@ -2913,7 +3078,7 @@ var fromInput2 = (input) => {
|
|
|
2913
3078
|
out.push(parsed[i]);
|
|
2914
3079
|
}
|
|
2915
3080
|
}
|
|
2916
|
-
return
|
|
3081
|
+
return make24(out);
|
|
2917
3082
|
};
|
|
2918
3083
|
var fromInputNested = (input) => {
|
|
2919
3084
|
const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
|
|
@@ -2937,9 +3102,9 @@ var fromInputNested = (input) => {
|
|
|
2937
3102
|
return out;
|
|
2938
3103
|
};
|
|
2939
3104
|
var coerce = (value) => isRedacted(value) ? value : String(value);
|
|
2940
|
-
var Equivalence3 = /* @__PURE__ */
|
|
3105
|
+
var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
|
|
2941
3106
|
var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
|
|
2942
|
-
var empty4 = /* @__PURE__ */
|
|
3107
|
+
var empty4 = /* @__PURE__ */ make24([]);
|
|
2943
3108
|
var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
2944
3109
|
const params = fromInput2(input).params.slice();
|
|
2945
3110
|
const keys = new Set;
|
|
@@ -2951,7 +3116,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
|
2951
3116
|
continue;
|
|
2952
3117
|
params.push(self.params[i]);
|
|
2953
3118
|
}
|
|
2954
|
-
return
|
|
3119
|
+
return make24(params);
|
|
2955
3120
|
});
|
|
2956
3121
|
var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
|
|
2957
3122
|
var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
@@ -3007,13 +3172,13 @@ var decodeQueryKey = (key) => {
|
|
|
3007
3172
|
return key;
|
|
3008
3173
|
}
|
|
3009
3174
|
};
|
|
3010
|
-
var currentRedactedNames = () =>
|
|
3175
|
+
var currentRedactedNames = () => get3(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
|
|
3011
3176
|
var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
|
|
3012
3177
|
defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
|
|
3013
3178
|
});
|
|
3014
3179
|
|
|
3015
3180
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Terminal.js
|
|
3016
|
-
var
|
|
3181
|
+
var TypeId8 = "~effect/Terminal";
|
|
3017
3182
|
var QuitErrorTypeId = "~effect/Terminal/QuitError";
|
|
3018
3183
|
|
|
3019
3184
|
class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
|
|
@@ -3022,14 +3187,14 @@ class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
|
|
|
3022
3187
|
[QuitErrorTypeId] = QuitErrorTypeId;
|
|
3023
3188
|
}
|
|
3024
3189
|
var Terminal = /* @__PURE__ */ Service2("effect/Terminal");
|
|
3025
|
-
var
|
|
3190
|
+
var make25 = (impl) => Terminal.of({
|
|
3026
3191
|
...impl,
|
|
3027
|
-
[
|
|
3192
|
+
[TypeId8]: TypeId8
|
|
3028
3193
|
});
|
|
3029
3194
|
|
|
3030
3195
|
// node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
|
|
3031
3196
|
import * as readline from "readline";
|
|
3032
|
-
var
|
|
3197
|
+
var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
|
|
3033
3198
|
const stdin = process.stdin;
|
|
3034
3199
|
const stdout = process.stdout;
|
|
3035
3200
|
const lines = yield* make9();
|
|
@@ -3043,7 +3208,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3043
3208
|
};
|
|
3044
3209
|
stdin.once("end", onStdinEnd);
|
|
3045
3210
|
yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
|
|
3046
|
-
const rlRef = yield*
|
|
3211
|
+
const rlRef = yield* make18({
|
|
3047
3212
|
acquire: acquireRelease(sync2(() => {
|
|
3048
3213
|
const rl = readline.createInterface({
|
|
3049
3214
|
input: stdin,
|
|
@@ -3082,7 +3247,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3082
3247
|
if (stdin.isTTY)
|
|
3083
3248
|
stdin.setRawMode(enabled);
|
|
3084
3249
|
});
|
|
3085
|
-
const rawModeRef = yield*
|
|
3250
|
+
const rawModeRef = yield* make18({
|
|
3086
3251
|
acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
|
|
3087
3252
|
idleTimeToLive: "10 millis"
|
|
3088
3253
|
});
|
|
@@ -3133,14 +3298,14 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3133
3298
|
if (inputEnded) {
|
|
3134
3299
|
handleEnd();
|
|
3135
3300
|
} else {
|
|
3136
|
-
yield*
|
|
3137
|
-
yield*
|
|
3301
|
+
yield* get5(rlRef);
|
|
3302
|
+
yield* get5(rawModeRef);
|
|
3138
3303
|
stdin.once("end", handleEnd);
|
|
3139
3304
|
}
|
|
3140
3305
|
return queue;
|
|
3141
3306
|
});
|
|
3142
3307
|
const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
|
|
3143
|
-
onNone: () => scoped(andThen2(
|
|
3308
|
+
onNone: () => scoped(andThen2(get5(rlRef), take(lines))),
|
|
3144
3309
|
onSome: succeed6
|
|
3145
3310
|
})), mapError2(() => new QuitError({}))));
|
|
3146
3311
|
const display = (prompt) => uninterruptible(callback3((resume) => {
|
|
@@ -3151,7 +3316,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3151
3316
|
cause: err
|
|
3152
3317
|
}))));
|
|
3153
3318
|
}));
|
|
3154
|
-
return
|
|
3319
|
+
return make25({
|
|
3155
3320
|
columns,
|
|
3156
3321
|
rows,
|
|
3157
3322
|
size,
|
|
@@ -3160,7 +3325,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3160
3325
|
display
|
|
3161
3326
|
});
|
|
3162
3327
|
});
|
|
3163
|
-
var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */
|
|
3328
|
+
var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make26(defaultShouldQuit));
|
|
3164
3329
|
function defaultShouldQuit(input) {
|
|
3165
3330
|
const key = input.key;
|
|
3166
3331
|
return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
|
|
@@ -3187,7 +3352,7 @@ function toDate(input) {
|
|
|
3187
3352
|
return toDateUtc2(makeUnsafe(input));
|
|
3188
3353
|
}
|
|
3189
3354
|
function parseDate(input) {
|
|
3190
|
-
return getOrUndefined(map4(
|
|
3355
|
+
return getOrUndefined(map4(make19(input), toDateUtc2));
|
|
3191
3356
|
}
|
|
3192
3357
|
function toIso(input) {
|
|
3193
3358
|
return formatIso(makeUnsafe(input));
|
|
@@ -9822,11 +9987,11 @@ var TranscriptSearchResult = Struct({
|
|
|
9822
9987
|
total: Int
|
|
9823
9988
|
});
|
|
9824
9989
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
|
|
9825
|
-
var
|
|
9990
|
+
var TypeId9 = "~effect/http/HttpBody";
|
|
9826
9991
|
class Proto5 {
|
|
9827
|
-
[
|
|
9992
|
+
[TypeId9];
|
|
9828
9993
|
constructor() {
|
|
9829
|
-
this[
|
|
9994
|
+
this[TypeId9] = TypeId9;
|
|
9830
9995
|
}
|
|
9831
9996
|
[NodeInspectSymbol]() {
|
|
9832
9997
|
return this.toJSON();
|
|
@@ -9917,7 +10082,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
|
|
|
9917
10082
|
var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
|
|
9918
10083
|
|
|
9919
10084
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
|
|
9920
|
-
var
|
|
10085
|
+
var TypeId10 = "~effect/http/HttpClientError";
|
|
9921
10086
|
class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
|
|
9922
10087
|
constructor(props) {
|
|
9923
10088
|
if ("cause" in props.reason) {
|
|
@@ -9929,7 +10094,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
|
|
|
9929
10094
|
super(props);
|
|
9930
10095
|
}
|
|
9931
10096
|
}
|
|
9932
|
-
[
|
|
10097
|
+
[TypeId10] = TypeId10;
|
|
9933
10098
|
get request() {
|
|
9934
10099
|
return this.reason.request;
|
|
9935
10100
|
}
|
|
@@ -10033,7 +10198,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
|
|
|
10033
10198
|
}
|
|
10034
10199
|
}
|
|
10035
10200
|
|
|
10036
|
-
class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(
|
|
10201
|
+
class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId10)({
|
|
10037
10202
|
_tag: /* @__PURE__ */ tag("HttpError"),
|
|
10038
10203
|
kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
|
|
10039
10204
|
cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
|
|
@@ -10066,7 +10231,7 @@ var updateContentLength = (headers, body) => {
|
|
|
10066
10231
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
|
|
10067
10232
|
class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
|
|
10068
10233
|
}
|
|
10069
|
-
var
|
|
10234
|
+
var make27 = (url, params, hash) => try_({
|
|
10070
10235
|
try: () => {
|
|
10071
10236
|
const urlInstance = new URL(url, baseUrl());
|
|
10072
10237
|
for (let i = 0;i < params.params.length; i++) {
|
|
@@ -10097,10 +10262,10 @@ var baseUrl = () => {
|
|
|
10097
10262
|
};
|
|
10098
10263
|
|
|
10099
10264
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
|
|
10100
|
-
var
|
|
10101
|
-
var isHttpClientRequest = (u) => hasProperty(u,
|
|
10265
|
+
var TypeId11 = "~effect/http/HttpClientRequest";
|
|
10266
|
+
var isHttpClientRequest = (u) => hasProperty(u, TypeId11);
|
|
10102
10267
|
var Proto6 = {
|
|
10103
|
-
[
|
|
10268
|
+
[TypeId11]: TypeId11,
|
|
10104
10269
|
...BaseProto,
|
|
10105
10270
|
toJSON() {
|
|
10106
10271
|
return {
|
|
@@ -10189,7 +10354,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
|
|
|
10189
10354
|
var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
|
|
10190
10355
|
var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
|
|
10191
10356
|
function toUrl(self) {
|
|
10192
|
-
const r =
|
|
10357
|
+
const r = make27(self.url, self.urlParams, getOrUndefined(self.hash));
|
|
10193
10358
|
if (isSuccess(r)) {
|
|
10194
10359
|
return some(r.success);
|
|
10195
10360
|
}
|
|
@@ -10197,7 +10362,7 @@ function toUrl(self) {
|
|
|
10197
10362
|
}
|
|
10198
10363
|
|
|
10199
10364
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
|
|
10200
|
-
var
|
|
10365
|
+
var TypeId12 = "~effect/http/HttpIncomingMessage";
|
|
10201
10366
|
var schemaBodyJson = (schema, options) => {
|
|
10202
10367
|
const decode = decodeEffect(toCodecJson(schema));
|
|
10203
10368
|
const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
|
|
@@ -10216,7 +10381,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
|
|
|
10216
10381
|
var getWebSource = (self) => self[WebSourceSymbol]?.();
|
|
10217
10382
|
|
|
10218
10383
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
|
|
10219
|
-
var
|
|
10384
|
+
var TypeId13 = "~effect/http/HttpClientResponse";
|
|
10220
10385
|
var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
|
|
10221
10386
|
var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
|
|
10222
10387
|
reason: new StatusCodeError({
|
|
@@ -10227,16 +10392,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
|
|
|
10227
10392
|
}));
|
|
10228
10393
|
|
|
10229
10394
|
class WebHttpClientResponse extends Class {
|
|
10230
|
-
[TypeId11];
|
|
10231
10395
|
[TypeId12];
|
|
10396
|
+
[TypeId13];
|
|
10232
10397
|
request;
|
|
10233
10398
|
source;
|
|
10234
10399
|
constructor(request, source) {
|
|
10235
10400
|
super();
|
|
10236
10401
|
this.request = request;
|
|
10237
10402
|
this.source = source;
|
|
10238
|
-
this[TypeId11] = TypeId11;
|
|
10239
10403
|
this[TypeId12] = TypeId12;
|
|
10404
|
+
this[TypeId13] = TypeId13;
|
|
10240
10405
|
}
|
|
10241
10406
|
toJSON() {
|
|
10242
10407
|
return inspect(this, {
|
|
@@ -10408,7 +10573,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
|
|
|
10408
10573
|
};
|
|
10409
10574
|
|
|
10410
10575
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
|
|
10411
|
-
var
|
|
10576
|
+
var TypeId14 = "~effect/http/HttpClient";
|
|
10412
10577
|
var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
|
|
10413
10578
|
var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
|
|
10414
10579
|
var execute = /* @__PURE__ */ accessor("execute");
|
|
@@ -10425,7 +10590,7 @@ var makeWith2 = (postprocess, preprocess) => {
|
|
|
10425
10590
|
return self;
|
|
10426
10591
|
};
|
|
10427
10592
|
var Proto7 = {
|
|
10428
|
-
[
|
|
10593
|
+
[TypeId14]: TypeId14,
|
|
10429
10594
|
pipe() {
|
|
10430
10595
|
return pipeArguments(this, arguments);
|
|
10431
10596
|
},
|
|
@@ -10439,10 +10604,10 @@ var Proto7 = {
|
|
|
10439
10604
|
return this.execute(make5(fullMethod)(url, options));
|
|
10440
10605
|
}]))
|
|
10441
10606
|
};
|
|
10442
|
-
var
|
|
10607
|
+
var make28 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
|
|
10443
10608
|
const scopedController = scopedRequests.get(request);
|
|
10444
10609
|
const controller = scopedController ?? new AbortController;
|
|
10445
|
-
const urlResult =
|
|
10610
|
+
const urlResult = make27(request.url, request.urlParams, getOrUndefined(request.hash));
|
|
10446
10611
|
if (isFailure(urlResult)) {
|
|
10447
10612
|
return fail7(new HttpClientError({
|
|
10448
10613
|
reason: new InvalidUrlError({
|
|
@@ -10576,8 +10741,8 @@ class InterruptibleResponse {
|
|
|
10576
10741
|
this.original = original;
|
|
10577
10742
|
this.controller = controller;
|
|
10578
10743
|
}
|
|
10744
|
+
[TypeId13] = TypeId13;
|
|
10579
10745
|
[TypeId12] = TypeId12;
|
|
10580
|
-
[TypeId11] = TypeId11;
|
|
10581
10746
|
applyInterrupt(effect) {
|
|
10582
10747
|
return suspend3(() => {
|
|
10583
10748
|
responseRegistry.unregister(this.original);
|
|
@@ -10675,7 +10840,7 @@ var detectStreamBodySupport = () => {
|
|
|
10675
10840
|
return false;
|
|
10676
10841
|
}
|
|
10677
10842
|
};
|
|
10678
|
-
var fetch2 = /* @__PURE__ */
|
|
10843
|
+
var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
|
|
10679
10844
|
if (request.headers.upgrade !== undefined) {
|
|
10680
10845
|
return fail7(new HttpClientError({
|
|
10681
10846
|
reason: new TransportError({
|
|
@@ -10766,10 +10931,10 @@ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
|
|
|
10766
10931
|
});
|
|
10767
10932
|
var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
|
|
10768
10933
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
|
|
10769
|
-
var
|
|
10934
|
+
var TypeId15 = "~effect/socket/Socket";
|
|
10770
10935
|
var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
|
|
10771
|
-
var
|
|
10772
|
-
[
|
|
10936
|
+
var make29 = (options) => Socket.of({
|
|
10937
|
+
[TypeId15]: TypeId15,
|
|
10773
10938
|
reader: options.reader,
|
|
10774
10939
|
writer: options.writer
|
|
10775
10940
|
});
|
|
@@ -11092,7 +11257,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
|
|
|
11092
11257
|
write,
|
|
11093
11258
|
writeAll
|
|
11094
11259
|
});
|
|
11095
|
-
return succeed6(
|
|
11260
|
+
return succeed6(make29({
|
|
11096
11261
|
reader,
|
|
11097
11262
|
writer
|
|
11098
11263
|
}));
|
|
@@ -13732,6 +13897,7 @@ function decisionListQuery(options) {
|
|
|
13732
13897
|
}
|
|
13733
13898
|
|
|
13734
13899
|
// apps/cli/src/auth-lock.ts
|
|
13900
|
+
import { closeSync, constants as constants2, fstatSync, openSync, readFileSync, renameSync, rmSync, writeFileSync } from "fs";
|
|
13735
13901
|
import { DatabaseSync } from "node:sqlite";
|
|
13736
13902
|
|
|
13737
13903
|
// apps/cli/src/errors.ts
|
|
@@ -13893,12 +14059,19 @@ function withAuthLock(authPath, use) {
|
|
|
13893
14059
|
}
|
|
13894
14060
|
function acquire(lockPath) {
|
|
13895
14061
|
return gen(function* () {
|
|
13896
|
-
|
|
14062
|
+
let holder;
|
|
14063
|
+
let deadline = 0;
|
|
13897
14064
|
while (true) {
|
|
13898
14065
|
const lock = yield* tryLock(lockPath);
|
|
13899
14066
|
if (lock)
|
|
13900
14067
|
return lock;
|
|
13901
|
-
|
|
14068
|
+
const now = yield* currentTimeMillis;
|
|
14069
|
+
const current = readHolder(lockPath);
|
|
14070
|
+
if (deadline === 0 || current !== holder) {
|
|
14071
|
+
holder = current;
|
|
14072
|
+
deadline = now + WaitLimitMs;
|
|
14073
|
+
}
|
|
14074
|
+
if (now >= deadline)
|
|
13902
14075
|
return yield* new CliError({
|
|
13903
14076
|
message: `Another kitman process kept ${lockPath} for ${WaitLimitMs / 1000} seconds`
|
|
13904
14077
|
});
|
|
@@ -13912,6 +14085,7 @@ function tryLock(lockPath) {
|
|
|
13912
14085
|
const lock = new DatabaseSync(lockPath);
|
|
13913
14086
|
try {
|
|
13914
14087
|
lock.exec("BEGIN EXCLUSIVE");
|
|
14088
|
+
publishHolder(lockPath);
|
|
13915
14089
|
return lock;
|
|
13916
14090
|
} catch (error) {
|
|
13917
14091
|
lock.close();
|
|
@@ -13923,6 +14097,30 @@ function tryLock(lockPath) {
|
|
|
13923
14097
|
catch: (error) => new CliError({ message: `Could not lock ${lockPath}: ${error instanceof Error ? error.message : String(error)}` })
|
|
13924
14098
|
});
|
|
13925
14099
|
}
|
|
14100
|
+
var holderPath = (lockPath) => `${lockPath}.holder`;
|
|
14101
|
+
function publishHolder(lockPath) {
|
|
14102
|
+
const id = uuidV4Unsafe();
|
|
14103
|
+
const staged = `${holderPath(lockPath)}.${id}`;
|
|
14104
|
+
try {
|
|
14105
|
+
writeFileSync(staged, id, { flag: "wx", mode: 384 });
|
|
14106
|
+
renameSync(staged, holderPath(lockPath));
|
|
14107
|
+
} catch (error) {
|
|
14108
|
+
rmSync(staged, { force: true });
|
|
14109
|
+
throw error;
|
|
14110
|
+
}
|
|
14111
|
+
}
|
|
14112
|
+
function readHolder(lockPath) {
|
|
14113
|
+
let holder;
|
|
14114
|
+
try {
|
|
14115
|
+
holder = openSync(holderPath(lockPath), constants2.O_RDONLY | constants2.O_NOFOLLOW | constants2.O_NONBLOCK);
|
|
14116
|
+
return fstatSync(holder).isFile() ? readFileSync(holder, "utf8") : undefined;
|
|
14117
|
+
} catch {
|
|
14118
|
+
return;
|
|
14119
|
+
} finally {
|
|
14120
|
+
if (holder !== undefined)
|
|
14121
|
+
closeSync(holder);
|
|
14122
|
+
}
|
|
14123
|
+
}
|
|
13926
14124
|
|
|
13927
14125
|
// apps/cli/src/auth.ts
|
|
13928
14126
|
function sessionForApi(auth, apiUrl) {
|
|
@@ -14068,7 +14266,7 @@ function getStreamSchemas(schema) {
|
|
|
14068
14266
|
}
|
|
14069
14267
|
var schema = /* @__PURE__ */ declare(isStream);
|
|
14070
14268
|
function Stream(success, error) {
|
|
14071
|
-
return
|
|
14269
|
+
return make16(schema.ast, {
|
|
14072
14270
|
[StreamSchemaTypeId]: StreamSchemaTypeId,
|
|
14073
14271
|
success,
|
|
14074
14272
|
error
|
|
@@ -14076,9 +14274,9 @@ function Stream(success, error) {
|
|
|
14076
14274
|
}
|
|
14077
14275
|
|
|
14078
14276
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
|
|
14079
|
-
var
|
|
14277
|
+
var TypeId16 = "~effect/rpc/Rpc";
|
|
14080
14278
|
var Proto8 = {
|
|
14081
|
-
[
|
|
14279
|
+
[TypeId16]: TypeId16,
|
|
14082
14280
|
pipe() {
|
|
14083
14281
|
return pipeArguments(this, arguments);
|
|
14084
14282
|
},
|
|
@@ -14245,7 +14443,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
|
|
|
14245
14443
|
var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
|
|
14246
14444
|
|
|
14247
14445
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
|
|
14248
|
-
var
|
|
14446
|
+
var TypeId17 = "~effect/rpc/RpcClientError";
|
|
14249
14447
|
|
|
14250
14448
|
class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
|
|
14251
14449
|
_tag: /* @__PURE__ */ tag("RpcClientDefect"),
|
|
@@ -14254,11 +14452,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
|
|
|
14254
14452
|
})) {
|
|
14255
14453
|
}
|
|
14256
14454
|
|
|
14257
|
-
class RpcClientError extends (/* @__PURE__ */ Error3(
|
|
14455
|
+
class RpcClientError extends (/* @__PURE__ */ Error3(TypeId17)({
|
|
14258
14456
|
_tag: /* @__PURE__ */ tag("RpcClientError"),
|
|
14259
14457
|
reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
|
|
14260
14458
|
})) {
|
|
14261
|
-
[
|
|
14459
|
+
[TypeId17] = TypeId17;
|
|
14262
14460
|
get message() {
|
|
14263
14461
|
return `${this.reason._tag}: ${this.reason.message}`;
|
|
14264
14462
|
}
|
|
@@ -14378,7 +14576,7 @@ var RpcGroupProto = {
|
|
|
14378
14576
|
});
|
|
14379
14577
|
},
|
|
14380
14578
|
annotateRpcs(service, value) {
|
|
14381
|
-
return this.annotateRpcsMerge(
|
|
14579
|
+
return this.annotateRpcsMerge(make14(service, value));
|
|
14382
14580
|
},
|
|
14383
14581
|
annotateMerge(context) {
|
|
14384
14582
|
return makeProto2({
|
|
@@ -14406,7 +14604,7 @@ var make7 = (...rpcs) => makeProto2({
|
|
|
14406
14604
|
annotations: empty3()
|
|
14407
14605
|
});
|
|
14408
14606
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
|
|
14409
|
-
var
|
|
14607
|
+
var TypeId18 = "~effect/rpc/RpcMiddleware";
|
|
14410
14608
|
var Service = () => (id, options) => {
|
|
14411
14609
|
const limit = getStackTraceLimit();
|
|
14412
14610
|
let creationError;
|
|
@@ -14424,7 +14622,7 @@ var Service = () => (id, options) => {
|
|
|
14424
14622
|
return creationError?.stack;
|
|
14425
14623
|
}
|
|
14426
14624
|
});
|
|
14427
|
-
ServiceClass_[
|
|
14625
|
+
ServiceClass_[TypeId18] = TypeId18;
|
|
14428
14626
|
ServiceClass_.error = options?.error ?? Never;
|
|
14429
14627
|
ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
|
|
14430
14628
|
return ServiceClass;
|
|
@@ -15068,7 +15266,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
|
|
|
15068
15266
|
var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
|
|
15069
15267
|
|
|
15070
15268
|
// apps/cli/src/oauth.ts
|
|
15071
|
-
var
|
|
15269
|
+
var Scope2 = "openid profile email offline_access kitman:cli";
|
|
15072
15270
|
var CallbackPath = "/auth/callback";
|
|
15073
15271
|
|
|
15074
15272
|
class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
|
|
@@ -15087,7 +15285,7 @@ function buildAuthorizeUrl(input) {
|
|
|
15087
15285
|
url.searchParams.set("response_type", "code");
|
|
15088
15286
|
url.searchParams.set("client_id", input.clientId);
|
|
15089
15287
|
url.searchParams.set("redirect_uri", input.redirectUri);
|
|
15090
|
-
url.searchParams.set("scope",
|
|
15288
|
+
url.searchParams.set("scope", Scope2);
|
|
15091
15289
|
url.searchParams.set("code_challenge", input.codeChallenge);
|
|
15092
15290
|
url.searchParams.set("code_challenge_method", "S256");
|
|
15093
15291
|
url.searchParams.set("state", input.state);
|
|
@@ -15147,7 +15345,7 @@ function toStoredSession(token, existingRefreshToken) {
|
|
|
15147
15345
|
}
|
|
15148
15346
|
function startLoopbackServer(input) {
|
|
15149
15347
|
return gen(function* () {
|
|
15150
|
-
const code = yield*
|
|
15348
|
+
const code = yield* make15();
|
|
15151
15349
|
const context2 = yield* context();
|
|
15152
15350
|
const runSyncExit = runSyncExitWith(context2);
|
|
15153
15351
|
const server = yield* acquireRelease(sync2(() => Bun.serve({
|
|
@@ -15695,7 +15893,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
15695
15893
|
let lastId = 0;
|
|
15696
15894
|
let lost = false;
|
|
15697
15895
|
const notifications = yield* unbounded2();
|
|
15698
|
-
const ended = yield*
|
|
15896
|
+
const ended = yield* make15();
|
|
15699
15897
|
const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
|
|
15700
15898
|
onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
|
|
15701
15899
|
onNone: () => void_3,
|
|
@@ -15722,7 +15920,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
15722
15920
|
if (lost)
|
|
15723
15921
|
return yield* new HerdrCoreConnectionLost2({ method });
|
|
15724
15922
|
const id = ++lastId;
|
|
15725
|
-
const deferred = yield*
|
|
15923
|
+
const deferred = yield* make15();
|
|
15726
15924
|
pending.set(id, { method, deferred });
|
|
15727
15925
|
yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
|
|
15728
15926
|
return yield* _await(deferred);
|
|
@@ -15796,7 +15994,7 @@ var herdrCoreOver = (transport) => ({
|
|
|
15796
15994
|
return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
|
|
15797
15995
|
};
|
|
15798
15996
|
const snapshot = { type: "snapshot", terminals: subscribed.terminals };
|
|
15799
|
-
return concat(
|
|
15997
|
+
return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
|
|
15800
15998
|
}))
|
|
15801
15999
|
});
|
|
15802
16000
|
var spawnedTransport = (env) => gen(function* () {
|
|
@@ -15887,7 +16085,7 @@ var runProcess2 = (argv, options) => gen(function* () {
|
|
|
15887
16085
|
const spawner = yield* ChildProcessSpawner;
|
|
15888
16086
|
const [command, ...args] = argv;
|
|
15889
16087
|
const handle = yield* spawner.spawn(make3(command, args, {
|
|
15890
|
-
stdin: options.stdin === undefined ? "ignore" :
|
|
16088
|
+
stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
|
|
15891
16089
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
15892
16090
|
env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
|
|
15893
16091
|
}));
|
|
@@ -16403,4 +16601,4 @@ function serviceChecks(declaration) {
|
|
|
16403
16601
|
return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
|
|
16404
16602
|
}
|
|
16405
16603
|
|
|
16406
|
-
export {
|
|
16604
|
+
export { WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, tokenCountWords, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, reportedModelName, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, stepFallbackWords, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, antigravityPlugins, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices, serviceChecks };
|