@kitman-sh/cli 0.10.96 → 0.10.98
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-ampzxrqe.js → chunk-07p2dcq3.js} +333 -94
- package/dist/{chunk-2kr43ps6.js → chunk-3bjekzn7.js} +312 -395
- package/dist/{chunk-dh3108wk.js → chunk-6dc0x5cg.js} +8 -8
- package/dist/{chunk-q3nygncv.js → chunk-797w5qe6.js} +7 -7
- package/dist/{chunk-4psvc86s.js → chunk-7c3pgktm.js} +9 -8
- package/dist/{chunk-a244myqw.js → chunk-7ya2q09c.js} +1 -1
- package/dist/{chunk-qacvrg7j.js → chunk-95mkdtzk.js} +6 -6
- package/dist/{chunk-tpdcq44c.js → chunk-aba9zdpb.js} +32 -32
- package/dist/{chunk-mcpesyz2.js → chunk-bqg9gy2e.js} +7 -7
- package/dist/{chunk-8tq7n7wc.js → chunk-c6h3fhtb.js} +24 -24
- package/dist/{chunk-fv6kgtze.js → chunk-cgjyv52e.js} +2 -2
- package/dist/{chunk-bk3dpjxq.js → chunk-d1sqb8rt.js} +1 -1
- package/dist/{chunk-c9wzakrx.js → chunk-fd39ch4n.js} +8 -8
- package/dist/{chunk-6aa8y66v.js → chunk-g1xmj2nb.js} +4 -4
- package/dist/{chunk-abf4m4b2.js → chunk-gfqm22x7.js} +5 -5
- package/dist/{chunk-15w92pn6.js → chunk-j8vq6sk1.js} +19 -19
- package/dist/{chunk-t7ncjd6s.js → chunk-n8c1wh6t.js} +6 -6
- package/dist/{chunk-rdv42ygn.js → chunk-nym2zmz3.js} +4 -4
- package/dist/{chunk-3r7ahnwy.js → chunk-p83y21hp.js} +4 -4
- package/dist/{chunk-et6qa95h.js → chunk-qrxkpwzy.js} +1 -1
- package/dist/{chunk-vjcn82g3.js → chunk-s5p94z8x.js} +65 -214
- package/dist/{chunk-q2d37e4x.js → chunk-s90hj0mb.js} +53 -53
- package/dist/{chunk-s3qgchay.js → chunk-sy8d7bfa.js} +98 -98
- package/dist/{chunk-g3r5xp0t.js → chunk-xwhybbj2.js} +2 -2
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -17,14 +17,9 @@ import {
|
|
|
17
17
|
isNullish,
|
|
18
18
|
hasProperty,
|
|
19
19
|
symbol,
|
|
20
|
-
hash,
|
|
21
|
-
combine,
|
|
22
|
-
number,
|
|
23
|
-
string,
|
|
24
20
|
structure,
|
|
25
21
|
array,
|
|
26
22
|
symbol2,
|
|
27
|
-
equals,
|
|
28
23
|
asEquivalence,
|
|
29
24
|
symbolRedactable,
|
|
30
25
|
redact,
|
|
@@ -38,7 +33,7 @@ import {
|
|
|
38
33
|
assignProperty,
|
|
39
34
|
PipeInspectableProto,
|
|
40
35
|
withFiber,
|
|
41
|
-
|
|
36
|
+
make13,
|
|
42
37
|
strictEqual,
|
|
43
38
|
Tuple,
|
|
44
39
|
Number2,
|
|
@@ -52,19 +47,20 @@ import {
|
|
|
52
47
|
fromNullishOr,
|
|
53
48
|
fromUndefinedOr,
|
|
54
49
|
getOrUndefined,
|
|
55
|
-
liftThrowable,
|
|
56
50
|
map4,
|
|
57
51
|
flatMap,
|
|
58
52
|
Service2,
|
|
59
|
-
|
|
53
|
+
makeUnsafe3,
|
|
60
54
|
empty3,
|
|
61
|
-
|
|
55
|
+
make14,
|
|
62
56
|
add,
|
|
63
57
|
getOrUndefined2,
|
|
64
58
|
getOrUndefinedUnsafe,
|
|
65
|
-
|
|
59
|
+
get3,
|
|
66
60
|
merge3,
|
|
67
61
|
Reference,
|
|
62
|
+
fromInputUnsafe,
|
|
63
|
+
isFinite,
|
|
68
64
|
millis,
|
|
69
65
|
seconds,
|
|
70
66
|
toMillis,
|
|
@@ -83,15 +79,14 @@ import {
|
|
|
83
79
|
TaggedError,
|
|
84
80
|
DisablePropagation,
|
|
85
81
|
sync,
|
|
86
|
-
map7,
|
|
87
|
-
ClockRef,
|
|
88
|
-
currentTimeMillis2,
|
|
89
82
|
ConsoleRef,
|
|
90
83
|
succeed3,
|
|
91
84
|
fail4,
|
|
85
|
+
void_2,
|
|
92
86
|
isSuccess2,
|
|
93
|
-
|
|
94
|
-
|
|
87
|
+
isFailure2,
|
|
88
|
+
makeUnsafe4,
|
|
89
|
+
make15,
|
|
95
90
|
_await,
|
|
96
91
|
fail5,
|
|
97
92
|
isDone,
|
|
@@ -99,8 +94,12 @@ import {
|
|
|
99
94
|
succeed4,
|
|
100
95
|
doneUnsafe,
|
|
101
96
|
TracerTimingEnabled,
|
|
97
|
+
Scope,
|
|
98
|
+
makeUnsafe5,
|
|
102
99
|
provide,
|
|
100
|
+
addFinalizerExit,
|
|
103
101
|
addFinalizer,
|
|
102
|
+
close,
|
|
104
103
|
succeed5,
|
|
105
104
|
effect,
|
|
106
105
|
effectContext,
|
|
@@ -113,8 +112,9 @@ import {
|
|
|
113
112
|
hasInterrupts2,
|
|
114
113
|
Done2,
|
|
115
114
|
done,
|
|
116
|
-
IllegalArgumentError,
|
|
117
115
|
UnknownError,
|
|
116
|
+
Clock,
|
|
117
|
+
currentTimeMillis,
|
|
118
118
|
catchDone,
|
|
119
119
|
isDoneCause,
|
|
120
120
|
exponential,
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
flatMap3,
|
|
141
141
|
andThen2,
|
|
142
142
|
tap2,
|
|
143
|
-
|
|
143
|
+
map7,
|
|
144
144
|
as,
|
|
145
145
|
asVoid,
|
|
146
146
|
catch_,
|
|
@@ -152,6 +152,7 @@ import {
|
|
|
152
152
|
tapCause,
|
|
153
153
|
retry,
|
|
154
154
|
ignore,
|
|
155
|
+
ignoreCause,
|
|
155
156
|
orElseSucceed,
|
|
156
157
|
timeout,
|
|
157
158
|
timeoutOrElse,
|
|
@@ -163,6 +164,7 @@ import {
|
|
|
163
164
|
context,
|
|
164
165
|
contextWith,
|
|
165
166
|
provide3,
|
|
167
|
+
provideContext2,
|
|
166
168
|
serviceOption,
|
|
167
169
|
updateContext,
|
|
168
170
|
provideService,
|
|
@@ -173,6 +175,7 @@ import {
|
|
|
173
175
|
addFinalizer2,
|
|
174
176
|
ensuring2,
|
|
175
177
|
onError,
|
|
178
|
+
onExit,
|
|
176
179
|
cached,
|
|
177
180
|
interrupt3,
|
|
178
181
|
interruptible,
|
|
@@ -184,6 +187,7 @@ import {
|
|
|
184
187
|
withParentSpan,
|
|
185
188
|
forkScoped,
|
|
186
189
|
runFork,
|
|
190
|
+
runForkWith,
|
|
187
191
|
runPromise,
|
|
188
192
|
runPromiseWith,
|
|
189
193
|
runSync,
|
|
@@ -194,9 +198,16 @@ import {
|
|
|
194
198
|
logError,
|
|
195
199
|
effectify,
|
|
196
200
|
decode,
|
|
201
|
+
makeUnsafe6,
|
|
202
|
+
make16,
|
|
203
|
+
now,
|
|
204
|
+
nowUnsafe,
|
|
205
|
+
toDateUtc,
|
|
206
|
+
toEpochMillis,
|
|
207
|
+
formatIso,
|
|
197
208
|
defaultParseOptions,
|
|
198
209
|
omit,
|
|
199
|
-
|
|
210
|
+
map8,
|
|
200
211
|
declare,
|
|
201
212
|
decodeUnknownEffect2,
|
|
202
213
|
decodeEffect,
|
|
@@ -249,15 +260,46 @@ import {
|
|
|
249
260
|
decodeJsonStringOption,
|
|
250
261
|
encodeJsonStringSync,
|
|
251
262
|
encodePrettyJsonString
|
|
252
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-07p2dcq3.js";
|
|
264
|
+
import {
|
|
265
|
+
isDateTime,
|
|
266
|
+
Numeric,
|
|
267
|
+
isWholeNumber,
|
|
268
|
+
guard,
|
|
269
|
+
Id,
|
|
270
|
+
Timestamp,
|
|
271
|
+
ActorType,
|
|
272
|
+
SecretName,
|
|
273
|
+
SecretScope,
|
|
274
|
+
SecretHosts,
|
|
275
|
+
isSecretReference
|
|
276
|
+
} from "./chunk-qrxkpwzy.js";
|
|
277
|
+
import {
|
|
278
|
+
toJsonValue,
|
|
279
|
+
isOneOf,
|
|
280
|
+
isBigInt,
|
|
281
|
+
isBoolean,
|
|
282
|
+
isFunction,
|
|
283
|
+
isNumber,
|
|
284
|
+
isObject,
|
|
285
|
+
isJsonObject,
|
|
286
|
+
isString,
|
|
287
|
+
isSymbol,
|
|
288
|
+
isUndefined,
|
|
289
|
+
kindOf
|
|
290
|
+
} from "./chunk-d1sqb8rt.js";
|
|
253
291
|
import {
|
|
254
292
|
map,
|
|
255
293
|
makeEquivalence,
|
|
256
294
|
bytes,
|
|
295
|
+
join,
|
|
296
|
+
interrupt,
|
|
297
|
+
getCurrent,
|
|
298
|
+
runIn,
|
|
257
299
|
BadArgument,
|
|
258
300
|
systemError,
|
|
259
301
|
badArgument,
|
|
260
|
-
|
|
302
|
+
makeUnsafe,
|
|
261
303
|
make8,
|
|
262
304
|
make9,
|
|
263
305
|
sliding,
|
|
@@ -269,19 +311,17 @@ import {
|
|
|
269
311
|
endUnsafe,
|
|
270
312
|
take,
|
|
271
313
|
poll,
|
|
272
|
-
|
|
314
|
+
makeUnsafe2,
|
|
273
315
|
fromTransform,
|
|
274
316
|
mapDone,
|
|
275
317
|
isSink,
|
|
276
318
|
fromChannel,
|
|
277
319
|
drain,
|
|
278
|
-
make10,
|
|
279
|
-
get3,
|
|
280
320
|
isStream,
|
|
281
321
|
fromChannel2,
|
|
282
322
|
callback,
|
|
283
323
|
empty2,
|
|
284
|
-
|
|
324
|
+
make10,
|
|
285
325
|
suspend,
|
|
286
326
|
fail2,
|
|
287
327
|
fromQueue,
|
|
@@ -307,43 +347,16 @@ import {
|
|
|
307
347
|
mkArrayBuffer,
|
|
308
348
|
toReadableStreamEffect,
|
|
309
349
|
FileSystem,
|
|
310
|
-
|
|
350
|
+
make11,
|
|
311
351
|
FileTypeId,
|
|
312
352
|
WatchBackend,
|
|
313
353
|
Path,
|
|
314
|
-
|
|
354
|
+
make12,
|
|
315
355
|
option,
|
|
316
356
|
String2,
|
|
317
357
|
optionalEnv,
|
|
318
358
|
harnessesUnsupportedInSrt2
|
|
319
|
-
} from "./chunk-
|
|
320
|
-
import {
|
|
321
|
-
isDateTime,
|
|
322
|
-
Numeric,
|
|
323
|
-
isWholeNumber,
|
|
324
|
-
guard,
|
|
325
|
-
Id,
|
|
326
|
-
Timestamp,
|
|
327
|
-
ActorType,
|
|
328
|
-
SecretName,
|
|
329
|
-
SecretScope,
|
|
330
|
-
SecretHosts,
|
|
331
|
-
isSecretReference
|
|
332
|
-
} from "./chunk-et6qa95h.js";
|
|
333
|
-
import {
|
|
334
|
-
toJsonValue,
|
|
335
|
-
isOneOf,
|
|
336
|
-
isBigInt,
|
|
337
|
-
isBoolean,
|
|
338
|
-
isFunction,
|
|
339
|
-
isNumber,
|
|
340
|
-
isObject,
|
|
341
|
-
isJsonObject,
|
|
342
|
-
isString,
|
|
343
|
-
isSymbol,
|
|
344
|
-
isUndefined,
|
|
345
|
-
kindOf
|
|
346
|
-
} from "./chunk-bk3dpjxq.js";
|
|
359
|
+
} from "./chunk-s5p94z8x.js";
|
|
347
360
|
import {
|
|
348
361
|
isRedacted,
|
|
349
362
|
make,
|
|
@@ -357,241 +370,11 @@ import {
|
|
|
357
370
|
make3,
|
|
358
371
|
parseFdName,
|
|
359
372
|
fdName
|
|
360
|
-
} from "./chunk-
|
|
373
|
+
} from "./chunk-p83y21hp.js";
|
|
361
374
|
|
|
362
375
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
363
376
|
var makeEquivalence3 = Tuple;
|
|
364
377
|
|
|
365
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
|
|
366
|
-
var Clock = ClockRef;
|
|
367
|
-
var currentTimeMillis = currentTimeMillis2;
|
|
368
|
-
|
|
369
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
|
|
370
|
-
var TypeId = "~effect/DateTime";
|
|
371
|
-
var TimeZoneTypeId = "~effect/DateTime/TimeZone";
|
|
372
|
-
var Proto = {
|
|
373
|
-
[TypeId]: TypeId,
|
|
374
|
-
pipe() {
|
|
375
|
-
return pipeArguments(this, arguments);
|
|
376
|
-
},
|
|
377
|
-
[NodeInspectSymbol]() {
|
|
378
|
-
return this.toString();
|
|
379
|
-
},
|
|
380
|
-
toJSON() {
|
|
381
|
-
return toDateUtc(this).toJSON();
|
|
382
|
-
}
|
|
383
|
-
};
|
|
384
|
-
var ProtoUtc = {
|
|
385
|
-
...Proto,
|
|
386
|
-
_tag: "Utc",
|
|
387
|
-
[symbol]() {
|
|
388
|
-
return number(this.epochMilliseconds);
|
|
389
|
-
},
|
|
390
|
-
[symbol2](that) {
|
|
391
|
-
return isDateTime2(that) && that._tag === "Utc" && this.epochMilliseconds === that.epochMilliseconds;
|
|
392
|
-
},
|
|
393
|
-
toString() {
|
|
394
|
-
return `DateTime.Utc(${toDateUtc(this).toJSON()})`;
|
|
395
|
-
}
|
|
396
|
-
};
|
|
397
|
-
var ProtoZoned = {
|
|
398
|
-
...Proto,
|
|
399
|
-
_tag: "Zoned",
|
|
400
|
-
[symbol]() {
|
|
401
|
-
return combine(number(this.epochMilliseconds))(hash(this.zone));
|
|
402
|
-
},
|
|
403
|
-
[symbol2](that) {
|
|
404
|
-
return isDateTime2(that) && that._tag === "Zoned" && this.epochMilliseconds === that.epochMilliseconds && equals(this.zone, that.zone);
|
|
405
|
-
},
|
|
406
|
-
toString() {
|
|
407
|
-
return `DateTime.Zoned(${formatIsoZoned(this)})`;
|
|
408
|
-
}
|
|
409
|
-
};
|
|
410
|
-
var ProtoTimeZone = {
|
|
411
|
-
[TimeZoneTypeId]: TimeZoneTypeId,
|
|
412
|
-
[NodeInspectSymbol]() {
|
|
413
|
-
return this.toString();
|
|
414
|
-
}
|
|
415
|
-
};
|
|
416
|
-
var ProtoTimeZoneNamed = {
|
|
417
|
-
...ProtoTimeZone,
|
|
418
|
-
_tag: "Named",
|
|
419
|
-
[symbol]() {
|
|
420
|
-
return string(`Named:${this.id}`);
|
|
421
|
-
},
|
|
422
|
-
[symbol2](that) {
|
|
423
|
-
return isTimeZone(that) && that._tag === "Named" && this.id === that.id;
|
|
424
|
-
},
|
|
425
|
-
toString() {
|
|
426
|
-
return `TimeZone.Named(${this.id})`;
|
|
427
|
-
},
|
|
428
|
-
toJSON() {
|
|
429
|
-
return {
|
|
430
|
-
_id: "TimeZone",
|
|
431
|
-
_tag: "Named",
|
|
432
|
-
id: this.id
|
|
433
|
-
};
|
|
434
|
-
}
|
|
435
|
-
};
|
|
436
|
-
var ProtoTimeZoneOffset = {
|
|
437
|
-
...ProtoTimeZone,
|
|
438
|
-
_tag: "Offset",
|
|
439
|
-
[symbol]() {
|
|
440
|
-
return string(`Offset:${this.offset}`);
|
|
441
|
-
},
|
|
442
|
-
[symbol2](that) {
|
|
443
|
-
return isTimeZone(that) && that._tag === "Offset" && this.offset === that.offset;
|
|
444
|
-
},
|
|
445
|
-
toString() {
|
|
446
|
-
return `TimeZone.Offset(${offsetToString(this.offset)})`;
|
|
447
|
-
},
|
|
448
|
-
toJSON() {
|
|
449
|
-
return {
|
|
450
|
-
_id: "TimeZone",
|
|
451
|
-
_tag: "Offset",
|
|
452
|
-
offset: this.offset
|
|
453
|
-
};
|
|
454
|
-
}
|
|
455
|
-
};
|
|
456
|
-
var cacheSlot = {
|
|
457
|
-
value: undefined,
|
|
458
|
-
enumerable: false,
|
|
459
|
-
writable: true
|
|
460
|
-
};
|
|
461
|
-
var sealedCaches = /* @__PURE__ */ new WeakMap;
|
|
462
|
-
var cacheAccessor = (key, slots) => ({
|
|
463
|
-
get() {
|
|
464
|
-
return Object.isExtensible(this) ? undefined : sealedCaches.get(this)?.[key];
|
|
465
|
-
},
|
|
466
|
-
set(value) {
|
|
467
|
-
if (Object.isExtensible(this)) {
|
|
468
|
-
for (const slot of slots) {
|
|
469
|
-
Object.defineProperty(this, slot, cacheSlot);
|
|
470
|
-
}
|
|
471
|
-
this[key] = value;
|
|
472
|
-
} else {
|
|
473
|
-
let caches = sealedCaches.get(this);
|
|
474
|
-
if (caches === undefined) {
|
|
475
|
-
caches = {};
|
|
476
|
-
sealedCaches.set(this, caches);
|
|
477
|
-
}
|
|
478
|
-
caches[key] = value;
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
});
|
|
482
|
-
var zonedSlots = ["partsUtc", "adjustedEpochMilliseconds", "partsAdjusted"];
|
|
483
|
-
Object.defineProperty(ProtoUtc, "partsUtc", cacheAccessor("partsUtc", ["partsUtc"]));
|
|
484
|
-
Object.defineProperties(ProtoZoned, {
|
|
485
|
-
partsUtc: cacheAccessor("partsUtc", zonedSlots),
|
|
486
|
-
adjustedEpochMilliseconds: cacheAccessor("adjustedEpochMilliseconds", zonedSlots),
|
|
487
|
-
partsAdjusted: cacheAccessor("partsAdjusted", zonedSlots)
|
|
488
|
-
});
|
|
489
|
-
var isDateTime2 = (u) => hasProperty(u, TypeId);
|
|
490
|
-
var isTimeZone = (u) => hasProperty(u, TimeZoneTypeId);
|
|
491
|
-
var makeUtc = (epochMillis) => {
|
|
492
|
-
const self = Object.create(ProtoUtc);
|
|
493
|
-
self.epochMilliseconds = epochMillis;
|
|
494
|
-
return self;
|
|
495
|
-
};
|
|
496
|
-
var fromDateUnsafe = (date) => {
|
|
497
|
-
const epochMillis = date.getTime();
|
|
498
|
-
if (Number.isNaN(epochMillis)) {
|
|
499
|
-
throw new IllegalArgumentError("Invalid date");
|
|
500
|
-
}
|
|
501
|
-
return makeUtc(epochMillis);
|
|
502
|
-
};
|
|
503
|
-
var makeUnsafe6 = (input) => {
|
|
504
|
-
if (isDateTime2(input)) {
|
|
505
|
-
return input;
|
|
506
|
-
} else if (input instanceof Date) {
|
|
507
|
-
return fromDateUnsafe(input);
|
|
508
|
-
} else if (typeof input === "object") {
|
|
509
|
-
if ("epochMilliseconds" in input) {
|
|
510
|
-
return fromDateUnsafe(new Date(input.epochMilliseconds));
|
|
511
|
-
}
|
|
512
|
-
const date = new Date(0);
|
|
513
|
-
setPartsDate(date, input);
|
|
514
|
-
return fromDateUnsafe(date);
|
|
515
|
-
} else if (typeof input === "string" && !hasZone(input)) {
|
|
516
|
-
return fromDateUnsafe(new Date(input + "Z"));
|
|
517
|
-
}
|
|
518
|
-
return fromDateUnsafe(new Date(input));
|
|
519
|
-
};
|
|
520
|
-
var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
|
|
521
|
-
var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
|
|
522
|
-
var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
|
|
523
|
-
var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
|
|
524
|
-
var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
|
|
525
|
-
var nowUnsafe = () => makeUtc(Date.now());
|
|
526
|
-
var toDateUtc = (self) => new Date(self.epochMilliseconds);
|
|
527
|
-
var toDate2 = (self) => {
|
|
528
|
-
if (self._tag === "Utc") {
|
|
529
|
-
return new Date(self.epochMilliseconds);
|
|
530
|
-
} else if (self.zone._tag === "Offset") {
|
|
531
|
-
return new Date(self.epochMilliseconds + self.zone.offset);
|
|
532
|
-
} else if (self.adjustedEpochMilliseconds !== undefined) {
|
|
533
|
-
return new Date(self.adjustedEpochMilliseconds);
|
|
534
|
-
}
|
|
535
|
-
let bc = false;
|
|
536
|
-
const parts = self.zone.format.formatToParts(self.epochMilliseconds).filter((_) => {
|
|
537
|
-
if (_.type === "era") {
|
|
538
|
-
bc = _.value === "BC";
|
|
539
|
-
return false;
|
|
540
|
-
}
|
|
541
|
-
return _.type !== "literal";
|
|
542
|
-
});
|
|
543
|
-
const year = Number(parts[2].value);
|
|
544
|
-
const date = new Date(0);
|
|
545
|
-
date.setUTCFullYear(bc ? 1 - year : year, Number(parts[0].value) - 1, Number(parts[1].value));
|
|
546
|
-
date.setUTCHours(Number(parts[3].value), Number(parts[4].value), Number(parts[5].value), parts[6]?.type === "fractionalSecond" ? Number(parts[6].value) : (self.epochMilliseconds % 1000 + 1000) % 1000);
|
|
547
|
-
self.adjustedEpochMilliseconds = date.getTime();
|
|
548
|
-
return date;
|
|
549
|
-
};
|
|
550
|
-
var zonedOffset = (self) => {
|
|
551
|
-
const date = toDate2(self);
|
|
552
|
-
return date.getTime() - toEpochMillis(self);
|
|
553
|
-
};
|
|
554
|
-
var offsetToString = (offset) => {
|
|
555
|
-
const abs = Math.abs(offset);
|
|
556
|
-
let hours = Math.floor(abs / (60 * 60 * 1000));
|
|
557
|
-
let minutes = Math.round(abs % (60 * 60 * 1000) / (60 * 1000));
|
|
558
|
-
if (minutes === 60) {
|
|
559
|
-
hours += 1;
|
|
560
|
-
minutes = 0;
|
|
561
|
-
}
|
|
562
|
-
return `${offset < 0 ? "-" : "+"}${String(hours).padStart(2, "0")}:${String(minutes).padStart(2, "0")}`;
|
|
563
|
-
};
|
|
564
|
-
var zonedOffsetIso = (self) => offsetToString(zonedOffset(self));
|
|
565
|
-
var toEpochMillis = (self) => self.epochMilliseconds;
|
|
566
|
-
var setPartsDate = (date, parts) => {
|
|
567
|
-
if (parts.year !== undefined || parts.month !== undefined || parts.day !== undefined) {
|
|
568
|
-
date.setUTCFullYear(parts.year ?? date.getUTCFullYear(), parts.month !== undefined ? parts.month - 1 : date.getUTCMonth(), parts.day ?? date.getUTCDate());
|
|
569
|
-
}
|
|
570
|
-
if (parts.weekDay !== undefined) {
|
|
571
|
-
const diff = parts.weekDay - date.getUTCDay();
|
|
572
|
-
date.setUTCDate(date.getUTCDate() + diff);
|
|
573
|
-
}
|
|
574
|
-
if (parts.hour !== undefined) {
|
|
575
|
-
date.setUTCHours(parts.hour);
|
|
576
|
-
}
|
|
577
|
-
if (parts.minute !== undefined) {
|
|
578
|
-
date.setUTCMinutes(parts.minute);
|
|
579
|
-
}
|
|
580
|
-
if (parts.second !== undefined) {
|
|
581
|
-
date.setUTCSeconds(parts.second);
|
|
582
|
-
}
|
|
583
|
-
if (parts.millisecond !== undefined) {
|
|
584
|
-
date.setUTCMilliseconds(parts.millisecond);
|
|
585
|
-
}
|
|
586
|
-
};
|
|
587
|
-
var constDayMillis = 24 * 60 * 60 * 1000;
|
|
588
|
-
var formatIso2 = (self) => toDateUtc(self).toISOString();
|
|
589
|
-
var formatIsoOffset = (self) => {
|
|
590
|
-
const date = toDate2(self);
|
|
591
|
-
return self._tag === "Utc" ? date.toISOString() : `${date.toISOString().slice(0, -1)}${zonedOffsetIso(self)}`;
|
|
592
|
-
};
|
|
593
|
-
var formatIsoZoned = (self) => self.zone._tag === "Offset" ? formatIsoOffset(self) : `${formatIsoOffset(self)}[${self.zone.id}]`;
|
|
594
|
-
|
|
595
378
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Metric.js
|
|
596
379
|
var CurrentMetricAttributesKey = "effect/Metric/CurrentMetricAttributes";
|
|
597
380
|
var CurrentMetricAttributes = /* @__PURE__ */ Reference(CurrentMetricAttributesKey, {
|
|
@@ -601,10 +384,10 @@ var MetricRegistryKey = "effect/Metric/MetricRegistry";
|
|
|
601
384
|
var MetricRegistry = /* @__PURE__ */ Reference(MetricRegistryKey, {
|
|
602
385
|
defaultValue: () => new Map
|
|
603
386
|
});
|
|
604
|
-
var
|
|
387
|
+
var TypeId = "~effect/Metric";
|
|
605
388
|
|
|
606
389
|
class Metric$ {
|
|
607
|
-
[
|
|
390
|
+
[TypeId] = TypeId;
|
|
608
391
|
#extraAttributes;
|
|
609
392
|
#mergedAttributes;
|
|
610
393
|
#key = "";
|
|
@@ -627,7 +410,7 @@ class Metric$ {
|
|
|
627
410
|
}
|
|
628
411
|
hook(context) {
|
|
629
412
|
const key = this.key(context);
|
|
630
|
-
const registry =
|
|
413
|
+
const registry = get3(context, MetricRegistry);
|
|
631
414
|
let metadata = registry.get(key);
|
|
632
415
|
if (isUndefined2(metadata)) {
|
|
633
416
|
metadata = this.metadata(this.createHooks());
|
|
@@ -636,11 +419,11 @@ class Metric$ {
|
|
|
636
419
|
return metadata.hooks;
|
|
637
420
|
}
|
|
638
421
|
removeUnsafe(context) {
|
|
639
|
-
|
|
422
|
+
get3(context, MetricRegistry).delete(this.key(context));
|
|
640
423
|
}
|
|
641
424
|
registerUnsafe(context, hooks) {
|
|
642
425
|
const key = this.key(context);
|
|
643
|
-
const registry =
|
|
426
|
+
const registry = get3(context, MetricRegistry);
|
|
644
427
|
const metadata = this.metadata({
|
|
645
428
|
get: hooks.get,
|
|
646
429
|
update: constVoid,
|
|
@@ -656,7 +439,7 @@ class Metric$ {
|
|
|
656
439
|
};
|
|
657
440
|
}
|
|
658
441
|
key(context) {
|
|
659
|
-
const extraAttributes =
|
|
442
|
+
const extraAttributes = get3(context, CurrentMetricAttributes);
|
|
660
443
|
if (extraAttributes !== this.#extraAttributes) {
|
|
661
444
|
this.#extraAttributes = extraAttributes;
|
|
662
445
|
const merged = mergeAttributes(this.attributes, extraAttributes);
|
|
@@ -908,14 +691,147 @@ var toNumber = (b) => {
|
|
|
908
691
|
return some(Number(b));
|
|
909
692
|
};
|
|
910
693
|
|
|
911
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/
|
|
912
|
-
var
|
|
694
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
|
|
695
|
+
var TypeId2 = "~effect/RcRef";
|
|
696
|
+
var stateEmpty = {
|
|
697
|
+
_tag: "Empty"
|
|
698
|
+
};
|
|
699
|
+
var stateClosed = {
|
|
700
|
+
_tag: "Closed"
|
|
701
|
+
};
|
|
702
|
+
var variance = {
|
|
703
|
+
_A: identity,
|
|
704
|
+
_E: identity
|
|
705
|
+
};
|
|
706
|
+
|
|
707
|
+
class RcRefImpl {
|
|
708
|
+
[TypeId2] = variance;
|
|
709
|
+
pipe() {
|
|
710
|
+
return pipeArguments(this, arguments);
|
|
711
|
+
}
|
|
712
|
+
state = stateEmpty;
|
|
713
|
+
acquire;
|
|
714
|
+
context;
|
|
715
|
+
scope;
|
|
716
|
+
idleTimeToLive;
|
|
717
|
+
constructor(acquire, context, scope, idleTimeToLive) {
|
|
718
|
+
this.acquire = acquire;
|
|
719
|
+
this.context = context;
|
|
720
|
+
this.scope = scope;
|
|
721
|
+
this.idleTimeToLive = idleTimeToLive;
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
var make4 = (options) => withFiber2((fiber) => {
|
|
725
|
+
const context = fiber.context;
|
|
726
|
+
const scope = get3(context, Scope);
|
|
727
|
+
const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
|
|
728
|
+
return as(addFinalizerExit(scope, () => {
|
|
729
|
+
const state = ref.state;
|
|
730
|
+
ref.state = stateClosed;
|
|
731
|
+
if (state._tag === "Acquired")
|
|
732
|
+
return close(state.scope, void_2);
|
|
733
|
+
if (state._tag === "Acquiring")
|
|
734
|
+
return interrupt(state.fiber);
|
|
735
|
+
return void_3;
|
|
736
|
+
}), ref);
|
|
737
|
+
});
|
|
738
|
+
var getState = (self, restore) => {
|
|
739
|
+
switch (self.state._tag) {
|
|
740
|
+
case "Closed": {
|
|
741
|
+
return interrupt3;
|
|
742
|
+
}
|
|
743
|
+
case "Acquired": {
|
|
744
|
+
const state = self.state;
|
|
745
|
+
state.refCount++;
|
|
746
|
+
return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
|
|
747
|
+
}
|
|
748
|
+
case "Acquiring": {
|
|
749
|
+
const state = self.state;
|
|
750
|
+
state.awaiters++;
|
|
751
|
+
return awaitAcquiring(self, state, restore);
|
|
752
|
+
}
|
|
753
|
+
case "Empty": {
|
|
754
|
+
const acquiring = {
|
|
755
|
+
_tag: "Acquiring",
|
|
756
|
+
fiber: undefined,
|
|
757
|
+
awaiters: 1,
|
|
758
|
+
acquired: undefined
|
|
759
|
+
};
|
|
760
|
+
self.state = acquiring;
|
|
761
|
+
const scope = makeUnsafe5();
|
|
762
|
+
const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
|
|
763
|
+
if (self.state !== acquiring) {
|
|
764
|
+
return interrupt3;
|
|
765
|
+
}
|
|
766
|
+
const state = {
|
|
767
|
+
_tag: "Acquired",
|
|
768
|
+
value,
|
|
769
|
+
scope,
|
|
770
|
+
fiber: undefined,
|
|
771
|
+
refCount: acquiring.awaiters,
|
|
772
|
+
invalidated: false
|
|
773
|
+
};
|
|
774
|
+
self.state = state;
|
|
775
|
+
acquiring.acquired = state;
|
|
776
|
+
return succeed6(state);
|
|
777
|
+
}), onExit((exit) => {
|
|
778
|
+
if (isSuccess2(exit))
|
|
779
|
+
return void_3;
|
|
780
|
+
if (self.state === acquiring)
|
|
781
|
+
self.state = stateEmpty;
|
|
782
|
+
return close(scope, exit);
|
|
783
|
+
}));
|
|
784
|
+
acquiring.fiber = runForkWith(getCurrent().context)(acquire);
|
|
785
|
+
return awaitAcquiring(self, acquiring, restore);
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
};
|
|
789
|
+
var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
|
|
790
|
+
const acquired = acquiring.acquired;
|
|
791
|
+
if (acquired !== undefined) {
|
|
792
|
+
return isFailure2(exit) ? release(self, acquired) : void_3;
|
|
793
|
+
}
|
|
794
|
+
if (--acquiring.awaiters > 0 || self.state !== acquiring)
|
|
795
|
+
return void_3;
|
|
796
|
+
self.state = stateEmpty;
|
|
797
|
+
return interrupt(acquiring.fiber);
|
|
798
|
+
});
|
|
799
|
+
var get4 = (self_) => {
|
|
800
|
+
const self = self_;
|
|
801
|
+
return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
|
|
802
|
+
};
|
|
803
|
+
var release = (self, state) => {
|
|
804
|
+
state.refCount--;
|
|
805
|
+
if (state.refCount > 0) {
|
|
806
|
+
return void_3;
|
|
807
|
+
}
|
|
808
|
+
const idleTimeToLive = self.idleTimeToLive;
|
|
809
|
+
if (idleTimeToLive === undefined || state.invalidated) {
|
|
810
|
+
if (self.state === state) {
|
|
811
|
+
self.state = stateEmpty;
|
|
812
|
+
}
|
|
813
|
+
return close(state.scope, void_2);
|
|
814
|
+
} else if (!isFinite(idleTimeToLive)) {
|
|
815
|
+
return void_3;
|
|
816
|
+
}
|
|
817
|
+
state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
|
|
818
|
+
if (self.state === state && state.refCount === 0) {
|
|
819
|
+
self.state = stateEmpty;
|
|
820
|
+
return ignoreCause(close(state.scope, void_2), {
|
|
821
|
+
log: "Unhandled",
|
|
822
|
+
message: "Unhandled error in RcRef finalizer"
|
|
823
|
+
});
|
|
824
|
+
}
|
|
825
|
+
return void_3;
|
|
826
|
+
})).pipe(ensuring2(sync2(() => {
|
|
827
|
+
state.fiber = undefined;
|
|
828
|
+
})), runForkWith(self.context), runIn(self.scope));
|
|
829
|
+
return void_3;
|
|
830
|
+
};
|
|
831
|
+
|
|
832
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
913
833
|
var make18 = make4;
|
|
914
|
-
var
|
|
915
|
-
var nowUnsafe2 = nowUnsafe;
|
|
916
|
-
var toDateUtc2 = toDateUtc;
|
|
917
|
-
var toEpochMillis2 = toEpochMillis;
|
|
918
|
-
var formatIso = formatIso2;
|
|
834
|
+
var get5 = get4;
|
|
919
835
|
|
|
920
836
|
// node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
|
|
921
837
|
import * as NodeChildProcess from "child_process";
|
|
@@ -1031,8 +947,8 @@ var releaseWritable = (writable) => callback3((resume) => {
|
|
|
1031
947
|
});
|
|
1032
948
|
var pullIntoWritable = (options) => withFiber2((fiber) => {
|
|
1033
949
|
const dispatcher = fiber.currentDispatcher;
|
|
1034
|
-
const completion =
|
|
1035
|
-
const failure =
|
|
950
|
+
const completion = makeUnsafe4();
|
|
951
|
+
const failure = makeUnsafe4();
|
|
1036
952
|
const onError = (error) => doneUnsafe(failure, failSync(() => options.onError(error)));
|
|
1037
953
|
let errorEmitted = false;
|
|
1038
954
|
const onStreamError = (error) => {
|
|
@@ -1126,7 +1042,7 @@ var readableToPullUnsafe = (options) => {
|
|
|
1126
1042
|
const chunkSize = options.chunkSize ?? 4096;
|
|
1127
1043
|
const closeOnDone = options.closeOnDone ?? true;
|
|
1128
1044
|
const exit = options.exit ?? make8(undefined);
|
|
1129
|
-
const latch = options.latch ??
|
|
1045
|
+
const latch = options.latch ?? makeUnsafe(false);
|
|
1130
1046
|
function onReadable() {
|
|
1131
1047
|
latch.openUnsafe();
|
|
1132
1048
|
}
|
|
@@ -1356,7 +1272,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1356
1272
|
});
|
|
1357
1273
|
}
|
|
1358
1274
|
if (stream) {
|
|
1359
|
-
return
|
|
1275
|
+
return map7(runInputStream(stream, sink, inputFailure), () => {
|
|
1360
1276
|
inputSinks.set(fd, sink);
|
|
1361
1277
|
});
|
|
1362
1278
|
}
|
|
@@ -1462,7 +1378,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1462
1378
|
};
|
|
1463
1379
|
};
|
|
1464
1380
|
const spawn2 = (command, spawnOptions) => callback3((resume) => {
|
|
1465
|
-
const deferred =
|
|
1381
|
+
const deferred = makeUnsafe4();
|
|
1466
1382
|
const handle = NodeChildProcess.spawn(command.command, command.args.map(unwrap2), spawnOptions);
|
|
1467
1383
|
handle.on("error", (error) => {
|
|
1468
1384
|
if (command.args.some(isRedacted)) {
|
|
@@ -1638,7 +1554,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1638
1554
|
}
|
|
1639
1555
|
return reref;
|
|
1640
1556
|
});
|
|
1641
|
-
const inputFailure =
|
|
1557
|
+
const inputFailure = makeUnsafe4();
|
|
1642
1558
|
const stdin = yield* setupChildStdin(cmd, childProcess, stdinConfig, inputFailure);
|
|
1643
1559
|
const {
|
|
1644
1560
|
all,
|
|
@@ -1649,7 +1565,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1649
1565
|
getInputFd,
|
|
1650
1566
|
getOutputFd
|
|
1651
1567
|
} = yield* setupAdditionalFds(cmd, childProcess, resolvedAdditionalFds, inputFailure);
|
|
1652
|
-
const isRunning =
|
|
1568
|
+
const isRunning = map7(isDone(exitSignal), (done) => !done);
|
|
1653
1569
|
const exitCode = flatMap3(raceFirst(_await(exitSignal), _await(inputFailure)), ([code, signal]) => {
|
|
1654
1570
|
if (isDoneUnsafe(inputFailure)) {
|
|
1655
1571
|
return _await(inputFailure);
|
|
@@ -1930,7 +1846,7 @@ var noFollowFlags = (method, flag) => suspend3(() => {
|
|
|
1930
1846
|
var openFactory = (method) => {
|
|
1931
1847
|
const nodeOpen = effectify(NFS.open, handleErrnoException("FileSystem", method), handleBadArgument(method));
|
|
1932
1848
|
const nodeClose = effectify(NFS.close, handleErrnoException("FileSystem", method), handleBadArgument(method));
|
|
1933
|
-
return (path, options) => pipe(acquireRelease(options?.noFollow === true ? flatMap3(noFollowFlags(method, options.flag ?? "r"), (flags) => nodeOpen(path, flags, options.mode)) : nodeOpen(path, options?.flag ?? "r", options?.mode), (fd) => orDie(nodeClose(fd))),
|
|
1849
|
+
return (path, options) => pipe(acquireRelease(options?.noFollow === true ? flatMap3(noFollowFlags(method, options.flag ?? "r"), (flags) => nodeOpen(path, flags, options.mode)) : nodeOpen(path, options?.flag ?? "r", options?.mode), (fd) => orDie(nodeClose(fd))), map7((fd) => makeFile(fd, options?.flag?.startsWith("a") ?? false)));
|
|
1934
1850
|
};
|
|
1935
1851
|
var open2 = /* @__PURE__ */ openFactory("open");
|
|
1936
1852
|
var negativePosition = (method) => badArgument({
|
|
@@ -1991,7 +1907,7 @@ var makeFile = /* @__PURE__ */ (() => {
|
|
|
1991
1907
|
});
|
|
1992
1908
|
}
|
|
1993
1909
|
const position = this.position;
|
|
1994
|
-
return
|
|
1910
|
+
return map7(nodeRead(this.fd, {
|
|
1995
1911
|
buffer,
|
|
1996
1912
|
position
|
|
1997
1913
|
}), (bytesRead) => {
|
|
@@ -2012,7 +1928,7 @@ var makeFile = /* @__PURE__ */ (() => {
|
|
|
2012
1928
|
}
|
|
2013
1929
|
const buffer = Buffer.allocUnsafeSlow(size);
|
|
2014
1930
|
const position = explicit ?? this.position;
|
|
2015
|
-
return
|
|
1931
|
+
return map7(nodeReadAlloc(this.fd, {
|
|
2016
1932
|
buffer,
|
|
2017
1933
|
position
|
|
2018
1934
|
}), (bytesRead) => {
|
|
@@ -2035,7 +1951,7 @@ var makeFile = /* @__PURE__ */ (() => {
|
|
|
2035
1951
|
});
|
|
2036
1952
|
}
|
|
2037
1953
|
truncate(length) {
|
|
2038
|
-
return
|
|
1954
|
+
return map7(nodeTruncate(this.fd, length || undefined), () => {
|
|
2039
1955
|
if (!this.append) {
|
|
2040
1956
|
const len = BigInt(length ?? 0);
|
|
2041
1957
|
if (this.position > len) {
|
|
@@ -2047,7 +1963,7 @@ var makeFile = /* @__PURE__ */ (() => {
|
|
|
2047
1963
|
write(buffer) {
|
|
2048
1964
|
return suspend3(() => {
|
|
2049
1965
|
const position = this.position;
|
|
2050
|
-
return flatMap3(this.append ? succeed6(undefined) : positionToNumber(position, "write"), (nodePosition) =>
|
|
1966
|
+
return flatMap3(this.append ? succeed6(undefined) : positionToNumber(position, "write"), (nodePosition) => map7(nodeWrite(this.fd, buffer, undefined, undefined, nodePosition), (bytesWritten) => {
|
|
2051
1967
|
if (!this.append) {
|
|
2052
1968
|
this.position = position + BigInt(bytesWritten);
|
|
2053
1969
|
}
|
|
@@ -2109,7 +2025,7 @@ var readDirectoryEntries = (path) => tryPromise({
|
|
|
2109
2025
|
withFileTypes: true
|
|
2110
2026
|
}),
|
|
2111
2027
|
catch: (err) => handleErrnoException("FileSystem", "readDirectoryEntries")(err, [path])
|
|
2112
|
-
}).pipe(
|
|
2028
|
+
}).pipe(map7((entries) => entries.map((entry) => ({
|
|
2113
2029
|
name: entry.name,
|
|
2114
2030
|
type: fileType(entry)
|
|
2115
2031
|
}))));
|
|
@@ -2224,7 +2140,7 @@ var watchNode = (path, info, options) => callback((queue) => acquireRelease(sync
|
|
|
2224
2140
|
});
|
|
2225
2141
|
return watcher;
|
|
2226
2142
|
}), (watcher) => sync2(() => watcher.close())).pipe(tap2(() => sync2(() => options?.onReady?.()))));
|
|
2227
|
-
var watch2 = (backend, path, options) => all3([stat2(path), serviceOption(WatchBackend)]).pipe(
|
|
2143
|
+
var watch2 = (backend, path, options) => all3([stat2(path), serviceOption(WatchBackend)]).pipe(map7(([stat, callerBackend]) => orElse(callerBackend, () => backend).pipe(flatMap((_) => _.register(path, stat, options)), getOrElse(() => watchNode(path, stat, options)))), unwrap);
|
|
2228
2144
|
var writeFile2 = (path, data, options) => callback3((resume, signal) => {
|
|
2229
2145
|
try {
|
|
2230
2146
|
NFS.writeFile(path, data, {
|
|
@@ -2242,7 +2158,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
|
|
|
2242
2158
|
resume(fail7(handleBadArgument("writeFile")(err)));
|
|
2243
2159
|
}
|
|
2244
2160
|
});
|
|
2245
|
-
var makeFileSystem = /* @__PURE__ */
|
|
2161
|
+
var makeFileSystem = /* @__PURE__ */ map7(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
|
|
2246
2162
|
access: access2,
|
|
2247
2163
|
chmod: chmod2,
|
|
2248
2164
|
chown: chown2,
|
|
@@ -2302,15 +2218,15 @@ var fileUrlOps = (windows) => ({
|
|
|
2302
2218
|
})
|
|
2303
2219
|
})
|
|
2304
2220
|
});
|
|
2305
|
-
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2221
|
+
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
2306
2222
|
...NodePath.posix,
|
|
2307
2223
|
.../* @__PURE__ */ fileUrlOps(false)
|
|
2308
2224
|
}));
|
|
2309
|
-
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2225
|
+
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
2310
2226
|
...NodePath.win32,
|
|
2311
2227
|
.../* @__PURE__ */ fileUrlOps(true)
|
|
2312
2228
|
}));
|
|
2313
|
-
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2229
|
+
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
2314
2230
|
...NodePath,
|
|
2315
2231
|
.../* @__PURE__ */ fileUrlOps(undefined)
|
|
2316
2232
|
}));
|
|
@@ -2569,7 +2485,7 @@ var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCry
|
|
|
2569
2485
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
|
|
2570
2486
|
var TypeId4 = "~effect/http/Cookies";
|
|
2571
2487
|
var CookieTypeId = "~effect/http/Cookies/Cookie";
|
|
2572
|
-
var
|
|
2488
|
+
var Proto = {
|
|
2573
2489
|
[TypeId4]: TypeId4,
|
|
2574
2490
|
...BaseProto,
|
|
2575
2491
|
toJSON() {
|
|
@@ -2583,7 +2499,7 @@ var Proto2 = {
|
|
|
2583
2499
|
}
|
|
2584
2500
|
};
|
|
2585
2501
|
var fromReadonlyRecord = (cookies) => {
|
|
2586
|
-
const self = Object.create(
|
|
2502
|
+
const self = Object.create(Proto);
|
|
2587
2503
|
self.cookies = cookies;
|
|
2588
2504
|
return self;
|
|
2589
2505
|
};
|
|
@@ -2750,13 +2666,13 @@ var tryDecodeURIComponent = (str) => {
|
|
|
2750
2666
|
|
|
2751
2667
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
|
|
2752
2668
|
var TypeId5 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
|
|
2753
|
-
var
|
|
2669
|
+
var Proto2 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
|
|
2754
2670
|
[TypeId5]: {
|
|
2755
2671
|
value: TypeId5
|
|
2756
2672
|
},
|
|
2757
2673
|
[symbolRedactable]: {
|
|
2758
2674
|
value(context) {
|
|
2759
|
-
return redact2(this,
|
|
2675
|
+
return redact2(this, get3(context, CurrentRedactedNames));
|
|
2760
2676
|
}
|
|
2761
2677
|
},
|
|
2762
2678
|
toJSON: {
|
|
@@ -2766,7 +2682,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
|
|
|
2766
2682
|
},
|
|
2767
2683
|
[symbol2]: {
|
|
2768
2684
|
value(that) {
|
|
2769
|
-
return
|
|
2685
|
+
return Equivalence(this, that);
|
|
2770
2686
|
}
|
|
2771
2687
|
},
|
|
2772
2688
|
[symbol]: {
|
|
@@ -2781,20 +2697,20 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
|
|
|
2781
2697
|
value: BaseProto[NodeInspectSymbol]
|
|
2782
2698
|
}
|
|
2783
2699
|
});
|
|
2784
|
-
var make22 = (input) => Object.assign(Object.create(
|
|
2785
|
-
var
|
|
2786
|
-
var empty = /* @__PURE__ */ Object.create(
|
|
2700
|
+
var make22 = (input) => Object.assign(Object.create(Proto2), input);
|
|
2701
|
+
var Equivalence = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
|
|
2702
|
+
var empty = /* @__PURE__ */ Object.create(Proto2);
|
|
2787
2703
|
var fromInput = (input) => {
|
|
2788
2704
|
if (input === undefined) {
|
|
2789
2705
|
return empty;
|
|
2790
2706
|
} else if (Symbol.iterator in input) {
|
|
2791
|
-
const out = Object.create(
|
|
2707
|
+
const out = Object.create(Proto2);
|
|
2792
2708
|
for (const [k, v] of input) {
|
|
2793
2709
|
out[k.toLowerCase()] = v;
|
|
2794
2710
|
}
|
|
2795
2711
|
return out;
|
|
2796
2712
|
}
|
|
2797
|
-
const out = Object.create(
|
|
2713
|
+
const out = Object.create(Proto2);
|
|
2798
2714
|
for (const [k, v] of Object.entries(input)) {
|
|
2799
2715
|
if (Array.isArray(v)) {
|
|
2800
2716
|
out[k.toLowerCase()] = v.join(", ");
|
|
@@ -2804,7 +2720,7 @@ var fromInput = (input) => {
|
|
|
2804
2720
|
}
|
|
2805
2721
|
return out;
|
|
2806
2722
|
};
|
|
2807
|
-
var fromRecordUnsafe = (input) => Object.setPrototypeOf(input,
|
|
2723
|
+
var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto2);
|
|
2808
2724
|
var set = /* @__PURE__ */ dual(3, (self, key, value) => {
|
|
2809
2725
|
const out = make22(self);
|
|
2810
2726
|
out[key.toLowerCase()] = value;
|
|
@@ -2879,7 +2795,7 @@ var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(
|
|
|
2879
2795
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/UrlParams.js
|
|
2880
2796
|
var TypeId6 = "~effect/http/UrlParams";
|
|
2881
2797
|
var isUrlParams = (u) => hasProperty(u, TypeId6);
|
|
2882
|
-
var
|
|
2798
|
+
var Proto3 = {
|
|
2883
2799
|
...PipeInspectableProto,
|
|
2884
2800
|
[TypeId6]: TypeId6,
|
|
2885
2801
|
[Symbol.iterator]() {
|
|
@@ -2888,21 +2804,21 @@ var Proto4 = {
|
|
|
2888
2804
|
[symbolRedactable](context) {
|
|
2889
2805
|
return {
|
|
2890
2806
|
_id: "UrlParams",
|
|
2891
|
-
params: Object.fromEntries(redact3(this,
|
|
2807
|
+
params: Object.fromEntries(redact3(this, get3(context, CurrentRedactedNames2)))
|
|
2892
2808
|
};
|
|
2893
2809
|
},
|
|
2894
2810
|
toJSON() {
|
|
2895
2811
|
return redact(this);
|
|
2896
2812
|
},
|
|
2897
2813
|
[symbol2](that) {
|
|
2898
|
-
return
|
|
2814
|
+
return Equivalence2(this, that);
|
|
2899
2815
|
},
|
|
2900
2816
|
[symbol]() {
|
|
2901
2817
|
return array(this.params.flat());
|
|
2902
2818
|
}
|
|
2903
2819
|
};
|
|
2904
2820
|
var make23 = (params) => {
|
|
2905
|
-
const self = Object.create(
|
|
2821
|
+
const self = Object.create(Proto3);
|
|
2906
2822
|
self.params = params;
|
|
2907
2823
|
return self;
|
|
2908
2824
|
};
|
|
@@ -2944,7 +2860,7 @@ var fromInputNested = (input) => {
|
|
|
2944
2860
|
return out;
|
|
2945
2861
|
};
|
|
2946
2862
|
var coerce = (value) => isRedacted(value) ? value : String(value);
|
|
2947
|
-
var
|
|
2863
|
+
var Equivalence2 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
|
|
2948
2864
|
var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
|
|
2949
2865
|
var empty4 = /* @__PURE__ */ make23([]);
|
|
2950
2866
|
var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
@@ -3014,7 +2930,7 @@ var decodeQueryKey = (key) => {
|
|
|
3014
2930
|
return key;
|
|
3015
2931
|
}
|
|
3016
2932
|
};
|
|
3017
|
-
var currentRedactedNames = () =>
|
|
2933
|
+
var currentRedactedNames = () => get3(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
|
|
3018
2934
|
var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
|
|
3019
2935
|
defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
|
|
3020
2936
|
});
|
|
@@ -3050,7 +2966,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3050
2966
|
};
|
|
3051
2967
|
stdin.once("end", onStdinEnd);
|
|
3052
2968
|
yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
|
|
3053
|
-
const rlRef = yield*
|
|
2969
|
+
const rlRef = yield* make18({
|
|
3054
2970
|
acquire: acquireRelease(sync2(() => {
|
|
3055
2971
|
const rl = readline.createInterface({
|
|
3056
2972
|
input: stdin,
|
|
@@ -3089,7 +3005,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3089
3005
|
if (stdin.isTTY)
|
|
3090
3006
|
stdin.setRawMode(enabled);
|
|
3091
3007
|
});
|
|
3092
|
-
const rawModeRef = yield*
|
|
3008
|
+
const rawModeRef = yield* make18({
|
|
3093
3009
|
acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
|
|
3094
3010
|
idleTimeToLive: "10 millis"
|
|
3095
3011
|
});
|
|
@@ -3140,14 +3056,14 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3140
3056
|
if (inputEnded) {
|
|
3141
3057
|
handleEnd();
|
|
3142
3058
|
} else {
|
|
3143
|
-
yield*
|
|
3144
|
-
yield*
|
|
3059
|
+
yield* get5(rlRef);
|
|
3060
|
+
yield* get5(rawModeRef);
|
|
3145
3061
|
stdin.once("end", handleEnd);
|
|
3146
3062
|
}
|
|
3147
3063
|
return queue;
|
|
3148
3064
|
});
|
|
3149
3065
|
const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
|
|
3150
|
-
onNone: () => scoped(andThen2(
|
|
3066
|
+
onNone: () => scoped(andThen2(get5(rlRef), take(lines))),
|
|
3151
3067
|
onSome: succeed6
|
|
3152
3068
|
})), mapError2(() => new QuitError({}))));
|
|
3153
3069
|
const display = (prompt) => uninterruptible(callback3((resume) => {
|
|
@@ -3191,17 +3107,17 @@ var log = (...args) => consoleWith((console) => sync(() => {
|
|
|
3191
3107
|
|
|
3192
3108
|
// packages/core/src/time.ts
|
|
3193
3109
|
function toDate(input) {
|
|
3194
|
-
return
|
|
3110
|
+
return toDateUtc(makeUnsafe6(input));
|
|
3195
3111
|
}
|
|
3196
3112
|
function parseDate(input) {
|
|
3197
|
-
return getOrUndefined(map4(
|
|
3113
|
+
return getOrUndefined(map4(make16(input), toDateUtc));
|
|
3198
3114
|
}
|
|
3199
3115
|
function toIso(input) {
|
|
3200
|
-
return formatIso(
|
|
3116
|
+
return formatIso(makeUnsafe6(input));
|
|
3201
3117
|
}
|
|
3202
|
-
var currentDate =
|
|
3118
|
+
var currentDate = map7(now, toDateUtc);
|
|
3203
3119
|
function wallClockMillis() {
|
|
3204
|
-
return
|
|
3120
|
+
return toEpochMillis(nowUnsafe());
|
|
3205
3121
|
}
|
|
3206
3122
|
|
|
3207
3123
|
// packages/core/src/waiting-on.ts
|
|
@@ -6667,7 +6583,7 @@ var WorkUnitLease = Struct({
|
|
|
6667
6583
|
leaseExpiresAt: Timestamp,
|
|
6668
6584
|
lastHeartbeatAt: Timestamp
|
|
6669
6585
|
});
|
|
6670
|
-
var WorkUnitLeaseProjection = Struct(
|
|
6586
|
+
var WorkUnitLeaseProjection = Struct(map8(WorkUnitLease.fields, optionalKey));
|
|
6671
6587
|
var WorkUnitRepoBinding = Struct({
|
|
6672
6588
|
id: Id,
|
|
6673
6589
|
provider: RepoBindingProvider,
|
|
@@ -9400,7 +9316,7 @@ var TranscriptSearchResult = Struct({
|
|
|
9400
9316
|
});
|
|
9401
9317
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
|
|
9402
9318
|
var TypeId8 = "~effect/http/HttpBody";
|
|
9403
|
-
class
|
|
9319
|
+
class Proto4 {
|
|
9404
9320
|
[TypeId8];
|
|
9405
9321
|
constructor() {
|
|
9406
9322
|
this[TypeId8] = TypeId8;
|
|
@@ -9415,7 +9331,7 @@ class Proto5 {
|
|
|
9415
9331
|
}
|
|
9416
9332
|
}
|
|
9417
9333
|
|
|
9418
|
-
class Empty extends
|
|
9334
|
+
class Empty extends Proto4 {
|
|
9419
9335
|
_tag = "Empty";
|
|
9420
9336
|
toJSON() {
|
|
9421
9337
|
return {
|
|
@@ -9426,7 +9342,7 @@ class Empty extends Proto5 {
|
|
|
9426
9342
|
}
|
|
9427
9343
|
var empty5 = /* @__PURE__ */ new Empty;
|
|
9428
9344
|
|
|
9429
|
-
class Raw extends
|
|
9345
|
+
class Raw extends Proto4 {
|
|
9430
9346
|
_tag = "Raw";
|
|
9431
9347
|
body;
|
|
9432
9348
|
contentType;
|
|
@@ -9449,7 +9365,7 @@ class Raw extends Proto5 {
|
|
|
9449
9365
|
}
|
|
9450
9366
|
var raw = (body, options) => new Raw(body, options?.contentType, options?.contentLength);
|
|
9451
9367
|
|
|
9452
|
-
class Uint8Array2 extends
|
|
9368
|
+
class Uint8Array2 extends Proto4 {
|
|
9453
9369
|
_tag = "Uint8Array";
|
|
9454
9370
|
contentType;
|
|
9455
9371
|
contentLength;
|
|
@@ -9676,7 +9592,7 @@ var baseUrl = () => {
|
|
|
9676
9592
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
|
|
9677
9593
|
var TypeId10 = "~effect/http/HttpClientRequest";
|
|
9678
9594
|
var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
|
|
9679
|
-
var
|
|
9595
|
+
var Proto5 = {
|
|
9680
9596
|
[TypeId10]: TypeId10,
|
|
9681
9597
|
...BaseProto,
|
|
9682
9598
|
toJSON() {
|
|
@@ -9695,7 +9611,7 @@ var Proto6 = {
|
|
|
9695
9611
|
}
|
|
9696
9612
|
};
|
|
9697
9613
|
function makeWith(method, url, urlParams, hash, headers, body) {
|
|
9698
|
-
const self = Object.create(
|
|
9614
|
+
const self = Object.create(Proto5);
|
|
9699
9615
|
self.method = method;
|
|
9700
9616
|
self.url = url;
|
|
9701
9617
|
self.urlParams = urlParams;
|
|
@@ -9882,7 +9798,7 @@ class WebHttpClientResponse extends Class {
|
|
|
9882
9798
|
}
|
|
9883
9799
|
textBody;
|
|
9884
9800
|
get text() {
|
|
9885
|
-
return this.textBody ??=
|
|
9801
|
+
return this.textBody ??= map7(this.arrayBuffer, (_) => new TextDecoder().decode(_));
|
|
9886
9802
|
}
|
|
9887
9803
|
get urlParamsBody() {
|
|
9888
9804
|
return flatMap3(this.arrayBuffer, (bytes) => try_2({
|
|
@@ -9993,7 +9909,7 @@ var get2 = /* @__PURE__ */ accessor("get");
|
|
|
9993
9909
|
var transform = /* @__PURE__ */ dual(2, (self, f) => makeWith2(flatMap3((request) => f(self.postprocess(succeed6(request)), request)), self.preprocess));
|
|
9994
9910
|
var transformResponse = /* @__PURE__ */ dual(2, (self, f) => makeWith2((request) => f(self.postprocess(request)), self.preprocess));
|
|
9995
9911
|
var makeWith2 = (postprocess, preprocess) => {
|
|
9996
|
-
const self = Object.create(
|
|
9912
|
+
const self = Object.create(Proto6);
|
|
9997
9913
|
self.preprocess = preprocess;
|
|
9998
9914
|
self.postprocess = postprocess;
|
|
9999
9915
|
self.execute = function(request) {
|
|
@@ -10001,7 +9917,7 @@ var makeWith2 = (postprocess, preprocess) => {
|
|
|
10001
9917
|
};
|
|
10002
9918
|
return self;
|
|
10003
9919
|
};
|
|
10004
|
-
var
|
|
9920
|
+
var Proto6 = {
|
|
10005
9921
|
[TypeId13]: TypeId13,
|
|
10006
9922
|
pipe() {
|
|
10007
9923
|
return pipeArguments(this, arguments);
|
|
@@ -10033,7 +9949,7 @@ var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFibe
|
|
|
10033
9949
|
if (tracerDisabled) {
|
|
10034
9950
|
const effect = f(request, url, controller.signal, fiber);
|
|
10035
9951
|
if (scopedController)
|
|
10036
|
-
return
|
|
9952
|
+
return map7(effect, (response) => trackResponse(response, controller, true));
|
|
10037
9953
|
return uninterruptibleMask2((restore) => matchCauseEffect(restore(effect), {
|
|
10038
9954
|
onSuccess(response) {
|
|
10039
9955
|
return succeed6(trackResponse(response, controller, false));
|
|
@@ -10104,7 +10020,7 @@ var TracerPropagationEnabled = /* @__PURE__ */ Reference("effect/http/HttpClient
|
|
|
10104
10020
|
var SpanNameGenerator = /* @__PURE__ */ Reference("effect/http/HttpClient/SpanNameGenerator", {
|
|
10105
10021
|
defaultValue: () => (request) => request.method
|
|
10106
10022
|
});
|
|
10107
|
-
var layerMergedContext = (effect2) => effect(HttpClient)(contextWith((context) =>
|
|
10023
|
+
var layerMergedContext = (effect2) => effect(HttpClient)(contextWith((context) => map7(effect2, (client) => transformResponse(client, updateContext((input) => merge3(context, input))))));
|
|
10108
10024
|
var responseRegistry = /* @__PURE__ */ (() => {
|
|
10109
10025
|
if ("FinalizationRegistry" in globalThis && globalThis.FinalizationRegistry) {
|
|
10110
10026
|
const registry = /* @__PURE__ */ new FinalizationRegistry((controller) => {
|
|
@@ -10269,7 +10185,7 @@ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
|
|
|
10269
10185
|
}
|
|
10270
10186
|
let uploadController;
|
|
10271
10187
|
const stopUpload = sync2(() => uploadController?.abort());
|
|
10272
|
-
const send = (body) =>
|
|
10188
|
+
const send = (body) => map7(tryPromise({
|
|
10273
10189
|
try: () => fetch2(url, {
|
|
10274
10190
|
...options,
|
|
10275
10191
|
method: request.method,
|
|
@@ -10440,14 +10356,14 @@ var layerWebSocketConstructorGlobal = /* @__PURE__ */ succeed5(WebSocketConstruc
|
|
|
10440
10356
|
}
|
|
10441
10357
|
return new globalThis.WebSocket(url, options);
|
|
10442
10358
|
});
|
|
10443
|
-
var makeWebSocket = (url, options) => WebSocketConstructor.use((makeWs) => fromWebSocket(acquireRelease((typeof url === "string" ? succeed6(url) : url).pipe(
|
|
10359
|
+
var makeWebSocket = (url, options) => WebSocketConstructor.use((makeWs) => fromWebSocket(acquireRelease((typeof url === "string" ? succeed6(url) : url).pipe(map7((url) => makeWs(url, options?.headers === undefined ? options?.protocols : {
|
|
10444
10360
|
protocols: options.protocols,
|
|
10445
10361
|
headers: options.headers
|
|
10446
10362
|
}))), (ws) => sync2(() => ws.close(1000))), options));
|
|
10447
10363
|
var isPausable = (ws) => ("pause" in ws) && typeof ws.pause === "function";
|
|
10448
10364
|
var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
|
|
10449
10365
|
let currentWS;
|
|
10450
|
-
const latch =
|
|
10366
|
+
const latch = makeUnsafe(false);
|
|
10451
10367
|
const acquireContext = fiber.context;
|
|
10452
10368
|
const reader = gen(function* () {
|
|
10453
10369
|
const scope = yield* scope2;
|
|
@@ -11075,7 +10991,7 @@ var effectMetrics = new Map(MetricDefinitions.map((definition) => {
|
|
|
11075
10991
|
var processTelemetryRegistry = new Map;
|
|
11076
10992
|
var processMetricRegistry = new Map;
|
|
11077
10993
|
var collectorTimeout = "10 seconds";
|
|
11078
|
-
var collectorHttpClient = effect(HttpClient)(
|
|
10994
|
+
var collectorHttpClient = effect(HttpClient)(map7(HttpClient, (client) => transform(client, (response, request) => timeoutOrElse(response, {
|
|
11079
10995
|
duration: collectorTimeout,
|
|
11080
10996
|
orElse: () => fail7(new HttpClientError({
|
|
11081
10997
|
reason: new TransportError({
|
|
@@ -12872,7 +12788,7 @@ class KitmanEffectClient {
|
|
|
12872
12788
|
return tryPromise({
|
|
12873
12789
|
try: () => this.fetchImpl(this.url(path), { ...init, headers, signal: abort.signal }),
|
|
12874
12790
|
catch: failed
|
|
12875
|
-
}).pipe(flatMap3((answer) => tryPromise({ try: () => answer.arrayBuffer(), catch: failed }).pipe(
|
|
12791
|
+
}).pipe(flatMap3((answer) => tryPromise({ try: () => answer.arrayBuffer(), catch: failed }).pipe(map7((body) => new Response(body.byteLength === 0 ? null : body, answer)))), onInterrupt(() => sync2(() => abort.abort())));
|
|
12876
12792
|
});
|
|
12877
12793
|
const response = yield* method !== "GET" ? send.pipe(retry({ schedule: unansweredGetRetry, times: 5, while: refusedConnection })) : sendAndRead.pipe(timeoutOrElse({
|
|
12878
12794
|
duration: getAnswerTimeout,
|
|
@@ -12934,8 +12850,8 @@ class KitmanEffectClient {
|
|
|
12934
12850
|
function errorResponseDetails(response) {
|
|
12935
12851
|
const contentType = response.headers.get("content-type") ?? "";
|
|
12936
12852
|
if (contentType.includes("application/json"))
|
|
12937
|
-
return tryPromise(() => response.json()).pipe(
|
|
12938
|
-
return tryPromise(() => response.text()).pipe(
|
|
12853
|
+
return tryPromise(() => response.json()).pipe(map7(parseErrorResponse), orElseSucceed(() => ({})));
|
|
12854
|
+
return tryPromise(() => response.text()).pipe(map7((text) => {
|
|
12939
12855
|
const message = sanitizeErrorDetail(text);
|
|
12940
12856
|
return message === undefined ? {} : { message };
|
|
12941
12857
|
}), orElseSucceed(() => ({})));
|
|
@@ -13231,13 +13147,13 @@ function resolveConfig(input) {
|
|
|
13231
13147
|
...userAgentPreferences === undefined ? undefined : { userAgentPreferences }
|
|
13232
13148
|
};
|
|
13233
13149
|
}
|
|
13234
|
-
var apiUrlFromEnv = String2("KITMAN_API_URL").pipe(option,
|
|
13235
|
-
var stepCredentialFromEnv = String2("KITMAN_STEP_CREDENTIAL").pipe(option,
|
|
13236
|
-
var stepWorkspaceFromEnv = String2("KITMAN_STEP_WORKSPACE").pipe(option,
|
|
13237
|
-
var stepSkillsDirFromEnv = String2("KITMAN_STEP_SKILLS_DIR").pipe(option,
|
|
13238
|
-
var stepFittingSkillsFromEnv = String2("KITMAN_STEP_FITTING_SKILLS").pipe(option,
|
|
13239
|
-
var stepOutputOnlyFromEnv = String2("KITMAN_STEP_TOOLS").pipe(option,
|
|
13240
|
-
var mcpCredentialNameFromEnv = String2("KITMAN_MCP_CREDENTIAL_NAME").pipe(option,
|
|
13150
|
+
var apiUrlFromEnv = String2("KITMAN_API_URL").pipe(option, map7(getOrUndefined));
|
|
13151
|
+
var stepCredentialFromEnv = String2("KITMAN_STEP_CREDENTIAL").pipe(option, map7(getOrUndefined));
|
|
13152
|
+
var stepWorkspaceFromEnv = String2("KITMAN_STEP_WORKSPACE").pipe(option, map7(getOrUndefined));
|
|
13153
|
+
var stepSkillsDirFromEnv = String2("KITMAN_STEP_SKILLS_DIR").pipe(option, map7(getOrUndefined));
|
|
13154
|
+
var stepFittingSkillsFromEnv = String2("KITMAN_STEP_FITTING_SKILLS").pipe(option, map7((names) => getOrElse(names, () => "").split(",").filter((name) => name !== "")));
|
|
13155
|
+
var stepOutputOnlyFromEnv = String2("KITMAN_STEP_TOOLS").pipe(option, map7((tools) => getOrUndefined(tools) === "output"));
|
|
13156
|
+
var mcpCredentialNameFromEnv = String2("KITMAN_MCP_CREDENTIAL_NAME").pipe(option, map7(getOrUndefined));
|
|
13241
13157
|
var kitmanConfigDir = gen(function* () {
|
|
13242
13158
|
const path = yield* Path;
|
|
13243
13159
|
const xdgConfigHome = yield* String2("XDG_CONFIG_HOME").pipe(option);
|
|
@@ -13254,7 +13170,7 @@ var userAuthPath = configFile("auth.json");
|
|
|
13254
13170
|
var userHarnessSyncPath = configFile("harness-sync.json");
|
|
13255
13171
|
var kitSetupCacheDir = configFile("kit-setups");
|
|
13256
13172
|
var bundleCacheDir = configFile("bundles");
|
|
13257
|
-
var localConfigPath = Path.pipe(
|
|
13173
|
+
var localConfigPath = Path.pipe(map7((path) => path.resolve(".kitman/config.json")));
|
|
13258
13174
|
function readUserConfig(path) {
|
|
13259
13175
|
return gen(function* () {
|
|
13260
13176
|
const filePath = path ?? (yield* userConfigPath);
|
|
@@ -13382,7 +13298,7 @@ function sessionForApi(auth, apiUrl) {
|
|
|
13382
13298
|
return auth.sessions[normalizeApiUrl(apiUrl)];
|
|
13383
13299
|
}
|
|
13384
13300
|
function readAuthStore(path) {
|
|
13385
|
-
return readUserAuth(path).pipe(
|
|
13301
|
+
return readUserAuth(path).pipe(map7((auth) => isAuthStore(auth) ? normalizeAuthStore(auth) : { sessions: {} }), catchTag("SchemaError", () => succeed6({ sessions: {} })));
|
|
13386
13302
|
}
|
|
13387
13303
|
function writeAuthStore(auth, path) {
|
|
13388
13304
|
return writeUserAuth(auth, path);
|
|
@@ -13530,7 +13446,7 @@ function Stream(success, error) {
|
|
|
13530
13446
|
|
|
13531
13447
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
|
|
13532
13448
|
var TypeId15 = "~effect/rpc/Rpc";
|
|
13533
|
-
var
|
|
13449
|
+
var Proto7 = {
|
|
13534
13450
|
[TypeId15]: TypeId15,
|
|
13535
13451
|
pipe() {
|
|
13536
13452
|
return pipeArguments(this, arguments);
|
|
@@ -13615,7 +13531,7 @@ var Proto8 = {
|
|
|
13615
13531
|
};
|
|
13616
13532
|
var makeProto = (options) => {
|
|
13617
13533
|
function Rpc() {}
|
|
13618
|
-
Object.setPrototypeOf(Rpc,
|
|
13534
|
+
Object.setPrototypeOf(Rpc, Proto7);
|
|
13619
13535
|
Object.assign(Rpc, options);
|
|
13620
13536
|
Rpc.key = `effect/rpc/Rpc/${options._tag}`;
|
|
13621
13537
|
return Rpc;
|
|
@@ -13741,7 +13657,7 @@ var RpcGroupProto = {
|
|
|
13741
13657
|
}
|
|
13742
13658
|
return makeProto2({
|
|
13743
13659
|
requests,
|
|
13744
|
-
annotations:
|
|
13660
|
+
annotations: makeUnsafe3(annotations)
|
|
13745
13661
|
});
|
|
13746
13662
|
},
|
|
13747
13663
|
omit(...tags) {
|
|
@@ -13777,7 +13693,7 @@ var RpcGroupProto = {
|
|
|
13777
13693
|
context: services
|
|
13778
13694
|
});
|
|
13779
13695
|
});
|
|
13780
|
-
return
|
|
13696
|
+
return makeUnsafe3(contextMap);
|
|
13781
13697
|
});
|
|
13782
13698
|
},
|
|
13783
13699
|
prefix(prefix) {
|
|
@@ -13806,7 +13722,7 @@ var RpcGroupProto = {
|
|
|
13806
13722
|
handler,
|
|
13807
13723
|
context: services
|
|
13808
13724
|
});
|
|
13809
|
-
return
|
|
13725
|
+
return makeUnsafe3(contextMap);
|
|
13810
13726
|
}));
|
|
13811
13727
|
},
|
|
13812
13728
|
accessHandler(service) {
|
|
@@ -13831,7 +13747,7 @@ var RpcGroupProto = {
|
|
|
13831
13747
|
});
|
|
13832
13748
|
},
|
|
13833
13749
|
annotateRpcs(service, value) {
|
|
13834
|
-
return this.annotateRpcsMerge(
|
|
13750
|
+
return this.annotateRpcsMerge(make14(service, value));
|
|
13835
13751
|
},
|
|
13836
13752
|
annotateMerge(context) {
|
|
13837
13753
|
return makeProto2({
|
|
@@ -14250,6 +14166,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14250
14166
|
runnerChecks: optionalKey(ArraySchema(String4)),
|
|
14251
14167
|
approved: optionalKey(String4),
|
|
14252
14168
|
repository: optionalKey(String4),
|
|
14169
|
+
sourceBranch: optionalKey(String4),
|
|
14253
14170
|
targetBranch: optionalKey(String4),
|
|
14254
14171
|
conflicts: optionalKey(Boolean2),
|
|
14255
14172
|
needsRebase: optionalKey(Boolean2),
|
|
@@ -14485,7 +14402,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
|
|
|
14485
14402
|
var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
|
|
14486
14403
|
|
|
14487
14404
|
// apps/cli/src/oauth.ts
|
|
14488
|
-
var
|
|
14405
|
+
var Scope2 = "openid profile email offline_access kitman:cli";
|
|
14489
14406
|
var CallbackPath = "/auth/callback";
|
|
14490
14407
|
|
|
14491
14408
|
class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
|
|
@@ -14504,7 +14421,7 @@ function buildAuthorizeUrl(input) {
|
|
|
14504
14421
|
url.searchParams.set("response_type", "code");
|
|
14505
14422
|
url.searchParams.set("client_id", input.clientId);
|
|
14506
14423
|
url.searchParams.set("redirect_uri", input.redirectUri);
|
|
14507
|
-
url.searchParams.set("scope",
|
|
14424
|
+
url.searchParams.set("scope", Scope2);
|
|
14508
14425
|
url.searchParams.set("code_challenge", input.codeChallenge);
|
|
14509
14426
|
url.searchParams.set("code_challenge_method", "S256");
|
|
14510
14427
|
url.searchParams.set("state", input.state);
|
|
@@ -14564,7 +14481,7 @@ function toStoredSession(token, existingRefreshToken) {
|
|
|
14564
14481
|
}
|
|
14565
14482
|
function startLoopbackServer(input) {
|
|
14566
14483
|
return gen(function* () {
|
|
14567
|
-
const code = yield*
|
|
14484
|
+
const code = yield* make15();
|
|
14568
14485
|
const context2 = yield* context();
|
|
14569
14486
|
const runSyncExit = runSyncExitWith(context2);
|
|
14570
14487
|
const server = yield* acquireRelease(sync2(() => Bun.serve({
|
|
@@ -14673,7 +14590,7 @@ function createSdkClient(input) {
|
|
|
14673
14590
|
const runPromise = runPromiseWith(yield* context());
|
|
14674
14591
|
const fetchImpl = input.fetch ?? (yield* Fetch);
|
|
14675
14592
|
let session = input.session;
|
|
14676
|
-
const refreshPermit =
|
|
14593
|
+
const refreshPermit = makeUnsafe2(1);
|
|
14677
14594
|
const refreshFrom = (stale) => refreshPermit.withPermits(1)(suspend3(() => session === stale ? tap2(refreshSession({ ...input, fetch: fetchImpl, session: stale }), (next) => sync2(() => session = next)) : succeed6(session))).pipe(mapError2((error) => new KitmanClientError({ operation: "refreshSession", message: error.message, status: 401 })));
|
|
14678
14595
|
const authorizedFetch = (resource, init) => runPromise(gen(function* () {
|
|
14679
14596
|
if (session.refreshToken && shouldRefresh(yield* currentDate, session.expiresAt))
|
|
@@ -14693,7 +14610,7 @@ function createSdkClient(input) {
|
|
|
14693
14610
|
});
|
|
14694
14611
|
}
|
|
14695
14612
|
function refreshSession(input) {
|
|
14696
|
-
const storedSession = readAuthStore(input.authPath).pipe(
|
|
14613
|
+
const storedSession = readAuthStore(input.authPath).pipe(map7((auth) => sessionForApi(auth, input.apiUrl)));
|
|
14697
14614
|
return withAuthLock(input.authPath, gen(function* () {
|
|
14698
14615
|
const stored = yield* storedSession;
|
|
14699
14616
|
if (!stored)
|
|
@@ -14708,7 +14625,7 @@ function refreshSession(input) {
|
|
|
14708
14625
|
clientId: input.clientId ?? ClientId,
|
|
14709
14626
|
refreshToken: spentToken,
|
|
14710
14627
|
...input.fetch ? { fetch: input.fetch } : undefined
|
|
14711
|
-
}).pipe(
|
|
14628
|
+
}).pipe(map7((token) => toStoredSession(token, spentToken)));
|
|
14712
14629
|
const session = yield* refreshing.pipe(catch_((error) => storedSession.pipe(filterOrFail((current) => current !== undefined && current.refreshToken !== spentToken, () => error))));
|
|
14713
14630
|
const current = yield* storedSession;
|
|
14714
14631
|
if (current?.refreshToken !== spentToken)
|
|
@@ -15104,7 +15021,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
15104
15021
|
let lastId = 0;
|
|
15105
15022
|
let lost = false;
|
|
15106
15023
|
const notifications = yield* unbounded2();
|
|
15107
|
-
const ended = yield*
|
|
15024
|
+
const ended = yield* make15();
|
|
15108
15025
|
const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
|
|
15109
15026
|
onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
|
|
15110
15027
|
onNone: () => void_3,
|
|
@@ -15131,7 +15048,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
15131
15048
|
if (lost)
|
|
15132
15049
|
return yield* new HerdrCoreConnectionLost2({ method });
|
|
15133
15050
|
const id = ++lastId;
|
|
15134
|
-
const deferred = yield*
|
|
15051
|
+
const deferred = yield* make15();
|
|
15135
15052
|
pending.set(id, { method, deferred });
|
|
15136
15053
|
yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
|
|
15137
15054
|
return yield* _await(deferred);
|
|
@@ -15163,9 +15080,9 @@ var herdrCoreOver = (transport) => ({
|
|
|
15163
15080
|
...input.name === undefined ? undefined : { name: input.name },
|
|
15164
15081
|
no_parent: input.noParent === true
|
|
15165
15082
|
}),
|
|
15166
|
-
list: (filter = {}) => request("terminal.list", Listed, { labels: filter.labels ?? {}, all: filter.all === true }).pipe(
|
|
15083
|
+
list: (filter = {}) => request("terminal.list", Listed, { labels: filter.labels ?? {}, all: filter.all === true }).pipe(map7((listed) => listed.terminals)),
|
|
15167
15084
|
get: (terminal) => request("terminal.get", Terminal2, { terminal }),
|
|
15168
|
-
read: (terminal) => request("terminal.read", Screen, { terminal }).pipe(
|
|
15085
|
+
read: (terminal) => request("terminal.read", Screen, { terminal }).pipe(map7((screen) => screen.text)),
|
|
15169
15086
|
interrupt: (terminal, options = {}) => request("terminal.interrupt", Interrupted, {
|
|
15170
15087
|
terminal,
|
|
15171
15088
|
...options.timeoutSeconds === undefined ? undefined : { timeout: options.timeoutSeconds }
|
|
@@ -15205,7 +15122,7 @@ var herdrCoreOver = (transport) => ({
|
|
|
15205
15122
|
return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
|
|
15206
15123
|
};
|
|
15207
15124
|
const snapshot = { type: "snapshot", terminals: subscribed.terminals };
|
|
15208
|
-
return concat(
|
|
15125
|
+
return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
|
|
15209
15126
|
}))
|
|
15210
15127
|
});
|
|
15211
15128
|
var spawnedTransport = (env) => gen(function* () {
|
|
@@ -15228,7 +15145,7 @@ var coreEnv = (options) => {
|
|
|
15228
15145
|
const env = Object.fromEntries(Object.entries(options.env ?? process.env).filter((entry) => entry[0] !== "HC_SESSION" && entry[1] !== undefined));
|
|
15229
15146
|
return options.session === undefined ? env : { ...env, HC_SESSION: options.session };
|
|
15230
15147
|
};
|
|
15231
|
-
var herdrCoreLayer2 = (options) => effect(HerdrCore2,
|
|
15148
|
+
var herdrCoreLayer2 = (options) => effect(HerdrCore2, map7(ChildProcessSpawner, (spawner) => herdrCoreOver(spawnedTransport(coreEnv(options)).pipe(provideService(ChildProcessSpawner, spawner)))));
|
|
15232
15149
|
var herdrCoreTransportLayer2 = (transport) => succeed5(HerdrCore2, herdrCoreOver(transport));
|
|
15233
15150
|
var UpdateRefused = Struct({
|
|
15234
15151
|
error: Struct({ message: String4, hint: optionalKey(String4) })
|
|
@@ -15251,13 +15168,13 @@ var updateHerdrCore2 = (options) => gen(function* () {
|
|
|
15251
15168
|
], { concurrency: 3 });
|
|
15252
15169
|
return { stdout, stderr, exitCode };
|
|
15253
15170
|
}).pipe(scoped, catchReason("PlatformError", "NotFound", () => fail7(new HerdrCoreMissing2)));
|
|
15254
|
-
const reason = yield* run(["update", "--json"]).pipe(
|
|
15171
|
+
const reason = yield* run(["update", "--json"]).pipe(map7(({ stdout, stderr, exitCode }) => exitCode === 0 ? undefined : refusalReason(stdout) ?? (stderr.trim() || `it exited with code ${exitCode}`)), catchTag("PlatformError", (error) => succeed6(error.message)), timeoutOrElse({
|
|
15255
15172
|
duration: options.timeout,
|
|
15256
15173
|
orElse: () => succeed6(`it did not finish within ${options.timeout}`)
|
|
15257
15174
|
}));
|
|
15258
15175
|
if (reason === undefined)
|
|
15259
15176
|
return;
|
|
15260
|
-
const version = yield* run(["--version"]).pipe(
|
|
15177
|
+
const version = yield* run(["--version"]).pipe(map7(({ stdout }) => stdout.trim() || "an unknown version"), timeout("10 seconds"), orElseSucceed(() => "an unknown version"));
|
|
15261
15178
|
return yield* new HerdrCoreUpdateFailed2({ version, reason: reason.slice(0, 400) });
|
|
15262
15179
|
});
|
|
15263
15180
|
|
|
@@ -15296,7 +15213,7 @@ var runProcess2 = (argv, options) => gen(function* () {
|
|
|
15296
15213
|
const spawner = yield* ChildProcessSpawner;
|
|
15297
15214
|
const [command, ...args] = argv;
|
|
15298
15215
|
const handle = yield* spawner.spawn(make3(command, args, {
|
|
15299
|
-
stdin: options.stdin === undefined ? "ignore" :
|
|
15216
|
+
stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
|
|
15300
15217
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
15301
15218
|
env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
|
|
15302
15219
|
}));
|
|
@@ -15342,7 +15259,7 @@ var detectHarnesses2 = gen(function* () {
|
|
|
15342
15259
|
const home = (yield* optionalEnv("HOME")) ?? "/";
|
|
15343
15260
|
const searchPath = ((yield* optionalEnv("PATH")) ?? "").split(":").filter(Boolean);
|
|
15344
15261
|
const exists = (file) => fs.exists(file).pipe(orElseSucceed(() => false));
|
|
15345
|
-
const any = (items, test) =>
|
|
15262
|
+
const any = (items, test) => map7(findFirst(items, test), isSome);
|
|
15346
15263
|
const loginFound = (login) => gen(function* () {
|
|
15347
15264
|
const file = path.join(home, login.path);
|
|
15348
15265
|
if (!(yield* exists(file)))
|
|
@@ -15358,7 +15275,7 @@ var detectHarnesses2 = gen(function* () {
|
|
|
15358
15275
|
unavailable.push({ harness: harness.id, missing: [`\`${harness.id}\` is not installed`] });
|
|
15359
15276
|
continue;
|
|
15360
15277
|
}
|
|
15361
|
-
const loggedIn = (yield* any(harness.keys, (key) =>
|
|
15278
|
+
const loggedIn = (yield* any(harness.keys, (key) => map7(optionalEnv(key), Boolean))) || (yield* any(harness.logins, loginFound));
|
|
15362
15279
|
if (loggedIn)
|
|
15363
15280
|
harnesses.push(harness.id);
|
|
15364
15281
|
else
|
|
@@ -15719,4 +15636,4 @@ function checkServices(declaration) {
|
|
|
15719
15636
|
return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
|
|
15720
15637
|
}
|
|
15721
15638
|
|
|
15722
|
-
export {
|
|
15639
|
+
export { WebCrypto, SecureRandom, layerWebCrypto, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
|