@kitman-sh/cli 0.10.85 → 0.10.86

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-tzz4fv17.js → chunk-292vjjdz.js} +1 -1
  2. package/dist/{chunk-xb70ys3n.js → chunk-2fqry6rd.js} +34 -177
  3. package/dist/{chunk-mxkx0vj5.js → chunk-38end526.js} +40 -26
  4. package/dist/{chunk-kgdppbdr.js → chunk-3wvp5n5a.js} +1 -1
  5. package/dist/{chunk-rxcy9h90.js → chunk-4sz3sg95.js} +7 -7
  6. package/dist/{chunk-bk31f16e.js → chunk-6tq2m8xc.js} +3 -3
  7. package/dist/{chunk-76ctrqm6.js → chunk-93vddjpx.js} +1 -1
  8. package/dist/{chunk-e8zm8z3a.js → chunk-999xbcaa.js} +6 -6
  9. package/dist/{chunk-193zkyhj.js → chunk-b0qaan2c.js} +4 -4
  10. package/dist/{chunk-98sg1yyd.js → chunk-bjexx93x.js} +2 -2
  11. package/dist/{chunk-4s08g8x1.js → chunk-ehwvgxq8.js} +8 -8
  12. package/dist/{chunk-m0yvvg6r.js → chunk-ekkjbmr9.js} +5 -5
  13. package/dist/{chunk-fhgfsets.js → chunk-gmt7awee.js} +6 -6
  14. package/dist/{chunk-w5smxtzc.js → chunk-h8fq958v.js} +294 -142
  15. package/dist/{chunk-myjfc5nh.js → chunk-jfgmhb6k.js} +5 -5
  16. package/dist/{chunk-11pnta38.js → chunk-mak28dxp.js} +18 -18
  17. package/dist/{chunk-9zd52pda.js → chunk-mr30hj39.js} +5 -5
  18. package/dist/{chunk-gaxp5nmx.js → chunk-q1qrwcnw.js} +8 -8
  19. package/dist/{chunk-fq47a5yd.js → chunk-qnnsy306.js} +2 -2
  20. package/dist/{chunk-ycmnmmep.js → chunk-wbdgjd1n.js} +29 -29
  21. package/dist/{chunk-ky974pcr.js → chunk-wtx1vq9t.js} +4 -4
  22. package/dist/{chunk-jbwk6k6m.js → chunk-xq4k0mgr.js} +60 -60
  23. package/dist/{chunk-dcxtztbx.js → chunk-y1x0mb3b.js} +10 -10
  24. package/dist/{chunk-62565d52.js → chunk-zms40x1v.js} +2 -2
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -23,24 +23,24 @@ import {
23
23
  fnUntraced,
24
24
  encodePrettyJsonString,
25
25
  decodeJsonStringSync
26
- } from "./chunk-jbwk6k6m.js";
26
+ } from "./chunk-xq4k0mgr.js";
27
27
  import {
28
28
  isJsonObject,
29
29
  isString
30
- } from "./chunk-tzz4fv17.js";
30
+ } from "./chunk-292vjjdz.js";
31
31
  import {
32
32
  FileSystem,
33
33
  Path,
34
34
  optionalEnv
35
- } from "./chunk-xb70ys3n.js";
35
+ } from "./chunk-2fqry6rd.js";
36
36
  import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-w5smxtzc.js";
40
+ } from "./chunk-h8fq958v.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-bk31f16e.js";
43
+ } from "./chunk-6tq2m8xc.js";
44
44
 
45
45
  // packages/agent-runtime/src/config-convergence.ts
46
46
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -12,7 +12,7 @@ import {
12
12
  add,
13
13
  getOrUndefinedUnsafe,
14
14
  getUnsafe,
15
- get4,
15
+ get3,
16
16
  Reference,
17
17
  toMillis,
18
18
  isSuccess,
@@ -96,21 +96,8 @@ import {
96
96
  Defect,
97
97
  Exit,
98
98
  toCodecJson
99
- } from "./chunk-jbwk6k6m.js";
99
+ } from "./chunk-xq4k0mgr.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-xb70ys3n.js";
112
- import {
113
- Clock,
114
101
  empty,
115
102
  fromInput,
116
103
  merge,
@@ -123,7 +110,20 @@ import {
123
110
  ParseOptions,
124
111
  RpcClientDefect,
125
112
  RpcClientError
126
- } from "./chunk-w5smxtzc.js";
113
+ } from "./chunk-h8fq958v.js";
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";
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 = get4(services, Scope);
240
+ const scope = get3(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 = get4(rpc.annotations, ParseOptions);
646
+ const parseOptions = get3(rpc.annotations, ParseOptions);
647
647
  const exitSchema2 = exitSchema(rpc);
648
648
  let decodeDiscardExit;
649
649
  entry = {
@@ -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-999xbcaa.js";
11
+ import"./chunk-bjexx93x.js";
12
+ import"./chunk-292vjjdz.js";
13
+ import"./chunk-2fqry6rd.js";
14
+ import"./chunk-xq4k0mgr.js";
15
15
  export {
16
16
  decoded2 as decoded,
17
17
  decodedOption2 as decodedOption,
@@ -102,9 +102,8 @@ import {
102
102
  decodeJsonStringOption,
103
103
  encodeJsonStringSync,
104
104
  encodePrettyJsonString
105
- } from "./chunk-jbwk6k6m.js";
105
+ } from "./chunk-xq4k0mgr.js";
106
106
  import {
107
- currentTimeMillis,
108
107
  SecureRandom,
109
108
  makeUnsafe,
110
109
  formatIso,
@@ -154,13 +153,13 @@ import {
154
153
  runMcpEffect,
155
154
  createAgentAuthSignedFetch,
156
155
  setupMcpAgentCredential
157
- } from "./chunk-w5smxtzc.js";
156
+ } from "./chunk-h8fq958v.js";
158
157
  import {
159
158
  guard,
160
159
  Id,
161
160
  Timestamp,
162
161
  ActorType
163
- } from "./chunk-kgdppbdr.js";
162
+ } from "./chunk-3wvp5n5a.js";
164
163
  import {
165
164
  toJsonValue,
166
165
  isOneOf,
@@ -173,8 +172,9 @@ import {
173
172
  isJsonObject,
174
173
  isString,
175
174
  kindOf
176
- } from "./chunk-tzz4fv17.js";
175
+ } from "./chunk-292vjjdz.js";
177
176
  import {
177
+ currentTimeMillis,
178
178
  join,
179
179
  interrupt,
180
180
  runForEach,
@@ -187,17 +187,17 @@ import {
187
187
  withDefault,
188
188
  option,
189
189
  String2
190
- } from "./chunk-xb70ys3n.js";
190
+ } from "./chunk-2fqry6rd.js";
191
191
  import {
192
192
  nextInt
193
- } from "./chunk-76ctrqm6.js";
193
+ } from "./chunk-93vddjpx.js";
194
194
  import {
195
195
  layerJson,
196
196
  make4,
197
197
  withHeaders,
198
198
  layerProtocolSocket,
199
199
  ConnectionHooks
200
- } from "./chunk-11pnta38.js";
200
+ } from "./chunk-mak28dxp.js";
201
201
 
202
202
  // apps/cli/src/mcp.ts
203
203
  import { tmpdir } from "os";
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-xb70ys3n.js";
18
- import"./chunk-jbwk6k6m.js";
17
+ } from "./chunk-2fqry6rd.js";
18
+ import"./chunk-xq4k0mgr.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
@@ -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,21 +85,8 @@ import {
85
85
  decodeJsonString,
86
86
  encodeJsonStringSync,
87
87
  encodePrettyJsonString
88
- } from "./chunk-jbwk6k6m.js";
88
+ } from "./chunk-xq4k0mgr.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-xb70ys3n.js";
101
- import {
102
- currentTimeMillis,
103
90
  SecureRandom,
104
91
  layerWebCrypto,
105
92
  runMain,
@@ -197,10 +184,10 @@ import {
197
184
  harnessNames,
198
185
  herdrRunnerCapabilities2,
199
186
  declaredChecks
200
- } from "./chunk-w5smxtzc.js";
187
+ } from "./chunk-h8fq958v.js";
201
188
  import {
202
189
  Id
203
- } from "./chunk-kgdppbdr.js";
190
+ } from "./chunk-3wvp5n5a.js";
204
191
  import {
205
192
  toJsonValue,
206
193
  isOneOf,
@@ -210,11 +197,24 @@ import {
210
197
  isObject,
211
198
  isJsonObject,
212
199
  isString
213
- } from "./chunk-tzz4fv17.js";
200
+ } from "./chunk-292vjjdz.js";
201
+ import {
202
+ currentTimeMillis,
203
+ tap,
204
+ mapError,
205
+ decodeText,
206
+ run,
207
+ mkString,
208
+ FileSystem,
209
+ Path,
210
+ withDefault,
211
+ option,
212
+ String2
213
+ } from "./chunk-2fqry6rd.js";
214
214
  import {
215
215
  ChildProcessSpawner,
216
216
  make3
217
- } from "./chunk-98sg1yyd.js";
217
+ } from "./chunk-bjexx93x.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-b0qaan2c.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-b0qaan2c.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-ehwvgxq8.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.85";
1654
+ var cliVersion = "0.10.86";
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-mxkx0vj5.js"));
1904
+ var agentRuntime = promise(() => import("./chunk-38end526.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-4sz3sg95.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-q1qrwcnw.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-dcxtztbx.js")), (build) => build.writeKit);
4375
+ var KitWriter = map8(promise(() => import("./chunk-y1x0mb3b.js")), (build) => build.writeKit);
4376
4376
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
4377
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-dcxtztbx.js")), (build) => build.buildKit(directory))
4377
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-y1x0mb3b.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) });
@@ -4,10 +4,10 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-62565d52.js";
8
- import"./chunk-kgdppbdr.js";
9
- import"./chunk-tzz4fv17.js";
10
- import"./chunk-jbwk6k6m.js";
7
+ } from "./chunk-zms40x1v.js";
8
+ import"./chunk-3wvp5n5a.js";
9
+ import"./chunk-292vjjdz.js";
10
+ import"./chunk-xq4k0mgr.js";
11
11
  export {
12
12
  isOpaqueConnectReason2 as isOpaqueConnectReason,
13
13
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,