@kitman-sh/cli 0.25.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-30s4vp2g.js → chunk-007n8acn.js} +1 -1
- package/dist/{chunk-1ync8395.js → chunk-1vnvmeqr.js} +3 -3
- package/dist/{chunk-4z5s9xtq.js → chunk-220vzyz9.js} +4 -4
- package/dist/{chunk-rbpn35g5.js → chunk-4qjfn1sa.js} +1 -1
- package/dist/{chunk-znhjs0t6.js → chunk-5kqt4bqp.js} +1 -1
- package/dist/{chunk-e491q405.js → chunk-7re3n1ze.js} +10 -10
- package/dist/{chunk-fmjgw6fw.js → chunk-83nqkmbj.js} +1 -1
- package/dist/{chunk-eshk0da5.js → chunk-8t2wcrvv.js} +2 -2
- package/dist/{chunk-3x8t5408.js → chunk-aax2a975.js} +24 -24
- package/dist/{chunk-j021bman.js → chunk-bsgvmq34.js} +60 -14
- package/dist/{chunk-63b19adg.js → chunk-dfvamygr.js} +113 -78
- package/dist/{chunk-61dmxexa.js → chunk-h2f26xbd.js} +28 -70
- package/dist/{chunk-sm340tvm.js → chunk-j4b1yvcd.js} +17 -26
- package/dist/{chunk-p34frxzr.js → chunk-ja48xvcs.js} +9 -9
- package/dist/{chunk-xk96db4j.js → chunk-ks4q040v.js} +6 -6
- package/dist/{chunk-yh0v42dk.js → chunk-mvqggmpj.js} +19 -19
- package/dist/{chunk-fyjet273.js → chunk-npfdbssf.js} +4 -4
- package/dist/{chunk-4qrb09w4.js → chunk-samxkpbz.js} +3 -3
- package/dist/{chunk-7wyejgj2.js → chunk-sc93ezsw.js} +22 -22
- package/dist/{chunk-5c1vqpf3.js → chunk-t6ynnbcb.js} +7 -7
- package/dist/{chunk-1hgsf81a.js → chunk-tsx0347c.js} +1 -1
- package/dist/{chunk-gf62mx34.js → chunk-vv7zg8rb.js} +5 -5
- package/dist/{chunk-q8e58p57.js → chunk-vz38kngm.js} +2 -2
- package/dist/{chunk-1phk7q49.js → chunk-xppw33hz.js} +125 -116
- package/dist/{chunk-py3zfen9.js → chunk-z05pkzhf.js} +10 -10
- package/dist/{chunk-zn881qsb.js → chunk-zysde2fp.js} +9 -9
- 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
|
map10,
|
|
@@ -267,18 +264,17 @@ import {
|
|
|
267
264
|
decodeJsonStringOption,
|
|
268
265
|
encodeJsonStringSync,
|
|
269
266
|
encodePrettyJsonString
|
|
270
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-h2f26xbd.js";
|
|
271
268
|
import {
|
|
272
269
|
map,
|
|
273
270
|
makeEquivalence,
|
|
274
|
-
toNumber,
|
|
275
271
|
bytes,
|
|
276
272
|
BadArgument,
|
|
277
273
|
systemError,
|
|
278
274
|
badArgument,
|
|
279
275
|
makeUnsafe2,
|
|
280
|
-
make7,
|
|
281
276
|
make8,
|
|
277
|
+
make9,
|
|
282
278
|
sliding,
|
|
283
279
|
unbounded2,
|
|
284
280
|
offer,
|
|
@@ -294,13 +290,13 @@ import {
|
|
|
294
290
|
isSink,
|
|
295
291
|
fromChannel,
|
|
296
292
|
drain,
|
|
297
|
-
|
|
293
|
+
make10,
|
|
298
294
|
get3,
|
|
299
295
|
isStream,
|
|
300
296
|
fromChannel2,
|
|
301
297
|
callback,
|
|
302
298
|
empty2,
|
|
303
|
-
|
|
299
|
+
make11,
|
|
304
300
|
suspend,
|
|
305
301
|
fail2,
|
|
306
302
|
fromQueue,
|
|
@@ -326,28 +322,31 @@ import {
|
|
|
326
322
|
mkArrayBuffer,
|
|
327
323
|
toReadableStreamEffect,
|
|
328
324
|
FileSystem,
|
|
329
|
-
|
|
325
|
+
make12,
|
|
330
326
|
FileTypeId,
|
|
331
327
|
WatchBackend,
|
|
332
328
|
Path,
|
|
333
|
-
|
|
329
|
+
make13,
|
|
334
330
|
option,
|
|
335
331
|
String2,
|
|
336
332
|
optionalEnv,
|
|
337
333
|
harnessesUnsupportedInSrt2,
|
|
338
334
|
harnessesUnsupportedInDocker2
|
|
339
|
-
} from "./chunk-
|
|
335
|
+
} from "./chunk-j4b1yvcd.js";
|
|
340
336
|
import {
|
|
337
|
+
isRedacted,
|
|
338
|
+
make,
|
|
339
|
+
value,
|
|
341
340
|
ExitCode,
|
|
342
341
|
ProcessId,
|
|
343
342
|
makeHandle,
|
|
344
|
-
|
|
343
|
+
make2,
|
|
345
344
|
ChildProcessSpawner,
|
|
346
345
|
display,
|
|
347
|
-
|
|
346
|
+
make3,
|
|
348
347
|
parseFdName,
|
|
349
348
|
fdName
|
|
350
|
-
} from "./chunk-
|
|
349
|
+
} from "./chunk-bsgvmq34.js";
|
|
351
350
|
import {
|
|
352
351
|
isDateTime,
|
|
353
352
|
Numeric,
|
|
@@ -360,7 +359,8 @@ import {
|
|
|
360
359
|
SecretScope,
|
|
361
360
|
SecretHosts,
|
|
362
361
|
isSecretReference
|
|
363
|
-
} from "./chunk-
|
|
362
|
+
} from "./chunk-4qjfn1sa.js";
|
|
363
|
+
|
|
364
364
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
365
365
|
var makeEquivalence3 = Tuple;
|
|
366
366
|
|
|
@@ -522,7 +522,7 @@ var makeUnsafe6 = (input) => {
|
|
|
522
522
|
var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
|
|
523
523
|
var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
|
|
524
524
|
var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
|
|
525
|
-
var
|
|
525
|
+
var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
|
|
526
526
|
var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
|
|
527
527
|
var nowUnsafe = () => makeUtc(Date.now());
|
|
528
528
|
var toDateUtc = (self) => new Date(self.epochMilliseconds);
|
|
@@ -901,9 +901,18 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
|
|
|
901
901
|
// node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
|
|
902
902
|
var runMain = runMain2;
|
|
903
903
|
|
|
904
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
905
|
+
var BigInt2 = globalThis.BigInt;
|
|
906
|
+
var toNumber = (b) => {
|
|
907
|
+
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
908
|
+
return none();
|
|
909
|
+
}
|
|
910
|
+
return some(Number(b));
|
|
911
|
+
};
|
|
912
|
+
|
|
904
913
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
|
|
905
914
|
var makeUnsafe = makeUnsafe6;
|
|
906
|
-
var make18 =
|
|
915
|
+
var make18 = make4;
|
|
907
916
|
var now2 = now;
|
|
908
917
|
var nowUnsafe2 = nowUnsafe;
|
|
909
918
|
var toDateUtc2 = toDateUtc;
|
|
@@ -1118,7 +1127,7 @@ var readableToPullUnsafe = (options) => {
|
|
|
1118
1127
|
const readable = options.readable;
|
|
1119
1128
|
const chunkSize = options.chunkSize ?? 4096;
|
|
1120
1129
|
const closeOnDone = options.closeOnDone ?? true;
|
|
1121
|
-
const exit = options.exit ??
|
|
1130
|
+
const exit = options.exit ?? make8(undefined);
|
|
1122
1131
|
const latch = options.latch ?? makeUnsafe2(false);
|
|
1123
1132
|
function onReadable() {
|
|
1124
1133
|
latch.openUnsafe();
|
|
@@ -1682,7 +1691,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1682
1691
|
const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
|
|
1683
1692
|
const toOption = options.to ?? "stdin";
|
|
1684
1693
|
if (toOption === "stdin") {
|
|
1685
|
-
handles.push(yield* spawnCommand(
|
|
1694
|
+
handles.push(yield* spawnCommand(make3(command.command, command.args, {
|
|
1686
1695
|
...command.options,
|
|
1687
1696
|
stdin: {
|
|
1688
1697
|
...stdinConfig,
|
|
@@ -1702,7 +1711,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1702
1711
|
type: "input",
|
|
1703
1712
|
stream: sourceStream
|
|
1704
1713
|
};
|
|
1705
|
-
handles.push(yield* spawnCommand(
|
|
1714
|
+
handles.push(yield* spawnCommand(make3(command.command, command.args, {
|
|
1706
1715
|
...command.options,
|
|
1707
1716
|
additionalFds: {
|
|
1708
1717
|
...existingFds,
|
|
@@ -1710,7 +1719,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1710
1719
|
}
|
|
1711
1720
|
})));
|
|
1712
1721
|
} else {
|
|
1713
|
-
handles.push(yield* spawnCommand(
|
|
1722
|
+
handles.push(yield* spawnCommand(make3(command.command, command.args, {
|
|
1714
1723
|
...command.options,
|
|
1715
1724
|
stdin: {
|
|
1716
1725
|
...stdinConfig,
|
|
@@ -1749,7 +1758,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1749
1758
|
}
|
|
1750
1759
|
}
|
|
1751
1760
|
});
|
|
1752
|
-
return
|
|
1761
|
+
return make2(spawnCommand);
|
|
1753
1762
|
});
|
|
1754
1763
|
var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
|
|
1755
1764
|
var flattenCommand = (command) => {
|
|
@@ -2235,7 +2244,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
|
|
|
2235
2244
|
resume(fail7(handleBadArgument("writeFile")(err)));
|
|
2236
2245
|
}
|
|
2237
2246
|
});
|
|
2238
|
-
var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) =>
|
|
2247
|
+
var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
|
|
2239
2248
|
access: access2,
|
|
2240
2249
|
chmod: chmod2,
|
|
2241
2250
|
chown: chown2,
|
|
@@ -2295,15 +2304,15 @@ var fileUrlOps = (windows) => ({
|
|
|
2295
2304
|
})
|
|
2296
2305
|
})
|
|
2297
2306
|
});
|
|
2298
|
-
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2307
|
+
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2299
2308
|
...NodePath.posix,
|
|
2300
2309
|
.../* @__PURE__ */ fileUrlOps(false)
|
|
2301
2310
|
}));
|
|
2302
|
-
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2311
|
+
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2303
2312
|
...NodePath.win32,
|
|
2304
2313
|
.../* @__PURE__ */ fileUrlOps(true)
|
|
2305
2314
|
}));
|
|
2306
|
-
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2315
|
+
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2307
2316
|
...NodePath,
|
|
2308
2317
|
.../* @__PURE__ */ fileUrlOps(undefined)
|
|
2309
2318
|
}));
|
|
@@ -2830,12 +2839,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
|
2830
2839
|
if (typeof key === "string") {
|
|
2831
2840
|
const k = key.toLowerCase();
|
|
2832
2841
|
if (k in self) {
|
|
2833
|
-
out[k] =
|
|
2842
|
+
out[k] = make(self[k]);
|
|
2834
2843
|
}
|
|
2835
2844
|
} else {
|
|
2836
2845
|
for (const name in self) {
|
|
2837
2846
|
if (name.search(key) !== -1) {
|
|
2838
|
-
out[name] =
|
|
2847
|
+
out[name] = make(self[name]);
|
|
2839
2848
|
}
|
|
2840
2849
|
}
|
|
2841
2850
|
}
|
|
@@ -2942,7 +2951,7 @@ var fromInputNested = (input) => {
|
|
|
2942
2951
|
return out;
|
|
2943
2952
|
};
|
|
2944
2953
|
var coerce = (value) => isRedacted(value) ? value : String(value);
|
|
2945
|
-
var Equivalence3 = /* @__PURE__ */
|
|
2954
|
+
var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
|
|
2946
2955
|
var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
|
|
2947
2956
|
var empty4 = /* @__PURE__ */ make23([]);
|
|
2948
2957
|
var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
@@ -2961,7 +2970,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
|
2961
2970
|
var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
|
|
2962
2971
|
var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
2963
2972
|
const patterns = Array.isArray(key) ? key : [key];
|
|
2964
|
-
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ?
|
|
2973
|
+
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
|
|
2965
2974
|
});
|
|
2966
2975
|
var isRedactedName2 = isRedactedName;
|
|
2967
2976
|
var redactUrl = (url, redactedNames = currentRedactedNames()) => {
|
|
@@ -3037,7 +3046,7 @@ import * as readline from "readline";
|
|
|
3037
3046
|
var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
|
|
3038
3047
|
const stdin = process.stdin;
|
|
3039
3048
|
const stdout = process.stdout;
|
|
3040
|
-
const lines = yield*
|
|
3049
|
+
const lines = yield* make9();
|
|
3041
3050
|
let inputEnded = stdin.readableEnded;
|
|
3042
3051
|
let readlineActive = false;
|
|
3043
3052
|
const onStdinEnd = () => {
|
|
@@ -3048,7 +3057,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3048
3057
|
};
|
|
3049
3058
|
stdin.once("end", onStdinEnd);
|
|
3050
3059
|
yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
|
|
3051
|
-
const rlRef = yield*
|
|
3060
|
+
const rlRef = yield* make10({
|
|
3052
3061
|
acquire: acquireRelease(sync2(() => {
|
|
3053
3062
|
const rl = readline.createInterface({
|
|
3054
3063
|
input: stdin,
|
|
@@ -3087,7 +3096,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3087
3096
|
if (stdin.isTTY)
|
|
3088
3097
|
stdin.setRawMode(enabled);
|
|
3089
3098
|
});
|
|
3090
|
-
const rawModeRef = yield*
|
|
3099
|
+
const rawModeRef = yield* make10({
|
|
3091
3100
|
acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
|
|
3092
3101
|
idleTimeToLive: "10 millis"
|
|
3093
3102
|
});
|
|
@@ -3108,7 +3117,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3108
3117
|
return queue;
|
|
3109
3118
|
});
|
|
3110
3119
|
const readInput = gen(function* () {
|
|
3111
|
-
const queue = yield*
|
|
3120
|
+
const queue = yield* make9();
|
|
3112
3121
|
const handleKeypress = (s, k) => {
|
|
3113
3122
|
const userInput = {
|
|
3114
3123
|
input: fromUndefinedOr(s),
|
|
@@ -11114,14 +11123,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
|
|
|
11114
11123
|
return self;
|
|
11115
11124
|
}
|
|
11116
11125
|
var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
|
|
11117
|
-
var
|
|
11126
|
+
var make5 = (method) => (url, options) => modify(empty6, {
|
|
11118
11127
|
method,
|
|
11119
11128
|
url,
|
|
11120
11129
|
...options ?? undefined
|
|
11121
11130
|
});
|
|
11122
|
-
var get = /* @__PURE__ */
|
|
11123
|
-
var post = /* @__PURE__ */
|
|
11124
|
-
var put = /* @__PURE__ */
|
|
11131
|
+
var get = /* @__PURE__ */ make5("GET");
|
|
11132
|
+
var post = /* @__PURE__ */ make5("POST");
|
|
11133
|
+
var put = /* @__PURE__ */ make5("PUT");
|
|
11125
11134
|
var modify = /* @__PURE__ */ dual(2, (self, options) => {
|
|
11126
11135
|
let result = self;
|
|
11127
11136
|
if (options.method) {
|
|
@@ -11422,7 +11431,7 @@ var Proto7 = {
|
|
|
11422
11431
|
};
|
|
11423
11432
|
},
|
|
11424
11433
|
.../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
|
|
11425
|
-
return this.execute(
|
|
11434
|
+
return this.execute(make5(fullMethod)(url, options));
|
|
11426
11435
|
}]))
|
|
11427
11436
|
};
|
|
11428
11437
|
var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
|
|
@@ -15511,7 +15520,7 @@ var makeProto = (options) => {
|
|
|
15511
15520
|
Rpc.key = `effect/rpc/Rpc/${options._tag}`;
|
|
15512
15521
|
return Rpc;
|
|
15513
15522
|
};
|
|
15514
|
-
var
|
|
15523
|
+
var make6 = (tag, options) => {
|
|
15515
15524
|
const successSchema = options?.success ?? Void;
|
|
15516
15525
|
const errorSchema = options?.error ?? Never;
|
|
15517
15526
|
const defectSchema = options?.defect ?? Defect();
|
|
@@ -15722,7 +15731,7 @@ var RpcGroupProto = {
|
|
|
15722
15731
|
});
|
|
15723
15732
|
},
|
|
15724
15733
|
annotateRpcs(service, value) {
|
|
15725
|
-
return this.annotateRpcsMerge(
|
|
15734
|
+
return this.annotateRpcsMerge(make15(service, value));
|
|
15726
15735
|
},
|
|
15727
15736
|
annotateMerge(context) {
|
|
15728
15737
|
return makeProto2({
|
|
@@ -15745,7 +15754,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
|
|
|
15745
15754
|
requests: options.requests,
|
|
15746
15755
|
annotations: options.annotations
|
|
15747
15756
|
});
|
|
15748
|
-
var
|
|
15757
|
+
var make7 = (...rpcs) => makeProto2({
|
|
15749
15758
|
requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
|
|
15750
15759
|
annotations: empty3()
|
|
15751
15760
|
});
|
|
@@ -15851,77 +15860,77 @@ var ProgramOutcome = Union([
|
|
|
15851
15860
|
Struct({ status: Literal("failed"), failureSummary: String4 })
|
|
15852
15861
|
]);
|
|
15853
15862
|
|
|
15854
|
-
class RunnerReplicaRpcs extends make6(
|
|
15863
|
+
class RunnerReplicaRpcs extends make7(make6("Claim", {
|
|
15855
15864
|
payload: WorkUnitClaimInput,
|
|
15856
15865
|
success: WorkUnitClaimResult,
|
|
15857
15866
|
error: RunnerRpcError
|
|
15858
|
-
}),
|
|
15867
|
+
}), make6("Heartbeat", {
|
|
15859
15868
|
payload: WorkUnitHeartbeatInput,
|
|
15860
15869
|
success: WorkUnitHeartbeatResult,
|
|
15861
15870
|
error: RunnerRpcError
|
|
15862
|
-
}),
|
|
15871
|
+
}), make6("Complete", {
|
|
15863
15872
|
payload: WorkUnitCompletion,
|
|
15864
15873
|
error: RunnerRpcError
|
|
15865
|
-
}),
|
|
15874
|
+
}), make6("Release", {
|
|
15866
15875
|
payload: WorkUnitReleaseInput,
|
|
15867
15876
|
error: RunnerRpcError
|
|
15868
|
-
}),
|
|
15877
|
+
}), make6("Signals", {
|
|
15869
15878
|
payload: { runnerReplicaId: String4 },
|
|
15870
15879
|
success: RunnerSignal,
|
|
15871
15880
|
error: RunnerRpcError,
|
|
15872
15881
|
stream: true
|
|
15873
|
-
}),
|
|
15882
|
+
}), make6("ReportSteer", {
|
|
15874
15883
|
payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
|
|
15875
15884
|
success: Void,
|
|
15876
15885
|
error: RunnerRpcError
|
|
15877
|
-
}),
|
|
15886
|
+
}), make6("AppendTranscript", {
|
|
15878
15887
|
payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
|
|
15879
15888
|
success: Void,
|
|
15880
15889
|
error: RunnerRpcError
|
|
15881
|
-
}),
|
|
15890
|
+
}), make6("CreateCheckpointFile", {
|
|
15882
15891
|
payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
|
|
15883
15892
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
15884
15893
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
15885
|
-
}),
|
|
15894
|
+
}), make6("CheckpointFileParts", {
|
|
15886
15895
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
15887
15896
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
15888
15897
|
error: RunnerRpcError
|
|
15889
|
-
}),
|
|
15898
|
+
}), make6("CompleteCheckpointFile", {
|
|
15890
15899
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
15891
15900
|
success: RunFileRecord,
|
|
15892
15901
|
error: RunnerRpcError
|
|
15893
|
-
}),
|
|
15902
|
+
}), make6("SaveCheckpoint", {
|
|
15894
15903
|
payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
|
|
15895
15904
|
success: Void,
|
|
15896
15905
|
error: RunnerRpcError
|
|
15897
|
-
}),
|
|
15906
|
+
}), make6("ResumeCheckpoint", {
|
|
15898
15907
|
payload: { lease: ProgramLease },
|
|
15899
15908
|
success: UndefinedOr(ResumedCheckpoint),
|
|
15900
15909
|
error: RunnerRpcError
|
|
15901
|
-
}),
|
|
15910
|
+
}), make6("SettledCheckpoints", {
|
|
15902
15911
|
success: ArraySchema(Struct({
|
|
15903
15912
|
stepAttemptId: String4,
|
|
15904
15913
|
ref: optionalKey(String4),
|
|
15905
15914
|
repoBinding: optionalKey(WorkUnitRepoBinding)
|
|
15906
15915
|
})),
|
|
15907
15916
|
error: RunnerRpcError
|
|
15908
|
-
}),
|
|
15917
|
+
}), make6("ForgetCheckpoints", {
|
|
15909
15918
|
payload: { stepAttemptIds: ArraySchema(String4) },
|
|
15910
15919
|
success: Void,
|
|
15911
15920
|
error: RunnerRpcError
|
|
15912
|
-
}),
|
|
15921
|
+
}), make6("GitCredential", {
|
|
15913
15922
|
payload: { repoBindingId: String4 },
|
|
15914
15923
|
success: UndefinedOr(Struct({ username: String4, password: String4 })),
|
|
15915
15924
|
error: RunnerRpcError
|
|
15916
|
-
}),
|
|
15925
|
+
}), make6("Bundle", {
|
|
15917
15926
|
payload: { digest: String4 },
|
|
15918
15927
|
success: Struct({ bundle: String4 }),
|
|
15919
15928
|
error: RunnerRpcError
|
|
15920
|
-
}),
|
|
15929
|
+
}), make6("SettledRuns", {
|
|
15921
15930
|
payload: { runIds: ArraySchema(String4) },
|
|
15922
15931
|
success: ArraySchema(String4),
|
|
15923
15932
|
error: RunnerRpcError
|
|
15924
|
-
}),
|
|
15933
|
+
}), make6("KnownEvidence", {
|
|
15925
15934
|
payload: { lease: ProgramLease, trees: ArraySchema(String4) },
|
|
15926
15935
|
success: ArraySchema(Struct({
|
|
15927
15936
|
tree: String4,
|
|
@@ -15933,24 +15942,24 @@ class RunnerReplicaRpcs extends make6(make5("Claim", {
|
|
|
15933
15942
|
})).middleware(RunnerAuthentication) {
|
|
15934
15943
|
}
|
|
15935
15944
|
|
|
15936
|
-
class RunnerJournalRpcs extends make6(
|
|
15945
|
+
class RunnerJournalRpcs extends make7(make6("RecordActivity", {
|
|
15937
15946
|
payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
|
|
15938
15947
|
error: RunnerRpcError
|
|
15939
|
-
}),
|
|
15948
|
+
}), make6("DeferredDone", {
|
|
15940
15949
|
payload: { lease: ProgramLease, name: String4, exit: Json },
|
|
15941
15950
|
error: RunnerRpcError
|
|
15942
|
-
}),
|
|
15951
|
+
}), make6("ScheduleClock", {
|
|
15943
15952
|
payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
|
|
15944
15953
|
error: RunnerRpcError
|
|
15945
|
-
}),
|
|
15954
|
+
}), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
|
|
15946
15955
|
}
|
|
15947
|
-
var RunHostStep =
|
|
15956
|
+
var RunHostStep = make6("RunHostStep", {
|
|
15948
15957
|
payload: { lease: ProgramLease, step: String4, hostStep: String4, request: Json },
|
|
15949
15958
|
success: Json,
|
|
15950
15959
|
error: RunnerRpcError
|
|
15951
15960
|
});
|
|
15952
15961
|
|
|
15953
|
-
class RunnerCapabilityRpcs extends make6(
|
|
15962
|
+
class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
15954
15963
|
payload: {
|
|
15955
15964
|
lease: ProgramLease,
|
|
15956
15965
|
step: String4,
|
|
@@ -15970,7 +15979,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
15970
15979
|
},
|
|
15971
15980
|
success: Struct({ questionId: String4 }),
|
|
15972
15981
|
error: RunnerRpcError
|
|
15973
|
-
}),
|
|
15982
|
+
}), make6("StartAgentStep", {
|
|
15974
15983
|
payload: {
|
|
15975
15984
|
lease: ProgramLease,
|
|
15976
15985
|
step: String4,
|
|
@@ -15987,7 +15996,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
15987
15996
|
},
|
|
15988
15997
|
success: Struct({ stepAttemptId: String4 }),
|
|
15989
15998
|
error: RunnerRpcError
|
|
15990
|
-
}),
|
|
15999
|
+
}), make6("StartVerification", {
|
|
15991
16000
|
payload: {
|
|
15992
16001
|
lease: ProgramLease,
|
|
15993
16002
|
step: String4,
|
|
@@ -16011,7 +16020,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16011
16020
|
},
|
|
16012
16021
|
success: Struct({ verificationId: String4 }),
|
|
16013
16022
|
error: RunnerRpcError
|
|
16014
|
-
}),
|
|
16023
|
+
}), make6("AwaitEvent", {
|
|
16015
16024
|
payload: {
|
|
16016
16025
|
lease: ProgramLease,
|
|
16017
16026
|
step: String4,
|
|
@@ -16027,7 +16036,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16027
16036
|
})))
|
|
16028
16037
|
},
|
|
16029
16038
|
error: RunnerRpcError
|
|
16030
|
-
}),
|
|
16039
|
+
}), make6("ClaimResource", {
|
|
16031
16040
|
payload: {
|
|
16032
16041
|
lease: ProgramLease,
|
|
16033
16042
|
step: String4,
|
|
@@ -16038,7 +16047,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16038
16047
|
claims: optionalKey(ArraySchema(String4))
|
|
16039
16048
|
},
|
|
16040
16049
|
error: RunnerRpcError
|
|
16041
|
-
}),
|
|
16050
|
+
}), make6("AdmitChild", {
|
|
16042
16051
|
payload: {
|
|
16043
16052
|
lease: ProgramLease,
|
|
16044
16053
|
step: String4,
|
|
@@ -16049,7 +16058,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16049
16058
|
},
|
|
16050
16059
|
success: Struct({ runId: String4 }),
|
|
16051
16060
|
error: RunnerRpcError
|
|
16052
|
-
}),
|
|
16061
|
+
}), make6("AdmitChildById", {
|
|
16053
16062
|
payload: {
|
|
16054
16063
|
lease: ProgramLease,
|
|
16055
16064
|
step: String4,
|
|
@@ -16060,18 +16069,18 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16060
16069
|
},
|
|
16061
16070
|
success: Struct({ runId: String4 }),
|
|
16062
16071
|
error: RunnerRpcError
|
|
16063
|
-
}),
|
|
16072
|
+
}), make6("CallableLoops", {
|
|
16064
16073
|
payload: { lease: ProgramLease, step: String4, taskId: optional(String4) },
|
|
16065
16074
|
success: Struct({ loops: ArraySchema(CallableLoop) }),
|
|
16066
16075
|
error: RunnerRpcError
|
|
16067
|
-
}),
|
|
16076
|
+
}), make6("StopLaunches", {
|
|
16068
16077
|
payload: {
|
|
16069
16078
|
lease: ProgramLease,
|
|
16070
16079
|
step: String4,
|
|
16071
16080
|
deferredNames: ArraySchema(String4)
|
|
16072
16081
|
},
|
|
16073
16082
|
error: RunnerRpcError
|
|
16074
|
-
}),
|
|
16083
|
+
}), make6("StoreArtifact", {
|
|
16075
16084
|
payload: {
|
|
16076
16085
|
lease: ProgramLease,
|
|
16077
16086
|
step: String4,
|
|
@@ -16083,7 +16092,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16083
16092
|
},
|
|
16084
16093
|
success: Struct({ artifactId: String4 }),
|
|
16085
16094
|
error: RunnerRpcError
|
|
16086
|
-
}),
|
|
16095
|
+
}), make6("RecordNote", {
|
|
16087
16096
|
payload: {
|
|
16088
16097
|
lease: ProgramLease,
|
|
16089
16098
|
step: String4,
|
|
@@ -16092,7 +16101,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16092
16101
|
kind: optional(Literals(["note", "blocker"]))
|
|
16093
16102
|
},
|
|
16094
16103
|
error: RunnerRpcError
|
|
16095
|
-
}),
|
|
16104
|
+
}), make6("PerformHostEffect", {
|
|
16096
16105
|
payload: {
|
|
16097
16106
|
lease: ProgramLease,
|
|
16098
16107
|
step: String4,
|
|
@@ -16121,7 +16130,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16121
16130
|
},
|
|
16122
16131
|
success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
|
|
16123
16132
|
error: RunnerRpcError
|
|
16124
|
-
}),
|
|
16133
|
+
}), make6("AlertTask", {
|
|
16125
16134
|
payload: {
|
|
16126
16135
|
lease: ProgramLease,
|
|
16127
16136
|
step: String4,
|
|
@@ -16138,7 +16147,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16138
16147
|
joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
|
|
16139
16148
|
}),
|
|
16140
16149
|
error: RunnerRpcError
|
|
16141
|
-
}),
|
|
16150
|
+
}), make6("ReadTranscripts", {
|
|
16142
16151
|
payload: {
|
|
16143
16152
|
lease: ProgramLease,
|
|
16144
16153
|
step: String4,
|
|
@@ -16173,7 +16182,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16173
16182
|
})))
|
|
16174
16183
|
}),
|
|
16175
16184
|
error: RunnerRpcError
|
|
16176
|
-
}),
|
|
16185
|
+
}), make6("PipelineStatus", {
|
|
16177
16186
|
payload: {
|
|
16178
16187
|
lease: ProgramLease,
|
|
16179
16188
|
step: String4,
|
|
@@ -16213,11 +16222,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16213
16222
|
}))
|
|
16214
16223
|
}),
|
|
16215
16224
|
error: RunnerRpcError
|
|
16216
|
-
}),
|
|
16225
|
+
}), make6("ReportPipeline", {
|
|
16217
16226
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
|
|
16218
16227
|
success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
|
|
16219
16228
|
error: RunnerRpcError
|
|
16220
|
-
}),
|
|
16229
|
+
}), make6("ReviewThreads", {
|
|
16221
16230
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
|
|
16222
16231
|
success: Struct({
|
|
16223
16232
|
threads: ArraySchema(Struct({
|
|
@@ -16229,7 +16238,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16229
16238
|
}))
|
|
16230
16239
|
}),
|
|
16231
16240
|
error: RunnerRpcError
|
|
16232
|
-
}),
|
|
16241
|
+
}), make6("OpenChangeRequests", {
|
|
16233
16242
|
payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
|
|
16234
16243
|
success: Struct({
|
|
16235
16244
|
changeRequests: ArraySchema(Struct({
|
|
@@ -16243,7 +16252,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16243
16252
|
}))
|
|
16244
16253
|
}),
|
|
16245
16254
|
error: RunnerRpcError
|
|
16246
|
-
}),
|
|
16255
|
+
}), make6("OwnChangeRequests", {
|
|
16247
16256
|
payload: { lease: ProgramLease, step: String4 },
|
|
16248
16257
|
success: Struct({
|
|
16249
16258
|
changeRequests: ArraySchema(Struct({
|
|
@@ -16256,7 +16265,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16256
16265
|
}))
|
|
16257
16266
|
}),
|
|
16258
16267
|
error: RunnerRpcError
|
|
16259
|
-
}),
|
|
16268
|
+
}), make6("Propose", {
|
|
16260
16269
|
payload: {
|
|
16261
16270
|
lease: ProgramLease,
|
|
16262
16271
|
step: String4,
|
|
@@ -16285,7 +16294,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16285
16294
|
task: optionalKey(Struct({ id: String4, active: Boolean2 }))
|
|
16286
16295
|
}),
|
|
16287
16296
|
error: RunnerRpcError
|
|
16288
|
-
}),
|
|
16297
|
+
}), make6("ReadProject", {
|
|
16289
16298
|
payload: { lease: ProgramLease, step: String4, projectId: String4 },
|
|
16290
16299
|
success: Struct({
|
|
16291
16300
|
project: Struct({ id: String4, name: String4 }),
|
|
@@ -16308,7 +16317,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16308
16317
|
taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
|
|
16309
16318
|
}),
|
|
16310
16319
|
error: RunnerRpcError
|
|
16311
|
-
}),
|
|
16320
|
+
}), make6("DraftUpdate", {
|
|
16312
16321
|
payload: {
|
|
16313
16322
|
lease: ProgramLease,
|
|
16314
16323
|
step: String4,
|
|
@@ -16323,7 +16332,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16323
16332
|
},
|
|
16324
16333
|
success: Struct({ id: String4 }),
|
|
16325
16334
|
error: RunnerRpcError
|
|
16326
|
-
}),
|
|
16335
|
+
}), make6("CreatePlanTasks", {
|
|
16327
16336
|
payload: {
|
|
16328
16337
|
lease: ProgramLease,
|
|
16329
16338
|
projectId: optionalKey(String4),
|
|
@@ -16344,15 +16353,15 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16344
16353
|
},
|
|
16345
16354
|
success: ArraySchema(Struct({ key: String4, taskId: String4 })),
|
|
16346
16355
|
error: RunnerRpcError
|
|
16347
|
-
}),
|
|
16356
|
+
}), make6("IntegrationBranch", {
|
|
16348
16357
|
payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
|
|
16349
16358
|
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
16350
16359
|
error: RunnerRpcError
|
|
16351
|
-
}),
|
|
16360
|
+
}), make6("DeliveryBase", {
|
|
16352
16361
|
payload: { lease: ProgramLease },
|
|
16353
16362
|
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
16354
16363
|
error: RunnerRpcError
|
|
16355
|
-
}),
|
|
16364
|
+
}), make6("Branch", {
|
|
16356
16365
|
payload: {
|
|
16357
16366
|
lease: ProgramLease,
|
|
16358
16367
|
branch: optionalKey(String4),
|
|
@@ -16367,7 +16376,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16367
16376
|
created: Boolean2
|
|
16368
16377
|
}),
|
|
16369
16378
|
error: RunnerRpcError
|
|
16370
|
-
}),
|
|
16379
|
+
}), make6("BranchChangeRequest", {
|
|
16371
16380
|
payload: {
|
|
16372
16381
|
lease: ProgramLease,
|
|
16373
16382
|
step: String4,
|
|
@@ -16390,7 +16399,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16390
16399
|
Struct({ status: Literal("elsewhere"), team: String4 })
|
|
16391
16400
|
]),
|
|
16392
16401
|
error: RunnerRpcError
|
|
16393
|
-
}),
|
|
16402
|
+
}), make6("MergeChangeRequest", {
|
|
16394
16403
|
payload: {
|
|
16395
16404
|
lease: ProgramLease,
|
|
16396
16405
|
step: String4,
|
|
@@ -16408,7 +16417,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16408
16417
|
Struct({ status: Literal("moved"), head: String4 })
|
|
16409
16418
|
]),
|
|
16410
16419
|
error: RunnerRpcError
|
|
16411
|
-
}),
|
|
16420
|
+
}), make6("ApproveChangeRequest", {
|
|
16412
16421
|
payload: {
|
|
16413
16422
|
lease: ProgramLease,
|
|
16414
16423
|
step: String4,
|
|
@@ -16424,7 +16433,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16424
16433
|
Struct({ approved: Literal(false), reason: String4 })
|
|
16425
16434
|
]),
|
|
16426
16435
|
error: RunnerRpcError
|
|
16427
|
-
}),
|
|
16436
|
+
}), make6("CloseChangeRequest", {
|
|
16428
16437
|
payload: {
|
|
16429
16438
|
lease: ProgramLease,
|
|
16430
16439
|
step: String4,
|
|
@@ -16434,7 +16443,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16434
16443
|
},
|
|
16435
16444
|
success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
|
|
16436
16445
|
error: RunnerRpcError
|
|
16437
|
-
}),
|
|
16446
|
+
}), make6("RerunPipeline", {
|
|
16438
16447
|
payload: {
|
|
16439
16448
|
lease: ProgramLease,
|
|
16440
16449
|
step: String4,
|
|
@@ -16444,7 +16453,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16444
16453
|
},
|
|
16445
16454
|
success: Struct({ head: String4, pipelines: Int }),
|
|
16446
16455
|
error: RunnerRpcError
|
|
16447
|
-
}),
|
|
16456
|
+
}), make6("PublishRelease", {
|
|
16448
16457
|
payload: {
|
|
16449
16458
|
lease: ProgramLease,
|
|
16450
16459
|
step: String4,
|
|
@@ -16458,7 +16467,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16458
16467
|
},
|
|
16459
16468
|
success: Struct({ tag: String4, revision: String4, url: String4 }),
|
|
16460
16469
|
error: RunnerRpcError
|
|
16461
|
-
}),
|
|
16470
|
+
}), make6("RecordDeploy", {
|
|
16462
16471
|
payload: {
|
|
16463
16472
|
lease: ProgramLease,
|
|
16464
16473
|
step: String4,
|
|
@@ -16470,7 +16479,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16470
16479
|
},
|
|
16471
16480
|
success: Deploy,
|
|
16472
16481
|
error: RunnerRpcError
|
|
16473
|
-
}),
|
|
16482
|
+
}), make6("DeployTarget", {
|
|
16474
16483
|
payload: { lease: ProgramLease, step: String4, target: DeployTargetName },
|
|
16475
16484
|
success: Struct({
|
|
16476
16485
|
target: String4,
|
|
@@ -16478,14 +16487,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16478
16487
|
order: optionalKey(ArraySchema(String4))
|
|
16479
16488
|
}),
|
|
16480
16489
|
error: RunnerRpcError
|
|
16481
|
-
}), RunHostStep,
|
|
16490
|
+
}), RunHostStep, make6("ProgramSecrets", {
|
|
16482
16491
|
payload: { lease: ProgramLease },
|
|
16483
16492
|
success: Record(String4, String4),
|
|
16484
16493
|
error: RunnerRpcError
|
|
16485
16494
|
})).middleware(RunnerAuthentication) {
|
|
16486
16495
|
}
|
|
16487
16496
|
|
|
16488
|
-
class RunnerRunFileRpcs extends make6(
|
|
16497
|
+
class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
|
|
16489
16498
|
payload: {
|
|
16490
16499
|
lease: ProgramLease,
|
|
16491
16500
|
step: String4,
|
|
@@ -16497,11 +16506,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
|
|
|
16497
16506
|
},
|
|
16498
16507
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
16499
16508
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
16500
|
-
}),
|
|
16509
|
+
}), make6("RunFileParts", {
|
|
16501
16510
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
16502
16511
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
16503
16512
|
error: RunnerRpcError
|
|
16504
|
-
}),
|
|
16513
|
+
}), make6("CompleteRunFile", {
|
|
16505
16514
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
16506
16515
|
success: RunFileRecord,
|
|
16507
16516
|
error: RunnerRpcError
|
|
@@ -16590,7 +16599,7 @@ function toStoredSession(token, existingRefreshToken) {
|
|
|
16590
16599
|
}
|
|
16591
16600
|
function startLoopbackServer(input) {
|
|
16592
16601
|
return gen(function* () {
|
|
16593
|
-
const code = yield*
|
|
16602
|
+
const code = yield* make16();
|
|
16594
16603
|
const context2 = yield* context();
|
|
16595
16604
|
const runSyncExit = runSyncExitWith(context2);
|
|
16596
16605
|
const server = yield* acquireRelease(sync2(() => Bun.serve({
|
|
@@ -17138,7 +17147,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
17138
17147
|
let lastId = 0;
|
|
17139
17148
|
let lost = false;
|
|
17140
17149
|
const notifications = yield* unbounded2();
|
|
17141
|
-
const ended = yield*
|
|
17150
|
+
const ended = yield* make16();
|
|
17142
17151
|
const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
|
|
17143
17152
|
onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
|
|
17144
17153
|
onNone: () => void_3,
|
|
@@ -17165,7 +17174,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
17165
17174
|
if (lost)
|
|
17166
17175
|
return yield* new HerdrCoreConnectionLost2({ method });
|
|
17167
17176
|
const id = ++lastId;
|
|
17168
|
-
const deferred = yield*
|
|
17177
|
+
const deferred = yield* make16();
|
|
17169
17178
|
pending.set(id, { method, deferred });
|
|
17170
17179
|
yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
|
|
17171
17180
|
return yield* _await(deferred);
|
|
@@ -17239,14 +17248,14 @@ var herdrCoreOver = (transport) => ({
|
|
|
17239
17248
|
return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
|
|
17240
17249
|
};
|
|
17241
17250
|
const snapshot = { type: "snapshot", terminals: subscribed.terminals };
|
|
17242
|
-
return concat(
|
|
17251
|
+
return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
|
|
17243
17252
|
}))
|
|
17244
17253
|
});
|
|
17245
17254
|
var spawnedTransport = (env) => gen(function* () {
|
|
17246
17255
|
const spawner = yield* ChildProcessSpawner;
|
|
17247
17256
|
const input = yield* unbounded2();
|
|
17248
17257
|
const encoder = new TextEncoder;
|
|
17249
|
-
const handle = yield* spawner.spawn(
|
|
17258
|
+
const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
|
|
17250
17259
|
extendEnv: false,
|
|
17251
17260
|
env,
|
|
17252
17261
|
stdin: fromQueue(input),
|
|
@@ -17277,7 +17286,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
|
|
|
17277
17286
|
const spawner = yield* ChildProcessSpawner;
|
|
17278
17287
|
const env = coreEnv(options);
|
|
17279
17288
|
const run = (args) => gen(function* () {
|
|
17280
|
-
const handle = yield* spawner.spawn(
|
|
17289
|
+
const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
|
|
17281
17290
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
17282
17291
|
mkString(decodeText(handle.stdout)),
|
|
17283
17292
|
mkString(decodeText(handle.stderr)),
|
|
@@ -17303,7 +17312,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
|
|
|
17303
17312
|
}
|
|
17304
17313
|
var runCommand2 = (command, args, options = {}) => gen(function* () {
|
|
17305
17314
|
const spawner = yield* ChildProcessSpawner;
|
|
17306
|
-
const handle = yield* spawner.spawn(
|
|
17315
|
+
const handle = yield* spawner.spawn(make3(command, args, {
|
|
17307
17316
|
stdin: "ignore",
|
|
17308
17317
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
17309
17318
|
...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
|
|
@@ -17329,8 +17338,8 @@ var shellOutputTailChars2 = 64 * 1024;
|
|
|
17329
17338
|
var runProcess2 = (argv, options) => gen(function* () {
|
|
17330
17339
|
const spawner = yield* ChildProcessSpawner;
|
|
17331
17340
|
const [command, ...args] = argv;
|
|
17332
|
-
const handle = yield* spawner.spawn(
|
|
17333
|
-
stdin: options.stdin === undefined ? "ignore" :
|
|
17341
|
+
const handle = yield* spawner.spawn(make3(command, args, {
|
|
17342
|
+
stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
|
|
17334
17343
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
17335
17344
|
env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
|
|
17336
17345
|
}));
|
|
@@ -17850,4 +17859,4 @@ function serviceChecks(declaration) {
|
|
|
17850
17859
|
return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
|
|
17851
17860
|
}
|
|
17852
17861
|
|
|
17853
|
-
export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, RepoBindingProvider, findForbiddenRepoBindingSecretPath, releaseVersion, ReleaseScope, isBranchName, baseBranchLayerWords, repositoryKey, loopInputFields, InputSourceLayers, InputSource, inputSourceWords, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, tokensSpent, tokenCountWords, endsFailing, outlineText, anyFailure, goesOn, outlineMermaid, runOutlineText, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, loopSafeTextMaxLength, recommendedDefault, reportedModelName, RunDisplayStates, RunWaitUntils, calverNumbers, compareCalver, DeliveryMode, defaultDeployCommand, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, DeployTargetName, DeployRef, DeployStatus, runsDeployedTag, Deploy, DeployTargetRunning, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, ClaimResult, mergeTurnResource, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw,
|
|
17862
|
+
export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, RepoBindingProvider, findForbiddenRepoBindingSecretPath, releaseVersion, ReleaseScope, isBranchName, baseBranchLayerWords, repositoryKey, loopInputFields, InputSourceLayers, InputSource, inputSourceWords, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, tokensSpent, tokenCountWords, endsFailing, outlineText, anyFailure, goesOn, outlineMermaid, runOutlineText, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, loopSafeTextMaxLength, recommendedDefault, reportedModelName, RunDisplayStates, RunWaitUntils, calverNumbers, compareCalver, DeliveryMode, defaultDeployCommand, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, DeployTargetName, DeployRef, DeployStatus, runsDeployedTag, Deploy, DeployTargetRunning, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, ClaimResult, mergeTurnResource, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, stepFallbackWords, runTicketsPayload, runTicketResult, ticketOutcomeLabels, runGraphLayout, KitDigest, defaultKitName, LoopCapabilities, LoopManifest, CallableLoop, AgentDeclaration, StepManifest, KitDeclarations, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, 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, antigravityPlugins, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices, serviceChecks };
|