@kitman-sh/cli 0.10.91 → 0.10.93
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-d82t42vr.js → chunk-15w92pn6.js} +16 -16
- package/dist/{chunk-5fxxg02f.js → chunk-2kr43ps6.js} +144 -337
- package/dist/{chunk-w0sehmpd.js → chunk-3r7ahnwy.js} +60 -14
- package/dist/{chunk-fgnfx5mw.js → chunk-4psvc86s.js} +212 -7
- package/dist/{chunk-6h0rz0zk.js → chunk-6aa8y66v.js} +4 -4
- package/dist/{chunk-sb8c2sgy.js → chunk-8tq7n7wc.js} +16 -16
- package/dist/{chunk-c3k32vw4.js → chunk-a244myqw.js} +1 -1
- package/dist/{chunk-cmtvcbxr.js → chunk-abf4m4b2.js} +5 -5
- package/dist/{chunk-dstm8aen.js → chunk-ampzxrqe.js} +28 -70
- package/dist/{chunk-k4fvnphp.js → chunk-bk3dpjxq.js} +1 -1
- package/dist/{chunk-tmbhak7y.js → chunk-c9wzakrx.js} +8 -8
- package/dist/{chunk-d9wjvvbc.js → chunk-dh3108wk.js} +5 -5
- package/dist/{chunk-mbqeakm1.js → chunk-et6qa95h.js} +1 -1
- package/dist/{chunk-hsf2sj69.js → chunk-fv6kgtze.js} +2 -2
- package/dist/{chunk-9m9cv82t.js → chunk-g3r5xp0t.js} +2 -2
- package/dist/{chunk-947btdv6.js → chunk-mcpesyz2.js} +3 -3
- package/dist/{chunk-2wsyg2g7.js → chunk-mjn42bxn.js} +32 -32
- package/dist/{chunk-gykt7zjx.js → chunk-q3nygncv.js} +7 -7
- package/dist/{chunk-gncygm43.js → chunk-qacvrg7j.js} +9 -9
- package/dist/{chunk-rmsm8vnc.js → chunk-rdv42ygn.js} +4 -4
- package/dist/{chunk-r6d67qqa.js → chunk-s3qgchay.js} +41 -33
- package/dist/{chunk-5tqy48a3.js → chunk-t7ncjd6s.js} +10 -10
- package/dist/{chunk-y1tnxz9f.js → chunk-tpdcq44c.js} +25 -25
- package/dist/{chunk-25q7mg6g.js → chunk-vjcn82g3.js} +17 -17
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
assignProperty,
|
|
39
39
|
PipeInspectableProto,
|
|
40
40
|
withFiber,
|
|
41
|
-
|
|
41
|
+
make14,
|
|
42
42
|
strictEqual,
|
|
43
43
|
Tuple,
|
|
44
44
|
Number2,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
Service2,
|
|
59
59
|
makeUnsafe4,
|
|
60
60
|
empty3,
|
|
61
|
-
|
|
61
|
+
make15,
|
|
62
62
|
add,
|
|
63
63
|
getOrUndefined2,
|
|
64
64
|
getOrUndefinedUnsafe,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
fail4,
|
|
92
92
|
isSuccess2,
|
|
93
93
|
makeUnsafe5,
|
|
94
|
-
|
|
94
|
+
make16,
|
|
95
95
|
_await,
|
|
96
96
|
fail5,
|
|
97
97
|
isDone,
|
|
@@ -194,9 +194,6 @@ import {
|
|
|
194
194
|
logError,
|
|
195
195
|
effectify,
|
|
196
196
|
decode,
|
|
197
|
-
isRedacted,
|
|
198
|
-
make16,
|
|
199
|
-
value,
|
|
200
197
|
defaultParseOptions,
|
|
201
198
|
omit,
|
|
202
199
|
map9,
|
|
@@ -245,7 +242,6 @@ import {
|
|
|
245
242
|
Class2,
|
|
246
243
|
Error3,
|
|
247
244
|
TaggedError2,
|
|
248
|
-
toEquivalence,
|
|
249
245
|
toCodecJson,
|
|
250
246
|
Json,
|
|
251
247
|
JsonObject,
|
|
@@ -253,45 +249,7 @@ import {
|
|
|
253
249
|
decodeJsonStringOption,
|
|
254
250
|
encodeJsonStringSync,
|
|
255
251
|
encodePrettyJsonString
|
|
256
|
-
} from "./chunk-
|
|
257
|
-
import {
|
|
258
|
-
ExitCode,
|
|
259
|
-
ProcessId,
|
|
260
|
-
makeHandle,
|
|
261
|
-
make,
|
|
262
|
-
ChildProcessSpawner,
|
|
263
|
-
display,
|
|
264
|
-
make2,
|
|
265
|
-
parseFdName,
|
|
266
|
-
fdName
|
|
267
|
-
} from "./chunk-w0sehmpd.js";
|
|
268
|
-
import {
|
|
269
|
-
isDateTime,
|
|
270
|
-
Numeric,
|
|
271
|
-
isWholeNumber,
|
|
272
|
-
guard,
|
|
273
|
-
Id,
|
|
274
|
-
Timestamp,
|
|
275
|
-
ActorType,
|
|
276
|
-
SecretName,
|
|
277
|
-
SecretScope,
|
|
278
|
-
SecretHosts,
|
|
279
|
-
isSecretReference
|
|
280
|
-
} from "./chunk-mbqeakm1.js";
|
|
281
|
-
import {
|
|
282
|
-
toJsonValue,
|
|
283
|
-
isOneOf,
|
|
284
|
-
isBigInt,
|
|
285
|
-
isBoolean,
|
|
286
|
-
isFunction,
|
|
287
|
-
isNumber,
|
|
288
|
-
isObject,
|
|
289
|
-
isJsonObject,
|
|
290
|
-
isString,
|
|
291
|
-
isSymbol,
|
|
292
|
-
isUndefined,
|
|
293
|
-
kindOf
|
|
294
|
-
} from "./chunk-k4fvnphp.js";
|
|
252
|
+
} from "./chunk-ampzxrqe.js";
|
|
295
253
|
import {
|
|
296
254
|
map,
|
|
297
255
|
makeEquivalence,
|
|
@@ -300,8 +258,8 @@ import {
|
|
|
300
258
|
systemError,
|
|
301
259
|
badArgument,
|
|
302
260
|
makeUnsafe2,
|
|
303
|
-
make7,
|
|
304
261
|
make8,
|
|
262
|
+
make9,
|
|
305
263
|
sliding,
|
|
306
264
|
unbounded2,
|
|
307
265
|
offer,
|
|
@@ -317,13 +275,13 @@ import {
|
|
|
317
275
|
isSink,
|
|
318
276
|
fromChannel,
|
|
319
277
|
drain,
|
|
320
|
-
|
|
278
|
+
make10,
|
|
321
279
|
get3,
|
|
322
280
|
isStream,
|
|
323
281
|
fromChannel2,
|
|
324
282
|
callback,
|
|
325
283
|
empty2,
|
|
326
|
-
|
|
284
|
+
make11,
|
|
327
285
|
suspend,
|
|
328
286
|
fail2,
|
|
329
287
|
fromQueue,
|
|
@@ -349,16 +307,57 @@ import {
|
|
|
349
307
|
mkArrayBuffer,
|
|
350
308
|
toReadableStreamEffect,
|
|
351
309
|
FileSystem,
|
|
352
|
-
|
|
310
|
+
make12,
|
|
353
311
|
FileTypeId,
|
|
354
312
|
WatchBackend,
|
|
355
313
|
Path,
|
|
356
|
-
|
|
314
|
+
make13,
|
|
357
315
|
option,
|
|
358
316
|
String2,
|
|
359
317
|
optionalEnv,
|
|
360
318
|
harnessesUnsupportedInSrt2
|
|
361
|
-
} from "./chunk-
|
|
319
|
+
} from "./chunk-vjcn82g3.js";
|
|
320
|
+
import {
|
|
321
|
+
isDateTime,
|
|
322
|
+
Numeric,
|
|
323
|
+
isWholeNumber,
|
|
324
|
+
guard,
|
|
325
|
+
Id,
|
|
326
|
+
Timestamp,
|
|
327
|
+
ActorType,
|
|
328
|
+
SecretName,
|
|
329
|
+
SecretScope,
|
|
330
|
+
SecretHosts,
|
|
331
|
+
isSecretReference
|
|
332
|
+
} from "./chunk-et6qa95h.js";
|
|
333
|
+
import {
|
|
334
|
+
toJsonValue,
|
|
335
|
+
isOneOf,
|
|
336
|
+
isBigInt,
|
|
337
|
+
isBoolean,
|
|
338
|
+
isFunction,
|
|
339
|
+
isNumber,
|
|
340
|
+
isObject,
|
|
341
|
+
isJsonObject,
|
|
342
|
+
isString,
|
|
343
|
+
isSymbol,
|
|
344
|
+
isUndefined,
|
|
345
|
+
kindOf
|
|
346
|
+
} from "./chunk-bk3dpjxq.js";
|
|
347
|
+
import {
|
|
348
|
+
isRedacted,
|
|
349
|
+
make,
|
|
350
|
+
value,
|
|
351
|
+
ExitCode,
|
|
352
|
+
ProcessId,
|
|
353
|
+
makeHandle,
|
|
354
|
+
make2,
|
|
355
|
+
ChildProcessSpawner,
|
|
356
|
+
display,
|
|
357
|
+
make3,
|
|
358
|
+
parseFdName,
|
|
359
|
+
fdName
|
|
360
|
+
} from "./chunk-3r7ahnwy.js";
|
|
362
361
|
|
|
363
362
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
364
363
|
var makeEquivalence3 = Tuple;
|
|
@@ -521,7 +520,7 @@ var makeUnsafe6 = (input) => {
|
|
|
521
520
|
var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
|
|
522
521
|
var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
|
|
523
522
|
var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
|
|
524
|
-
var
|
|
523
|
+
var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
|
|
525
524
|
var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
|
|
526
525
|
var nowUnsafe = () => makeUtc(Date.now());
|
|
527
526
|
var toDateUtc = (self) => new Date(self.epochMilliseconds);
|
|
@@ -911,7 +910,7 @@ var toNumber = (b) => {
|
|
|
911
910
|
|
|
912
911
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
|
|
913
912
|
var makeUnsafe = makeUnsafe6;
|
|
914
|
-
var make18 =
|
|
913
|
+
var make18 = make4;
|
|
915
914
|
var now2 = now;
|
|
916
915
|
var nowUnsafe2 = nowUnsafe;
|
|
917
916
|
var toDateUtc2 = toDateUtc;
|
|
@@ -1126,7 +1125,7 @@ var readableToPullUnsafe = (options) => {
|
|
|
1126
1125
|
const readable = options.readable;
|
|
1127
1126
|
const chunkSize = options.chunkSize ?? 4096;
|
|
1128
1127
|
const closeOnDone = options.closeOnDone ?? true;
|
|
1129
|
-
const exit = options.exit ??
|
|
1128
|
+
const exit = options.exit ?? make8(undefined);
|
|
1130
1129
|
const latch = options.latch ?? makeUnsafe2(false);
|
|
1131
1130
|
function onReadable() {
|
|
1132
1131
|
latch.openUnsafe();
|
|
@@ -1690,7 +1689,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1690
1689
|
const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
|
|
1691
1690
|
const toOption = options.to ?? "stdin";
|
|
1692
1691
|
if (toOption === "stdin") {
|
|
1693
|
-
handles.push(yield* spawnCommand(
|
|
1692
|
+
handles.push(yield* spawnCommand(make3(command.command, command.args, {
|
|
1694
1693
|
...command.options,
|
|
1695
1694
|
stdin: {
|
|
1696
1695
|
...stdinConfig,
|
|
@@ -1710,7 +1709,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1710
1709
|
type: "input",
|
|
1711
1710
|
stream: sourceStream
|
|
1712
1711
|
};
|
|
1713
|
-
handles.push(yield* spawnCommand(
|
|
1712
|
+
handles.push(yield* spawnCommand(make3(command.command, command.args, {
|
|
1714
1713
|
...command.options,
|
|
1715
1714
|
additionalFds: {
|
|
1716
1715
|
...existingFds,
|
|
@@ -1718,7 +1717,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1718
1717
|
}
|
|
1719
1718
|
})));
|
|
1720
1719
|
} else {
|
|
1721
|
-
handles.push(yield* spawnCommand(
|
|
1720
|
+
handles.push(yield* spawnCommand(make3(command.command, command.args, {
|
|
1722
1721
|
...command.options,
|
|
1723
1722
|
stdin: {
|
|
1724
1723
|
...stdinConfig,
|
|
@@ -1757,7 +1756,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
|
|
|
1757
1756
|
}
|
|
1758
1757
|
}
|
|
1759
1758
|
});
|
|
1760
|
-
return
|
|
1759
|
+
return make2(spawnCommand);
|
|
1761
1760
|
});
|
|
1762
1761
|
var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
|
|
1763
1762
|
var flattenCommand = (command) => {
|
|
@@ -2243,7 +2242,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
|
|
|
2243
2242
|
resume(fail7(handleBadArgument("writeFile")(err)));
|
|
2244
2243
|
}
|
|
2245
2244
|
});
|
|
2246
|
-
var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) =>
|
|
2245
|
+
var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
|
|
2247
2246
|
access: access2,
|
|
2248
2247
|
chmod: chmod2,
|
|
2249
2248
|
chown: chown2,
|
|
@@ -2303,15 +2302,15 @@ var fileUrlOps = (windows) => ({
|
|
|
2303
2302
|
})
|
|
2304
2303
|
})
|
|
2305
2304
|
});
|
|
2306
|
-
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2305
|
+
var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2307
2306
|
...NodePath.posix,
|
|
2308
2307
|
.../* @__PURE__ */ fileUrlOps(false)
|
|
2309
2308
|
}));
|
|
2310
|
-
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2309
|
+
var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2311
2310
|
...NodePath.win32,
|
|
2312
2311
|
.../* @__PURE__ */ fileUrlOps(true)
|
|
2313
2312
|
}));
|
|
2314
|
-
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */
|
|
2313
|
+
var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
|
|
2315
2314
|
...NodePath,
|
|
2316
2315
|
.../* @__PURE__ */ fileUrlOps(undefined)
|
|
2317
2316
|
}));
|
|
@@ -2833,12 +2832,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
|
2833
2832
|
if (typeof key === "string") {
|
|
2834
2833
|
const k = key.toLowerCase();
|
|
2835
2834
|
if (k in self) {
|
|
2836
|
-
out[k] =
|
|
2835
|
+
out[k] = make(self[k]);
|
|
2837
2836
|
}
|
|
2838
2837
|
} else {
|
|
2839
2838
|
for (const name in self) {
|
|
2840
2839
|
if (name.search(key) !== -1) {
|
|
2841
|
-
out[name] =
|
|
2840
|
+
out[name] = make(self[name]);
|
|
2842
2841
|
}
|
|
2843
2842
|
}
|
|
2844
2843
|
}
|
|
@@ -2945,7 +2944,7 @@ var fromInputNested = (input) => {
|
|
|
2945
2944
|
return out;
|
|
2946
2945
|
};
|
|
2947
2946
|
var coerce = (value) => isRedacted(value) ? value : String(value);
|
|
2948
|
-
var Equivalence3 = /* @__PURE__ */
|
|
2947
|
+
var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
|
|
2949
2948
|
var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
|
|
2950
2949
|
var empty4 = /* @__PURE__ */ make23([]);
|
|
2951
2950
|
var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
@@ -2964,7 +2963,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
|
2964
2963
|
var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
|
|
2965
2964
|
var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
2966
2965
|
const patterns = Array.isArray(key) ? key : [key];
|
|
2967
|
-
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ?
|
|
2966
|
+
return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
|
|
2968
2967
|
});
|
|
2969
2968
|
var isRedactedName2 = isRedactedName;
|
|
2970
2969
|
var redactUrl = (url, redactedNames = currentRedactedNames()) => {
|
|
@@ -3040,7 +3039,7 @@ import * as readline from "readline";
|
|
|
3040
3039
|
var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
|
|
3041
3040
|
const stdin = process.stdin;
|
|
3042
3041
|
const stdout = process.stdout;
|
|
3043
|
-
const lines = yield*
|
|
3042
|
+
const lines = yield* make9();
|
|
3044
3043
|
let inputEnded = stdin.readableEnded;
|
|
3045
3044
|
let readlineActive = false;
|
|
3046
3045
|
const onStdinEnd = () => {
|
|
@@ -3051,7 +3050,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3051
3050
|
};
|
|
3052
3051
|
stdin.once("end", onStdinEnd);
|
|
3053
3052
|
yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
|
|
3054
|
-
const rlRef = yield*
|
|
3053
|
+
const rlRef = yield* make10({
|
|
3055
3054
|
acquire: acquireRelease(sync2(() => {
|
|
3056
3055
|
const rl = readline.createInterface({
|
|
3057
3056
|
input: stdin,
|
|
@@ -3090,7 +3089,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3090
3089
|
if (stdin.isTTY)
|
|
3091
3090
|
stdin.setRawMode(enabled);
|
|
3092
3091
|
});
|
|
3093
|
-
const rawModeRef = yield*
|
|
3092
|
+
const rawModeRef = yield* make10({
|
|
3094
3093
|
acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
|
|
3095
3094
|
idleTimeToLive: "10 millis"
|
|
3096
3095
|
});
|
|
@@ -3111,7 +3110,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
|
|
|
3111
3110
|
return queue;
|
|
3112
3111
|
});
|
|
3113
3112
|
const readInput = gen(function* () {
|
|
3114
|
-
const queue = yield*
|
|
3113
|
+
const queue = yield* make9();
|
|
3115
3114
|
const handleKeypress = (s, k) => {
|
|
3116
3115
|
const userInput = {
|
|
3117
3116
|
input: fromUndefinedOr(s),
|
|
@@ -6904,6 +6903,7 @@ var WorkUnitOutcome = Struct({
|
|
|
6904
6903
|
boundary: optionalKey(BoundaryChange),
|
|
6905
6904
|
catchUp: optionalKey(CatchUp),
|
|
6906
6905
|
syncedTarget: optionalKey(Revision),
|
|
6906
|
+
cleanSync: optionalKey(Literals(["up_to_date", "merged"])),
|
|
6907
6907
|
harnessHold: optionalKey(HarnessHold),
|
|
6908
6908
|
restart: optionalKey(StepRestart),
|
|
6909
6909
|
failureSummary: optionalKey(String4.check(isMinLength(1), isMaxLength(4000)))
|
|
@@ -9317,85 +9317,6 @@ function sha256Hasher() {
|
|
|
9317
9317
|
digest: (encoding) => hash.digest(encoding)
|
|
9318
9318
|
};
|
|
9319
9319
|
}
|
|
9320
|
-
// packages/core/src/schedule.ts
|
|
9321
|
-
var ScheduleFrequency = ["daily", "weekly"];
|
|
9322
|
-
var ScheduleMisfirePolicies = ["skip", "fire_once", "catch_up"];
|
|
9323
|
-
var ScheduleOverlapPolicies = ["allow", "skip", "coalesce"];
|
|
9324
|
-
var ScheduleVersionStatuses = ["draft", "published", "disabled", "archived"];
|
|
9325
|
-
var ScheduleCalendarRule = Struct({
|
|
9326
|
-
frequency: Literals(ScheduleFrequency),
|
|
9327
|
-
hour: Int.check(isGreaterThanOrEqualTo(0), isLessThanOrEqualTo(23)),
|
|
9328
|
-
minute: Int.check(isGreaterThanOrEqualTo(0), isLessThanOrEqualTo(59)),
|
|
9329
|
-
second: optionalKey(Int.check(isGreaterThanOrEqualTo(0), isLessThanOrEqualTo(59))),
|
|
9330
|
-
daysOfWeek: optionalKey(ArraySchema(Int.check(isGreaterThanOrEqualTo(0), isLessThanOrEqualTo(6))).check(isMinLength(1), isMaxLength(7)))
|
|
9331
|
-
});
|
|
9332
|
-
var ScheduleCronRule = Struct({
|
|
9333
|
-
cron: String4.check(isMinLength(9), isMaxLength(200), isPattern(new RegExp("^[0-9*,/-]+( [0-9*,/-]+){4}$", "u")))
|
|
9334
|
-
});
|
|
9335
|
-
var ScheduleRule = Union([ScheduleCalendarRule, ScheduleCronRule]);
|
|
9336
|
-
var cronBounds = [
|
|
9337
|
-
[0, 59],
|
|
9338
|
-
[0, 23],
|
|
9339
|
-
[1, 31],
|
|
9340
|
-
[1, 12],
|
|
9341
|
-
[0, 7]
|
|
9342
|
-
];
|
|
9343
|
-
function cronField(field, [min, max]) {
|
|
9344
|
-
const values = new Set;
|
|
9345
|
-
for (const part of field.split(",")) {
|
|
9346
|
-
const match = /^(\*|(\d+)(?:-(\d+))?)(?:\/(\d+))?$/.exec(part);
|
|
9347
|
-
if (match === null)
|
|
9348
|
-
return;
|
|
9349
|
-
const from = match[1] === "*" ? min : Number(match[2]);
|
|
9350
|
-
const to = match[1] === "*" ? max : match[3] === undefined ? match[4] === undefined ? from : max : Number(match[3]);
|
|
9351
|
-
const step = match[4] === undefined ? 1 : Number(match[4]);
|
|
9352
|
-
if (from < min || to > max || from > to || step < 1)
|
|
9353
|
-
return;
|
|
9354
|
-
for (let value = from;value <= to; value += step)
|
|
9355
|
-
values.add(value);
|
|
9356
|
-
}
|
|
9357
|
-
return values;
|
|
9358
|
-
}
|
|
9359
|
-
function parseCron(cron) {
|
|
9360
|
-
const fields = cron.split(" ");
|
|
9361
|
-
const [minutes, hours, days, months, weekdays] = fields.map((field, index) => cronField(field, cronBounds[index] ?? [0, 0]));
|
|
9362
|
-
if (fields.length !== 5 || !minutes || !hours || !days || !months || !weekdays)
|
|
9363
|
-
return;
|
|
9364
|
-
return {
|
|
9365
|
-
minutes,
|
|
9366
|
-
hours,
|
|
9367
|
-
days,
|
|
9368
|
-
months,
|
|
9369
|
-
weekdays: new Set([...weekdays].map((value) => value % 7)),
|
|
9370
|
-
dayRestricted: !(fields[2] ?? "").startsWith("*"),
|
|
9371
|
-
weekdayRestricted: !(fields[4] ?? "").startsWith("*")
|
|
9372
|
-
};
|
|
9373
|
-
}
|
|
9374
|
-
function isScheduleRule(value) {
|
|
9375
|
-
return guard(ScheduleRule)(value) && (!("cron" in value) || parseCron(value.cron) !== undefined);
|
|
9376
|
-
}
|
|
9377
|
-
var ScheduleVersion = Struct({
|
|
9378
|
-
contractVersion: Literal("schedule.v1"),
|
|
9379
|
-
id: String4.check(isMinLength(1)),
|
|
9380
|
-
scheduleId: String4.check(isMinLength(1)),
|
|
9381
|
-
workspaceId: String4.check(isMinLength(1)),
|
|
9382
|
-
teamId: optionalKey(String4.check(isMinLength(1))),
|
|
9383
|
-
loopId: optionalKey(String4.check(isMinLength(1))),
|
|
9384
|
-
name: optionalKey(String4.check(isMinLength(1), isMaxLength(200))),
|
|
9385
|
-
version: Int.check(isGreaterThanOrEqualTo(1)),
|
|
9386
|
-
status: Literals(ScheduleVersionStatuses),
|
|
9387
|
-
timezone: String4.check(isMinLength(1), isMaxLength(80)),
|
|
9388
|
-
rule: ScheduleRule,
|
|
9389
|
-
misfirePolicy: Literals(ScheduleMisfirePolicies),
|
|
9390
|
-
overlapPolicy: Literals(ScheduleOverlapPolicies),
|
|
9391
|
-
maxCatchUp: Int.check(isGreaterThanOrEqualTo(0), isLessThanOrEqualTo(200)),
|
|
9392
|
-
misfireGraceSeconds: optionalKey(Int.check(isGreaterThanOrEqualTo(0), isLessThanOrEqualTo(604800))),
|
|
9393
|
-
inputSchemaRef: optionalKey(LoopDataSchemaRef),
|
|
9394
|
-
input: optionalKey(SafeJson),
|
|
9395
|
-
createdAt: String4.check(isMinLength(1))
|
|
9396
|
-
});
|
|
9397
|
-
var zones = new Map;
|
|
9398
|
-
var resolvedLocalDateTimes = new Map;
|
|
9399
9320
|
// packages/core/src/transcript.ts
|
|
9400
9321
|
var Text = String4.check(isMaxLength(200000));
|
|
9401
9322
|
var AgentEvent = Union([
|
|
@@ -9784,14 +9705,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
|
|
|
9784
9705
|
return self;
|
|
9785
9706
|
}
|
|
9786
9707
|
var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
|
|
9787
|
-
var
|
|
9708
|
+
var make5 = (method) => (url, options) => modify(empty6, {
|
|
9788
9709
|
method,
|
|
9789
9710
|
url,
|
|
9790
9711
|
...options ?? undefined
|
|
9791
9712
|
});
|
|
9792
|
-
var get = /* @__PURE__ */
|
|
9793
|
-
var post = /* @__PURE__ */
|
|
9794
|
-
var put = /* @__PURE__ */
|
|
9713
|
+
var get = /* @__PURE__ */ make5("GET");
|
|
9714
|
+
var post = /* @__PURE__ */ make5("POST");
|
|
9715
|
+
var put = /* @__PURE__ */ make5("PUT");
|
|
9795
9716
|
var modify = /* @__PURE__ */ dual(2, (self, options) => {
|
|
9796
9717
|
let result = self;
|
|
9797
9718
|
if (options.method) {
|
|
@@ -10092,7 +10013,7 @@ var Proto7 = {
|
|
|
10092
10013
|
};
|
|
10093
10014
|
},
|
|
10094
10015
|
.../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
|
|
10095
|
-
return this.execute(
|
|
10016
|
+
return this.execute(make5(fullMethod)(url, options));
|
|
10096
10017
|
}]))
|
|
10097
10018
|
};
|
|
10098
10019
|
var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
|
|
@@ -11319,120 +11240,6 @@ var DeployBindingCreate = Struct({
|
|
|
11319
11240
|
});
|
|
11320
11241
|
var DeployBindingList = Struct({ items: ArraySchema(DeployBinding) });
|
|
11321
11242
|
var defaultKitName = "@kitman-sh/software-engineering";
|
|
11322
|
-
|
|
11323
|
-
// packages/core/src/kit-declarations.ts
|
|
11324
|
-
var LoopCapabilities = [
|
|
11325
|
-
"agent_work",
|
|
11326
|
-
"ask",
|
|
11327
|
-
"call",
|
|
11328
|
-
"verify",
|
|
11329
|
-
"change_request",
|
|
11330
|
-
"write_back",
|
|
11331
|
-
"post_comment",
|
|
11332
|
-
"create_tasks",
|
|
11333
|
-
"merge_change_request",
|
|
11334
|
-
"approve_change_request",
|
|
11335
|
-
"publish_release",
|
|
11336
|
-
"read_transcripts",
|
|
11337
|
-
"read_change_request",
|
|
11338
|
-
"measure",
|
|
11339
|
-
"claim",
|
|
11340
|
-
"propose",
|
|
11341
|
-
"read_project",
|
|
11342
|
-
"draft_update"
|
|
11343
|
-
];
|
|
11344
|
-
var JsonObject2 = Record(String4, Json);
|
|
11345
|
-
var SecretName2 = String4.check(isPattern(/^[A-Za-z_][A-Za-z0-9_]{0,127}$/));
|
|
11346
|
-
var EventFilterValue = Union([String4, Finite, Boolean2, Null]);
|
|
11347
|
-
var LoopManifest = Struct({
|
|
11348
|
-
id: String4,
|
|
11349
|
-
title: String4,
|
|
11350
|
-
version: optionalKey(LoopVersion),
|
|
11351
|
-
input: JsonObject2,
|
|
11352
|
-
output: JsonObject2,
|
|
11353
|
-
outcome: optionalKey(Literals(["feature", "bug", "refactor", "investigation", "docs", "migration", "performance"])),
|
|
11354
|
-
agents: Record(String4, String4),
|
|
11355
|
-
checkout: Literals(["none", "read", "write"]),
|
|
11356
|
-
when: ArraySchema(Struct({
|
|
11357
|
-
event: String4,
|
|
11358
|
-
filter: optionalKey(Record(String4, Union([EventFilterValue, ArraySchema(EventFilterValue)]))),
|
|
11359
|
-
input: Record(String4, String4),
|
|
11360
|
-
values: optionalKey(JsonObject2)
|
|
11361
|
-
})),
|
|
11362
|
-
offers: ArraySchema(Struct({
|
|
11363
|
-
id: String4,
|
|
11364
|
-
title: String4,
|
|
11365
|
-
loop: String4,
|
|
11366
|
-
from: optionalKey(String4)
|
|
11367
|
-
})),
|
|
11368
|
-
capabilities: ArraySchema(Literals(LoopCapabilities)),
|
|
11369
|
-
ownCapabilities: optionalKey(ArraySchema(Literals(LoopCapabilities))),
|
|
11370
|
-
secrets: optionalKey(ArraySchema(SecretName2)),
|
|
11371
|
-
network: optionalKey(AgentSandboxNetwork),
|
|
11372
|
-
schedule: optionalKey(Struct({ rule: ScheduleRule, timezone: String4 }))
|
|
11373
|
-
});
|
|
11374
|
-
var LoopDetail = Struct({
|
|
11375
|
-
id: String4,
|
|
11376
|
-
resolved: optionalKey(Struct({
|
|
11377
|
-
...ProgramLoop.fields,
|
|
11378
|
-
agents: LoopManifest.fields.agents,
|
|
11379
|
-
when: LoopManifest.fields.when,
|
|
11380
|
-
schedule: optionalKey(Struct({
|
|
11381
|
-
rule: ScheduleRule,
|
|
11382
|
-
timezone: String4,
|
|
11383
|
-
on: Boolean2,
|
|
11384
|
-
nextRunAt: optionalKey(String4)
|
|
11385
|
-
}))
|
|
11386
|
-
}))
|
|
11387
|
-
});
|
|
11388
|
-
var AgentDeclaration = Struct({
|
|
11389
|
-
extends: optionalKey(String4),
|
|
11390
|
-
instructions: optionalKey(String4),
|
|
11391
|
-
harness: optionalKey(String4),
|
|
11392
|
-
model: optionalKey(String4),
|
|
11393
|
-
effort: optionalKey(Literals(AgentEfforts)),
|
|
11394
|
-
fallbacks: optionalKey(ArraySchema(AgentFallback)),
|
|
11395
|
-
tools: optionalKey(ArraySchema(Literals(AgentCapabilities))),
|
|
11396
|
-
skills: optionalKey(ArraySchema(String4.check(isMinLength(1)))),
|
|
11397
|
-
network: optionalKey(Union([Struct({ hosts: ArraySchema(String4) }), Literal("open")])),
|
|
11398
|
-
sandbox: optionalKey(Literal("docker"))
|
|
11399
|
-
});
|
|
11400
|
-
var scheduleFields = {
|
|
11401
|
-
name: String4.check(isMinLength(1)),
|
|
11402
|
-
loop: String4,
|
|
11403
|
-
team: optionalKey(String4),
|
|
11404
|
-
input: optionalKey(JsonObject2),
|
|
11405
|
-
timezone: String4,
|
|
11406
|
-
misfire: optionalKey(Literals(ScheduleMisfirePolicies)),
|
|
11407
|
-
overlap: optionalKey(Literals(ScheduleOverlapPolicies))
|
|
11408
|
-
};
|
|
11409
|
-
var ScheduleDeclaration = Union([
|
|
11410
|
-
Struct({
|
|
11411
|
-
...scheduleFields,
|
|
11412
|
-
cron: String4.check(makeFilter((cron) => isScheduleRule({ cron }) || "five cron fields, each within its range"))
|
|
11413
|
-
}),
|
|
11414
|
-
Struct({
|
|
11415
|
-
...scheduleFields,
|
|
11416
|
-
rule: declare((value) => isScheduleRule(value), {
|
|
11417
|
-
expected: "a Schedule rule: frequency daily or weekly, hour, minute, and optionally second and daysOfWeek"
|
|
11418
|
-
})
|
|
11419
|
-
})
|
|
11420
|
-
]);
|
|
11421
|
-
var CarriedKit = Struct({
|
|
11422
|
-
name: KitName,
|
|
11423
|
-
version: String4.check(isMinLength(1)),
|
|
11424
|
-
setup: KitDigest,
|
|
11425
|
-
loops: ArraySchema(String4),
|
|
11426
|
-
agents: ArraySchema(String4)
|
|
11427
|
-
});
|
|
11428
|
-
var KitDeclarations = Struct({
|
|
11429
|
-
loops: ArraySchema(LoopManifest),
|
|
11430
|
-
agents: Record(String4, AgentDeclaration),
|
|
11431
|
-
schedules: optionalKey(Record(String4, ScheduleDeclaration)),
|
|
11432
|
-
carried: optionalKey(ArraySchema(CarriedKit))
|
|
11433
|
-
});
|
|
11434
|
-
var sameLoop = toEquivalence(LoopManifest);
|
|
11435
|
-
var sameAgent = toEquivalence(AgentDeclaration);
|
|
11436
11243
|
// packages/core/src/kit-setup.ts
|
|
11437
11244
|
var KitSetup = Struct({
|
|
11438
11245
|
...AgentEnvironmentFragment.fields,
|
|
@@ -13813,7 +13620,7 @@ var makeProto = (options) => {
|
|
|
13813
13620
|
Rpc.key = `effect/rpc/Rpc/${options._tag}`;
|
|
13814
13621
|
return Rpc;
|
|
13815
13622
|
};
|
|
13816
|
-
var
|
|
13623
|
+
var make6 = (tag, options) => {
|
|
13817
13624
|
const successSchema = options?.success ?? Void;
|
|
13818
13625
|
const errorSchema = options?.error ?? Never;
|
|
13819
13626
|
const defectSchema = options?.defect ?? Defect();
|
|
@@ -14024,7 +13831,7 @@ var RpcGroupProto = {
|
|
|
14024
13831
|
});
|
|
14025
13832
|
},
|
|
14026
13833
|
annotateRpcs(service, value) {
|
|
14027
|
-
return this.annotateRpcsMerge(
|
|
13834
|
+
return this.annotateRpcsMerge(make15(service, value));
|
|
14028
13835
|
},
|
|
14029
13836
|
annotateMerge(context) {
|
|
14030
13837
|
return makeProto2({
|
|
@@ -14047,7 +13854,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
|
|
|
14047
13854
|
requests: options.requests,
|
|
14048
13855
|
annotations: options.annotations
|
|
14049
13856
|
});
|
|
14050
|
-
var
|
|
13857
|
+
var make7 = (...rpcs) => makeProto2({
|
|
14051
13858
|
requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
|
|
14052
13859
|
annotations: empty3()
|
|
14053
13860
|
});
|
|
@@ -14090,7 +13897,7 @@ class RunnerAuthentication extends Service()("RunnerAuthentication", {
|
|
|
14090
13897
|
error: RunnerRpcError
|
|
14091
13898
|
}) {
|
|
14092
13899
|
}
|
|
14093
|
-
var
|
|
13900
|
+
var EventFilterValue = Union([String4, Finite, Boolean2, Null]);
|
|
14094
13901
|
var WorkAvailable = TaggedStruct("WorkAvailable", {});
|
|
14095
13902
|
var LeaseRevoked = TaggedStruct("LeaseRevoked", { workUnitId: String4 });
|
|
14096
13903
|
var Settled = TaggedStruct("Settled", { workUnitId: String4 });
|
|
@@ -14154,96 +13961,96 @@ var ProgramOutcome = Union([
|
|
|
14154
13961
|
Struct({ status: Literal("failed"), failureSummary: String4 })
|
|
14155
13962
|
]);
|
|
14156
13963
|
|
|
14157
|
-
class RunnerReplicaRpcs extends make6(
|
|
13964
|
+
class RunnerReplicaRpcs extends make7(make6("Claim", {
|
|
14158
13965
|
payload: WorkUnitClaimInput,
|
|
14159
13966
|
success: WorkUnitClaimResult,
|
|
14160
13967
|
error: RunnerRpcError
|
|
14161
|
-
}),
|
|
13968
|
+
}), make6("Heartbeat", {
|
|
14162
13969
|
payload: WorkUnitHeartbeatInput,
|
|
14163
13970
|
success: WorkUnitHeartbeatResult,
|
|
14164
13971
|
error: RunnerRpcError
|
|
14165
|
-
}),
|
|
13972
|
+
}), make6("Complete", {
|
|
14166
13973
|
payload: WorkUnitCompletion,
|
|
14167
13974
|
error: RunnerRpcError
|
|
14168
|
-
}),
|
|
13975
|
+
}), make6("Release", {
|
|
14169
13976
|
payload: WorkUnitReleaseInput,
|
|
14170
13977
|
error: RunnerRpcError
|
|
14171
|
-
}),
|
|
13978
|
+
}), make6("Signals", {
|
|
14172
13979
|
payload: { runnerReplicaId: String4 },
|
|
14173
13980
|
success: RunnerSignal,
|
|
14174
13981
|
error: RunnerRpcError,
|
|
14175
13982
|
stream: true
|
|
14176
|
-
}),
|
|
13983
|
+
}), make6("ReportSteer", {
|
|
14177
13984
|
payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
|
|
14178
13985
|
success: Void,
|
|
14179
13986
|
error: RunnerRpcError
|
|
14180
|
-
}),
|
|
13987
|
+
}), make6("AppendTranscript", {
|
|
14181
13988
|
payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
|
|
14182
13989
|
success: Void,
|
|
14183
13990
|
error: RunnerRpcError
|
|
14184
|
-
}),
|
|
13991
|
+
}), make6("CreateCheckpointFile", {
|
|
14185
13992
|
payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
|
|
14186
13993
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
14187
13994
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
14188
|
-
}),
|
|
13995
|
+
}), make6("CheckpointFileParts", {
|
|
14189
13996
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
14190
13997
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
14191
13998
|
error: RunnerRpcError
|
|
14192
|
-
}),
|
|
13999
|
+
}), make6("CompleteCheckpointFile", {
|
|
14193
14000
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
14194
14001
|
success: RunFileRecord,
|
|
14195
14002
|
error: RunnerRpcError
|
|
14196
|
-
}),
|
|
14003
|
+
}), make6("SaveCheckpoint", {
|
|
14197
14004
|
payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
|
|
14198
14005
|
success: Void,
|
|
14199
14006
|
error: RunnerRpcError
|
|
14200
|
-
}),
|
|
14007
|
+
}), make6("ResumeCheckpoint", {
|
|
14201
14008
|
payload: { lease: ProgramLease },
|
|
14202
14009
|
success: UndefinedOr(ResumedCheckpoint),
|
|
14203
14010
|
error: RunnerRpcError
|
|
14204
|
-
}),
|
|
14011
|
+
}), make6("SettledCheckpoints", {
|
|
14205
14012
|
success: ArraySchema(Struct({
|
|
14206
14013
|
stepAttemptId: String4,
|
|
14207
14014
|
ref: optionalKey(String4),
|
|
14208
14015
|
repoBinding: optionalKey(WorkUnitRepoBinding)
|
|
14209
14016
|
})),
|
|
14210
14017
|
error: RunnerRpcError
|
|
14211
|
-
}),
|
|
14018
|
+
}), make6("ForgetCheckpoints", {
|
|
14212
14019
|
payload: { stepAttemptIds: ArraySchema(String4) },
|
|
14213
14020
|
success: Void,
|
|
14214
14021
|
error: RunnerRpcError
|
|
14215
|
-
}),
|
|
14022
|
+
}), make6("GitCredential", {
|
|
14216
14023
|
payload: { repoBindingId: String4 },
|
|
14217
14024
|
success: UndefinedOr(Struct({ username: String4, password: String4 })),
|
|
14218
14025
|
error: RunnerRpcError
|
|
14219
|
-
}),
|
|
14026
|
+
}), make6("Bundle", {
|
|
14220
14027
|
payload: { digest: String4 },
|
|
14221
14028
|
success: Struct({ bundle: String4 }),
|
|
14222
14029
|
error: RunnerRpcError
|
|
14223
|
-
}),
|
|
14030
|
+
}), make6("SettledRuns", {
|
|
14224
14031
|
payload: { runIds: ArraySchema(String4) },
|
|
14225
14032
|
success: ArraySchema(String4),
|
|
14226
14033
|
error: RunnerRpcError
|
|
14227
|
-
}),
|
|
14034
|
+
}), make6("KnownEvidence", {
|
|
14228
14035
|
payload: { lease: ProgramLease, trees: ArraySchema(String4) },
|
|
14229
14036
|
success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
|
|
14230
14037
|
error: RunnerRpcError
|
|
14231
14038
|
})).middleware(RunnerAuthentication) {
|
|
14232
14039
|
}
|
|
14233
14040
|
|
|
14234
|
-
class RunnerJournalRpcs extends make6(
|
|
14041
|
+
class RunnerJournalRpcs extends make7(make6("RecordActivity", {
|
|
14235
14042
|
payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
|
|
14236
14043
|
error: RunnerRpcError
|
|
14237
|
-
}),
|
|
14044
|
+
}), make6("DeferredDone", {
|
|
14238
14045
|
payload: { lease: ProgramLease, name: String4, exit: Json },
|
|
14239
14046
|
error: RunnerRpcError
|
|
14240
|
-
}),
|
|
14047
|
+
}), make6("ScheduleClock", {
|
|
14241
14048
|
payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
|
|
14242
14049
|
error: RunnerRpcError
|
|
14243
|
-
}),
|
|
14050
|
+
}), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
|
|
14244
14051
|
}
|
|
14245
14052
|
|
|
14246
|
-
class RunnerCapabilityRpcs extends make6(
|
|
14053
|
+
class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
14247
14054
|
payload: {
|
|
14248
14055
|
lease: ProgramLease,
|
|
14249
14056
|
step: String4,
|
|
@@ -14262,7 +14069,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14262
14069
|
},
|
|
14263
14070
|
success: Struct({ questionId: String4 }),
|
|
14264
14071
|
error: RunnerRpcError
|
|
14265
|
-
}),
|
|
14072
|
+
}), make6("StartAgentStep", {
|
|
14266
14073
|
payload: {
|
|
14267
14074
|
lease: ProgramLease,
|
|
14268
14075
|
step: String4,
|
|
@@ -14278,7 +14085,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14278
14085
|
},
|
|
14279
14086
|
success: Struct({ stepAttemptId: String4 }),
|
|
14280
14087
|
error: RunnerRpcError
|
|
14281
|
-
}),
|
|
14088
|
+
}), make6("StartVerification", {
|
|
14282
14089
|
payload: {
|
|
14283
14090
|
lease: ProgramLease,
|
|
14284
14091
|
step: String4,
|
|
@@ -14297,23 +14104,23 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14297
14104
|
},
|
|
14298
14105
|
success: Struct({ verificationId: String4 }),
|
|
14299
14106
|
error: RunnerRpcError
|
|
14300
|
-
}),
|
|
14107
|
+
}), make6("AwaitEvent", {
|
|
14301
14108
|
payload: {
|
|
14302
14109
|
lease: ProgramLease,
|
|
14303
14110
|
step: String4,
|
|
14304
14111
|
deferredName: String4,
|
|
14305
14112
|
event: String4,
|
|
14306
|
-
filter: optional(Record(String4, Union([
|
|
14113
|
+
filter: optional(Record(String4, Union([EventFilterValue, ArraySchema(EventFilterValue)]))),
|
|
14307
14114
|
timeoutMillis: Int,
|
|
14308
14115
|
since: optionalKey(String4),
|
|
14309
14116
|
or: optionalKey(ArraySchema(Struct({
|
|
14310
14117
|
event: String4,
|
|
14311
|
-
filter: optionalKey(Record(String4, Union([
|
|
14118
|
+
filter: optionalKey(Record(String4, Union([EventFilterValue, ArraySchema(EventFilterValue)]))),
|
|
14312
14119
|
since: optionalKey(String4)
|
|
14313
14120
|
})))
|
|
14314
14121
|
},
|
|
14315
14122
|
error: RunnerRpcError
|
|
14316
|
-
}),
|
|
14123
|
+
}), make6("ClaimResource", {
|
|
14317
14124
|
payload: {
|
|
14318
14125
|
lease: ProgramLease,
|
|
14319
14126
|
step: String4,
|
|
@@ -14322,7 +14129,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14322
14129
|
action: Literals(["claim", "take_over", "let_go"])
|
|
14323
14130
|
},
|
|
14324
14131
|
error: RunnerRpcError
|
|
14325
|
-
}),
|
|
14132
|
+
}), make6("AdmitChild", {
|
|
14326
14133
|
payload: {
|
|
14327
14134
|
lease: ProgramLease,
|
|
14328
14135
|
step: String4,
|
|
@@ -14333,7 +14140,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14333
14140
|
},
|
|
14334
14141
|
success: Struct({ runId: String4 }),
|
|
14335
14142
|
error: RunnerRpcError
|
|
14336
|
-
}),
|
|
14143
|
+
}), make6("StoreArtifact", {
|
|
14337
14144
|
payload: {
|
|
14338
14145
|
lease: ProgramLease,
|
|
14339
14146
|
step: String4,
|
|
@@ -14345,7 +14152,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14345
14152
|
},
|
|
14346
14153
|
success: Struct({ artifactId: String4 }),
|
|
14347
14154
|
error: RunnerRpcError
|
|
14348
|
-
}),
|
|
14155
|
+
}), make6("RecordNote", {
|
|
14349
14156
|
payload: {
|
|
14350
14157
|
lease: ProgramLease,
|
|
14351
14158
|
step: String4,
|
|
@@ -14354,7 +14161,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14354
14161
|
kind: optional(Literals(["note", "blocker"]))
|
|
14355
14162
|
},
|
|
14356
14163
|
error: RunnerRpcError
|
|
14357
|
-
}),
|
|
14164
|
+
}), make6("PerformHostEffect", {
|
|
14358
14165
|
payload: {
|
|
14359
14166
|
lease: ProgramLease,
|
|
14360
14167
|
step: String4,
|
|
@@ -14382,7 +14189,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14382
14189
|
},
|
|
14383
14190
|
success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
|
|
14384
14191
|
error: RunnerRpcError
|
|
14385
|
-
}),
|
|
14192
|
+
}), make6("AlertTask", {
|
|
14386
14193
|
payload: {
|
|
14387
14194
|
lease: ProgramLease,
|
|
14388
14195
|
step: String4,
|
|
@@ -14399,7 +14206,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14399
14206
|
joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
|
|
14400
14207
|
}),
|
|
14401
14208
|
error: RunnerRpcError
|
|
14402
|
-
}),
|
|
14209
|
+
}), make6("ReadTranscripts", {
|
|
14403
14210
|
payload: { lease: ProgramLease, step: String4, days: Int, teamId: optionalKey(String4) },
|
|
14404
14211
|
success: Struct({
|
|
14405
14212
|
runs: ArraySchema(Struct({
|
|
@@ -14427,7 +14234,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14427
14234
|
})))
|
|
14428
14235
|
}),
|
|
14429
14236
|
error: RunnerRpcError
|
|
14430
|
-
}),
|
|
14237
|
+
}), make6("PipelineStatus", {
|
|
14431
14238
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
|
|
14432
14239
|
success: Struct({
|
|
14433
14240
|
head: String4,
|
|
@@ -14458,11 +14265,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14458
14265
|
}))
|
|
14459
14266
|
}),
|
|
14460
14267
|
error: RunnerRpcError
|
|
14461
|
-
}),
|
|
14268
|
+
}), make6("ReportPipeline", {
|
|
14462
14269
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
|
|
14463
14270
|
success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
|
|
14464
14271
|
error: RunnerRpcError
|
|
14465
|
-
}),
|
|
14272
|
+
}), make6("ReviewThreads", {
|
|
14466
14273
|
payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
|
|
14467
14274
|
success: Struct({
|
|
14468
14275
|
threads: ArraySchema(Struct({
|
|
@@ -14474,7 +14281,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14474
14281
|
}))
|
|
14475
14282
|
}),
|
|
14476
14283
|
error: RunnerRpcError
|
|
14477
|
-
}),
|
|
14284
|
+
}), make6("OpenChangeRequests", {
|
|
14478
14285
|
payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
|
|
14479
14286
|
success: Struct({
|
|
14480
14287
|
changeRequests: ArraySchema(Struct({
|
|
@@ -14488,7 +14295,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14488
14295
|
}))
|
|
14489
14296
|
}),
|
|
14490
14297
|
error: RunnerRpcError
|
|
14491
|
-
}),
|
|
14298
|
+
}), make6("OwnChangeRequests", {
|
|
14492
14299
|
payload: { lease: ProgramLease, step: String4 },
|
|
14493
14300
|
success: Struct({
|
|
14494
14301
|
changeRequests: ArraySchema(Struct({
|
|
@@ -14501,7 +14308,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14501
14308
|
}))
|
|
14502
14309
|
}),
|
|
14503
14310
|
error: RunnerRpcError
|
|
14504
|
-
}),
|
|
14311
|
+
}), make6("Propose", {
|
|
14505
14312
|
payload: {
|
|
14506
14313
|
lease: ProgramLease,
|
|
14507
14314
|
step: String4,
|
|
@@ -14529,7 +14336,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14529
14336
|
task: optionalKey(Struct({ id: String4, active: Boolean2 }))
|
|
14530
14337
|
}),
|
|
14531
14338
|
error: RunnerRpcError
|
|
14532
|
-
}),
|
|
14339
|
+
}), make6("ReadProject", {
|
|
14533
14340
|
payload: { lease: ProgramLease, step: String4, projectId: String4 },
|
|
14534
14341
|
success: Struct({
|
|
14535
14342
|
project: Struct({ id: String4, name: String4 }),
|
|
@@ -14552,7 +14359,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14552
14359
|
taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
|
|
14553
14360
|
}),
|
|
14554
14361
|
error: RunnerRpcError
|
|
14555
|
-
}),
|
|
14362
|
+
}), make6("DraftUpdate", {
|
|
14556
14363
|
payload: {
|
|
14557
14364
|
lease: ProgramLease,
|
|
14558
14365
|
step: String4,
|
|
@@ -14567,7 +14374,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14567
14374
|
},
|
|
14568
14375
|
success: Struct({ id: String4 }),
|
|
14569
14376
|
error: RunnerRpcError
|
|
14570
|
-
}),
|
|
14377
|
+
}), make6("CreatePlanTasks", {
|
|
14571
14378
|
payload: {
|
|
14572
14379
|
lease: ProgramLease,
|
|
14573
14380
|
projectId: optionalKey(String4),
|
|
@@ -14582,11 +14389,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14582
14389
|
},
|
|
14583
14390
|
success: ArraySchema(Struct({ key: String4, taskId: String4 })),
|
|
14584
14391
|
error: RunnerRpcError
|
|
14585
|
-
}),
|
|
14392
|
+
}), make6("IntegrationBranch", {
|
|
14586
14393
|
payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
|
|
14587
14394
|
success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
|
|
14588
14395
|
error: RunnerRpcError
|
|
14589
|
-
}),
|
|
14396
|
+
}), make6("MergeChangeRequest", {
|
|
14590
14397
|
payload: {
|
|
14591
14398
|
lease: ProgramLease,
|
|
14592
14399
|
step: String4,
|
|
@@ -14599,7 +14406,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14599
14406
|
Struct({ status: Literal("moved"), head: String4 })
|
|
14600
14407
|
]),
|
|
14601
14408
|
error: RunnerRpcError
|
|
14602
|
-
}),
|
|
14409
|
+
}), make6("ApproveChangeRequest", {
|
|
14603
14410
|
payload: {
|
|
14604
14411
|
lease: ProgramLease,
|
|
14605
14412
|
step: String4,
|
|
@@ -14614,7 +14421,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14614
14421
|
Struct({ approved: Literal(false), reason: String4 })
|
|
14615
14422
|
]),
|
|
14616
14423
|
error: RunnerRpcError
|
|
14617
|
-
}),
|
|
14424
|
+
}), make6("CloseChangeRequest", {
|
|
14618
14425
|
payload: {
|
|
14619
14426
|
lease: ProgramLease,
|
|
14620
14427
|
step: String4,
|
|
@@ -14624,7 +14431,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14624
14431
|
},
|
|
14625
14432
|
success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
|
|
14626
14433
|
error: RunnerRpcError
|
|
14627
|
-
}),
|
|
14434
|
+
}), make6("RerunPipeline", {
|
|
14628
14435
|
payload: {
|
|
14629
14436
|
lease: ProgramLease,
|
|
14630
14437
|
step: String4,
|
|
@@ -14634,7 +14441,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14634
14441
|
},
|
|
14635
14442
|
success: Struct({ head: String4, pipelines: Int }),
|
|
14636
14443
|
error: RunnerRpcError
|
|
14637
|
-
}),
|
|
14444
|
+
}), make6("PublishRelease", {
|
|
14638
14445
|
payload: {
|
|
14639
14446
|
lease: ProgramLease,
|
|
14640
14447
|
step: String4,
|
|
@@ -14645,14 +14452,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
|
|
|
14645
14452
|
},
|
|
14646
14453
|
success: Struct({ tag: String4, revision: String4, url: String4 }),
|
|
14647
14454
|
error: RunnerRpcError
|
|
14648
|
-
}),
|
|
14455
|
+
}), make6("ProgramSecrets", {
|
|
14649
14456
|
payload: { lease: ProgramLease },
|
|
14650
14457
|
success: Record(String4, String4),
|
|
14651
14458
|
error: RunnerRpcError
|
|
14652
14459
|
})).middleware(RunnerAuthentication) {
|
|
14653
14460
|
}
|
|
14654
14461
|
|
|
14655
|
-
class RunnerRunFileRpcs extends make6(
|
|
14462
|
+
class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
|
|
14656
14463
|
payload: {
|
|
14657
14464
|
lease: ProgramLease,
|
|
14658
14465
|
step: String4,
|
|
@@ -14664,11 +14471,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
|
|
|
14664
14471
|
},
|
|
14665
14472
|
success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
|
|
14666
14473
|
error: Union([RunnerRpcError, RunFileRefused])
|
|
14667
|
-
}),
|
|
14474
|
+
}), make6("RunFileParts", {
|
|
14668
14475
|
payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
|
|
14669
14476
|
success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
|
|
14670
14477
|
error: RunnerRpcError
|
|
14671
|
-
}),
|
|
14478
|
+
}), make6("CompleteRunFile", {
|
|
14672
14479
|
payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
|
|
14673
14480
|
success: RunFileRecord,
|
|
14674
14481
|
error: RunnerRpcError
|
|
@@ -14757,7 +14564,7 @@ function toStoredSession(token, existingRefreshToken) {
|
|
|
14757
14564
|
}
|
|
14758
14565
|
function startLoopbackServer(input) {
|
|
14759
14566
|
return gen(function* () {
|
|
14760
|
-
const code = yield*
|
|
14567
|
+
const code = yield* make16();
|
|
14761
14568
|
const context2 = yield* context();
|
|
14762
14569
|
const runSyncExit = runSyncExitWith(context2);
|
|
14763
14570
|
const server = yield* acquireRelease(sync2(() => Bun.serve({
|
|
@@ -15297,7 +15104,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
15297
15104
|
let lastId = 0;
|
|
15298
15105
|
let lost = false;
|
|
15299
15106
|
const notifications = yield* unbounded2();
|
|
15300
|
-
const ended = yield*
|
|
15107
|
+
const ended = yield* make16();
|
|
15301
15108
|
const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
|
|
15302
15109
|
onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
|
|
15303
15110
|
onNone: () => void_3,
|
|
@@ -15324,7 +15131,7 @@ var openConnection = (transport) => gen(function* () {
|
|
|
15324
15131
|
if (lost)
|
|
15325
15132
|
return yield* new HerdrCoreConnectionLost2({ method });
|
|
15326
15133
|
const id = ++lastId;
|
|
15327
|
-
const deferred = yield*
|
|
15134
|
+
const deferred = yield* make16();
|
|
15328
15135
|
pending.set(id, { method, deferred });
|
|
15329
15136
|
yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
|
|
15330
15137
|
return yield* _await(deferred);
|
|
@@ -15398,14 +15205,14 @@ var herdrCoreOver = (transport) => ({
|
|
|
15398
15205
|
return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
|
|
15399
15206
|
};
|
|
15400
15207
|
const snapshot = { type: "snapshot", terminals: subscribed.terminals };
|
|
15401
|
-
return concat(
|
|
15208
|
+
return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
|
|
15402
15209
|
}))
|
|
15403
15210
|
});
|
|
15404
15211
|
var spawnedTransport = (env) => gen(function* () {
|
|
15405
15212
|
const spawner = yield* ChildProcessSpawner;
|
|
15406
15213
|
const input = yield* unbounded2();
|
|
15407
15214
|
const encoder = new TextEncoder;
|
|
15408
|
-
const handle = yield* spawner.spawn(
|
|
15215
|
+
const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
|
|
15409
15216
|
extendEnv: false,
|
|
15410
15217
|
env,
|
|
15411
15218
|
stdin: fromQueue(input),
|
|
@@ -15436,7 +15243,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
|
|
|
15436
15243
|
const spawner = yield* ChildProcessSpawner;
|
|
15437
15244
|
const env = coreEnv(options);
|
|
15438
15245
|
const run = (args) => gen(function* () {
|
|
15439
|
-
const handle = yield* spawner.spawn(
|
|
15246
|
+
const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
|
|
15440
15247
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
15441
15248
|
mkString(decodeText(handle.stdout)),
|
|
15442
15249
|
mkString(decodeText(handle.stderr)),
|
|
@@ -15462,7 +15269,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
|
|
|
15462
15269
|
}
|
|
15463
15270
|
var runCommand2 = (command, args, options = {}) => gen(function* () {
|
|
15464
15271
|
const spawner = yield* ChildProcessSpawner;
|
|
15465
|
-
const handle = yield* spawner.spawn(
|
|
15272
|
+
const handle = yield* spawner.spawn(make3(command, args, {
|
|
15466
15273
|
stdin: "ignore",
|
|
15467
15274
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
15468
15275
|
...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
|
|
@@ -15488,8 +15295,8 @@ var shellOutputTailChars2 = 64 * 1024;
|
|
|
15488
15295
|
var runProcess2 = (argv, options) => gen(function* () {
|
|
15489
15296
|
const spawner = yield* ChildProcessSpawner;
|
|
15490
15297
|
const [command, ...args] = argv;
|
|
15491
|
-
const handle = yield* spawner.spawn(
|
|
15492
|
-
stdin: options.stdin === undefined ? "ignore" :
|
|
15298
|
+
const handle = yield* spawner.spawn(make3(command, args, {
|
|
15299
|
+
stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
|
|
15493
15300
|
...options.cwd === undefined ? undefined : { cwd: options.cwd },
|
|
15494
15301
|
env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
|
|
15495
15302
|
}));
|
|
@@ -15912,4 +15719,4 @@ function checkServices(declaration) {
|
|
|
15912
15719
|
return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
|
|
15913
15720
|
}
|
|
15914
15721
|
|
|
15915
|
-
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, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, RunDisplayStates, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw,
|
|
15722
|
+
export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
|