@kitman-sh/cli 0.10.57 → 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.
Files changed (26) hide show
  1. package/dist/{chunk-a1yf46xt.js → chunk-4jbn6hma.js} +3 -3
  2. package/dist/{chunk-wd0rvdt4.js → chunk-59n1m39j.js} +8 -8
  3. package/dist/{chunk-7evwar6b.js → chunk-76y7v9rj.js} +1 -1
  4. package/dist/{chunk-4kssrezn.js → chunk-8y8ax1bt.js} +1 -1
  5. package/dist/{chunk-mjzvfh9d.js → chunk-9rxwzn7y.js} +11 -11
  6. package/dist/{chunk-q5s64k8g.js → chunk-ac19vqmc.js} +61 -61
  7. package/dist/{chunk-99ver3za.js → chunk-ac851090.js} +4 -4
  8. package/dist/{chunk-x3mgznk2.js → chunk-ahtfwz4b.js} +2 -2
  9. package/dist/{chunk-h8s4vh47.js → chunk-bbsh3a70.js} +37 -37
  10. package/dist/{chunk-nrkwrajj.js → chunk-c6gyfqv4.js} +7 -7
  11. package/dist/{chunk-g53wn1q8.js → chunk-ec5df6ea.js} +2 -2
  12. package/dist/{chunk-fmhy6tss.js → chunk-edf91eyv.js} +4 -4
  13. package/dist/{chunk-23vene3j.js → chunk-hegberew.js} +7 -7
  14. package/dist/{chunk-gwcqz1bj.js → chunk-jd8xhqgm.js} +1 -1
  15. package/dist/{chunk-cy5fbrfm.js → chunk-kvv9vzzr.js} +45 -191
  16. package/dist/{chunk-hwd2gg2f.js → chunk-mfhmj6r6.js} +9 -9
  17. package/dist/{chunk-253add07.js → chunk-n1m89pnt.js} +5 -5
  18. package/dist/{chunk-61k67vxh.js → chunk-nk5h4cvx.js} +115 -73
  19. package/dist/{chunk-jc920h47.js → chunk-qbyxcjy1.js} +11 -11
  20. package/dist/{chunk-kyqsbr2n.js → chunk-qkbnbr47.js} +22 -22
  21. package/dist/{chunk-qhpyzn7c.js → chunk-qmmer308.js} +349 -198
  22. package/dist/{chunk-5tfxtw9z.js → chunk-tr80mjnp.js} +14 -60
  23. package/dist/{chunk-de4cfe40.js → chunk-zc214v7k.js} +9 -9
  24. package/dist/{chunk-v43h8s08.js → chunk-zxs37afg.js} +19 -19
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -6,7 +6,7 @@ import {
6
6
  getOrUndefined,
7
7
  Reference,
8
8
  TaggedError,
9
- make16,
9
+ make14,
10
10
  _await,
11
11
  fail5,
12
12
  succeed5,
@@ -85,9 +85,8 @@ import {
85
85
  decodeJsonString,
86
86
  encodeJsonStringSync,
87
87
  encodePrettyJsonString
88
- } from "./chunk-61k67vxh.js";
88
+ } from "./chunk-nk5h4cvx.js";
89
89
  import {
90
- currentTimeMillis,
91
90
  tap,
92
91
  mapError,
93
92
  decodeText,
@@ -98,8 +97,9 @@ import {
98
97
  withDefault,
99
98
  option,
100
99
  String2
101
- } from "./chunk-cy5fbrfm.js";
100
+ } from "./chunk-kvv9vzzr.js";
102
101
  import {
102
+ currentTimeMillis,
103
103
  SecureRandom,
104
104
  layerWebCrypto,
105
105
  runMain,
@@ -135,7 +135,7 @@ import {
135
135
  digestSha256,
136
136
  sha256Hasher,
137
137
  raw,
138
- make5,
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-qhpyzn7c.js";
200
+ } from "./chunk-qmmer308.js";
201
201
  import {
202
202
  Id
203
- } from "./chunk-4kssrezn.js";
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-7evwar6b.js";
213
+ } from "./chunk-76y7v9rj.js";
214
214
  import {
215
215
  ChildProcessSpawner,
216
- make3
217
- } from "./chunk-5tfxtw9z.js";
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-fmhy6tss.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
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-fmhy6tss.js")), (module) => module.updateHerdrCore(options))
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-mjzvfh9d.js"));
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(make3(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
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.57";
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-q5s64k8g.js"));
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-nrkwrajj.js"));
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* make16();
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-h8s4vh47.js"));
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-v43h8s08.js")), (build) => build.writeKit);
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-v43h8s08.js")), (build) => build.buildKit(directory))
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(make5(download.method)(download.url), failed);
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)));