@kitman-sh/cli 0.22.0 → 0.23.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,7 +268,6 @@ import {
268
268
  import {
269
269
  map,
270
270
  makeEquivalence,
271
- toNumber,
272
271
  bytes,
273
272
  BadArgument,
274
273
  systemError,
@@ -333,7 +332,7 @@ import {
333
332
  optionalEnv,
334
333
  harnessesUnsupportedInSrt2,
335
334
  harnessesUnsupportedInDocker2
336
- } from "./chunk-63cyj9dh.js";
335
+ } from "./chunk-j4b1yvcd.js";
337
336
  import {
338
337
  isRedacted,
339
338
  make,
@@ -347,7 +346,7 @@ import {
347
346
  make3,
348
347
  parseFdName,
349
348
  fdName
350
- } from "./chunk-gap0vmj7.js";
349
+ } from "./chunk-bsgvmq34.js";
351
350
  import {
352
351
  isDateTime,
353
352
  Numeric,
@@ -902,6 +901,15 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
902
901
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
903
902
  var runMain = runMain2;
904
903
 
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
+
905
913
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
906
914
  var makeUnsafe = makeUnsafe6;
907
915
  var make18 = make4;
@@ -1,10 +1,4 @@
1
1
  // @bun
2
- import {
3
- FileSystem,
4
- Path,
5
- optionalEnv,
6
- tempDirectoryScoped
7
- } from "./chunk-63cyj9dh.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-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-bgwp50wv.js";
39
+ } from "./chunk-04d4x86f.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-5gx52vjz.js";
42
+ } from "./chunk-ngjf7xwq.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -170,7 +170,7 @@ import {
170
170
  runMcpEffect,
171
171
  createAgentAuthSignedFetch,
172
172
  setupMcpAgentCredential
173
- } from "./chunk-bgwp50wv.js";
173
+ } from "./chunk-04d4x86f.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-63cyj9dh.js";
190
+ } from "./chunk-j4b1yvcd.js";
191
191
  import {
192
192
  searchDocs2,
193
193
  readDoc2
194
- } from "./chunk-q3kvaas4.js";
194
+ } from "./chunk-sav8v9gm.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-cswzx3jj.js";
207
+ } from "./chunk-fqrwy31z.js";
208
208
  import {
209
209
  guard,
210
210
  Id,
@@ -1,9 +1,4 @@
1
1
  // @bun
2
- import {
3
- make11,
4
- runForEach,
5
- compiled2
6
- } from "./chunk-63cyj9dh.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-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-gap0vmj7.js";
37
+ } from "./chunk-bsgvmq34.js";
38
38
 
39
39
  // packages/agent-runtime/src/opencode-store.ts
40
40
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -15,7 +15,7 @@ import {
15
15
  writeSrtSettings2,
16
16
  srtStepArgv2,
17
17
  srtArgv2
18
- } from "./chunk-63cyj9dh.js";
18
+ } from "./chunk-j4b1yvcd.js";
19
19
  import"./chunk-h2f26xbd.js";
20
20
  export {
21
21
  compiled2 as compiled,
@@ -1,12 +1,4 @@
1
1
  // @bun
2
- import {
3
- decodeText,
4
- mkString,
5
- FileSystem,
6
- Path,
7
- withDefault,
8
- String2
9
- } from "./chunk-63cyj9dh.js";
10
2
  import {
11
3
  isString,
12
4
  isObject,
@@ -60,25 +52,33 @@ import {
60
52
  KitDeclarations,
61
53
  kitmanMcpServer,
62
54
  RunnerRpcProtocolVersion
63
- } from "./chunk-bgwp50wv.js";
55
+ } from "./chunk-04d4x86f.js";
56
+ import {
57
+ decodeText,
58
+ mkString,
59
+ FileSystem,
60
+ Path,
61
+ withDefault,
62
+ String2
63
+ } from "./chunk-j4b1yvcd.js";
64
64
  import {
65
65
  Packument,
66
66
  tarballMatches
67
- } from "./chunk-5gx52vjz.js";
67
+ } from "./chunk-ngjf7xwq.js";
68
68
  import {
69
69
  stepDefinedTwice,
70
70
  hostSteps,
71
71
  exports_activities,
72
72
  describeFlag,
73
73
  Described
74
- } from "./chunk-xqc3fc72.js";
75
- import"./chunk-jq8hbcnf.js";
74
+ } from "./chunk-akzy04yn.js";
75
+ import"./chunk-rf580d8n.js";
76
76
  import"./chunk-tsx0347c.js";
77
77
  import {
78
78
  ChildProcessSpawner,
79
79
  make3
80
- } from "./chunk-gap0vmj7.js";
81
- import"./chunk-cswzx3jj.js";
80
+ } from "./chunk-bsgvmq34.js";
81
+ import"./chunk-fqrwy31z.js";
82
82
  import"./chunk-4qjfn1sa.js";
83
83
 
84
84
  // packages/sdk/src/build/outline/graph.ts
@@ -139,11 +139,6 @@ 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";
147
142
  import {
148
143
  currentTimeMillis,
149
144
  WebCrypto,
@@ -181,7 +176,12 @@ import {
181
176
  StepManifest,
182
177
  KitSetup,
183
178
  RunnerRpcError
184
- } from "./chunk-bgwp50wv.js";
179
+ } from "./chunk-04d4x86f.js";
180
+ import {
181
+ getCurrent,
182
+ runForEach,
183
+ FileSystem
184
+ } from "./chunk-j4b1yvcd.js";
185
185
  import {
186
186
  splitQuestionOptions,
187
187
  recommendationProblem,
@@ -31,7 +31,7 @@ import {
31
31
  runCollect,
32
32
  runDrain,
33
33
  mkString
34
- } from "./chunk-63cyj9dh.js";
34
+ } from "./chunk-j4b1yvcd.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;
@@ -108,7 +108,7 @@ import {
108
108
  shutdownUnsafe,
109
109
  fromQueue,
110
110
  unwrap
111
- } from "./chunk-63cyj9dh.js";
111
+ } from "./chunk-j4b1yvcd.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-bgwp50wv.js";
126
+ } from "./chunk-04d4x86f.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")) {
@@ -252,15 +252,6 @@ 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
-
264
255
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
265
256
  var bigint0 = /* @__PURE__ */ BigInt(0);
266
257
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -3644,4 +3635,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3644
3635
  ...argv
3645
3636
  ];
3646
3637
 
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 };
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 };
@@ -4,11 +4,11 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-jq8hbcnf.js";
8
- import"./chunk-cswzx3jj.js";
9
- import"./chunk-bgwp50wv.js";
7
+ } from "./chunk-rf580d8n.js";
8
+ import"./chunk-fqrwy31z.js";
9
+ import"./chunk-04d4x86f.js";
10
10
  import"./chunk-4qjfn1sa.js";
11
- import"./chunk-63cyj9dh.js";
11
+ import"./chunk-j4b1yvcd.js";
12
12
  import"./chunk-h2f26xbd.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-63cyj9dh.js";
31
+ } from "./chunk-j4b1yvcd.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-bgwp50wv.js";
42
+ } from "./chunk-04d4x86f.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -7,9 +7,9 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-my92qn4x.js";
11
- import"./chunk-gap0vmj7.js";
12
- import"./chunk-63cyj9dh.js";
10
+ } from "./chunk-7re3n1ze.js";
11
+ import"./chunk-bsgvmq34.js";
12
+ import"./chunk-j4b1yvcd.js";
13
13
  import"./chunk-h2f26xbd.js";
14
14
  export {
15
15
  decoded2 as decoded,
@@ -173,52 +173,6 @@ 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";
222
176
  import {
223
177
  currentTimeMillis,
224
178
  SecureRandom,
@@ -307,7 +261,53 @@ import {
307
261
  checkServicesFile,
308
262
  checkServices,
309
263
  serviceChecks
310
- } from "./chunk-bgwp50wv.js";
264
+ } from "./chunk-04d4x86f.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";
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-ytknm7wg.js";
327
- import"./chunk-5gx52vjz.js";
326
+ } from "./chunk-1gmwktwn.js";
327
+ import"./chunk-ngjf7xwq.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-my92qn4x.js";
345
+ } from "./chunk-7re3n1ze.js";
346
346
  import {
347
347
  uploadRunFile,
348
348
  programLease,
349
349
  rpcRunFiles,
350
350
  programHostsEnv,
351
351
  undeclaredHostsEnv
352
- } from "./chunk-xqc3fc72.js";
353
- import"./chunk-jq8hbcnf.js";
352
+ } from "./chunk-akzy04yn.js";
353
+ import"./chunk-rf580d8n.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-gap0vmj7.js";
362
- import"./chunk-cswzx3jj.js";
361
+ } from "./chunk-bsgvmq34.js";
362
+ import"./chunk-fqrwy31z.js";
363
363
  import {
364
364
  Id,
365
365
  secretReference,
@@ -1,8 +1,4 @@
1
1
  // @bun
2
- import {
3
- FileSystem,
4
- Path
5
- } from "./chunk-63cyj9dh.js";
6
2
  import {
7
3
  isObject,
8
4
  isUint8Array,
@@ -18,12 +14,16 @@ import {
18
14
  decodeJsonString,
19
15
  encodePrettyJsonString
20
16
  } 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-ytknm7wg.js";
26
+ } from "./chunk-1gmwktwn.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-bgwp50wv.js";
35
- import"./chunk-5gx52vjz.js";
36
- import"./chunk-gap0vmj7.js";
34
+ } from "./chunk-04d4x86f.js";
35
+ import"./chunk-ngjf7xwq.js";
36
+ import"./chunk-bsgvmq34.js";
37
37
  import"./chunk-4qjfn1sa.js";
38
38
 
39
39
  // packages/agent-runtime/src/kit-setup-sync.ts
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-h2f26xbd.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-63cyj9dh.js";
12
+ } from "./chunk-j4b1yvcd.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-bgwp50wv.js";
22
+ } from "./chunk-04d4x86f.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-cswzx3jj.js";
28
+ } from "./chunk-fqrwy31z.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -120,7 +120,7 @@ import {
120
120
  withDefault,
121
121
  option,
122
122
  String2
123
- } from "./chunk-63cyj9dh.js";
123
+ } from "./chunk-j4b1yvcd.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-bgwp50wv.js";
254
+ } from "./chunk-04d4x86f.js";
255
255
  import {
256
256
  ChildProcessSpawner,
257
257
  make3
258
- } from "./chunk-gap0vmj7.js";
258
+ } from "./chunk-bsgvmq34.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-2gm1qkd1.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
1329
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-t29q8gpv.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-2gm1qkd1.js")), (module) => module.updateHerdrCore(options))
1332
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-t29q8gpv.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-an5jcv2h.js"));
1776
+ const { syncKitSetup } = yield* promise(() => import("./chunk-qy058s0g.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.22.0";
3271
+ var cliVersion = "0.23.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-rfa7t28t.js"));
3536
+ var agentRuntime = promise(() => import("./chunk-ny4e59e1.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-pbe77xf2.js"));
5075
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-k36dmqfv.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-zh3djymt.js"));
5648
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-55dseafb.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-y4a78x63.js"));
6148
+ var docsModule = promise(() => import("./chunk-v2fpdbhy.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-rns9z6k9.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
7152
+ var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-aa8yfnh4.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-rns9z6k9.js")), (build) => build.writeKit);
7172
+ var KitWriter = map9(promise(() => import("./chunk-aa8yfnh4.js")), (build) => build.writeKit);
7173
7173
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
7174
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-rns9z6k9.js")), (build) => build.buildKit(directory))
7174
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-aa8yfnh4.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) });
@@ -237,7 +237,7 @@ Moving a Task to a state agents pick up from, such as **Ready for agents**, or c
237
237
 
238
238
  Nothing new starts while the Task already has a Run that has not finished. To give a new Task blockers before it starts, create it in another state, add its relations, then move it.
239
239
 
240
- Each pickup is listed by \`kitman loop starts\` (\`loops.automaticStarts\`) as a \`task.picked_up\` Event, and each release by a finished blocker as \`task.unblocked\`: the Run it started, or why it started none, such as the blockers it waits on or the Run it already has. A blocker in another private Team is listed only as a count.
240
+ Each pickup is listed by \`kitman loop starts\` (\`loops.automaticStarts\`) as a \`task.picked_up\` Event, and each release by a finished blocker as \`task.unblocked\`: the Run it started, or why it started none, such as the blockers it waits on or the Run it already has. A blocker in another private Team is listed only as a count. A start Kitman tries again after it was refused is listed as \`task.retried\` once it starts a Run.
241
241
 
242
242
  Any state can hand Tasks to agents. In the Team's settings, the **Workflow** tab has a switch with a robot on each state that turns agent pickup on or off; the same robot marks those states in lists and menus. A Triage Rule can accept a Task straight into such a state, so routine work goes from intake to an agent without waiting on a person.`
243
243
  },
@@ -302,7 +302,9 @@ To start it now, use **Start run** and choose **Start anyway**, or pass \`--over
302
302
 
303
303
  When Kitman cannot start a Run for the Task, the move still happens, and the person who moved it gets a **Start** item in their Inbox. It says what is missing: the Task Type has no default Loop, the Loop no longer exists, or the Loop needs something Kitman could not choose, such as a repository. The Task page, its board card and its list row say the same, as **Agents cannot start it**, until a Run starts or the Task leaves the pickup state.
304
304
 
305
- Open the item and use **Start run** in it: pick the Loop, and give what is missing, such as the repository to work in. The item clears itself once a Run starts for the Task, or when the Task leaves the state.`
305
+ Kitman tries the start again about once a minute while the Task waits there, so it starts by itself once what stopped it is fixed: a Kit deployed with a Loop that can run, a repository bound, a Secret set. A start refused again for the same reason tells nobody again; one refused for a new reason replaces the **Start** item, so the Task shows why it cannot start now.
306
+
307
+ To start it sooner, or to give what Kitman cannot choose, open the item and use **Start run** in it: pick the Loop, and give what is missing, such as the repository to work in. The item clears itself once a Run starts for the Task, or when the Task leaves the state.`
306
308
  },
307
309
  {
308
310
  title: "Handing Work to Agents \u203A Starting a Run by hand",
@@ -2209,7 +2211,7 @@ var pathOfLink = (link) => {
2209
2211
  return page === null ? link : page[1] || "index";
2210
2212
  };
2211
2213
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
2212
- var pinnedLink2 = (link, version = "0.22.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.23.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2213
2215
  var pageOf = (path) => path.split("#")[0];
2214
2216
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
2215
2217
  function excerpt(text, queryTerms) {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-gap0vmj7.js";
2
+ import"./chunk-bsgvmq34.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-bgwp50wv.js";
16
- import"./chunk-63cyj9dh.js";
15
+ } from "./chunk-04d4x86f.js";
16
+ import"./chunk-j4b1yvcd.js";
17
17
  import"./chunk-h2f26xbd.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-q3kvaas4.js";
7
+ } from "./chunk-sav8v9gm.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
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-1j38xtvp.js");
8
+ const { runSrtCli } = await import("./chunk-8t2wcrvv.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-js64y97w.js");
14
+ const { runOpencodeReader } = await import("./chunk-npfdbssf.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-vmc9xnvh.js");
17
+ const { runCli } = await import("./chunk-s26tfpym.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.22.0",
3
+ "version": "0.23.0",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "bin": {