@kitman-sh/cli 0.10.67 → 0.10.69
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-rm83dbpv.js → chunk-0271bhj2.js} +2 -2
- package/dist/{chunk-60333x3q.js → chunk-0ahahh0f.js} +5 -5
- package/dist/{chunk-8mj0z3hb.js → chunk-20qadzgw.js} +23 -23
- package/dist/{chunk-d3ksv8y1.js → chunk-677etczq.js} +70 -28
- package/dist/{chunk-t6w469gd.js → chunk-9m14d9d8.js} +7 -7
- package/dist/{chunk-wtpwkjws.js → chunk-9p6v3jd2.js} +4 -4
- package/dist/{chunk-n0h0z7yh.js → chunk-drsawp1s.js} +8 -8
- package/dist/{chunk-fsbpm71s.js → chunk-gswz7ngm.js} +5 -5
- package/dist/{chunk-v01c0k6j.js → chunk-h6360r1c.js} +1 -1
- package/dist/{chunk-0rdm65xh.js → chunk-j4pmjnyd.js} +12 -12
- package/dist/{chunk-ct0qj7bp.js → chunk-jjeawksh.js} +21 -21
- package/dist/{chunk-cctfnp4r.js → chunk-k7mn104k.js} +3 -3
- package/dist/{chunk-b90vtscf.js → chunk-kqcrxea1.js} +126 -26
- package/dist/{chunk-fc0y8kn7.js → chunk-n0pm4rtm.js} +107 -106
- package/dist/{chunk-q3c7vmby.js → chunk-p23kedha.js} +1 -1
- package/dist/{chunk-2z450w92.js → chunk-q26gt71y.js} +5 -5
- package/dist/{chunk-gfr11y10.js → chunk-q9n4jkcp.js} +4 -4
- package/dist/{chunk-dk0ftqwg.js → chunk-qdyqc4nz.js} +17 -17
- package/dist/{chunk-p8akhcme.js → chunk-qpg9t7he.js} +7 -7
- package/dist/{chunk-1w81w56v.js → chunk-rzr11xyn.js} +2 -2
- package/dist/{chunk-9pp1w29g.js → chunk-t0rnf6ch.js} +4 -4
- package/dist/{chunk-1rry0tsn.js → chunk-tf5yxkpy.js} +14 -60
- package/dist/{chunk-rrnee9mk.js → chunk-wnwyp9qn.js} +1 -1
- package/dist/{chunk-csbf77zs.js → chunk-zdctyf0w.js} +8 -8
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
assignProperty,
|
|
39
39
|
PipeInspectableProto,
|
|
40
40
|
withFiber,
|
|
41
|
-
|
|
41
|
+
make13,
|
|
42
42
|
strictEqual,
|
|
43
43
|
Tuple,
|
|
44
44
|
Number2,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
Service2,
|
|
59
59
|
makeUnsafe4,
|
|
60
60
|
empty3,
|
|
61
|
-
|
|
61
|
+
make14,
|
|
62
62
|
add,
|
|
63
63
|
getOrUndefined2,
|
|
64
64
|
getOrUndefinedUnsafe,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
fail4,
|
|
92
92
|
isSuccess2,
|
|
93
93
|
makeUnsafe5,
|
|
94
|
-
|
|
94
|
+
make15,
|
|
95
95
|
_await,
|
|
96
96
|
fail5,
|
|
97
97
|
isDone,
|
|
@@ -194,6 +194,9 @@ import {
|
|
|
194
194
|
logError,
|
|
195
195
|
effectify,
|
|
196
196
|
decode,
|
|
197
|
+
isRedacted,
|
|
198
|
+
make16,
|
|
199
|
+
value,
|
|
197
200
|
defaultParseOptions,
|
|
198
201
|
omit,
|
|
199
202
|
map9,
|
|
@@ -248,7 +251,7 @@ import {
|
|
|
248
251
|
decodeJsonStringOption,
|
|
249
252
|
encodeJsonStringSync,
|
|
250
253
|
encodePrettyJsonString
|
|
251
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-677etczq.js";
|
|
252
255
|
import {
|
|
253
256
|
map,
|
|
254
257
|
makeEquivalence,
|
|
@@ -257,8 +260,8 @@ import {
|
|
|
257
260
|
systemError,
|
|
258
261
|
badArgument,
|
|
259
262
|
makeUnsafe2,
|
|
263
|
+
make7,
|
|
260
264
|
make8,
|
|
261
|
-
make9,
|
|
262
265
|
sliding,
|
|
263
266
|
unbounded2,
|
|
264
267
|
offer,
|
|
@@ -274,13 +277,13 @@ import {
|
|
|
274
277
|
isSink,
|
|
275
278
|
fromChannel,
|
|
276
279
|
drain,
|
|
277
|
-
|
|
280
|
+
make9,
|
|
278
281
|
get3,
|
|
279
282
|
isStream,
|
|
280
283
|
fromChannel2,
|
|
281
284
|
callback,
|
|
282
285
|
empty2,
|
|
283
|
-
|
|
286
|
+
make10,
|
|
284
287
|
suspend,
|
|
285
288
|
fail2,
|
|
286
289
|
fromQueue,
|
|
@@ -306,16 +309,16 @@ import {
|
|
|
306
309
|
mkArrayBuffer,
|
|
307
310
|
toReadableStreamEffect,
|
|
308
311
|
FileSystem,
|
|
309
|
-
|
|
312
|
+
make11,
|
|
310
313
|
FileTypeId,
|
|
311
314
|
WatchBackend,
|
|
312
315
|
Path,
|
|
313
|
-
|
|
316
|
+
make12,
|
|
314
317
|
option,
|
|
315
318
|
String2,
|
|
316
319
|
optionalEnv,
|
|
317
320
|
harnessesUnsupportedInSrt2
|
|
318
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-qdyqc4nz.js";
|
|
319
322
|
import {
|
|
320
323
|
isDateTime,
|
|
321
324
|
Numeric,
|
|
@@ -327,7 +330,7 @@ import {
|
|
|
327
330
|
SecretName,
|
|
328
331
|
SecretScope,
|
|
329
332
|
SecretHosts
|
|
330
|
-
} from "./chunk-
|
|
333
|
+
} from "./chunk-wnwyp9qn.js";
|
|
331
334
|
import {
|
|
332
335
|
toJsonValue,
|
|
333
336
|
isOneOf,
|
|
@@ -341,21 +344,18 @@ import {
|
|
|
341
344
|
isSymbol,
|
|
342
345
|
isUndefined,
|
|
343
346
|
kindOf
|
|
344
|
-
} from "./chunk-
|
|
347
|
+
} from "./chunk-h6360r1c.js";
|
|
345
348
|
import {
|
|
346
|
-
isRedacted,
|
|
347
|
-
make,
|
|
348
|
-
value,
|
|
349
349
|
ExitCode,
|
|
350
350
|
ProcessId,
|
|
351
351
|
makeHandle,
|
|
352
|
-
|
|
352
|
+
make,
|
|
353
353
|
ChildProcessSpawner,
|
|
354
354
|
display,
|
|
355
|
-
|
|
355
|
+
make2,
|
|
356
356
|
parseFdName,
|
|
357
357
|
fdName
|
|
358
|
-
} from "./chunk-
|
|
358
|
+
} from "./chunk-tf5yxkpy.js";
|
|
359
359
|
|
|
360
360
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
361
361
|
var makeEquivalence3 = Tuple;
|
|
@@ -518,7 +518,7 @@ var makeUnsafe6 = (input) => {
|
|
|
518
518
|
var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
|
|
519
519
|
var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
|
|
520
520
|
var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
|
|
521
|
-
var
|
|
521
|
+
var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
|
|
522
522
|
var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
|
|
523
523
|
var nowUnsafe = () => makeUtc(Date.now());
|
|
524
524
|
var toDateUtc = (self) => new Date(self.epochMilliseconds);
|
|
@@ -908,7 +908,7 @@ var toNumber = (b) => {
|
|
|
908
908
|
|
|
909
909
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
|
|
910
910
|
var makeUnsafe = makeUnsafe6;
|
|
911
|
-
var make18 =
|
|
911
|
+
var make18 = make3;
|
|
912
912
|
var now2 = now;
|
|
913
913
|
var nowUnsafe2 = nowUnsafe;
|
|
914
914
|
var toDateUtc2 = toDateUtc;
|
|
@@ -1123,7 +1123,7 @@ var readableToPullUnsafe = (options) => {
|
|
|
1123
1123
|
const readable = options.readable;
|
|
1124
1124
|
const chunkSize = options.chunkSize ?? 4096;
|
|
1125
1125
|
const closeOnDone = options.closeOnDone ?? true;
|
|
1126
|
-
const exit = options.exit ??
|
|
1126
|
+
const exit = options.exit ?? make7(undefined);
|
|
1127
1127
|
const latch = options.latch ?? makeUnsafe2(false);
|
|
1128
1128
|
function onReadable() {
|
|
1129
1129
|
latch.openUnsafe();
|
|
@@ -1687,7 +1687,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1687
1687
|
const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
|
|
1688
1688
|
const toOption = options.to ?? "stdin";
|
|
1689
1689
|
if (toOption === "stdin") {
|
|
1690
|
-
handles.push(yield* spawnCommand(
|
|
1690
|
+
handles.push(yield* spawnCommand(make2(command.command, command.args, {
|
|
1691
1691
|
...command.options,
|
|
1692
1692
|
stdin: {
|
|
1693
1693
|
...stdinConfig,
|
|
@@ -1707,7 +1707,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1707
1707
|
type: "input",
|
|
1708
1708
|
stream: sourceStream
|
|
1709
1709
|
};
|
|
1710
|
-
handles.push(yield* spawnCommand(
|
|
1710
|
+
handles.push(yield* spawnCommand(make2(command.command, command.args, {
|
|
1711
1711
|
...command.options,
|
|
1712
1712
|
additionalFds: {
|
|
1713
1713
|
...existingFds,
|
|
@@ -1715,7 +1715,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1715
1715
|
}
|
|
1716
1716
|
})));
|
|
1717
1717
|
} else {
|
|
1718
|
-
handles.push(yield* spawnCommand(
|
|
1718
|
+
handles.push(yield* spawnCommand(make2(command.command, command.args, {
|
|
1719
1719
|
...command.options,
|
|
1720
1720
|
stdin: {
|
|
1721
1721
|
...stdinConfig,
|
|
@@ -1754,7 +1754,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1754
1754
|
}
|
|
1755
1755
|
}
|
|
1756
1756
|
});
|
|
1757
|
-
return
|
|
1757
|
+
return make(spawnCommand);
|
|
1758
1758
|
});
|
|
1759
1759
|
var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
|
|
1760
1760
|
var flattenCommand = (command) => {
|
|
@@ -2240,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
|
|
|
2240
2240
|
resume(fail7(handleBadArgument("writeFile")(err)));
|
|
2241
2241
|
}
|
|
2242
2242
|
});
|
|
2243
|
-
var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) =>
|
|
2243
|
+
var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
|
|
2244
2244
|
access: access2,
|
|
2245
2245
|
chmod: chmod2,
|
|
2246
2246
|
chown: chown2,
|
|
@@ -2300,15 +2300,15 @@ var fileUrlOps = (windows) => ({
|
|
|
2300
2300
|
})
|
|
2301
2301
|
})
|
|
2302
2302
|
});
|
|
2303
|
-
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2303
|
+
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
2304
2304
|
...NodePath.posix,
|
|
2305
2305
|
.../* @__PURE__ */ fileUrlOps(false)
|
|
2306
2306
|
}));
|
|
2307
|
-
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2307
|
+
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
2308
2308
|
...NodePath.win32,
|
|
2309
2309
|
.../* @__PURE__ */ fileUrlOps(true)
|
|
2310
2310
|
}));
|
|
2311
|
-
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2311
|
+
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
2312
2312
|
...NodePath,
|
|
2313
2313
|
.../* @__PURE__ */ fileUrlOps(undefined)
|
|
2314
2314
|
}));
|
|
@@ -2830,12 +2830,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
|
2830
2830
|
if (typeof key === "string") {
|
|
2831
2831
|
const k = key.toLowerCase();
|
|
2832
2832
|
if (k in self) {
|
|
2833
|
-
out[k] =
|
|
2833
|
+
out[k] = make16(self[k]);
|
|
2834
2834
|
}
|
|
2835
2835
|
} else {
|
|
2836
2836
|
for (const name in self) {
|
|
2837
2837
|
if (name.search(key) !== -1) {
|
|
2838
|
-
out[name] =
|
|
2838
|
+
out[name] = make16(self[name]);
|
|
2839
2839
|
}
|
|
2840
2840
|
}
|
|
2841
2841
|
}
|
|
@@ -2942,7 +2942,7 @@ var fromInputNested = (input) => {
|
|
|
2942
2942
|
return out;
|
|
2943
2943
|
};
|
|
2944
2944
|
var coerce = (value) => isRedacted(value) ? value : String(value);
|
|
2945
|
-
var Equivalence3 = /* @__PURE__ */
|
|
2945
|
+
var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
|
|
2946
2946
|
var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
|
|
2947
2947
|
var empty4 = /* @__PURE__ */ make23([]);
|
|
2948
2948
|
var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
@@ -2960,7 +2960,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
|
2960
2960
|
});
|
|
2961
2961
|
var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
2962
2962
|
const patterns = Array.isArray(key) ? key : [key];
|
|
2963
|
-
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ?
|
|
2963
|
+
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
|
|
2964
2964
|
});
|
|
2965
2965
|
var isRedactedName2 = isRedactedName;
|
|
2966
2966
|
var redactUrl = (url, redactedNames = currentRedactedNames()) => {
|
|
@@ -3036,7 +3036,7 @@ import * as readline from "readline";
|
|
|
3036
3036
|
var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
|
|
3037
3037
|
const stdin = process.stdin;
|
|
3038
3038
|
const stdout = process.stdout;
|
|
3039
|
-
const lines = yield*
|
|
3039
|
+
const lines = yield* make8();
|
|
3040
3040
|
let inputEnded = stdin.readableEnded;
|
|
3041
3041
|
let readlineActive = false;
|
|
3042
3042
|
const onStdinEnd = () => {
|
|
@@ -3047,7 +3047,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3047
3047
|
};
|
|
3048
3048
|
stdin.once("end", onStdinEnd);
|
|
3049
3049
|
yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
|
|
3050
|
-
const rlRef = yield*
|
|
3050
|
+
const rlRef = yield* make9({
|
|
3051
3051
|
acquire: acquireRelease(sync2(() => {
|
|
3052
3052
|
const rl = readline.createInterface({
|
|
3053
3053
|
input: stdin,
|
|
@@ -3086,7 +3086,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3086
3086
|
if (stdin.isTTY)
|
|
3087
3087
|
stdin.setRawMode(enabled);
|
|
3088
3088
|
});
|
|
3089
|
-
const rawModeRef = yield*
|
|
3089
|
+
const rawModeRef = yield* make9({
|
|
3090
3090
|
acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
|
|
3091
3091
|
idleTimeToLive: "10 millis"
|
|
3092
3092
|
});
|
|
@@ -3107,7 +3107,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3107
3107
|
return queue;
|
|
3108
3108
|
});
|
|
3109
3109
|
const readInput = gen(function* () {
|
|
3110
|
-
const queue = yield*
|
|
3110
|
+
const queue = yield* make8();
|
|
3111
3111
|
const handleKeypress = (s, k) => {
|
|
3112
3112
|
const userInput = {
|
|
3113
3113
|
input: fromUndefinedOr(s),
|
|
@@ -9496,13 +9496,13 @@ function makeWith(method, url, urlParams, hash, headers, body) {
|
|
|
9496
9496
|
return self;
|
|
9497
9497
|
}
|
|
9498
9498
|
var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
|
|
9499
|
-
var
|
|
9499
|
+
var make4 = (method) => (url, options) => modify(empty6, {
|
|
9500
9500
|
method,
|
|
9501
9501
|
url,
|
|
9502
9502
|
...options ?? undefined
|
|
9503
9503
|
});
|
|
9504
|
-
var get = /* @__PURE__ */
|
|
9505
|
-
var put = /* @__PURE__ */
|
|
9504
|
+
var get = /* @__PURE__ */ make4("GET");
|
|
9505
|
+
var put = /* @__PURE__ */ make4("PUT");
|
|
9506
9506
|
var modify = /* @__PURE__ */ dual(2, (self, options) => {
|
|
9507
9507
|
let result = self;
|
|
9508
9508
|
if (options.method) {
|
|
@@ -9801,7 +9801,7 @@ var Proto7 = {
|
|
|
9801
9801
|
};
|
|
9802
9802
|
},
|
|
9803
9803
|
.../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
|
|
9804
|
-
return this.execute(
|
|
9804
|
+
return this.execute(make4(fullMethod)(url, options));
|
|
9805
9805
|
}]))
|
|
9806
9806
|
};
|
|
9807
9807
|
var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
|
|
@@ -13393,7 +13393,7 @@ var makeProto = (options) => {
|
|
|
13393
13393
|
Rpc.key = `effect/rpc/Rpc/${options._tag}`;
|
|
13394
13394
|
return Rpc;
|
|
13395
13395
|
};
|
|
13396
|
-
var
|
|
13396
|
+
var make5 = (tag, options) => {
|
|
13397
13397
|
const successSchema = options?.success ?? Void;
|
|
13398
13398
|
const errorSchema = options?.error ?? Never;
|
|
13399
13399
|
const defectSchema = options?.defect ?? Defect();
|
|
@@ -13604,7 +13604,7 @@ var RpcGroupProto = {
|
|
|
13604
13604
|
});
|
|
13605
13605
|
},
|
|
13606
13606
|
annotateRpcs(service, value) {
|
|
13607
|
-
return this.annotateRpcsMerge(
|
|
13607
|
+
return this.annotateRpcsMerge(make14(service, value));
|
|
13608
13608
|
},
|
|
13609
13609
|
annotateMerge(context) {
|
|
13610
13610
|
return makeProto2({
|
|
@@ -13627,7 +13627,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
|
|
|
13627
13627
|
requests: options.requests,
|
|
13628
13628
|
annotations: options.annotations
|
|
13629
13629
|
});
|
|
13630
|
-
var
|
|
13630
|
+
var make6 = (...rpcs) => makeProto2({
|
|
13631
13631
|
requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
|
|
13632
13632
|
annotations: empty3()
|
|
13633
13633
|
});
|
|
@@ -13734,96 +13734,96 @@ var ProgramOutcome = Union([
|
|
|
13734
13734
|
Struct({ status: Literal("failed"), failureSummary: String4 })
|
|
13735
13735
|
]);
|
|
13736
13736
|
|
|
13737
|
-
class RunnerReplicaRpcs extends
|
|
13737
|
+
class RunnerReplicaRpcs extends make6(make5("Claim", {
|
|
13738
13738
|
payload: WorkUnitClaimInput,
|
|
13739
13739
|
success: WorkUnitClaimResult,
|
|
13740
13740
|
error: RunnerRpcError
|
|
13741
|
-
}),
|
|
13741
|
+
}), make5("Heartbeat", {
|
|
13742
13742
|
payload: WorkUnitHeartbeatInput,
|
|
13743
13743
|
success: WorkUnitHeartbeatResult,
|
|
13744
13744
|
error: RunnerRpcError
|
|
13745
|
-
}),
|
|
13745
|
+
}), make5("Complete", {
|
|
13746
13746
|
payload: WorkUnitCompletion,
|
|
13747
13747
|
error: RunnerRpcError
|
|
13748
|
-
}),
|
|
13748
|
+
}), make5("Release", {
|
|
13749
13749
|
payload: WorkUnitReleaseInput,
|
|
13750
13750
|
error: RunnerRpcError
|
|
13751
|
-
}),
|
|
13751
|
+
}), make5("Signals", {
|
|
13752
13752
|
payload: { runnerReplicaId: String4 },
|
|
13753
13753
|
success: RunnerSignal,
|
|
13754
13754
|
error: RunnerRpcError,
|
|
13755
13755
|
stream: true
|
|
13756
|
-
}),
|
|
13756
|
+
}), make5("ReportSteer", {
|
|
13757
13757
|
payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
|
|
13758
13758
|
success: Void,
|
|
13759
13759
|
error: RunnerRpcError
|
|
13760
|
-
}),
|
|
13760
|
+
}), make5("AppendTranscript", {
|
|
13761
13761
|
payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
|
|
13762
13762
|
success: Void,
|
|
13763
13763
|
error: RunnerRpcError
|
|
13764
|
-
}),
|
|
13764
|
+
}), make5("CreateCheckpointFile", {
|
|
13765
13765
|
payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
|
|
13766
13766
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
13767
13767
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
13768
|
-
}),
|
|
13768
|
+
}), make5("CheckpointFileParts", {
|
|
13769
13769
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
13770
13770
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
13771
13771
|
error: RunnerRpcError
|
|
13772
|
-
}),
|
|
13772
|
+
}), make5("CompleteCheckpointFile", {
|
|
13773
13773
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
13774
13774
|
success: RunFileRecord,
|
|
13775
13775
|
error: RunnerRpcError
|
|
13776
|
-
}),
|
|
13776
|
+
}), make5("SaveCheckpoint", {
|
|
13777
13777
|
payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
|
|
13778
13778
|
success: Void,
|
|
13779
13779
|
error: RunnerRpcError
|
|
13780
|
-
}),
|
|
13780
|
+
}), make5("ResumeCheckpoint", {
|
|
13781
13781
|
payload: { lease: ProgramLease },
|
|
13782
13782
|
success: UndefinedOr(ResumedCheckpoint),
|
|
13783
13783
|
error: RunnerRpcError
|
|
13784
|
-
}),
|
|
13784
|
+
}), make5("SettledCheckpoints", {
|
|
13785
13785
|
success: ArraySchema(Struct({
|
|
13786
13786
|
stepAttemptId: String4,
|
|
13787
13787
|
ref: optionalKey(String4),
|
|
13788
13788
|
repoBinding: optionalKey(WorkUnitRepoBinding)
|
|
13789
13789
|
})),
|
|
13790
13790
|
error: RunnerRpcError
|
|
13791
|
-
}),
|
|
13791
|
+
}), make5("ForgetCheckpoints", {
|
|
13792
13792
|
payload: { stepAttemptIds: ArraySchema(String4) },
|
|
13793
13793
|
success: Void,
|
|
13794
13794
|
error: RunnerRpcError
|
|
13795
|
-
}),
|
|
13795
|
+
}), make5("GitCredential", {
|
|
13796
13796
|
payload: { repoBindingId: String4 },
|
|
13797
13797
|
success: UndefinedOr(Struct({ username: String4, password: String4 })),
|
|
13798
13798
|
error: RunnerRpcError
|
|
13799
|
-
}),
|
|
13799
|
+
}), make5("Bundle", {
|
|
13800
13800
|
payload: { digest: String4 },
|
|
13801
13801
|
success: Struct({ bundle: String4 }),
|
|
13802
13802
|
error: RunnerRpcError
|
|
13803
|
-
}),
|
|
13803
|
+
}), make5("SettledRuns", {
|
|
13804
13804
|
payload: { runIds: ArraySchema(String4) },
|
|
13805
13805
|
success: ArraySchema(String4),
|
|
13806
13806
|
error: RunnerRpcError
|
|
13807
|
-
}),
|
|
13807
|
+
}), make5("KnownEvidence", {
|
|
13808
13808
|
payload: { lease: ProgramLease, trees: ArraySchema(String4) },
|
|
13809
13809
|
success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
|
|
13810
13810
|
error: RunnerRpcError
|
|
13811
13811
|
})).middleware(RunnerAuthentication) {
|
|
13812
13812
|
}
|
|
13813
13813
|
|
|
13814
|
-
class RunnerJournalRpcs extends
|
|
13814
|
+
class RunnerJournalRpcs extends make6(make5("RecordActivity", {
|
|
13815
13815
|
payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
|
|
13816
13816
|
error: RunnerRpcError
|
|
13817
|
-
}),
|
|
13817
|
+
}), make5("DeferredDone", {
|
|
13818
13818
|
payload: { lease: ProgramLease, name: String4, exit: Json },
|
|
13819
13819
|
error: RunnerRpcError
|
|
13820
|
-
}),
|
|
13820
|
+
}), make5("ScheduleClock", {
|
|
13821
13821
|
payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
|
|
13822
13822
|
error: RunnerRpcError
|
|
13823
|
-
}),
|
|
13823
|
+
}), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
|
|
13824
13824
|
}
|
|
13825
13825
|
|
|
13826
|
-
class RunnerCapabilityRpcs extends
|
|
13826
|
+
class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
13827
13827
|
payload: {
|
|
13828
13828
|
lease: ProgramLease,
|
|
13829
13829
|
step: String4,
|
|
@@ -13841,7 +13841,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
13841
13841
|
},
|
|
13842
13842
|
success: Struct({ questionId: String4 }),
|
|
13843
13843
|
error: RunnerRpcError
|
|
13844
|
-
}),
|
|
13844
|
+
}), make5("StartAgentStep", {
|
|
13845
13845
|
payload: {
|
|
13846
13846
|
lease: ProgramLease,
|
|
13847
13847
|
step: String4,
|
|
@@ -13857,7 +13857,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
13857
13857
|
},
|
|
13858
13858
|
success: Struct({ stepAttemptId: String4 }),
|
|
13859
13859
|
error: RunnerRpcError
|
|
13860
|
-
}),
|
|
13860
|
+
}), make5("StartVerification", {
|
|
13861
13861
|
payload: {
|
|
13862
13862
|
lease: ProgramLease,
|
|
13863
13863
|
step: String4,
|
|
@@ -13865,6 +13865,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
13865
13865
|
revision: optionalKey(String4),
|
|
13866
13866
|
checks: optional(ArraySchema(String4)),
|
|
13867
13867
|
suggested: optionalKey(ArraySchema(ApprovedCheck)),
|
|
13868
|
+
rerunFailed: optionalKey(Boolean2),
|
|
13868
13869
|
measure: optionalKey(Struct({
|
|
13869
13870
|
base: optionalKey(String4),
|
|
13870
13871
|
plan: MeasurePlan,
|
|
@@ -13874,7 +13875,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
13874
13875
|
},
|
|
13875
13876
|
success: Struct({ verificationId: String4 }),
|
|
13876
13877
|
error: RunnerRpcError
|
|
13877
|
-
}),
|
|
13878
|
+
}), make5("AwaitEvent", {
|
|
13878
13879
|
payload: {
|
|
13879
13880
|
lease: ProgramLease,
|
|
13880
13881
|
step: String4,
|
|
@@ -13890,7 +13891,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
13890
13891
|
})))
|
|
13891
13892
|
},
|
|
13892
13893
|
error: RunnerRpcError
|
|
13893
|
-
}),
|
|
13894
|
+
}), make5("ClaimResource", {
|
|
13894
13895
|
payload: {
|
|
13895
13896
|
lease: ProgramLease,
|
|
13896
13897
|
step: String4,
|
|
@@ -13899,7 +13900,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
13899
13900
|
action: Literals(["claim", "take_over", "let_go"])
|
|
13900
13901
|
},
|
|
13901
13902
|
error: RunnerRpcError
|
|
13902
|
-
}),
|
|
13903
|
+
}), make5("AdmitChild", {
|
|
13903
13904
|
payload: {
|
|
13904
13905
|
lease: ProgramLease,
|
|
13905
13906
|
step: String4,
|
|
@@ -13909,7 +13910,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
13909
13910
|
},
|
|
13910
13911
|
success: Struct({ runId: String4 }),
|
|
13911
13912
|
error: RunnerRpcError
|
|
13912
|
-
}),
|
|
13913
|
+
}), make5("StoreArtifact", {
|
|
13913
13914
|
payload: {
|
|
13914
13915
|
lease: ProgramLease,
|
|
13915
13916
|
step: String4,
|
|
@@ -13921,7 +13922,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
13921
13922
|
},
|
|
13922
13923
|
success: Struct({ artifactId: String4 }),
|
|
13923
13924
|
error: RunnerRpcError
|
|
13924
|
-
}),
|
|
13925
|
+
}), make5("RecordNote", {
|
|
13925
13926
|
payload: {
|
|
13926
13927
|
lease: ProgramLease,
|
|
13927
13928
|
step: String4,
|
|
@@ -13929,7 +13930,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
13929
13930
|
artifactId: optional(String4)
|
|
13930
13931
|
},
|
|
13931
13932
|
error: RunnerRpcError
|
|
13932
|
-
}),
|
|
13933
|
+
}), make5("PerformHostEffect", {
|
|
13933
13934
|
payload: {
|
|
13934
13935
|
lease: ProgramLease,
|
|
13935
13936
|
step: String4,
|
|
@@ -13957,7 +13958,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
13957
13958
|
},
|
|
13958
13959
|
success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
|
|
13959
13960
|
error: RunnerRpcError
|
|
13960
|
-
}),
|
|
13961
|
+
}), make5("AlertTask", {
|
|
13961
13962
|
payload: {
|
|
13962
13963
|
lease: ProgramLease,
|
|
13963
13964
|
step: String4,
|
|
@@ -13974,7 +13975,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
13974
13975
|
joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
|
|
13975
13976
|
}),
|
|
13976
13977
|
error: RunnerRpcError
|
|
13977
|
-
}),
|
|
13978
|
+
}), make5("ReadTranscripts", {
|
|
13978
13979
|
payload: { lease: ProgramLease, step: String4, days: Int },
|
|
13979
13980
|
success: Struct({
|
|
13980
13981
|
runs: ArraySchema(Struct({
|
|
@@ -13993,7 +13994,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
13993
13994
|
}))
|
|
13994
13995
|
}),
|
|
13995
13996
|
error: RunnerRpcError
|
|
13996
|
-
}),
|
|
13997
|
+
}), make5("PipelineStatus", {
|
|
13997
13998
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
|
|
13998
13999
|
success: Struct({
|
|
13999
14000
|
head: String4,
|
|
@@ -14009,11 +14010,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14009
14010
|
runnerChecks: optionalKey(ArraySchema(String4))
|
|
14010
14011
|
}),
|
|
14011
14012
|
error: RunnerRpcError
|
|
14012
|
-
}),
|
|
14013
|
+
}), make5("ReportPipeline", {
|
|
14013
14014
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
|
|
14014
14015
|
success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
|
|
14015
14016
|
error: RunnerRpcError
|
|
14016
|
-
}),
|
|
14017
|
+
}), make5("ReviewThreads", {
|
|
14017
14018
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
|
|
14018
14019
|
success: Struct({
|
|
14019
14020
|
threads: ArraySchema(Struct({
|
|
@@ -14025,7 +14026,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14025
14026
|
}))
|
|
14026
14027
|
}),
|
|
14027
14028
|
error: RunnerRpcError
|
|
14028
|
-
}),
|
|
14029
|
+
}), make5("OpenChangeRequests", {
|
|
14029
14030
|
payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
|
|
14030
14031
|
success: Struct({
|
|
14031
14032
|
changeRequests: ArraySchema(Struct({
|
|
@@ -14039,7 +14040,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14039
14040
|
}))
|
|
14040
14041
|
}),
|
|
14041
14042
|
error: RunnerRpcError
|
|
14042
|
-
}),
|
|
14043
|
+
}), make5("OwnChangeRequests", {
|
|
14043
14044
|
payload: { lease: ProgramLease, step: String4 },
|
|
14044
14045
|
success: Struct({
|
|
14045
14046
|
changeRequests: ArraySchema(Struct({
|
|
@@ -14052,7 +14053,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14052
14053
|
}))
|
|
14053
14054
|
}),
|
|
14054
14055
|
error: RunnerRpcError
|
|
14055
|
-
}),
|
|
14056
|
+
}), make5("Propose", {
|
|
14056
14057
|
payload: {
|
|
14057
14058
|
lease: ProgramLease,
|
|
14058
14059
|
step: String4,
|
|
@@ -14079,7 +14080,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14079
14080
|
matched: optionalKey(Boolean2)
|
|
14080
14081
|
}),
|
|
14081
14082
|
error: RunnerRpcError
|
|
14082
|
-
}),
|
|
14083
|
+
}), make5("ReadProject", {
|
|
14083
14084
|
payload: { lease: ProgramLease, step: String4, projectId: String4 },
|
|
14084
14085
|
success: Struct({
|
|
14085
14086
|
project: Struct({ id: String4, name: String4 }),
|
|
@@ -14102,7 +14103,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14102
14103
|
taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
|
|
14103
14104
|
}),
|
|
14104
14105
|
error: RunnerRpcError
|
|
14105
|
-
}),
|
|
14106
|
+
}), make5("DraftUpdate", {
|
|
14106
14107
|
payload: {
|
|
14107
14108
|
lease: ProgramLease,
|
|
14108
14109
|
step: String4,
|
|
@@ -14117,7 +14118,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14117
14118
|
},
|
|
14118
14119
|
success: Struct({ id: String4 }),
|
|
14119
14120
|
error: RunnerRpcError
|
|
14120
|
-
}),
|
|
14121
|
+
}), make5("CreatePlanTasks", {
|
|
14121
14122
|
payload: {
|
|
14122
14123
|
lease: ProgramLease,
|
|
14123
14124
|
projectId: optionalKey(String4),
|
|
@@ -14132,11 +14133,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14132
14133
|
},
|
|
14133
14134
|
success: ArraySchema(Struct({ key: String4, taskId: String4 })),
|
|
14134
14135
|
error: RunnerRpcError
|
|
14135
|
-
}),
|
|
14136
|
+
}), make5("IntegrationBranch", {
|
|
14136
14137
|
payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
|
|
14137
14138
|
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
14138
14139
|
error: RunnerRpcError
|
|
14139
|
-
}),
|
|
14140
|
+
}), make5("MergeChangeRequest", {
|
|
14140
14141
|
payload: {
|
|
14141
14142
|
lease: ProgramLease,
|
|
14142
14143
|
step: String4,
|
|
@@ -14149,7 +14150,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14149
14150
|
Struct({ status: Literal("moved"), head: String4 })
|
|
14150
14151
|
]),
|
|
14151
14152
|
error: RunnerRpcError
|
|
14152
|
-
}),
|
|
14153
|
+
}), make5("ApproveChangeRequest", {
|
|
14153
14154
|
payload: {
|
|
14154
14155
|
lease: ProgramLease,
|
|
14155
14156
|
step: String4,
|
|
@@ -14164,7 +14165,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14164
14165
|
Struct({ approved: Literal(false), reason: String4 })
|
|
14165
14166
|
]),
|
|
14166
14167
|
error: RunnerRpcError
|
|
14167
|
-
}),
|
|
14168
|
+
}), make5("CloseChangeRequest", {
|
|
14168
14169
|
payload: {
|
|
14169
14170
|
lease: ProgramLease,
|
|
14170
14171
|
step: String4,
|
|
@@ -14174,7 +14175,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14174
14175
|
},
|
|
14175
14176
|
success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
|
|
14176
14177
|
error: RunnerRpcError
|
|
14177
|
-
}),
|
|
14178
|
+
}), make5("RerunPipeline", {
|
|
14178
14179
|
payload: {
|
|
14179
14180
|
lease: ProgramLease,
|
|
14180
14181
|
step: String4,
|
|
@@ -14184,7 +14185,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14184
14185
|
},
|
|
14185
14186
|
success: Struct({ head: String4, pipelines: Int }),
|
|
14186
14187
|
error: RunnerRpcError
|
|
14187
|
-
}),
|
|
14188
|
+
}), make5("PublishRelease", {
|
|
14188
14189
|
payload: {
|
|
14189
14190
|
lease: ProgramLease,
|
|
14190
14191
|
step: String4,
|
|
@@ -14195,14 +14196,14 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14195
14196
|
},
|
|
14196
14197
|
success: Struct({ tag: String4, revision: String4, url: String4 }),
|
|
14197
14198
|
error: RunnerRpcError
|
|
14198
|
-
}),
|
|
14199
|
+
}), make5("ProgramSecrets", {
|
|
14199
14200
|
payload: { lease: ProgramLease },
|
|
14200
14201
|
success: Record(String4, String4),
|
|
14201
14202
|
error: RunnerRpcError
|
|
14202
14203
|
})).middleware(RunnerAuthentication) {
|
|
14203
14204
|
}
|
|
14204
14205
|
|
|
14205
|
-
class RunnerRunFileRpcs extends
|
|
14206
|
+
class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
|
|
14206
14207
|
payload: {
|
|
14207
14208
|
lease: ProgramLease,
|
|
14208
14209
|
step: String4,
|
|
@@ -14214,11 +14215,11 @@ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
|
|
|
14214
14215
|
},
|
|
14215
14216
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
14216
14217
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
14217
|
-
}),
|
|
14218
|
+
}), make5("RunFileParts", {
|
|
14218
14219
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
14219
14220
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
14220
14221
|
error: RunnerRpcError
|
|
14221
|
-
}),
|
|
14222
|
+
}), make5("CompleteRunFile", {
|
|
14222
14223
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
14223
14224
|
success: RunFileRecord,
|
|
14224
14225
|
error: RunnerRpcError
|
|
@@ -14307,7 +14308,7 @@ function toStoredSession(token, existingRefreshToken) {
|
|
|
14307
14308
|
}
|
|
14308
14309
|
function startLoopbackServer(input) {
|
|
14309
14310
|
return gen(function* () {
|
|
14310
|
-
const code = yield*
|
|
14311
|
+
const code = yield* make15();
|
|
14311
14312
|
const context2 = yield* context();
|
|
14312
14313
|
const runSyncExit = runSyncExitWith(context2);
|
|
14313
14314
|
const server = yield* acquireRelease(sync2(() => Bun.serve({
|
|
@@ -14847,7 +14848,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
14847
14848
|
let lastId = 0;
|
|
14848
14849
|
let lost = false;
|
|
14849
14850
|
const notifications = yield* unbounded2();
|
|
14850
|
-
const ended = yield*
|
|
14851
|
+
const ended = yield* make15();
|
|
14851
14852
|
const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
|
|
14852
14853
|
onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
|
|
14853
14854
|
onNone: () => void_3,
|
|
@@ -14874,7 +14875,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
14874
14875
|
if (lost)
|
|
14875
14876
|
return yield* new HerdrCoreConnectionLost2({ method });
|
|
14876
14877
|
const id = ++lastId;
|
|
14877
|
-
const deferred = yield*
|
|
14878
|
+
const deferred = yield* make15();
|
|
14878
14879
|
pending.set(id, { method, deferred });
|
|
14879
14880
|
yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
|
|
14880
14881
|
return yield* _await(deferred);
|
|
@@ -14948,14 +14949,14 @@ var herdrCoreOver = (transport) => ({
|
|
|
14948
14949
|
return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
|
|
14949
14950
|
};
|
|
14950
14951
|
const snapshot = { type: "snapshot", terminals: subscribed.terminals };
|
|
14951
|
-
return concat(
|
|
14952
|
+
return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
|
|
14952
14953
|
}))
|
|
14953
14954
|
});
|
|
14954
14955
|
var spawnedTransport = (env) => gen(function* () {
|
|
14955
14956
|
const spawner = yield* ChildProcessSpawner;
|
|
14956
14957
|
const input = yield* unbounded2();
|
|
14957
14958
|
const encoder = new TextEncoder;
|
|
14958
|
-
const handle = yield* spawner.spawn(
|
|
14959
|
+
const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
|
|
14959
14960
|
extendEnv: false,
|
|
14960
14961
|
env,
|
|
14961
14962
|
stdin: fromQueue(input),
|
|
@@ -14986,7 +14987,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
|
|
|
14986
14987
|
const spawner = yield* ChildProcessSpawner;
|
|
14987
14988
|
const env = coreEnv(options);
|
|
14988
14989
|
const run = (args) => gen(function* () {
|
|
14989
|
-
const handle = yield* spawner.spawn(
|
|
14990
|
+
const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
|
|
14990
14991
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
14991
14992
|
mkString(decodeText(handle.stdout)),
|
|
14992
14993
|
mkString(decodeText(handle.stderr)),
|
|
@@ -15012,7 +15013,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
|
|
|
15012
15013
|
}
|
|
15013
15014
|
var runCommand2 = (command, args, options = {}) => gen(function* () {
|
|
15014
15015
|
const spawner = yield* ChildProcessSpawner;
|
|
15015
|
-
const handle = yield* spawner.spawn(
|
|
15016
|
+
const handle = yield* spawner.spawn(make2(command, args, {
|
|
15016
15017
|
stdin: "ignore",
|
|
15017
15018
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
15018
15019
|
...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
|
|
@@ -15038,8 +15039,8 @@ var shellOutputTailChars2 = 64 * 1024;
|
|
|
15038
15039
|
var runProcess2 = (argv, options) => gen(function* () {
|
|
15039
15040
|
const spawner = yield* ChildProcessSpawner;
|
|
15040
15041
|
const [command, ...args] = argv;
|
|
15041
|
-
const handle = yield* spawner.spawn(
|
|
15042
|
-
stdin: options.stdin === undefined ? "ignore" :
|
|
15042
|
+
const handle = yield* spawner.spawn(make2(command, args, {
|
|
15043
|
+
stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
|
|
15043
15044
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
15044
15045
|
env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
|
|
15045
15046
|
}));
|
|
@@ -15461,4 +15462,4 @@ function checkServices(declaration) {
|
|
|
15461
15462
|
return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
|
|
15462
15463
|
}
|
|
15463
15464
|
|
|
15464
|
-
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, 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, 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,
|
|
15465
|
+
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, 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, 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, make4, get, put, setHeaders, bodyUint8Array, 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, 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, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
|