@kitman-sh/cli 0.44.0 → 0.45.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-8a7337s1.js → chunk-04wqa07j.js} +1 -1
- package/dist/{chunk-d0rx9esz.js → chunk-0dfg674z.js} +7 -7
- package/dist/{chunk-9h16pekj.js → chunk-4vxbxjf8.js} +1 -1
- package/dist/{chunk-dj873p0e.js → chunk-5gbt1vhm.js} +10 -10
- package/dist/{chunk-1c4wk9dr.js → chunk-5pjbxhxy.js} +3 -3
- package/dist/{chunk-3mbp8cse.js → chunk-5smh4dp2.js} +17 -26
- package/dist/{chunk-1k6z8q79.js → chunk-69y8j7fs.js} +125 -116
- package/dist/{chunk-wh3pjr9r.js → chunk-8gkrs473.js} +13 -13
- package/dist/{chunk-5ccz7ghp.js → chunk-9qvgbp6k.js} +23 -23
- package/dist/{chunk-k2re3tp5.js → chunk-9ykh05hz.js} +1 -1
- package/dist/{chunk-ncp13gyf.js → chunk-a71b15k3.js} +2 -2
- package/dist/{chunk-d2tpz1yp.js → chunk-e3dv8hzy.js} +1 -1
- package/dist/{chunk-hmctc4eq.js → chunk-es6rnmyw.js} +3 -3
- package/dist/{chunk-wkg1v0kd.js → chunk-f957cxrx.js} +5 -5
- package/dist/{chunk-zvmdyf3v.js → chunk-fmvdwf5h.js} +24 -24
- package/dist/{chunk-134jdvs6.js → chunk-fqh4pj6b.js} +14 -60
- package/dist/{chunk-dre4f6s4.js → chunk-g26y214g.js} +9 -9
- package/dist/{chunk-x0ma41ys.js → chunk-k462v2v7.js} +70 -28
- package/dist/{chunk-j60f2tr1.js → chunk-k7eh8tac.js} +4 -4
- package/dist/{chunk-zkvrxna8.js → chunk-n3jpxd14.js} +2 -2
- package/dist/{chunk-7rj9d0rp.js → chunk-qzwsh96c.js} +2 -2
- package/dist/{chunk-dp6v658s.js → chunk-tfwgeqx5.js} +4 -4
- package/dist/{chunk-gw0pc35c.js → chunk-tqv14b4c.js} +19 -19
- package/dist/{chunk-qkwkxn4d.js → chunk-tx9aey19.js} +74 -74
- package/dist/{chunk-wvnsqt17.js → chunk-yyz9xrc1.js} +6 -6
- package/dist/{chunk-3zy2vbp0.js → chunk-zx86g3dw.js} +10 -10
- 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
|
empty4,
|
|
61
|
-
|
|
61
|
+
make14,
|
|
62
62
|
add,
|
|
63
63
|
getOrUndefined2,
|
|
64
64
|
getOrUndefinedUnsafe,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
fail4,
|
|
90
90
|
isSuccess2,
|
|
91
91
|
makeUnsafe5,
|
|
92
|
-
|
|
92
|
+
make15,
|
|
93
93
|
_await,
|
|
94
94
|
fail5,
|
|
95
95
|
isDone,
|
|
@@ -192,6 +192,9 @@ import {
|
|
|
192
192
|
logError,
|
|
193
193
|
effectify,
|
|
194
194
|
decode,
|
|
195
|
+
isRedacted,
|
|
196
|
+
make16,
|
|
197
|
+
value,
|
|
195
198
|
defaultParseOptions,
|
|
196
199
|
omit,
|
|
197
200
|
map10,
|
|
@@ -262,20 +265,19 @@ import {
|
|
|
262
265
|
decodeJsonStringOption,
|
|
263
266
|
encodeJsonStringSync,
|
|
264
267
|
encodePrettyJsonString
|
|
265
|
-
} from "./chunk-
|
|
268
|
+
} from "./chunk-k462v2v7.js";
|
|
266
269
|
import {
|
|
267
270
|
map,
|
|
268
271
|
makeEquivalence,
|
|
269
272
|
Clock,
|
|
270
273
|
currentTimeMillis,
|
|
271
|
-
toNumber,
|
|
272
274
|
bytes,
|
|
273
275
|
BadArgument,
|
|
274
276
|
systemError,
|
|
275
277
|
badArgument,
|
|
276
278
|
makeUnsafe2,
|
|
279
|
+
make7,
|
|
277
280
|
make8,
|
|
278
|
-
make9,
|
|
279
281
|
sliding,
|
|
280
282
|
unbounded2,
|
|
281
283
|
offer,
|
|
@@ -291,13 +293,13 @@ import {
|
|
|
291
293
|
isSink,
|
|
292
294
|
fromChannel,
|
|
293
295
|
drain,
|
|
294
|
-
|
|
296
|
+
make9,
|
|
295
297
|
get3,
|
|
296
298
|
isStream,
|
|
297
299
|
fromChannel2,
|
|
298
300
|
callback,
|
|
299
301
|
empty3,
|
|
300
|
-
|
|
302
|
+
make10,
|
|
301
303
|
suspend,
|
|
302
304
|
fail2,
|
|
303
305
|
fromQueue,
|
|
@@ -323,31 +325,28 @@ import {
|
|
|
323
325
|
mkArrayBuffer,
|
|
324
326
|
toReadableStreamEffect,
|
|
325
327
|
FileSystem,
|
|
326
|
-
|
|
328
|
+
make11,
|
|
327
329
|
FileTypeId,
|
|
328
330
|
WatchBackend,
|
|
329
331
|
Path,
|
|
330
|
-
|
|
332
|
+
make12,
|
|
331
333
|
option,
|
|
332
334
|
String2,
|
|
333
335
|
optionalEnv,
|
|
334
336
|
harnessesUnsupportedInSrt2,
|
|
335
337
|
harnessesUnsupportedInDocker2
|
|
336
|
-
} from "./chunk-
|
|
338
|
+
} from "./chunk-5smh4dp2.js";
|
|
337
339
|
import {
|
|
338
|
-
isRedacted,
|
|
339
|
-
make,
|
|
340
|
-
value,
|
|
341
340
|
ExitCode,
|
|
342
341
|
ProcessId,
|
|
343
342
|
makeHandle,
|
|
344
|
-
|
|
343
|
+
make,
|
|
345
344
|
ChildProcessSpawner,
|
|
346
345
|
display,
|
|
347
|
-
|
|
346
|
+
make2,
|
|
348
347
|
parseFdName,
|
|
349
348
|
fdName
|
|
350
|
-
} from "./chunk-
|
|
349
|
+
} from "./chunk-fqh4pj6b.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-4vxbxjf8.js";
|
|
363
|
+
|
|
364
364
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
365
365
|
var makeEquivalence3 = Tuple;
|
|
366
366
|
|
|
@@ -518,7 +518,7 @@ var makeUnsafe6 = (input) => {
|
|
|
518
518
|
var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
|
|
519
519
|
var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
|
|
520
520
|
var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
|
|
521
|
-
var
|
|
521
|
+
var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
|
|
522
522
|
var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
|
|
523
523
|
var nowUnsafe = () => makeUtc(Date.now());
|
|
524
524
|
var toDateUtc = (self) => new Date(self.epochMilliseconds);
|
|
@@ -897,9 +897,18 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
|
|
|
897
897
|
// node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
|
|
898
898
|
var runMain = runMain2;
|
|
899
899
|
|
|
900
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
901
|
+
var BigInt2 = globalThis.BigInt;
|
|
902
|
+
var toNumber = (b) => {
|
|
903
|
+
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
904
|
+
return none();
|
|
905
|
+
}
|
|
906
|
+
return some(Number(b));
|
|
907
|
+
};
|
|
908
|
+
|
|
900
909
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
|
|
901
910
|
var makeUnsafe = makeUnsafe6;
|
|
902
|
-
var make18 =
|
|
911
|
+
var make18 = make3;
|
|
903
912
|
var now2 = now;
|
|
904
913
|
var nowUnsafe2 = nowUnsafe;
|
|
905
914
|
var toDateUtc2 = toDateUtc;
|
|
@@ -1114,7 +1123,7 @@ var readableToPullUnsafe = (options) => {
|
|
|
1114
1123
|
const readable = options.readable;
|
|
1115
1124
|
const chunkSize = options.chunkSize ?? 4096;
|
|
1116
1125
|
const closeOnDone = options.closeOnDone ?? true;
|
|
1117
|
-
const exit = options.exit ??
|
|
1126
|
+
const exit = options.exit ?? make7(undefined);
|
|
1118
1127
|
const latch = options.latch ?? makeUnsafe2(false);
|
|
1119
1128
|
function onReadable() {
|
|
1120
1129
|
latch.openUnsafe();
|
|
@@ -1678,7 +1687,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1678
1687
|
const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
|
|
1679
1688
|
const toOption = options.to ?? "stdin";
|
|
1680
1689
|
if (toOption === "stdin") {
|
|
1681
|
-
handles.push(yield* spawnCommand(
|
|
1690
|
+
handles.push(yield* spawnCommand(make2(command.command, command.args, {
|
|
1682
1691
|
...command.options,
|
|
1683
1692
|
stdin: {
|
|
1684
1693
|
...stdinConfig,
|
|
@@ -1698,7 +1707,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1698
1707
|
type: "input",
|
|
1699
1708
|
stream: sourceStream
|
|
1700
1709
|
};
|
|
1701
|
-
handles.push(yield* spawnCommand(
|
|
1710
|
+
handles.push(yield* spawnCommand(make2(command.command, command.args, {
|
|
1702
1711
|
...command.options,
|
|
1703
1712
|
additionalFds: {
|
|
1704
1713
|
...existingFds,
|
|
@@ -1706,7 +1715,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1706
1715
|
}
|
|
1707
1716
|
})));
|
|
1708
1717
|
} else {
|
|
1709
|
-
handles.push(yield* spawnCommand(
|
|
1718
|
+
handles.push(yield* spawnCommand(make2(command.command, command.args, {
|
|
1710
1719
|
...command.options,
|
|
1711
1720
|
stdin: {
|
|
1712
1721
|
...stdinConfig,
|
|
@@ -1745,7 +1754,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1745
1754
|
}
|
|
1746
1755
|
}
|
|
1747
1756
|
});
|
|
1748
|
-
return
|
|
1757
|
+
return make(spawnCommand);
|
|
1749
1758
|
});
|
|
1750
1759
|
var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
|
|
1751
1760
|
var flattenCommand = (command) => {
|
|
@@ -2231,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
|
|
|
2231
2240
|
resume(fail7(handleBadArgument("writeFile")(err)));
|
|
2232
2241
|
}
|
|
2233
2242
|
});
|
|
2234
|
-
var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) =>
|
|
2243
|
+
var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
|
|
2235
2244
|
access: access2,
|
|
2236
2245
|
chmod: chmod2,
|
|
2237
2246
|
chown: chown2,
|
|
@@ -2291,15 +2300,15 @@ var fileUrlOps = (windows) => ({
|
|
|
2291
2300
|
})
|
|
2292
2301
|
})
|
|
2293
2302
|
});
|
|
2294
|
-
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2303
|
+
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
2295
2304
|
...NodePath.posix,
|
|
2296
2305
|
.../* @__PURE__ */ fileUrlOps(false)
|
|
2297
2306
|
}));
|
|
2298
|
-
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2307
|
+
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
2299
2308
|
...NodePath.win32,
|
|
2300
2309
|
.../* @__PURE__ */ fileUrlOps(true)
|
|
2301
2310
|
}));
|
|
2302
|
-
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2311
|
+
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
|
|
2303
2312
|
...NodePath,
|
|
2304
2313
|
.../* @__PURE__ */ fileUrlOps(undefined)
|
|
2305
2314
|
}));
|
|
@@ -2826,12 +2835,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
|
2826
2835
|
if (typeof key === "string") {
|
|
2827
2836
|
const k = key.toLowerCase();
|
|
2828
2837
|
if (k in self) {
|
|
2829
|
-
out[k] =
|
|
2838
|
+
out[k] = make16(self[k]);
|
|
2830
2839
|
}
|
|
2831
2840
|
} else {
|
|
2832
2841
|
for (const name in self) {
|
|
2833
2842
|
if (name.search(key) !== -1) {
|
|
2834
|
-
out[name] =
|
|
2843
|
+
out[name] = make16(self[name]);
|
|
2835
2844
|
}
|
|
2836
2845
|
}
|
|
2837
2846
|
}
|
|
@@ -2938,7 +2947,7 @@ var fromInputNested = (input) => {
|
|
|
2938
2947
|
return out;
|
|
2939
2948
|
};
|
|
2940
2949
|
var coerce = (value) => isRedacted(value) ? value : String(value);
|
|
2941
|
-
var Equivalence3 = /* @__PURE__ */
|
|
2950
|
+
var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
|
|
2942
2951
|
var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
|
|
2943
2952
|
var empty2 = /* @__PURE__ */ make23([]);
|
|
2944
2953
|
var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
@@ -2957,7 +2966,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
|
2957
2966
|
var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
|
|
2958
2967
|
var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
2959
2968
|
const patterns = Array.isArray(key) ? key : [key];
|
|
2960
|
-
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ?
|
|
2969
|
+
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
|
|
2961
2970
|
});
|
|
2962
2971
|
var isRedactedName2 = isRedactedName;
|
|
2963
2972
|
var redactUrl = (url, redactedNames = currentRedactedNames()) => {
|
|
@@ -3033,7 +3042,7 @@ import * as readline from "readline";
|
|
|
3033
3042
|
var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
|
|
3034
3043
|
const stdin = process.stdin;
|
|
3035
3044
|
const stdout = process.stdout;
|
|
3036
|
-
const lines = yield*
|
|
3045
|
+
const lines = yield* make8();
|
|
3037
3046
|
let inputEnded = stdin.readableEnded;
|
|
3038
3047
|
let readlineActive = false;
|
|
3039
3048
|
const onStdinEnd = () => {
|
|
@@ -3044,7 +3053,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3044
3053
|
};
|
|
3045
3054
|
stdin.once("end", onStdinEnd);
|
|
3046
3055
|
yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
|
|
3047
|
-
const rlRef = yield*
|
|
3056
|
+
const rlRef = yield* make9({
|
|
3048
3057
|
acquire: acquireRelease(sync2(() => {
|
|
3049
3058
|
const rl = readline.createInterface({
|
|
3050
3059
|
input: stdin,
|
|
@@ -3083,7 +3092,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3083
3092
|
if (stdin.isTTY)
|
|
3084
3093
|
stdin.setRawMode(enabled);
|
|
3085
3094
|
});
|
|
3086
|
-
const rawModeRef = yield*
|
|
3095
|
+
const rawModeRef = yield* make9({
|
|
3087
3096
|
acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
|
|
3088
3097
|
idleTimeToLive: "10 millis"
|
|
3089
3098
|
});
|
|
@@ -3104,7 +3113,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3104
3113
|
return queue;
|
|
3105
3114
|
});
|
|
3106
3115
|
const readInput = gen(function* () {
|
|
3107
|
-
const queue = yield*
|
|
3116
|
+
const queue = yield* make8();
|
|
3108
3117
|
const handleKeypress = (s, k) => {
|
|
3109
3118
|
const userInput = {
|
|
3110
3119
|
input: fromUndefinedOr(s),
|
|
@@ -11138,14 +11147,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
|
|
|
11138
11147
|
return self;
|
|
11139
11148
|
}
|
|
11140
11149
|
var empty6 = /* @__PURE__ */ makeWith("GET", "", empty2, /* @__PURE__ */ none(), empty, empty5);
|
|
11141
|
-
var
|
|
11150
|
+
var make4 = (method) => (url, options) => modify(empty6, {
|
|
11142
11151
|
method,
|
|
11143
11152
|
url,
|
|
11144
11153
|
...options ?? undefined
|
|
11145
11154
|
});
|
|
11146
|
-
var get = /* @__PURE__ */
|
|
11147
|
-
var post = /* @__PURE__ */
|
|
11148
|
-
var put = /* @__PURE__ */
|
|
11155
|
+
var get = /* @__PURE__ */ make4("GET");
|
|
11156
|
+
var post = /* @__PURE__ */ make4("POST");
|
|
11157
|
+
var put = /* @__PURE__ */ make4("PUT");
|
|
11149
11158
|
var modify = /* @__PURE__ */ dual(2, (self, options) => {
|
|
11150
11159
|
let result = self;
|
|
11151
11160
|
if (options.method) {
|
|
@@ -11446,7 +11455,7 @@ var Proto7 = {
|
|
|
11446
11455
|
};
|
|
11447
11456
|
},
|
|
11448
11457
|
.../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
|
|
11449
|
-
return this.execute(
|
|
11458
|
+
return this.execute(make4(fullMethod)(url, options));
|
|
11450
11459
|
}]))
|
|
11451
11460
|
};
|
|
11452
11461
|
var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
|
|
@@ -15536,7 +15545,7 @@ var makeProto = (options) => {
|
|
|
15536
15545
|
Rpc.key = `effect/rpc/Rpc/${options._tag}`;
|
|
15537
15546
|
return Rpc;
|
|
15538
15547
|
};
|
|
15539
|
-
var
|
|
15548
|
+
var make5 = (tag, options) => {
|
|
15540
15549
|
const successSchema = options?.success ?? Void;
|
|
15541
15550
|
const errorSchema = options?.error ?? Never;
|
|
15542
15551
|
const defectSchema = options?.defect ?? Defect();
|
|
@@ -15747,7 +15756,7 @@ var RpcGroupProto = {
|
|
|
15747
15756
|
});
|
|
15748
15757
|
},
|
|
15749
15758
|
annotateRpcs(service, value) {
|
|
15750
|
-
return this.annotateRpcsMerge(
|
|
15759
|
+
return this.annotateRpcsMerge(make14(service, value));
|
|
15751
15760
|
},
|
|
15752
15761
|
annotateMerge(context) {
|
|
15753
15762
|
return makeProto2({
|
|
@@ -15770,7 +15779,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
|
|
|
15770
15779
|
requests: options.requests,
|
|
15771
15780
|
annotations: options.annotations
|
|
15772
15781
|
});
|
|
15773
|
-
var
|
|
15782
|
+
var make6 = (...rpcs) => makeProto2({
|
|
15774
15783
|
requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
|
|
15775
15784
|
annotations: empty4()
|
|
15776
15785
|
});
|
|
@@ -15879,77 +15888,77 @@ var ProgramOutcome = Union([
|
|
|
15879
15888
|
Struct({ status: Literal("failed"), failureSummary: String4 })
|
|
15880
15889
|
]);
|
|
15881
15890
|
|
|
15882
|
-
class RunnerReplicaRpcs extends
|
|
15891
|
+
class RunnerReplicaRpcs extends make6(make5("Claim", {
|
|
15883
15892
|
payload: WorkUnitClaimInput,
|
|
15884
15893
|
success: WorkUnitClaimResult,
|
|
15885
15894
|
error: RunnerRpcError
|
|
15886
|
-
}),
|
|
15895
|
+
}), make5("Heartbeat", {
|
|
15887
15896
|
payload: WorkUnitHeartbeatInput,
|
|
15888
15897
|
success: WorkUnitHeartbeatResult,
|
|
15889
15898
|
error: RunnerRpcError
|
|
15890
|
-
}),
|
|
15899
|
+
}), make5("Complete", {
|
|
15891
15900
|
payload: WorkUnitCompletion,
|
|
15892
15901
|
error: RunnerRpcError
|
|
15893
|
-
}),
|
|
15902
|
+
}), make5("Release", {
|
|
15894
15903
|
payload: WorkUnitReleaseInput,
|
|
15895
15904
|
error: RunnerRpcError
|
|
15896
|
-
}),
|
|
15905
|
+
}), make5("Signals", {
|
|
15897
15906
|
payload: { runnerReplicaId: String4 },
|
|
15898
15907
|
success: RunnerSignal,
|
|
15899
15908
|
error: RunnerRpcError,
|
|
15900
15909
|
stream: true
|
|
15901
|
-
}),
|
|
15910
|
+
}), make5("ReportSteer", {
|
|
15902
15911
|
payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
|
|
15903
15912
|
success: Void,
|
|
15904
15913
|
error: RunnerRpcError
|
|
15905
|
-
}),
|
|
15914
|
+
}), make5("AppendTranscript", {
|
|
15906
15915
|
payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
|
|
15907
15916
|
success: Void,
|
|
15908
15917
|
error: RunnerRpcError
|
|
15909
|
-
}),
|
|
15918
|
+
}), make5("CreateCheckpointFile", {
|
|
15910
15919
|
payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
|
|
15911
15920
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
15912
15921
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
15913
|
-
}),
|
|
15922
|
+
}), make5("CheckpointFileParts", {
|
|
15914
15923
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
15915
15924
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
15916
15925
|
error: RunnerRpcError
|
|
15917
|
-
}),
|
|
15926
|
+
}), make5("CompleteCheckpointFile", {
|
|
15918
15927
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
15919
15928
|
success: RunFileRecord,
|
|
15920
15929
|
error: RunnerRpcError
|
|
15921
|
-
}),
|
|
15930
|
+
}), make5("SaveCheckpoint", {
|
|
15922
15931
|
payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
|
|
15923
15932
|
success: Void,
|
|
15924
15933
|
error: RunnerRpcError
|
|
15925
|
-
}),
|
|
15934
|
+
}), make5("ResumeCheckpoint", {
|
|
15926
15935
|
payload: { lease: ProgramLease },
|
|
15927
15936
|
success: UndefinedOr(ResumedCheckpoint),
|
|
15928
15937
|
error: RunnerRpcError
|
|
15929
|
-
}),
|
|
15938
|
+
}), make5("SettledCheckpoints", {
|
|
15930
15939
|
success: ArraySchema(Struct({
|
|
15931
15940
|
stepAttemptId: String4,
|
|
15932
15941
|
ref: optionalKey(String4),
|
|
15933
15942
|
repoBinding: optionalKey(WorkUnitRepoBinding)
|
|
15934
15943
|
})),
|
|
15935
15944
|
error: RunnerRpcError
|
|
15936
|
-
}),
|
|
15945
|
+
}), make5("ForgetCheckpoints", {
|
|
15937
15946
|
payload: { stepAttemptIds: ArraySchema(String4) },
|
|
15938
15947
|
success: Void,
|
|
15939
15948
|
error: RunnerRpcError
|
|
15940
|
-
}),
|
|
15949
|
+
}), make5("GitCredential", {
|
|
15941
15950
|
payload: { repoBindingId: String4 },
|
|
15942
15951
|
success: UndefinedOr(Struct({ username: String4, password: String4 })),
|
|
15943
15952
|
error: RunnerRpcError
|
|
15944
|
-
}),
|
|
15953
|
+
}), make5("Bundle", {
|
|
15945
15954
|
payload: { digest: String4 },
|
|
15946
15955
|
success: Struct({ bundle: String4 }),
|
|
15947
15956
|
error: RunnerRpcError
|
|
15948
|
-
}),
|
|
15957
|
+
}), make5("SettledRuns", {
|
|
15949
15958
|
payload: { runIds: ArraySchema(String4) },
|
|
15950
15959
|
success: ArraySchema(String4),
|
|
15951
15960
|
error: RunnerRpcError
|
|
15952
|
-
}),
|
|
15961
|
+
}), make5("KnownEvidence", {
|
|
15953
15962
|
payload: { lease: ProgramLease, trees: ArraySchema(String4) },
|
|
15954
15963
|
success: ArraySchema(Struct({
|
|
15955
15964
|
tree: String4,
|
|
@@ -15961,24 +15970,24 @@ class RunnerReplicaRpcs extends make7(make6("Claim", {
|
|
|
15961
15970
|
})).middleware(RunnerAuthentication) {
|
|
15962
15971
|
}
|
|
15963
15972
|
|
|
15964
|
-
class RunnerJournalRpcs extends
|
|
15973
|
+
class RunnerJournalRpcs extends make6(make5("RecordActivity", {
|
|
15965
15974
|
payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
|
|
15966
15975
|
error: RunnerRpcError
|
|
15967
|
-
}),
|
|
15976
|
+
}), make5("DeferredDone", {
|
|
15968
15977
|
payload: { lease: ProgramLease, name: String4, exit: Json },
|
|
15969
15978
|
error: RunnerRpcError
|
|
15970
|
-
}),
|
|
15979
|
+
}), make5("ScheduleClock", {
|
|
15971
15980
|
payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
|
|
15972
15981
|
error: RunnerRpcError
|
|
15973
|
-
}),
|
|
15982
|
+
}), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
|
|
15974
15983
|
}
|
|
15975
|
-
var RunHostStep =
|
|
15984
|
+
var RunHostStep = make5("RunHostStep", {
|
|
15976
15985
|
payload: { lease: ProgramLease, step: String4, hostStep: String4, request: Json },
|
|
15977
15986
|
success: Json,
|
|
15978
15987
|
error: RunnerRpcError
|
|
15979
15988
|
});
|
|
15980
15989
|
|
|
15981
|
-
class RunnerCapabilityRpcs extends
|
|
15990
|
+
class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
15982
15991
|
payload: {
|
|
15983
15992
|
lease: ProgramLease,
|
|
15984
15993
|
step: String4,
|
|
@@ -15998,7 +16007,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
15998
16007
|
},
|
|
15999
16008
|
success: Struct({ questionId: String4 }),
|
|
16000
16009
|
error: RunnerRpcError
|
|
16001
|
-
}),
|
|
16010
|
+
}), make5("StartAgentStep", {
|
|
16002
16011
|
payload: {
|
|
16003
16012
|
lease: ProgramLease,
|
|
16004
16013
|
step: String4,
|
|
@@ -16015,7 +16024,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16015
16024
|
},
|
|
16016
16025
|
success: Struct({ stepAttemptId: String4 }),
|
|
16017
16026
|
error: RunnerRpcError
|
|
16018
|
-
}),
|
|
16027
|
+
}), make5("StartVerification", {
|
|
16019
16028
|
payload: {
|
|
16020
16029
|
lease: ProgramLease,
|
|
16021
16030
|
step: String4,
|
|
@@ -16039,7 +16048,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16039
16048
|
},
|
|
16040
16049
|
success: Struct({ verificationId: String4 }),
|
|
16041
16050
|
error: RunnerRpcError
|
|
16042
|
-
}),
|
|
16051
|
+
}), make5("AwaitEvent", {
|
|
16043
16052
|
payload: {
|
|
16044
16053
|
lease: ProgramLease,
|
|
16045
16054
|
step: String4,
|
|
@@ -16055,7 +16064,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16055
16064
|
})))
|
|
16056
16065
|
},
|
|
16057
16066
|
error: RunnerRpcError
|
|
16058
|
-
}),
|
|
16067
|
+
}), make5("ClaimResource", {
|
|
16059
16068
|
payload: {
|
|
16060
16069
|
lease: ProgramLease,
|
|
16061
16070
|
step: String4,
|
|
@@ -16066,7 +16075,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16066
16075
|
claims: optionalKey(ArraySchema(String4))
|
|
16067
16076
|
},
|
|
16068
16077
|
error: RunnerRpcError
|
|
16069
|
-
}),
|
|
16078
|
+
}), make5("AdmitChild", {
|
|
16070
16079
|
payload: {
|
|
16071
16080
|
lease: ProgramLease,
|
|
16072
16081
|
step: String4,
|
|
@@ -16077,7 +16086,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16077
16086
|
},
|
|
16078
16087
|
success: Struct({ runId: String4 }),
|
|
16079
16088
|
error: RunnerRpcError
|
|
16080
|
-
}),
|
|
16089
|
+
}), make5("AdmitChildById", {
|
|
16081
16090
|
payload: {
|
|
16082
16091
|
lease: ProgramLease,
|
|
16083
16092
|
step: String4,
|
|
@@ -16088,18 +16097,18 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16088
16097
|
},
|
|
16089
16098
|
success: Struct({ runId: String4 }),
|
|
16090
16099
|
error: RunnerRpcError
|
|
16091
|
-
}),
|
|
16100
|
+
}), make5("CallableLoops", {
|
|
16092
16101
|
payload: { lease: ProgramLease, step: String4, taskId: optional(String4) },
|
|
16093
16102
|
success: Struct({ loops: ArraySchema(CallableLoop) }),
|
|
16094
16103
|
error: RunnerRpcError
|
|
16095
|
-
}),
|
|
16104
|
+
}), make5("StopLaunches", {
|
|
16096
16105
|
payload: {
|
|
16097
16106
|
lease: ProgramLease,
|
|
16098
16107
|
step: String4,
|
|
16099
16108
|
deferredNames: ArraySchema(String4)
|
|
16100
16109
|
},
|
|
16101
16110
|
error: RunnerRpcError
|
|
16102
|
-
}),
|
|
16111
|
+
}), make5("StoreArtifact", {
|
|
16103
16112
|
payload: {
|
|
16104
16113
|
lease: ProgramLease,
|
|
16105
16114
|
step: String4,
|
|
@@ -16111,7 +16120,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16111
16120
|
},
|
|
16112
16121
|
success: Struct({ artifactId: String4 }),
|
|
16113
16122
|
error: RunnerRpcError
|
|
16114
|
-
}),
|
|
16123
|
+
}), make5("RecordNote", {
|
|
16115
16124
|
payload: {
|
|
16116
16125
|
lease: ProgramLease,
|
|
16117
16126
|
step: String4,
|
|
@@ -16120,7 +16129,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16120
16129
|
kind: optional(Literals(["note", "blocker"]))
|
|
16121
16130
|
},
|
|
16122
16131
|
error: RunnerRpcError
|
|
16123
|
-
}),
|
|
16132
|
+
}), make5("PerformHostEffect", {
|
|
16124
16133
|
payload: {
|
|
16125
16134
|
lease: ProgramLease,
|
|
16126
16135
|
step: String4,
|
|
@@ -16149,7 +16158,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16149
16158
|
},
|
|
16150
16159
|
success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
|
|
16151
16160
|
error: RunnerRpcError
|
|
16152
|
-
}),
|
|
16161
|
+
}), make5("AlertTask", {
|
|
16153
16162
|
payload: {
|
|
16154
16163
|
lease: ProgramLease,
|
|
16155
16164
|
step: String4,
|
|
@@ -16166,7 +16175,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16166
16175
|
joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
|
|
16167
16176
|
}),
|
|
16168
16177
|
error: RunnerRpcError
|
|
16169
|
-
}),
|
|
16178
|
+
}), make5("ReadTranscripts", {
|
|
16170
16179
|
payload: {
|
|
16171
16180
|
lease: ProgramLease,
|
|
16172
16181
|
step: String4,
|
|
@@ -16201,7 +16210,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16201
16210
|
})))
|
|
16202
16211
|
}),
|
|
16203
16212
|
error: RunnerRpcError
|
|
16204
|
-
}),
|
|
16213
|
+
}), make5("PipelineStatus", {
|
|
16205
16214
|
payload: {
|
|
16206
16215
|
lease: ProgramLease,
|
|
16207
16216
|
step: String4,
|
|
@@ -16241,11 +16250,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16241
16250
|
}))
|
|
16242
16251
|
}),
|
|
16243
16252
|
error: RunnerRpcError
|
|
16244
|
-
}),
|
|
16253
|
+
}), make5("ReportPipeline", {
|
|
16245
16254
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
|
|
16246
16255
|
success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
|
|
16247
16256
|
error: RunnerRpcError
|
|
16248
|
-
}),
|
|
16257
|
+
}), make5("ReviewThreads", {
|
|
16249
16258
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
|
|
16250
16259
|
success: Struct({
|
|
16251
16260
|
threads: ArraySchema(Struct({
|
|
@@ -16257,7 +16266,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16257
16266
|
}))
|
|
16258
16267
|
}),
|
|
16259
16268
|
error: RunnerRpcError
|
|
16260
|
-
}),
|
|
16269
|
+
}), make5("OpenChangeRequests", {
|
|
16261
16270
|
payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
|
|
16262
16271
|
success: Struct({
|
|
16263
16272
|
changeRequests: ArraySchema(Struct({
|
|
@@ -16271,7 +16280,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16271
16280
|
}))
|
|
16272
16281
|
}),
|
|
16273
16282
|
error: RunnerRpcError
|
|
16274
|
-
}),
|
|
16283
|
+
}), make5("OwnChangeRequests", {
|
|
16275
16284
|
payload: { lease: ProgramLease, step: String4 },
|
|
16276
16285
|
success: Struct({
|
|
16277
16286
|
changeRequests: ArraySchema(Struct({
|
|
@@ -16284,7 +16293,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16284
16293
|
}))
|
|
16285
16294
|
}),
|
|
16286
16295
|
error: RunnerRpcError
|
|
16287
|
-
}),
|
|
16296
|
+
}), make5("Propose", {
|
|
16288
16297
|
payload: {
|
|
16289
16298
|
lease: ProgramLease,
|
|
16290
16299
|
step: String4,
|
|
@@ -16313,7 +16322,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16313
16322
|
task: optionalKey(Struct({ id: String4, active: Boolean2 }))
|
|
16314
16323
|
}),
|
|
16315
16324
|
error: RunnerRpcError
|
|
16316
|
-
}),
|
|
16325
|
+
}), make5("ReadProject", {
|
|
16317
16326
|
payload: { lease: ProgramLease, step: String4, projectId: String4 },
|
|
16318
16327
|
success: Struct({
|
|
16319
16328
|
project: Struct({ id: String4, name: String4 }),
|
|
@@ -16336,7 +16345,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16336
16345
|
taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
|
|
16337
16346
|
}),
|
|
16338
16347
|
error: RunnerRpcError
|
|
16339
|
-
}),
|
|
16348
|
+
}), make5("DraftUpdate", {
|
|
16340
16349
|
payload: {
|
|
16341
16350
|
lease: ProgramLease,
|
|
16342
16351
|
step: String4,
|
|
@@ -16351,7 +16360,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16351
16360
|
},
|
|
16352
16361
|
success: Struct({ id: String4 }),
|
|
16353
16362
|
error: RunnerRpcError
|
|
16354
|
-
}),
|
|
16363
|
+
}), make5("CreatePlanTasks", {
|
|
16355
16364
|
payload: {
|
|
16356
16365
|
lease: ProgramLease,
|
|
16357
16366
|
projectId: optionalKey(String4),
|
|
@@ -16372,15 +16381,15 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16372
16381
|
},
|
|
16373
16382
|
success: ArraySchema(Struct({ key: String4, taskId: String4 })),
|
|
16374
16383
|
error: RunnerRpcError
|
|
16375
|
-
}),
|
|
16384
|
+
}), make5("IntegrationBranch", {
|
|
16376
16385
|
payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
|
|
16377
16386
|
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
16378
16387
|
error: RunnerRpcError
|
|
16379
|
-
}),
|
|
16388
|
+
}), make5("DeliveryBase", {
|
|
16380
16389
|
payload: { lease: ProgramLease },
|
|
16381
16390
|
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
16382
16391
|
error: RunnerRpcError
|
|
16383
|
-
}),
|
|
16392
|
+
}), make5("Branch", {
|
|
16384
16393
|
payload: {
|
|
16385
16394
|
lease: ProgramLease,
|
|
16386
16395
|
branch: optionalKey(String4),
|
|
@@ -16395,7 +16404,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16395
16404
|
created: Boolean2
|
|
16396
16405
|
}),
|
|
16397
16406
|
error: RunnerRpcError
|
|
16398
|
-
}),
|
|
16407
|
+
}), make5("BranchChangeRequest", {
|
|
16399
16408
|
payload: {
|
|
16400
16409
|
lease: ProgramLease,
|
|
16401
16410
|
step: String4,
|
|
@@ -16418,7 +16427,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16418
16427
|
Struct({ status: Literal("elsewhere"), team: String4 })
|
|
16419
16428
|
]),
|
|
16420
16429
|
error: RunnerRpcError
|
|
16421
|
-
}),
|
|
16430
|
+
}), make5("MergeChangeRequest", {
|
|
16422
16431
|
payload: {
|
|
16423
16432
|
lease: ProgramLease,
|
|
16424
16433
|
step: String4,
|
|
@@ -16436,7 +16445,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16436
16445
|
Struct({ status: Literal("moved"), head: String4 })
|
|
16437
16446
|
]),
|
|
16438
16447
|
error: RunnerRpcError
|
|
16439
|
-
}),
|
|
16448
|
+
}), make5("ApproveChangeRequest", {
|
|
16440
16449
|
payload: {
|
|
16441
16450
|
lease: ProgramLease,
|
|
16442
16451
|
step: String4,
|
|
@@ -16452,7 +16461,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16452
16461
|
Struct({ approved: Literal(false), reason: String4 })
|
|
16453
16462
|
]),
|
|
16454
16463
|
error: RunnerRpcError
|
|
16455
|
-
}),
|
|
16464
|
+
}), make5("CloseChangeRequest", {
|
|
16456
16465
|
payload: {
|
|
16457
16466
|
lease: ProgramLease,
|
|
16458
16467
|
step: String4,
|
|
@@ -16462,7 +16471,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16462
16471
|
},
|
|
16463
16472
|
success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
|
|
16464
16473
|
error: RunnerRpcError
|
|
16465
|
-
}),
|
|
16474
|
+
}), make5("RerunPipeline", {
|
|
16466
16475
|
payload: {
|
|
16467
16476
|
lease: ProgramLease,
|
|
16468
16477
|
step: String4,
|
|
@@ -16472,7 +16481,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16472
16481
|
},
|
|
16473
16482
|
success: Struct({ head: String4, pipelines: Int }),
|
|
16474
16483
|
error: RunnerRpcError
|
|
16475
|
-
}),
|
|
16484
|
+
}), make5("PublishRelease", {
|
|
16476
16485
|
payload: {
|
|
16477
16486
|
lease: ProgramLease,
|
|
16478
16487
|
step: String4,
|
|
@@ -16486,7 +16495,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16486
16495
|
},
|
|
16487
16496
|
success: Struct({ tag: String4, revision: String4, url: String4 }),
|
|
16488
16497
|
error: RunnerRpcError
|
|
16489
|
-
}),
|
|
16498
|
+
}), make5("RecordDeploy", {
|
|
16490
16499
|
payload: {
|
|
16491
16500
|
lease: ProgramLease,
|
|
16492
16501
|
step: String4,
|
|
@@ -16498,7 +16507,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16498
16507
|
},
|
|
16499
16508
|
success: Deploy,
|
|
16500
16509
|
error: RunnerRpcError
|
|
16501
|
-
}),
|
|
16510
|
+
}), make5("DeployTarget", {
|
|
16502
16511
|
payload: { lease: ProgramLease, step: String4, target: DeployTargetName },
|
|
16503
16512
|
success: Struct({
|
|
16504
16513
|
target: String4,
|
|
@@ -16506,14 +16515,14 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
16506
16515
|
order: optionalKey(ArraySchema(String4))
|
|
16507
16516
|
}),
|
|
16508
16517
|
error: RunnerRpcError
|
|
16509
|
-
}), RunHostStep,
|
|
16518
|
+
}), RunHostStep, make5("ProgramSecrets", {
|
|
16510
16519
|
payload: { lease: ProgramLease },
|
|
16511
16520
|
success: Record(String4, String4),
|
|
16512
16521
|
error: RunnerRpcError
|
|
16513
16522
|
})).middleware(RunnerAuthentication) {
|
|
16514
16523
|
}
|
|
16515
16524
|
|
|
16516
|
-
class RunnerRunFileRpcs extends
|
|
16525
|
+
class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
|
|
16517
16526
|
payload: {
|
|
16518
16527
|
lease: ProgramLease,
|
|
16519
16528
|
step: String4,
|
|
@@ -16525,11 +16534,11 @@ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
|
|
|
16525
16534
|
},
|
|
16526
16535
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
16527
16536
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
16528
|
-
}),
|
|
16537
|
+
}), make5("RunFileParts", {
|
|
16529
16538
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
16530
16539
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
16531
16540
|
error: RunnerRpcError
|
|
16532
|
-
}),
|
|
16541
|
+
}), make5("CompleteRunFile", {
|
|
16533
16542
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
16534
16543
|
success: RunFileRecord,
|
|
16535
16544
|
error: RunnerRpcError
|
|
@@ -16618,7 +16627,7 @@ function toStoredSession(token, existingRefreshToken) {
|
|
|
16618
16627
|
}
|
|
16619
16628
|
function startLoopbackServer(input) {
|
|
16620
16629
|
return gen(function* () {
|
|
16621
|
-
const code = yield*
|
|
16630
|
+
const code = yield* make15();
|
|
16622
16631
|
const context2 = yield* context();
|
|
16623
16632
|
const runSyncExit = runSyncExitWith(context2);
|
|
16624
16633
|
const server = yield* acquireRelease(sync2(() => Bun.serve({
|
|
@@ -17166,7 +17175,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
17166
17175
|
let lastId = 0;
|
|
17167
17176
|
let lost = false;
|
|
17168
17177
|
const notifications = yield* unbounded2();
|
|
17169
|
-
const ended = yield*
|
|
17178
|
+
const ended = yield* make15();
|
|
17170
17179
|
const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
|
|
17171
17180
|
onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
|
|
17172
17181
|
onNone: () => void_3,
|
|
@@ -17193,7 +17202,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
17193
17202
|
if (lost)
|
|
17194
17203
|
return yield* new HerdrCoreConnectionLost2({ method });
|
|
17195
17204
|
const id = ++lastId;
|
|
17196
|
-
const deferred = yield*
|
|
17205
|
+
const deferred = yield* make15();
|
|
17197
17206
|
pending.set(id, { method, deferred });
|
|
17198
17207
|
yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
|
|
17199
17208
|
return yield* _await(deferred);
|
|
@@ -17267,14 +17276,14 @@ var herdrCoreOver = (transport) => ({
|
|
|
17267
17276
|
return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
|
|
17268
17277
|
};
|
|
17269
17278
|
const snapshot = { type: "snapshot", terminals: subscribed.terminals };
|
|
17270
|
-
return concat(
|
|
17279
|
+
return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
|
|
17271
17280
|
}))
|
|
17272
17281
|
});
|
|
17273
17282
|
var spawnedTransport = (env) => gen(function* () {
|
|
17274
17283
|
const spawner = yield* ChildProcessSpawner;
|
|
17275
17284
|
const input = yield* unbounded2();
|
|
17276
17285
|
const encoder = new TextEncoder;
|
|
17277
|
-
const handle = yield* spawner.spawn(
|
|
17286
|
+
const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
|
|
17278
17287
|
extendEnv: false,
|
|
17279
17288
|
env,
|
|
17280
17289
|
stdin: fromQueue(input),
|
|
@@ -17305,7 +17314,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
|
|
|
17305
17314
|
const spawner = yield* ChildProcessSpawner;
|
|
17306
17315
|
const env = coreEnv(options);
|
|
17307
17316
|
const run = (args) => gen(function* () {
|
|
17308
|
-
const handle = yield* spawner.spawn(
|
|
17317
|
+
const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
|
|
17309
17318
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
17310
17319
|
mkString(decodeText(handle.stdout)),
|
|
17311
17320
|
mkString(decodeText(handle.stderr)),
|
|
@@ -17331,7 +17340,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
|
|
|
17331
17340
|
}
|
|
17332
17341
|
var runCommand2 = (command, args, options = {}) => gen(function* () {
|
|
17333
17342
|
const spawner = yield* ChildProcessSpawner;
|
|
17334
|
-
const handle = yield* spawner.spawn(
|
|
17343
|
+
const handle = yield* spawner.spawn(make2(command, args, {
|
|
17335
17344
|
stdin: "ignore",
|
|
17336
17345
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
17337
17346
|
...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
|
|
@@ -17357,8 +17366,8 @@ var shellOutputTailChars2 = 64 * 1024;
|
|
|
17357
17366
|
var runProcess2 = (argv, options) => gen(function* () {
|
|
17358
17367
|
const spawner = yield* ChildProcessSpawner;
|
|
17359
17368
|
const [command, ...args] = argv;
|
|
17360
|
-
const handle = yield* spawner.spawn(
|
|
17361
|
-
stdin: options.stdin === undefined ? "ignore" :
|
|
17369
|
+
const handle = yield* spawner.spawn(make2(command, args, {
|
|
17370
|
+
stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
|
|
17362
17371
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
17363
17372
|
env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
|
|
17364
17373
|
}));
|
|
@@ -17879,4 +17888,4 @@ function serviceChecks(declaration) {
|
|
|
17879
17888
|
return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
|
|
17880
17889
|
}
|
|
17881
17890
|
|
|
17882
|
-
export { 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, verificationCap, PinnedImage, RunnerSettings, 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,
|
|
17891
|
+
export { 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, verificationCap, PinnedImage, RunnerSettings, 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, make4, 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, stepLogDirFromEnv, 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, make5, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make6, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, WorkAvailable, 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 };
|