@kitman-sh/cli 0.42.2 → 0.44.0
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-3gax0xq6.js → chunk-134jdvs6.js} +2 -2
- package/dist/{chunk-hfy8nmat.js → chunk-1c4wk9dr.js} +3 -3
- package/dist/{chunk-q6qn9c47.js → chunk-1k6z8q79.js} +135 -297
- package/dist/{chunk-sasjamqz.js → chunk-3mbp8cse.js} +205 -44
- package/dist/{chunk-1w517sym.js → chunk-3zy2vbp0.js} +10 -10
- package/dist/{chunk-17715h5w.js → chunk-5ccz7ghp.js} +69 -55
- package/dist/{chunk-1gr39h4v.js → chunk-7rj9d0rp.js} +21 -2
- package/dist/{chunk-wre79w3z.js → chunk-8a7337s1.js} +1 -1
- package/dist/{chunk-qndcafax.js → chunk-9h16pekj.js} +1 -1
- package/dist/{chunk-gqgbah9q.js → chunk-d0rx9esz.js} +6 -6
- package/dist/{chunk-t8y2y7ha.js → chunk-d2tpz1yp.js} +1 -1
- package/dist/{chunk-re7cr0kk.js → chunk-dj873p0e.js} +17 -17
- package/dist/{chunk-r5b36fgg.js → chunk-dp6v658s.js} +4 -4
- package/dist/{chunk-vjkgbsry.js → chunk-dre4f6s4.js} +9 -9
- package/dist/{chunk-33zd0yt4.js → chunk-gw0pc35c.js} +17 -17
- package/dist/{chunk-sbk4evb4.js → chunk-hmctc4eq.js} +3 -3
- package/dist/{chunk-hg9y4ykj.js → chunk-j60f2tr1.js} +4 -4
- package/dist/{chunk-tpmyf5mk.js → chunk-k2re3tp5.js} +1 -1
- package/dist/{chunk-drw8m50d.js → chunk-ncp13gyf.js} +2 -2
- package/dist/{chunk-rc4wvjf2.js → chunk-qkwkxn4d.js} +349 -102
- package/dist/{chunk-2bt9e1fj.js → chunk-wh3pjr9r.js} +11 -11
- package/dist/{chunk-c3ms91a6.js → chunk-wkg1v0kd.js} +20 -20
- package/dist/{chunk-mc0xxx2z.js → chunk-wvnsqt17.js} +6 -6
- package/dist/{chunk-b4td2pgc.js → chunk-x0ma41ys.js} +94 -84
- package/dist/{chunk-dhe1fwhw.js → chunk-zkvrxna8.js} +2 -2
- package/dist/{chunk-y6mjtq6n.js → chunk-zvmdyf3v.js} +53 -33
- 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
|
+
make14,
|
|
42
42
|
strictEqual,
|
|
43
43
|
Tuple,
|
|
44
44
|
Number2,
|
|
@@ -57,16 +57,14 @@ import {
|
|
|
57
57
|
flatMap,
|
|
58
58
|
Service2,
|
|
59
59
|
makeUnsafe4,
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
empty4,
|
|
61
|
+
make15,
|
|
62
62
|
add,
|
|
63
63
|
getOrUndefined2,
|
|
64
64
|
getOrUndefinedUnsafe,
|
|
65
|
-
|
|
65
|
+
get4,
|
|
66
66
|
merge3,
|
|
67
67
|
Reference,
|
|
68
|
-
fromInputUnsafe,
|
|
69
|
-
isFinite,
|
|
70
68
|
millis,
|
|
71
69
|
seconds,
|
|
72
70
|
toMillis,
|
|
@@ -89,11 +87,9 @@ import {
|
|
|
89
87
|
ConsoleRef,
|
|
90
88
|
succeed3,
|
|
91
89
|
fail4,
|
|
92
|
-
void_2,
|
|
93
90
|
isSuccess2,
|
|
94
|
-
isFailure2,
|
|
95
91
|
makeUnsafe5,
|
|
96
|
-
|
|
92
|
+
make16,
|
|
97
93
|
_await,
|
|
98
94
|
fail5,
|
|
99
95
|
isDone,
|
|
@@ -101,12 +97,8 @@ import {
|
|
|
101
97
|
succeed4,
|
|
102
98
|
doneUnsafe,
|
|
103
99
|
TracerTimingEnabled,
|
|
104
|
-
Scope,
|
|
105
|
-
makeUnsafe6,
|
|
106
100
|
provide,
|
|
107
|
-
addFinalizerExit,
|
|
108
101
|
addFinalizer,
|
|
109
|
-
close,
|
|
110
102
|
succeed5,
|
|
111
103
|
effect,
|
|
112
104
|
effectContext,
|
|
@@ -158,7 +150,6 @@ import {
|
|
|
158
150
|
tapCause,
|
|
159
151
|
retry,
|
|
160
152
|
ignore,
|
|
161
|
-
ignoreCause,
|
|
162
153
|
orElseSucceed,
|
|
163
154
|
timeout,
|
|
164
155
|
timeoutOrElse,
|
|
@@ -170,7 +161,6 @@ import {
|
|
|
170
161
|
context,
|
|
171
162
|
contextWith,
|
|
172
163
|
provide3,
|
|
173
|
-
provideContext2,
|
|
174
164
|
serviceOption,
|
|
175
165
|
updateContext,
|
|
176
166
|
provideService,
|
|
@@ -181,7 +171,6 @@ import {
|
|
|
181
171
|
addFinalizer2,
|
|
182
172
|
ensuring2,
|
|
183
173
|
onError,
|
|
184
|
-
onExit,
|
|
185
174
|
cached,
|
|
186
175
|
interrupt3,
|
|
187
176
|
interruptible,
|
|
@@ -193,7 +182,6 @@ import {
|
|
|
193
182
|
withParentSpan,
|
|
194
183
|
forkScoped,
|
|
195
184
|
runFork,
|
|
196
|
-
runForkWith,
|
|
197
185
|
runPromise,
|
|
198
186
|
runPromiseWith,
|
|
199
187
|
runSync,
|
|
@@ -213,7 +201,7 @@ import {
|
|
|
213
201
|
decodeEffect,
|
|
214
202
|
decodeUnknownOption,
|
|
215
203
|
decodeOption,
|
|
216
|
-
|
|
204
|
+
make17,
|
|
217
205
|
isSchema,
|
|
218
206
|
optionalKey,
|
|
219
207
|
optional,
|
|
@@ -274,17 +262,14 @@ import {
|
|
|
274
262
|
decodeJsonStringOption,
|
|
275
263
|
encodeJsonStringSync,
|
|
276
264
|
encodePrettyJsonString
|
|
277
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-x0ma41ys.js";
|
|
278
266
|
import {
|
|
279
267
|
map,
|
|
280
268
|
makeEquivalence,
|
|
281
269
|
Clock,
|
|
282
270
|
currentTimeMillis,
|
|
271
|
+
toNumber,
|
|
283
272
|
bytes,
|
|
284
|
-
join,
|
|
285
|
-
interrupt,
|
|
286
|
-
getCurrent,
|
|
287
|
-
runIn,
|
|
288
273
|
BadArgument,
|
|
289
274
|
systemError,
|
|
290
275
|
badArgument,
|
|
@@ -306,11 +291,13 @@ import {
|
|
|
306
291
|
isSink,
|
|
307
292
|
fromChannel,
|
|
308
293
|
drain,
|
|
294
|
+
make10,
|
|
295
|
+
get3,
|
|
309
296
|
isStream,
|
|
310
297
|
fromChannel2,
|
|
311
298
|
callback,
|
|
312
|
-
|
|
313
|
-
|
|
299
|
+
empty3,
|
|
300
|
+
make11,
|
|
314
301
|
suspend,
|
|
315
302
|
fail2,
|
|
316
303
|
fromQueue,
|
|
@@ -336,17 +323,17 @@ import {
|
|
|
336
323
|
mkArrayBuffer,
|
|
337
324
|
toReadableStreamEffect,
|
|
338
325
|
FileSystem,
|
|
339
|
-
|
|
326
|
+
make12,
|
|
340
327
|
FileTypeId,
|
|
341
328
|
WatchBackend,
|
|
342
329
|
Path,
|
|
343
|
-
|
|
330
|
+
make13,
|
|
344
331
|
option,
|
|
345
332
|
String2,
|
|
346
333
|
optionalEnv,
|
|
347
334
|
harnessesUnsupportedInSrt2,
|
|
348
335
|
harnessesUnsupportedInDocker2
|
|
349
|
-
} from "./chunk-
|
|
336
|
+
} from "./chunk-3mbp8cse.js";
|
|
350
337
|
import {
|
|
351
338
|
isRedacted,
|
|
352
339
|
make,
|
|
@@ -360,7 +347,7 @@ import {
|
|
|
360
347
|
make3,
|
|
361
348
|
parseFdName,
|
|
362
349
|
fdName
|
|
363
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-134jdvs6.js";
|
|
364
351
|
import {
|
|
365
352
|
isDateTime,
|
|
366
353
|
Numeric,
|
|
@@ -373,8 +360,7 @@ import {
|
|
|
373
360
|
SecretScope,
|
|
374
361
|
SecretHosts,
|
|
375
362
|
isSecretReference
|
|
376
|
-
} from "./chunk-
|
|
377
|
-
|
|
363
|
+
} from "./chunk-9h16pekj.js";
|
|
378
364
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
379
365
|
var makeEquivalence3 = Tuple;
|
|
380
366
|
|
|
@@ -512,7 +498,7 @@ var fromDateUnsafe = (date) => {
|
|
|
512
498
|
}
|
|
513
499
|
return makeUtc(epochMillis);
|
|
514
500
|
};
|
|
515
|
-
var
|
|
501
|
+
var makeUnsafe6 = (input) => {
|
|
516
502
|
if (isDateTime2(input)) {
|
|
517
503
|
return input;
|
|
518
504
|
} else if (input instanceof Date) {
|
|
@@ -532,7 +518,7 @@ var makeUnsafe7 = (input) => {
|
|
|
532
518
|
var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
|
|
533
519
|
var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
|
|
534
520
|
var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
|
|
535
|
-
var make4 = /* @__PURE__ */ liftThrowable(
|
|
521
|
+
var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
|
|
536
522
|
var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
|
|
537
523
|
var nowUnsafe = () => makeUtc(Date.now());
|
|
538
524
|
var toDateUtc = (self) => new Date(self.epochMilliseconds);
|
|
@@ -639,7 +625,7 @@ class Metric$ {
|
|
|
639
625
|
}
|
|
640
626
|
hook(context) {
|
|
641
627
|
const key = this.key(context);
|
|
642
|
-
const registry =
|
|
628
|
+
const registry = get4(context, MetricRegistry);
|
|
643
629
|
let metadata = registry.get(key);
|
|
644
630
|
if (isUndefined(metadata)) {
|
|
645
631
|
metadata = this.metadata(this.createHooks());
|
|
@@ -648,11 +634,11 @@ class Metric$ {
|
|
|
648
634
|
return metadata.hooks;
|
|
649
635
|
}
|
|
650
636
|
removeUnsafe(context) {
|
|
651
|
-
|
|
637
|
+
get4(context, MetricRegistry).delete(this.key(context));
|
|
652
638
|
}
|
|
653
639
|
registerUnsafe(context, hooks) {
|
|
654
640
|
const key = this.key(context);
|
|
655
|
-
const registry =
|
|
641
|
+
const registry = get4(context, MetricRegistry);
|
|
656
642
|
const metadata = this.metadata({
|
|
657
643
|
get: hooks.get,
|
|
658
644
|
update: constVoid,
|
|
@@ -668,7 +654,7 @@ class Metric$ {
|
|
|
668
654
|
};
|
|
669
655
|
}
|
|
670
656
|
key(context) {
|
|
671
|
-
const extraAttributes =
|
|
657
|
+
const extraAttributes = get4(context, CurrentMetricAttributes);
|
|
672
658
|
if (extraAttributes !== this.#extraAttributes) {
|
|
673
659
|
this.#extraAttributes = extraAttributes;
|
|
674
660
|
const merged = mergeAttributes(this.attributes, extraAttributes);
|
|
@@ -911,160 +897,9 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
|
|
|
911
897
|
// node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
|
|
912
898
|
var runMain = runMain2;
|
|
913
899
|
|
|
914
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
915
|
-
var BigInt2 = globalThis.BigInt;
|
|
916
|
-
var toNumber = (b) => {
|
|
917
|
-
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
918
|
-
return none();
|
|
919
|
-
}
|
|
920
|
-
return some(Number(b));
|
|
921
|
-
};
|
|
922
|
-
|
|
923
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
|
|
924
|
-
var TypeId3 = "~effect/RcRef";
|
|
925
|
-
var stateEmpty = {
|
|
926
|
-
_tag: "Empty"
|
|
927
|
-
};
|
|
928
|
-
var stateClosed = {
|
|
929
|
-
_tag: "Closed"
|
|
930
|
-
};
|
|
931
|
-
var variance = {
|
|
932
|
-
_A: identity,
|
|
933
|
-
_E: identity
|
|
934
|
-
};
|
|
935
|
-
|
|
936
|
-
class RcRefImpl {
|
|
937
|
-
[TypeId3] = variance;
|
|
938
|
-
pipe() {
|
|
939
|
-
return pipeArguments(this, arguments);
|
|
940
|
-
}
|
|
941
|
-
state = stateEmpty;
|
|
942
|
-
acquire;
|
|
943
|
-
context;
|
|
944
|
-
scope;
|
|
945
|
-
idleTimeToLive;
|
|
946
|
-
constructor(acquire, context, scope, idleTimeToLive) {
|
|
947
|
-
this.acquire = acquire;
|
|
948
|
-
this.context = context;
|
|
949
|
-
this.scope = scope;
|
|
950
|
-
this.idleTimeToLive = idleTimeToLive;
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
var make17 = (options) => withFiber2((fiber) => {
|
|
954
|
-
const context = fiber.context;
|
|
955
|
-
const scope = get3(context, Scope);
|
|
956
|
-
const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
|
|
957
|
-
return as(addFinalizerExit(scope, () => {
|
|
958
|
-
const state = ref.state;
|
|
959
|
-
ref.state = stateClosed;
|
|
960
|
-
if (state._tag === "Acquired")
|
|
961
|
-
return close(state.scope, void_2);
|
|
962
|
-
if (state._tag === "Acquiring")
|
|
963
|
-
return interrupt(state.fiber);
|
|
964
|
-
return void_3;
|
|
965
|
-
}), ref);
|
|
966
|
-
});
|
|
967
|
-
var getState = (self, restore) => {
|
|
968
|
-
switch (self.state._tag) {
|
|
969
|
-
case "Closed": {
|
|
970
|
-
return interrupt3;
|
|
971
|
-
}
|
|
972
|
-
case "Acquired": {
|
|
973
|
-
const state = self.state;
|
|
974
|
-
state.refCount++;
|
|
975
|
-
return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
|
|
976
|
-
}
|
|
977
|
-
case "Acquiring": {
|
|
978
|
-
const state = self.state;
|
|
979
|
-
state.awaiters++;
|
|
980
|
-
return awaitAcquiring(self, state, restore);
|
|
981
|
-
}
|
|
982
|
-
case "Empty": {
|
|
983
|
-
const acquiring = {
|
|
984
|
-
_tag: "Acquiring",
|
|
985
|
-
fiber: undefined,
|
|
986
|
-
awaiters: 1,
|
|
987
|
-
acquired: undefined
|
|
988
|
-
};
|
|
989
|
-
self.state = acquiring;
|
|
990
|
-
const scope = makeUnsafe6();
|
|
991
|
-
const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
|
|
992
|
-
if (self.state !== acquiring) {
|
|
993
|
-
return interrupt3;
|
|
994
|
-
}
|
|
995
|
-
const state = {
|
|
996
|
-
_tag: "Acquired",
|
|
997
|
-
value,
|
|
998
|
-
scope,
|
|
999
|
-
fiber: undefined,
|
|
1000
|
-
refCount: acquiring.awaiters,
|
|
1001
|
-
invalidated: false
|
|
1002
|
-
};
|
|
1003
|
-
self.state = state;
|
|
1004
|
-
acquiring.acquired = state;
|
|
1005
|
-
return succeed6(state);
|
|
1006
|
-
}), onExit((exit) => {
|
|
1007
|
-
if (isSuccess2(exit))
|
|
1008
|
-
return void_3;
|
|
1009
|
-
if (self.state === acquiring)
|
|
1010
|
-
self.state = stateEmpty;
|
|
1011
|
-
return close(scope, exit);
|
|
1012
|
-
}));
|
|
1013
|
-
acquiring.fiber = runForkWith(getCurrent().context)(acquire);
|
|
1014
|
-
return awaitAcquiring(self, acquiring, restore);
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
};
|
|
1018
|
-
var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
|
|
1019
|
-
const acquired = acquiring.acquired;
|
|
1020
|
-
if (acquired !== undefined) {
|
|
1021
|
-
return isFailure2(exit) ? release(self, acquired) : void_3;
|
|
1022
|
-
}
|
|
1023
|
-
if (--acquiring.awaiters > 0 || self.state !== acquiring)
|
|
1024
|
-
return void_3;
|
|
1025
|
-
self.state = stateEmpty;
|
|
1026
|
-
return interrupt(acquiring.fiber);
|
|
1027
|
-
});
|
|
1028
|
-
var get4 = (self_) => {
|
|
1029
|
-
const self = self_;
|
|
1030
|
-
return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
|
|
1031
|
-
};
|
|
1032
|
-
var release = (self, state) => {
|
|
1033
|
-
state.refCount--;
|
|
1034
|
-
if (state.refCount > 0) {
|
|
1035
|
-
return void_3;
|
|
1036
|
-
}
|
|
1037
|
-
const idleTimeToLive = self.idleTimeToLive;
|
|
1038
|
-
if (idleTimeToLive === undefined || state.invalidated) {
|
|
1039
|
-
if (self.state === state) {
|
|
1040
|
-
self.state = stateEmpty;
|
|
1041
|
-
}
|
|
1042
|
-
return close(state.scope, void_2);
|
|
1043
|
-
} else if (!isFinite(idleTimeToLive)) {
|
|
1044
|
-
return void_3;
|
|
1045
|
-
}
|
|
1046
|
-
state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
|
|
1047
|
-
if (self.state === state && state.refCount === 0) {
|
|
1048
|
-
self.state = stateEmpty;
|
|
1049
|
-
return ignoreCause(close(state.scope, void_2), {
|
|
1050
|
-
log: "Unhandled",
|
|
1051
|
-
message: "Unhandled error in RcRef finalizer"
|
|
1052
|
-
});
|
|
1053
|
-
}
|
|
1054
|
-
return void_3;
|
|
1055
|
-
})).pipe(ensuring2(sync2(() => {
|
|
1056
|
-
state.fiber = undefined;
|
|
1057
|
-
})), runForkWith(self.context), runIn(self.scope));
|
|
1058
|
-
return void_3;
|
|
1059
|
-
};
|
|
1060
|
-
|
|
1061
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
1062
|
-
var make18 = make17;
|
|
1063
|
-
var get5 = get4;
|
|
1064
|
-
|
|
1065
900
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
|
|
1066
|
-
var makeUnsafe =
|
|
1067
|
-
var
|
|
901
|
+
var makeUnsafe = makeUnsafe6;
|
|
902
|
+
var make18 = make4;
|
|
1068
903
|
var now2 = now;
|
|
1069
904
|
var nowUnsafe2 = nowUnsafe;
|
|
1070
905
|
var toDateUtc2 = toDateUtc;
|
|
@@ -1383,7 +1218,7 @@ var taskkill = (childProcess, onExit = () => {}) => {
|
|
|
1383
1218
|
windowsHide: true
|
|
1384
1219
|
}, onExit);
|
|
1385
1220
|
};
|
|
1386
|
-
var
|
|
1221
|
+
var make19 = /* @__PURE__ */ gen(function* () {
|
|
1387
1222
|
const fs = yield* FileSystem;
|
|
1388
1223
|
const path = yield* Path;
|
|
1389
1224
|
const resolveWorkingDirectory = fnUntraced(function* (options) {
|
|
@@ -1495,7 +1330,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
|
|
|
1495
1330
|
if (additionalFds.length === 0) {
|
|
1496
1331
|
return {
|
|
1497
1332
|
getInputFd: () => drain,
|
|
1498
|
-
getOutputFd: () =>
|
|
1333
|
+
getOutputFd: () => empty3
|
|
1499
1334
|
};
|
|
1500
1335
|
}
|
|
1501
1336
|
const inputSinks = new Map;
|
|
@@ -1518,7 +1353,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
|
|
|
1518
1353
|
return void_3;
|
|
1519
1354
|
});
|
|
1520
1355
|
const setupOutput = (fd, nodeStream, sink) => {
|
|
1521
|
-
let stream =
|
|
1356
|
+
let stream = empty3;
|
|
1522
1357
|
if (nodeStream && "read" in nodeStream) {
|
|
1523
1358
|
const passThrough = new PassThrough;
|
|
1524
1359
|
let error = undefined;
|
|
@@ -1564,7 +1399,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
|
|
|
1564
1399
|
}
|
|
1565
1400
|
return {
|
|
1566
1401
|
getInputFd: (fd) => inputSinks.get(fd) ?? drain,
|
|
1567
|
-
getOutputFd: (fd) => outputStreams.get(fd) ??
|
|
1402
|
+
getOutputFd: (fd) => outputStreams.get(fd) ?? empty3
|
|
1568
1403
|
};
|
|
1569
1404
|
});
|
|
1570
1405
|
const setupChildStdin = (command, childProcess, config, inputFailure) => suspend3(() => {
|
|
@@ -1592,7 +1427,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
|
|
|
1592
1427
|
evaluate: () => passThrough,
|
|
1593
1428
|
onError: (error) => toPlatformError("fromReadable(stdout)", toError(error), command)
|
|
1594
1429
|
});
|
|
1595
|
-
})() :
|
|
1430
|
+
})() : empty3;
|
|
1596
1431
|
let stderr = childProcess.stderr ? (() => {
|
|
1597
1432
|
const passThrough = new PassThrough;
|
|
1598
1433
|
childProcess.stderr.on("error", (error) => passThrough.destroy(error));
|
|
@@ -1601,7 +1436,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
|
|
|
1601
1436
|
evaluate: () => passThrough,
|
|
1602
1437
|
onError: (error) => toPlatformError("fromReadable(stderr)", toError(error), command)
|
|
1603
1438
|
});
|
|
1604
|
-
})() :
|
|
1439
|
+
})() : empty3;
|
|
1605
1440
|
if (isSink(stdoutConfig.stream)) {
|
|
1606
1441
|
stdout = transduce(stdout, stdoutConfig.stream);
|
|
1607
1442
|
}
|
|
@@ -1912,7 +1747,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
|
|
|
1912
1747
|
});
|
|
1913
1748
|
return make2(spawnCommand);
|
|
1914
1749
|
});
|
|
1915
|
-
var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner,
|
|
1750
|
+
var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
|
|
1916
1751
|
var flattenCommand = (command) => {
|
|
1917
1752
|
const commands = [];
|
|
1918
1753
|
const pipeOptions = [];
|
|
@@ -2396,7 +2231,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
|
|
|
2396
2231
|
resume(fail7(handleBadArgument("writeFile")(err)));
|
|
2397
2232
|
}
|
|
2398
2233
|
});
|
|
2399
|
-
var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) =>
|
|
2234
|
+
var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
|
|
2400
2235
|
access: access2,
|
|
2401
2236
|
chmod: chmod2,
|
|
2402
2237
|
chown: chown2,
|
|
@@ -2456,15 +2291,15 @@ var fileUrlOps = (windows) => ({
|
|
|
2456
2291
|
})
|
|
2457
2292
|
})
|
|
2458
2293
|
});
|
|
2459
|
-
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2294
|
+
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2460
2295
|
...NodePath.posix,
|
|
2461
2296
|
.../* @__PURE__ */ fileUrlOps(false)
|
|
2462
2297
|
}));
|
|
2463
|
-
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2298
|
+
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2464
2299
|
...NodePath.win32,
|
|
2465
2300
|
.../* @__PURE__ */ fileUrlOps(true)
|
|
2466
2301
|
}));
|
|
2467
|
-
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2302
|
+
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2468
2303
|
...NodePath,
|
|
2469
2304
|
.../* @__PURE__ */ fileUrlOps(undefined)
|
|
2470
2305
|
}));
|
|
@@ -2473,10 +2308,10 @@ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
|
2473
2308
|
var layer2 = layer7;
|
|
2474
2309
|
|
|
2475
2310
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stdio.js
|
|
2476
|
-
var
|
|
2477
|
-
var Stdio = /* @__PURE__ */ Service2(
|
|
2478
|
-
var
|
|
2479
|
-
[
|
|
2311
|
+
var TypeId3 = "~effect/Stdio";
|
|
2312
|
+
var Stdio = /* @__PURE__ */ Service2(TypeId3);
|
|
2313
|
+
var make20 = (options) => ({
|
|
2314
|
+
[TypeId3]: TypeId3,
|
|
2480
2315
|
stdinIsTerminal: succeed6(false),
|
|
2481
2316
|
stdoutIsTerminal: succeed6(false),
|
|
2482
2317
|
stderrIsTerminal: succeed6(false),
|
|
@@ -2484,7 +2319,7 @@ var make21 = (options) => ({
|
|
|
2484
2319
|
});
|
|
2485
2320
|
|
|
2486
2321
|
// node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
|
|
2487
|
-
var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */
|
|
2322
|
+
var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make20({
|
|
2488
2323
|
args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
|
|
2489
2324
|
stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
|
|
2490
2325
|
stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
|
|
@@ -2684,7 +2519,7 @@ var makeUuid = (bytes, randomBytes, format) => {
|
|
|
2684
2519
|
const uuid = bytes(randomBytes(16));
|
|
2685
2520
|
return format === "bytes" ? uuid : stringify(uuid);
|
|
2686
2521
|
};
|
|
2687
|
-
var
|
|
2522
|
+
var make21 = (randomBytes) => {
|
|
2688
2523
|
const randomBytesChecked = (size) => {
|
|
2689
2524
|
checkSize(size);
|
|
2690
2525
|
return randomBytes(size);
|
|
@@ -2718,7 +2553,7 @@ var fillRandom = (crypto2, size) => {
|
|
|
2718
2553
|
}
|
|
2719
2554
|
return bytes;
|
|
2720
2555
|
};
|
|
2721
|
-
var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(
|
|
2556
|
+
var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make21((size) => fillRandom(crypto2, size)))));
|
|
2722
2557
|
var randomBytesUnsafe = (size) => {
|
|
2723
2558
|
checkSize(size);
|
|
2724
2559
|
return fillRandom(globalThis.crypto, size);
|
|
@@ -2726,10 +2561,10 @@ var randomBytesUnsafe = (size) => {
|
|
|
2726
2561
|
var uuidV4Unsafe = (options) => makeUuid(v4Bytes, randomBytesUnsafe, options?.format);
|
|
2727
2562
|
|
|
2728
2563
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
|
|
2729
|
-
var
|
|
2564
|
+
var TypeId4 = "~effect/http/Cookies";
|
|
2730
2565
|
var CookieTypeId = "~effect/http/Cookies/Cookie";
|
|
2731
2566
|
var Proto2 = {
|
|
2732
|
-
[
|
|
2567
|
+
[TypeId4]: TypeId4,
|
|
2733
2568
|
...BaseProto,
|
|
2734
2569
|
toJSON() {
|
|
2735
2570
|
return {
|
|
@@ -2908,14 +2743,14 @@ var tryDecodeURIComponent = (str) => {
|
|
|
2908
2743
|
};
|
|
2909
2744
|
|
|
2910
2745
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
|
|
2911
|
-
var
|
|
2746
|
+
var TypeId5 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
|
|
2912
2747
|
var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
|
|
2913
|
-
[
|
|
2914
|
-
value:
|
|
2748
|
+
[TypeId5]: {
|
|
2749
|
+
value: TypeId5
|
|
2915
2750
|
},
|
|
2916
2751
|
[symbolRedactable]: {
|
|
2917
2752
|
value(context) {
|
|
2918
|
-
return redact2(this,
|
|
2753
|
+
return redact2(this, get4(context, CurrentRedactedNames));
|
|
2919
2754
|
}
|
|
2920
2755
|
},
|
|
2921
2756
|
toJSON: {
|
|
@@ -2940,7 +2775,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
|
|
|
2940
2775
|
value: BaseProto[NodeInspectSymbol]
|
|
2941
2776
|
}
|
|
2942
2777
|
});
|
|
2943
|
-
var
|
|
2778
|
+
var make22 = (input) => Object.assign(Object.create(Proto3), input);
|
|
2944
2779
|
var Equivalence2 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
|
|
2945
2780
|
var empty = /* @__PURE__ */ Object.create(Proto3);
|
|
2946
2781
|
var fromInput = (input) => {
|
|
@@ -2965,21 +2800,21 @@ var fromInput = (input) => {
|
|
|
2965
2800
|
};
|
|
2966
2801
|
var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto3);
|
|
2967
2802
|
var set = /* @__PURE__ */ dual(3, (self, key, value) => {
|
|
2968
|
-
const out =
|
|
2803
|
+
const out = make22(self);
|
|
2969
2804
|
out[key.toLowerCase()] = value;
|
|
2970
2805
|
return out;
|
|
2971
2806
|
});
|
|
2972
|
-
var setAll = /* @__PURE__ */ dual(2, (self, headers) =>
|
|
2807
|
+
var setAll = /* @__PURE__ */ dual(2, (self, headers) => make22({
|
|
2973
2808
|
...self,
|
|
2974
2809
|
...fromInput(headers)
|
|
2975
2810
|
}));
|
|
2976
2811
|
var merge = /* @__PURE__ */ dual(2, (self, headers) => {
|
|
2977
|
-
const out =
|
|
2812
|
+
const out = make22(self);
|
|
2978
2813
|
Object.assign(out, headers);
|
|
2979
2814
|
return out;
|
|
2980
2815
|
});
|
|
2981
2816
|
var remove2 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
2982
|
-
const out =
|
|
2817
|
+
const out = make22(self);
|
|
2983
2818
|
delete out[key.toLowerCase()];
|
|
2984
2819
|
return out;
|
|
2985
2820
|
});
|
|
@@ -3036,18 +2871,18 @@ var bodyDecoder = /* @__PURE__ */ new TextDecoder("utf-8", {
|
|
|
3036
2871
|
var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(/^\?/, "%3F"));
|
|
3037
2872
|
|
|
3038
2873
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/UrlParams.js
|
|
3039
|
-
var
|
|
3040
|
-
var isUrlParams = (u) => hasProperty(u,
|
|
2874
|
+
var TypeId6 = "~effect/http/UrlParams";
|
|
2875
|
+
var isUrlParams = (u) => hasProperty(u, TypeId6);
|
|
3041
2876
|
var Proto4 = {
|
|
3042
2877
|
...PipeInspectableProto,
|
|
3043
|
-
[
|
|
2878
|
+
[TypeId6]: TypeId6,
|
|
3044
2879
|
[Symbol.iterator]() {
|
|
3045
2880
|
return this.params[Symbol.iterator]();
|
|
3046
2881
|
},
|
|
3047
2882
|
[symbolRedactable](context) {
|
|
3048
2883
|
return {
|
|
3049
2884
|
_id: "UrlParams",
|
|
3050
|
-
params: Object.fromEntries(redact3(this,
|
|
2885
|
+
params: Object.fromEntries(redact3(this, get4(context, CurrentRedactedNames2)))
|
|
3051
2886
|
};
|
|
3052
2887
|
},
|
|
3053
2888
|
toJSON() {
|
|
@@ -3060,7 +2895,7 @@ var Proto4 = {
|
|
|
3060
2895
|
return array(this.params.flat());
|
|
3061
2896
|
}
|
|
3062
2897
|
};
|
|
3063
|
-
var
|
|
2898
|
+
var make23 = (params) => {
|
|
3064
2899
|
const self = Object.create(Proto4);
|
|
3065
2900
|
self.params = params;
|
|
3066
2901
|
return self;
|
|
@@ -3079,7 +2914,7 @@ var fromInput2 = (input) => {
|
|
|
3079
2914
|
out.push(parsed[i]);
|
|
3080
2915
|
}
|
|
3081
2916
|
}
|
|
3082
|
-
return
|
|
2917
|
+
return make23(out);
|
|
3083
2918
|
};
|
|
3084
2919
|
var fromInputNested = (input) => {
|
|
3085
2920
|
const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
|
|
@@ -3103,9 +2938,9 @@ var fromInputNested = (input) => {
|
|
|
3103
2938
|
return out;
|
|
3104
2939
|
};
|
|
3105
2940
|
var coerce = (value) => isRedacted(value) ? value : String(value);
|
|
3106
|
-
var Equivalence3 = /* @__PURE__ */
|
|
2941
|
+
var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
|
|
3107
2942
|
var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
|
|
3108
|
-
var
|
|
2943
|
+
var empty2 = /* @__PURE__ */ make23([]);
|
|
3109
2944
|
var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
3110
2945
|
const params = fromInput2(input).params.slice();
|
|
3111
2946
|
const keys = new Set;
|
|
@@ -3117,7 +2952,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
|
3117
2952
|
continue;
|
|
3118
2953
|
params.push(self.params[i]);
|
|
3119
2954
|
}
|
|
3120
|
-
return
|
|
2955
|
+
return make23(params);
|
|
3121
2956
|
});
|
|
3122
2957
|
var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
|
|
3123
2958
|
var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
@@ -3173,13 +3008,13 @@ var decodeQueryKey = (key) => {
|
|
|
3173
3008
|
return key;
|
|
3174
3009
|
}
|
|
3175
3010
|
};
|
|
3176
|
-
var currentRedactedNames = () =>
|
|
3011
|
+
var currentRedactedNames = () => get4(globalThis[currentFiberTypeId]?.context ?? empty4(), CurrentRedactedNames2);
|
|
3177
3012
|
var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
|
|
3178
3013
|
defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
|
|
3179
3014
|
});
|
|
3180
3015
|
|
|
3181
3016
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Terminal.js
|
|
3182
|
-
var
|
|
3017
|
+
var TypeId7 = "~effect/Terminal";
|
|
3183
3018
|
var QuitErrorTypeId = "~effect/Terminal/QuitError";
|
|
3184
3019
|
|
|
3185
3020
|
class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
|
|
@@ -3188,14 +3023,14 @@ class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
|
|
|
3188
3023
|
[QuitErrorTypeId] = QuitErrorTypeId;
|
|
3189
3024
|
}
|
|
3190
3025
|
var Terminal = /* @__PURE__ */ Service2("effect/Terminal");
|
|
3191
|
-
var
|
|
3026
|
+
var make24 = (impl) => Terminal.of({
|
|
3192
3027
|
...impl,
|
|
3193
|
-
[
|
|
3028
|
+
[TypeId7]: TypeId7
|
|
3194
3029
|
});
|
|
3195
3030
|
|
|
3196
3031
|
// node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
|
|
3197
3032
|
import * as readline from "readline";
|
|
3198
|
-
var
|
|
3033
|
+
var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
|
|
3199
3034
|
const stdin = process.stdin;
|
|
3200
3035
|
const stdout = process.stdout;
|
|
3201
3036
|
const lines = yield* make9();
|
|
@@ -3209,7 +3044,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3209
3044
|
};
|
|
3210
3045
|
stdin.once("end", onStdinEnd);
|
|
3211
3046
|
yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
|
|
3212
|
-
const rlRef = yield*
|
|
3047
|
+
const rlRef = yield* make10({
|
|
3213
3048
|
acquire: acquireRelease(sync2(() => {
|
|
3214
3049
|
const rl = readline.createInterface({
|
|
3215
3050
|
input: stdin,
|
|
@@ -3248,7 +3083,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3248
3083
|
if (stdin.isTTY)
|
|
3249
3084
|
stdin.setRawMode(enabled);
|
|
3250
3085
|
});
|
|
3251
|
-
const rawModeRef = yield*
|
|
3086
|
+
const rawModeRef = yield* make10({
|
|
3252
3087
|
acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
|
|
3253
3088
|
idleTimeToLive: "10 millis"
|
|
3254
3089
|
});
|
|
@@ -3299,14 +3134,14 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3299
3134
|
if (inputEnded) {
|
|
3300
3135
|
handleEnd();
|
|
3301
3136
|
} else {
|
|
3302
|
-
yield*
|
|
3303
|
-
yield*
|
|
3137
|
+
yield* get3(rlRef);
|
|
3138
|
+
yield* get3(rawModeRef);
|
|
3304
3139
|
stdin.once("end", handleEnd);
|
|
3305
3140
|
}
|
|
3306
3141
|
return queue;
|
|
3307
3142
|
});
|
|
3308
3143
|
const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
|
|
3309
|
-
onNone: () => scoped(andThen2(
|
|
3144
|
+
onNone: () => scoped(andThen2(get3(rlRef), take(lines))),
|
|
3310
3145
|
onSome: succeed6
|
|
3311
3146
|
})), mapError2(() => new QuitError({}))));
|
|
3312
3147
|
const display = (prompt) => uninterruptible(callback3((resume) => {
|
|
@@ -3317,7 +3152,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3317
3152
|
cause: err
|
|
3318
3153
|
}))));
|
|
3319
3154
|
}));
|
|
3320
|
-
return
|
|
3155
|
+
return make24({
|
|
3321
3156
|
columns,
|
|
3322
3157
|
rows,
|
|
3323
3158
|
size,
|
|
@@ -3326,7 +3161,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3326
3161
|
display
|
|
3327
3162
|
});
|
|
3328
3163
|
});
|
|
3329
|
-
var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */
|
|
3164
|
+
var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make25(defaultShouldQuit));
|
|
3330
3165
|
function defaultShouldQuit(input) {
|
|
3331
3166
|
const key = input.key;
|
|
3332
3167
|
return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
|
|
@@ -3353,7 +3188,7 @@ function toDate(input) {
|
|
|
3353
3188
|
return toDateUtc2(makeUnsafe(input));
|
|
3354
3189
|
}
|
|
3355
3190
|
function parseDate(input) {
|
|
3356
|
-
return getOrUndefined(map4(
|
|
3191
|
+
return getOrUndefined(map4(make18(input), toDateUtc2));
|
|
3357
3192
|
}
|
|
3358
3193
|
function toIso(input) {
|
|
3359
3194
|
return formatIso(makeUnsafe(input));
|
|
@@ -8151,7 +7986,8 @@ var WorkUnitClaimInput = Struct({
|
|
|
8151
7986
|
capacitySlot: String4.check(isMinLength(1), isMaxLength(240)),
|
|
8152
7987
|
idempotencyKey: String4.check(isMinLength(1), isMaxLength(240)),
|
|
8153
7988
|
leaseDurationSeconds: optionalKey(Int.check(isGreaterThanOrEqualTo(1), isLessThanOrEqualTo(3600))),
|
|
8154
|
-
takesVerifications: optionalKey(Boolean2)
|
|
7989
|
+
takesVerifications: optionalKey(Boolean2),
|
|
7990
|
+
heldOnly: optionalKey(Boolean2)
|
|
8155
7991
|
});
|
|
8156
7992
|
var WorkUnitHeartbeatInput = Struct({
|
|
8157
7993
|
workUnitId: Id,
|
|
@@ -8534,15 +8370,15 @@ var RunnerCapabilities = Struct({
|
|
|
8534
8370
|
versions: optionalKey(Boolean2),
|
|
8535
8371
|
compare: optionalKey(Boolean2),
|
|
8536
8372
|
command: optionalKey(Boolean2),
|
|
8537
|
-
applyChange: optionalKey(Boolean2)
|
|
8373
|
+
applyChange: optionalKey(Boolean2),
|
|
8374
|
+
readsAutoSettings: optionalKey(Boolean2)
|
|
8538
8375
|
});
|
|
8539
|
-
var
|
|
8540
|
-
var
|
|
8541
|
-
var verificationCap = (settings) => Math.min(settings.concurrency, settings.verificationConcurrency);
|
|
8376
|
+
var autoVerificationConcurrency = (cores) => Math.max(1, Math.ceil(cores / 3));
|
|
8377
|
+
var verificationCap = (settings, cores) => Math.min(settings.concurrency, settings.verificationConcurrency !== "auto" ? settings.verificationConcurrency : cores === undefined ? settings.concurrency : autoVerificationConcurrency(cores));
|
|
8542
8378
|
var PinnedImage = String4.check(isMaxLength(500), isPattern(new RegExp("^[^\\s@]+@sha256:[a-f0-9]{64}$", "u")));
|
|
8543
8379
|
var RunnerSettings = Struct({
|
|
8544
|
-
concurrency: Int.check(isGreaterThanOrEqualTo(1)
|
|
8545
|
-
verificationConcurrency: Int.check(isGreaterThanOrEqualTo(1)
|
|
8380
|
+
concurrency: Int.check(isGreaterThanOrEqualTo(1)),
|
|
8381
|
+
verificationConcurrency: Union([Literal("auto"), Int.check(isGreaterThanOrEqualTo(1))]),
|
|
8546
8382
|
sandbox: RunnerExecutionBackend,
|
|
8547
8383
|
dockerImage: NullOr(PinnedImage),
|
|
8548
8384
|
checkHosts: ArraySchema(NetworkHost).check(isMaxLength(50)),
|
|
@@ -8569,12 +8405,12 @@ var RunnerSettingsUpdate = Struct({
|
|
|
8569
8405
|
});
|
|
8570
8406
|
var RunnerAppliedSettings = Struct({
|
|
8571
8407
|
...RunnerSettings.fields,
|
|
8572
|
-
verificationConcurrency: optionalKey(
|
|
8408
|
+
verificationConcurrency: optionalKey(Int.check(isGreaterThanOrEqualTo(1))),
|
|
8573
8409
|
fullAccessAllowed: Boolean2
|
|
8574
8410
|
});
|
|
8575
8411
|
var defaultRunnerSettings = (personal) => ({
|
|
8576
8412
|
concurrency: 1,
|
|
8577
|
-
verificationConcurrency:
|
|
8413
|
+
verificationConcurrency: "auto",
|
|
8578
8414
|
sandbox: personal ? "srt" : "docker",
|
|
8579
8415
|
dockerImage: null,
|
|
8580
8416
|
checkHosts: [],
|
|
@@ -8768,6 +8604,7 @@ var RunnerRegistrationResult = Struct({
|
|
|
8768
8604
|
var RunnerHeartbeatInput = Struct({
|
|
8769
8605
|
version: optionalKey(RunnerVersion),
|
|
8770
8606
|
container: optionalKey(Boolean2),
|
|
8607
|
+
readsAutoSettings: optionalKey(Literal(true)),
|
|
8771
8608
|
problems: optionalKey(ArraySchema(RunnerProblemReport).check(isMaxLength(RunnerProblemCodes.length))),
|
|
8772
8609
|
capabilities: optionalKey(RunnerCapabilities),
|
|
8773
8610
|
labels: optionalKey(ArraySchema(String4.check(isMinLength(1))).check(isMaxLength(50))),
|
|
@@ -10995,11 +10832,11 @@ var TranscriptSearchResult = Struct({
|
|
|
10995
10832
|
total: Int
|
|
10996
10833
|
});
|
|
10997
10834
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
|
|
10998
|
-
var
|
|
10835
|
+
var TypeId8 = "~effect/http/HttpBody";
|
|
10999
10836
|
class Proto5 {
|
|
11000
|
-
[
|
|
10837
|
+
[TypeId8];
|
|
11001
10838
|
constructor() {
|
|
11002
|
-
this[
|
|
10839
|
+
this[TypeId8] = TypeId8;
|
|
11003
10840
|
}
|
|
11004
10841
|
[NodeInspectSymbol]() {
|
|
11005
10842
|
return this.toJSON();
|
|
@@ -11090,7 +10927,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
|
|
|
11090
10927
|
var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
|
|
11091
10928
|
|
|
11092
10929
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
|
|
11093
|
-
var
|
|
10930
|
+
var TypeId9 = "~effect/http/HttpClientError";
|
|
11094
10931
|
class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
|
|
11095
10932
|
constructor(props) {
|
|
11096
10933
|
if ("cause" in props.reason) {
|
|
@@ -11102,7 +10939,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
|
|
|
11102
10939
|
super(props);
|
|
11103
10940
|
}
|
|
11104
10941
|
}
|
|
11105
|
-
[
|
|
10942
|
+
[TypeId9] = TypeId9;
|
|
11106
10943
|
get request() {
|
|
11107
10944
|
return this.reason.request;
|
|
11108
10945
|
}
|
|
@@ -11206,7 +11043,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
|
|
|
11206
11043
|
}
|
|
11207
11044
|
}
|
|
11208
11045
|
|
|
11209
|
-
class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(
|
|
11046
|
+
class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
|
|
11210
11047
|
_tag: /* @__PURE__ */ tag("HttpError"),
|
|
11211
11048
|
kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
|
|
11212
11049
|
cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
|
|
@@ -11239,7 +11076,7 @@ var updateContentLength = (headers, body) => {
|
|
|
11239
11076
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
|
|
11240
11077
|
class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
|
|
11241
11078
|
}
|
|
11242
|
-
var
|
|
11079
|
+
var make26 = (url, params, hash) => try_({
|
|
11243
11080
|
try: () => {
|
|
11244
11081
|
const urlInstance = new URL(url, baseUrl());
|
|
11245
11082
|
for (let i = 0;i < params.params.length; i++) {
|
|
@@ -11270,10 +11107,10 @@ var baseUrl = () => {
|
|
|
11270
11107
|
};
|
|
11271
11108
|
|
|
11272
11109
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
|
|
11273
|
-
var
|
|
11274
|
-
var isHttpClientRequest = (u) => hasProperty(u,
|
|
11110
|
+
var TypeId10 = "~effect/http/HttpClientRequest";
|
|
11111
|
+
var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
|
|
11275
11112
|
var Proto6 = {
|
|
11276
|
-
[
|
|
11113
|
+
[TypeId10]: TypeId10,
|
|
11277
11114
|
...BaseProto,
|
|
11278
11115
|
toJSON() {
|
|
11279
11116
|
return {
|
|
@@ -11300,7 +11137,7 @@ function makeWith(method, url, urlParams, hash, headers, body) {
|
|
|
11300
11137
|
self.body = body;
|
|
11301
11138
|
return self;
|
|
11302
11139
|
}
|
|
11303
|
-
var empty6 = /* @__PURE__ */ makeWith("GET", "",
|
|
11140
|
+
var empty6 = /* @__PURE__ */ makeWith("GET", "", empty2, /* @__PURE__ */ none(), empty, empty5);
|
|
11304
11141
|
var make5 = (method) => (url, options) => modify(empty6, {
|
|
11305
11142
|
method,
|
|
11306
11143
|
url,
|
|
@@ -11362,7 +11199,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
|
|
|
11362
11199
|
var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
|
|
11363
11200
|
var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
|
|
11364
11201
|
function toUrl(self) {
|
|
11365
|
-
const r =
|
|
11202
|
+
const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
|
|
11366
11203
|
if (isSuccess(r)) {
|
|
11367
11204
|
return some(r.success);
|
|
11368
11205
|
}
|
|
@@ -11370,7 +11207,7 @@ function toUrl(self) {
|
|
|
11370
11207
|
}
|
|
11371
11208
|
|
|
11372
11209
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
|
|
11373
|
-
var
|
|
11210
|
+
var TypeId11 = "~effect/http/HttpIncomingMessage";
|
|
11374
11211
|
var schemaBodyJson = (schema, options) => {
|
|
11375
11212
|
const decode = decodeEffect(toCodecJson(schema));
|
|
11376
11213
|
const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
|
|
@@ -11389,7 +11226,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
|
|
|
11389
11226
|
var getWebSource = (self) => self[WebSourceSymbol]?.();
|
|
11390
11227
|
|
|
11391
11228
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
|
|
11392
|
-
var
|
|
11229
|
+
var TypeId12 = "~effect/http/HttpClientResponse";
|
|
11393
11230
|
var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
|
|
11394
11231
|
var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
|
|
11395
11232
|
reason: new StatusCodeError({
|
|
@@ -11400,16 +11237,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
|
|
|
11400
11237
|
}));
|
|
11401
11238
|
|
|
11402
11239
|
class WebHttpClientResponse extends Class {
|
|
11240
|
+
[TypeId11];
|
|
11403
11241
|
[TypeId12];
|
|
11404
|
-
[TypeId13];
|
|
11405
11242
|
request;
|
|
11406
11243
|
source;
|
|
11407
11244
|
constructor(request, source) {
|
|
11408
11245
|
super();
|
|
11409
11246
|
this.request = request;
|
|
11410
11247
|
this.source = source;
|
|
11248
|
+
this[TypeId11] = TypeId11;
|
|
11411
11249
|
this[TypeId12] = TypeId12;
|
|
11412
|
-
this[TypeId13] = TypeId13;
|
|
11413
11250
|
}
|
|
11414
11251
|
toJSON() {
|
|
11415
11252
|
return inspect(this, {
|
|
@@ -11581,7 +11418,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
|
|
|
11581
11418
|
};
|
|
11582
11419
|
|
|
11583
11420
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
|
|
11584
|
-
var
|
|
11421
|
+
var TypeId13 = "~effect/http/HttpClient";
|
|
11585
11422
|
var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
|
|
11586
11423
|
var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
|
|
11587
11424
|
var execute = /* @__PURE__ */ accessor("execute");
|
|
@@ -11598,7 +11435,7 @@ var makeWith2 = (postprocess, preprocess) => {
|
|
|
11598
11435
|
return self;
|
|
11599
11436
|
};
|
|
11600
11437
|
var Proto7 = {
|
|
11601
|
-
[
|
|
11438
|
+
[TypeId13]: TypeId13,
|
|
11602
11439
|
pipe() {
|
|
11603
11440
|
return pipeArguments(this, arguments);
|
|
11604
11441
|
},
|
|
@@ -11612,10 +11449,10 @@ var Proto7 = {
|
|
|
11612
11449
|
return this.execute(make5(fullMethod)(url, options));
|
|
11613
11450
|
}]))
|
|
11614
11451
|
};
|
|
11615
|
-
var
|
|
11452
|
+
var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
|
|
11616
11453
|
const scopedController = scopedRequests.get(request);
|
|
11617
11454
|
const controller = scopedController ?? new AbortController;
|
|
11618
|
-
const urlResult =
|
|
11455
|
+
const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
|
|
11619
11456
|
if (isFailure(urlResult)) {
|
|
11620
11457
|
return fail7(new HttpClientError({
|
|
11621
11458
|
reason: new InvalidUrlError({
|
|
@@ -11749,8 +11586,8 @@ class InterruptibleResponse {
|
|
|
11749
11586
|
this.original = original;
|
|
11750
11587
|
this.controller = controller;
|
|
11751
11588
|
}
|
|
11752
|
-
[TypeId13] = TypeId13;
|
|
11753
11589
|
[TypeId12] = TypeId12;
|
|
11590
|
+
[TypeId11] = TypeId11;
|
|
11754
11591
|
applyInterrupt(effect) {
|
|
11755
11592
|
return suspend3(() => {
|
|
11756
11593
|
responseRegistry.unregister(this.original);
|
|
@@ -11848,7 +11685,7 @@ var detectStreamBodySupport = () => {
|
|
|
11848
11685
|
return false;
|
|
11849
11686
|
}
|
|
11850
11687
|
};
|
|
11851
|
-
var fetch2 = /* @__PURE__ */
|
|
11688
|
+
var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
|
|
11852
11689
|
if (request.headers.upgrade !== undefined) {
|
|
11853
11690
|
return fail7(new HttpClientError({
|
|
11854
11691
|
reason: new TransportError({
|
|
@@ -11939,10 +11776,10 @@ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
|
|
|
11939
11776
|
});
|
|
11940
11777
|
var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
|
|
11941
11778
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
|
|
11942
|
-
var
|
|
11779
|
+
var TypeId14 = "~effect/socket/Socket";
|
|
11943
11780
|
var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
|
|
11944
|
-
var
|
|
11945
|
-
[
|
|
11781
|
+
var make28 = (options) => Socket.of({
|
|
11782
|
+
[TypeId14]: TypeId14,
|
|
11946
11783
|
reader: options.reader,
|
|
11947
11784
|
writer: options.writer
|
|
11948
11785
|
});
|
|
@@ -12265,7 +12102,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
|
|
|
12265
12102
|
write,
|
|
12266
12103
|
writeAll
|
|
12267
12104
|
});
|
|
12268
|
-
return succeed6(
|
|
12105
|
+
return succeed6(make28({
|
|
12269
12106
|
reader,
|
|
12270
12107
|
writer
|
|
12271
12108
|
}));
|
|
@@ -15600,7 +15437,7 @@ function getStreamSchemas(schema) {
|
|
|
15600
15437
|
}
|
|
15601
15438
|
var schema = /* @__PURE__ */ declare(isStream);
|
|
15602
15439
|
function Stream(success, error) {
|
|
15603
|
-
return
|
|
15440
|
+
return make17(schema.ast, {
|
|
15604
15441
|
[StreamSchemaTypeId]: StreamSchemaTypeId,
|
|
15605
15442
|
success,
|
|
15606
15443
|
error
|
|
@@ -15608,9 +15445,9 @@ function Stream(success, error) {
|
|
|
15608
15445
|
}
|
|
15609
15446
|
|
|
15610
15447
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
|
|
15611
|
-
var
|
|
15448
|
+
var TypeId15 = "~effect/rpc/Rpc";
|
|
15612
15449
|
var Proto8 = {
|
|
15613
|
-
[
|
|
15450
|
+
[TypeId15]: TypeId15,
|
|
15614
15451
|
pipe() {
|
|
15615
15452
|
return pipeArguments(this, arguments);
|
|
15616
15453
|
},
|
|
@@ -15719,7 +15556,7 @@ var make6 = (tag, options) => {
|
|
|
15719
15556
|
successSchema: options?.stream ? Stream(successSchema, errorSchema) : successSchema,
|
|
15720
15557
|
errorSchema: options?.stream ? Never : errorSchema,
|
|
15721
15558
|
defectSchema,
|
|
15722
|
-
annotations:
|
|
15559
|
+
annotations: empty4(),
|
|
15723
15560
|
middlewares: new Set
|
|
15724
15561
|
});
|
|
15725
15562
|
};
|
|
@@ -15777,7 +15614,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
|
|
|
15777
15614
|
var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
|
|
15778
15615
|
|
|
15779
15616
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
|
|
15780
|
-
var
|
|
15617
|
+
var TypeId16 = "~effect/rpc/RpcClientError";
|
|
15781
15618
|
|
|
15782
15619
|
class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
|
|
15783
15620
|
_tag: /* @__PURE__ */ tag("RpcClientDefect"),
|
|
@@ -15786,11 +15623,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
|
|
|
15786
15623
|
})) {
|
|
15787
15624
|
}
|
|
15788
15625
|
|
|
15789
|
-
class RpcClientError extends (/* @__PURE__ */ Error3(
|
|
15626
|
+
class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
|
|
15790
15627
|
_tag: /* @__PURE__ */ tag("RpcClientError"),
|
|
15791
15628
|
reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
|
|
15792
15629
|
})) {
|
|
15793
|
-
[
|
|
15630
|
+
[TypeId16] = TypeId16;
|
|
15794
15631
|
get message() {
|
|
15795
15632
|
return `${this.reason._tag}: ${this.reason.message}`;
|
|
15796
15633
|
}
|
|
@@ -15910,7 +15747,7 @@ var RpcGroupProto = {
|
|
|
15910
15747
|
});
|
|
15911
15748
|
},
|
|
15912
15749
|
annotateRpcs(service, value) {
|
|
15913
|
-
return this.annotateRpcsMerge(
|
|
15750
|
+
return this.annotateRpcsMerge(make15(service, value));
|
|
15914
15751
|
},
|
|
15915
15752
|
annotateMerge(context) {
|
|
15916
15753
|
return makeProto2({
|
|
@@ -15935,10 +15772,10 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
|
|
|
15935
15772
|
});
|
|
15936
15773
|
var make7 = (...rpcs) => makeProto2({
|
|
15937
15774
|
requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
|
|
15938
|
-
annotations:
|
|
15775
|
+
annotations: empty4()
|
|
15939
15776
|
});
|
|
15940
15777
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
|
|
15941
|
-
var
|
|
15778
|
+
var TypeId17 = "~effect/rpc/RpcMiddleware";
|
|
15942
15779
|
var Service = () => (id, options) => {
|
|
15943
15780
|
const limit = getStackTraceLimit();
|
|
15944
15781
|
let creationError;
|
|
@@ -15956,7 +15793,7 @@ var Service = () => (id, options) => {
|
|
|
15956
15793
|
return creationError?.stack;
|
|
15957
15794
|
}
|
|
15958
15795
|
});
|
|
15959
|
-
ServiceClass_[
|
|
15796
|
+
ServiceClass_[TypeId17] = TypeId17;
|
|
15960
15797
|
ServiceClass_.error = options?.error ?? Never;
|
|
15961
15798
|
ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
|
|
15962
15799
|
return ServiceClass;
|
|
@@ -16702,7 +16539,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
|
|
|
16702
16539
|
var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
|
|
16703
16540
|
|
|
16704
16541
|
// apps/cli/src/oauth.ts
|
|
16705
|
-
var
|
|
16542
|
+
var Scope = "openid profile email offline_access kitman:cli";
|
|
16706
16543
|
var CallbackPath = "/auth/callback";
|
|
16707
16544
|
|
|
16708
16545
|
class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
|
|
@@ -16721,7 +16558,7 @@ function buildAuthorizeUrl(input) {
|
|
|
16721
16558
|
url.searchParams.set("response_type", "code");
|
|
16722
16559
|
url.searchParams.set("client_id", input.clientId);
|
|
16723
16560
|
url.searchParams.set("redirect_uri", input.redirectUri);
|
|
16724
|
-
url.searchParams.set("scope",
|
|
16561
|
+
url.searchParams.set("scope", Scope);
|
|
16725
16562
|
url.searchParams.set("code_challenge", input.codeChallenge);
|
|
16726
16563
|
url.searchParams.set("code_challenge_method", "S256");
|
|
16727
16564
|
url.searchParams.set("state", input.state);
|
|
@@ -16781,7 +16618,7 @@ function toStoredSession(token, existingRefreshToken) {
|
|
|
16781
16618
|
}
|
|
16782
16619
|
function startLoopbackServer(input) {
|
|
16783
16620
|
return gen(function* () {
|
|
16784
|
-
const code = yield*
|
|
16621
|
+
const code = yield* make16();
|
|
16785
16622
|
const context2 = yield* context();
|
|
16786
16623
|
const runSyncExit = runSyncExitWith(context2);
|
|
16787
16624
|
const server = yield* acquireRelease(sync2(() => Bun.serve({
|
|
@@ -17329,7 +17166,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
17329
17166
|
let lastId = 0;
|
|
17330
17167
|
let lost = false;
|
|
17331
17168
|
const notifications = yield* unbounded2();
|
|
17332
|
-
const ended = yield*
|
|
17169
|
+
const ended = yield* make16();
|
|
17333
17170
|
const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
|
|
17334
17171
|
onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
|
|
17335
17172
|
onNone: () => void_3,
|
|
@@ -17356,7 +17193,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
17356
17193
|
if (lost)
|
|
17357
17194
|
return yield* new HerdrCoreConnectionLost2({ method });
|
|
17358
17195
|
const id = ++lastId;
|
|
17359
|
-
const deferred = yield*
|
|
17196
|
+
const deferred = yield* make16();
|
|
17360
17197
|
pending.set(id, { method, deferred });
|
|
17361
17198
|
yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
|
|
17362
17199
|
return yield* _await(deferred);
|
|
@@ -17430,7 +17267,7 @@ var herdrCoreOver = (transport) => ({
|
|
|
17430
17267
|
return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
|
|
17431
17268
|
};
|
|
17432
17269
|
const snapshot = { type: "snapshot", terminals: subscribed.terminals };
|
|
17433
|
-
return concat(
|
|
17270
|
+
return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
|
|
17434
17271
|
}))
|
|
17435
17272
|
});
|
|
17436
17273
|
var spawnedTransport = (env) => gen(function* () {
|
|
@@ -17446,7 +17283,7 @@ var spawnedTransport = (env) => gen(function* () {
|
|
|
17446
17283
|
return {
|
|
17447
17284
|
write: (line) => asVoid(offer(input, encoder.encode(`${line}
|
|
17448
17285
|
`))),
|
|
17449
|
-
lines: handle.stdout.pipe(decodeText, splitLines, catchCause(() =>
|
|
17286
|
+
lines: handle.stdout.pipe(decodeText, splitLines, catchCause(() => empty3))
|
|
17450
17287
|
};
|
|
17451
17288
|
});
|
|
17452
17289
|
var coreEnv = (options) => {
|
|
@@ -17521,7 +17358,7 @@ var runProcess2 = (argv, options) => gen(function* () {
|
|
|
17521
17358
|
const spawner = yield* ChildProcessSpawner;
|
|
17522
17359
|
const [command, ...args] = argv;
|
|
17523
17360
|
const handle = yield* spawner.spawn(make3(command, args, {
|
|
17524
|
-
stdin: options.stdin === undefined ? "ignore" :
|
|
17361
|
+
stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
|
|
17525
17362
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
17526
17363
|
env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
|
|
17527
17364
|
}));
|
|
@@ -17995,7 +17832,8 @@ function herdrRunnerCapabilities2(input) {
|
|
|
17995
17832
|
versions: true,
|
|
17996
17833
|
compare: true,
|
|
17997
17834
|
command: true,
|
|
17998
|
-
applyChange: true
|
|
17835
|
+
applyChange: true,
|
|
17836
|
+
readsAutoSettings: true
|
|
17999
17837
|
};
|
|
18000
17838
|
}
|
|
18001
17839
|
function assertHerdrRunnerCapability2(capabilities) {
|
|
@@ -18041,4 +17879,4 @@ function serviceChecks(declaration) {
|
|
|
18041
17879
|
return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
|
|
18042
17880
|
}
|
|
18043
17881
|
|
|
18044
|
-
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, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, RepoBindingProvider, findForbiddenRepoBindingSecretPath, releaseVersion, ReleaseScope, isBranchName, baseBranchLayerWords, repositoryKey, loopInputFields, InputSourceLayers, InputSource, inputSourceWords, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, tokensSpent, tokenCountWords, endsFailing, outlineText, anyFailure, goesOn, outlineMermaid, runOutlineText, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, loopSafeTextMaxLength, recommendedDefault, reportedModelName, RunDisplayStates, RunWaitUntils, calverNumbers, compareCalver, DeliveryMode, defaultDeployCommand, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend,
|
|
17882
|
+
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, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, RepoBindingProvider, findForbiddenRepoBindingSecretPath, releaseVersion, ReleaseScope, isBranchName, baseBranchLayerWords, repositoryKey, loopInputFields, InputSourceLayers, InputSource, inputSourceWords, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, tokensSpent, tokenCountWords, endsFailing, outlineText, anyFailure, goesOn, outlineMermaid, runOutlineText, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, loopSafeTextMaxLength, recommendedDefault, reportedModelName, RunDisplayStates, RunWaitUntils, calverNumbers, compareCalver, DeliveryMode, defaultDeployCommand, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, verificationCap, PinnedImage, RunnerSettings, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, DeployTargetName, DeployRef, DeployStatus, runsDeployedTag, Deploy, DeployTargetRunning, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, ClaimResult, mergeTurnResource, 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, runTicketsPayload, runTicketResult, ticketOutcomeLabels, runGraphLayout, KitDigest, defaultKitName, LoopCapabilities, LoopManifest, CallableLoop, AgentDeclaration, StepManifest, KitDeclarations, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepLogDirFromEnv, 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, WorkAvailable, 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 };
|