@kitman-sh/cli 0.14.6 → 0.14.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{chunk-2v47x00x.js → chunk-1rwaetnm.js} +16 -16
  2. package/dist/{chunk-wxvrkx85.js → chunk-5wrhj4cj.js} +9 -9
  3. package/dist/{chunk-70ghvmwm.js → chunk-63m3r0k4.js} +4 -4
  4. package/dist/{chunk-admtq6ke.js → chunk-6dj39qtt.js} +66 -66
  5. package/dist/{chunk-0pw5z0kz.js → chunk-6x43ntsx.js} +1 -1
  6. package/dist/{chunk-hyenk9x1.js → chunk-721qyd1a.js} +6 -6
  7. package/dist/{chunk-b4ymnz4g.js → chunk-79g5zh2p.js} +2 -2
  8. package/dist/{chunk-c80dvhxf.js → chunk-9avbsbvk.js} +1 -6
  9. package/dist/{chunk-drrpqwtz.js → chunk-b009hdm0.js} +8 -8
  10. package/dist/{chunk-vt8aqeby.js → chunk-bbf0jzsc.js} +1 -1
  11. package/dist/{chunk-x1szvb5k.js → chunk-bdd62njv.js} +33 -185
  12. package/dist/{chunk-wwq069wt.js → chunk-bpx2zjh7.js} +2 -2
  13. package/dist/{chunk-whwwydvq.js → chunk-cf723a2y.js} +1 -1
  14. package/dist/{chunk-93xj74qp.js → chunk-ctpgfdzf.js} +3 -3
  15. package/dist/{chunk-n60tz2ah.js → chunk-dq21ab8w.js} +18 -18
  16. package/dist/{chunk-hap4y0ps.js → chunk-drp4zdwq.js} +6 -6
  17. package/dist/{chunk-thb5bz9d.js → chunk-eytzmdna.js} +13 -13
  18. package/dist/{chunk-psvspmpe.js → chunk-hrtr5wfq.js} +10 -10
  19. package/dist/{chunk-2re6c3f2.js → chunk-hz4t408c.js} +4 -4
  20. package/dist/{chunk-s601j5bt.js → chunk-q0x3c0dh.js} +3 -3
  21. package/dist/{chunk-6ayt58hs.js → chunk-wszvkzg8.js} +30 -30
  22. package/dist/{chunk-cg7y7f6e.js → chunk-xfs1nf75.js} +329 -131
  23. package/dist/{chunk-cwdrhsvk.js → chunk-y0y2gg8d.js} +2 -2
  24. package/dist/{chunk-19q771ek.js → chunk-ya4z1n5p.js} +10 -10
  25. package/dist/{chunk-wttgq85b.js → chunk-zpp4jg4a.js} +60 -60
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -1,12 +1,4 @@
1
1
  // @bun
2
- import {
3
- decodeText,
4
- mkString,
5
- FileSystem,
6
- Path,
7
- withDefault,
8
- String2
9
- } from "./chunk-x1szvb5k.js";
10
2
  import {
11
3
  isString,
12
4
  hasProperty,
@@ -40,8 +32,7 @@ import {
40
32
  toCodecJson,
41
33
  Json,
42
34
  encodePrettyJsonString
43
- } from "./chunk-wttgq85b.js";
44
- import"./chunk-c80dvhxf.js";
35
+ } from "./chunk-zpp4jg4a.js";
45
36
  import {
46
37
  SecureRandom,
47
38
  layerWebCrypto,
@@ -53,23 +44,32 @@ import {
53
44
  layer4,
54
45
  kitmanMcpServer,
55
46
  RunnerRpcProtocolVersion
56
- } from "./chunk-cg7y7f6e.js";
47
+ } from "./chunk-xfs1nf75.js";
48
+ import {
49
+ decodeText,
50
+ mkString,
51
+ FileSystem,
52
+ Path,
53
+ withDefault,
54
+ String2
55
+ } from "./chunk-bdd62njv.js";
57
56
  import {
58
57
  Packument,
59
58
  tarballMatches
60
- } from "./chunk-s601j5bt.js";
61
- import"./chunk-hap4y0ps.js";
59
+ } from "./chunk-q0x3c0dh.js";
60
+ import"./chunk-drp4zdwq.js";
62
61
  import {
63
62
  AgentDeclaration,
64
63
  KitDeclarations,
65
64
  describeFlag,
66
65
  Described
67
- } from "./chunk-psvspmpe.js";
66
+ } from "./chunk-hrtr5wfq.js";
68
67
  import {
69
68
  ChildProcessSpawner,
70
69
  make3
71
- } from "./chunk-b4ymnz4g.js";
72
- import"./chunk-n60tz2ah.js";
70
+ } from "./chunk-79g5zh2p.js";
71
+ import"./chunk-dq21ab8w.js";
72
+ import"./chunk-9avbsbvk.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-x1szvb5k.js";
8
2
  import {
9
3
  Reference,
10
4
  TaggedError,
@@ -31,15 +25,21 @@ import {
31
25
  isString2,
32
26
  encodePrettyJsonString,
33
27
  decodeJsonStringSync
34
- } from "./chunk-wttgq85b.js";
28
+ } from "./chunk-zpp4jg4a.js";
29
+ import {
30
+ FileSystem,
31
+ Path,
32
+ optionalEnv,
33
+ tempDirectoryScoped
34
+ } from "./chunk-bdd62njv.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-cg7y7f6e.js";
39
+ } from "./chunk-xfs1nf75.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-s601j5bt.js";
42
+ } from "./chunk-q0x3c0dh.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-b4ymnz4g.js";
2
+ import"./chunk-79g5zh2p.js";
3
3
  import {
4
4
  HERDR_CORE_GENERATION2,
5
5
  HERDR_CORE_INSTALL_COMMAND2,
@@ -12,9 +12,9 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-cg7y7f6e.js";
16
- import"./chunk-x1szvb5k.js";
17
- import"./chunk-wttgq85b.js";
15
+ } from "./chunk-xfs1nf75.js";
16
+ import"./chunk-bdd62njv.js";
17
+ import"./chunk-zpp4jg4a.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -42,7 +42,7 @@ import {
42
42
  isFailure2,
43
43
  hasInterrupts,
44
44
  makeUnsafe5,
45
- make16,
45
+ make15,
46
46
  _await,
47
47
  fail5,
48
48
  isDoneUnsafe,
@@ -169,59 +169,8 @@ import {
169
169
  decodeJsonStringSync,
170
170
  encodeUnknownJsonStringSync,
171
171
  storable
172
- } from "./chunk-wttgq85b.js";
172
+ } from "./chunk-zpp4jg4a.js";
173
173
  import {
174
- join,
175
- interrupt,
176
- unbounded,
177
- publishUnsafe,
178
- unbounded2,
179
- offer,
180
- makeUnsafe3,
181
- make11,
182
- fromQueue,
183
- fromPubSub,
184
- map2,
185
- filter,
186
- take2,
187
- decodeText,
188
- encodeText,
189
- splitLines,
190
- run,
191
- runCollect,
192
- runFold,
193
- runHead,
194
- runForEach,
195
- FileSystem,
196
- Path,
197
- embeddedFile,
198
- extractEmbeddedFile,
199
- optionalEnv,
200
- operatorConfigHome,
201
- tempDirectoryScoped,
202
- harnessesUnsupportedInSrt2,
203
- harnessesUnsupportedInDocker2,
204
- compiled2,
205
- pinnedSrtCommand2,
206
- pinnedSrtStepCommand2,
207
- runSrtCli2,
208
- kitmanCacheDirectory2,
209
- srtSettings2,
210
- srtCacheEnvironment2,
211
- srtInheritedEnv2,
212
- inheritedEnvironment2,
213
- withOnlyEnvironment2,
214
- writeSrtSettings2,
215
- srtStepArgv2,
216
- srtArgv2
217
- } from "./chunk-x1szvb5k.js";
218
- import {
219
- Id,
220
- secretReference,
221
- secretPlaceholder
222
- } from "./chunk-c80dvhxf.js";
223
- import {
224
- currentTimeMillis,
225
174
  SecureRandom,
226
175
  layerWebCrypto,
227
176
  layer,
@@ -300,7 +249,53 @@ import {
300
249
  checkServicesFile,
301
250
  checkServices,
302
251
  serviceChecks
303
- } from "./chunk-cg7y7f6e.js";
252
+ } from "./chunk-xfs1nf75.js";
253
+ import {
254
+ currentTimeMillis,
255
+ join,
256
+ interrupt,
257
+ unbounded,
258
+ publishUnsafe,
259
+ unbounded2,
260
+ offer,
261
+ makeUnsafe3,
262
+ make10,
263
+ fromQueue,
264
+ fromPubSub,
265
+ map2,
266
+ filter,
267
+ take2,
268
+ decodeText,
269
+ encodeText,
270
+ splitLines,
271
+ run,
272
+ runCollect,
273
+ runFold,
274
+ runHead,
275
+ runForEach,
276
+ FileSystem,
277
+ Path,
278
+ embeddedFile,
279
+ extractEmbeddedFile,
280
+ optionalEnv,
281
+ operatorConfigHome,
282
+ tempDirectoryScoped,
283
+ harnessesUnsupportedInSrt2,
284
+ harnessesUnsupportedInDocker2,
285
+ compiled2,
286
+ pinnedSrtCommand2,
287
+ pinnedSrtStepCommand2,
288
+ runSrtCli2,
289
+ kitmanCacheDirectory2,
290
+ srtSettings2,
291
+ srtCacheEnvironment2,
292
+ srtInheritedEnv2,
293
+ inheritedEnvironment2,
294
+ withOnlyEnvironment2,
295
+ writeSrtSettings2,
296
+ srtStepArgv2,
297
+ srtArgv2
298
+ } from "./chunk-bdd62njv.js";
304
299
  import {
305
300
  writeAgentEnvironmentConfigFile2,
306
301
  readManifestSkillPaths2,
@@ -316,8 +311,8 @@ import {
316
311
  applyAgentEnvironmentMaterialization2,
317
312
  isPathWithin2,
318
313
  skillIdentity2
319
- } from "./chunk-wxvrkx85.js";
320
- import"./chunk-s601j5bt.js";
314
+ } from "./chunk-5wrhj4cj.js";
315
+ import"./chunk-q0x3c0dh.js";
321
316
  import {
322
317
  egressAllowed,
323
318
  writeSecretRegistry,
@@ -327,7 +322,7 @@ import {
327
322
  secretFilter2,
328
323
  opaqueTunnelRefusal2,
329
324
  isOpaqueConnectReason2
330
- } from "./chunk-cwdrhsvk.js";
325
+ } from "./chunk-y0y2gg8d.js";
331
326
  import {
332
327
  sliceBytes2,
333
328
  maxLineBytes2,
@@ -335,23 +330,28 @@ import {
335
330
  decodedOption2,
336
331
  decoded2,
337
332
  readOpencode2
338
- } from "./chunk-drrpqwtz.js";
333
+ } from "./chunk-b009hdm0.js";
339
334
  import {
340
335
  uploadRunFile,
341
336
  programLease,
342
337
  rpcRunFiles,
343
338
  programHostsEnv,
344
339
  undeclaredHostsEnv
345
- } from "./chunk-psvspmpe.js";
346
- import"./chunk-hap4y0ps.js";
340
+ } from "./chunk-hrtr5wfq.js";
341
+ import"./chunk-drp4zdwq.js";
347
342
  import {
348
343
  nextInt
349
- } from "./chunk-vt8aqeby.js";
344
+ } from "./chunk-bbf0jzsc.js";
350
345
  import {
351
346
  ChildProcessSpawner,
352
347
  make3
353
- } from "./chunk-b4ymnz4g.js";
354
- import"./chunk-n60tz2ah.js";
348
+ } from "./chunk-79g5zh2p.js";
349
+ import"./chunk-dq21ab8w.js";
350
+ import {
351
+ Id,
352
+ secretReference,
353
+ secretPlaceholder
354
+ } from "./chunk-9avbsbvk.js";
355
355
 
356
356
  // packages/core/src/sync-kit.ts
357
357
  import { createHash } from "crypto";
@@ -7346,7 +7346,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
7346
7346
  return {
7347
7347
  request: (method, params) => gen(function* () {
7348
7348
  const id = ++lastId;
7349
- const deferred = yield* make16();
7349
+ const deferred = yield* make15();
7350
7350
  pending.set(id, deferred);
7351
7351
  yield* send({ id, method, params });
7352
7352
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -7489,7 +7489,7 @@ var kitmanMcpPreflight = (mcp) => gen(function* () {
7489
7489
  const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
7490
7490
  extendEnv: true,
7491
7491
  env: mcp.env,
7492
- stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
7492
+ stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
7493
7493
  stderr: "ignore"
7494
7494
  }));
7495
7495
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -7563,7 +7563,7 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
7563
7563
  const exitCode = sandbox === undefined ? yield* gen(function* () {
7564
7564
  const spawner = yield* ChildProcessSpawner;
7565
7565
  const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
7566
- stdin: make11(new TextEncoder().encode(stdin)),
7566
+ stdin: make10(new TextEncoder().encode(stdin)),
7567
7567
  stdout: "inherit",
7568
7568
  stderr: "inherit",
7569
7569
  extendEnv: false,
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-whwwydvq.js";
7
+ } from "./chunk-cf723a2y.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-hap4y0ps.js";
8
- import"./chunk-n60tz2ah.js";
9
- import"./chunk-cg7y7f6e.js";
10
- import"./chunk-c80dvhxf.js";
11
- import"./chunk-x1szvb5k.js";
12
- import"./chunk-wttgq85b.js";
7
+ } from "./chunk-drp4zdwq.js";
8
+ import"./chunk-dq21ab8w.js";
9
+ import"./chunk-xfs1nf75.js";
10
+ import"./chunk-9avbsbvk.js";
11
+ import"./chunk-bdd62njv.js";
12
+ import"./chunk-zpp4jg4a.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -22,7 +22,7 @@ import {
22
22
  map8,
23
23
  raceFirst,
24
24
  scoped
25
- } from "./chunk-wttgq85b.js";
25
+ } from "./chunk-zpp4jg4a.js";
26
26
  import {
27
27
  unwrap,
28
28
  drainFork,
@@ -31,7 +31,7 @@ import {
31
31
  runCollect,
32
32
  runDrain,
33
33
  mkString
34
- } from "./chunk-x1szvb5k.js";
34
+ } from "./chunk-bdd62njv.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;
@@ -18,12 +18,7 @@ import {
18
18
  isMinLength,
19
19
  isMaxLength,
20
20
  FiniteFromString
21
- } from "./chunk-wttgq85b.js";
22
-
23
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
24
- var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
25
- var DRAFT_07_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "deprecated"];
26
- var OPEN_API_30_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "$comment", "$id", "$schema", "const", "contains", "contentEncoding", "contentMediaType", "else", "examples", "if", "patternProperties", "propertyNames", "then"];
21
+ } from "./chunk-zpp4jg4a.js";
27
22
 
28
23
  // packages/core/src/schema.ts
29
24
  var Days = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
@@ -1,9 +1,4 @@
1
1
  // @bun
2
- import {
3
- make11,
4
- runForEach,
5
- compiled2
6
- } from "./chunk-x1szvb5k.js";
7
2
  import {
8
3
  getOrUndefined,
9
4
  liftThrowable,
@@ -30,11 +25,16 @@ import {
30
25
  isJsonObject,
31
26
  isString2,
32
27
  encodeUnknownJsonStringSync
33
- } from "./chunk-wttgq85b.js";
28
+ } from "./chunk-zpp4jg4a.js";
29
+ import {
30
+ make10,
31
+ runForEach,
32
+ compiled2
33
+ } from "./chunk-bdd62njv.js";
34
34
  import {
35
35
  ChildProcessSpawner,
36
36
  make3
37
- } from "./chunk-b4ymnz4g.js";
37
+ } from "./chunk-79g5zh2p.js";
38
38
 
39
39
  // packages/agent-runtime/src/opencode-store.ts
40
40
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -173,7 +173,7 @@ var isolatedRead = (store, name, input) => gen(function* () {
173
173
  const spawner = yield* ChildProcessSpawner;
174
174
  const [command, ...args] = opencodeReaderCommand();
175
175
  const handle = yield* spawner.spawn(make3(command, args, {
176
- stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
176
+ stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
177
177
  stderr: "ignore",
178
178
  extendEnv: false,
179
179
  env: {},
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-wttgq85b.js";
6
+ } from "./chunk-zpp4jg4a.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;