@kitman-sh/cli 0.11.4 → 0.11.6

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.
@@ -248,15 +248,6 @@ var makeEquivalence = (equivalence) => {
248
248
  return (self, that) => is(self, that) && is(that, self);
249
249
  };
250
250
 
251
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
252
- var BigInt2 = globalThis.BigInt;
253
- var toNumber = (b) => {
254
- if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
255
- return none();
256
- }
257
- return some(Number(b));
258
- };
259
-
260
251
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
261
252
  var bigint0 = /* @__PURE__ */ BigInt(0);
262
253
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -3561,4 +3552,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3561
3552
  ...argv
3562
3553
  ];
3563
3554
 
3564
- export { map, makeEquivalence, toNumber, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3555
+ export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-vtfwjhzh.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-0b93nv6j.js";
12
+ } from "./chunk-3d4d52e5.js";
13
13
  import {
14
14
  WebSocketConstructor,
15
15
  layerWebSocketConstructorGlobal,
@@ -19,13 +19,13 @@ import {
19
19
  RunnerReplicaRpcs,
20
20
  RunnerRunFileRpcs,
21
21
  ProgramRpcs
22
- } from "./chunk-qh5pwxdk.js";
22
+ } from "./chunk-vxftwsbn.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-4e0c4zw0.js";
28
+ } from "./chunk-wf6hts0g.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -159,21 +159,7 @@ import {
159
159
  runMcpEffect,
160
160
  createAgentAuthSignedFetch,
161
161
  setupMcpAgentCredential
162
- } from "./chunk-qh5pwxdk.js";
163
- import {
164
- join,
165
- interrupt,
166
- runForEach,
167
- FileSystem,
168
- Path,
169
- embeddedFile,
170
- extractEmbeddedFile,
171
- map3,
172
- all,
173
- withDefault,
174
- option,
175
- String2
176
- } from "./chunk-0b93nv6j.js";
162
+ } from "./chunk-vxftwsbn.js";
177
163
  import {
178
164
  guard,
179
165
  Id,
@@ -193,6 +179,20 @@ import {
193
179
  isString,
194
180
  kindOf
195
181
  } from "./chunk-c6rbt85q.js";
182
+ import {
183
+ join,
184
+ interrupt,
185
+ runForEach,
186
+ FileSystem,
187
+ Path,
188
+ embeddedFile,
189
+ extractEmbeddedFile,
190
+ map3,
191
+ all,
192
+ withDefault,
193
+ option,
194
+ String2
195
+ } from "./chunk-3d4d52e5.js";
196
196
  import {
197
197
  nextInt
198
198
  } from "./chunk-nzjb36ad.js";
@@ -202,7 +202,7 @@ import {
202
202
  withHeaders,
203
203
  layerProtocolSocket,
204
204
  ConnectionHooks
205
- } from "./chunk-4e0c4zw0.js";
205
+ } from "./chunk-wf6hts0g.js";
206
206
 
207
207
  // apps/cli/src/mcp.ts
208
208
  import { tmpdir as tmpdir2 } from "os";
@@ -1,9 +1,4 @@
1
1
  // @bun
2
- import {
3
- FileSystem,
4
- Path,
5
- optionalEnv
6
- } from "./chunk-0b93nv6j.js";
7
2
  import {
8
3
  Reference,
9
4
  TaggedError,
@@ -33,14 +28,19 @@ import {
33
28
  isJsonObject,
34
29
  isString
35
30
  } from "./chunk-c6rbt85q.js";
31
+ import {
32
+ FileSystem,
33
+ Path,
34
+ optionalEnv
35
+ } from "./chunk-3d4d52e5.js";
36
36
  import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-qh5pwxdk.js";
40
+ } from "./chunk-vxftwsbn.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-rdx91nvh.js";
43
+ } from "./chunk-yz9mt7sj.js";
44
44
 
45
45
  // packages/agent-runtime/src/config-convergence.ts
46
46
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -108,7 +108,7 @@ import {
108
108
  withDefault,
109
109
  option,
110
110
  String2
111
- } from "./chunk-0b93nv6j.js";
111
+ } from "./chunk-3d4d52e5.js";
112
112
  import {
113
113
  currentTimeMillis,
114
114
  SecureRandom,
@@ -218,7 +218,7 @@ import {
218
218
  harnessNames,
219
219
  herdrRunnerCapabilities2,
220
220
  declaredChecks
221
- } from "./chunk-qh5pwxdk.js";
221
+ } from "./chunk-vxftwsbn.js";
222
222
  import {
223
223
  Id
224
224
  } from "./chunk-0qz10ek8.js";
@@ -235,7 +235,7 @@ import {
235
235
  import {
236
236
  ChildProcessSpawner,
237
237
  make3
238
- } from "./chunk-2qarscbj.js";
238
+ } from "./chunk-sk6ceghr.js";
239
239
 
240
240
  // apps/cli/src/cli-error.ts
241
241
  function cliErrorCode(error, status) {
@@ -530,10 +530,10 @@ var sandboxMissing = (sandbox, missing) => ({
530
530
  var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
531
531
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
532
532
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
533
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-n9qm4ypc.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
533
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-cwj7kdt3.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
534
534
  });
535
535
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
536
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-n9qm4ypc.js")), (module) => module.updateHerdrCore(options))
536
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-cwj7kdt3.js")), (module) => module.updateHerdrCore(options))
537
537
  });
538
538
  var herdrCoreMissing = (error) => {
539
539
  if (isTagged(error, "HerdrCoreMissing"))
@@ -953,7 +953,7 @@ var syncTargets = (harness) => gen(function* () {
953
953
  });
954
954
  var syncKits = (input) => gen(function* () {
955
955
  const fs = yield* FileSystem;
956
- const { syncKitSetup } = yield* promise(() => import("./chunk-8y6shv5e.js"));
956
+ const { syncKitSetup } = yield* promise(() => import("./chunk-sn8yf0zj.js"));
957
957
  const harnesses = yield* syncTargets(input.harness);
958
958
  const chain = yield* input.client.getKitChain(input.workspaceId);
959
959
  for (const { name, problem } of chain.skipped)
@@ -1871,7 +1871,7 @@ var package_default = {
1871
1871
  };
1872
1872
 
1873
1873
  // apps/cli/src/scaffold.ts
1874
- var cliVersion = "0.11.4";
1874
+ var cliVersion = "0.11.6";
1875
1875
  var packageJson = (name, scaffold) => `${JSON.stringify({
1876
1876
  name,
1877
1877
  private: true,
@@ -2137,7 +2137,7 @@ var Usage = [
2137
2137
  "Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
2138
2138
  ].join(`
2139
2139
  `);
2140
- var agentRuntime = promise(() => import("./chunk-cfda9gtd.js"));
2140
+ var agentRuntime = promise(() => import("./chunk-aqnsvq80.js"));
2141
2141
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
2142
2142
  defaultValue: () => gen(function* () {
2143
2143
  const tui = yield* tryPromise({
@@ -3134,7 +3134,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
3134
3134
  });
3135
3135
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
3136
3136
  defaultValue: () => (options) => gen(function* () {
3137
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-brpngwz8.js"));
3137
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-qy9e5gms.js"));
3138
3138
  return yield* makeRunnerRpcClient({
3139
3139
  runnerId: options.runnerId,
3140
3140
  bearer: options.bearer,
@@ -3658,7 +3658,7 @@ function mcpCommand(args) {
3658
3658
  if (command.action === "run") {
3659
3659
  if (command.args.length > 0)
3660
3660
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
3661
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-gp3ad3ne.js"));
3661
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-4cfn0afm.js"));
3662
3662
  return yield* runMcpServerCommand({ flags: command.flags });
3663
3663
  }
3664
3664
  if (command.action !== "setup")
@@ -4928,9 +4928,9 @@ function changeRequestCommand(args) {
4928
4928
  yield* log(command.action === "approve" ? `Approved ${short} of ${changeRequest.title}. A Run waiting on approval of ${short} resumes; one waiting on another head does not.` : `Requested changes to ${short} of ${changeRequest.title}`);
4929
4929
  });
4930
4930
  }
4931
- var KitWriter = map8(promise(() => import("./chunk-wpbc3w4f.js")), (build) => build.writeKit);
4931
+ var KitWriter = map8(promise(() => import("./chunk-xvbct1tt.js")), (build) => build.writeKit);
4932
4932
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
4933
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-wpbc3w4f.js")), (build) => build.buildKit(directory))
4933
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-xvbct1tt.js")), (build) => build.buildKit(directory))
4934
4934
  });
4935
4935
  var uploadKit = (client, workspaceId, built) => gen(function* () {
4936
4936
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -7,46 +7,6 @@ import {
7
7
  isJsonObject,
8
8
  isString
9
9
  } from "./chunk-c6rbt85q.js";
10
- import {
11
- join,
12
- interrupt,
13
- unbounded,
14
- publishUnsafe,
15
- unbounded2,
16
- offer,
17
- makeUnsafe3,
18
- make11,
19
- fromQueue,
20
- fromPubSub,
21
- map2,
22
- filter,
23
- decodeText,
24
- encodeText,
25
- splitLines,
26
- run,
27
- runHead,
28
- runForEach,
29
- FileSystem,
30
- Path,
31
- embeddedFile,
32
- extractEmbeddedFile,
33
- optionalEnv,
34
- operatorConfigHome,
35
- harnessesUnsupportedInSrt2,
36
- compiled2,
37
- pinnedSrtCommand2,
38
- pinnedSrtStepCommand2,
39
- runSrtCli2,
40
- kitmanCacheDirectory2,
41
- srtSettings2,
42
- srtCacheEnvironment2,
43
- srtInheritedEnv2,
44
- inheritedEnvironment2,
45
- withOnlyEnvironment2,
46
- writeSrtSettings2,
47
- srtStepArgv2,
48
- srtArgv2
49
- } from "./chunk-0b93nv6j.js";
50
10
  import {
51
11
  pipeArguments,
52
12
  dual,
@@ -286,7 +246,47 @@ import {
286
246
  installCommand,
287
247
  checkServicesFile,
288
248
  checkServices
289
- } from "./chunk-qh5pwxdk.js";
249
+ } from "./chunk-vxftwsbn.js";
250
+ import {
251
+ join,
252
+ interrupt,
253
+ unbounded,
254
+ publishUnsafe,
255
+ unbounded2,
256
+ offer,
257
+ makeUnsafe3,
258
+ make11,
259
+ fromQueue,
260
+ fromPubSub,
261
+ map2,
262
+ filter,
263
+ decodeText,
264
+ encodeText,
265
+ splitLines,
266
+ run,
267
+ runHead,
268
+ runForEach,
269
+ FileSystem,
270
+ Path,
271
+ embeddedFile,
272
+ extractEmbeddedFile,
273
+ optionalEnv,
274
+ operatorConfigHome,
275
+ harnessesUnsupportedInSrt2,
276
+ compiled2,
277
+ pinnedSrtCommand2,
278
+ pinnedSrtStepCommand2,
279
+ runSrtCli2,
280
+ kitmanCacheDirectory2,
281
+ srtSettings2,
282
+ srtCacheEnvironment2,
283
+ srtInheritedEnv2,
284
+ inheritedEnvironment2,
285
+ withOnlyEnvironment2,
286
+ writeSrtSettings2,
287
+ srtStepArgv2,
288
+ srtArgv2
289
+ } from "./chunk-3d4d52e5.js";
290
290
  import {
291
291
  writeAgentEnvironmentConfigFile2,
292
292
  readManifestSkillPaths2,
@@ -302,8 +302,8 @@ import {
302
302
  applyAgentEnvironmentMaterialization2,
303
303
  isPathWithin2,
304
304
  skillIdentity2
305
- } from "./chunk-kg99fa2c.js";
306
- import"./chunk-rdx91nvh.js";
305
+ } from "./chunk-7ww1ztjr.js";
306
+ import"./chunk-yz9mt7sj.js";
307
307
  import {
308
308
  egressAllowed,
309
309
  writeSecretRegistry,
@@ -321,23 +321,23 @@ import {
321
321
  decodedOption2,
322
322
  decoded2,
323
323
  readOpencode2
324
- } from "./chunk-kpfrhex3.js";
324
+ } from "./chunk-vmv7gwwr.js";
325
325
  import {
326
326
  uploadRunFile,
327
327
  programLease,
328
328
  rpcRunFiles,
329
329
  programHostsEnv,
330
330
  undeclaredHostsEnv
331
- } from "./chunk-myxv5kpp.js";
332
- import"./chunk-av04xyxt.js";
331
+ } from "./chunk-pft5558d.js";
332
+ import"./chunk-3nwq8a1k.js";
333
333
  import {
334
334
  nextInt
335
335
  } from "./chunk-nzjb36ad.js";
336
336
  import {
337
337
  ChildProcessSpawner,
338
338
  make3
339
- } from "./chunk-2qarscbj.js";
340
- import"./chunk-4e0c4zw0.js";
339
+ } from "./chunk-sk6ceghr.js";
340
+ import"./chunk-wf6hts0g.js";
341
341
 
342
342
  // packages/core/src/sync-kit.ts
343
343
  import { createHash } from "crypto";
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-2qarscbj.js";
2
+ import"./chunk-sk6ceghr.js";
3
3
  import {
4
4
  HERDR_CORE_GENERATION2,
5
5
  HERDR_CORE_INSTALL_COMMAND2,
@@ -12,8 +12,8 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-qh5pwxdk.js";
16
- import"./chunk-0b93nv6j.js";
15
+ } from "./chunk-vxftwsbn.js";
16
+ import"./chunk-3d4d52e5.js";
17
17
  import"./chunk-vtfwjhzh.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
@@ -7,10 +7,10 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-kpfrhex3.js";
11
- import"./chunk-2qarscbj.js";
10
+ } from "./chunk-vmv7gwwr.js";
11
+ import"./chunk-sk6ceghr.js";
12
12
  import"./chunk-c6rbt85q.js";
13
- import"./chunk-0b93nv6j.js";
13
+ import"./chunk-3d4d52e5.js";
14
14
  import"./chunk-vtfwjhzh.js";
15
15
  export {
16
16
  decoded2 as decoded,
@@ -14,7 +14,7 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-0b93nv6j.js";
17
+ } from "./chunk-3d4d52e5.js";
18
18
  import"./chunk-vtfwjhzh.js";
19
19
  export {
20
20
  compiled2 as compiled,
@@ -76,10 +76,6 @@ import {
76
76
  toCodecJson,
77
77
  Json
78
78
  } from "./chunk-vtfwjhzh.js";
79
- import {
80
- runForEach,
81
- FileSystem
82
- } from "./chunk-0b93nv6j.js";
83
79
  import {
84
80
  guard
85
81
  } from "./chunk-0qz10ek8.js";
@@ -109,7 +105,11 @@ import {
109
105
  KitDigest,
110
106
  KitSetup,
111
107
  RunnerRpcError
112
- } from "./chunk-qh5pwxdk.js";
108
+ } from "./chunk-vxftwsbn.js";
109
+ import {
110
+ runForEach,
111
+ FileSystem
112
+ } from "./chunk-3d4d52e5.js";
113
113
 
114
114
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
115
115
  var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
@@ -519,7 +519,6 @@ class StepFailed extends TaggedError2()("StepFailed", {
519
519
  return `Step "${this.step}" failed: ${this.reason}`;
520
520
  }
521
521
  }
522
-
523
522
  class OutputInvalid extends TaggedError2()("OutputInvalid", {
524
523
  step: String4,
525
524
  message: String4
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-av04xyxt.js";
8
- import"./chunk-4e0c4zw0.js";
9
- import"./chunk-qh5pwxdk.js";
7
+ } from "./chunk-3nwq8a1k.js";
8
+ import"./chunk-wf6hts0g.js";
9
+ import"./chunk-vxftwsbn.js";
10
10
  import"./chunk-0qz10ek8.js";
11
11
  import"./chunk-c6rbt85q.js";
12
- import"./chunk-0b93nv6j.js";
12
+ import"./chunk-3d4d52e5.js";
13
13
  import"./chunk-vtfwjhzh.js";
14
14
  export {
15
15
  makeProgramRpcClient2 as makeProgramRpcClient,
@@ -31,7 +31,7 @@ import {
31
31
  runCollect,
32
32
  runDrain,
33
33
  mkString
34
- } from "./chunk-0b93nv6j.js";
34
+ } from "./chunk-3d4d52e5.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;
@@ -1,8 +1,4 @@
1
1
  // @bun
2
- import {
3
- FileSystem,
4
- Path
5
- } from "./chunk-0b93nv6j.js";
6
2
  import {
7
3
  isObject2,
8
4
  isUint8Array,
@@ -21,21 +17,25 @@ import"./chunk-0qz10ek8.js";
21
17
  import {
22
18
  isJsonObject
23
19
  } from "./chunk-c6rbt85q.js";
20
+ import {
21
+ FileSystem,
22
+ Path
23
+ } from "./chunk-3d4d52e5.js";
24
24
  import {
25
25
  tomlTableHeader2,
26
26
  tomlKeyPath2,
27
27
  kitmanSkillEntry,
28
28
  isPathWithin2
29
- } from "./chunk-kg99fa2c.js";
29
+ } from "./chunk-7ww1ztjr.js";
30
30
  import {
31
31
  instructionsStart,
32
32
  instructionsEnd,
33
33
  renderMcpServer,
34
34
  materializeKitSetup,
35
35
  tomlInline
36
- } from "./chunk-qh5pwxdk.js";
37
- import"./chunk-rdx91nvh.js";
38
- import"./chunk-2qarscbj.js";
36
+ } from "./chunk-vxftwsbn.js";
37
+ import"./chunk-yz9mt7sj.js";
38
+ import"./chunk-sk6ceghr.js";
39
39
 
40
40
  // packages/agent-runtime/src/kit-setup-sync.ts
41
41
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -1,9 +1,4 @@
1
1
  // @bun
2
- import {
3
- make11,
4
- runForEach,
5
- compiled2
6
- } from "./chunk-0b93nv6j.js";
7
2
  import {
8
3
  getOrUndefined,
9
4
  liftThrowable,
@@ -33,10 +28,15 @@ import {
33
28
  isJsonObject,
34
29
  isString
35
30
  } from "./chunk-c6rbt85q.js";
31
+ import {
32
+ make11,
33
+ runForEach,
34
+ compiled2
35
+ } from "./chunk-3d4d52e5.js";
36
36
  import {
37
37
  ChildProcessSpawner,
38
38
  make3
39
- } from "./chunk-2qarscbj.js";
39
+ } from "./chunk-sk6ceghr.js";
40
40
 
41
41
  // packages/agent-runtime/src/opencode-store.ts
42
42
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -253,7 +253,6 @@ import {
253
253
  import {
254
254
  map,
255
255
  makeEquivalence,
256
- toNumber,
257
256
  bytes,
258
257
  BadArgument,
259
258
  systemError,
@@ -317,7 +316,7 @@ import {
317
316
  String2,
318
317
  optionalEnv,
319
318
  harnessesUnsupportedInSrt2
320
- } from "./chunk-0b93nv6j.js";
319
+ } from "./chunk-3d4d52e5.js";
321
320
  import {
322
321
  isDateTime,
323
322
  Numeric,
@@ -358,7 +357,7 @@ import {
358
357
  make3,
359
358
  parseFdName,
360
359
  fdName
361
- } from "./chunk-2qarscbj.js";
360
+ } from "./chunk-sk6ceghr.js";
362
361
 
363
362
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
364
363
  var makeEquivalence3 = Tuple;
@@ -900,6 +899,15 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
900
899
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
901
900
  var runMain = runMain2;
902
901
 
902
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
903
+ var BigInt2 = globalThis.BigInt;
904
+ var toNumber = (b) => {
905
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
906
+ return none();
907
+ }
908
+ return some(Number(b));
909
+ };
910
+
903
911
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
904
912
  var makeUnsafe = makeUnsafe6;
905
913
  var make18 = make4;
@@ -14415,6 +14423,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14415
14423
  payload: {
14416
14424
  lease: ProgramLease,
14417
14425
  step: String4,
14426
+ waitsWhenUnconfirmed: optionalKey(Boolean2),
14418
14427
  effect: Union([
14419
14428
  Struct({
14420
14429
  kind: Literal("post_comment"),
@@ -14661,6 +14670,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14661
14670
  payload: {
14662
14671
  lease: ProgramLease,
14663
14672
  step: String4,
14673
+ waitsWhenUnconfirmed: optionalKey(Boolean2),
14664
14674
  changeRequestId: String4,
14665
14675
  head: optionalKey(String4),
14666
14676
  rebase: optionalKey(Boolean2)
@@ -14713,6 +14723,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14713
14723
  payload: {
14714
14724
  lease: ProgramLease,
14715
14725
  step: String4,
14726
+ waitsWhenUnconfirmed: optionalKey(Boolean2),
14716
14727
  tag: String4,
14717
14728
  revision: optionalKey(String4),
14718
14729
  title: String4,
@@ -108,7 +108,7 @@ import {
108
108
  shutdownUnsafe,
109
109
  fromQueue,
110
110
  unwrap
111
- } from "./chunk-0b93nv6j.js";
111
+ } from "./chunk-3d4d52e5.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-qh5pwxdk.js";
126
+ } from "./chunk-vxftwsbn.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")) {
@@ -1,12 +1,4 @@
1
1
  // @bun
2
- import {
3
- decodeText,
4
- mkString,
5
- FileSystem,
6
- Path,
7
- withDefault,
8
- String2
9
- } from "./chunk-0b93nv6j.js";
10
2
  import {
11
3
  isString2,
12
4
  hasProperty,
@@ -54,23 +46,31 @@ import {
54
46
  layer4,
55
47
  kitmanMcpServer,
56
48
  RunnerRpcProtocolVersion
57
- } from "./chunk-qh5pwxdk.js";
49
+ } from "./chunk-vxftwsbn.js";
50
+ import {
51
+ decodeText,
52
+ mkString,
53
+ FileSystem,
54
+ Path,
55
+ withDefault,
56
+ String2
57
+ } from "./chunk-3d4d52e5.js";
58
58
  import {
59
59
  Packument,
60
60
  tarballMatches
61
- } from "./chunk-rdx91nvh.js";
62
- import"./chunk-av04xyxt.js";
61
+ } from "./chunk-yz9mt7sj.js";
62
+ import"./chunk-3nwq8a1k.js";
63
63
  import {
64
64
  AgentDeclaration,
65
65
  KitDeclarations,
66
66
  describeFlag,
67
67
  Described
68
- } from "./chunk-myxv5kpp.js";
68
+ } from "./chunk-pft5558d.js";
69
69
  import {
70
70
  ChildProcessSpawner,
71
71
  make3
72
- } from "./chunk-2qarscbj.js";
73
- import"./chunk-4e0c4zw0.js";
72
+ } from "./chunk-sk6ceghr.js";
73
+ import"./chunk-wf6hts0g.js";
74
74
 
75
75
  // packages/sdk/src/build/index.ts
76
76
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-0b93nv6j.js";
31
+ } from "./chunk-3d4d52e5.js";
32
32
  import {
33
33
  digestSha256,
34
34
  digestSha512,
@@ -38,7 +38,7 @@ import {
38
38
  get2,
39
39
  layer4,
40
40
  KitDigest
41
- } from "./chunk-qh5pwxdk.js";
41
+ } from "./chunk-vxftwsbn.js";
42
42
 
43
43
  // packages/core/src/npm-registry.ts
44
44
  var KitManifest = Struct({
package/dist/index.js CHANGED
@@ -5,15 +5,15 @@
5
5
  var args = process.argv.slice(2);
6
6
  if (args[0] === "srt") {
7
7
  process.argv.splice(2, 1);
8
- const { runSrtCli } = await import("./chunk-ap9y5k9y.js");
8
+ const { runSrtCli } = await import("./chunk-japwbj9n.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
11
  const { runSrtStep } = await import("./chunk-z450wa10.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-5vzznkvb.js");
14
+ const { runOpencodeReader } = await import("./chunk-d9bv70qb.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-89mqzn6e.js");
17
+ const { runCli } = await import("./chunk-951j2kzn.js");
18
18
  runCli(args);
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/cli",
3
- "version": "0.11.4",
3
+ "version": "0.11.6",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {