@kitman-sh/cli 0.10.56 → 0.10.58
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-bdxhb63t.js → chunk-4jbn6hma.js} +3 -3
- package/dist/{chunk-wbrv4705.js → chunk-59n1m39j.js} +7 -7
- package/dist/{chunk-7evwar6b.js → chunk-76y7v9rj.js} +1 -1
- package/dist/{chunk-4kssrezn.js → chunk-8y8ax1bt.js} +1 -1
- package/dist/{chunk-7kernadf.js → chunk-9rxwzn7y.js} +11 -11
- package/dist/{chunk-48dn3enn.js → chunk-ac19vqmc.js} +60 -60
- package/dist/{chunk-99ver3za.js → chunk-ac851090.js} +4 -4
- package/dist/{chunk-st9mym1j.js → chunk-ahtfwz4b.js} +2 -2
- package/dist/{chunk-hma82ban.js → chunk-bbsh3a70.js} +36 -36
- package/dist/{chunk-2t06f3vz.js → chunk-c6gyfqv4.js} +7 -7
- package/dist/{chunk-g53wn1q8.js → chunk-ec5df6ea.js} +2 -2
- package/dist/{chunk-2md3k83r.js → chunk-edf91eyv.js} +4 -4
- package/dist/{chunk-pvkwhesj.js → chunk-hegberew.js} +7 -7
- package/dist/{chunk-gwcqz1bj.js → chunk-jd8xhqgm.js} +1 -1
- package/dist/{chunk-emabyaj0.js → chunk-kvv9vzzr.js} +46 -186
- package/dist/{chunk-s97jvqxb.js → chunk-mfhmj6r6.js} +9 -9
- package/dist/{chunk-yfdktxzg.js → chunk-n1m89pnt.js} +5 -5
- package/dist/{chunk-61k67vxh.js → chunk-nk5h4cvx.js} +115 -73
- package/dist/{chunk-vn3x7bzf.js → chunk-qbyxcjy1.js} +11 -11
- package/dist/{chunk-w9kg1784.js → chunk-qkbnbr47.js} +21 -21
- package/dist/{chunk-jb9dcsfn.js → chunk-qmmer308.js} +345 -197
- package/dist/{chunk-kdyzndvx.js → chunk-tr80mjnp.js} +14 -60
- package/dist/{chunk-338c1c1x.js → chunk-zc214v7k.js} +8 -8
- package/dist/{chunk-zf3vq701.js → chunk-zxs37afg.js} +19 -19
- 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
|
+
make14,
|
|
10
10
|
_await,
|
|
11
11
|
fail5,
|
|
12
12
|
succeed5,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
decodeJsonString,
|
|
86
86
|
encodeJsonStringSync,
|
|
87
87
|
encodePrettyJsonString
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-nk5h4cvx.js";
|
|
89
89
|
import {
|
|
90
90
|
tap,
|
|
91
91
|
mapError,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
withDefault,
|
|
98
98
|
option,
|
|
99
99
|
String2
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-kvv9vzzr.js";
|
|
101
101
|
import {
|
|
102
102
|
currentTimeMillis,
|
|
103
103
|
SecureRandom,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
digestSha256,
|
|
136
136
|
sha256Hasher,
|
|
137
137
|
raw,
|
|
138
|
-
|
|
138
|
+
make4,
|
|
139
139
|
get,
|
|
140
140
|
put,
|
|
141
141
|
HttpClient,
|
|
@@ -197,10 +197,10 @@ import {
|
|
|
197
197
|
harnessNames,
|
|
198
198
|
herdrRunnerCapabilities2,
|
|
199
199
|
declaredChecks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-qmmer308.js";
|
|
201
201
|
import {
|
|
202
202
|
Id
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-8y8ax1bt.js";
|
|
204
204
|
import {
|
|
205
205
|
toJsonValue,
|
|
206
206
|
isOneOf,
|
|
@@ -210,11 +210,11 @@ import {
|
|
|
210
210
|
isObject,
|
|
211
211
|
isJsonObject,
|
|
212
212
|
isString
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-76y7v9rj.js";
|
|
214
214
|
import {
|
|
215
215
|
ChildProcessSpawner,
|
|
216
|
-
|
|
217
|
-
} from "./chunk-
|
|
216
|
+
make2
|
|
217
|
+
} from "./chunk-tr80mjnp.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-edf91eyv.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-edf91eyv.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-9rxwzn7y.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)
|
|
@@ -1249,7 +1249,7 @@ var ServiceManager = Reference("kitman/cli/ServiceManager", {
|
|
|
1249
1249
|
run: (command, args) => runCommand2(command, args),
|
|
1250
1250
|
attach: (command, args) => gen(function* () {
|
|
1251
1251
|
const spawner = yield* ChildProcessSpawner;
|
|
1252
|
-
const handle = yield* spawner.spawn(
|
|
1252
|
+
const handle = yield* spawner.spawn(make2(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
|
|
1253
1253
|
const exitCode = yield* handle.exitCode;
|
|
1254
1254
|
if (exitCode !== 0)
|
|
1255
1255
|
return yield* new CommandFailed2({ command, reason: `exit code ${exitCode}` });
|
|
@@ -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.58";
|
|
1655
1655
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1656
1656
|
name,
|
|
1657
1657
|
private: true,
|
|
@@ -1900,7 +1900,7 @@ var Usage = [
|
|
|
1900
1900
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
1901
1901
|
].join(`
|
|
1902
1902
|
`);
|
|
1903
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
1903
|
+
var agentRuntime = promise(() => import("./chunk-ac19vqmc.js"));
|
|
1904
1904
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
1905
1905
|
defaultValue: () => gen(function* () {
|
|
1906
1906
|
const tui = yield* tryPromise({
|
|
@@ -2746,7 +2746,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
2746
2746
|
});
|
|
2747
2747
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
2748
2748
|
defaultValue: () => (options) => gen(function* () {
|
|
2749
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
2749
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-c6gyfqv4.js"));
|
|
2750
2750
|
return yield* makeRunnerRpcClient({
|
|
2751
2751
|
runnerId: options.runnerId,
|
|
2752
2752
|
bearer: options.bearer,
|
|
@@ -2941,7 +2941,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
2941
2941
|
});
|
|
2942
2942
|
const checkouts = runCheckouts(path.join(runnerRootDir, ".kitman"), rpc.gitCredential);
|
|
2943
2943
|
const platform = yield* context();
|
|
2944
|
-
const updated = yield*
|
|
2944
|
+
const updated = yield* make14();
|
|
2945
2945
|
const scope = yield* scope2;
|
|
2946
2946
|
yield* listenForSignals({
|
|
2947
2947
|
rpc,
|
|
@@ -3130,7 +3130,7 @@ function mcpCommand(args) {
|
|
|
3130
3130
|
if (command.action === "run") {
|
|
3131
3131
|
if (command.args.length > 0)
|
|
3132
3132
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3133
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3133
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-bbsh3a70.js"));
|
|
3134
3134
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3135
3135
|
}
|
|
3136
3136
|
if (command.action !== "setup")
|
|
@@ -4332,9 +4332,9 @@ function claimCommand(args) {
|
|
|
4332
4332
|
}
|
|
4333
4333
|
});
|
|
4334
4334
|
}
|
|
4335
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4335
|
+
var KitWriter = map8(promise(() => import("./chunk-zxs37afg.js")), (build) => build.writeKit);
|
|
4336
4336
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4337
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4337
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-zxs37afg.js")), (build) => build.buildKit(directory))
|
|
4338
4338
|
});
|
|
4339
4339
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4340
4340
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -5092,7 +5092,7 @@ function downloadPresignedAsset(download, outputPath) {
|
|
|
5092
5092
|
return gen(function* () {
|
|
5093
5093
|
const fs = yield* FileSystem;
|
|
5094
5094
|
const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
|
|
5095
|
-
const response = yield* send(
|
|
5095
|
+
const response = yield* send(make4(download.method)(download.url), failed);
|
|
5096
5096
|
if (response.status < 200 || response.status >= 300)
|
|
5097
5097
|
return yield* new CliError({ message: `Asset download failed with ${response.status}` });
|
|
5098
5098
|
const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
|