@kitman-sh/cli 0.10.83 → 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-999xbcaa.js → chunk-0mgbryyd.js} +9 -9
- package/dist/{chunk-dzthc6th.js → chunk-2k1qfyvx.js} +6 -6
- package/dist/{chunk-xbyd16q3.js → chunk-2tpysgqk.js} +3 -3
- package/dist/{chunk-2fqry6rd.js → chunk-397fax43.js} +185 -33
- package/dist/{chunk-by54dw1n.js → chunk-62565d52.js} +2 -2
- package/dist/{chunk-93vddjpx.js → chunk-76ctrqm6.js} +1 -1
- package/dist/{chunk-adqabkwv.js → chunk-7qbchfkf.js} +9 -9
- package/dist/{chunk-66fhj0c3.js → chunk-92mjxge4.js} +10 -10
- package/dist/{chunk-20rbya07.js → chunk-93b1hdfa.js} +31 -31
- package/dist/{chunk-ptp9p22x.js → chunk-98r2t1s6.js} +18 -18
- package/dist/{chunk-hccw303w.js → chunk-9gztfcvf.js} +7 -7
- package/dist/{chunk-bjexx93x.js → chunk-cakmwaed.js} +2 -2
- package/dist/{chunk-tnqzvx55.js → chunk-d53rckf0.js} +143 -303
- package/dist/{chunk-qnnsy306.js → chunk-ebd5zjnx.js} +2 -2
- package/dist/{chunk-7wag4s6j.js → chunk-hgx1dq68.js} +4 -4
- package/dist/{chunk-xq4k0mgr.js → chunk-jbwk6k6m.js} +60 -60
- package/dist/{chunk-7bsf0fyh.js → chunk-kgdppbdr.js} +6 -1
- package/dist/{chunk-2rpwpzt5.js → chunk-kp01bv8f.js} +25 -25
- package/dist/{chunk-1chta572.js → chunk-krh0gek1.js} +17 -17
- package/dist/{chunk-mr30hj39.js → chunk-kxtmk59a.js} +5 -5
- package/dist/{chunk-72232jhj.js → chunk-ky974pcr.js} +4 -4
- package/dist/{chunk-292vjjdz.js → chunk-tzz4fv17.js} +1 -1
- package/dist/{chunk-6kt28g8r.js → chunk-ynn6jk0w.js} +62 -62
- package/dist/{chunk-smnx6fad.js → chunk-ze0f51ds.js} +11 -11
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getOrUndefined,
|
|
7
7
|
Reference,
|
|
8
8
|
TaggedError,
|
|
9
|
-
|
|
9
|
+
make16,
|
|
10
10
|
_await,
|
|
11
11
|
fail5,
|
|
12
12
|
succeed5,
|
|
@@ -85,8 +85,21 @@ import {
|
|
|
85
85
|
decodeJsonString,
|
|
86
86
|
encodeJsonStringSync,
|
|
87
87
|
encodePrettyJsonString
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-jbwk6k6m.js";
|
|
89
89
|
import {
|
|
90
|
+
tap,
|
|
91
|
+
mapError,
|
|
92
|
+
decodeText,
|
|
93
|
+
run,
|
|
94
|
+
mkString,
|
|
95
|
+
FileSystem,
|
|
96
|
+
Path,
|
|
97
|
+
withDefault,
|
|
98
|
+
option,
|
|
99
|
+
String2
|
|
100
|
+
} from "./chunk-397fax43.js";
|
|
101
|
+
import {
|
|
102
|
+
currentTimeMillis,
|
|
90
103
|
SecureRandom,
|
|
91
104
|
layerWebCrypto,
|
|
92
105
|
runMain,
|
|
@@ -184,7 +197,10 @@ import {
|
|
|
184
197
|
harnessNames,
|
|
185
198
|
herdrRunnerCapabilities2,
|
|
186
199
|
declaredChecks
|
|
187
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-d53rckf0.js";
|
|
201
|
+
import {
|
|
202
|
+
Id
|
|
203
|
+
} from "./chunk-kgdppbdr.js";
|
|
188
204
|
import {
|
|
189
205
|
toJsonValue,
|
|
190
206
|
isOneOf,
|
|
@@ -194,27 +210,11 @@ import {
|
|
|
194
210
|
isObject,
|
|
195
211
|
isJsonObject,
|
|
196
212
|
isString
|
|
197
|
-
} from "./chunk-
|
|
198
|
-
import {
|
|
199
|
-
currentTimeMillis,
|
|
200
|
-
tap,
|
|
201
|
-
mapError,
|
|
202
|
-
decodeText,
|
|
203
|
-
run,
|
|
204
|
-
mkString,
|
|
205
|
-
FileSystem,
|
|
206
|
-
Path,
|
|
207
|
-
withDefault,
|
|
208
|
-
option,
|
|
209
|
-
String2
|
|
210
|
-
} from "./chunk-2fqry6rd.js";
|
|
213
|
+
} from "./chunk-tzz4fv17.js";
|
|
211
214
|
import {
|
|
212
215
|
ChildProcessSpawner,
|
|
213
216
|
make3
|
|
214
|
-
} from "./chunk-
|
|
215
|
-
import {
|
|
216
|
-
Id
|
|
217
|
-
} from "./chunk-7bsf0fyh.js";
|
|
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,
|
|
@@ -2972,7 +2972,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
2972
2972
|
});
|
|
2973
2973
|
const checkouts = runCheckouts(path.join(runnerRootDir, ".kitman"), rpc.gitCredential);
|
|
2974
2974
|
const platform = yield* context();
|
|
2975
|
-
const updated = yield*
|
|
2975
|
+
const updated = yield* make16();
|
|
2976
2976
|
const scope = yield* scope2;
|
|
2977
2977
|
yield* listenForSignals({
|
|
2978
2978
|
rpc,
|
|
@@ -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) });
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
add,
|
|
13
13
|
getOrUndefinedUnsafe,
|
|
14
14
|
getUnsafe,
|
|
15
|
-
|
|
15
|
+
get4,
|
|
16
16
|
Reference,
|
|
17
17
|
toMillis,
|
|
18
18
|
isSuccess,
|
|
@@ -96,8 +96,21 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-jbwk6k6m.js";
|
|
100
100
|
import {
|
|
101
|
+
interrupt,
|
|
102
|
+
getCurrent,
|
|
103
|
+
makeUnsafe2,
|
|
104
|
+
bounded,
|
|
105
|
+
offerAll,
|
|
106
|
+
failCause,
|
|
107
|
+
end,
|
|
108
|
+
shutdownUnsafe,
|
|
109
|
+
fromQueue,
|
|
110
|
+
unwrap
|
|
111
|
+
} from "./chunk-397fax43.js";
|
|
112
|
+
import {
|
|
113
|
+
Clock,
|
|
101
114
|
empty,
|
|
102
115
|
fromInput,
|
|
103
116
|
merge,
|
|
@@ -110,20 +123,7 @@ import {
|
|
|
110
123
|
ParseOptions,
|
|
111
124
|
RpcClientDefect,
|
|
112
125
|
RpcClientError
|
|
113
|
-
} from "./chunk-
|
|
114
|
-
import {
|
|
115
|
-
Clock,
|
|
116
|
-
interrupt,
|
|
117
|
-
getCurrent,
|
|
118
|
-
makeUnsafe2,
|
|
119
|
-
bounded,
|
|
120
|
-
offerAll,
|
|
121
|
-
failCause,
|
|
122
|
-
end,
|
|
123
|
-
shutdownUnsafe,
|
|
124
|
-
fromQueue,
|
|
125
|
-
unwrap
|
|
126
|
-
} from "./chunk-2fqry6rd.js";
|
|
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")) {
|
|
@@ -237,7 +237,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
237
237
|
const disableTracing = options?.disableTracing ?? false;
|
|
238
238
|
const generateRequestId = options?.generateRequestId ?? (() => requestIdCounter++);
|
|
239
239
|
const services = yield* context();
|
|
240
|
-
const scope =
|
|
240
|
+
const scope = get4(services, Scope);
|
|
241
241
|
const entries = new Map;
|
|
242
242
|
let isShutdown = false;
|
|
243
243
|
yield* addFinalizer(scope, withFiber2((parent) => {
|
|
@@ -643,7 +643,7 @@ var makeRpcSchemas = (codecFor) => {
|
|
|
643
643
|
return entry;
|
|
644
644
|
}
|
|
645
645
|
const streamSchemas = getStreamSchemas(rpc.successSchema);
|
|
646
|
-
const parseOptions =
|
|
646
|
+
const parseOptions = get4(rpc.annotations, ParseOptions);
|
|
647
647
|
const exitSchema2 = exitSchema(rpc);
|
|
648
648
|
let decodeDiscardExit;
|
|
649
649
|
entry = {
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-2k1qfyvx.js";
|
|
8
|
+
import"./chunk-98r2t1s6.js";
|
|
9
|
+
import"./chunk-d53rckf0.js";
|
|
10
|
+
import"./chunk-kgdppbdr.js";
|
|
11
|
+
import"./chunk-tzz4fv17.js";
|
|
12
|
+
import"./chunk-397fax43.js";
|
|
13
|
+
import"./chunk-jbwk6k6m.js";
|
|
14
14
|
export {
|
|
15
15
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
16
16
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
map8,
|
|
23
23
|
raceFirst,
|
|
24
24
|
scoped
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-jbwk6k6m.js";
|
|
26
26
|
import {
|
|
27
27
|
unwrap,
|
|
28
28
|
drainFork,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
runCollect,
|
|
32
32
|
runDrain,
|
|
33
33
|
mkString
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-397fax43.js";
|
|
35
35
|
|
|
36
36
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
37
37
|
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|