@kitman-sh/cli 0.26.0 → 0.27.0

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.
@@ -268,6 +268,7 @@ import {
268
268
  import {
269
269
  map,
270
270
  makeEquivalence,
271
+ toNumber,
271
272
  bytes,
272
273
  BadArgument,
273
274
  systemError,
@@ -332,7 +333,7 @@ import {
332
333
  optionalEnv,
333
334
  harnessesUnsupportedInSrt2,
334
335
  harnessesUnsupportedInDocker2
335
- } from "./chunk-j4b1yvcd.js";
336
+ } from "./chunk-63cyj9dh.js";
336
337
  import {
337
338
  isRedacted,
338
339
  make,
@@ -346,7 +347,7 @@ import {
346
347
  make3,
347
348
  parseFdName,
348
349
  fdName
349
- } from "./chunk-bsgvmq34.js";
350
+ } from "./chunk-gap0vmj7.js";
350
351
  import {
351
352
  isDateTime,
352
353
  Numeric,
@@ -901,15 +902,6 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
901
902
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
902
903
  var runMain = runMain2;
903
904
 
904
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
905
- var BigInt2 = globalThis.BigInt;
906
- var toNumber = (b) => {
907
- if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
908
- return none();
909
- }
910
- return some(Number(b));
911
- };
912
-
913
905
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
914
906
  var makeUnsafe = makeUnsafe6;
915
907
  var make18 = make4;
@@ -15,7 +15,7 @@ import {
15
15
  writeSrtSettings2,
16
16
  srtStepArgv2,
17
17
  srtArgv2
18
- } from "./chunk-j4b1yvcd.js";
18
+ } from "./chunk-63cyj9dh.js";
19
19
  import"./chunk-h2f26xbd.js";
20
20
  export {
21
21
  compiled2 as compiled,
@@ -173,6 +173,52 @@ import {
173
173
  encodeUnknownJsonStringSync,
174
174
  storable
175
175
  } from "./chunk-h2f26xbd.js";
176
+ import {
177
+ join,
178
+ interrupt,
179
+ unbounded,
180
+ publishUnsafe,
181
+ unbounded2,
182
+ offer,
183
+ makeUnsafe3,
184
+ make11,
185
+ fromQueue,
186
+ fromPubSub,
187
+ map2,
188
+ filter,
189
+ take2,
190
+ mapAccum,
191
+ decodeText,
192
+ encodeText,
193
+ splitLines,
194
+ run,
195
+ runCollect,
196
+ runFold,
197
+ runHead,
198
+ runForEach,
199
+ FileSystem,
200
+ Path,
201
+ embeddedFile,
202
+ extractEmbeddedFile,
203
+ optionalEnv,
204
+ operatorConfigHome,
205
+ tempDirectoryScoped,
206
+ harnessesUnsupportedInSrt2,
207
+ harnessesUnsupportedInDocker2,
208
+ compiled2,
209
+ pinnedSrtCommand2,
210
+ pinnedSrtStepCommand2,
211
+ runSrtCli2,
212
+ kitmanCacheDirectory2,
213
+ srtSettings2,
214
+ srtCacheEnvironment2,
215
+ srtInheritedEnv2,
216
+ inheritedEnvironment2,
217
+ withOnlyEnvironment2,
218
+ writeSrtSettings2,
219
+ srtStepArgv2,
220
+ srtArgv2
221
+ } from "./chunk-63cyj9dh.js";
176
222
  import {
177
223
  currentTimeMillis,
178
224
  SecureRandom,
@@ -261,53 +307,7 @@ import {
261
307
  checkServicesFile,
262
308
  checkServices,
263
309
  serviceChecks
264
- } from "./chunk-xppw33hz.js";
265
- import {
266
- join,
267
- interrupt,
268
- unbounded,
269
- publishUnsafe,
270
- unbounded2,
271
- offer,
272
- makeUnsafe3,
273
- make11,
274
- fromQueue,
275
- fromPubSub,
276
- map2,
277
- filter,
278
- take2,
279
- mapAccum,
280
- decodeText,
281
- encodeText,
282
- splitLines,
283
- run,
284
- runCollect,
285
- runFold,
286
- runHead,
287
- runForEach,
288
- FileSystem,
289
- Path,
290
- embeddedFile,
291
- extractEmbeddedFile,
292
- optionalEnv,
293
- operatorConfigHome,
294
- tempDirectoryScoped,
295
- harnessesUnsupportedInSrt2,
296
- harnessesUnsupportedInDocker2,
297
- compiled2,
298
- pinnedSrtCommand2,
299
- pinnedSrtStepCommand2,
300
- runSrtCli2,
301
- kitmanCacheDirectory2,
302
- srtSettings2,
303
- srtCacheEnvironment2,
304
- srtInheritedEnv2,
305
- inheritedEnvironment2,
306
- withOnlyEnvironment2,
307
- writeSrtSettings2,
308
- srtStepArgv2,
309
- srtArgv2
310
- } from "./chunk-j4b1yvcd.js";
310
+ } from "./chunk-0mg7k9b4.js";
311
311
  import {
312
312
  writeAgentEnvironmentConfigFile2,
313
313
  readManifestSkillPaths2,
@@ -323,8 +323,8 @@ import {
323
323
  applyAgentEnvironmentMaterialization2,
324
324
  isPathWithin2,
325
325
  skillIdentity2
326
- } from "./chunk-zysde2fp.js";
327
- import"./chunk-1vnvmeqr.js";
326
+ } from "./chunk-yaa3gkpx.js";
327
+ import"./chunk-yr7np5eb.js";
328
328
  import {
329
329
  egressAllowed,
330
330
  writeSecretRegistry,
@@ -342,15 +342,15 @@ import {
342
342
  decodedOption2,
343
343
  decoded2,
344
344
  readOpencode2
345
- } from "./chunk-7re3n1ze.js";
345
+ } from "./chunk-my92qn4x.js";
346
346
  import {
347
347
  uploadRunFile,
348
348
  programLease,
349
349
  rpcRunFiles,
350
350
  programHostsEnv,
351
351
  undeclaredHostsEnv
352
- } from "./chunk-ja48xvcs.js";
353
- import"./chunk-t6ynnbcb.js";
352
+ } from "./chunk-3xg9zbmy.js";
353
+ import"./chunk-bv4gcq1h.js";
354
354
  import {
355
355
  nextInt
356
356
  } from "./chunk-5kqt4bqp.js";
@@ -358,8 +358,8 @@ import"./chunk-tsx0347c.js";
358
358
  import {
359
359
  ChildProcessSpawner,
360
360
  make3
361
- } from "./chunk-bsgvmq34.js";
362
- import"./chunk-vv7zg8rb.js";
361
+ } from "./chunk-gap0vmj7.js";
362
+ import"./chunk-cehbrs1y.js";
363
363
  import {
364
364
  Id,
365
365
  secretReference,
@@ -1,4 +1,12 @@
1
1
  // @bun
2
+ import {
3
+ decodeText,
4
+ mkString,
5
+ FileSystem,
6
+ Path,
7
+ withDefault,
8
+ String2
9
+ } from "./chunk-63cyj9dh.js";
2
10
  import {
3
11
  isString,
4
12
  isObject,
@@ -52,33 +60,25 @@ import {
52
60
  KitDeclarations,
53
61
  kitmanMcpServer,
54
62
  RunnerRpcProtocolVersion
55
- } from "./chunk-xppw33hz.js";
56
- import {
57
- decodeText,
58
- mkString,
59
- FileSystem,
60
- Path,
61
- withDefault,
62
- String2
63
- } from "./chunk-j4b1yvcd.js";
63
+ } from "./chunk-0mg7k9b4.js";
64
64
  import {
65
65
  Packument,
66
66
  tarballMatches
67
- } from "./chunk-1vnvmeqr.js";
67
+ } from "./chunk-yr7np5eb.js";
68
68
  import {
69
69
  stepDefinedTwice,
70
70
  hostSteps,
71
71
  exports_activities,
72
72
  describeFlag,
73
73
  Described
74
- } from "./chunk-ja48xvcs.js";
75
- import"./chunk-t6ynnbcb.js";
74
+ } from "./chunk-3xg9zbmy.js";
75
+ import"./chunk-bv4gcq1h.js";
76
76
  import"./chunk-tsx0347c.js";
77
77
  import {
78
78
  ChildProcessSpawner,
79
79
  make3
80
- } from "./chunk-bsgvmq34.js";
81
- import"./chunk-vv7zg8rb.js";
80
+ } from "./chunk-gap0vmj7.js";
81
+ import"./chunk-cehbrs1y.js";
82
82
  import"./chunk-4qjfn1sa.js";
83
83
 
84
84
  // packages/sdk/src/build/outline/graph.ts
@@ -139,6 +139,11 @@ import {
139
139
  toCodecJson,
140
140
  Json
141
141
  } from "./chunk-h2f26xbd.js";
142
+ import {
143
+ getCurrent,
144
+ runForEach,
145
+ FileSystem
146
+ } from "./chunk-63cyj9dh.js";
142
147
  import {
143
148
  currentTimeMillis,
144
149
  WebCrypto,
@@ -176,12 +181,7 @@ import {
176
181
  StepManifest,
177
182
  KitSetup,
178
183
  RunnerRpcError
179
- } from "./chunk-xppw33hz.js";
180
- import {
181
- getCurrent,
182
- runForEach,
183
- FileSystem
184
- } from "./chunk-j4b1yvcd.js";
184
+ } from "./chunk-0mg7k9b4.js";
185
185
  import {
186
186
  splitQuestionOptions,
187
187
  recommendationProblem,
@@ -252,6 +252,15 @@ var makeEquivalence = (equivalence) => {
252
252
  return (self, that) => is(self, that) && is(that, self);
253
253
  };
254
254
 
255
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
256
+ var BigInt2 = globalThis.BigInt;
257
+ var toNumber = (b) => {
258
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
259
+ return none();
260
+ }
261
+ return some(Number(b));
262
+ };
263
+
255
264
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
256
265
  var bigint0 = /* @__PURE__ */ BigInt(0);
257
266
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -3635,4 +3644,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3635
3644
  ...argv
3636
3645
  ];
3637
3646
 
3638
- 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, take2, mapAccum, 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, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3647
+ 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, take2, mapAccum, 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, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -4,11 +4,11 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-t6ynnbcb.js";
8
- import"./chunk-vv7zg8rb.js";
9
- import"./chunk-xppw33hz.js";
7
+ } from "./chunk-bv4gcq1h.js";
8
+ import"./chunk-cehbrs1y.js";
9
+ import"./chunk-0mg7k9b4.js";
10
10
  import"./chunk-4qjfn1sa.js";
11
- import"./chunk-j4b1yvcd.js";
11
+ import"./chunk-63cyj9dh.js";
12
12
  import"./chunk-h2f26xbd.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-h2f26xbd.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-j4b1yvcd.js";
12
+ } from "./chunk-63cyj9dh.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-xppw33hz.js";
22
+ } from "./chunk-0mg7k9b4.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-vv7zg8rb.js";
28
+ } from "./chunk-cehbrs1y.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -108,7 +108,7 @@ import {
108
108
  shutdownUnsafe,
109
109
  fromQueue,
110
110
  unwrap
111
- } from "./chunk-j4b1yvcd.js";
111
+ } from "./chunk-63cyj9dh.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-xppw33hz.js";
126
+ } from "./chunk-0mg7k9b4.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")) {
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-007n8acn.js";
7
+ } from "./chunk-kagajztj.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -170,7 +170,7 @@ import {
170
170
  runMcpEffect,
171
171
  createAgentAuthSignedFetch,
172
172
  setupMcpAgentCredential
173
- } from "./chunk-xppw33hz.js";
173
+ } from "./chunk-0mg7k9b4.js";
174
174
  import {
175
175
  join,
176
176
  interrupt,
@@ -187,11 +187,11 @@ import {
187
187
  withDefault,
188
188
  option,
189
189
  String2
190
- } from "./chunk-j4b1yvcd.js";
190
+ } from "./chunk-63cyj9dh.js";
191
191
  import {
192
192
  searchDocs2,
193
193
  readDoc2
194
- } from "./chunk-007n8acn.js";
194
+ } from "./chunk-kagajztj.js";
195
195
  import {
196
196
  nextInt
197
197
  } from "./chunk-5kqt4bqp.js";
@@ -204,7 +204,7 @@ import {
204
204
  withHeaders,
205
205
  layerProtocolSocket,
206
206
  ConnectionHooks
207
- } from "./chunk-vv7zg8rb.js";
207
+ } from "./chunk-cehbrs1y.js";
208
208
  import {
209
209
  guard,
210
210
  Id,
@@ -31,7 +31,7 @@ import {
31
31
  runCollect,
32
32
  runDrain,
33
33
  mkString
34
- } from "./chunk-j4b1yvcd.js";
34
+ } from "./chunk-63cyj9dh.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;
@@ -7,9 +7,9 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-7re3n1ze.js";
11
- import"./chunk-bsgvmq34.js";
12
- import"./chunk-j4b1yvcd.js";
10
+ } from "./chunk-my92qn4x.js";
11
+ import"./chunk-gap0vmj7.js";
12
+ import"./chunk-63cyj9dh.js";
13
13
  import"./chunk-h2f26xbd.js";
14
14
  export {
15
15
  decoded2 as decoded,
@@ -2211,7 +2211,7 @@ var pathOfLink = (link) => {
2211
2211
  return page === null ? link : page[1] || "index";
2212
2212
  };
2213
2213
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
2214
- var pinnedLink2 = (link, version = "0.26.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2214
+ var pinnedLink2 = (link, version = "0.27.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2215
2215
  var pageOf = (path) => path.split("#")[0];
2216
2216
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
2217
2217
  function excerpt(text, queryTerms) {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-bsgvmq34.js";
2
+ import"./chunk-gap0vmj7.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-xppw33hz.js";
16
- import"./chunk-j4b1yvcd.js";
15
+ } from "./chunk-0mg7k9b4.js";
16
+ import"./chunk-63cyj9dh.js";
17
17
  import"./chunk-h2f26xbd.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
@@ -1,4 +1,9 @@
1
1
  // @bun
2
+ import {
3
+ make11,
4
+ runForEach,
5
+ compiled2
6
+ } from "./chunk-63cyj9dh.js";
2
7
  import {
3
8
  getOrUndefined,
4
9
  liftThrowable,
@@ -26,15 +31,10 @@ import {
26
31
  isString2,
27
32
  encodeUnknownJsonStringSync
28
33
  } from "./chunk-h2f26xbd.js";
29
- import {
30
- make11,
31
- runForEach,
32
- compiled2
33
- } from "./chunk-j4b1yvcd.js";
34
34
  import {
35
35
  ChildProcessSpawner,
36
36
  make3
37
- } from "./chunk-bsgvmq34.js";
37
+ } from "./chunk-gap0vmj7.js";
38
38
 
39
39
  // packages/agent-runtime/src/opencode-store.ts
40
40
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -1,4 +1,8 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path
5
+ } from "./chunk-63cyj9dh.js";
2
6
  import {
3
7
  isObject,
4
8
  isUint8Array,
@@ -14,16 +18,12 @@ import {
14
18
  decodeJsonString,
15
19
  encodePrettyJsonString
16
20
  } from "./chunk-h2f26xbd.js";
17
- import {
18
- FileSystem,
19
- Path
20
- } from "./chunk-j4b1yvcd.js";
21
21
  import {
22
22
  tomlTableHeader2,
23
23
  tomlKeyPath2,
24
24
  kitmanSkillEntry,
25
25
  isPathWithin2
26
- } from "./chunk-zysde2fp.js";
26
+ } from "./chunk-yaa3gkpx.js";
27
27
  import {
28
28
  instructionsStart,
29
29
  instructionsEnd,
@@ -31,9 +31,9 @@ import {
31
31
  antigravityPlugins,
32
32
  materializeKitSetup,
33
33
  tomlInline
34
- } from "./chunk-xppw33hz.js";
35
- import"./chunk-1vnvmeqr.js";
36
- import"./chunk-bsgvmq34.js";
34
+ } from "./chunk-0mg7k9b4.js";
35
+ import"./chunk-yr7np5eb.js";
36
+ import"./chunk-gap0vmj7.js";
37
37
  import"./chunk-4qjfn1sa.js";
38
38
 
39
39
  // packages/agent-runtime/src/kit-setup-sync.ts
@@ -1,4 +1,10 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path,
5
+ optionalEnv,
6
+ tempDirectoryScoped
7
+ } from "./chunk-63cyj9dh.js";
2
8
  import {
3
9
  Reference,
4
10
  TaggedError,
@@ -26,20 +32,14 @@ import {
26
32
  encodePrettyJsonString,
27
33
  decodeJsonStringSync
28
34
  } from "./chunk-h2f26xbd.js";
29
- import {
30
- FileSystem,
31
- Path,
32
- optionalEnv,
33
- tempDirectoryScoped
34
- } from "./chunk-j4b1yvcd.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-xppw33hz.js";
39
+ } from "./chunk-0mg7k9b4.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-1vnvmeqr.js";
42
+ } from "./chunk-yr7np5eb.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -120,7 +120,7 @@ import {
120
120
  withDefault,
121
121
  option,
122
122
  String2
123
- } from "./chunk-j4b1yvcd.js";
123
+ } from "./chunk-63cyj9dh.js";
124
124
  import {
125
125
  currentTimeMillis,
126
126
  SecureRandom,
@@ -251,11 +251,11 @@ import {
251
251
  harnessNames,
252
252
  herdrRunnerCapabilities2,
253
253
  declaredChecks
254
- } from "./chunk-xppw33hz.js";
254
+ } from "./chunk-0mg7k9b4.js";
255
255
  import {
256
256
  ChildProcessSpawner,
257
257
  make3
258
- } from "./chunk-bsgvmq34.js";
258
+ } from "./chunk-gap0vmj7.js";
259
259
  import {
260
260
  Id,
261
261
  Timestamp
@@ -1326,10 +1326,10 @@ var sandboxMissing = (sandbox, missing) => ({
1326
1326
  var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
1327
1327
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
1328
1328
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
1329
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-220vzyz9.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
1329
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-msn6rrx9.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
1330
1330
  });
1331
1331
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
1332
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-220vzyz9.js")), (module) => module.updateHerdrCore(options))
1332
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-msn6rrx9.js")), (module) => module.updateHerdrCore(options))
1333
1333
  });
1334
1334
  var herdrCoreMissing = (error) => {
1335
1335
  if (isTagged(error, "HerdrCoreMissing"))
@@ -1773,7 +1773,7 @@ var syncTargets = (harness) => gen(function* () {
1773
1773
  });
1774
1774
  var syncKits = (input) => gen(function* () {
1775
1775
  const fs = yield* FileSystem;
1776
- const { syncKitSetup } = yield* promise(() => import("./chunk-z05pkzhf.js"));
1776
+ const { syncKitSetup } = yield* promise(() => import("./chunk-tbmht2qb.js"));
1777
1777
  const harnesses = yield* syncTargets(input.harness);
1778
1778
  const chain = yield* input.client.getKitChain(input.workspaceId);
1779
1779
  for (const { name, problem } of chain.skipped)
@@ -3268,7 +3268,7 @@ var shipped_steps_generated_default = {
3268
3268
  };
3269
3269
 
3270
3270
  // apps/cli/src/scaffold-files.ts
3271
- var cliVersion = "0.26.0";
3271
+ var cliVersion = "0.27.0";
3272
3272
  var shippedLoopSteps = new Map(Object.entries(shipped_steps_generated_default));
3273
3273
  var loopSteps = (loop) => shippedLoopSteps.get(loop) ?? [];
3274
3274
  var replacedStep = (loop) => loopSteps(loop).find((step) => step.from === defaultKitName && step.exported?.startsWith("steps.") === true);
@@ -3533,7 +3533,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
3533
3533
 
3534
3534
  // apps/cli/src/commands.ts
3535
3535
  var ClientId = "kitman-cli";
3536
- var agentRuntime = promise(() => import("./chunk-dfvamygr.js"));
3536
+ var agentRuntime = promise(() => import("./chunk-225hz7jt.js"));
3537
3537
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
3538
3538
  defaultValue: () => gen(function* () {
3539
3539
  const tui = yield* tryPromise({
@@ -5072,7 +5072,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
5072
5072
  });
5073
5073
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
5074
5074
  defaultValue: () => (options) => gen(function* () {
5075
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-ks4q040v.js"));
5075
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-7j1kf6sa.js"));
5076
5076
  return yield* makeRunnerRpcClient({
5077
5077
  runnerId: options.runnerId,
5078
5078
  bearer: options.bearer,
@@ -5645,7 +5645,7 @@ function mcpCommand(args) {
5645
5645
  if (command.action === "run") {
5646
5646
  if (command.args.length > 0)
5647
5647
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
5648
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-aax2a975.js"));
5648
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-ezsh3z1w.js"));
5649
5649
  return yield* runMcpServerCommand({ flags: command.flags });
5650
5650
  }
5651
5651
  if (command.action !== "setup")
@@ -6145,7 +6145,7 @@ function programLoopCommand(command) {
6145
6145
  return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
6146
6146
  });
6147
6147
  }
6148
- var docsModule = promise(() => import("./chunk-83nqkmbj.js"));
6148
+ var docsModule = promise(() => import("./chunk-dyca90hx.js"));
6149
6149
  function docsCommand(args) {
6150
6150
  return gen(function* () {
6151
6151
  const command = parseCommand(args);
@@ -7149,7 +7149,7 @@ function changeRequestCommand(args) {
7149
7149
  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}`);
7150
7150
  });
7151
7151
  }
7152
- var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-mvqggmpj.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
7152
+ var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-39kjyh2y.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
7153
7153
  var loopOutline = (command) => gen(function* () {
7154
7154
  const path = yield* Path;
7155
7155
  const loop = requiredArg(command, "a Loop id");
@@ -7169,9 +7169,9 @@ var loopOutline = (command) => gen(function* () {
7169
7169
  `).pipe(mapError2((error) => new CliError({ message: error.message })));
7170
7170
  yield* log(`Wrote the outline of ${loop} to ${out}`);
7171
7171
  });
7172
- var KitWriter = map9(promise(() => import("./chunk-mvqggmpj.js")), (build) => build.writeKit);
7172
+ var KitWriter = map9(promise(() => import("./chunk-39kjyh2y.js")), (build) => build.writeKit);
7173
7173
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
7174
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-mvqggmpj.js")), (build) => build.buildKit(directory))
7174
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-39kjyh2y.js")), (build) => build.buildKit(directory))
7175
7175
  });
7176
7176
  var uploadKit = (client, workspaceId, built) => gen(function* () {
7177
7177
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-j4b1yvcd.js";
31
+ } from "./chunk-63cyj9dh.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-xppw33hz.js";
42
+ } from "./chunk-0mg7k9b4.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  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-8t2wcrvv.js");
8
+ const { runSrtCli } = await import("./chunk-1j38xtvp.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
11
  const { runSrtStep } = await import("./chunk-samxkpbz.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-npfdbssf.js");
14
+ const { runOpencodeReader } = await import("./chunk-js64y97w.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-sc93ezsw.js");
17
+ const { runCli } = await import("./chunk-ydq1nr9e.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.26.0",
3
+ "version": "0.27.0",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "bin": {