@kitman-sh/cli 0.29.0 → 0.30.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-y6petreh.js → chunk-0mg7k9b4.js} +115 -115
- package/dist/{chunk-eshk0da5.js → chunk-1j38xtvp.js} +2 -2
- package/dist/{chunk-wqdxszpm.js → chunk-39kjyh2y.js} +12 -12
- package/dist/{chunk-18x6rmkq.js → chunk-3xg9zbmy.js} +5 -5
- package/dist/{chunk-rbpn35g5.js → chunk-4qjfn1sa.js} +1 -1
- package/dist/{chunk-znhjs0t6.js → chunk-5kqt4bqp.js} +1 -1
- package/dist/{chunk-sm340tvm.js → chunk-63cyj9dh.js} +17 -17
- package/dist/{chunk-q1medqp5.js → chunk-7j1kf6sa.js} +6 -6
- package/dist/{chunk-4tdk1w0k.js → chunk-bv4gcq1h.js} +7 -7
- package/dist/{chunk-8andwyqa.js → chunk-cehbrs1y.js} +5 -5
- package/dist/{chunk-cm2sr223.js → chunk-chxtmsns.js} +23 -23
- package/dist/{chunk-89eskdmq.js → chunk-d4h1p51s.js} +22 -22
- package/dist/{chunk-j021bman.js → chunk-gap0vmj7.js} +60 -14
- package/dist/{chunk-61dmxexa.js → chunk-h2f26xbd.js} +28 -70
- package/dist/{chunk-fyjet273.js → chunk-js64y97w.js} +4 -4
- package/dist/{chunk-f9fhdprs.js → chunk-msn6rrx9.js} +4 -4
- package/dist/{chunk-e491q405.js → chunk-my92qn4x.js} +7 -7
- package/dist/{chunk-cbkj3km5.js → chunk-r7m32p2j.js} +1 -1
- package/dist/{chunk-4qrb09w4.js → chunk-samxkpbz.js} +3 -3
- package/dist/{chunk-pyjx5q5s.js → chunk-sw0dadq5.js} +1 -1
- package/dist/{chunk-vshy6fm5.js → chunk-tbmht2qb.js} +7 -7
- package/dist/{chunk-1hgsf81a.js → chunk-tsx0347c.js} +1 -1
- package/dist/{chunk-q8e58p57.js → chunk-vz38kngm.js} +2 -2
- package/dist/{chunk-1yyq4nh2.js → chunk-wtea9nbk.js} +24 -24
- package/dist/{chunk-9zxzmsmm.js → chunk-yaa3gkpx.js} +4 -4
- package/dist/{chunk-801jtbdq.js → chunk-yr7np5eb.js} +3 -3
- 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,7 +264,7 @@ 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,
|
|
@@ -277,8 +274,8 @@ import {
|
|
|
277
274
|
systemError,
|
|
278
275
|
badArgument,
|
|
279
276
|
makeUnsafe2,
|
|
280
|
-
make7,
|
|
281
277
|
make8,
|
|
278
|
+
make9,
|
|
282
279
|
sliding,
|
|
283
280
|
unbounded2,
|
|
284
281
|
offer,
|
|
@@ -294,13 +291,13 @@ import {
|
|
|
294
291
|
isSink,
|
|
295
292
|
fromChannel,
|
|
296
293
|
drain,
|
|
297
|
-
|
|
294
|
+
make10,
|
|
298
295
|
get3,
|
|
299
296
|
isStream,
|
|
300
297
|
fromChannel2,
|
|
301
298
|
callback,
|
|
302
299
|
empty2,
|
|
303
|
-
|
|
300
|
+
make11,
|
|
304
301
|
suspend,
|
|
305
302
|
fail2,
|
|
306
303
|
fromQueue,
|
|
@@ -326,28 +323,31 @@ import {
|
|
|
326
323
|
mkArrayBuffer,
|
|
327
324
|
toReadableStreamEffect,
|
|
328
325
|
FileSystem,
|
|
329
|
-
|
|
326
|
+
make12,
|
|
330
327
|
FileTypeId,
|
|
331
328
|
WatchBackend,
|
|
332
329
|
Path,
|
|
333
|
-
|
|
330
|
+
make13,
|
|
334
331
|
option,
|
|
335
332
|
String2,
|
|
336
333
|
optionalEnv,
|
|
337
334
|
harnessesUnsupportedInSrt2,
|
|
338
335
|
harnessesUnsupportedInDocker2
|
|
339
|
-
} from "./chunk-
|
|
336
|
+
} from "./chunk-63cyj9dh.js";
|
|
340
337
|
import {
|
|
338
|
+
isRedacted,
|
|
339
|
+
make,
|
|
340
|
+
value,
|
|
341
341
|
ExitCode,
|
|
342
342
|
ProcessId,
|
|
343
343
|
makeHandle,
|
|
344
|
-
|
|
344
|
+
make2,
|
|
345
345
|
ChildProcessSpawner,
|
|
346
346
|
display,
|
|
347
|
-
|
|
347
|
+
make3,
|
|
348
348
|
parseFdName,
|
|
349
349
|
fdName
|
|
350
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-gap0vmj7.js";
|
|
351
351
|
import {
|
|
352
352
|
isDateTime,
|
|
353
353
|
Numeric,
|
|
@@ -360,7 +360,7 @@ import {
|
|
|
360
360
|
SecretScope,
|
|
361
361
|
SecretHosts,
|
|
362
362
|
isSecretReference
|
|
363
|
-
} from "./chunk-
|
|
363
|
+
} from "./chunk-4qjfn1sa.js";
|
|
364
364
|
|
|
365
365
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
366
366
|
var makeEquivalence3 = Tuple;
|
|
@@ -523,7 +523,7 @@ var makeUnsafe6 = (input) => {
|
|
|
523
523
|
var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
|
|
524
524
|
var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
|
|
525
525
|
var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
|
|
526
|
-
var
|
|
526
|
+
var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
|
|
527
527
|
var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
|
|
528
528
|
var nowUnsafe = () => makeUtc(Date.now());
|
|
529
529
|
var toDateUtc = (self) => new Date(self.epochMilliseconds);
|
|
@@ -904,7 +904,7 @@ var runMain = runMain2;
|
|
|
904
904
|
|
|
905
905
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
|
|
906
906
|
var makeUnsafe = makeUnsafe6;
|
|
907
|
-
var make18 =
|
|
907
|
+
var make18 = make4;
|
|
908
908
|
var now2 = now;
|
|
909
909
|
var nowUnsafe2 = nowUnsafe;
|
|
910
910
|
var toDateUtc2 = toDateUtc;
|
|
@@ -1119,7 +1119,7 @@ var readableToPullUnsafe = (options) => {
|
|
|
1119
1119
|
const readable = options.readable;
|
|
1120
1120
|
const chunkSize = options.chunkSize ?? 4096;
|
|
1121
1121
|
const closeOnDone = options.closeOnDone ?? true;
|
|
1122
|
-
const exit = options.exit ??
|
|
1122
|
+
const exit = options.exit ?? make8(undefined);
|
|
1123
1123
|
const latch = options.latch ?? makeUnsafe2(false);
|
|
1124
1124
|
function onReadable() {
|
|
1125
1125
|
latch.openUnsafe();
|
|
@@ -1683,7 +1683,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1683
1683
|
const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
|
|
1684
1684
|
const toOption = options.to ?? "stdin";
|
|
1685
1685
|
if (toOption === "stdin") {
|
|
1686
|
-
handles.push(yield* spawnCommand(
|
|
1686
|
+
handles.push(yield* spawnCommand(make3(command.command, command.args, {
|
|
1687
1687
|
...command.options,
|
|
1688
1688
|
stdin: {
|
|
1689
1689
|
...stdinConfig,
|
|
@@ -1703,7 +1703,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1703
1703
|
type: "input",
|
|
1704
1704
|
stream: sourceStream
|
|
1705
1705
|
};
|
|
1706
|
-
handles.push(yield* spawnCommand(
|
|
1706
|
+
handles.push(yield* spawnCommand(make3(command.command, command.args, {
|
|
1707
1707
|
...command.options,
|
|
1708
1708
|
additionalFds: {
|
|
1709
1709
|
...existingFds,
|
|
@@ -1711,7 +1711,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1711
1711
|
}
|
|
1712
1712
|
})));
|
|
1713
1713
|
} else {
|
|
1714
|
-
handles.push(yield* spawnCommand(
|
|
1714
|
+
handles.push(yield* spawnCommand(make3(command.command, command.args, {
|
|
1715
1715
|
...command.options,
|
|
1716
1716
|
stdin: {
|
|
1717
1717
|
...stdinConfig,
|
|
@@ -1750,7 +1750,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1750
1750
|
}
|
|
1751
1751
|
}
|
|
1752
1752
|
});
|
|
1753
|
-
return
|
|
1753
|
+
return make2(spawnCommand);
|
|
1754
1754
|
});
|
|
1755
1755
|
var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
|
|
1756
1756
|
var flattenCommand = (command) => {
|
|
@@ -2236,7 +2236,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
|
|
|
2236
2236
|
resume(fail7(handleBadArgument("writeFile")(err)));
|
|
2237
2237
|
}
|
|
2238
2238
|
});
|
|
2239
|
-
var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) =>
|
|
2239
|
+
var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
|
|
2240
2240
|
access: access2,
|
|
2241
2241
|
chmod: chmod2,
|
|
2242
2242
|
chown: chown2,
|
|
@@ -2296,15 +2296,15 @@ var fileUrlOps = (windows) => ({
|
|
|
2296
2296
|
})
|
|
2297
2297
|
})
|
|
2298
2298
|
});
|
|
2299
|
-
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2299
|
+
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2300
2300
|
...NodePath.posix,
|
|
2301
2301
|
.../* @__PURE__ */ fileUrlOps(false)
|
|
2302
2302
|
}));
|
|
2303
|
-
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2303
|
+
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2304
2304
|
...NodePath.win32,
|
|
2305
2305
|
.../* @__PURE__ */ fileUrlOps(true)
|
|
2306
2306
|
}));
|
|
2307
|
-
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2307
|
+
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2308
2308
|
...NodePath,
|
|
2309
2309
|
.../* @__PURE__ */ fileUrlOps(undefined)
|
|
2310
2310
|
}));
|
|
@@ -2831,12 +2831,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
|
2831
2831
|
if (typeof key === "string") {
|
|
2832
2832
|
const k = key.toLowerCase();
|
|
2833
2833
|
if (k in self) {
|
|
2834
|
-
out[k] =
|
|
2834
|
+
out[k] = make(self[k]);
|
|
2835
2835
|
}
|
|
2836
2836
|
} else {
|
|
2837
2837
|
for (const name in self) {
|
|
2838
2838
|
if (name.search(key) !== -1) {
|
|
2839
|
-
out[name] =
|
|
2839
|
+
out[name] = make(self[name]);
|
|
2840
2840
|
}
|
|
2841
2841
|
}
|
|
2842
2842
|
}
|
|
@@ -2943,7 +2943,7 @@ var fromInputNested = (input) => {
|
|
|
2943
2943
|
return out;
|
|
2944
2944
|
};
|
|
2945
2945
|
var coerce = (value) => isRedacted(value) ? value : String(value);
|
|
2946
|
-
var Equivalence3 = /* @__PURE__ */
|
|
2946
|
+
var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
|
|
2947
2947
|
var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
|
|
2948
2948
|
var empty4 = /* @__PURE__ */ make23([]);
|
|
2949
2949
|
var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
@@ -2962,7 +2962,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
|
2962
2962
|
var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
|
|
2963
2963
|
var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
2964
2964
|
const patterns = Array.isArray(key) ? key : [key];
|
|
2965
|
-
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ?
|
|
2965
|
+
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
|
|
2966
2966
|
});
|
|
2967
2967
|
var isRedactedName2 = isRedactedName;
|
|
2968
2968
|
var redactUrl = (url, redactedNames = currentRedactedNames()) => {
|
|
@@ -3038,7 +3038,7 @@ import * as readline from "readline";
|
|
|
3038
3038
|
var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
|
|
3039
3039
|
const stdin = process.stdin;
|
|
3040
3040
|
const stdout = process.stdout;
|
|
3041
|
-
const lines = yield*
|
|
3041
|
+
const lines = yield* make9();
|
|
3042
3042
|
let inputEnded = stdin.readableEnded;
|
|
3043
3043
|
let readlineActive = false;
|
|
3044
3044
|
const onStdinEnd = () => {
|
|
@@ -3049,7 +3049,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3049
3049
|
};
|
|
3050
3050
|
stdin.once("end", onStdinEnd);
|
|
3051
3051
|
yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
|
|
3052
|
-
const rlRef = yield*
|
|
3052
|
+
const rlRef = yield* make10({
|
|
3053
3053
|
acquire: acquireRelease(sync2(() => {
|
|
3054
3054
|
const rl = readline.createInterface({
|
|
3055
3055
|
input: stdin,
|
|
@@ -3088,7 +3088,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3088
3088
|
if (stdin.isTTY)
|
|
3089
3089
|
stdin.setRawMode(enabled);
|
|
3090
3090
|
});
|
|
3091
|
-
const rawModeRef = yield*
|
|
3091
|
+
const rawModeRef = yield* make10({
|
|
3092
3092
|
acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
|
|
3093
3093
|
idleTimeToLive: "10 millis"
|
|
3094
3094
|
});
|
|
@@ -3109,7 +3109,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3109
3109
|
return queue;
|
|
3110
3110
|
});
|
|
3111
3111
|
const readInput = gen(function* () {
|
|
3112
|
-
const queue = yield*
|
|
3112
|
+
const queue = yield* make9();
|
|
3113
3113
|
const handleKeypress = (s, k) => {
|
|
3114
3114
|
const userInput = {
|
|
3115
3115
|
input: fromUndefinedOr(s),
|
|
@@ -11115,14 +11115,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
|
|
|
11115
11115
|
return self;
|
|
11116
11116
|
}
|
|
11117
11117
|
var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
|
|
11118
|
-
var
|
|
11118
|
+
var make5 = (method) => (url, options) => modify(empty6, {
|
|
11119
11119
|
method,
|
|
11120
11120
|
url,
|
|
11121
11121
|
...options ?? undefined
|
|
11122
11122
|
});
|
|
11123
|
-
var get = /* @__PURE__ */
|
|
11124
|
-
var post = /* @__PURE__ */
|
|
11125
|
-
var put = /* @__PURE__ */
|
|
11123
|
+
var get = /* @__PURE__ */ make5("GET");
|
|
11124
|
+
var post = /* @__PURE__ */ make5("POST");
|
|
11125
|
+
var put = /* @__PURE__ */ make5("PUT");
|
|
11126
11126
|
var modify = /* @__PURE__ */ dual(2, (self, options) => {
|
|
11127
11127
|
let result = self;
|
|
11128
11128
|
if (options.method) {
|
|
@@ -11423,7 +11423,7 @@ var Proto7 = {
|
|
|
11423
11423
|
};
|
|
11424
11424
|
},
|
|
11425
11425
|
.../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
|
|
11426
|
-
return this.execute(
|
|
11426
|
+
return this.execute(make5(fullMethod)(url, options));
|
|
11427
11427
|
}]))
|
|
11428
11428
|
};
|
|
11429
11429
|
var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
|
|
@@ -15512,7 +15512,7 @@ var makeProto = (options) => {
|
|
|
15512
15512
|
Rpc.key = `effect/rpc/Rpc/${options._tag}`;
|
|
15513
15513
|
return Rpc;
|
|
15514
15514
|
};
|
|
15515
|
-
var
|
|
15515
|
+
var make6 = (tag, options) => {
|
|
15516
15516
|
const successSchema = options?.success ?? Void;
|
|
15517
15517
|
const errorSchema = options?.error ?? Never;
|
|
15518
15518
|
const defectSchema = options?.defect ?? Defect();
|
|
@@ -15723,7 +15723,7 @@ var RpcGroupProto = {
|
|
|
15723
15723
|
});
|
|
15724
15724
|
},
|
|
15725
15725
|
annotateRpcs(service, value) {
|
|
15726
|
-
return this.annotateRpcsMerge(
|
|
15726
|
+
return this.annotateRpcsMerge(make15(service, value));
|
|
15727
15727
|
},
|
|
15728
15728
|
annotateMerge(context) {
|
|
15729
15729
|
return makeProto2({
|
|
@@ -15746,7 +15746,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
|
|
|
15746
15746
|
requests: options.requests,
|
|
15747
15747
|
annotations: options.annotations
|
|
15748
15748
|
});
|
|
15749
|
-
var
|
|
15749
|
+
var make7 = (...rpcs) => makeProto2({
|
|
15750
15750
|
requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
|
|
15751
15751
|
annotations: empty3()
|
|
15752
15752
|
});
|
|
@@ -15852,77 +15852,77 @@ var ProgramOutcome = Union([
|
|
|
15852
15852
|
Struct({ status: Literal("failed"), failureSummary: String4 })
|
|
15853
15853
|
]);
|
|
15854
15854
|
|
|
15855
|
-
class RunnerReplicaRpcs extends make6(
|
|
15855
|
+
class RunnerReplicaRpcs extends make7(make6("Claim", {
|
|
15856
15856
|
payload: WorkUnitClaimInput,
|
|
15857
15857
|
success: WorkUnitClaimResult,
|
|
15858
15858
|
error: RunnerRpcError
|
|
15859
|
-
}),
|
|
15859
|
+
}), make6("Heartbeat", {
|
|
15860
15860
|
payload: WorkUnitHeartbeatInput,
|
|
15861
15861
|
success: WorkUnitHeartbeatResult,
|
|
15862
15862
|
error: RunnerRpcError
|
|
15863
|
-
}),
|
|
15863
|
+
}), make6("Complete", {
|
|
15864
15864
|
payload: WorkUnitCompletion,
|
|
15865
15865
|
error: RunnerRpcError
|
|
15866
|
-
}),
|
|
15866
|
+
}), make6("Release", {
|
|
15867
15867
|
payload: WorkUnitReleaseInput,
|
|
15868
15868
|
error: RunnerRpcError
|
|
15869
|
-
}),
|
|
15869
|
+
}), make6("Signals", {
|
|
15870
15870
|
payload: { runnerReplicaId: String4 },
|
|
15871
15871
|
success: RunnerSignal,
|
|
15872
15872
|
error: RunnerRpcError,
|
|
15873
15873
|
stream: true
|
|
15874
|
-
}),
|
|
15874
|
+
}), make6("ReportSteer", {
|
|
15875
15875
|
payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
|
|
15876
15876
|
success: Void,
|
|
15877
15877
|
error: RunnerRpcError
|
|
15878
|
-
}),
|
|
15878
|
+
}), make6("AppendTranscript", {
|
|
15879
15879
|
payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
|
|
15880
15880
|
success: Void,
|
|
15881
15881
|
error: RunnerRpcError
|
|
15882
|
-
}),
|
|
15882
|
+
}), make6("CreateCheckpointFile", {
|
|
15883
15883
|
payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
|
|
15884
15884
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
15885
15885
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
15886
|
-
}),
|
|
15886
|
+
}), make6("CheckpointFileParts", {
|
|
15887
15887
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
15888
15888
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
15889
15889
|
error: RunnerRpcError
|
|
15890
|
-
}),
|
|
15890
|
+
}), make6("CompleteCheckpointFile", {
|
|
15891
15891
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
15892
15892
|
success: RunFileRecord,
|
|
15893
15893
|
error: RunnerRpcError
|
|
15894
|
-
}),
|
|
15894
|
+
}), make6("SaveCheckpoint", {
|
|
15895
15895
|
payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
|
|
15896
15896
|
success: Void,
|
|
15897
15897
|
error: RunnerRpcError
|
|
15898
|
-
}),
|
|
15898
|
+
}), make6("ResumeCheckpoint", {
|
|
15899
15899
|
payload: { lease: ProgramLease },
|
|
15900
15900
|
success: UndefinedOr(ResumedCheckpoint),
|
|
15901
15901
|
error: RunnerRpcError
|
|
15902
|
-
}),
|
|
15902
|
+
}), make6("SettledCheckpoints", {
|
|
15903
15903
|
success: ArraySchema(Struct({
|
|
15904
15904
|
stepAttemptId: String4,
|
|
15905
15905
|
ref: optionalKey(String4),
|
|
15906
15906
|
repoBinding: optionalKey(WorkUnitRepoBinding)
|
|
15907
15907
|
})),
|
|
15908
15908
|
error: RunnerRpcError
|
|
15909
|
-
}),
|
|
15909
|
+
}), make6("ForgetCheckpoints", {
|
|
15910
15910
|
payload: { stepAttemptIds: ArraySchema(String4) },
|
|
15911
15911
|
success: Void,
|
|
15912
15912
|
error: RunnerRpcError
|
|
15913
|
-
}),
|
|
15913
|
+
}), make6("GitCredential", {
|
|
15914
15914
|
payload: { repoBindingId: String4 },
|
|
15915
15915
|
success: UndefinedOr(Struct({ username: String4, password: String4 })),
|
|
15916
15916
|
error: RunnerRpcError
|
|
15917
|
-
}),
|
|
15917
|
+
}), make6("Bundle", {
|
|
15918
15918
|
payload: { digest: String4 },
|
|
15919
15919
|
success: Struct({ bundle: String4 }),
|
|
15920
15920
|
error: RunnerRpcError
|
|
15921
|
-
}),
|
|
15921
|
+
}), make6("SettledRuns", {
|
|
15922
15922
|
payload: { runIds: ArraySchema(String4) },
|
|
15923
15923
|
success: ArraySchema(String4),
|
|
15924
15924
|
error: RunnerRpcError
|
|
15925
|
-
}),
|
|
15925
|
+
}), make6("KnownEvidence", {
|
|
15926
15926
|
payload: { lease: ProgramLease, trees: ArraySchema(String4) },
|
|
15927
15927
|
success: ArraySchema(Struct({
|
|
15928
15928
|
tree: String4,
|
|
@@ -15934,24 +15934,24 @@ class RunnerReplicaRpcs extends make6(make5("Claim", {
|
|
|
15934
15934
|
})).middleware(RunnerAuthentication) {
|
|
15935
15935
|
}
|
|
15936
15936
|
|
|
15937
|
-
class RunnerJournalRpcs extends make6(
|
|
15937
|
+
class RunnerJournalRpcs extends make7(make6("RecordActivity", {
|
|
15938
15938
|
payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
|
|
15939
15939
|
error: RunnerRpcError
|
|
15940
|
-
}),
|
|
15940
|
+
}), make6("DeferredDone", {
|
|
15941
15941
|
payload: { lease: ProgramLease, name: String4, exit: Json },
|
|
15942
15942
|
error: RunnerRpcError
|
|
15943
|
-
}),
|
|
15943
|
+
}), make6("ScheduleClock", {
|
|
15944
15944
|
payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
|
|
15945
15945
|
error: RunnerRpcError
|
|
15946
|
-
}),
|
|
15946
|
+
}), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
|
|
15947
15947
|
}
|
|
15948
|
-
var RunHostStep =
|
|
15948
|
+
var RunHostStep = make6("RunHostStep", {
|
|
15949
15949
|
payload: { lease: ProgramLease, step: String4, hostStep: String4, request: Json },
|
|
15950
15950
|
success: Json,
|
|
15951
15951
|
error: RunnerRpcError
|
|
15952
15952
|
});
|
|
15953
15953
|
|
|
15954
|
-
class RunnerCapabilityRpcs extends make6(
|
|
15954
|
+
class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
15955
15955
|
payload: {
|
|
15956
15956
|
lease: ProgramLease,
|
|
15957
15957
|
step: String4,
|
|
@@ -15971,7 +15971,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
15971
15971
|
},
|
|
15972
15972
|
success: Struct({ questionId: String4 }),
|
|
15973
15973
|
error: RunnerRpcError
|
|
15974
|
-
}),
|
|
15974
|
+
}), make6("StartAgentStep", {
|
|
15975
15975
|
payload: {
|
|
15976
15976
|
lease: ProgramLease,
|
|
15977
15977
|
step: String4,
|
|
@@ -15988,7 +15988,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
15988
15988
|
},
|
|
15989
15989
|
success: Struct({ stepAttemptId: String4 }),
|
|
15990
15990
|
error: RunnerRpcError
|
|
15991
|
-
}),
|
|
15991
|
+
}), make6("StartVerification", {
|
|
15992
15992
|
payload: {
|
|
15993
15993
|
lease: ProgramLease,
|
|
15994
15994
|
step: String4,
|
|
@@ -16012,7 +16012,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16012
16012
|
},
|
|
16013
16013
|
success: Struct({ verificationId: String4 }),
|
|
16014
16014
|
error: RunnerRpcError
|
|
16015
|
-
}),
|
|
16015
|
+
}), make6("AwaitEvent", {
|
|
16016
16016
|
payload: {
|
|
16017
16017
|
lease: ProgramLease,
|
|
16018
16018
|
step: String4,
|
|
@@ -16028,7 +16028,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16028
16028
|
})))
|
|
16029
16029
|
},
|
|
16030
16030
|
error: RunnerRpcError
|
|
16031
|
-
}),
|
|
16031
|
+
}), make6("ClaimResource", {
|
|
16032
16032
|
payload: {
|
|
16033
16033
|
lease: ProgramLease,
|
|
16034
16034
|
step: String4,
|
|
@@ -16039,7 +16039,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16039
16039
|
claims: optionalKey(ArraySchema(String4))
|
|
16040
16040
|
},
|
|
16041
16041
|
error: RunnerRpcError
|
|
16042
|
-
}),
|
|
16042
|
+
}), make6("AdmitChild", {
|
|
16043
16043
|
payload: {
|
|
16044
16044
|
lease: ProgramLease,
|
|
16045
16045
|
step: String4,
|
|
@@ -16050,7 +16050,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16050
16050
|
},
|
|
16051
16051
|
success: Struct({ runId: String4 }),
|
|
16052
16052
|
error: RunnerRpcError
|
|
16053
|
-
}),
|
|
16053
|
+
}), make6("AdmitChildById", {
|
|
16054
16054
|
payload: {
|
|
16055
16055
|
lease: ProgramLease,
|
|
16056
16056
|
step: String4,
|
|
@@ -16061,18 +16061,18 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16061
16061
|
},
|
|
16062
16062
|
success: Struct({ runId: String4 }),
|
|
16063
16063
|
error: RunnerRpcError
|
|
16064
|
-
}),
|
|
16064
|
+
}), make6("CallableLoops", {
|
|
16065
16065
|
payload: { lease: ProgramLease, step: String4, taskId: optional(String4) },
|
|
16066
16066
|
success: Struct({ loops: ArraySchema(CallableLoop) }),
|
|
16067
16067
|
error: RunnerRpcError
|
|
16068
|
-
}),
|
|
16068
|
+
}), make6("StopLaunches", {
|
|
16069
16069
|
payload: {
|
|
16070
16070
|
lease: ProgramLease,
|
|
16071
16071
|
step: String4,
|
|
16072
16072
|
deferredNames: ArraySchema(String4)
|
|
16073
16073
|
},
|
|
16074
16074
|
error: RunnerRpcError
|
|
16075
|
-
}),
|
|
16075
|
+
}), make6("StoreArtifact", {
|
|
16076
16076
|
payload: {
|
|
16077
16077
|
lease: ProgramLease,
|
|
16078
16078
|
step: String4,
|
|
@@ -16084,7 +16084,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16084
16084
|
},
|
|
16085
16085
|
success: Struct({ artifactId: String4 }),
|
|
16086
16086
|
error: RunnerRpcError
|
|
16087
|
-
}),
|
|
16087
|
+
}), make6("RecordNote", {
|
|
16088
16088
|
payload: {
|
|
16089
16089
|
lease: ProgramLease,
|
|
16090
16090
|
step: String4,
|
|
@@ -16093,7 +16093,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16093
16093
|
kind: optional(Literals(["note", "blocker"]))
|
|
16094
16094
|
},
|
|
16095
16095
|
error: RunnerRpcError
|
|
16096
|
-
}),
|
|
16096
|
+
}), make6("PerformHostEffect", {
|
|
16097
16097
|
payload: {
|
|
16098
16098
|
lease: ProgramLease,
|
|
16099
16099
|
step: String4,
|
|
@@ -16122,7 +16122,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16122
16122
|
},
|
|
16123
16123
|
success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
|
|
16124
16124
|
error: RunnerRpcError
|
|
16125
|
-
}),
|
|
16125
|
+
}), make6("AlertTask", {
|
|
16126
16126
|
payload: {
|
|
16127
16127
|
lease: ProgramLease,
|
|
16128
16128
|
step: String4,
|
|
@@ -16139,7 +16139,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16139
16139
|
joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
|
|
16140
16140
|
}),
|
|
16141
16141
|
error: RunnerRpcError
|
|
16142
|
-
}),
|
|
16142
|
+
}), make6("ReadTranscripts", {
|
|
16143
16143
|
payload: {
|
|
16144
16144
|
lease: ProgramLease,
|
|
16145
16145
|
step: String4,
|
|
@@ -16174,7 +16174,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16174
16174
|
})))
|
|
16175
16175
|
}),
|
|
16176
16176
|
error: RunnerRpcError
|
|
16177
|
-
}),
|
|
16177
|
+
}), make6("PipelineStatus", {
|
|
16178
16178
|
payload: {
|
|
16179
16179
|
lease: ProgramLease,
|
|
16180
16180
|
step: String4,
|
|
@@ -16214,11 +16214,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16214
16214
|
}))
|
|
16215
16215
|
}),
|
|
16216
16216
|
error: RunnerRpcError
|
|
16217
|
-
}),
|
|
16217
|
+
}), make6("ReportPipeline", {
|
|
16218
16218
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
|
|
16219
16219
|
success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
|
|
16220
16220
|
error: RunnerRpcError
|
|
16221
|
-
}),
|
|
16221
|
+
}), make6("ReviewThreads", {
|
|
16222
16222
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
|
|
16223
16223
|
success: Struct({
|
|
16224
16224
|
threads: ArraySchema(Struct({
|
|
@@ -16230,7 +16230,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16230
16230
|
}))
|
|
16231
16231
|
}),
|
|
16232
16232
|
error: RunnerRpcError
|
|
16233
|
-
}),
|
|
16233
|
+
}), make6("OpenChangeRequests", {
|
|
16234
16234
|
payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
|
|
16235
16235
|
success: Struct({
|
|
16236
16236
|
changeRequests: ArraySchema(Struct({
|
|
@@ -16244,7 +16244,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16244
16244
|
}))
|
|
16245
16245
|
}),
|
|
16246
16246
|
error: RunnerRpcError
|
|
16247
|
-
}),
|
|
16247
|
+
}), make6("OwnChangeRequests", {
|
|
16248
16248
|
payload: { lease: ProgramLease, step: String4 },
|
|
16249
16249
|
success: Struct({
|
|
16250
16250
|
changeRequests: ArraySchema(Struct({
|
|
@@ -16257,7 +16257,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16257
16257
|
}))
|
|
16258
16258
|
}),
|
|
16259
16259
|
error: RunnerRpcError
|
|
16260
|
-
}),
|
|
16260
|
+
}), make6("Propose", {
|
|
16261
16261
|
payload: {
|
|
16262
16262
|
lease: ProgramLease,
|
|
16263
16263
|
step: String4,
|
|
@@ -16286,7 +16286,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16286
16286
|
task: optionalKey(Struct({ id: String4, active: Boolean2 }))
|
|
16287
16287
|
}),
|
|
16288
16288
|
error: RunnerRpcError
|
|
16289
|
-
}),
|
|
16289
|
+
}), make6("ReadProject", {
|
|
16290
16290
|
payload: { lease: ProgramLease, step: String4, projectId: String4 },
|
|
16291
16291
|
success: Struct({
|
|
16292
16292
|
project: Struct({ id: String4, name: String4 }),
|
|
@@ -16309,7 +16309,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16309
16309
|
taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
|
|
16310
16310
|
}),
|
|
16311
16311
|
error: RunnerRpcError
|
|
16312
|
-
}),
|
|
16312
|
+
}), make6("DraftUpdate", {
|
|
16313
16313
|
payload: {
|
|
16314
16314
|
lease: ProgramLease,
|
|
16315
16315
|
step: String4,
|
|
@@ -16324,7 +16324,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16324
16324
|
},
|
|
16325
16325
|
success: Struct({ id: String4 }),
|
|
16326
16326
|
error: RunnerRpcError
|
|
16327
|
-
}),
|
|
16327
|
+
}), make6("CreatePlanTasks", {
|
|
16328
16328
|
payload: {
|
|
16329
16329
|
lease: ProgramLease,
|
|
16330
16330
|
projectId: optionalKey(String4),
|
|
@@ -16345,15 +16345,15 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16345
16345
|
},
|
|
16346
16346
|
success: ArraySchema(Struct({ key: String4, taskId: String4 })),
|
|
16347
16347
|
error: RunnerRpcError
|
|
16348
|
-
}),
|
|
16348
|
+
}), make6("IntegrationBranch", {
|
|
16349
16349
|
payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
|
|
16350
16350
|
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
16351
16351
|
error: RunnerRpcError
|
|
16352
|
-
}),
|
|
16352
|
+
}), make6("DeliveryBase", {
|
|
16353
16353
|
payload: { lease: ProgramLease },
|
|
16354
16354
|
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
16355
16355
|
error: RunnerRpcError
|
|
16356
|
-
}),
|
|
16356
|
+
}), make6("Branch", {
|
|
16357
16357
|
payload: {
|
|
16358
16358
|
lease: ProgramLease,
|
|
16359
16359
|
branch: optionalKey(String4),
|
|
@@ -16368,7 +16368,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16368
16368
|
created: Boolean2
|
|
16369
16369
|
}),
|
|
16370
16370
|
error: RunnerRpcError
|
|
16371
|
-
}),
|
|
16371
|
+
}), make6("BranchChangeRequest", {
|
|
16372
16372
|
payload: {
|
|
16373
16373
|
lease: ProgramLease,
|
|
16374
16374
|
step: String4,
|
|
@@ -16391,7 +16391,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16391
16391
|
Struct({ status: Literal("elsewhere"), team: String4 })
|
|
16392
16392
|
]),
|
|
16393
16393
|
error: RunnerRpcError
|
|
16394
|
-
}),
|
|
16394
|
+
}), make6("MergeChangeRequest", {
|
|
16395
16395
|
payload: {
|
|
16396
16396
|
lease: ProgramLease,
|
|
16397
16397
|
step: String4,
|
|
@@ -16409,7 +16409,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16409
16409
|
Struct({ status: Literal("moved"), head: String4 })
|
|
16410
16410
|
]),
|
|
16411
16411
|
error: RunnerRpcError
|
|
16412
|
-
}),
|
|
16412
|
+
}), make6("ApproveChangeRequest", {
|
|
16413
16413
|
payload: {
|
|
16414
16414
|
lease: ProgramLease,
|
|
16415
16415
|
step: String4,
|
|
@@ -16425,7 +16425,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16425
16425
|
Struct({ approved: Literal(false), reason: String4 })
|
|
16426
16426
|
]),
|
|
16427
16427
|
error: RunnerRpcError
|
|
16428
|
-
}),
|
|
16428
|
+
}), make6("CloseChangeRequest", {
|
|
16429
16429
|
payload: {
|
|
16430
16430
|
lease: ProgramLease,
|
|
16431
16431
|
step: String4,
|
|
@@ -16435,7 +16435,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16435
16435
|
},
|
|
16436
16436
|
success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
|
|
16437
16437
|
error: RunnerRpcError
|
|
16438
|
-
}),
|
|
16438
|
+
}), make6("RerunPipeline", {
|
|
16439
16439
|
payload: {
|
|
16440
16440
|
lease: ProgramLease,
|
|
16441
16441
|
step: String4,
|
|
@@ -16445,7 +16445,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16445
16445
|
},
|
|
16446
16446
|
success: Struct({ head: String4, pipelines: Int }),
|
|
16447
16447
|
error: RunnerRpcError
|
|
16448
|
-
}),
|
|
16448
|
+
}), make6("PublishRelease", {
|
|
16449
16449
|
payload: {
|
|
16450
16450
|
lease: ProgramLease,
|
|
16451
16451
|
step: String4,
|
|
@@ -16459,7 +16459,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16459
16459
|
},
|
|
16460
16460
|
success: Struct({ tag: String4, revision: String4, url: String4 }),
|
|
16461
16461
|
error: RunnerRpcError
|
|
16462
|
-
}),
|
|
16462
|
+
}), make6("RecordDeploy", {
|
|
16463
16463
|
payload: {
|
|
16464
16464
|
lease: ProgramLease,
|
|
16465
16465
|
step: String4,
|
|
@@ -16471,7 +16471,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16471
16471
|
},
|
|
16472
16472
|
success: Deploy,
|
|
16473
16473
|
error: RunnerRpcError
|
|
16474
|
-
}),
|
|
16474
|
+
}), make6("DeployTarget", {
|
|
16475
16475
|
payload: { lease: ProgramLease, step: String4, target: DeployTargetName },
|
|
16476
16476
|
success: Struct({
|
|
16477
16477
|
target: String4,
|
|
@@ -16479,14 +16479,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
16479
16479
|
order: optionalKey(ArraySchema(String4))
|
|
16480
16480
|
}),
|
|
16481
16481
|
error: RunnerRpcError
|
|
16482
|
-
}), RunHostStep,
|
|
16482
|
+
}), RunHostStep, make6("ProgramSecrets", {
|
|
16483
16483
|
payload: { lease: ProgramLease },
|
|
16484
16484
|
success: Record(String4, String4),
|
|
16485
16485
|
error: RunnerRpcError
|
|
16486
16486
|
})).middleware(RunnerAuthentication) {
|
|
16487
16487
|
}
|
|
16488
16488
|
|
|
16489
|
-
class RunnerRunFileRpcs extends make6(
|
|
16489
|
+
class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
|
|
16490
16490
|
payload: {
|
|
16491
16491
|
lease: ProgramLease,
|
|
16492
16492
|
step: String4,
|
|
@@ -16498,11 +16498,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
|
|
|
16498
16498
|
},
|
|
16499
16499
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
16500
16500
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
16501
|
-
}),
|
|
16501
|
+
}), make6("RunFileParts", {
|
|
16502
16502
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
16503
16503
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
16504
16504
|
error: RunnerRpcError
|
|
16505
|
-
}),
|
|
16505
|
+
}), make6("CompleteRunFile", {
|
|
16506
16506
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
16507
16507
|
success: RunFileRecord,
|
|
16508
16508
|
error: RunnerRpcError
|
|
@@ -16591,7 +16591,7 @@ function toStoredSession(token, existingRefreshToken) {
|
|
|
16591
16591
|
}
|
|
16592
16592
|
function startLoopbackServer(input) {
|
|
16593
16593
|
return gen(function* () {
|
|
16594
|
-
const code = yield*
|
|
16594
|
+
const code = yield* make16();
|
|
16595
16595
|
const context2 = yield* context();
|
|
16596
16596
|
const runSyncExit = runSyncExitWith(context2);
|
|
16597
16597
|
const server = yield* acquireRelease(sync2(() => Bun.serve({
|
|
@@ -17139,7 +17139,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
17139
17139
|
let lastId = 0;
|
|
17140
17140
|
let lost = false;
|
|
17141
17141
|
const notifications = yield* unbounded2();
|
|
17142
|
-
const ended = yield*
|
|
17142
|
+
const ended = yield* make16();
|
|
17143
17143
|
const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
|
|
17144
17144
|
onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
|
|
17145
17145
|
onNone: () => void_3,
|
|
@@ -17166,7 +17166,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
17166
17166
|
if (lost)
|
|
17167
17167
|
return yield* new HerdrCoreConnectionLost2({ method });
|
|
17168
17168
|
const id = ++lastId;
|
|
17169
|
-
const deferred = yield*
|
|
17169
|
+
const deferred = yield* make16();
|
|
17170
17170
|
pending.set(id, { method, deferred });
|
|
17171
17171
|
yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
|
|
17172
17172
|
return yield* _await(deferred);
|
|
@@ -17240,14 +17240,14 @@ var herdrCoreOver = (transport) => ({
|
|
|
17240
17240
|
return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
|
|
17241
17241
|
};
|
|
17242
17242
|
const snapshot = { type: "snapshot", terminals: subscribed.terminals };
|
|
17243
|
-
return concat(
|
|
17243
|
+
return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
|
|
17244
17244
|
}))
|
|
17245
17245
|
});
|
|
17246
17246
|
var spawnedTransport = (env) => gen(function* () {
|
|
17247
17247
|
const spawner = yield* ChildProcessSpawner;
|
|
17248
17248
|
const input = yield* unbounded2();
|
|
17249
17249
|
const encoder = new TextEncoder;
|
|
17250
|
-
const handle = yield* spawner.spawn(
|
|
17250
|
+
const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
|
|
17251
17251
|
extendEnv: false,
|
|
17252
17252
|
env,
|
|
17253
17253
|
stdin: fromQueue(input),
|
|
@@ -17278,7 +17278,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
|
|
|
17278
17278
|
const spawner = yield* ChildProcessSpawner;
|
|
17279
17279
|
const env = coreEnv(options);
|
|
17280
17280
|
const run = (args) => gen(function* () {
|
|
17281
|
-
const handle = yield* spawner.spawn(
|
|
17281
|
+
const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
|
|
17282
17282
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
17283
17283
|
mkString(decodeText(handle.stdout)),
|
|
17284
17284
|
mkString(decodeText(handle.stderr)),
|
|
@@ -17304,7 +17304,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
|
|
|
17304
17304
|
}
|
|
17305
17305
|
var runCommand2 = (command, args, options = {}) => gen(function* () {
|
|
17306
17306
|
const spawner = yield* ChildProcessSpawner;
|
|
17307
|
-
const handle = yield* spawner.spawn(
|
|
17307
|
+
const handle = yield* spawner.spawn(make3(command, args, {
|
|
17308
17308
|
stdin: "ignore",
|
|
17309
17309
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
17310
17310
|
...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
|
|
@@ -17330,8 +17330,8 @@ var shellOutputTailChars2 = 64 * 1024;
|
|
|
17330
17330
|
var runProcess2 = (argv, options) => gen(function* () {
|
|
17331
17331
|
const spawner = yield* ChildProcessSpawner;
|
|
17332
17332
|
const [command, ...args] = argv;
|
|
17333
|
-
const handle = yield* spawner.spawn(
|
|
17334
|
-
stdin: options.stdin === undefined ? "ignore" :
|
|
17333
|
+
const handle = yield* spawner.spawn(make3(command, args, {
|
|
17334
|
+
stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
|
|
17335
17335
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
17336
17336
|
env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
|
|
17337
17337
|
}));
|
|
@@ -17851,4 +17851,4 @@ function serviceChecks(declaration) {
|
|
|
17851
17851
|
return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
|
|
17852
17852
|
}
|
|
17853
17853
|
|
|
17854
|
-
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,
|
|
17854
|
+
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 };
|