@kitman-sh/cli 0.10.87 → 0.10.89

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-rxcy9h90.js → chunk-1hqy9g9w.js} +7 -7
  2. package/dist/{chunk-tzz4fv17.js → chunk-1mcwey0c.js} +1 -1
  3. package/dist/{chunk-11pnta38.js → chunk-1whmkfzv.js} +5 -5
  4. package/dist/{chunk-z7mvdzqm.js → chunk-4b1nj0zw.js} +21 -21
  5. package/dist/{chunk-9zd52pda.js → chunk-5dwyvg1z.js} +5 -5
  6. package/dist/{chunk-gaxp5nmx.js → chunk-5dydsgwg.js} +25 -25
  7. package/dist/{chunk-4s08g8x1.js → chunk-5w8trr75.js} +8 -8
  8. package/dist/{chunk-w5smxtzc.js → chunk-73fw4pgr.js} +108 -108
  9. package/dist/{chunk-bk31f16e.js → chunk-99ad4j9s.js} +3 -3
  10. package/dist/{chunk-62565d52.js → chunk-aj4ev9v2.js} +2 -2
  11. package/dist/{chunk-jbwk6k6m.js → chunk-caqesagt.js} +70 -28
  12. package/dist/{chunk-ky974pcr.js → chunk-cw2ghw7n.js} +4 -4
  13. package/dist/{chunk-myjfc5nh.js → chunk-d8tabep6.js} +5 -5
  14. package/dist/{chunk-n3prr22y.js → chunk-daycfvkq.js} +19 -19
  15. package/dist/{chunk-e8zm8z3a.js → chunk-dmwqvnmb.js} +8 -8
  16. package/dist/{chunk-76ctrqm6.js → chunk-maj4dn1b.js} +1 -1
  17. package/dist/{chunk-kgdppbdr.js → chunk-p74pmd81.js} +1 -1
  18. package/dist/{chunk-m0yvvg6r.js → chunk-phcerzkf.js} +5 -5
  19. package/dist/{chunk-193zkyhj.js → chunk-qqzr8ym6.js} +4 -4
  20. package/dist/{chunk-fq47a5yd.js → chunk-vne4rsj0.js} +2 -2
  21. package/dist/{chunk-fhgfsets.js → chunk-vzq3q5zr.js} +7 -7
  22. package/dist/{chunk-xb70ys3n.js → chunk-w9j2yb0n.js} +17 -17
  23. package/dist/{chunk-98sg1yyd.js → chunk-ybp1mwv9.js} +14 -60
  24. package/dist/{chunk-h6v1w0vw.js → chunk-yhh9yeqf.js} +23 -23
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -4,13 +4,13 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-fhgfsets.js";
8
- import"./chunk-11pnta38.js";
9
- import"./chunk-w5smxtzc.js";
10
- import"./chunk-kgdppbdr.js";
11
- import"./chunk-tzz4fv17.js";
12
- import"./chunk-xb70ys3n.js";
13
- import"./chunk-jbwk6k6m.js";
7
+ } from "./chunk-vzq3q5zr.js";
8
+ import"./chunk-1whmkfzv.js";
9
+ import"./chunk-73fw4pgr.js";
10
+ import"./chunk-p74pmd81.js";
11
+ import"./chunk-1mcwey0c.js";
12
+ import"./chunk-w9j2yb0n.js";
13
+ import"./chunk-caqesagt.js";
14
14
  export {
15
15
  makeProgramRpcClient2 as makeProgramRpcClient,
16
16
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -8,7 +8,7 @@ import {
8
8
  isFunction2,
9
9
  isUndefined2,
10
10
  isObjectOrArray
11
- } from "./chunk-jbwk6k6m.js";
11
+ } from "./chunk-caqesagt.js";
12
12
 
13
13
  // packages/core/src/runtime-type.ts
14
14
  var UnsafeJsonObjectKeys = new Set(["__proto__", "constructor", "prototype"]);
@@ -96,7 +96,7 @@ import {
96
96
  Defect,
97
97
  Exit,
98
98
  toCodecJson
99
- } from "./chunk-jbwk6k6m.js";
99
+ } from "./chunk-caqesagt.js";
100
100
  import {
101
101
  interrupt,
102
102
  getCurrent,
@@ -108,7 +108,7 @@ import {
108
108
  shutdownUnsafe,
109
109
  fromQueue,
110
110
  unwrap
111
- } from "./chunk-xb70ys3n.js";
111
+ } from "./chunk-w9j2yb0n.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-w5smxtzc.js";
126
+ } from "./chunk-73fw4pgr.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")) {
@@ -483,7 +483,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
483
483
  };
484
484
  });
485
485
  var clientIdCounter = 0;
486
- var make4 = /* @__PURE__ */ fnUntraced(function* (group, options) {
486
+ var make3 = /* @__PURE__ */ fnUntraced(function* (group, options) {
487
487
  const clientId = clientIdCounter++;
488
488
  const {
489
489
  codecFor,
@@ -829,4 +829,4 @@ var layerProtocolSocket = (options) => effect(Protocol)(makeProtocolSocket(optio
829
829
  class ConnectionHooks extends (/* @__PURE__ */ Service2()("effect/rpc/RpcClient/ConnectionHooks")) {
830
830
  }
831
831
 
832
- export { layerJson, make4, withHeaders, layerProtocolSocket, ConnectionHooks };
832
+ export { layerJson, make3, withHeaders, layerProtocolSocket, ConnectionHooks };
@@ -6,7 +6,7 @@ import {
6
6
  getOrUndefined,
7
7
  Reference,
8
8
  TaggedError,
9
- make16,
9
+ make15,
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-jbwk6k6m.js";
88
+ } from "./chunk-caqesagt.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-xb70ys3n.js";
100
+ } from "./chunk-w9j2yb0n.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
- 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-w5smxtzc.js";
200
+ } from "./chunk-73fw4pgr.js";
201
201
  import {
202
202
  Id
203
- } from "./chunk-kgdppbdr.js";
203
+ } from "./chunk-p74pmd81.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-tzz4fv17.js";
213
+ } from "./chunk-1mcwey0c.js";
214
214
  import {
215
215
  ChildProcessSpawner,
216
- make3
217
- } from "./chunk-98sg1yyd.js";
216
+ make2
217
+ } from "./chunk-ybp1mwv9.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-193zkyhj.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
507
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-qqzr8ym6.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-193zkyhj.js")), (module) => module.updateHerdrCore(options))
510
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-qqzr8ym6.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-4s08g8x1.js"));
736
+ const { syncKitSetup } = yield* promise(() => import("./chunk-5w8trr75.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.87";
1654
+ var cliVersion = "0.10.89";
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-h6v1w0vw.js"));
1904
+ var agentRuntime = promise(() => import("./chunk-yhh9yeqf.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-rxcy9h90.js"));
2780
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-1hqy9g9w.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* make16();
2975
+ const updated = yield* make15();
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-gaxp5nmx.js"));
3164
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-5dydsgwg.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-n3prr22y.js")), (build) => build.writeKit);
4375
+ var KitWriter = map8(promise(() => import("./chunk-daycfvkq.js")), (build) => build.writeKit);
4376
4376
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
4377
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-n3prr22y.js")), (build) => build.buildKit(directory))
4377
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-daycfvkq.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) });
@@ -5132,7 +5132,7 @@ function downloadPresignedAsset(download, outputPath) {
5132
5132
  return gen(function* () {
5133
5133
  const fs = yield* FileSystem;
5134
5134
  const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
5135
- const response = yield* send(make5(download.method)(download.url), failed);
5135
+ const response = yield* send(make4(download.method)(download.url), failed);
5136
5136
  if (response.status < 200 || response.status >= 300)
5137
5137
  return yield* new CliError({ message: `Asset download failed with ${response.status}` });
5138
5138
  const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
@@ -7,11 +7,11 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-e8zm8z3a.js";
11
- import"./chunk-98sg1yyd.js";
12
- import"./chunk-tzz4fv17.js";
13
- import"./chunk-xb70ys3n.js";
14
- import"./chunk-jbwk6k6m.js";
10
+ } from "./chunk-dmwqvnmb.js";
11
+ import"./chunk-ybp1mwv9.js";
12
+ import"./chunk-1mcwey0c.js";
13
+ import"./chunk-w9j2yb0n.js";
14
+ import"./chunk-caqesagt.js";
15
15
  export {
16
16
  decoded2 as decoded,
17
17
  decodedOption2 as decodedOption,