@kitman-sh/cli 0.10.82 → 0.10.84
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-e8zm8z3a.js → chunk-0mgbryyd.js} +6 -6
- package/dist/{chunk-a03wf71k.js → chunk-2k1qfyvx.js} +3 -3
- package/dist/{chunk-2mxpxw3j.js → chunk-2tpysgqk.js} +2 -2
- package/dist/{chunk-xb70ys3n.js → chunk-397fax43.js} +10 -1
- package/dist/{chunk-jr1363cj.js → chunk-7qbchfkf.js} +7 -7
- package/dist/{chunk-8p0psats.js → chunk-92mjxge4.js} +10 -8
- package/dist/{chunk-d4atn90g.js → chunk-93b1hdfa.js} +12 -12
- package/dist/{chunk-q4cpages.js → chunk-98r2t1s6.js} +2 -2
- package/dist/{chunk-q767c0cv.js → chunk-9gztfcvf.js} +4 -4
- package/dist/{chunk-98sg1yyd.js → chunk-cakmwaed.js} +1 -1
- package/dist/{chunk-gn0v83as.js → chunk-d53rckf0.js} +20 -15
- package/dist/{chunk-fq47a5yd.js → chunk-ebd5zjnx.js} +1 -1
- package/dist/{chunk-pkn6g975.js → chunk-hgx1dq68.js} +3 -3
- package/dist/{chunk-zzhewave.js → chunk-kp01bv8f.js} +18 -18
- package/dist/{chunk-szf97jdk.js → chunk-krh0gek1.js} +14 -14
- package/dist/{chunk-9zd52pda.js → chunk-kxtmk59a.js} +3 -3
- package/dist/{chunk-by4t402z.js → chunk-ynn6jk0w.js} +92 -51
- package/dist/{chunk-5my30s53.js → chunk-ze0f51ds.js} +8 -8
- package/dist/index.js +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
make11,
|
|
4
|
+
runForEach,
|
|
5
|
+
compiled2
|
|
6
|
+
} from "./chunk-397fax43.js";
|
|
2
7
|
import {
|
|
3
8
|
getOrUndefined,
|
|
4
9
|
liftThrowable,
|
|
@@ -28,15 +33,10 @@ import {
|
|
|
28
33
|
isJsonObject,
|
|
29
34
|
isString
|
|
30
35
|
} from "./chunk-tzz4fv17.js";
|
|
31
|
-
import {
|
|
32
|
-
make11,
|
|
33
|
-
runForEach,
|
|
34
|
-
compiled2
|
|
35
|
-
} from "./chunk-xb70ys3n.js";
|
|
36
36
|
import {
|
|
37
37
|
ChildProcessSpawner,
|
|
38
38
|
make3
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-cakmwaed.js";
|
|
40
40
|
|
|
41
41
|
// packages/agent-runtime/src/opencode-store.ts
|
|
42
42
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-jbwk6k6m.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-397fax43.js";
|
|
13
13
|
import {
|
|
14
14
|
WebSocketConstructor,
|
|
15
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-d53rckf0.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-98r2t1s6.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-397fax43.js";
|
|
32
32
|
import {
|
|
33
33
|
digestSha256,
|
|
34
34
|
digestSha512,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
get2,
|
|
39
39
|
layer4,
|
|
40
40
|
KitDigest
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-d53rckf0.js";
|
|
42
42
|
|
|
43
43
|
// packages/core/src/npm-registry.ts
|
|
44
44
|
var KitManifest = Struct({
|
|
@@ -248,6 +248,15 @@ var makeEquivalence = (equivalence) => {
|
|
|
248
248
|
return (self, that) => is(self, that) && is(that, self);
|
|
249
249
|
};
|
|
250
250
|
|
|
251
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
252
|
+
var BigInt2 = globalThis.BigInt;
|
|
253
|
+
var toNumber = (b) => {
|
|
254
|
+
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
255
|
+
return none();
|
|
256
|
+
}
|
|
257
|
+
return some(Number(b));
|
|
258
|
+
};
|
|
259
|
+
|
|
251
260
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
252
261
|
var bigint0 = /* @__PURE__ */ BigInt(0);
|
|
253
262
|
var bigint1 = /* @__PURE__ */ BigInt(1);
|
|
@@ -3552,4 +3561,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3552
3561
|
...argv
|
|
3553
3562
|
];
|
|
3554
3563
|
|
|
3555
|
-
export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
3564
|
+
export { map, makeEquivalence, toNumber, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
FileSystem,
|
|
4
|
+
Path,
|
|
5
|
+
optionalEnv
|
|
6
|
+
} from "./chunk-397fax43.js";
|
|
2
7
|
import {
|
|
3
8
|
Reference,
|
|
4
9
|
TaggedError,
|
|
@@ -28,19 +33,14 @@ import {
|
|
|
28
33
|
isJsonObject,
|
|
29
34
|
isString
|
|
30
35
|
} from "./chunk-tzz4fv17.js";
|
|
31
|
-
import {
|
|
32
|
-
FileSystem,
|
|
33
|
-
Path,
|
|
34
|
-
optionalEnv
|
|
35
|
-
} from "./chunk-xb70ys3n.js";
|
|
36
36
|
import {
|
|
37
37
|
AgentHarnessIds,
|
|
38
38
|
sha2562,
|
|
39
39
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-d53rckf0.js";
|
|
41
41
|
import {
|
|
42
42
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-2tpysgqk.js";
|
|
44
44
|
|
|
45
45
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
46
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -76,6 +76,10 @@ import {
|
|
|
76
76
|
toCodecJson,
|
|
77
77
|
Json
|
|
78
78
|
} from "./chunk-jbwk6k6m.js";
|
|
79
|
+
import {
|
|
80
|
+
runForEach,
|
|
81
|
+
FileSystem
|
|
82
|
+
} from "./chunk-397fax43.js";
|
|
79
83
|
import {
|
|
80
84
|
guard
|
|
81
85
|
} from "./chunk-kgdppbdr.js";
|
|
@@ -105,11 +109,7 @@ import {
|
|
|
105
109
|
KitDigest,
|
|
106
110
|
KitSetup,
|
|
107
111
|
RunnerRpcError
|
|
108
|
-
} from "./chunk-
|
|
109
|
-
import {
|
|
110
|
-
runForEach,
|
|
111
|
-
FileSystem
|
|
112
|
-
} from "./chunk-xb70ys3n.js";
|
|
112
|
+
} from "./chunk-d53rckf0.js";
|
|
113
113
|
|
|
114
114
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
|
|
115
115
|
var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
|
|
@@ -757,6 +757,7 @@ var PipelineStatus = Struct({
|
|
|
757
757
|
runnerChecks: optionalKey(ArraySchema(String4)),
|
|
758
758
|
approved: optionalKey(String4),
|
|
759
759
|
repository: optionalKey(String4),
|
|
760
|
+
targetBranch: optionalKey(String4),
|
|
760
761
|
conflicts: optionalKey(Boolean2),
|
|
761
762
|
needsRebase: optionalKey(Boolean2),
|
|
762
763
|
target: optionalKey(Struct({ branch: String4, head: String4, jobs: ArraySchema(PipelineJob) }))
|
|
@@ -1012,10 +1013,11 @@ var merged = {
|
|
|
1012
1013
|
settled: ArraySchema(String4)
|
|
1013
1014
|
};
|
|
1014
1015
|
var SyncAnswer = Union([UpToDate, Struct(merged), Conflict]);
|
|
1016
|
+
var reported = { base: optionalKey(String4) };
|
|
1015
1017
|
var BaseSync = Union([
|
|
1016
|
-
UpToDate,
|
|
1017
|
-
Struct({ ...merged, catchUp: optionalKey(CatchUp) }),
|
|
1018
|
-
Conflict
|
|
1018
|
+
Struct({ ...UpToDate.fields, ...reported }),
|
|
1019
|
+
Struct({ ...merged, catchUp: optionalKey(CatchUp), ...reported }),
|
|
1020
|
+
Struct({ ...Conflict.fields, ...reported })
|
|
1019
1021
|
]);
|
|
1020
1022
|
// packages/sdk/src/loop/continuing.ts
|
|
1021
1023
|
var Continuing = Struct({
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
withDefault,
|
|
98
98
|
option,
|
|
99
99
|
String2
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-397fax43.js";
|
|
101
101
|
import {
|
|
102
102
|
currentTimeMillis,
|
|
103
103
|
SecureRandom,
|
|
@@ -197,7 +197,7 @@ import {
|
|
|
197
197
|
harnessNames,
|
|
198
198
|
herdrRunnerCapabilities2,
|
|
199
199
|
declaredChecks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-d53rckf0.js";
|
|
201
201
|
import {
|
|
202
202
|
Id
|
|
203
203
|
} from "./chunk-kgdppbdr.js";
|
|
@@ -214,7 +214,7 @@ import {
|
|
|
214
214
|
import {
|
|
215
215
|
ChildProcessSpawner,
|
|
216
216
|
make3
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-cakmwaed.js";
|
|
218
218
|
|
|
219
219
|
// apps/cli/src/cli-error.ts
|
|
220
220
|
function cliErrorCode(error, status) {
|
|
@@ -504,10 +504,10 @@ var checkDockerImageSetting = pinnedImage;
|
|
|
504
504
|
var checkRegistryImageSetting = pinnedImage;
|
|
505
505
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
506
506
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
507
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
507
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-hgx1dq68.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
508
508
|
});
|
|
509
509
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
510
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
510
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-hgx1dq68.js")), (module) => module.updateHerdrCore(options))
|
|
511
511
|
});
|
|
512
512
|
var herdrCoreMissing = (error) => {
|
|
513
513
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -733,7 +733,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
733
733
|
});
|
|
734
734
|
var syncKits = (input) => gen(function* () {
|
|
735
735
|
const fs = yield* FileSystem;
|
|
736
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
736
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-ze0f51ds.js"));
|
|
737
737
|
const harnesses = yield* syncTargets(input.harness);
|
|
738
738
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
739
739
|
for (const { name, problem } of chain.skipped)
|
|
@@ -1651,7 +1651,7 @@ var package_default = {
|
|
|
1651
1651
|
};
|
|
1652
1652
|
|
|
1653
1653
|
// apps/cli/src/scaffold.ts
|
|
1654
|
-
var cliVersion = "0.10.
|
|
1654
|
+
var cliVersion = "0.10.84";
|
|
1655
1655
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1656
1656
|
name,
|
|
1657
1657
|
private: true,
|
|
@@ -1901,7 +1901,7 @@ var Usage = [
|
|
|
1901
1901
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
1902
1902
|
].join(`
|
|
1903
1903
|
`);
|
|
1904
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
1904
|
+
var agentRuntime = promise(() => import("./chunk-ynn6jk0w.js"));
|
|
1905
1905
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
1906
1906
|
defaultValue: () => gen(function* () {
|
|
1907
1907
|
const tui = yield* tryPromise({
|
|
@@ -2777,7 +2777,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
2777
2777
|
});
|
|
2778
2778
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
2779
2779
|
defaultValue: () => (options) => gen(function* () {
|
|
2780
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
2780
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-9gztfcvf.js"));
|
|
2781
2781
|
return yield* makeRunnerRpcClient({
|
|
2782
2782
|
runnerId: options.runnerId,
|
|
2783
2783
|
bearer: options.bearer,
|
|
@@ -3161,7 +3161,7 @@ function mcpCommand(args) {
|
|
|
3161
3161
|
if (command.action === "run") {
|
|
3162
3162
|
if (command.args.length > 0)
|
|
3163
3163
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3164
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3164
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-kp01bv8f.js"));
|
|
3165
3165
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3166
3166
|
}
|
|
3167
3167
|
if (command.action !== "setup")
|
|
@@ -4372,9 +4372,9 @@ function claimCommand(args) {
|
|
|
4372
4372
|
}
|
|
4373
4373
|
});
|
|
4374
4374
|
}
|
|
4375
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4375
|
+
var KitWriter = map8(promise(() => import("./chunk-krh0gek1.js")), (build) => build.writeKit);
|
|
4376
4376
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4377
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4377
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-krh0gek1.js")), (build) => build.buildKit(directory))
|
|
4378
4378
|
});
|
|
4379
4379
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4380
4380
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
shutdownUnsafe,
|
|
109
109
|
fromQueue,
|
|
110
110
|
unwrap
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-397fax43.js";
|
|
112
112
|
import {
|
|
113
113
|
Clock,
|
|
114
114
|
empty,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-d53rckf0.js";
|
|
127
127
|
|
|
128
128
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
|
|
129
129
|
class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-2k1qfyvx.js";
|
|
8
|
+
import"./chunk-98r2t1s6.js";
|
|
9
|
+
import"./chunk-d53rckf0.js";
|
|
10
10
|
import"./chunk-kgdppbdr.js";
|
|
11
11
|
import"./chunk-tzz4fv17.js";
|
|
12
|
-
import"./chunk-
|
|
12
|
+
import"./chunk-397fax43.js";
|
|
13
13
|
import"./chunk-jbwk6k6m.js";
|
|
14
14
|
export {
|
|
15
15
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
@@ -253,6 +253,7 @@ import {
|
|
|
253
253
|
import {
|
|
254
254
|
map,
|
|
255
255
|
makeEquivalence,
|
|
256
|
+
toNumber,
|
|
256
257
|
bytes,
|
|
257
258
|
BadArgument,
|
|
258
259
|
systemError,
|
|
@@ -316,7 +317,7 @@ import {
|
|
|
316
317
|
String2,
|
|
317
318
|
optionalEnv,
|
|
318
319
|
harnessesUnsupportedInSrt2
|
|
319
|
-
} from "./chunk-
|
|
320
|
+
} from "./chunk-397fax43.js";
|
|
320
321
|
import {
|
|
321
322
|
isDateTime,
|
|
322
323
|
Numeric,
|
|
@@ -357,7 +358,7 @@ import {
|
|
|
357
358
|
make3,
|
|
358
359
|
parseFdName,
|
|
359
360
|
fdName
|
|
360
|
-
} from "./chunk-
|
|
361
|
+
} from "./chunk-cakmwaed.js";
|
|
361
362
|
|
|
362
363
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
363
364
|
var makeEquivalence3 = Tuple;
|
|
@@ -899,15 +900,6 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
|
|
|
899
900
|
// node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
|
|
900
901
|
var runMain = runMain2;
|
|
901
902
|
|
|
902
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
903
|
-
var BigInt2 = globalThis.BigInt;
|
|
904
|
-
var toNumber = (b) => {
|
|
905
|
-
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
906
|
-
return none();
|
|
907
|
-
}
|
|
908
|
-
return some(Number(b));
|
|
909
|
-
};
|
|
910
|
-
|
|
911
903
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
|
|
912
904
|
var makeUnsafe = makeUnsafe6;
|
|
913
905
|
var make18 = make4;
|
|
@@ -6790,6 +6782,12 @@ var MeasureEvidence = Struct({
|
|
|
6790
6782
|
head: MeasureSamples,
|
|
6791
6783
|
baseAgain: optionalKey(MeasureSamples)
|
|
6792
6784
|
});
|
|
6785
|
+
var ResolveSpec = Struct({
|
|
6786
|
+
revisions: ArraySchema(String4.check(isMinLength(1), isMaxLength(240))).check(isMinLength(1), isMaxLength(10))
|
|
6787
|
+
});
|
|
6788
|
+
var ResolvedRevisions = Struct({
|
|
6789
|
+
commits: ArraySchema(String4.check(isPattern(new RegExp("^[0-9a-f]{40}([0-9a-f]{24})?$", "u"))))
|
|
6790
|
+
});
|
|
6793
6791
|
var VerificationWorkUnit = Struct({
|
|
6794
6792
|
kind: Literal("verification"),
|
|
6795
6793
|
id: Id,
|
|
@@ -6802,6 +6800,7 @@ var VerificationWorkUnit = Struct({
|
|
|
6802
6800
|
baseline: optionalKey(String4.check(isMinLength(1), isMaxLength(300))),
|
|
6803
6801
|
checks: ArraySchema(RepositoryCheck).check(isMaxLength(50)),
|
|
6804
6802
|
measure: optionalKey(MeasureSpec),
|
|
6803
|
+
resolve: optionalKey(ResolveSpec),
|
|
6805
6804
|
hosts: optionalKey(ArraySchema(NetworkHost)),
|
|
6806
6805
|
storageOrigin: StorageOrigin
|
|
6807
6806
|
});
|
|
@@ -6850,7 +6849,8 @@ var TreeEvidence = Struct({
|
|
|
6850
6849
|
var VerificationEvidence = Struct({
|
|
6851
6850
|
head: TreeEvidence,
|
|
6852
6851
|
baseline: optionalKey(TreeEvidence),
|
|
6853
|
-
measurement: optionalKey(MeasureEvidence)
|
|
6852
|
+
measurement: optionalKey(MeasureEvidence),
|
|
6853
|
+
resolved: optionalKey(ResolvedRevisions)
|
|
6854
6854
|
});
|
|
6855
6855
|
var BoundaryChange = Struct({
|
|
6856
6856
|
kind: Literal("change"),
|
|
@@ -6893,6 +6893,7 @@ var WorkUnitOutcome = Struct({
|
|
|
6893
6893
|
evidence: optionalKey(VerificationEvidence),
|
|
6894
6894
|
boundary: optionalKey(BoundaryChange),
|
|
6895
6895
|
catchUp: optionalKey(CatchUp),
|
|
6896
|
+
syncedTarget: optionalKey(Revision),
|
|
6896
6897
|
harnessHold: optionalKey(HarnessHold),
|
|
6897
6898
|
restart: optionalKey(StepRestart),
|
|
6898
6899
|
failureSummary: optionalKey(String4.check(isMinLength(1), isMaxLength(4000)))
|
|
@@ -7162,7 +7163,8 @@ var RunnerCapabilities = Struct({
|
|
|
7162
7163
|
repoBindings: optionalKey(ArraySchema(RunnerRepoBindingCapability)),
|
|
7163
7164
|
runs: optionalKey(RunnerLoopExecutionCapability),
|
|
7164
7165
|
resourceLimits: optionalKey(RunnerResourceLimits),
|
|
7165
|
-
measure: optionalKey(Boolean2)
|
|
7166
|
+
measure: optionalKey(Boolean2),
|
|
7167
|
+
resolve: optionalKey(Boolean2)
|
|
7166
7168
|
});
|
|
7167
7169
|
var Runner = Struct({
|
|
7168
7170
|
id: Id,
|
|
@@ -14085,7 +14087,8 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14085
14087
|
plan: MeasurePlan,
|
|
14086
14088
|
samples: Int,
|
|
14087
14089
|
calibrate: Boolean2
|
|
14088
|
-
}))
|
|
14090
|
+
})),
|
|
14091
|
+
resolve: optionalKey(ResolveSpec)
|
|
14089
14092
|
},
|
|
14090
14093
|
success: Struct({ verificationId: String4 }),
|
|
14091
14094
|
error: RunnerRpcError
|
|
@@ -14226,6 +14229,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
|
|
|
14226
14229
|
runnerChecks: optionalKey(ArraySchema(String4)),
|
|
14227
14230
|
approved: optionalKey(String4),
|
|
14228
14231
|
repository: optionalKey(String4),
|
|
14232
|
+
targetBranch: optionalKey(String4),
|
|
14229
14233
|
conflicts: optionalKey(Boolean2),
|
|
14230
14234
|
needsRebase: optionalKey(Boolean2),
|
|
14231
14235
|
target: optionalKey(Struct({
|
|
@@ -15654,7 +15658,8 @@ function herdrRunnerCapabilities2(input) {
|
|
|
15654
15658
|
cacheSharingModes: []
|
|
15655
15659
|
},
|
|
15656
15660
|
resourceLimits: { maxConcurrentRuns: 1, maxRunSeconds: 86400 },
|
|
15657
|
-
measure: true
|
|
15661
|
+
measure: true,
|
|
15662
|
+
resolve: true
|
|
15658
15663
|
};
|
|
15659
15664
|
}
|
|
15660
15665
|
function assertHerdrRunnerCapability2(capabilities) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-cakmwaed.js";
|
|
3
3
|
import {
|
|
4
4
|
HERDR_CORE_GENERATION2,
|
|
5
5
|
HERDR_CORE_INSTALL_COMMAND2,
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
herdrCoreLayer2,
|
|
13
13
|
herdrCoreTransportLayer2,
|
|
14
14
|
updateHerdrCore2
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-d53rckf0.js";
|
|
16
|
+
import"./chunk-397fax43.js";
|
|
17
17
|
import"./chunk-jbwk6k6m.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|