@kitman-sh/cli 0.10.87 → 0.10.88
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-m0yvvg6r.js → chunk-101maext.js} +4 -4
- package/dist/{chunk-tzz4fv17.js → chunk-1mcwey0c.js} +1 -1
- package/dist/{chunk-9zd52pda.js → chunk-5dwyvg1z.js} +5 -5
- package/dist/{chunk-h6v1w0vw.js → chunk-7202s8t5.js} +23 -23
- package/dist/{chunk-4s08g8x1.js → chunk-7bv81x50.js} +8 -8
- package/dist/{chunk-z7mvdzqm.js → chunk-8n5fwxyd.js} +21 -21
- package/dist/{chunk-gaxp5nmx.js → chunk-9b0agw88.js} +23 -23
- package/dist/{chunk-bk31f16e.js → chunk-a7m6tq5q.js} +3 -3
- package/dist/{chunk-62565d52.js → chunk-aj4ev9v2.js} +2 -2
- package/dist/{chunk-jbwk6k6m.js → chunk-caqesagt.js} +70 -28
- package/dist/{chunk-ky974pcr.js → chunk-cw2ghw7n.js} +4 -4
- package/dist/{chunk-e8zm8z3a.js → chunk-dmwqvnmb.js} +8 -8
- package/dist/{chunk-myjfc5nh.js → chunk-ghga9phe.js} +5 -5
- package/dist/{chunk-w5smxtzc.js → chunk-h2e1m210.js} +107 -107
- package/dist/{chunk-193zkyhj.js → chunk-jv2xwq5v.js} +4 -4
- package/dist/{chunk-76ctrqm6.js → chunk-maj4dn1b.js} +1 -1
- package/dist/{chunk-11pnta38.js → chunk-ntbwavn3.js} +5 -5
- package/dist/{chunk-kgdppbdr.js → chunk-p74pmd81.js} +1 -1
- package/dist/{chunk-rxcy9h90.js → chunk-q6yydf12.js} +7 -7
- package/dist/{chunk-n3prr22y.js → chunk-tm2zkgsf.js} +19 -19
- package/dist/{chunk-fq47a5yd.js → chunk-vne4rsj0.js} +2 -2
- package/dist/{chunk-xb70ys3n.js → chunk-w9j2yb0n.js} +17 -17
- package/dist/{chunk-98sg1yyd.js → chunk-ybp1mwv9.js} +14 -60
- package/dist/{chunk-fhgfsets.js → chunk-zy5ywtx2.js} +7 -7
- 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,
|
|
@@ -249,7 +252,7 @@ import {
|
|
|
249
252
|
decodeJsonStringOption,
|
|
250
253
|
encodeJsonStringSync,
|
|
251
254
|
encodePrettyJsonString
|
|
252
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-caqesagt.js";
|
|
253
256
|
import {
|
|
254
257
|
map,
|
|
255
258
|
makeEquivalence,
|
|
@@ -258,8 +261,8 @@ import {
|
|
|
258
261
|
systemError,
|
|
259
262
|
badArgument,
|
|
260
263
|
makeUnsafe2,
|
|
264
|
+
make7,
|
|
261
265
|
make8,
|
|
262
|
-
make9,
|
|
263
266
|
sliding,
|
|
264
267
|
unbounded2,
|
|
265
268
|
offer,
|
|
@@ -275,13 +278,13 @@ import {
|
|
|
275
278
|
isSink,
|
|
276
279
|
fromChannel,
|
|
277
280
|
drain,
|
|
278
|
-
|
|
281
|
+
make9,
|
|
279
282
|
get3,
|
|
280
283
|
isStream,
|
|
281
284
|
fromChannel2,
|
|
282
285
|
callback,
|
|
283
286
|
empty2,
|
|
284
|
-
|
|
287
|
+
make10,
|
|
285
288
|
suspend,
|
|
286
289
|
fail2,
|
|
287
290
|
fromQueue,
|
|
@@ -307,16 +310,16 @@ import {
|
|
|
307
310
|
mkArrayBuffer,
|
|
308
311
|
toReadableStreamEffect,
|
|
309
312
|
FileSystem,
|
|
310
|
-
|
|
313
|
+
make11,
|
|
311
314
|
FileTypeId,
|
|
312
315
|
WatchBackend,
|
|
313
316
|
Path,
|
|
314
|
-
|
|
317
|
+
make12,
|
|
315
318
|
option,
|
|
316
319
|
String2,
|
|
317
320
|
optionalEnv,
|
|
318
321
|
harnessesUnsupportedInSrt2
|
|
319
|
-
} from "./chunk-
|
|
322
|
+
} from "./chunk-w9j2yb0n.js";
|
|
320
323
|
import {
|
|
321
324
|
isDateTime,
|
|
322
325
|
Numeric,
|
|
@@ -329,7 +332,7 @@ import {
|
|
|
329
332
|
SecretScope,
|
|
330
333
|
SecretHosts,
|
|
331
334
|
isSecretReference
|
|
332
|
-
} from "./chunk-
|
|
335
|
+
} from "./chunk-p74pmd81.js";
|
|
333
336
|
import {
|
|
334
337
|
toJsonValue,
|
|
335
338
|
isOneOf,
|
|
@@ -343,21 +346,18 @@ import {
|
|
|
343
346
|
isSymbol,
|
|
344
347
|
isUndefined,
|
|
345
348
|
kindOf
|
|
346
|
-
} from "./chunk-
|
|
349
|
+
} from "./chunk-1mcwey0c.js";
|
|
347
350
|
import {
|
|
348
|
-
isRedacted,
|
|
349
|
-
make,
|
|
350
|
-
value,
|
|
351
351
|
ExitCode,
|
|
352
352
|
ProcessId,
|
|
353
353
|
makeHandle,
|
|
354
|
-
|
|
354
|
+
make,
|
|
355
355
|
ChildProcessSpawner,
|
|
356
356
|
display,
|
|
357
|
-
|
|
357
|
+
make2,
|
|
358
358
|
parseFdName,
|
|
359
359
|
fdName
|
|
360
|
-
} from "./chunk-
|
|
360
|
+
} from "./chunk-ybp1mwv9.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 make3 = /* @__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 = make3;
|
|
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 ?? make7(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(make2(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(make2(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(make2(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 make(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) => make11({
|
|
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__ */ make12({
|
|
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__ */ make12({
|
|
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__ */ make12({
|
|
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] = make16(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] = make16(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__ */ make13((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) ? make16(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* make8();
|
|
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* make9({
|
|
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* make9({
|
|
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* make8();
|
|
3114
3114
|
const handleKeypress = (s, k) => {
|
|
3115
3115
|
const userInput = {
|
|
3116
3116
|
input: fromUndefinedOr(s),
|
|
@@ -9702,14 +9702,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
|
|
|
9702
9702
|
return self;
|
|
9703
9703
|
}
|
|
9704
9704
|
var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
|
|
9705
|
-
var
|
|
9705
|
+
var make4 = (method) => (url, options) => modify(empty6, {
|
|
9706
9706
|
method,
|
|
9707
9707
|
url,
|
|
9708
9708
|
...options ?? undefined
|
|
9709
9709
|
});
|
|
9710
|
-
var get = /* @__PURE__ */
|
|
9711
|
-
var post = /* @__PURE__ */
|
|
9712
|
-
var put = /* @__PURE__ */
|
|
9710
|
+
var get = /* @__PURE__ */ make4("GET");
|
|
9711
|
+
var post = /* @__PURE__ */ make4("POST");
|
|
9712
|
+
var put = /* @__PURE__ */ make4("PUT");
|
|
9713
9713
|
var modify = /* @__PURE__ */ dual(2, (self, options) => {
|
|
9714
9714
|
let result = self;
|
|
9715
9715
|
if (options.method) {
|
|
@@ -10010,7 +10010,7 @@ var Proto7 = {
|
|
|
10010
10010
|
};
|
|
10011
10011
|
},
|
|
10012
10012
|
.../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
|
|
10013
|
-
return this.execute(
|
|
10013
|
+
return this.execute(make4(fullMethod)(url, options));
|
|
10014
10014
|
}]))
|
|
10015
10015
|
};
|
|
10016
10016
|
var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
|
|
@@ -13617,7 +13617,7 @@ var makeProto = (options) => {
|
|
|
13617
13617
|
Rpc.key = `effect/rpc/Rpc/${options._tag}`;
|
|
13618
13618
|
return Rpc;
|
|
13619
13619
|
};
|
|
13620
|
-
var
|
|
13620
|
+
var make5 = (tag, options) => {
|
|
13621
13621
|
const successSchema = options?.success ?? Void;
|
|
13622
13622
|
const errorSchema = options?.error ?? Never;
|
|
13623
13623
|
const defectSchema = options?.defect ?? Defect();
|
|
@@ -13828,7 +13828,7 @@ var RpcGroupProto = {
|
|
|
13828
13828
|
});
|
|
13829
13829
|
},
|
|
13830
13830
|
annotateRpcs(service, value) {
|
|
13831
|
-
return this.annotateRpcsMerge(
|
|
13831
|
+
return this.annotateRpcsMerge(make14(service, value));
|
|
13832
13832
|
},
|
|
13833
13833
|
annotateMerge(context) {
|
|
13834
13834
|
return makeProto2({
|
|
@@ -13851,7 +13851,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
|
|
|
13851
13851
|
requests: options.requests,
|
|
13852
13852
|
annotations: options.annotations
|
|
13853
13853
|
});
|
|
13854
|
-
var
|
|
13854
|
+
var make6 = (...rpcs) => makeProto2({
|
|
13855
13855
|
requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
|
|
13856
13856
|
annotations: empty3()
|
|
13857
13857
|
});
|
|
@@ -13958,96 +13958,96 @@ var ProgramOutcome = Union([
|
|
|
13958
13958
|
Struct({ status: Literal("failed"), failureSummary: String4 })
|
|
13959
13959
|
]);
|
|
13960
13960
|
|
|
13961
|
-
class RunnerReplicaRpcs extends
|
|
13961
|
+
class RunnerReplicaRpcs extends make6(make5("Claim", {
|
|
13962
13962
|
payload: WorkUnitClaimInput,
|
|
13963
13963
|
success: WorkUnitClaimResult,
|
|
13964
13964
|
error: RunnerRpcError
|
|
13965
|
-
}),
|
|
13965
|
+
}), make5("Heartbeat", {
|
|
13966
13966
|
payload: WorkUnitHeartbeatInput,
|
|
13967
13967
|
success: WorkUnitHeartbeatResult,
|
|
13968
13968
|
error: RunnerRpcError
|
|
13969
|
-
}),
|
|
13969
|
+
}), make5("Complete", {
|
|
13970
13970
|
payload: WorkUnitCompletion,
|
|
13971
13971
|
error: RunnerRpcError
|
|
13972
|
-
}),
|
|
13972
|
+
}), make5("Release", {
|
|
13973
13973
|
payload: WorkUnitReleaseInput,
|
|
13974
13974
|
error: RunnerRpcError
|
|
13975
|
-
}),
|
|
13975
|
+
}), make5("Signals", {
|
|
13976
13976
|
payload: { runnerReplicaId: String4 },
|
|
13977
13977
|
success: RunnerSignal,
|
|
13978
13978
|
error: RunnerRpcError,
|
|
13979
13979
|
stream: true
|
|
13980
|
-
}),
|
|
13980
|
+
}), make5("ReportSteer", {
|
|
13981
13981
|
payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
|
|
13982
13982
|
success: Void,
|
|
13983
13983
|
error: RunnerRpcError
|
|
13984
|
-
}),
|
|
13984
|
+
}), make5("AppendTranscript", {
|
|
13985
13985
|
payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
|
|
13986
13986
|
success: Void,
|
|
13987
13987
|
error: RunnerRpcError
|
|
13988
|
-
}),
|
|
13988
|
+
}), make5("CreateCheckpointFile", {
|
|
13989
13989
|
payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
|
|
13990
13990
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
13991
13991
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
13992
|
-
}),
|
|
13992
|
+
}), make5("CheckpointFileParts", {
|
|
13993
13993
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
13994
13994
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
13995
13995
|
error: RunnerRpcError
|
|
13996
|
-
}),
|
|
13996
|
+
}), make5("CompleteCheckpointFile", {
|
|
13997
13997
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
13998
13998
|
success: RunFileRecord,
|
|
13999
13999
|
error: RunnerRpcError
|
|
14000
|
-
}),
|
|
14000
|
+
}), make5("SaveCheckpoint", {
|
|
14001
14001
|
payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
|
|
14002
14002
|
success: Void,
|
|
14003
14003
|
error: RunnerRpcError
|
|
14004
|
-
}),
|
|
14004
|
+
}), make5("ResumeCheckpoint", {
|
|
14005
14005
|
payload: { lease: ProgramLease },
|
|
14006
14006
|
success: UndefinedOr(ResumedCheckpoint),
|
|
14007
14007
|
error: RunnerRpcError
|
|
14008
|
-
}),
|
|
14008
|
+
}), make5("SettledCheckpoints", {
|
|
14009
14009
|
success: ArraySchema(Struct({
|
|
14010
14010
|
stepAttemptId: String4,
|
|
14011
14011
|
ref: optionalKey(String4),
|
|
14012
14012
|
repoBinding: optionalKey(WorkUnitRepoBinding)
|
|
14013
14013
|
})),
|
|
14014
14014
|
error: RunnerRpcError
|
|
14015
|
-
}),
|
|
14015
|
+
}), make5("ForgetCheckpoints", {
|
|
14016
14016
|
payload: { stepAttemptIds: ArraySchema(String4) },
|
|
14017
14017
|
success: Void,
|
|
14018
14018
|
error: RunnerRpcError
|
|
14019
|
-
}),
|
|
14019
|
+
}), make5("GitCredential", {
|
|
14020
14020
|
payload: { repoBindingId: String4 },
|
|
14021
14021
|
success: UndefinedOr(Struct({ username: String4, password: String4 })),
|
|
14022
14022
|
error: RunnerRpcError
|
|
14023
|
-
}),
|
|
14023
|
+
}), make5("Bundle", {
|
|
14024
14024
|
payload: { digest: String4 },
|
|
14025
14025
|
success: Struct({ bundle: String4 }),
|
|
14026
14026
|
error: RunnerRpcError
|
|
14027
|
-
}),
|
|
14027
|
+
}), make5("SettledRuns", {
|
|
14028
14028
|
payload: { runIds: ArraySchema(String4) },
|
|
14029
14029
|
success: ArraySchema(String4),
|
|
14030
14030
|
error: RunnerRpcError
|
|
14031
|
-
}),
|
|
14031
|
+
}), make5("KnownEvidence", {
|
|
14032
14032
|
payload: { lease: ProgramLease, trees: ArraySchema(String4) },
|
|
14033
14033
|
success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
|
|
14034
14034
|
error: RunnerRpcError
|
|
14035
14035
|
})).middleware(RunnerAuthentication) {
|
|
14036
14036
|
}
|
|
14037
14037
|
|
|
14038
|
-
class RunnerJournalRpcs extends
|
|
14038
|
+
class RunnerJournalRpcs extends make6(make5("RecordActivity", {
|
|
14039
14039
|
payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
|
|
14040
14040
|
error: RunnerRpcError
|
|
14041
|
-
}),
|
|
14041
|
+
}), make5("DeferredDone", {
|
|
14042
14042
|
payload: { lease: ProgramLease, name: String4, exit: Json },
|
|
14043
14043
|
error: RunnerRpcError
|
|
14044
|
-
}),
|
|
14044
|
+
}), make5("ScheduleClock", {
|
|
14045
14045
|
payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
|
|
14046
14046
|
error: RunnerRpcError
|
|
14047
|
-
}),
|
|
14047
|
+
}), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
|
|
14048
14048
|
}
|
|
14049
14049
|
|
|
14050
|
-
class RunnerCapabilityRpcs extends
|
|
14050
|
+
class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
14051
14051
|
payload: {
|
|
14052
14052
|
lease: ProgramLease,
|
|
14053
14053
|
step: String4,
|
|
@@ -14066,7 +14066,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14066
14066
|
},
|
|
14067
14067
|
success: Struct({ questionId: String4 }),
|
|
14068
14068
|
error: RunnerRpcError
|
|
14069
|
-
}),
|
|
14069
|
+
}), make5("StartAgentStep", {
|
|
14070
14070
|
payload: {
|
|
14071
14071
|
lease: ProgramLease,
|
|
14072
14072
|
step: String4,
|
|
@@ -14082,7 +14082,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14082
14082
|
},
|
|
14083
14083
|
success: Struct({ stepAttemptId: String4 }),
|
|
14084
14084
|
error: RunnerRpcError
|
|
14085
|
-
}),
|
|
14085
|
+
}), make5("StartVerification", {
|
|
14086
14086
|
payload: {
|
|
14087
14087
|
lease: ProgramLease,
|
|
14088
14088
|
step: String4,
|
|
@@ -14101,7 +14101,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14101
14101
|
},
|
|
14102
14102
|
success: Struct({ verificationId: String4 }),
|
|
14103
14103
|
error: RunnerRpcError
|
|
14104
|
-
}),
|
|
14104
|
+
}), make5("AwaitEvent", {
|
|
14105
14105
|
payload: {
|
|
14106
14106
|
lease: ProgramLease,
|
|
14107
14107
|
step: String4,
|
|
@@ -14117,7 +14117,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14117
14117
|
})))
|
|
14118
14118
|
},
|
|
14119
14119
|
error: RunnerRpcError
|
|
14120
|
-
}),
|
|
14120
|
+
}), make5("ClaimResource", {
|
|
14121
14121
|
payload: {
|
|
14122
14122
|
lease: ProgramLease,
|
|
14123
14123
|
step: String4,
|
|
@@ -14126,7 +14126,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14126
14126
|
action: Literals(["claim", "take_over", "let_go"])
|
|
14127
14127
|
},
|
|
14128
14128
|
error: RunnerRpcError
|
|
14129
|
-
}),
|
|
14129
|
+
}), make5("AdmitChild", {
|
|
14130
14130
|
payload: {
|
|
14131
14131
|
lease: ProgramLease,
|
|
14132
14132
|
step: String4,
|
|
@@ -14137,7 +14137,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14137
14137
|
},
|
|
14138
14138
|
success: Struct({ runId: String4 }),
|
|
14139
14139
|
error: RunnerRpcError
|
|
14140
|
-
}),
|
|
14140
|
+
}), make5("StoreArtifact", {
|
|
14141
14141
|
payload: {
|
|
14142
14142
|
lease: ProgramLease,
|
|
14143
14143
|
step: String4,
|
|
@@ -14149,7 +14149,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14149
14149
|
},
|
|
14150
14150
|
success: Struct({ artifactId: String4 }),
|
|
14151
14151
|
error: RunnerRpcError
|
|
14152
|
-
}),
|
|
14152
|
+
}), make5("RecordNote", {
|
|
14153
14153
|
payload: {
|
|
14154
14154
|
lease: ProgramLease,
|
|
14155
14155
|
step: String4,
|
|
@@ -14158,7 +14158,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14158
14158
|
kind: optional(Literals(["note", "blocker"]))
|
|
14159
14159
|
},
|
|
14160
14160
|
error: RunnerRpcError
|
|
14161
|
-
}),
|
|
14161
|
+
}), make5("PerformHostEffect", {
|
|
14162
14162
|
payload: {
|
|
14163
14163
|
lease: ProgramLease,
|
|
14164
14164
|
step: String4,
|
|
@@ -14186,7 +14186,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14186
14186
|
},
|
|
14187
14187
|
success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
|
|
14188
14188
|
error: RunnerRpcError
|
|
14189
|
-
}),
|
|
14189
|
+
}), make5("AlertTask", {
|
|
14190
14190
|
payload: {
|
|
14191
14191
|
lease: ProgramLease,
|
|
14192
14192
|
step: String4,
|
|
@@ -14203,7 +14203,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14203
14203
|
joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
|
|
14204
14204
|
}),
|
|
14205
14205
|
error: RunnerRpcError
|
|
14206
|
-
}),
|
|
14206
|
+
}), make5("ReadTranscripts", {
|
|
14207
14207
|
payload: { lease: ProgramLease, step: String4, days: Int },
|
|
14208
14208
|
success: Struct({
|
|
14209
14209
|
runs: ArraySchema(Struct({
|
|
@@ -14222,7 +14222,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14222
14222
|
}))
|
|
14223
14223
|
}),
|
|
14224
14224
|
error: RunnerRpcError
|
|
14225
|
-
}),
|
|
14225
|
+
}), make5("PipelineStatus", {
|
|
14226
14226
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
|
|
14227
14227
|
success: Struct({
|
|
14228
14228
|
head: String4,
|
|
@@ -14253,11 +14253,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14253
14253
|
}))
|
|
14254
14254
|
}),
|
|
14255
14255
|
error: RunnerRpcError
|
|
14256
|
-
}),
|
|
14256
|
+
}), make5("ReportPipeline", {
|
|
14257
14257
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
|
|
14258
14258
|
success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
|
|
14259
14259
|
error: RunnerRpcError
|
|
14260
|
-
}),
|
|
14260
|
+
}), make5("ReviewThreads", {
|
|
14261
14261
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
|
|
14262
14262
|
success: Struct({
|
|
14263
14263
|
threads: ArraySchema(Struct({
|
|
@@ -14269,7 +14269,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14269
14269
|
}))
|
|
14270
14270
|
}),
|
|
14271
14271
|
error: RunnerRpcError
|
|
14272
|
-
}),
|
|
14272
|
+
}), make5("OpenChangeRequests", {
|
|
14273
14273
|
payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
|
|
14274
14274
|
success: Struct({
|
|
14275
14275
|
changeRequests: ArraySchema(Struct({
|
|
@@ -14283,7 +14283,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14283
14283
|
}))
|
|
14284
14284
|
}),
|
|
14285
14285
|
error: RunnerRpcError
|
|
14286
|
-
}),
|
|
14286
|
+
}), make5("OwnChangeRequests", {
|
|
14287
14287
|
payload: { lease: ProgramLease, step: String4 },
|
|
14288
14288
|
success: Struct({
|
|
14289
14289
|
changeRequests: ArraySchema(Struct({
|
|
@@ -14296,7 +14296,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14296
14296
|
}))
|
|
14297
14297
|
}),
|
|
14298
14298
|
error: RunnerRpcError
|
|
14299
|
-
}),
|
|
14299
|
+
}), make5("Propose", {
|
|
14300
14300
|
payload: {
|
|
14301
14301
|
lease: ProgramLease,
|
|
14302
14302
|
step: String4,
|
|
@@ -14323,7 +14323,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14323
14323
|
matched: optionalKey(Boolean2)
|
|
14324
14324
|
}),
|
|
14325
14325
|
error: RunnerRpcError
|
|
14326
|
-
}),
|
|
14326
|
+
}), make5("ReadProject", {
|
|
14327
14327
|
payload: { lease: ProgramLease, step: String4, projectId: String4 },
|
|
14328
14328
|
success: Struct({
|
|
14329
14329
|
project: Struct({ id: String4, name: String4 }),
|
|
@@ -14346,7 +14346,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14346
14346
|
taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
|
|
14347
14347
|
}),
|
|
14348
14348
|
error: RunnerRpcError
|
|
14349
|
-
}),
|
|
14349
|
+
}), make5("DraftUpdate", {
|
|
14350
14350
|
payload: {
|
|
14351
14351
|
lease: ProgramLease,
|
|
14352
14352
|
step: String4,
|
|
@@ -14361,7 +14361,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14361
14361
|
},
|
|
14362
14362
|
success: Struct({ id: String4 }),
|
|
14363
14363
|
error: RunnerRpcError
|
|
14364
|
-
}),
|
|
14364
|
+
}), make5("CreatePlanTasks", {
|
|
14365
14365
|
payload: {
|
|
14366
14366
|
lease: ProgramLease,
|
|
14367
14367
|
projectId: optionalKey(String4),
|
|
@@ -14376,11 +14376,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14376
14376
|
},
|
|
14377
14377
|
success: ArraySchema(Struct({ key: String4, taskId: String4 })),
|
|
14378
14378
|
error: RunnerRpcError
|
|
14379
|
-
}),
|
|
14379
|
+
}), make5("IntegrationBranch", {
|
|
14380
14380
|
payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
|
|
14381
14381
|
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
14382
14382
|
error: RunnerRpcError
|
|
14383
|
-
}),
|
|
14383
|
+
}), make5("MergeChangeRequest", {
|
|
14384
14384
|
payload: {
|
|
14385
14385
|
lease: ProgramLease,
|
|
14386
14386
|
step: String4,
|
|
@@ -14393,7 +14393,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14393
14393
|
Struct({ status: Literal("moved"), head: String4 })
|
|
14394
14394
|
]),
|
|
14395
14395
|
error: RunnerRpcError
|
|
14396
|
-
}),
|
|
14396
|
+
}), make5("ApproveChangeRequest", {
|
|
14397
14397
|
payload: {
|
|
14398
14398
|
lease: ProgramLease,
|
|
14399
14399
|
step: String4,
|
|
@@ -14408,7 +14408,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14408
14408
|
Struct({ approved: Literal(false), reason: String4 })
|
|
14409
14409
|
]),
|
|
14410
14410
|
error: RunnerRpcError
|
|
14411
|
-
}),
|
|
14411
|
+
}), make5("CloseChangeRequest", {
|
|
14412
14412
|
payload: {
|
|
14413
14413
|
lease: ProgramLease,
|
|
14414
14414
|
step: String4,
|
|
@@ -14418,7 +14418,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14418
14418
|
},
|
|
14419
14419
|
success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
|
|
14420
14420
|
error: RunnerRpcError
|
|
14421
|
-
}),
|
|
14421
|
+
}), make5("RerunPipeline", {
|
|
14422
14422
|
payload: {
|
|
14423
14423
|
lease: ProgramLease,
|
|
14424
14424
|
step: String4,
|
|
@@ -14428,7 +14428,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14428
14428
|
},
|
|
14429
14429
|
success: Struct({ head: String4, pipelines: Int }),
|
|
14430
14430
|
error: RunnerRpcError
|
|
14431
|
-
}),
|
|
14431
|
+
}), make5("PublishRelease", {
|
|
14432
14432
|
payload: {
|
|
14433
14433
|
lease: ProgramLease,
|
|
14434
14434
|
step: String4,
|
|
@@ -14439,14 +14439,14 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14439
14439
|
},
|
|
14440
14440
|
success: Struct({ tag: String4, revision: String4, url: String4 }),
|
|
14441
14441
|
error: RunnerRpcError
|
|
14442
|
-
}),
|
|
14442
|
+
}), make5("ProgramSecrets", {
|
|
14443
14443
|
payload: { lease: ProgramLease },
|
|
14444
14444
|
success: Record(String4, String4),
|
|
14445
14445
|
error: RunnerRpcError
|
|
14446
14446
|
})).middleware(RunnerAuthentication) {
|
|
14447
14447
|
}
|
|
14448
14448
|
|
|
14449
|
-
class RunnerRunFileRpcs extends
|
|
14449
|
+
class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
|
|
14450
14450
|
payload: {
|
|
14451
14451
|
lease: ProgramLease,
|
|
14452
14452
|
step: String4,
|
|
@@ -14458,11 +14458,11 @@ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
|
|
|
14458
14458
|
},
|
|
14459
14459
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
14460
14460
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
14461
|
-
}),
|
|
14461
|
+
}), make5("RunFileParts", {
|
|
14462
14462
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
14463
14463
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
14464
14464
|
error: RunnerRpcError
|
|
14465
|
-
}),
|
|
14465
|
+
}), make5("CompleteRunFile", {
|
|
14466
14466
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
14467
14467
|
success: RunFileRecord,
|
|
14468
14468
|
error: RunnerRpcError
|
|
@@ -14551,7 +14551,7 @@ function toStoredSession(token, existingRefreshToken) {
|
|
|
14551
14551
|
}
|
|
14552
14552
|
function startLoopbackServer(input) {
|
|
14553
14553
|
return gen(function* () {
|
|
14554
|
-
const code = yield*
|
|
14554
|
+
const code = yield* make15();
|
|
14555
14555
|
const context2 = yield* context();
|
|
14556
14556
|
const runSyncExit = runSyncExitWith(context2);
|
|
14557
14557
|
const server = yield* acquireRelease(sync2(() => Bun.serve({
|
|
@@ -15091,7 +15091,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
15091
15091
|
let lastId = 0;
|
|
15092
15092
|
let lost = false;
|
|
15093
15093
|
const notifications = yield* unbounded2();
|
|
15094
|
-
const ended = yield*
|
|
15094
|
+
const ended = yield* make15();
|
|
15095
15095
|
const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
|
|
15096
15096
|
onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
|
|
15097
15097
|
onNone: () => void_3,
|
|
@@ -15118,7 +15118,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
15118
15118
|
if (lost)
|
|
15119
15119
|
return yield* new HerdrCoreConnectionLost2({ method });
|
|
15120
15120
|
const id = ++lastId;
|
|
15121
|
-
const deferred = yield*
|
|
15121
|
+
const deferred = yield* make15();
|
|
15122
15122
|
pending.set(id, { method, deferred });
|
|
15123
15123
|
yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
|
|
15124
15124
|
return yield* _await(deferred);
|
|
@@ -15192,14 +15192,14 @@ var herdrCoreOver = (transport) => ({
|
|
|
15192
15192
|
return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
|
|
15193
15193
|
};
|
|
15194
15194
|
const snapshot = { type: "snapshot", terminals: subscribed.terminals };
|
|
15195
|
-
return concat(
|
|
15195
|
+
return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
|
|
15196
15196
|
}))
|
|
15197
15197
|
});
|
|
15198
15198
|
var spawnedTransport = (env) => gen(function* () {
|
|
15199
15199
|
const spawner = yield* ChildProcessSpawner;
|
|
15200
15200
|
const input = yield* unbounded2();
|
|
15201
15201
|
const encoder = new TextEncoder;
|
|
15202
|
-
const handle = yield* spawner.spawn(
|
|
15202
|
+
const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
|
|
15203
15203
|
extendEnv: false,
|
|
15204
15204
|
env,
|
|
15205
15205
|
stdin: fromQueue(input),
|
|
@@ -15230,7 +15230,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
|
|
|
15230
15230
|
const spawner = yield* ChildProcessSpawner;
|
|
15231
15231
|
const env = coreEnv(options);
|
|
15232
15232
|
const run = (args) => gen(function* () {
|
|
15233
|
-
const handle = yield* spawner.spawn(
|
|
15233
|
+
const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
|
|
15234
15234
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
15235
15235
|
mkString(decodeText(handle.stdout)),
|
|
15236
15236
|
mkString(decodeText(handle.stderr)),
|
|
@@ -15256,7 +15256,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
|
|
|
15256
15256
|
}
|
|
15257
15257
|
var runCommand2 = (command, args, options = {}) => gen(function* () {
|
|
15258
15258
|
const spawner = yield* ChildProcessSpawner;
|
|
15259
|
-
const handle = yield* spawner.spawn(
|
|
15259
|
+
const handle = yield* spawner.spawn(make2(command, args, {
|
|
15260
15260
|
stdin: "ignore",
|
|
15261
15261
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
15262
15262
|
...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
|
|
@@ -15282,8 +15282,8 @@ var shellOutputTailChars2 = 64 * 1024;
|
|
|
15282
15282
|
var runProcess2 = (argv, options) => gen(function* () {
|
|
15283
15283
|
const spawner = yield* ChildProcessSpawner;
|
|
15284
15284
|
const [command, ...args] = argv;
|
|
15285
|
-
const handle = yield* spawner.spawn(
|
|
15286
|
-
stdin: options.stdin === undefined ? "ignore" :
|
|
15285
|
+
const handle = yield* spawner.spawn(make2(command, args, {
|
|
15286
|
+
stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
|
|
15287
15287
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
15288
15288
|
env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
|
|
15289
15289
|
}));
|
|
@@ -15706,4 +15706,4 @@ function checkServices(declaration) {
|
|
|
15706
15706
|
return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
|
|
15707
15707
|
}
|
|
15708
15708
|
|
|
15709
|
-
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,
|
|
15709
|
+
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, make4, 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, 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 };
|