@kitman-sh/cli 0.16.0 → 0.17.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-rv6d2r5v.js → chunk-0f67q0tf.js} +9 -9
- package/dist/{chunk-gpcrp0tc.js → chunk-0wqkz371.js} +3 -3
- package/dist/{chunk-cqejv8e6.js → chunk-2928qj8m.js} +51 -30
- package/dist/{chunk-hbm0hybe.js → chunk-2sazk478.js} +4 -4
- package/dist/{chunk-f02v4cdn.js → chunk-5me7tnrw.js} +3 -3
- package/dist/{chunk-gt7gk0d4.js → chunk-829r4kya.js} +4 -4
- package/dist/{chunk-5jt8b98c.js → chunk-8r1a93rc.js} +4 -4
- package/dist/{chunk-djdhep8n.js → chunk-9a6wbk11.js} +3 -3
- package/dist/{chunk-r58fc2x9.js → chunk-ebpjd7kg.js} +6 -6
- package/dist/{chunk-xc76s9kk.js → chunk-ekyj0bps.js} +7 -7
- package/dist/{chunk-4g7cj90y.js → chunk-g3jqqpky.js} +9 -9
- package/dist/{chunk-zgbjha6j.js → chunk-j37p2y71.js} +190 -350
- package/dist/{chunk-9n6hd7es.js → chunk-jg1pjhba.js} +21 -21
- package/dist/{chunk-yg34g1m8.js → chunk-kx8rpa62.js} +5 -5
- package/dist/{chunk-gwzzacep.js → chunk-m1qp6swh.js} +1 -1
- package/dist/{chunk-n9fhwgzm.js → chunk-nf9rfrvv.js} +34 -34
- package/dist/{chunk-23nvmnkp.js → chunk-nqh0pbgt.js} +1 -1
- package/dist/{chunk-f2y0z04q.js → chunk-pd3azxev.js} +1 -1
- package/dist/{chunk-4v691rg5.js → chunk-pnckztvv.js} +20 -20
- package/dist/{chunk-1scjh42j.js → chunk-qjxgew0k.js} +2 -2
- package/dist/{chunk-x83q18w0.js → chunk-r2kzvdrg.js} +1 -1
- package/dist/{chunk-g6nhny28.js → chunk-r3d2yjsh.js} +25 -25
- package/dist/{chunk-4pq5vq59.js → chunk-vh2a72d1.js} +14 -60
- package/dist/{chunk-rfnasm3c.js → chunk-y64ssczv.js} +289 -71
- package/dist/{chunk-ppdf5m4j.js → chunk-z59pvcbk.js} +187 -178
- package/dist/{chunk-sd8b4k1t.js → chunk-zy21drtv.js} +2 -2
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -62,11 +62,9 @@ import {
|
|
|
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,
|
|
@@ -86,12 +84,12 @@ import {
|
|
|
86
84
|
DisablePropagation,
|
|
87
85
|
sync,
|
|
88
86
|
map7,
|
|
87
|
+
ClockRef,
|
|
88
|
+
currentTimeMillis2,
|
|
89
89
|
ConsoleRef,
|
|
90
90
|
succeed3,
|
|
91
91
|
fail4,
|
|
92
|
-
void_2,
|
|
93
92
|
isSuccess2,
|
|
94
|
-
isFailure2,
|
|
95
93
|
makeUnsafe5,
|
|
96
94
|
make15,
|
|
97
95
|
_await,
|
|
@@ -101,12 +99,8 @@ import {
|
|
|
101
99
|
succeed4,
|
|
102
100
|
doneUnsafe,
|
|
103
101
|
TracerTimingEnabled,
|
|
104
|
-
Scope,
|
|
105
|
-
makeUnsafe6,
|
|
106
102
|
provide,
|
|
107
|
-
addFinalizerExit,
|
|
108
103
|
addFinalizer,
|
|
109
|
-
close,
|
|
110
104
|
succeed5,
|
|
111
105
|
effect,
|
|
112
106
|
effectContext,
|
|
@@ -158,7 +152,6 @@ import {
|
|
|
158
152
|
tapCause,
|
|
159
153
|
retry,
|
|
160
154
|
ignore,
|
|
161
|
-
ignoreCause,
|
|
162
155
|
orElseSucceed,
|
|
163
156
|
timeout,
|
|
164
157
|
timeoutOrElse,
|
|
@@ -170,7 +163,6 @@ import {
|
|
|
170
163
|
context,
|
|
171
164
|
contextWith,
|
|
172
165
|
provide3,
|
|
173
|
-
provideContext2,
|
|
174
166
|
serviceOption,
|
|
175
167
|
updateContext,
|
|
176
168
|
provideService,
|
|
@@ -181,7 +173,6 @@ import {
|
|
|
181
173
|
addFinalizer2,
|
|
182
174
|
ensuring2,
|
|
183
175
|
onError,
|
|
184
|
-
onExit,
|
|
185
176
|
cached,
|
|
186
177
|
interrupt3,
|
|
187
178
|
interruptible,
|
|
@@ -193,7 +184,6 @@ import {
|
|
|
193
184
|
withParentSpan,
|
|
194
185
|
forkScoped,
|
|
195
186
|
runFork,
|
|
196
|
-
runForkWith,
|
|
197
187
|
runPromise,
|
|
198
188
|
runPromiseWith,
|
|
199
189
|
runSync,
|
|
@@ -203,7 +193,12 @@ import {
|
|
|
203
193
|
clockWith,
|
|
204
194
|
logError,
|
|
205
195
|
effectify,
|
|
196
|
+
toNumber,
|
|
197
|
+
bytes,
|
|
206
198
|
decode,
|
|
199
|
+
isRedacted,
|
|
200
|
+
make16,
|
|
201
|
+
value,
|
|
207
202
|
defaultParseOptions,
|
|
208
203
|
omit,
|
|
209
204
|
map10,
|
|
@@ -213,7 +208,7 @@ import {
|
|
|
213
208
|
decodeEffect,
|
|
214
209
|
decodeUnknownOption,
|
|
215
210
|
decodeOption,
|
|
216
|
-
|
|
211
|
+
make17,
|
|
217
212
|
isSchema,
|
|
218
213
|
optionalKey,
|
|
219
214
|
optional,
|
|
@@ -274,23 +269,16 @@ import {
|
|
|
274
269
|
decodeJsonStringOption,
|
|
275
270
|
encodeJsonStringSync,
|
|
276
271
|
encodePrettyJsonString
|
|
277
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-y64ssczv.js";
|
|
278
273
|
import {
|
|
279
274
|
map,
|
|
280
275
|
makeEquivalence,
|
|
281
|
-
Clock,
|
|
282
|
-
currentTimeMillis,
|
|
283
|
-
bytes,
|
|
284
|
-
join,
|
|
285
|
-
interrupt,
|
|
286
|
-
getCurrent,
|
|
287
|
-
runIn,
|
|
288
276
|
BadArgument,
|
|
289
277
|
systemError,
|
|
290
278
|
badArgument,
|
|
291
279
|
makeUnsafe2,
|
|
280
|
+
make7,
|
|
292
281
|
make8,
|
|
293
|
-
make9,
|
|
294
282
|
sliding,
|
|
295
283
|
unbounded2,
|
|
296
284
|
offer,
|
|
@@ -306,6 +294,8 @@ import {
|
|
|
306
294
|
isSink,
|
|
307
295
|
fromChannel,
|
|
308
296
|
drain,
|
|
297
|
+
make9,
|
|
298
|
+
get3,
|
|
309
299
|
isStream,
|
|
310
300
|
fromChannel2,
|
|
311
301
|
callback,
|
|
@@ -346,21 +336,18 @@ import {
|
|
|
346
336
|
optionalEnv,
|
|
347
337
|
harnessesUnsupportedInSrt2,
|
|
348
338
|
harnessesUnsupportedInDocker2
|
|
349
|
-
} from "./chunk-
|
|
339
|
+
} from "./chunk-z59pvcbk.js";
|
|
350
340
|
import {
|
|
351
|
-
isRedacted,
|
|
352
|
-
make,
|
|
353
|
-
value,
|
|
354
341
|
ExitCode,
|
|
355
342
|
ProcessId,
|
|
356
343
|
makeHandle,
|
|
357
|
-
|
|
344
|
+
make,
|
|
358
345
|
ChildProcessSpawner,
|
|
359
346
|
display,
|
|
360
|
-
|
|
347
|
+
make2,
|
|
361
348
|
parseFdName,
|
|
362
349
|
fdName
|
|
363
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-vh2a72d1.js";
|
|
364
351
|
import {
|
|
365
352
|
isDateTime,
|
|
366
353
|
Numeric,
|
|
@@ -373,11 +360,14 @@ import {
|
|
|
373
360
|
SecretScope,
|
|
374
361
|
SecretHosts,
|
|
375
362
|
isSecretReference
|
|
376
|
-
} from "./chunk-
|
|
377
|
-
|
|
363
|
+
} from "./chunk-r2kzvdrg.js";
|
|
378
364
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
379
365
|
var makeEquivalence3 = Tuple;
|
|
380
366
|
|
|
367
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
|
|
368
|
+
var Clock = ClockRef;
|
|
369
|
+
var currentTimeMillis = currentTimeMillis2;
|
|
370
|
+
|
|
381
371
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
|
|
382
372
|
var TypeId = "~effect/DateTime";
|
|
383
373
|
var TimeZoneTypeId = "~effect/DateTime/TimeZone";
|
|
@@ -512,7 +502,7 @@ var fromDateUnsafe = (date) => {
|
|
|
512
502
|
}
|
|
513
503
|
return makeUtc(epochMillis);
|
|
514
504
|
};
|
|
515
|
-
var
|
|
505
|
+
var makeUnsafe6 = (input) => {
|
|
516
506
|
if (isDateTime2(input)) {
|
|
517
507
|
return input;
|
|
518
508
|
} else if (input instanceof Date) {
|
|
@@ -532,7 +522,7 @@ var makeUnsafe7 = (input) => {
|
|
|
532
522
|
var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
|
|
533
523
|
var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
|
|
534
524
|
var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
|
|
535
|
-
var
|
|
525
|
+
var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
|
|
536
526
|
var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
|
|
537
527
|
var nowUnsafe = () => makeUtc(Date.now());
|
|
538
528
|
var toDateUtc = (self) => new Date(self.epochMilliseconds);
|
|
@@ -639,7 +629,7 @@ class Metric$ {
|
|
|
639
629
|
}
|
|
640
630
|
hook(context) {
|
|
641
631
|
const key = this.key(context);
|
|
642
|
-
const registry =
|
|
632
|
+
const registry = get4(context, MetricRegistry);
|
|
643
633
|
let metadata = registry.get(key);
|
|
644
634
|
if (isUndefined(metadata)) {
|
|
645
635
|
metadata = this.metadata(this.createHooks());
|
|
@@ -648,11 +638,11 @@ class Metric$ {
|
|
|
648
638
|
return metadata.hooks;
|
|
649
639
|
}
|
|
650
640
|
removeUnsafe(context) {
|
|
651
|
-
|
|
641
|
+
get4(context, MetricRegistry).delete(this.key(context));
|
|
652
642
|
}
|
|
653
643
|
registerUnsafe(context, hooks) {
|
|
654
644
|
const key = this.key(context);
|
|
655
|
-
const registry =
|
|
645
|
+
const registry = get4(context, MetricRegistry);
|
|
656
646
|
const metadata = this.metadata({
|
|
657
647
|
get: hooks.get,
|
|
658
648
|
update: constVoid,
|
|
@@ -668,7 +658,7 @@ class Metric$ {
|
|
|
668
658
|
};
|
|
669
659
|
}
|
|
670
660
|
key(context) {
|
|
671
|
-
const extraAttributes =
|
|
661
|
+
const extraAttributes = get4(context, CurrentMetricAttributes);
|
|
672
662
|
if (extraAttributes !== this.#extraAttributes) {
|
|
673
663
|
this.#extraAttributes = extraAttributes;
|
|
674
664
|
const merged = mergeAttributes(this.attributes, extraAttributes);
|
|
@@ -911,160 +901,9 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
|
|
|
911
901
|
// node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
|
|
912
902
|
var runMain = runMain2;
|
|
913
903
|
|
|
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
904
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
|
|
1066
|
-
var makeUnsafe =
|
|
1067
|
-
var
|
|
905
|
+
var makeUnsafe = makeUnsafe6;
|
|
906
|
+
var make18 = make3;
|
|
1068
907
|
var now2 = now;
|
|
1069
908
|
var nowUnsafe2 = nowUnsafe;
|
|
1070
909
|
var toDateUtc2 = toDateUtc;
|
|
@@ -1279,7 +1118,7 @@ var readableToPullUnsafe = (options) => {
|
|
|
1279
1118
|
const readable = options.readable;
|
|
1280
1119
|
const chunkSize = options.chunkSize ?? 4096;
|
|
1281
1120
|
const closeOnDone = options.closeOnDone ?? true;
|
|
1282
|
-
const exit = options.exit ??
|
|
1121
|
+
const exit = options.exit ?? make7(undefined);
|
|
1283
1122
|
const latch = options.latch ?? makeUnsafe2(false);
|
|
1284
1123
|
function onReadable() {
|
|
1285
1124
|
latch.openUnsafe();
|
|
@@ -1383,7 +1222,7 @@ var taskkill = (childProcess, onExit = () => {}) => {
|
|
|
1383
1222
|
windowsHide: true
|
|
1384
1223
|
}, onExit);
|
|
1385
1224
|
};
|
|
1386
|
-
var
|
|
1225
|
+
var make19 = /* @__PURE__ */ gen(function* () {
|
|
1387
1226
|
const fs = yield* FileSystem;
|
|
1388
1227
|
const path = yield* Path;
|
|
1389
1228
|
const resolveWorkingDirectory = fnUntraced(function* (options) {
|
|
@@ -1843,7 +1682,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
|
|
|
1843
1682
|
const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
|
|
1844
1683
|
const toOption = options.to ?? "stdin";
|
|
1845
1684
|
if (toOption === "stdin") {
|
|
1846
|
-
handles.push(yield* spawnCommand(
|
|
1685
|
+
handles.push(yield* spawnCommand(make2(command.command, command.args, {
|
|
1847
1686
|
...command.options,
|
|
1848
1687
|
stdin: {
|
|
1849
1688
|
...stdinConfig,
|
|
@@ -1863,7 +1702,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
|
|
|
1863
1702
|
type: "input",
|
|
1864
1703
|
stream: sourceStream
|
|
1865
1704
|
};
|
|
1866
|
-
handles.push(yield* spawnCommand(
|
|
1705
|
+
handles.push(yield* spawnCommand(make2(command.command, command.args, {
|
|
1867
1706
|
...command.options,
|
|
1868
1707
|
additionalFds: {
|
|
1869
1708
|
...existingFds,
|
|
@@ -1871,7 +1710,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
|
|
|
1871
1710
|
}
|
|
1872
1711
|
})));
|
|
1873
1712
|
} else {
|
|
1874
|
-
handles.push(yield* spawnCommand(
|
|
1713
|
+
handles.push(yield* spawnCommand(make2(command.command, command.args, {
|
|
1875
1714
|
...command.options,
|
|
1876
1715
|
stdin: {
|
|
1877
1716
|
...stdinConfig,
|
|
@@ -1910,9 +1749,9 @@ var make20 = /* @__PURE__ */ gen(function* () {
|
|
|
1910
1749
|
}
|
|
1911
1750
|
}
|
|
1912
1751
|
});
|
|
1913
|
-
return
|
|
1752
|
+
return make(spawnCommand);
|
|
1914
1753
|
});
|
|
1915
|
-
var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner,
|
|
1754
|
+
var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
|
|
1916
1755
|
var flattenCommand = (command) => {
|
|
1917
1756
|
const commands = [];
|
|
1918
1757
|
const pipeOptions = [];
|
|
@@ -2473,10 +2312,10 @@ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
|
2473
2312
|
var layer2 = layer7;
|
|
2474
2313
|
|
|
2475
2314
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stdio.js
|
|
2476
|
-
var
|
|
2477
|
-
var Stdio = /* @__PURE__ */ Service2(
|
|
2478
|
-
var
|
|
2479
|
-
[
|
|
2315
|
+
var TypeId3 = "~effect/Stdio";
|
|
2316
|
+
var Stdio = /* @__PURE__ */ Service2(TypeId3);
|
|
2317
|
+
var make20 = (options) => ({
|
|
2318
|
+
[TypeId3]: TypeId3,
|
|
2480
2319
|
stdinIsTerminal: succeed6(false),
|
|
2481
2320
|
stdoutIsTerminal: succeed6(false),
|
|
2482
2321
|
stderrIsTerminal: succeed6(false),
|
|
@@ -2484,7 +2323,7 @@ var make21 = (options) => ({
|
|
|
2484
2323
|
});
|
|
2485
2324
|
|
|
2486
2325
|
// 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__ */
|
|
2326
|
+
var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make20({
|
|
2488
2327
|
args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
|
|
2489
2328
|
stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
|
|
2490
2329
|
stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
|
|
@@ -2684,7 +2523,7 @@ var makeUuid = (bytes, randomBytes, format) => {
|
|
|
2684
2523
|
const uuid = bytes(randomBytes(16));
|
|
2685
2524
|
return format === "bytes" ? uuid : stringify(uuid);
|
|
2686
2525
|
};
|
|
2687
|
-
var
|
|
2526
|
+
var make21 = (randomBytes) => {
|
|
2688
2527
|
const randomBytesChecked = (size) => {
|
|
2689
2528
|
checkSize(size);
|
|
2690
2529
|
return randomBytes(size);
|
|
@@ -2718,7 +2557,7 @@ var fillRandom = (crypto2, size) => {
|
|
|
2718
2557
|
}
|
|
2719
2558
|
return bytes;
|
|
2720
2559
|
};
|
|
2721
|
-
var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(
|
|
2560
|
+
var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make21((size) => fillRandom(crypto2, size)))));
|
|
2722
2561
|
var randomBytesUnsafe = (size) => {
|
|
2723
2562
|
checkSize(size);
|
|
2724
2563
|
return fillRandom(globalThis.crypto, size);
|
|
@@ -2726,10 +2565,10 @@ var randomBytesUnsafe = (size) => {
|
|
|
2726
2565
|
var uuidV4Unsafe = (options) => makeUuid(v4Bytes, randomBytesUnsafe, options?.format);
|
|
2727
2566
|
|
|
2728
2567
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
|
|
2729
|
-
var
|
|
2568
|
+
var TypeId4 = "~effect/http/Cookies";
|
|
2730
2569
|
var CookieTypeId = "~effect/http/Cookies/Cookie";
|
|
2731
2570
|
var Proto2 = {
|
|
2732
|
-
[
|
|
2571
|
+
[TypeId4]: TypeId4,
|
|
2733
2572
|
...BaseProto,
|
|
2734
2573
|
toJSON() {
|
|
2735
2574
|
return {
|
|
@@ -2908,14 +2747,14 @@ var tryDecodeURIComponent = (str) => {
|
|
|
2908
2747
|
};
|
|
2909
2748
|
|
|
2910
2749
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
|
|
2911
|
-
var
|
|
2750
|
+
var TypeId5 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
|
|
2912
2751
|
var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
|
|
2913
|
-
[
|
|
2914
|
-
value:
|
|
2752
|
+
[TypeId5]: {
|
|
2753
|
+
value: TypeId5
|
|
2915
2754
|
},
|
|
2916
2755
|
[symbolRedactable]: {
|
|
2917
2756
|
value(context) {
|
|
2918
|
-
return redact2(this,
|
|
2757
|
+
return redact2(this, get4(context, CurrentRedactedNames));
|
|
2919
2758
|
}
|
|
2920
2759
|
},
|
|
2921
2760
|
toJSON: {
|
|
@@ -2940,7 +2779,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
|
|
|
2940
2779
|
value: BaseProto[NodeInspectSymbol]
|
|
2941
2780
|
}
|
|
2942
2781
|
});
|
|
2943
|
-
var
|
|
2782
|
+
var make22 = (input) => Object.assign(Object.create(Proto3), input);
|
|
2944
2783
|
var Equivalence2 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
|
|
2945
2784
|
var empty = /* @__PURE__ */ Object.create(Proto3);
|
|
2946
2785
|
var fromInput = (input) => {
|
|
@@ -2965,21 +2804,21 @@ var fromInput = (input) => {
|
|
|
2965
2804
|
};
|
|
2966
2805
|
var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto3);
|
|
2967
2806
|
var set = /* @__PURE__ */ dual(3, (self, key, value) => {
|
|
2968
|
-
const out =
|
|
2807
|
+
const out = make22(self);
|
|
2969
2808
|
out[key.toLowerCase()] = value;
|
|
2970
2809
|
return out;
|
|
2971
2810
|
});
|
|
2972
|
-
var setAll = /* @__PURE__ */ dual(2, (self, headers) =>
|
|
2811
|
+
var setAll = /* @__PURE__ */ dual(2, (self, headers) => make22({
|
|
2973
2812
|
...self,
|
|
2974
2813
|
...fromInput(headers)
|
|
2975
2814
|
}));
|
|
2976
2815
|
var merge = /* @__PURE__ */ dual(2, (self, headers) => {
|
|
2977
|
-
const out =
|
|
2816
|
+
const out = make22(self);
|
|
2978
2817
|
Object.assign(out, headers);
|
|
2979
2818
|
return out;
|
|
2980
2819
|
});
|
|
2981
2820
|
var remove2 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
2982
|
-
const out =
|
|
2821
|
+
const out = make22(self);
|
|
2983
2822
|
delete out[key.toLowerCase()];
|
|
2984
2823
|
return out;
|
|
2985
2824
|
});
|
|
@@ -2991,12 +2830,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
|
2991
2830
|
if (typeof key === "string") {
|
|
2992
2831
|
const k = key.toLowerCase();
|
|
2993
2832
|
if (k in self) {
|
|
2994
|
-
out[k] =
|
|
2833
|
+
out[k] = make16(self[k]);
|
|
2995
2834
|
}
|
|
2996
2835
|
} else {
|
|
2997
2836
|
for (const name in self) {
|
|
2998
2837
|
if (name.search(key) !== -1) {
|
|
2999
|
-
out[name] =
|
|
2838
|
+
out[name] = make16(self[name]);
|
|
3000
2839
|
}
|
|
3001
2840
|
}
|
|
3002
2841
|
}
|
|
@@ -3036,18 +2875,18 @@ var bodyDecoder = /* @__PURE__ */ new TextDecoder("utf-8", {
|
|
|
3036
2875
|
var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(/^\?/, "%3F"));
|
|
3037
2876
|
|
|
3038
2877
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/UrlParams.js
|
|
3039
|
-
var
|
|
3040
|
-
var isUrlParams = (u) => hasProperty(u,
|
|
2878
|
+
var TypeId6 = "~effect/http/UrlParams";
|
|
2879
|
+
var isUrlParams = (u) => hasProperty(u, TypeId6);
|
|
3041
2880
|
var Proto4 = {
|
|
3042
2881
|
...PipeInspectableProto,
|
|
3043
|
-
[
|
|
2882
|
+
[TypeId6]: TypeId6,
|
|
3044
2883
|
[Symbol.iterator]() {
|
|
3045
2884
|
return this.params[Symbol.iterator]();
|
|
3046
2885
|
},
|
|
3047
2886
|
[symbolRedactable](context) {
|
|
3048
2887
|
return {
|
|
3049
2888
|
_id: "UrlParams",
|
|
3050
|
-
params: Object.fromEntries(redact3(this,
|
|
2889
|
+
params: Object.fromEntries(redact3(this, get4(context, CurrentRedactedNames2)))
|
|
3051
2890
|
};
|
|
3052
2891
|
},
|
|
3053
2892
|
toJSON() {
|
|
@@ -3060,7 +2899,7 @@ var Proto4 = {
|
|
|
3060
2899
|
return array(this.params.flat());
|
|
3061
2900
|
}
|
|
3062
2901
|
};
|
|
3063
|
-
var
|
|
2902
|
+
var make23 = (params) => {
|
|
3064
2903
|
const self = Object.create(Proto4);
|
|
3065
2904
|
self.params = params;
|
|
3066
2905
|
return self;
|
|
@@ -3079,7 +2918,7 @@ var fromInput2 = (input) => {
|
|
|
3079
2918
|
out.push(parsed[i]);
|
|
3080
2919
|
}
|
|
3081
2920
|
}
|
|
3082
|
-
return
|
|
2921
|
+
return make23(out);
|
|
3083
2922
|
};
|
|
3084
2923
|
var fromInputNested = (input) => {
|
|
3085
2924
|
const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
|
|
@@ -3105,7 +2944,7 @@ var fromInputNested = (input) => {
|
|
|
3105
2944
|
var coerce = (value) => isRedacted(value) ? value : String(value);
|
|
3106
2945
|
var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
|
|
3107
2946
|
var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
|
|
3108
|
-
var empty4 = /* @__PURE__ */
|
|
2947
|
+
var empty4 = /* @__PURE__ */ make23([]);
|
|
3109
2948
|
var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
3110
2949
|
const params = fromInput2(input).params.slice();
|
|
3111
2950
|
const keys = new Set;
|
|
@@ -3117,12 +2956,12 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
|
3117
2956
|
continue;
|
|
3118
2957
|
params.push(self.params[i]);
|
|
3119
2958
|
}
|
|
3120
|
-
return
|
|
2959
|
+
return make23(params);
|
|
3121
2960
|
});
|
|
3122
2961
|
var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
|
|
3123
2962
|
var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
3124
2963
|
const patterns = Array.isArray(key) ? key : [key];
|
|
3125
|
-
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ?
|
|
2964
|
+
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
|
|
3126
2965
|
});
|
|
3127
2966
|
var isRedactedName2 = isRedactedName;
|
|
3128
2967
|
var redactUrl = (url, redactedNames = currentRedactedNames()) => {
|
|
@@ -3173,13 +3012,13 @@ var decodeQueryKey = (key) => {
|
|
|
3173
3012
|
return key;
|
|
3174
3013
|
}
|
|
3175
3014
|
};
|
|
3176
|
-
var currentRedactedNames = () =>
|
|
3015
|
+
var currentRedactedNames = () => get4(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
|
|
3177
3016
|
var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
|
|
3178
3017
|
defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
|
|
3179
3018
|
});
|
|
3180
3019
|
|
|
3181
3020
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Terminal.js
|
|
3182
|
-
var
|
|
3021
|
+
var TypeId7 = "~effect/Terminal";
|
|
3183
3022
|
var QuitErrorTypeId = "~effect/Terminal/QuitError";
|
|
3184
3023
|
|
|
3185
3024
|
class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
|
|
@@ -3188,17 +3027,17 @@ class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
|
|
|
3188
3027
|
[QuitErrorTypeId] = QuitErrorTypeId;
|
|
3189
3028
|
}
|
|
3190
3029
|
var Terminal = /* @__PURE__ */ Service2("effect/Terminal");
|
|
3191
|
-
var
|
|
3030
|
+
var make24 = (impl) => Terminal.of({
|
|
3192
3031
|
...impl,
|
|
3193
|
-
[
|
|
3032
|
+
[TypeId7]: TypeId7
|
|
3194
3033
|
});
|
|
3195
3034
|
|
|
3196
3035
|
// node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
|
|
3197
3036
|
import * as readline from "readline";
|
|
3198
|
-
var
|
|
3037
|
+
var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
|
|
3199
3038
|
const stdin = process.stdin;
|
|
3200
3039
|
const stdout = process.stdout;
|
|
3201
|
-
const lines = yield*
|
|
3040
|
+
const lines = yield* make8();
|
|
3202
3041
|
let inputEnded = stdin.readableEnded;
|
|
3203
3042
|
let readlineActive = false;
|
|
3204
3043
|
const onStdinEnd = () => {
|
|
@@ -3209,7 +3048,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3209
3048
|
};
|
|
3210
3049
|
stdin.once("end", onStdinEnd);
|
|
3211
3050
|
yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
|
|
3212
|
-
const rlRef = yield*
|
|
3051
|
+
const rlRef = yield* make9({
|
|
3213
3052
|
acquire: acquireRelease(sync2(() => {
|
|
3214
3053
|
const rl = readline.createInterface({
|
|
3215
3054
|
input: stdin,
|
|
@@ -3248,7 +3087,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3248
3087
|
if (stdin.isTTY)
|
|
3249
3088
|
stdin.setRawMode(enabled);
|
|
3250
3089
|
});
|
|
3251
|
-
const rawModeRef = yield*
|
|
3090
|
+
const rawModeRef = yield* make9({
|
|
3252
3091
|
acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
|
|
3253
3092
|
idleTimeToLive: "10 millis"
|
|
3254
3093
|
});
|
|
@@ -3269,7 +3108,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3269
3108
|
return queue;
|
|
3270
3109
|
});
|
|
3271
3110
|
const readInput = gen(function* () {
|
|
3272
|
-
const queue = yield*
|
|
3111
|
+
const queue = yield* make8();
|
|
3273
3112
|
const handleKeypress = (s, k) => {
|
|
3274
3113
|
const userInput = {
|
|
3275
3114
|
input: fromUndefinedOr(s),
|
|
@@ -3299,14 +3138,14 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3299
3138
|
if (inputEnded) {
|
|
3300
3139
|
handleEnd();
|
|
3301
3140
|
} else {
|
|
3302
|
-
yield*
|
|
3303
|
-
yield*
|
|
3141
|
+
yield* get3(rlRef);
|
|
3142
|
+
yield* get3(rawModeRef);
|
|
3304
3143
|
stdin.once("end", handleEnd);
|
|
3305
3144
|
}
|
|
3306
3145
|
return queue;
|
|
3307
3146
|
});
|
|
3308
3147
|
const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
|
|
3309
|
-
onNone: () => scoped(andThen2(
|
|
3148
|
+
onNone: () => scoped(andThen2(get3(rlRef), take(lines))),
|
|
3310
3149
|
onSome: succeed6
|
|
3311
3150
|
})), mapError2(() => new QuitError({}))));
|
|
3312
3151
|
const display = (prompt) => uninterruptible(callback3((resume) => {
|
|
@@ -3317,7 +3156,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3317
3156
|
cause: err
|
|
3318
3157
|
}))));
|
|
3319
3158
|
}));
|
|
3320
|
-
return
|
|
3159
|
+
return make24({
|
|
3321
3160
|
columns,
|
|
3322
3161
|
rows,
|
|
3323
3162
|
size,
|
|
@@ -3326,7 +3165,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3326
3165
|
display
|
|
3327
3166
|
});
|
|
3328
3167
|
});
|
|
3329
|
-
var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */
|
|
3168
|
+
var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make25(defaultShouldQuit));
|
|
3330
3169
|
function defaultShouldQuit(input) {
|
|
3331
3170
|
const key = input.key;
|
|
3332
3171
|
return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
|
|
@@ -3353,7 +3192,7 @@ function toDate(input) {
|
|
|
3353
3192
|
return toDateUtc2(makeUnsafe(input));
|
|
3354
3193
|
}
|
|
3355
3194
|
function parseDate(input) {
|
|
3356
|
-
return getOrUndefined(map4(
|
|
3195
|
+
return getOrUndefined(map4(make18(input), toDateUtc2));
|
|
3357
3196
|
}
|
|
3358
3197
|
function toIso(input) {
|
|
3359
3198
|
return formatIso(makeUnsafe(input));
|
|
@@ -7892,6 +7731,7 @@ var ApprovedCheck = Struct({
|
|
|
7892
7731
|
workingDirectory: optionalKey(String4.check(isMinLength(1), isMaxLength(500))),
|
|
7893
7732
|
suggested: optionalKey(Boolean2)
|
|
7894
7733
|
});
|
|
7734
|
+
var defaultDeployCommand = { name: "deploy", command: ".kitman/deploy" };
|
|
7895
7735
|
var AfterMergeCommand = Struct({
|
|
7896
7736
|
command: ApprovedCheck.fields.command,
|
|
7897
7737
|
workingDirectory: ApprovedCheck.fields.workingDirectory
|
|
@@ -10960,11 +10800,11 @@ var TranscriptSearchResult = Struct({
|
|
|
10960
10800
|
total: Int
|
|
10961
10801
|
});
|
|
10962
10802
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
|
|
10963
|
-
var
|
|
10803
|
+
var TypeId8 = "~effect/http/HttpBody";
|
|
10964
10804
|
class Proto5 {
|
|
10965
|
-
[
|
|
10805
|
+
[TypeId8];
|
|
10966
10806
|
constructor() {
|
|
10967
|
-
this[
|
|
10807
|
+
this[TypeId8] = TypeId8;
|
|
10968
10808
|
}
|
|
10969
10809
|
[NodeInspectSymbol]() {
|
|
10970
10810
|
return this.toJSON();
|
|
@@ -11055,7 +10895,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
|
|
|
11055
10895
|
var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
|
|
11056
10896
|
|
|
11057
10897
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
|
|
11058
|
-
var
|
|
10898
|
+
var TypeId9 = "~effect/http/HttpClientError";
|
|
11059
10899
|
class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
|
|
11060
10900
|
constructor(props) {
|
|
11061
10901
|
if ("cause" in props.reason) {
|
|
@@ -11067,7 +10907,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
|
|
|
11067
10907
|
super(props);
|
|
11068
10908
|
}
|
|
11069
10909
|
}
|
|
11070
|
-
[
|
|
10910
|
+
[TypeId9] = TypeId9;
|
|
11071
10911
|
get request() {
|
|
11072
10912
|
return this.reason.request;
|
|
11073
10913
|
}
|
|
@@ -11171,7 +11011,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
|
|
|
11171
11011
|
}
|
|
11172
11012
|
}
|
|
11173
11013
|
|
|
11174
|
-
class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(
|
|
11014
|
+
class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
|
|
11175
11015
|
_tag: /* @__PURE__ */ tag("HttpError"),
|
|
11176
11016
|
kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
|
|
11177
11017
|
cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
|
|
@@ -11204,7 +11044,7 @@ var updateContentLength = (headers, body) => {
|
|
|
11204
11044
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
|
|
11205
11045
|
class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
|
|
11206
11046
|
}
|
|
11207
|
-
var
|
|
11047
|
+
var make26 = (url, params, hash) => try_({
|
|
11208
11048
|
try: () => {
|
|
11209
11049
|
const urlInstance = new URL(url, baseUrl());
|
|
11210
11050
|
for (let i = 0;i < params.params.length; i++) {
|
|
@@ -11235,10 +11075,10 @@ var baseUrl = () => {
|
|
|
11235
11075
|
};
|
|
11236
11076
|
|
|
11237
11077
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
|
|
11238
|
-
var
|
|
11239
|
-
var isHttpClientRequest = (u) => hasProperty(u,
|
|
11078
|
+
var TypeId10 = "~effect/http/HttpClientRequest";
|
|
11079
|
+
var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
|
|
11240
11080
|
var Proto6 = {
|
|
11241
|
-
[
|
|
11081
|
+
[TypeId10]: TypeId10,
|
|
11242
11082
|
...BaseProto,
|
|
11243
11083
|
toJSON() {
|
|
11244
11084
|
return {
|
|
@@ -11266,14 +11106,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
|
|
|
11266
11106
|
return self;
|
|
11267
11107
|
}
|
|
11268
11108
|
var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
|
|
11269
|
-
var
|
|
11109
|
+
var make4 = (method) => (url, options) => modify(empty6, {
|
|
11270
11110
|
method,
|
|
11271
11111
|
url,
|
|
11272
11112
|
...options ?? undefined
|
|
11273
11113
|
});
|
|
11274
|
-
var get = /* @__PURE__ */
|
|
11275
|
-
var post = /* @__PURE__ */
|
|
11276
|
-
var put = /* @__PURE__ */
|
|
11114
|
+
var get = /* @__PURE__ */ make4("GET");
|
|
11115
|
+
var post = /* @__PURE__ */ make4("POST");
|
|
11116
|
+
var put = /* @__PURE__ */ make4("PUT");
|
|
11277
11117
|
var modify = /* @__PURE__ */ dual(2, (self, options) => {
|
|
11278
11118
|
let result = self;
|
|
11279
11119
|
if (options.method) {
|
|
@@ -11327,7 +11167,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
|
|
|
11327
11167
|
var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
|
|
11328
11168
|
var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
|
|
11329
11169
|
function toUrl(self) {
|
|
11330
|
-
const r =
|
|
11170
|
+
const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
|
|
11331
11171
|
if (isSuccess(r)) {
|
|
11332
11172
|
return some(r.success);
|
|
11333
11173
|
}
|
|
@@ -11335,7 +11175,7 @@ function toUrl(self) {
|
|
|
11335
11175
|
}
|
|
11336
11176
|
|
|
11337
11177
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
|
|
11338
|
-
var
|
|
11178
|
+
var TypeId11 = "~effect/http/HttpIncomingMessage";
|
|
11339
11179
|
var schemaBodyJson = (schema, options) => {
|
|
11340
11180
|
const decode = decodeEffect(toCodecJson(schema));
|
|
11341
11181
|
const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
|
|
@@ -11354,7 +11194,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
|
|
|
11354
11194
|
var getWebSource = (self) => self[WebSourceSymbol]?.();
|
|
11355
11195
|
|
|
11356
11196
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
|
|
11357
|
-
var
|
|
11197
|
+
var TypeId12 = "~effect/http/HttpClientResponse";
|
|
11358
11198
|
var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
|
|
11359
11199
|
var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
|
|
11360
11200
|
reason: new StatusCodeError({
|
|
@@ -11365,16 +11205,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
|
|
|
11365
11205
|
}));
|
|
11366
11206
|
|
|
11367
11207
|
class WebHttpClientResponse extends Class {
|
|
11208
|
+
[TypeId11];
|
|
11368
11209
|
[TypeId12];
|
|
11369
|
-
[TypeId13];
|
|
11370
11210
|
request;
|
|
11371
11211
|
source;
|
|
11372
11212
|
constructor(request, source) {
|
|
11373
11213
|
super();
|
|
11374
11214
|
this.request = request;
|
|
11375
11215
|
this.source = source;
|
|
11216
|
+
this[TypeId11] = TypeId11;
|
|
11376
11217
|
this[TypeId12] = TypeId12;
|
|
11377
|
-
this[TypeId13] = TypeId13;
|
|
11378
11218
|
}
|
|
11379
11219
|
toJSON() {
|
|
11380
11220
|
return inspect(this, {
|
|
@@ -11546,7 +11386,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
|
|
|
11546
11386
|
};
|
|
11547
11387
|
|
|
11548
11388
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
|
|
11549
|
-
var
|
|
11389
|
+
var TypeId13 = "~effect/http/HttpClient";
|
|
11550
11390
|
var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
|
|
11551
11391
|
var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
|
|
11552
11392
|
var execute = /* @__PURE__ */ accessor("execute");
|
|
@@ -11563,7 +11403,7 @@ var makeWith2 = (postprocess, preprocess) => {
|
|
|
11563
11403
|
return self;
|
|
11564
11404
|
};
|
|
11565
11405
|
var Proto7 = {
|
|
11566
|
-
[
|
|
11406
|
+
[TypeId13]: TypeId13,
|
|
11567
11407
|
pipe() {
|
|
11568
11408
|
return pipeArguments(this, arguments);
|
|
11569
11409
|
},
|
|
@@ -11574,13 +11414,13 @@ var Proto7 = {
|
|
|
11574
11414
|
};
|
|
11575
11415
|
},
|
|
11576
11416
|
.../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
|
|
11577
|
-
return this.execute(
|
|
11417
|
+
return this.execute(make4(fullMethod)(url, options));
|
|
11578
11418
|
}]))
|
|
11579
11419
|
};
|
|
11580
|
-
var
|
|
11420
|
+
var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
|
|
11581
11421
|
const scopedController = scopedRequests.get(request);
|
|
11582
11422
|
const controller = scopedController ?? new AbortController;
|
|
11583
|
-
const urlResult =
|
|
11423
|
+
const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
|
|
11584
11424
|
if (isFailure(urlResult)) {
|
|
11585
11425
|
return fail7(new HttpClientError({
|
|
11586
11426
|
reason: new InvalidUrlError({
|
|
@@ -11714,8 +11554,8 @@ class InterruptibleResponse {
|
|
|
11714
11554
|
this.original = original;
|
|
11715
11555
|
this.controller = controller;
|
|
11716
11556
|
}
|
|
11717
|
-
[TypeId13] = TypeId13;
|
|
11718
11557
|
[TypeId12] = TypeId12;
|
|
11558
|
+
[TypeId11] = TypeId11;
|
|
11719
11559
|
applyInterrupt(effect) {
|
|
11720
11560
|
return suspend3(() => {
|
|
11721
11561
|
responseRegistry.unregister(this.original);
|
|
@@ -11813,7 +11653,7 @@ var detectStreamBodySupport = () => {
|
|
|
11813
11653
|
return false;
|
|
11814
11654
|
}
|
|
11815
11655
|
};
|
|
11816
|
-
var fetch2 = /* @__PURE__ */
|
|
11656
|
+
var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
|
|
11817
11657
|
if (request.headers.upgrade !== undefined) {
|
|
11818
11658
|
return fail7(new HttpClientError({
|
|
11819
11659
|
reason: new TransportError({
|
|
@@ -11904,10 +11744,10 @@ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
|
|
|
11904
11744
|
});
|
|
11905
11745
|
var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
|
|
11906
11746
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
|
|
11907
|
-
var
|
|
11747
|
+
var TypeId14 = "~effect/socket/Socket";
|
|
11908
11748
|
var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
|
|
11909
|
-
var
|
|
11910
|
-
[
|
|
11749
|
+
var make28 = (options) => Socket.of({
|
|
11750
|
+
[TypeId14]: TypeId14,
|
|
11911
11751
|
reader: options.reader,
|
|
11912
11752
|
writer: options.writer
|
|
11913
11753
|
});
|
|
@@ -12230,7 +12070,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
|
|
|
12230
12070
|
write,
|
|
12231
12071
|
writeAll
|
|
12232
12072
|
});
|
|
12233
|
-
return succeed6(
|
|
12073
|
+
return succeed6(make28({
|
|
12234
12074
|
reader,
|
|
12235
12075
|
writer
|
|
12236
12076
|
}));
|
|
@@ -15556,7 +15396,7 @@ function getStreamSchemas(schema) {
|
|
|
15556
15396
|
}
|
|
15557
15397
|
var schema = /* @__PURE__ */ declare(isStream);
|
|
15558
15398
|
function Stream(success, error) {
|
|
15559
|
-
return
|
|
15399
|
+
return make17(schema.ast, {
|
|
15560
15400
|
[StreamSchemaTypeId]: StreamSchemaTypeId,
|
|
15561
15401
|
success,
|
|
15562
15402
|
error
|
|
@@ -15564,9 +15404,9 @@ function Stream(success, error) {
|
|
|
15564
15404
|
}
|
|
15565
15405
|
|
|
15566
15406
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
|
|
15567
|
-
var
|
|
15407
|
+
var TypeId15 = "~effect/rpc/Rpc";
|
|
15568
15408
|
var Proto8 = {
|
|
15569
|
-
[
|
|
15409
|
+
[TypeId15]: TypeId15,
|
|
15570
15410
|
pipe() {
|
|
15571
15411
|
return pipeArguments(this, arguments);
|
|
15572
15412
|
},
|
|
@@ -15655,7 +15495,7 @@ var makeProto = (options) => {
|
|
|
15655
15495
|
Rpc.key = `effect/rpc/Rpc/${options._tag}`;
|
|
15656
15496
|
return Rpc;
|
|
15657
15497
|
};
|
|
15658
|
-
var
|
|
15498
|
+
var make5 = (tag, options) => {
|
|
15659
15499
|
const successSchema = options?.success ?? Void;
|
|
15660
15500
|
const errorSchema = options?.error ?? Never;
|
|
15661
15501
|
const defectSchema = options?.defect ?? Defect();
|
|
@@ -15733,7 +15573,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
|
|
|
15733
15573
|
var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
|
|
15734
15574
|
|
|
15735
15575
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
|
|
15736
|
-
var
|
|
15576
|
+
var TypeId16 = "~effect/rpc/RpcClientError";
|
|
15737
15577
|
|
|
15738
15578
|
class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
|
|
15739
15579
|
_tag: /* @__PURE__ */ tag("RpcClientDefect"),
|
|
@@ -15742,11 +15582,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
|
|
|
15742
15582
|
})) {
|
|
15743
15583
|
}
|
|
15744
15584
|
|
|
15745
|
-
class RpcClientError extends (/* @__PURE__ */ Error3(
|
|
15585
|
+
class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
|
|
15746
15586
|
_tag: /* @__PURE__ */ tag("RpcClientError"),
|
|
15747
15587
|
reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
|
|
15748
15588
|
})) {
|
|
15749
|
-
[
|
|
15589
|
+
[TypeId16] = TypeId16;
|
|
15750
15590
|
get message() {
|
|
15751
15591
|
return `${this.reason._tag}: ${this.reason.message}`;
|
|
15752
15592
|
}
|
|
@@ -15889,12 +15729,12 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
|
|
|
15889
15729
|
requests: options.requests,
|
|
15890
15730
|
annotations: options.annotations
|
|
15891
15731
|
});
|
|
15892
|
-
var
|
|
15732
|
+
var make6 = (...rpcs) => makeProto2({
|
|
15893
15733
|
requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
|
|
15894
15734
|
annotations: empty3()
|
|
15895
15735
|
});
|
|
15896
15736
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
|
|
15897
|
-
var
|
|
15737
|
+
var TypeId17 = "~effect/rpc/RpcMiddleware";
|
|
15898
15738
|
var Service = () => (id, options) => {
|
|
15899
15739
|
const limit = getStackTraceLimit();
|
|
15900
15740
|
let creationError;
|
|
@@ -15912,7 +15752,7 @@ var Service = () => (id, options) => {
|
|
|
15912
15752
|
return creationError?.stack;
|
|
15913
15753
|
}
|
|
15914
15754
|
});
|
|
15915
|
-
ServiceClass_[
|
|
15755
|
+
ServiceClass_[TypeId17] = TypeId17;
|
|
15916
15756
|
ServiceClass_.error = options?.error ?? Never;
|
|
15917
15757
|
ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
|
|
15918
15758
|
return ServiceClass;
|
|
@@ -15995,77 +15835,77 @@ var ProgramOutcome = Union([
|
|
|
15995
15835
|
Struct({ status: Literal("failed"), failureSummary: String4 })
|
|
15996
15836
|
]);
|
|
15997
15837
|
|
|
15998
|
-
class RunnerReplicaRpcs extends
|
|
15838
|
+
class RunnerReplicaRpcs extends make6(make5("Claim", {
|
|
15999
15839
|
payload: WorkUnitClaimInput,
|
|
16000
15840
|
success: WorkUnitClaimResult,
|
|
16001
15841
|
error: RunnerRpcError
|
|
16002
|
-
}),
|
|
15842
|
+
}), make5("Heartbeat", {
|
|
16003
15843
|
payload: WorkUnitHeartbeatInput,
|
|
16004
15844
|
success: WorkUnitHeartbeatResult,
|
|
16005
15845
|
error: RunnerRpcError
|
|
16006
|
-
}),
|
|
15846
|
+
}), make5("Complete", {
|
|
16007
15847
|
payload: WorkUnitCompletion,
|
|
16008
15848
|
error: RunnerRpcError
|
|
16009
|
-
}),
|
|
15849
|
+
}), make5("Release", {
|
|
16010
15850
|
payload: WorkUnitReleaseInput,
|
|
16011
15851
|
error: RunnerRpcError
|
|
16012
|
-
}),
|
|
15852
|
+
}), make5("Signals", {
|
|
16013
15853
|
payload: { runnerReplicaId: String4 },
|
|
16014
15854
|
success: RunnerSignal,
|
|
16015
15855
|
error: RunnerRpcError,
|
|
16016
15856
|
stream: true
|
|
16017
|
-
}),
|
|
15857
|
+
}), make5("ReportSteer", {
|
|
16018
15858
|
payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
|
|
16019
15859
|
success: Void,
|
|
16020
15860
|
error: RunnerRpcError
|
|
16021
|
-
}),
|
|
15861
|
+
}), make5("AppendTranscript", {
|
|
16022
15862
|
payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
|
|
16023
15863
|
success: Void,
|
|
16024
15864
|
error: RunnerRpcError
|
|
16025
|
-
}),
|
|
15865
|
+
}), make5("CreateCheckpointFile", {
|
|
16026
15866
|
payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
|
|
16027
15867
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
16028
15868
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
16029
|
-
}),
|
|
15869
|
+
}), make5("CheckpointFileParts", {
|
|
16030
15870
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
16031
15871
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
16032
15872
|
error: RunnerRpcError
|
|
16033
|
-
}),
|
|
15873
|
+
}), make5("CompleteCheckpointFile", {
|
|
16034
15874
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
16035
15875
|
success: RunFileRecord,
|
|
16036
15876
|
error: RunnerRpcError
|
|
16037
|
-
}),
|
|
15877
|
+
}), make5("SaveCheckpoint", {
|
|
16038
15878
|
payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
|
|
16039
15879
|
success: Void,
|
|
16040
15880
|
error: RunnerRpcError
|
|
16041
|
-
}),
|
|
15881
|
+
}), make5("ResumeCheckpoint", {
|
|
16042
15882
|
payload: { lease: ProgramLease },
|
|
16043
15883
|
success: UndefinedOr(ResumedCheckpoint),
|
|
16044
15884
|
error: RunnerRpcError
|
|
16045
|
-
}),
|
|
15885
|
+
}), make5("SettledCheckpoints", {
|
|
16046
15886
|
success: ArraySchema(Struct({
|
|
16047
15887
|
stepAttemptId: String4,
|
|
16048
15888
|
ref: optionalKey(String4),
|
|
16049
15889
|
repoBinding: optionalKey(WorkUnitRepoBinding)
|
|
16050
15890
|
})),
|
|
16051
15891
|
error: RunnerRpcError
|
|
16052
|
-
}),
|
|
15892
|
+
}), make5("ForgetCheckpoints", {
|
|
16053
15893
|
payload: { stepAttemptIds: ArraySchema(String4) },
|
|
16054
15894
|
success: Void,
|
|
16055
15895
|
error: RunnerRpcError
|
|
16056
|
-
}),
|
|
15896
|
+
}), make5("GitCredential", {
|
|
16057
15897
|
payload: { repoBindingId: String4 },
|
|
16058
15898
|
success: UndefinedOr(Struct({ username: String4, password: String4 })),
|
|
16059
15899
|
error: RunnerRpcError
|
|
16060
|
-
}),
|
|
15900
|
+
}), make5("Bundle", {
|
|
16061
15901
|
payload: { digest: String4 },
|
|
16062
15902
|
success: Struct({ bundle: String4 }),
|
|
16063
15903
|
error: RunnerRpcError
|
|
16064
|
-
}),
|
|
15904
|
+
}), make5("SettledRuns", {
|
|
16065
15905
|
payload: { runIds: ArraySchema(String4) },
|
|
16066
15906
|
success: ArraySchema(String4),
|
|
16067
15907
|
error: RunnerRpcError
|
|
16068
|
-
}),
|
|
15908
|
+
}), make5("KnownEvidence", {
|
|
16069
15909
|
payload: { lease: ProgramLease, trees: ArraySchema(String4) },
|
|
16070
15910
|
success: ArraySchema(Struct({
|
|
16071
15911
|
tree: String4,
|
|
@@ -16077,24 +15917,24 @@ class RunnerReplicaRpcs extends make7(make6("Claim", {
|
|
|
16077
15917
|
})).middleware(RunnerAuthentication) {
|
|
16078
15918
|
}
|
|
16079
15919
|
|
|
16080
|
-
class RunnerJournalRpcs extends
|
|
15920
|
+
class RunnerJournalRpcs extends make6(make5("RecordActivity", {
|
|
16081
15921
|
payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
|
|
16082
15922
|
error: RunnerRpcError
|
|
16083
|
-
}),
|
|
15923
|
+
}), make5("DeferredDone", {
|
|
16084
15924
|
payload: { lease: ProgramLease, name: String4, exit: Json },
|
|
16085
15925
|
error: RunnerRpcError
|
|
16086
|
-
}),
|
|
15926
|
+
}), make5("ScheduleClock", {
|
|
16087
15927
|
payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
|
|
16088
15928
|
error: RunnerRpcError
|
|
16089
|
-
}),
|
|
15929
|
+
}), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
|
|
16090
15930
|
}
|
|
16091
|
-
var RunHostStep =
|
|
15931
|
+
var RunHostStep = make5("RunHostStep", {
|
|
16092
15932
|
payload: { lease: ProgramLease, step: String4, hostStep: String4, request: Json },
|
|
16093
15933
|
success: Json,
|
|
16094
15934
|
error: RunnerRpcError
|
|
16095
15935
|
});
|
|
16096
15936
|
|
|
16097
|
-
class RunnerCapabilityRpcs extends
|
|
15937
|
+
class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
16098
15938
|
payload: {
|
|
16099
15939
|
lease: ProgramLease,
|
|
16100
15940
|
step: String4,
|
|
@@ -16114,7 +15954,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16114
15954
|
},
|
|
16115
15955
|
success: Struct({ questionId: String4 }),
|
|
16116
15956
|
error: RunnerRpcError
|
|
16117
|
-
}),
|
|
15957
|
+
}), make5("StartAgentStep", {
|
|
16118
15958
|
payload: {
|
|
16119
15959
|
lease: ProgramLease,
|
|
16120
15960
|
step: String4,
|
|
@@ -16131,7 +15971,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16131
15971
|
},
|
|
16132
15972
|
success: Struct({ stepAttemptId: String4 }),
|
|
16133
15973
|
error: RunnerRpcError
|
|
16134
|
-
}),
|
|
15974
|
+
}), make5("StartVerification", {
|
|
16135
15975
|
payload: {
|
|
16136
15976
|
lease: ProgramLease,
|
|
16137
15977
|
step: String4,
|
|
@@ -16155,7 +15995,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16155
15995
|
},
|
|
16156
15996
|
success: Struct({ verificationId: String4 }),
|
|
16157
15997
|
error: RunnerRpcError
|
|
16158
|
-
}),
|
|
15998
|
+
}), make5("AwaitEvent", {
|
|
16159
15999
|
payload: {
|
|
16160
16000
|
lease: ProgramLease,
|
|
16161
16001
|
step: String4,
|
|
@@ -16171,7 +16011,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16171
16011
|
})))
|
|
16172
16012
|
},
|
|
16173
16013
|
error: RunnerRpcError
|
|
16174
|
-
}),
|
|
16014
|
+
}), make5("ClaimResource", {
|
|
16175
16015
|
payload: {
|
|
16176
16016
|
lease: ProgramLease,
|
|
16177
16017
|
step: String4,
|
|
@@ -16182,7 +16022,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16182
16022
|
claims: optionalKey(ArraySchema(String4))
|
|
16183
16023
|
},
|
|
16184
16024
|
error: RunnerRpcError
|
|
16185
|
-
}),
|
|
16025
|
+
}), make5("AdmitChild", {
|
|
16186
16026
|
payload: {
|
|
16187
16027
|
lease: ProgramLease,
|
|
16188
16028
|
step: String4,
|
|
@@ -16193,7 +16033,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16193
16033
|
},
|
|
16194
16034
|
success: Struct({ runId: String4 }),
|
|
16195
16035
|
error: RunnerRpcError
|
|
16196
|
-
}),
|
|
16036
|
+
}), make5("AdmitChildById", {
|
|
16197
16037
|
payload: {
|
|
16198
16038
|
lease: ProgramLease,
|
|
16199
16039
|
step: String4,
|
|
@@ -16204,18 +16044,18 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16204
16044
|
},
|
|
16205
16045
|
success: Struct({ runId: String4 }),
|
|
16206
16046
|
error: RunnerRpcError
|
|
16207
|
-
}),
|
|
16047
|
+
}), make5("CallableLoops", {
|
|
16208
16048
|
payload: { lease: ProgramLease, step: String4, taskId: optional(String4) },
|
|
16209
16049
|
success: Struct({ loops: ArraySchema(CallableLoop) }),
|
|
16210
16050
|
error: RunnerRpcError
|
|
16211
|
-
}),
|
|
16051
|
+
}), make5("StopLaunches", {
|
|
16212
16052
|
payload: {
|
|
16213
16053
|
lease: ProgramLease,
|
|
16214
16054
|
step: String4,
|
|
16215
16055
|
deferredNames: ArraySchema(String4)
|
|
16216
16056
|
},
|
|
16217
16057
|
error: RunnerRpcError
|
|
16218
|
-
}),
|
|
16058
|
+
}), make5("StoreArtifact", {
|
|
16219
16059
|
payload: {
|
|
16220
16060
|
lease: ProgramLease,
|
|
16221
16061
|
step: String4,
|
|
@@ -16227,7 +16067,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16227
16067
|
},
|
|
16228
16068
|
success: Struct({ artifactId: String4 }),
|
|
16229
16069
|
error: RunnerRpcError
|
|
16230
|
-
}),
|
|
16070
|
+
}), make5("RecordNote", {
|
|
16231
16071
|
payload: {
|
|
16232
16072
|
lease: ProgramLease,
|
|
16233
16073
|
step: String4,
|
|
@@ -16236,7 +16076,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16236
16076
|
kind: optional(Literals(["note", "blocker"]))
|
|
16237
16077
|
},
|
|
16238
16078
|
error: RunnerRpcError
|
|
16239
|
-
}),
|
|
16079
|
+
}), make5("PerformHostEffect", {
|
|
16240
16080
|
payload: {
|
|
16241
16081
|
lease: ProgramLease,
|
|
16242
16082
|
step: String4,
|
|
@@ -16265,7 +16105,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16265
16105
|
},
|
|
16266
16106
|
success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
|
|
16267
16107
|
error: RunnerRpcError
|
|
16268
|
-
}),
|
|
16108
|
+
}), make5("AlertTask", {
|
|
16269
16109
|
payload: {
|
|
16270
16110
|
lease: ProgramLease,
|
|
16271
16111
|
step: String4,
|
|
@@ -16282,7 +16122,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16282
16122
|
joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
|
|
16283
16123
|
}),
|
|
16284
16124
|
error: RunnerRpcError
|
|
16285
|
-
}),
|
|
16125
|
+
}), make5("ReadTranscripts", {
|
|
16286
16126
|
payload: {
|
|
16287
16127
|
lease: ProgramLease,
|
|
16288
16128
|
step: String4,
|
|
@@ -16317,7 +16157,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16317
16157
|
})))
|
|
16318
16158
|
}),
|
|
16319
16159
|
error: RunnerRpcError
|
|
16320
|
-
}),
|
|
16160
|
+
}), make5("PipelineStatus", {
|
|
16321
16161
|
payload: {
|
|
16322
16162
|
lease: ProgramLease,
|
|
16323
16163
|
step: String4,
|
|
@@ -16357,11 +16197,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16357
16197
|
}))
|
|
16358
16198
|
}),
|
|
16359
16199
|
error: RunnerRpcError
|
|
16360
|
-
}),
|
|
16200
|
+
}), make5("ReportPipeline", {
|
|
16361
16201
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
|
|
16362
16202
|
success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
|
|
16363
16203
|
error: RunnerRpcError
|
|
16364
|
-
}),
|
|
16204
|
+
}), make5("ReviewThreads", {
|
|
16365
16205
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
|
|
16366
16206
|
success: Struct({
|
|
16367
16207
|
threads: ArraySchema(Struct({
|
|
@@ -16373,7 +16213,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16373
16213
|
}))
|
|
16374
16214
|
}),
|
|
16375
16215
|
error: RunnerRpcError
|
|
16376
|
-
}),
|
|
16216
|
+
}), make5("OpenChangeRequests", {
|
|
16377
16217
|
payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
|
|
16378
16218
|
success: Struct({
|
|
16379
16219
|
changeRequests: ArraySchema(Struct({
|
|
@@ -16387,7 +16227,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16387
16227
|
}))
|
|
16388
16228
|
}),
|
|
16389
16229
|
error: RunnerRpcError
|
|
16390
|
-
}),
|
|
16230
|
+
}), make5("OwnChangeRequests", {
|
|
16391
16231
|
payload: { lease: ProgramLease, step: String4 },
|
|
16392
16232
|
success: Struct({
|
|
16393
16233
|
changeRequests: ArraySchema(Struct({
|
|
@@ -16400,7 +16240,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16400
16240
|
}))
|
|
16401
16241
|
}),
|
|
16402
16242
|
error: RunnerRpcError
|
|
16403
|
-
}),
|
|
16243
|
+
}), make5("Propose", {
|
|
16404
16244
|
payload: {
|
|
16405
16245
|
lease: ProgramLease,
|
|
16406
16246
|
step: String4,
|
|
@@ -16429,7 +16269,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16429
16269
|
task: optionalKey(Struct({ id: String4, active: Boolean2 }))
|
|
16430
16270
|
}),
|
|
16431
16271
|
error: RunnerRpcError
|
|
16432
|
-
}),
|
|
16272
|
+
}), make5("ReadProject", {
|
|
16433
16273
|
payload: { lease: ProgramLease, step: String4, projectId: String4 },
|
|
16434
16274
|
success: Struct({
|
|
16435
16275
|
project: Struct({ id: String4, name: String4 }),
|
|
@@ -16452,7 +16292,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16452
16292
|
taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
|
|
16453
16293
|
}),
|
|
16454
16294
|
error: RunnerRpcError
|
|
16455
|
-
}),
|
|
16295
|
+
}), make5("DraftUpdate", {
|
|
16456
16296
|
payload: {
|
|
16457
16297
|
lease: ProgramLease,
|
|
16458
16298
|
step: String4,
|
|
@@ -16467,7 +16307,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16467
16307
|
},
|
|
16468
16308
|
success: Struct({ id: String4 }),
|
|
16469
16309
|
error: RunnerRpcError
|
|
16470
|
-
}),
|
|
16310
|
+
}), make5("CreatePlanTasks", {
|
|
16471
16311
|
payload: {
|
|
16472
16312
|
lease: ProgramLease,
|
|
16473
16313
|
projectId: optionalKey(String4),
|
|
@@ -16488,15 +16328,15 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16488
16328
|
},
|
|
16489
16329
|
success: ArraySchema(Struct({ key: String4, taskId: String4 })),
|
|
16490
16330
|
error: RunnerRpcError
|
|
16491
|
-
}),
|
|
16331
|
+
}), make5("IntegrationBranch", {
|
|
16492
16332
|
payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
|
|
16493
16333
|
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
16494
16334
|
error: RunnerRpcError
|
|
16495
|
-
}),
|
|
16335
|
+
}), make5("DeliveryBase", {
|
|
16496
16336
|
payload: { lease: ProgramLease },
|
|
16497
16337
|
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
16498
16338
|
error: RunnerRpcError
|
|
16499
|
-
}),
|
|
16339
|
+
}), make5("Branch", {
|
|
16500
16340
|
payload: {
|
|
16501
16341
|
lease: ProgramLease,
|
|
16502
16342
|
branch: optionalKey(String4),
|
|
@@ -16511,7 +16351,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16511
16351
|
created: Boolean2
|
|
16512
16352
|
}),
|
|
16513
16353
|
error: RunnerRpcError
|
|
16514
|
-
}),
|
|
16354
|
+
}), make5("BranchChangeRequest", {
|
|
16515
16355
|
payload: {
|
|
16516
16356
|
lease: ProgramLease,
|
|
16517
16357
|
step: String4,
|
|
@@ -16534,7 +16374,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16534
16374
|
Struct({ status: Literal("elsewhere"), team: String4 })
|
|
16535
16375
|
]),
|
|
16536
16376
|
error: RunnerRpcError
|
|
16537
|
-
}),
|
|
16377
|
+
}), make5("MergeChangeRequest", {
|
|
16538
16378
|
payload: {
|
|
16539
16379
|
lease: ProgramLease,
|
|
16540
16380
|
step: String4,
|
|
@@ -16552,7 +16392,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16552
16392
|
Struct({ status: Literal("moved"), head: String4 })
|
|
16553
16393
|
]),
|
|
16554
16394
|
error: RunnerRpcError
|
|
16555
|
-
}),
|
|
16395
|
+
}), make5("ApproveChangeRequest", {
|
|
16556
16396
|
payload: {
|
|
16557
16397
|
lease: ProgramLease,
|
|
16558
16398
|
step: String4,
|
|
@@ -16568,7 +16408,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16568
16408
|
Struct({ approved: Literal(false), reason: String4 })
|
|
16569
16409
|
]),
|
|
16570
16410
|
error: RunnerRpcError
|
|
16571
|
-
}),
|
|
16411
|
+
}), make5("CloseChangeRequest", {
|
|
16572
16412
|
payload: {
|
|
16573
16413
|
lease: ProgramLease,
|
|
16574
16414
|
step: String4,
|
|
@@ -16578,7 +16418,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16578
16418
|
},
|
|
16579
16419
|
success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
|
|
16580
16420
|
error: RunnerRpcError
|
|
16581
|
-
}),
|
|
16421
|
+
}), make5("RerunPipeline", {
|
|
16582
16422
|
payload: {
|
|
16583
16423
|
lease: ProgramLease,
|
|
16584
16424
|
step: String4,
|
|
@@ -16588,7 +16428,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16588
16428
|
},
|
|
16589
16429
|
success: Struct({ head: String4, pipelines: Int }),
|
|
16590
16430
|
error: RunnerRpcError
|
|
16591
|
-
}),
|
|
16431
|
+
}), make5("PublishRelease", {
|
|
16592
16432
|
payload: {
|
|
16593
16433
|
lease: ProgramLease,
|
|
16594
16434
|
step: String4,
|
|
@@ -16602,7 +16442,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16602
16442
|
},
|
|
16603
16443
|
success: Struct({ tag: String4, revision: String4, url: String4 }),
|
|
16604
16444
|
error: RunnerRpcError
|
|
16605
|
-
}),
|
|
16445
|
+
}), make5("RecordDeploy", {
|
|
16606
16446
|
payload: {
|
|
16607
16447
|
lease: ProgramLease,
|
|
16608
16448
|
step: String4,
|
|
@@ -16614,7 +16454,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16614
16454
|
},
|
|
16615
16455
|
success: Deploy,
|
|
16616
16456
|
error: RunnerRpcError
|
|
16617
|
-
}),
|
|
16457
|
+
}), make5("DeployTarget", {
|
|
16618
16458
|
payload: { lease: ProgramLease, step: String4, target: DeployTargetName },
|
|
16619
16459
|
success: Struct({
|
|
16620
16460
|
target: String4,
|
|
@@ -16622,14 +16462,14 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16622
16462
|
order: optionalKey(ArraySchema(String4))
|
|
16623
16463
|
}),
|
|
16624
16464
|
error: RunnerRpcError
|
|
16625
|
-
}), RunHostStep,
|
|
16465
|
+
}), RunHostStep, make5("ProgramSecrets", {
|
|
16626
16466
|
payload: { lease: ProgramLease },
|
|
16627
16467
|
success: Record(String4, String4),
|
|
16628
16468
|
error: RunnerRpcError
|
|
16629
16469
|
})).middleware(RunnerAuthentication) {
|
|
16630
16470
|
}
|
|
16631
16471
|
|
|
16632
|
-
class RunnerRunFileRpcs extends
|
|
16472
|
+
class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
|
|
16633
16473
|
payload: {
|
|
16634
16474
|
lease: ProgramLease,
|
|
16635
16475
|
step: String4,
|
|
@@ -16641,11 +16481,11 @@ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
|
|
|
16641
16481
|
},
|
|
16642
16482
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
16643
16483
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
16644
|
-
}),
|
|
16484
|
+
}), make5("RunFileParts", {
|
|
16645
16485
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
16646
16486
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
16647
16487
|
error: RunnerRpcError
|
|
16648
|
-
}),
|
|
16488
|
+
}), make5("CompleteRunFile", {
|
|
16649
16489
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
16650
16490
|
success: RunFileRecord,
|
|
16651
16491
|
error: RunnerRpcError
|
|
@@ -16655,7 +16495,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
|
|
|
16655
16495
|
var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
|
|
16656
16496
|
|
|
16657
16497
|
// apps/cli/src/oauth.ts
|
|
16658
|
-
var
|
|
16498
|
+
var Scope = "openid profile email offline_access kitman:cli";
|
|
16659
16499
|
var CallbackPath = "/auth/callback";
|
|
16660
16500
|
|
|
16661
16501
|
class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
|
|
@@ -16674,7 +16514,7 @@ function buildAuthorizeUrl(input) {
|
|
|
16674
16514
|
url.searchParams.set("response_type", "code");
|
|
16675
16515
|
url.searchParams.set("client_id", input.clientId);
|
|
16676
16516
|
url.searchParams.set("redirect_uri", input.redirectUri);
|
|
16677
|
-
url.searchParams.set("scope",
|
|
16517
|
+
url.searchParams.set("scope", Scope);
|
|
16678
16518
|
url.searchParams.set("code_challenge", input.codeChallenge);
|
|
16679
16519
|
url.searchParams.set("code_challenge_method", "S256");
|
|
16680
16520
|
url.searchParams.set("state", input.state);
|
|
@@ -17390,7 +17230,7 @@ var spawnedTransport = (env) => gen(function* () {
|
|
|
17390
17230
|
const spawner = yield* ChildProcessSpawner;
|
|
17391
17231
|
const input = yield* unbounded2();
|
|
17392
17232
|
const encoder = new TextEncoder;
|
|
17393
|
-
const handle = yield* spawner.spawn(
|
|
17233
|
+
const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
|
|
17394
17234
|
extendEnv: false,
|
|
17395
17235
|
env,
|
|
17396
17236
|
stdin: fromQueue(input),
|
|
@@ -17421,7 +17261,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
|
|
|
17421
17261
|
const spawner = yield* ChildProcessSpawner;
|
|
17422
17262
|
const env = coreEnv(options);
|
|
17423
17263
|
const run = (args) => gen(function* () {
|
|
17424
|
-
const handle = yield* spawner.spawn(
|
|
17264
|
+
const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
|
|
17425
17265
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
17426
17266
|
mkString(decodeText(handle.stdout)),
|
|
17427
17267
|
mkString(decodeText(handle.stderr)),
|
|
@@ -17447,7 +17287,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
|
|
|
17447
17287
|
}
|
|
17448
17288
|
var runCommand2 = (command, args, options = {}) => gen(function* () {
|
|
17449
17289
|
const spawner = yield* ChildProcessSpawner;
|
|
17450
|
-
const handle = yield* spawner.spawn(
|
|
17290
|
+
const handle = yield* spawner.spawn(make2(command, args, {
|
|
17451
17291
|
stdin: "ignore",
|
|
17452
17292
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
17453
17293
|
...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
|
|
@@ -17473,7 +17313,7 @@ var shellOutputTailChars2 = 64 * 1024;
|
|
|
17473
17313
|
var runProcess2 = (argv, options) => gen(function* () {
|
|
17474
17314
|
const spawner = yield* ChildProcessSpawner;
|
|
17475
17315
|
const [command, ...args] = argv;
|
|
17476
|
-
const handle = yield* spawner.spawn(
|
|
17316
|
+
const handle = yield* spawner.spawn(make2(command, args, {
|
|
17477
17317
|
stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
|
|
17478
17318
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
17479
17319
|
env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
|
|
@@ -17994,4 +17834,4 @@ function serviceChecks(declaration) {
|
|
|
17994
17834
|
return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
|
|
17995
17835
|
}
|
|
17996
17836
|
|
|
17997
|
-
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, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, 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,
|
|
17837
|
+
export { Clock, currentTimeMillis, 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, MaxRunnerConcurrency, PinnedImage, 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, make4, 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, 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, make5, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make6, 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 };
|