@kitman-sh/cli 0.10.81 → 0.10.82
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-scabqmnx.js → chunk-2mxpxw3j.js} +3 -3
- package/dist/{chunk-tbgxe3w0.js → chunk-5my30s53.js} +8 -8
- package/dist/{chunk-aj4ev9v2.js → chunk-62565d52.js} +2 -2
- package/dist/{chunk-maj4dn1b.js → chunk-76ctrqm6.js} +1 -1
- package/dist/{chunk-52209e52.js → chunk-8p0psats.js} +4 -4
- package/dist/{chunk-ybp1mwv9.js → chunk-98sg1yyd.js} +60 -14
- package/dist/{chunk-5dwyvg1z.js → chunk-9zd52pda.js} +5 -5
- package/dist/{chunk-f5mmvr81.js → chunk-a03wf71k.js} +7 -7
- package/dist/{chunk-xk8qzgn7.js → chunk-by4t402z.js} +25 -25
- package/dist/{chunk-a10dn5vf.js → chunk-d4atn90g.js} +23 -23
- package/dist/{chunk-dmwqvnmb.js → chunk-e8zm8z3a.js} +8 -8
- package/dist/{chunk-vne4rsj0.js → chunk-fq47a5yd.js} +2 -2
- package/dist/{chunk-symx9akd.js → chunk-gn0v83as.js} +115 -115
- package/dist/{chunk-caqesagt.js → chunk-jbwk6k6m.js} +28 -70
- package/dist/{chunk-q0gqkem3.js → chunk-jr1363cj.js} +5 -5
- package/dist/{chunk-p74pmd81.js → chunk-kgdppbdr.js} +1 -1
- package/dist/{chunk-cw2ghw7n.js → chunk-ky974pcr.js} +4 -4
- package/dist/{chunk-bjbphmyt.js → chunk-pkn6g975.js} +4 -4
- package/dist/{chunk-4325dpky.js → chunk-q4cpages.js} +5 -5
- package/dist/{chunk-ym8t1vr6.js → chunk-q767c0cv.js} +7 -7
- package/dist/{chunk-zktywann.js → chunk-szf97jdk.js} +21 -21
- package/dist/{chunk-1mcwey0c.js → chunk-tzz4fv17.js} +1 -1
- package/dist/{chunk-w9j2yb0n.js → chunk-xb70ys3n.js} +17 -17
- package/dist/{chunk-5tezkbn0.js → chunk-zzhewave.js} +111 -124
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
assignProperty,
|
|
39
39
|
PipeInspectableProto,
|
|
40
40
|
withFiber,
|
|
41
|
-
|
|
41
|
+
make14,
|
|
42
42
|
strictEqual,
|
|
43
43
|
Tuple,
|
|
44
44
|
Number2,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
Service2,
|
|
59
59
|
makeUnsafe4,
|
|
60
60
|
empty3,
|
|
61
|
-
|
|
61
|
+
make15,
|
|
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
|
+
make16,
|
|
95
95
|
_await,
|
|
96
96
|
fail5,
|
|
97
97
|
isDone,
|
|
@@ -194,9 +194,6 @@ import {
|
|
|
194
194
|
logError,
|
|
195
195
|
effectify,
|
|
196
196
|
decode,
|
|
197
|
-
isRedacted,
|
|
198
|
-
make16,
|
|
199
|
-
value,
|
|
200
197
|
defaultParseOptions,
|
|
201
198
|
omit,
|
|
202
199
|
map9,
|
|
@@ -252,7 +249,7 @@ import {
|
|
|
252
249
|
decodeJsonStringOption,
|
|
253
250
|
encodeJsonStringSync,
|
|
254
251
|
encodePrettyJsonString
|
|
255
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-jbwk6k6m.js";
|
|
256
253
|
import {
|
|
257
254
|
map,
|
|
258
255
|
makeEquivalence,
|
|
@@ -261,8 +258,8 @@ import {
|
|
|
261
258
|
systemError,
|
|
262
259
|
badArgument,
|
|
263
260
|
makeUnsafe2,
|
|
264
|
-
make7,
|
|
265
261
|
make8,
|
|
262
|
+
make9,
|
|
266
263
|
sliding,
|
|
267
264
|
unbounded2,
|
|
268
265
|
offer,
|
|
@@ -278,13 +275,13 @@ import {
|
|
|
278
275
|
isSink,
|
|
279
276
|
fromChannel,
|
|
280
277
|
drain,
|
|
281
|
-
|
|
278
|
+
make10,
|
|
282
279
|
get3,
|
|
283
280
|
isStream,
|
|
284
281
|
fromChannel2,
|
|
285
282
|
callback,
|
|
286
283
|
empty2,
|
|
287
|
-
|
|
284
|
+
make11,
|
|
288
285
|
suspend,
|
|
289
286
|
fail2,
|
|
290
287
|
fromQueue,
|
|
@@ -310,27 +307,16 @@ import {
|
|
|
310
307
|
mkArrayBuffer,
|
|
311
308
|
toReadableStreamEffect,
|
|
312
309
|
FileSystem,
|
|
313
|
-
|
|
310
|
+
make12,
|
|
314
311
|
FileTypeId,
|
|
315
312
|
WatchBackend,
|
|
316
313
|
Path,
|
|
317
|
-
|
|
314
|
+
make13,
|
|
318
315
|
option,
|
|
319
316
|
String2,
|
|
320
317
|
optionalEnv,
|
|
321
318
|
harnessesUnsupportedInSrt2
|
|
322
|
-
} from "./chunk-
|
|
323
|
-
import {
|
|
324
|
-
ExitCode,
|
|
325
|
-
ProcessId,
|
|
326
|
-
makeHandle,
|
|
327
|
-
make,
|
|
328
|
-
ChildProcessSpawner,
|
|
329
|
-
display,
|
|
330
|
-
make2,
|
|
331
|
-
parseFdName,
|
|
332
|
-
fdName
|
|
333
|
-
} from "./chunk-ybp1mwv9.js";
|
|
319
|
+
} from "./chunk-xb70ys3n.js";
|
|
334
320
|
import {
|
|
335
321
|
isDateTime,
|
|
336
322
|
Numeric,
|
|
@@ -343,7 +329,7 @@ import {
|
|
|
343
329
|
SecretScope,
|
|
344
330
|
SecretHosts,
|
|
345
331
|
isSecretReference
|
|
346
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-kgdppbdr.js";
|
|
347
333
|
import {
|
|
348
334
|
toJsonValue,
|
|
349
335
|
isOneOf,
|
|
@@ -357,7 +343,21 @@ import {
|
|
|
357
343
|
isSymbol,
|
|
358
344
|
isUndefined,
|
|
359
345
|
kindOf
|
|
360
|
-
} from "./chunk-
|
|
346
|
+
} from "./chunk-tzz4fv17.js";
|
|
347
|
+
import {
|
|
348
|
+
isRedacted,
|
|
349
|
+
make,
|
|
350
|
+
value,
|
|
351
|
+
ExitCode,
|
|
352
|
+
ProcessId,
|
|
353
|
+
makeHandle,
|
|
354
|
+
make2,
|
|
355
|
+
ChildProcessSpawner,
|
|
356
|
+
display,
|
|
357
|
+
make3,
|
|
358
|
+
parseFdName,
|
|
359
|
+
fdName
|
|
360
|
+
} from "./chunk-98sg1yyd.js";
|
|
361
361
|
|
|
362
362
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
363
363
|
var makeEquivalence3 = Tuple;
|
|
@@ -520,7 +520,7 @@ var makeUnsafe6 = (input) => {
|
|
|
520
520
|
var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
|
|
521
521
|
var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
|
|
522
522
|
var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
|
|
523
|
-
var
|
|
523
|
+
var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
|
|
524
524
|
var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
|
|
525
525
|
var nowUnsafe = () => makeUtc(Date.now());
|
|
526
526
|
var toDateUtc = (self) => new Date(self.epochMilliseconds);
|
|
@@ -910,7 +910,7 @@ var toNumber = (b) => {
|
|
|
910
910
|
|
|
911
911
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
|
|
912
912
|
var makeUnsafe = makeUnsafe6;
|
|
913
|
-
var make18 =
|
|
913
|
+
var make18 = make4;
|
|
914
914
|
var now2 = now;
|
|
915
915
|
var nowUnsafe2 = nowUnsafe;
|
|
916
916
|
var toDateUtc2 = toDateUtc;
|
|
@@ -1125,7 +1125,7 @@ var readableToPullUnsafe = (options) => {
|
|
|
1125
1125
|
const readable = options.readable;
|
|
1126
1126
|
const chunkSize = options.chunkSize ?? 4096;
|
|
1127
1127
|
const closeOnDone = options.closeOnDone ?? true;
|
|
1128
|
-
const exit = options.exit ??
|
|
1128
|
+
const exit = options.exit ?? make8(undefined);
|
|
1129
1129
|
const latch = options.latch ?? makeUnsafe2(false);
|
|
1130
1130
|
function onReadable() {
|
|
1131
1131
|
latch.openUnsafe();
|
|
@@ -1689,7 +1689,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1689
1689
|
const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
|
|
1690
1690
|
const toOption = options.to ?? "stdin";
|
|
1691
1691
|
if (toOption === "stdin") {
|
|
1692
|
-
handles.push(yield* spawnCommand(
|
|
1692
|
+
handles.push(yield* spawnCommand(make3(command.command, command.args, {
|
|
1693
1693
|
...command.options,
|
|
1694
1694
|
stdin: {
|
|
1695
1695
|
...stdinConfig,
|
|
@@ -1709,7 +1709,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1709
1709
|
type: "input",
|
|
1710
1710
|
stream: sourceStream
|
|
1711
1711
|
};
|
|
1712
|
-
handles.push(yield* spawnCommand(
|
|
1712
|
+
handles.push(yield* spawnCommand(make3(command.command, command.args, {
|
|
1713
1713
|
...command.options,
|
|
1714
1714
|
additionalFds: {
|
|
1715
1715
|
...existingFds,
|
|
@@ -1717,7 +1717,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1717
1717
|
}
|
|
1718
1718
|
})));
|
|
1719
1719
|
} else {
|
|
1720
|
-
handles.push(yield* spawnCommand(
|
|
1720
|
+
handles.push(yield* spawnCommand(make3(command.command, command.args, {
|
|
1721
1721
|
...command.options,
|
|
1722
1722
|
stdin: {
|
|
1723
1723
|
...stdinConfig,
|
|
@@ -1756,7 +1756,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1756
1756
|
}
|
|
1757
1757
|
}
|
|
1758
1758
|
});
|
|
1759
|
-
return
|
|
1759
|
+
return make2(spawnCommand);
|
|
1760
1760
|
});
|
|
1761
1761
|
var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
|
|
1762
1762
|
var flattenCommand = (command) => {
|
|
@@ -2242,7 +2242,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
|
|
|
2242
2242
|
resume(fail7(handleBadArgument("writeFile")(err)));
|
|
2243
2243
|
}
|
|
2244
2244
|
});
|
|
2245
|
-
var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) =>
|
|
2245
|
+
var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
|
|
2246
2246
|
access: access2,
|
|
2247
2247
|
chmod: chmod2,
|
|
2248
2248
|
chown: chown2,
|
|
@@ -2302,15 +2302,15 @@ var fileUrlOps = (windows) => ({
|
|
|
2302
2302
|
})
|
|
2303
2303
|
})
|
|
2304
2304
|
});
|
|
2305
|
-
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2305
|
+
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2306
2306
|
...NodePath.posix,
|
|
2307
2307
|
.../* @__PURE__ */ fileUrlOps(false)
|
|
2308
2308
|
}));
|
|
2309
|
-
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2309
|
+
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2310
2310
|
...NodePath.win32,
|
|
2311
2311
|
.../* @__PURE__ */ fileUrlOps(true)
|
|
2312
2312
|
}));
|
|
2313
|
-
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2313
|
+
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2314
2314
|
...NodePath,
|
|
2315
2315
|
.../* @__PURE__ */ fileUrlOps(undefined)
|
|
2316
2316
|
}));
|
|
@@ -2832,12 +2832,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
|
2832
2832
|
if (typeof key === "string") {
|
|
2833
2833
|
const k = key.toLowerCase();
|
|
2834
2834
|
if (k in self) {
|
|
2835
|
-
out[k] =
|
|
2835
|
+
out[k] = make(self[k]);
|
|
2836
2836
|
}
|
|
2837
2837
|
} else {
|
|
2838
2838
|
for (const name in self) {
|
|
2839
2839
|
if (name.search(key) !== -1) {
|
|
2840
|
-
out[name] =
|
|
2840
|
+
out[name] = make(self[name]);
|
|
2841
2841
|
}
|
|
2842
2842
|
}
|
|
2843
2843
|
}
|
|
@@ -2944,7 +2944,7 @@ var fromInputNested = (input) => {
|
|
|
2944
2944
|
return out;
|
|
2945
2945
|
};
|
|
2946
2946
|
var coerce = (value) => isRedacted(value) ? value : String(value);
|
|
2947
|
-
var Equivalence3 = /* @__PURE__ */
|
|
2947
|
+
var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
|
|
2948
2948
|
var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
|
|
2949
2949
|
var empty4 = /* @__PURE__ */ make23([]);
|
|
2950
2950
|
var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
@@ -2963,7 +2963,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
|
2963
2963
|
var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
|
|
2964
2964
|
var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
2965
2965
|
const patterns = Array.isArray(key) ? key : [key];
|
|
2966
|
-
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ?
|
|
2966
|
+
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
|
|
2967
2967
|
});
|
|
2968
2968
|
var isRedactedName2 = isRedactedName;
|
|
2969
2969
|
var redactUrl = (url, redactedNames = currentRedactedNames()) => {
|
|
@@ -3039,7 +3039,7 @@ import * as readline from "readline";
|
|
|
3039
3039
|
var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
|
|
3040
3040
|
const stdin = process.stdin;
|
|
3041
3041
|
const stdout = process.stdout;
|
|
3042
|
-
const lines = yield*
|
|
3042
|
+
const lines = yield* make9();
|
|
3043
3043
|
let inputEnded = stdin.readableEnded;
|
|
3044
3044
|
let readlineActive = false;
|
|
3045
3045
|
const onStdinEnd = () => {
|
|
@@ -3050,7 +3050,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3050
3050
|
};
|
|
3051
3051
|
stdin.once("end", onStdinEnd);
|
|
3052
3052
|
yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
|
|
3053
|
-
const rlRef = yield*
|
|
3053
|
+
const rlRef = yield* make10({
|
|
3054
3054
|
acquire: acquireRelease(sync2(() => {
|
|
3055
3055
|
const rl = readline.createInterface({
|
|
3056
3056
|
input: stdin,
|
|
@@ -3089,7 +3089,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3089
3089
|
if (stdin.isTTY)
|
|
3090
3090
|
stdin.setRawMode(enabled);
|
|
3091
3091
|
});
|
|
3092
|
-
const rawModeRef = yield*
|
|
3092
|
+
const rawModeRef = yield* make10({
|
|
3093
3093
|
acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
|
|
3094
3094
|
idleTimeToLive: "10 millis"
|
|
3095
3095
|
});
|
|
@@ -3110,7 +3110,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3110
3110
|
return queue;
|
|
3111
3111
|
});
|
|
3112
3112
|
const readInput = gen(function* () {
|
|
3113
|
-
const queue = yield*
|
|
3113
|
+
const queue = yield* make9();
|
|
3114
3114
|
const handleKeypress = (s, k) => {
|
|
3115
3115
|
const userInput = {
|
|
3116
3116
|
input: fromUndefinedOr(s),
|
|
@@ -9691,14 +9691,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
|
|
|
9691
9691
|
return self;
|
|
9692
9692
|
}
|
|
9693
9693
|
var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
|
|
9694
|
-
var
|
|
9694
|
+
var make5 = (method) => (url, options) => modify(empty6, {
|
|
9695
9695
|
method,
|
|
9696
9696
|
url,
|
|
9697
9697
|
...options ?? undefined
|
|
9698
9698
|
});
|
|
9699
|
-
var get = /* @__PURE__ */
|
|
9700
|
-
var post = /* @__PURE__ */
|
|
9701
|
-
var put = /* @__PURE__ */
|
|
9699
|
+
var get = /* @__PURE__ */ make5("GET");
|
|
9700
|
+
var post = /* @__PURE__ */ make5("POST");
|
|
9701
|
+
var put = /* @__PURE__ */ make5("PUT");
|
|
9702
9702
|
var modify = /* @__PURE__ */ dual(2, (self, options) => {
|
|
9703
9703
|
let result = self;
|
|
9704
9704
|
if (options.method) {
|
|
@@ -9999,7 +9999,7 @@ var Proto7 = {
|
|
|
9999
9999
|
};
|
|
10000
10000
|
},
|
|
10001
10001
|
.../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
|
|
10002
|
-
return this.execute(
|
|
10002
|
+
return this.execute(make5(fullMethod)(url, options));
|
|
10003
10003
|
}]))
|
|
10004
10004
|
};
|
|
10005
10005
|
var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
|
|
@@ -13606,7 +13606,7 @@ var makeProto = (options) => {
|
|
|
13606
13606
|
Rpc.key = `effect/rpc/Rpc/${options._tag}`;
|
|
13607
13607
|
return Rpc;
|
|
13608
13608
|
};
|
|
13609
|
-
var
|
|
13609
|
+
var make6 = (tag, options) => {
|
|
13610
13610
|
const successSchema = options?.success ?? Void;
|
|
13611
13611
|
const errorSchema = options?.error ?? Never;
|
|
13612
13612
|
const defectSchema = options?.defect ?? Defect();
|
|
@@ -13817,7 +13817,7 @@ var RpcGroupProto = {
|
|
|
13817
13817
|
});
|
|
13818
13818
|
},
|
|
13819
13819
|
annotateRpcs(service, value) {
|
|
13820
|
-
return this.annotateRpcsMerge(
|
|
13820
|
+
return this.annotateRpcsMerge(make15(service, value));
|
|
13821
13821
|
},
|
|
13822
13822
|
annotateMerge(context) {
|
|
13823
13823
|
return makeProto2({
|
|
@@ -13840,7 +13840,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
|
|
|
13840
13840
|
requests: options.requests,
|
|
13841
13841
|
annotations: options.annotations
|
|
13842
13842
|
});
|
|
13843
|
-
var
|
|
13843
|
+
var make7 = (...rpcs) => makeProto2({
|
|
13844
13844
|
requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
|
|
13845
13845
|
annotations: empty3()
|
|
13846
13846
|
});
|
|
@@ -13947,96 +13947,96 @@ var ProgramOutcome = Union([
|
|
|
13947
13947
|
Struct({ status: Literal("failed"), failureSummary: String4 })
|
|
13948
13948
|
]);
|
|
13949
13949
|
|
|
13950
|
-
class RunnerReplicaRpcs extends make6(
|
|
13950
|
+
class RunnerReplicaRpcs extends make7(make6("Claim", {
|
|
13951
13951
|
payload: WorkUnitClaimInput,
|
|
13952
13952
|
success: WorkUnitClaimResult,
|
|
13953
13953
|
error: RunnerRpcError
|
|
13954
|
-
}),
|
|
13954
|
+
}), make6("Heartbeat", {
|
|
13955
13955
|
payload: WorkUnitHeartbeatInput,
|
|
13956
13956
|
success: WorkUnitHeartbeatResult,
|
|
13957
13957
|
error: RunnerRpcError
|
|
13958
|
-
}),
|
|
13958
|
+
}), make6("Complete", {
|
|
13959
13959
|
payload: WorkUnitCompletion,
|
|
13960
13960
|
error: RunnerRpcError
|
|
13961
|
-
}),
|
|
13961
|
+
}), make6("Release", {
|
|
13962
13962
|
payload: WorkUnitReleaseInput,
|
|
13963
13963
|
error: RunnerRpcError
|
|
13964
|
-
}),
|
|
13964
|
+
}), make6("Signals", {
|
|
13965
13965
|
payload: { runnerReplicaId: String4 },
|
|
13966
13966
|
success: RunnerSignal,
|
|
13967
13967
|
error: RunnerRpcError,
|
|
13968
13968
|
stream: true
|
|
13969
|
-
}),
|
|
13969
|
+
}), make6("ReportSteer", {
|
|
13970
13970
|
payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
|
|
13971
13971
|
success: Void,
|
|
13972
13972
|
error: RunnerRpcError
|
|
13973
|
-
}),
|
|
13973
|
+
}), make6("AppendTranscript", {
|
|
13974
13974
|
payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
|
|
13975
13975
|
success: Void,
|
|
13976
13976
|
error: RunnerRpcError
|
|
13977
|
-
}),
|
|
13977
|
+
}), make6("CreateCheckpointFile", {
|
|
13978
13978
|
payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
|
|
13979
13979
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
13980
13980
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
13981
|
-
}),
|
|
13981
|
+
}), make6("CheckpointFileParts", {
|
|
13982
13982
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
13983
13983
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
13984
13984
|
error: RunnerRpcError
|
|
13985
|
-
}),
|
|
13985
|
+
}), make6("CompleteCheckpointFile", {
|
|
13986
13986
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
13987
13987
|
success: RunFileRecord,
|
|
13988
13988
|
error: RunnerRpcError
|
|
13989
|
-
}),
|
|
13989
|
+
}), make6("SaveCheckpoint", {
|
|
13990
13990
|
payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
|
|
13991
13991
|
success: Void,
|
|
13992
13992
|
error: RunnerRpcError
|
|
13993
|
-
}),
|
|
13993
|
+
}), make6("ResumeCheckpoint", {
|
|
13994
13994
|
payload: { lease: ProgramLease },
|
|
13995
13995
|
success: UndefinedOr(ResumedCheckpoint),
|
|
13996
13996
|
error: RunnerRpcError
|
|
13997
|
-
}),
|
|
13997
|
+
}), make6("SettledCheckpoints", {
|
|
13998
13998
|
success: ArraySchema(Struct({
|
|
13999
13999
|
stepAttemptId: String4,
|
|
14000
14000
|
ref: optionalKey(String4),
|
|
14001
14001
|
repoBinding: optionalKey(WorkUnitRepoBinding)
|
|
14002
14002
|
})),
|
|
14003
14003
|
error: RunnerRpcError
|
|
14004
|
-
}),
|
|
14004
|
+
}), make6("ForgetCheckpoints", {
|
|
14005
14005
|
payload: { stepAttemptIds: ArraySchema(String4) },
|
|
14006
14006
|
success: Void,
|
|
14007
14007
|
error: RunnerRpcError
|
|
14008
|
-
}),
|
|
14008
|
+
}), make6("GitCredential", {
|
|
14009
14009
|
payload: { repoBindingId: String4 },
|
|
14010
14010
|
success: UndefinedOr(Struct({ username: String4, password: String4 })),
|
|
14011
14011
|
error: RunnerRpcError
|
|
14012
|
-
}),
|
|
14012
|
+
}), make6("Bundle", {
|
|
14013
14013
|
payload: { digest: String4 },
|
|
14014
14014
|
success: Struct({ bundle: String4 }),
|
|
14015
14015
|
error: RunnerRpcError
|
|
14016
|
-
}),
|
|
14016
|
+
}), make6("SettledRuns", {
|
|
14017
14017
|
payload: { runIds: ArraySchema(String4) },
|
|
14018
14018
|
success: ArraySchema(String4),
|
|
14019
14019
|
error: RunnerRpcError
|
|
14020
|
-
}),
|
|
14020
|
+
}), make6("KnownEvidence", {
|
|
14021
14021
|
payload: { lease: ProgramLease, trees: ArraySchema(String4) },
|
|
14022
14022
|
success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
|
|
14023
14023
|
error: RunnerRpcError
|
|
14024
14024
|
})).middleware(RunnerAuthentication) {
|
|
14025
14025
|
}
|
|
14026
14026
|
|
|
14027
|
-
class RunnerJournalRpcs extends make6(
|
|
14027
|
+
class RunnerJournalRpcs extends make7(make6("RecordActivity", {
|
|
14028
14028
|
payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
|
|
14029
14029
|
error: RunnerRpcError
|
|
14030
|
-
}),
|
|
14030
|
+
}), make6("DeferredDone", {
|
|
14031
14031
|
payload: { lease: ProgramLease, name: String4, exit: Json },
|
|
14032
14032
|
error: RunnerRpcError
|
|
14033
|
-
}),
|
|
14033
|
+
}), make6("ScheduleClock", {
|
|
14034
14034
|
payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
|
|
14035
14035
|
error: RunnerRpcError
|
|
14036
|
-
}),
|
|
14036
|
+
}), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
|
|
14037
14037
|
}
|
|
14038
14038
|
|
|
14039
|
-
class RunnerCapabilityRpcs extends make6(
|
|
14039
|
+
class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
14040
14040
|
payload: {
|
|
14041
14041
|
lease: ProgramLease,
|
|
14042
14042
|
step: String4,
|
|
@@ -14055,7 +14055,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14055
14055
|
},
|
|
14056
14056
|
success: Struct({ questionId: String4 }),
|
|
14057
14057
|
error: RunnerRpcError
|
|
14058
|
-
}),
|
|
14058
|
+
}), make6("StartAgentStep", {
|
|
14059
14059
|
payload: {
|
|
14060
14060
|
lease: ProgramLease,
|
|
14061
14061
|
step: String4,
|
|
@@ -14071,7 +14071,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14071
14071
|
},
|
|
14072
14072
|
success: Struct({ stepAttemptId: String4 }),
|
|
14073
14073
|
error: RunnerRpcError
|
|
14074
|
-
}),
|
|
14074
|
+
}), make6("StartVerification", {
|
|
14075
14075
|
payload: {
|
|
14076
14076
|
lease: ProgramLease,
|
|
14077
14077
|
step: String4,
|
|
@@ -14089,7 +14089,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14089
14089
|
},
|
|
14090
14090
|
success: Struct({ verificationId: String4 }),
|
|
14091
14091
|
error: RunnerRpcError
|
|
14092
|
-
}),
|
|
14092
|
+
}), make6("AwaitEvent", {
|
|
14093
14093
|
payload: {
|
|
14094
14094
|
lease: ProgramLease,
|
|
14095
14095
|
step: String4,
|
|
@@ -14105,7 +14105,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14105
14105
|
})))
|
|
14106
14106
|
},
|
|
14107
14107
|
error: RunnerRpcError
|
|
14108
|
-
}),
|
|
14108
|
+
}), make6("ClaimResource", {
|
|
14109
14109
|
payload: {
|
|
14110
14110
|
lease: ProgramLease,
|
|
14111
14111
|
step: String4,
|
|
@@ -14114,7 +14114,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14114
14114
|
action: Literals(["claim", "take_over", "let_go"])
|
|
14115
14115
|
},
|
|
14116
14116
|
error: RunnerRpcError
|
|
14117
|
-
}),
|
|
14117
|
+
}), make6("AdmitChild", {
|
|
14118
14118
|
payload: {
|
|
14119
14119
|
lease: ProgramLease,
|
|
14120
14120
|
step: String4,
|
|
@@ -14125,7 +14125,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14125
14125
|
},
|
|
14126
14126
|
success: Struct({ runId: String4 }),
|
|
14127
14127
|
error: RunnerRpcError
|
|
14128
|
-
}),
|
|
14128
|
+
}), make6("StoreArtifact", {
|
|
14129
14129
|
payload: {
|
|
14130
14130
|
lease: ProgramLease,
|
|
14131
14131
|
step: String4,
|
|
@@ -14137,7 +14137,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14137
14137
|
},
|
|
14138
14138
|
success: Struct({ artifactId: String4 }),
|
|
14139
14139
|
error: RunnerRpcError
|
|
14140
|
-
}),
|
|
14140
|
+
}), make6("RecordNote", {
|
|
14141
14141
|
payload: {
|
|
14142
14142
|
lease: ProgramLease,
|
|
14143
14143
|
step: String4,
|
|
@@ -14146,7 +14146,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14146
14146
|
kind: optional(Literals(["note", "blocker"]))
|
|
14147
14147
|
},
|
|
14148
14148
|
error: RunnerRpcError
|
|
14149
|
-
}),
|
|
14149
|
+
}), make6("PerformHostEffect", {
|
|
14150
14150
|
payload: {
|
|
14151
14151
|
lease: ProgramLease,
|
|
14152
14152
|
step: String4,
|
|
@@ -14174,7 +14174,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14174
14174
|
},
|
|
14175
14175
|
success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
|
|
14176
14176
|
error: RunnerRpcError
|
|
14177
|
-
}),
|
|
14177
|
+
}), make6("AlertTask", {
|
|
14178
14178
|
payload: {
|
|
14179
14179
|
lease: ProgramLease,
|
|
14180
14180
|
step: String4,
|
|
@@ -14191,7 +14191,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14191
14191
|
joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
|
|
14192
14192
|
}),
|
|
14193
14193
|
error: RunnerRpcError
|
|
14194
|
-
}),
|
|
14194
|
+
}), make6("ReadTranscripts", {
|
|
14195
14195
|
payload: { lease: ProgramLease, step: String4, days: Int },
|
|
14196
14196
|
success: Struct({
|
|
14197
14197
|
runs: ArraySchema(Struct({
|
|
@@ -14210,7 +14210,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14210
14210
|
}))
|
|
14211
14211
|
}),
|
|
14212
14212
|
error: RunnerRpcError
|
|
14213
|
-
}),
|
|
14213
|
+
}), make6("PipelineStatus", {
|
|
14214
14214
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
|
|
14215
14215
|
success: Struct({
|
|
14216
14216
|
head: String4,
|
|
@@ -14240,11 +14240,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14240
14240
|
}))
|
|
14241
14241
|
}),
|
|
14242
14242
|
error: RunnerRpcError
|
|
14243
|
-
}),
|
|
14243
|
+
}), make6("ReportPipeline", {
|
|
14244
14244
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
|
|
14245
14245
|
success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
|
|
14246
14246
|
error: RunnerRpcError
|
|
14247
|
-
}),
|
|
14247
|
+
}), make6("ReviewThreads", {
|
|
14248
14248
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
|
|
14249
14249
|
success: Struct({
|
|
14250
14250
|
threads: ArraySchema(Struct({
|
|
@@ -14256,7 +14256,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14256
14256
|
}))
|
|
14257
14257
|
}),
|
|
14258
14258
|
error: RunnerRpcError
|
|
14259
|
-
}),
|
|
14259
|
+
}), make6("OpenChangeRequests", {
|
|
14260
14260
|
payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
|
|
14261
14261
|
success: Struct({
|
|
14262
14262
|
changeRequests: ArraySchema(Struct({
|
|
@@ -14270,7 +14270,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14270
14270
|
}))
|
|
14271
14271
|
}),
|
|
14272
14272
|
error: RunnerRpcError
|
|
14273
|
-
}),
|
|
14273
|
+
}), make6("OwnChangeRequests", {
|
|
14274
14274
|
payload: { lease: ProgramLease, step: String4 },
|
|
14275
14275
|
success: Struct({
|
|
14276
14276
|
changeRequests: ArraySchema(Struct({
|
|
@@ -14283,7 +14283,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14283
14283
|
}))
|
|
14284
14284
|
}),
|
|
14285
14285
|
error: RunnerRpcError
|
|
14286
|
-
}),
|
|
14286
|
+
}), make6("Propose", {
|
|
14287
14287
|
payload: {
|
|
14288
14288
|
lease: ProgramLease,
|
|
14289
14289
|
step: String4,
|
|
@@ -14310,7 +14310,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14310
14310
|
matched: optionalKey(Boolean2)
|
|
14311
14311
|
}),
|
|
14312
14312
|
error: RunnerRpcError
|
|
14313
|
-
}),
|
|
14313
|
+
}), make6("ReadProject", {
|
|
14314
14314
|
payload: { lease: ProgramLease, step: String4, projectId: String4 },
|
|
14315
14315
|
success: Struct({
|
|
14316
14316
|
project: Struct({ id: String4, name: String4 }),
|
|
@@ -14333,7 +14333,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14333
14333
|
taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
|
|
14334
14334
|
}),
|
|
14335
14335
|
error: RunnerRpcError
|
|
14336
|
-
}),
|
|
14336
|
+
}), make6("DraftUpdate", {
|
|
14337
14337
|
payload: {
|
|
14338
14338
|
lease: ProgramLease,
|
|
14339
14339
|
step: String4,
|
|
@@ -14348,7 +14348,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14348
14348
|
},
|
|
14349
14349
|
success: Struct({ id: String4 }),
|
|
14350
14350
|
error: RunnerRpcError
|
|
14351
|
-
}),
|
|
14351
|
+
}), make6("CreatePlanTasks", {
|
|
14352
14352
|
payload: {
|
|
14353
14353
|
lease: ProgramLease,
|
|
14354
14354
|
projectId: optionalKey(String4),
|
|
@@ -14363,11 +14363,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14363
14363
|
},
|
|
14364
14364
|
success: ArraySchema(Struct({ key: String4, taskId: String4 })),
|
|
14365
14365
|
error: RunnerRpcError
|
|
14366
|
-
}),
|
|
14366
|
+
}), make6("IntegrationBranch", {
|
|
14367
14367
|
payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
|
|
14368
14368
|
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
14369
14369
|
error: RunnerRpcError
|
|
14370
|
-
}),
|
|
14370
|
+
}), make6("MergeChangeRequest", {
|
|
14371
14371
|
payload: {
|
|
14372
14372
|
lease: ProgramLease,
|
|
14373
14373
|
step: String4,
|
|
@@ -14380,7 +14380,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14380
14380
|
Struct({ status: Literal("moved"), head: String4 })
|
|
14381
14381
|
]),
|
|
14382
14382
|
error: RunnerRpcError
|
|
14383
|
-
}),
|
|
14383
|
+
}), make6("ApproveChangeRequest", {
|
|
14384
14384
|
payload: {
|
|
14385
14385
|
lease: ProgramLease,
|
|
14386
14386
|
step: String4,
|
|
@@ -14395,7 +14395,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14395
14395
|
Struct({ approved: Literal(false), reason: String4 })
|
|
14396
14396
|
]),
|
|
14397
14397
|
error: RunnerRpcError
|
|
14398
|
-
}),
|
|
14398
|
+
}), make6("CloseChangeRequest", {
|
|
14399
14399
|
payload: {
|
|
14400
14400
|
lease: ProgramLease,
|
|
14401
14401
|
step: String4,
|
|
@@ -14405,7 +14405,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14405
14405
|
},
|
|
14406
14406
|
success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
|
|
14407
14407
|
error: RunnerRpcError
|
|
14408
|
-
}),
|
|
14408
|
+
}), make6("RerunPipeline", {
|
|
14409
14409
|
payload: {
|
|
14410
14410
|
lease: ProgramLease,
|
|
14411
14411
|
step: String4,
|
|
@@ -14415,7 +14415,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14415
14415
|
},
|
|
14416
14416
|
success: Struct({ head: String4, pipelines: Int }),
|
|
14417
14417
|
error: RunnerRpcError
|
|
14418
|
-
}),
|
|
14418
|
+
}), make6("PublishRelease", {
|
|
14419
14419
|
payload: {
|
|
14420
14420
|
lease: ProgramLease,
|
|
14421
14421
|
step: String4,
|
|
@@ -14426,14 +14426,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14426
14426
|
},
|
|
14427
14427
|
success: Struct({ tag: String4, revision: String4, url: String4 }),
|
|
14428
14428
|
error: RunnerRpcError
|
|
14429
|
-
}),
|
|
14429
|
+
}), make6("ProgramSecrets", {
|
|
14430
14430
|
payload: { lease: ProgramLease },
|
|
14431
14431
|
success: Record(String4, String4),
|
|
14432
14432
|
error: RunnerRpcError
|
|
14433
14433
|
})).middleware(RunnerAuthentication) {
|
|
14434
14434
|
}
|
|
14435
14435
|
|
|
14436
|
-
class RunnerRunFileRpcs extends make6(
|
|
14436
|
+
class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
|
|
14437
14437
|
payload: {
|
|
14438
14438
|
lease: ProgramLease,
|
|
14439
14439
|
step: String4,
|
|
@@ -14445,11 +14445,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
|
|
|
14445
14445
|
},
|
|
14446
14446
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
14447
14447
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
14448
|
-
}),
|
|
14448
|
+
}), make6("RunFileParts", {
|
|
14449
14449
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
14450
14450
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
14451
14451
|
error: RunnerRpcError
|
|
14452
|
-
}),
|
|
14452
|
+
}), make6("CompleteRunFile", {
|
|
14453
14453
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
14454
14454
|
success: RunFileRecord,
|
|
14455
14455
|
error: RunnerRpcError
|
|
@@ -14538,7 +14538,7 @@ function toStoredSession(token, existingRefreshToken) {
|
|
|
14538
14538
|
}
|
|
14539
14539
|
function startLoopbackServer(input) {
|
|
14540
14540
|
return gen(function* () {
|
|
14541
|
-
const code = yield*
|
|
14541
|
+
const code = yield* make16();
|
|
14542
14542
|
const context2 = yield* context();
|
|
14543
14543
|
const runSyncExit = runSyncExitWith(context2);
|
|
14544
14544
|
const server = yield* acquireRelease(sync2(() => Bun.serve({
|
|
@@ -15078,7 +15078,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
15078
15078
|
let lastId = 0;
|
|
15079
15079
|
let lost = false;
|
|
15080
15080
|
const notifications = yield* unbounded2();
|
|
15081
|
-
const ended = yield*
|
|
15081
|
+
const ended = yield* make16();
|
|
15082
15082
|
const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
|
|
15083
15083
|
onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
|
|
15084
15084
|
onNone: () => void_3,
|
|
@@ -15105,7 +15105,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
15105
15105
|
if (lost)
|
|
15106
15106
|
return yield* new HerdrCoreConnectionLost2({ method });
|
|
15107
15107
|
const id = ++lastId;
|
|
15108
|
-
const deferred = yield*
|
|
15108
|
+
const deferred = yield* make16();
|
|
15109
15109
|
pending.set(id, { method, deferred });
|
|
15110
15110
|
yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
|
|
15111
15111
|
return yield* _await(deferred);
|
|
@@ -15179,14 +15179,14 @@ var herdrCoreOver = (transport) => ({
|
|
|
15179
15179
|
return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
|
|
15180
15180
|
};
|
|
15181
15181
|
const snapshot = { type: "snapshot", terminals: subscribed.terminals };
|
|
15182
|
-
return concat(
|
|
15182
|
+
return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
|
|
15183
15183
|
}))
|
|
15184
15184
|
});
|
|
15185
15185
|
var spawnedTransport = (env) => gen(function* () {
|
|
15186
15186
|
const spawner = yield* ChildProcessSpawner;
|
|
15187
15187
|
const input = yield* unbounded2();
|
|
15188
15188
|
const encoder = new TextEncoder;
|
|
15189
|
-
const handle = yield* spawner.spawn(
|
|
15189
|
+
const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
|
|
15190
15190
|
extendEnv: false,
|
|
15191
15191
|
env,
|
|
15192
15192
|
stdin: fromQueue(input),
|
|
@@ -15217,7 +15217,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
|
|
|
15217
15217
|
const spawner = yield* ChildProcessSpawner;
|
|
15218
15218
|
const env = coreEnv(options);
|
|
15219
15219
|
const run = (args) => gen(function* () {
|
|
15220
|
-
const handle = yield* spawner.spawn(
|
|
15220
|
+
const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
|
|
15221
15221
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
15222
15222
|
mkString(decodeText(handle.stdout)),
|
|
15223
15223
|
mkString(decodeText(handle.stderr)),
|
|
@@ -15243,7 +15243,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
|
|
|
15243
15243
|
}
|
|
15244
15244
|
var runCommand2 = (command, args, options = {}) => gen(function* () {
|
|
15245
15245
|
const spawner = yield* ChildProcessSpawner;
|
|
15246
|
-
const handle = yield* spawner.spawn(
|
|
15246
|
+
const handle = yield* spawner.spawn(make3(command, args, {
|
|
15247
15247
|
stdin: "ignore",
|
|
15248
15248
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
15249
15249
|
...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
|
|
@@ -15269,8 +15269,8 @@ var shellOutputTailChars2 = 64 * 1024;
|
|
|
15269
15269
|
var runProcess2 = (argv, options) => gen(function* () {
|
|
15270
15270
|
const spawner = yield* ChildProcessSpawner;
|
|
15271
15271
|
const [command, ...args] = argv;
|
|
15272
|
-
const handle = yield* spawner.spawn(
|
|
15273
|
-
stdin: options.stdin === undefined ? "ignore" :
|
|
15272
|
+
const handle = yield* spawner.spawn(make3(command, args, {
|
|
15273
|
+
stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
|
|
15274
15274
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
15275
15275
|
env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
|
|
15276
15276
|
}));
|
|
@@ -15692,4 +15692,4 @@ function checkServices(declaration) {
|
|
|
15692
15692
|
return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
|
|
15693
15693
|
}
|
|
15694
15694
|
|
|
15695
|
-
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, 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,
|
|
15695
|
+
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, 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 };
|