@kitman-sh/cli 0.12.4 → 0.12.5

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.
@@ -250,15 +250,6 @@ var makeEquivalence = (equivalence) => {
250
250
  return (self, that) => is(self, that) && is(that, self);
251
251
  };
252
252
 
253
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
254
- var BigInt2 = globalThis.BigInt;
255
- var toNumber = (b) => {
256
- if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
257
- return none();
258
- }
259
- return some(Number(b));
260
- };
261
-
262
253
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
263
254
  var bigint0 = /* @__PURE__ */ BigInt(0);
264
255
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -3566,4 +3557,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3566
3557
  ...argv
3567
3558
  ];
3568
3559
 
3569
- 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, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3560
+ 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, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -76,10 +76,6 @@ import {
76
76
  toCodecJson,
77
77
  Json
78
78
  } from "./chunk-zw3gf6r5.js";
79
- import {
80
- runForEach,
81
- FileSystem
82
- } from "./chunk-trqvcc06.js";
83
79
  import {
84
80
  guard
85
81
  } from "./chunk-q5w3v4k1.js";
@@ -109,7 +105,11 @@ import {
109
105
  KitDigest,
110
106
  KitSetup,
111
107
  RunnerRpcError
112
- } from "./chunk-vbv9x6d7.js";
108
+ } from "./chunk-csgqrjmm.js";
109
+ import {
110
+ runForEach,
111
+ FileSystem
112
+ } from "./chunk-0h49y8gf.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");
@@ -1,12 +1,4 @@
1
1
  // @bun
2
- import {
3
- decodeText,
4
- mkString,
5
- FileSystem,
6
- Path,
7
- withDefault,
8
- String2
9
- } from "./chunk-trqvcc06.js";
10
2
  import {
11
3
  isString,
12
4
  hasProperty,
@@ -53,23 +45,31 @@ import {
53
45
  layer4,
54
46
  kitmanMcpServer,
55
47
  RunnerRpcProtocolVersion
56
- } from "./chunk-vbv9x6d7.js";
48
+ } from "./chunk-csgqrjmm.js";
49
+ import {
50
+ decodeText,
51
+ mkString,
52
+ FileSystem,
53
+ Path,
54
+ withDefault,
55
+ String2
56
+ } from "./chunk-0h49y8gf.js";
57
57
  import {
58
58
  Packument,
59
59
  tarballMatches
60
- } from "./chunk-rs0qassb.js";
61
- import"./chunk-6b91ftp6.js";
60
+ } from "./chunk-ycb69yfq.js";
61
+ import"./chunk-sk0j9vm2.js";
62
62
  import {
63
63
  AgentDeclaration,
64
64
  KitDeclarations,
65
65
  describeFlag,
66
66
  Described
67
- } from "./chunk-j373bdw1.js";
67
+ } from "./chunk-34qnpbzd.js";
68
68
  import {
69
69
  ChildProcessSpawner,
70
70
  make3
71
- } from "./chunk-nfc1scfz.js";
72
- import"./chunk-v1pa2dpe.js";
71
+ } from "./chunk-mtkstrh3.js";
72
+ import"./chunk-4ksq2d3k.js";
73
73
 
74
74
  // packages/sdk/src/build/index.ts
75
75
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -1,10 +1,4 @@
1
1
  // @bun
2
- import {
3
- FileSystem,
4
- Path,
5
- optionalEnv,
6
- tempDirectoryScoped
7
- } from "./chunk-trqvcc06.js";
8
2
  import {
9
3
  Reference,
10
4
  TaggedError,
@@ -32,14 +26,20 @@ import {
32
26
  encodePrettyJsonString,
33
27
  decodeJsonStringSync
34
28
  } from "./chunk-zw3gf6r5.js";
29
+ import {
30
+ FileSystem,
31
+ Path,
32
+ optionalEnv,
33
+ tempDirectoryScoped
34
+ } from "./chunk-0h49y8gf.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-vbv9x6d7.js";
39
+ } from "./chunk-csgqrjmm.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-rs0qassb.js";
42
+ } from "./chunk-ycb69yfq.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -108,7 +108,7 @@ import {
108
108
  shutdownUnsafe,
109
109
  fromQueue,
110
110
  unwrap
111
- } from "./chunk-trqvcc06.js";
111
+ } from "./chunk-0h49y8gf.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-vbv9x6d7.js";
126
+ } from "./chunk-csgqrjmm.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")) {
@@ -170,7 +170,13 @@ import {
170
170
  runMcpEffect,
171
171
  createAgentAuthSignedFetch,
172
172
  setupMcpAgentCredential
173
- } from "./chunk-vbv9x6d7.js";
173
+ } from "./chunk-csgqrjmm.js";
174
+ import {
175
+ guard,
176
+ Id,
177
+ Timestamp,
178
+ ActorType
179
+ } from "./chunk-q5w3v4k1.js";
174
180
  import {
175
181
  join,
176
182
  interrupt,
@@ -184,17 +190,11 @@ import {
184
190
  withDefault,
185
191
  option,
186
192
  String2
187
- } from "./chunk-trqvcc06.js";
188
- import {
189
- guard,
190
- Id,
191
- Timestamp,
192
- ActorType
193
- } from "./chunk-q5w3v4k1.js";
193
+ } from "./chunk-0h49y8gf.js";
194
194
  import {
195
195
  searchDocs2,
196
196
  readDoc2
197
- } from "./chunk-9hqbmnkh.js";
197
+ } from "./chunk-p5ct5y4z.js";
198
198
  import {
199
199
  nextInt
200
200
  } from "./chunk-gq7y5v3e.js";
@@ -204,7 +204,7 @@ import {
204
204
  withHeaders,
205
205
  layerProtocolSocket,
206
206
  ConnectionHooks
207
- } from "./chunk-v1pa2dpe.js";
207
+ } from "./chunk-4ksq2d3k.js";
208
208
 
209
209
  // apps/cli/src/mcp.ts
210
210
  import { tmpdir as tmpdir2 } from "os";
@@ -7,9 +7,9 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-bvpczkzf.js";
11
- import"./chunk-nfc1scfz.js";
12
- import"./chunk-trqvcc06.js";
10
+ } from "./chunk-cbpb2rww.js";
11
+ import"./chunk-mtkstrh3.js";
12
+ import"./chunk-0h49y8gf.js";
13
13
  import"./chunk-zw3gf6r5.js";
14
14
  export {
15
15
  decoded2 as decoded,
@@ -14,7 +14,7 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-trqvcc06.js";
17
+ } from "./chunk-0h49y8gf.js";
18
18
  import"./chunk-zw3gf6r5.js";
19
19
  export {
20
20
  compiled2 as compiled,
@@ -1,9 +1,4 @@
1
1
  // @bun
2
- import {
3
- make11,
4
- runForEach,
5
- compiled2
6
- } from "./chunk-trqvcc06.js";
7
2
  import {
8
3
  getOrUndefined,
9
4
  liftThrowable,
@@ -31,10 +26,15 @@ import {
31
26
  isString2,
32
27
  encodeUnknownJsonStringSync
33
28
  } from "./chunk-zw3gf6r5.js";
29
+ import {
30
+ make11,
31
+ runForEach,
32
+ compiled2
33
+ } from "./chunk-0h49y8gf.js";
34
34
  import {
35
35
  ChildProcessSpawner,
36
36
  make3
37
- } from "./chunk-nfc1scfz.js";
37
+ } from "./chunk-mtkstrh3.js";
38
38
 
39
39
  // packages/agent-runtime/src/opencode-store.ts
40
40
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -265,7 +265,6 @@ import {
265
265
  import {
266
266
  map,
267
267
  makeEquivalence,
268
- toNumber,
269
268
  bytes,
270
269
  BadArgument,
271
270
  systemError,
@@ -329,7 +328,7 @@ import {
329
328
  String2,
330
329
  optionalEnv,
331
330
  harnessesUnsupportedInSrt2
332
- } from "./chunk-trqvcc06.js";
331
+ } from "./chunk-0h49y8gf.js";
333
332
  import {
334
333
  isDateTime,
335
334
  Numeric,
@@ -356,8 +355,7 @@ import {
356
355
  make3,
357
356
  parseFdName,
358
357
  fdName
359
- } from "./chunk-nfc1scfz.js";
360
-
358
+ } from "./chunk-mtkstrh3.js";
361
359
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
362
360
  var makeEquivalence3 = Tuple;
363
361
 
@@ -898,6 +896,15 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
898
896
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
899
897
  var runMain = runMain2;
900
898
 
899
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
900
+ var BigInt2 = globalThis.BigInt;
901
+ var toNumber = (b) => {
902
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
903
+ return none();
904
+ }
905
+ return some(Number(b));
906
+ };
907
+
901
908
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
902
909
  var makeUnsafe = makeUnsafe6;
903
910
  var make18 = make4;
@@ -116,7 +116,7 @@ import {
116
116
  withDefault,
117
117
  option,
118
118
  String2
119
- } from "./chunk-trqvcc06.js";
119
+ } from "./chunk-0h49y8gf.js";
120
120
  import {
121
121
  currentTimeMillis,
122
122
  SecureRandom,
@@ -228,14 +228,14 @@ import {
228
228
  harnessNames,
229
229
  herdrRunnerCapabilities2,
230
230
  declaredChecks
231
- } from "./chunk-vbv9x6d7.js";
231
+ } from "./chunk-csgqrjmm.js";
232
232
  import {
233
233
  Id
234
234
  } from "./chunk-q5w3v4k1.js";
235
235
  import {
236
236
  ChildProcessSpawner,
237
237
  make3
238
- } from "./chunk-nfc1scfz.js";
238
+ } from "./chunk-mtkstrh3.js";
239
239
 
240
240
  // apps/cli/src/cli-error.ts
241
241
  function cliErrorCode(error, status) {
@@ -989,10 +989,10 @@ var sandboxMissing = (sandbox, missing) => ({
989
989
  var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
990
990
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
991
991
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
992
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-9ydwnxh9.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
992
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-rvgc6sb6.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
993
993
  });
994
994
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
995
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-9ydwnxh9.js")), (module) => module.updateHerdrCore(options))
995
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-rvgc6sb6.js")), (module) => module.updateHerdrCore(options))
996
996
  });
997
997
  var herdrCoreMissing = (error) => {
998
998
  if (isTagged(error, "HerdrCoreMissing"))
@@ -1412,7 +1412,7 @@ var syncTargets = (harness) => gen(function* () {
1412
1412
  });
1413
1413
  var syncKits = (input) => gen(function* () {
1414
1414
  const fs = yield* FileSystem;
1415
- const { syncKitSetup } = yield* promise(() => import("./chunk-r3yamwdd.js"));
1415
+ const { syncKitSetup } = yield* promise(() => import("./chunk-yj971evw.js"));
1416
1416
  const harnesses = yield* syncTargets(input.harness);
1417
1417
  const chain = yield* input.client.getKitChain(input.workspaceId);
1418
1418
  for (const { name, problem } of chain.skipped)
@@ -2331,7 +2331,7 @@ var package_default = {
2331
2331
  };
2332
2332
 
2333
2333
  // apps/cli/src/scaffold.ts
2334
- var cliVersion = "0.12.4";
2334
+ var cliVersion = "0.12.5";
2335
2335
  var packageJson = (name, scaffold) => `${JSON.stringify({
2336
2336
  name,
2337
2337
  private: true,
@@ -2483,7 +2483,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
2483
2483
 
2484
2484
  // apps/cli/src/commands.ts
2485
2485
  var ClientId = "kitman-cli";
2486
- var agentRuntime = promise(() => import("./chunk-74zwne6t.js"));
2486
+ var agentRuntime = promise(() => import("./chunk-q25thbsb.js"));
2487
2487
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
2488
2488
  defaultValue: () => gen(function* () {
2489
2489
  const tui = yield* tryPromise({
@@ -3507,7 +3507,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
3507
3507
  });
3508
3508
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
3509
3509
  defaultValue: () => (options) => gen(function* () {
3510
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-r4a6f4pa.js"));
3510
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-tfkgd2gr.js"));
3511
3511
  return yield* makeRunnerRpcClient({
3512
3512
  runnerId: options.runnerId,
3513
3513
  bearer: options.bearer,
@@ -4039,7 +4039,7 @@ function mcpCommand(args) {
4039
4039
  if (command.action === "run") {
4040
4040
  if (command.args.length > 0)
4041
4041
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
4042
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-9rvj15vf.js"));
4042
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-5746z147.js"));
4043
4043
  return yield* runMcpServerCommand({ flags: command.flags });
4044
4044
  }
4045
4045
  if (command.action !== "setup")
@@ -4527,7 +4527,7 @@ function programLoopCommand(command) {
4527
4527
  return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
4528
4528
  });
4529
4529
  }
4530
- var docsModule = promise(() => import("./chunk-gbakhy7m.js"));
4530
+ var docsModule = promise(() => import("./chunk-mgn7vmf0.js"));
4531
4531
  function docsCommand(args) {
4532
4532
  return gen(function* () {
4533
4533
  const command = parseCommand(args);
@@ -5361,9 +5361,9 @@ function changeRequestCommand(args) {
5361
5361
  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}`);
5362
5362
  });
5363
5363
  }
5364
- var KitWriter = map8(promise(() => import("./chunk-j8j7ryjm.js")), (build) => build.writeKit);
5364
+ var KitWriter = map8(promise(() => import("./chunk-3bz9qx6q.js")), (build) => build.writeKit);
5365
5365
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
5366
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-j8j7ryjm.js")), (build) => build.buildKit(directory))
5366
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-3bz9qx6q.js")), (build) => build.buildKit(directory))
5367
5367
  });
5368
5368
  var uploadKit = (client, workspaceId, built) => gen(function* () {
5369
5369
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-9hqbmnkh.js";
7
+ } from "./chunk-p5ct5y4z.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -31,7 +31,7 @@ import {
31
31
  runCollect,
32
32
  runDrain,
33
33
  mkString
34
- } from "./chunk-trqvcc06.js";
34
+ } from "./chunk-0h49y8gf.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;
@@ -1481,7 +1481,7 @@ var pathOfLink = (link) => {
1481
1481
  return page === null ? link : page[1] || "index";
1482
1482
  };
1483
1483
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
1484
- var pinnedLink2 = (link, version = "0.12.4") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1484
+ var pinnedLink2 = (link, version = "0.12.5") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1485
1485
  var pageOf = (path) => path.split("#")[0];
1486
1486
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
1487
1487
  function excerpt(text, queryTerms) {
@@ -169,47 +169,6 @@ import {
169
169
  encodeUnknownJsonStringSync,
170
170
  storable
171
171
  } from "./chunk-zw3gf6r5.js";
172
- import {
173
- join,
174
- interrupt,
175
- unbounded,
176
- publishUnsafe,
177
- unbounded2,
178
- offer,
179
- makeUnsafe3,
180
- make11,
181
- fromQueue,
182
- fromPubSub,
183
- map2,
184
- filter,
185
- decodeText,
186
- encodeText,
187
- splitLines,
188
- run,
189
- runHead,
190
- runForEach,
191
- FileSystem,
192
- Path,
193
- embeddedFile,
194
- extractEmbeddedFile,
195
- optionalEnv,
196
- operatorConfigHome,
197
- tempDirectoryScoped,
198
- harnessesUnsupportedInSrt2,
199
- compiled2,
200
- pinnedSrtCommand2,
201
- pinnedSrtStepCommand2,
202
- runSrtCli2,
203
- kitmanCacheDirectory2,
204
- srtSettings2,
205
- srtCacheEnvironment2,
206
- srtInheritedEnv2,
207
- inheritedEnvironment2,
208
- withOnlyEnvironment2,
209
- writeSrtSettings2,
210
- srtStepArgv2,
211
- srtArgv2
212
- } from "./chunk-trqvcc06.js";
213
172
  import {
214
173
  Id,
215
174
  secretReference,
@@ -288,7 +247,48 @@ import {
288
247
  installCommand,
289
248
  checkServicesFile,
290
249
  checkServices
291
- } from "./chunk-vbv9x6d7.js";
250
+ } from "./chunk-csgqrjmm.js";
251
+ import {
252
+ join,
253
+ interrupt,
254
+ unbounded,
255
+ publishUnsafe,
256
+ unbounded2,
257
+ offer,
258
+ makeUnsafe3,
259
+ make11,
260
+ fromQueue,
261
+ fromPubSub,
262
+ map2,
263
+ filter,
264
+ decodeText,
265
+ encodeText,
266
+ splitLines,
267
+ run,
268
+ runHead,
269
+ runForEach,
270
+ FileSystem,
271
+ Path,
272
+ embeddedFile,
273
+ extractEmbeddedFile,
274
+ optionalEnv,
275
+ operatorConfigHome,
276
+ tempDirectoryScoped,
277
+ harnessesUnsupportedInSrt2,
278
+ compiled2,
279
+ pinnedSrtCommand2,
280
+ pinnedSrtStepCommand2,
281
+ runSrtCli2,
282
+ kitmanCacheDirectory2,
283
+ srtSettings2,
284
+ srtCacheEnvironment2,
285
+ srtInheritedEnv2,
286
+ inheritedEnvironment2,
287
+ withOnlyEnvironment2,
288
+ writeSrtSettings2,
289
+ srtStepArgv2,
290
+ srtArgv2
291
+ } from "./chunk-0h49y8gf.js";
292
292
  import {
293
293
  writeAgentEnvironmentConfigFile2,
294
294
  readManifestSkillPaths2,
@@ -304,8 +304,8 @@ import {
304
304
  applyAgentEnvironmentMaterialization2,
305
305
  isPathWithin2,
306
306
  skillIdentity2
307
- } from "./chunk-y1mhc7qd.js";
308
- import"./chunk-rs0qassb.js";
307
+ } from "./chunk-4ab93yg1.js";
308
+ import"./chunk-ycb69yfq.js";
309
309
  import {
310
310
  egressAllowed,
311
311
  writeSecretRegistry,
@@ -323,23 +323,23 @@ import {
323
323
  decodedOption2,
324
324
  decoded2,
325
325
  readOpencode2
326
- } from "./chunk-bvpczkzf.js";
326
+ } from "./chunk-cbpb2rww.js";
327
327
  import {
328
328
  uploadRunFile,
329
329
  programLease,
330
330
  rpcRunFiles,
331
331
  programHostsEnv,
332
332
  undeclaredHostsEnv
333
- } from "./chunk-j373bdw1.js";
334
- import"./chunk-6b91ftp6.js";
333
+ } from "./chunk-34qnpbzd.js";
334
+ import"./chunk-sk0j9vm2.js";
335
335
  import {
336
336
  nextInt
337
337
  } from "./chunk-gq7y5v3e.js";
338
338
  import {
339
339
  ChildProcessSpawner,
340
340
  make3
341
- } from "./chunk-nfc1scfz.js";
342
- import"./chunk-v1pa2dpe.js";
341
+ } from "./chunk-mtkstrh3.js";
342
+ import"./chunk-4ksq2d3k.js";
343
343
 
344
344
  // packages/core/src/sync-kit.ts
345
345
  import { createHash } from "crypto";
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-nfc1scfz.js";
2
+ import"./chunk-mtkstrh3.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-vbv9x6d7.js";
16
- import"./chunk-trqvcc06.js";
15
+ } from "./chunk-csgqrjmm.js";
16
+ import"./chunk-0h49y8gf.js";
17
17
  import"./chunk-zw3gf6r5.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-zw3gf6r5.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-trqvcc06.js";
12
+ } from "./chunk-0h49y8gf.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-vbv9x6d7.js";
22
+ } from "./chunk-csgqrjmm.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-v1pa2dpe.js";
28
+ } from "./chunk-4ksq2d3k.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -4,11 +4,11 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-6b91ftp6.js";
8
- import"./chunk-v1pa2dpe.js";
9
- import"./chunk-vbv9x6d7.js";
7
+ } from "./chunk-sk0j9vm2.js";
8
+ import"./chunk-4ksq2d3k.js";
9
+ import"./chunk-csgqrjmm.js";
10
10
  import"./chunk-q5w3v4k1.js";
11
- import"./chunk-trqvcc06.js";
11
+ import"./chunk-0h49y8gf.js";
12
12
  import"./chunk-zw3gf6r5.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-trqvcc06.js";
31
+ } from "./chunk-0h49y8gf.js";
32
32
  import {
33
33
  newerKitmanVersion,
34
34
  digestSha256,
@@ -39,7 +39,7 @@ import {
39
39
  get2,
40
40
  layer4,
41
41
  KitDigest
42
- } from "./chunk-vbv9x6d7.js";
42
+ } from "./chunk-csgqrjmm.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -1,8 +1,4 @@
1
1
  // @bun
2
- import {
3
- FileSystem,
4
- Path
5
- } from "./chunk-trqvcc06.js";
6
2
  import {
7
3
  isObject,
8
4
  isUint8Array,
@@ -19,21 +15,25 @@ import {
19
15
  encodePrettyJsonString
20
16
  } from "./chunk-zw3gf6r5.js";
21
17
  import"./chunk-q5w3v4k1.js";
18
+ import {
19
+ FileSystem,
20
+ Path
21
+ } from "./chunk-0h49y8gf.js";
22
22
  import {
23
23
  tomlTableHeader2,
24
24
  tomlKeyPath2,
25
25
  kitmanSkillEntry,
26
26
  isPathWithin2
27
- } from "./chunk-y1mhc7qd.js";
27
+ } from "./chunk-4ab93yg1.js";
28
28
  import {
29
29
  instructionsStart,
30
30
  instructionsEnd,
31
31
  renderMcpServer,
32
32
  materializeKitSetup,
33
33
  tomlInline
34
- } from "./chunk-vbv9x6d7.js";
35
- import"./chunk-rs0qassb.js";
36
- import"./chunk-nfc1scfz.js";
34
+ } from "./chunk-csgqrjmm.js";
35
+ import"./chunk-ycb69yfq.js";
36
+ import"./chunk-mtkstrh3.js";
37
37
 
38
38
  // packages/agent-runtime/src/kit-setup-sync.ts
39
39
  class KitSyncError extends TaggedError("KitSyncError") {
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-ywgv15tb.js");
8
+ const { runSrtCli } = await import("./chunk-5zth85pj.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
11
  const { runSrtStep } = await import("./chunk-gy9rf14f.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-zbcxbph8.js");
14
+ const { runOpencodeReader } = await import("./chunk-5zhh41gb.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-7tf77mw4.js");
17
+ const { runCli } = await import("./chunk-gzfcxjzb.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.12.4",
3
+ "version": "0.12.5",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {