@kitman-sh/cli 0.11.0-rc.3 → 0.11.0-rc.4

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 (26) hide show
  1. package/dist/{chunk-egb7pjjz.js → chunk-0h5et1rg.js} +6 -6
  2. package/dist/{chunk-vkgqtwqm.js → chunk-2aj4ym2c.js} +7 -7
  3. package/dist/{chunk-sk6ceghr.js → chunk-2sfgqfgq.js} +2 -2
  4. package/dist/{chunk-52ad8f0f.js → chunk-4ngdyd3k.js} +17 -17
  5. package/dist/{chunk-bs81bt3q.js → chunk-6zrq5xq2.js} +7 -7
  6. package/dist/{chunk-248msks2.js → chunk-7d8prq0a.js} +4 -4
  7. package/dist/{chunk-6pyxykt1.js → chunk-9ew87kjc.js} +7 -212
  8. package/dist/{chunk-japwbj9n.js → chunk-anf9ddey.js} +2 -2
  9. package/dist/{chunk-nzjb36ad.js → chunk-bj73db3f.js} +1 -1
  10. package/dist/{chunk-0qz10ek8.js → chunk-bv9e34qz.js} +1 -1
  11. package/dist/{chunk-rtqdqr0v.js → chunk-cbwmsy27.js} +464 -114
  12. package/dist/{chunk-5j848ckb.js → chunk-cegdw7gw.js} +2 -2
  13. package/dist/{chunk-x7b9bwk6.js → chunk-dc681k94.js} +4 -4
  14. package/dist/{chunk-cnzz61ta.js → chunk-k2b10qys.js} +19 -19
  15. package/dist/{chunk-9a2r12ye.js → chunk-k6mfj25g.js} +3 -3
  16. package/dist/{chunk-d9bv70qb.js → chunk-kbhm8p3c.js} +5 -5
  17. package/dist/{chunk-7fbpsnt7.js → chunk-nb36pw5d.js} +8 -8
  18. package/dist/{chunk-5hx3j5x8.js → chunk-pqz98b85.js} +5 -5
  19. package/dist/{chunk-z450wa10.js → chunk-rjdptgqf.js} +4 -4
  20. package/dist/{chunk-vmv7gwwr.js → chunk-tx61h9d8.js} +6 -6
  21. package/dist/{chunk-vtfwjhzh.js → chunk-txyp31q5.js} +60 -60
  22. package/dist/{chunk-c6rbt85q.js → chunk-xmq9zpr1.js} +1 -1
  23. package/dist/{chunk-b6m9rfzj.js → chunk-y0q2574w.js} +12 -12
  24. package/dist/{chunk-3d4d52e5.js → chunk-znh6xbze.js} +28 -177
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -13,11 +13,11 @@ import {
13
13
  ArraySchema,
14
14
  decodeJsonStringOption,
15
15
  encodeUnknownJsonStringSync
16
- } from "./chunk-vtfwjhzh.js";
16
+ } from "./chunk-txyp31q5.js";
17
17
  import {
18
18
  replaceSecretReferences,
19
19
  secretReferencesIn
20
- } from "./chunk-0qz10ek8.js";
20
+ } from "./chunk-bv9e34qz.js";
21
21
 
22
22
  // packages/agent-runtime/src/srt-step.ts
23
23
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-sk6ceghr.js";
2
+ import"./chunk-2sfgqfgq.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-rtqdqr0v.js";
16
- import"./chunk-3d4d52e5.js";
17
- import"./chunk-vtfwjhzh.js";
15
+ } from "./chunk-cbwmsy27.js";
16
+ import"./chunk-znh6xbze.js";
17
+ import"./chunk-txyp31q5.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -6,7 +6,7 @@ import {
6
6
  isObject,
7
7
  isJsonObject,
8
8
  isString
9
- } from "./chunk-c6rbt85q.js";
9
+ } from "./chunk-xmq9zpr1.js";
10
10
  import {
11
11
  pipeArguments,
12
12
  dual,
@@ -48,7 +48,7 @@ import {
48
48
  isFailure2,
49
49
  hasInterrupts,
50
50
  makeUnsafe5,
51
- make16,
51
+ make15,
52
52
  _await,
53
53
  fail5,
54
54
  isDoneUnsafe,
@@ -168,12 +168,12 @@ import {
168
168
  encodePrettyJsonString,
169
169
  decodeJsonStringSync,
170
170
  encodeUnknownJsonStringSync
171
- } from "./chunk-vtfwjhzh.js";
171
+ } from "./chunk-txyp31q5.js";
172
172
  import {
173
173
  Id,
174
174
  secretReference,
175
175
  secretPlaceholder
176
- } from "./chunk-0qz10ek8.js";
176
+ } from "./chunk-bv9e34qz.js";
177
177
  import {
178
178
  currentTimeMillis,
179
179
  SecureRandom,
@@ -246,7 +246,7 @@ import {
246
246
  installCommand,
247
247
  checkServicesFile,
248
248
  checkServices
249
- } from "./chunk-rtqdqr0v.js";
249
+ } from "./chunk-cbwmsy27.js";
250
250
  import {
251
251
  join,
252
252
  interrupt,
@@ -255,7 +255,7 @@ import {
255
255
  unbounded2,
256
256
  offer,
257
257
  makeUnsafe3,
258
- make11,
258
+ make10,
259
259
  fromQueue,
260
260
  fromPubSub,
261
261
  map2,
@@ -286,7 +286,7 @@ import {
286
286
  writeSrtSettings2,
287
287
  srtStepArgv2,
288
288
  srtArgv2
289
- } from "./chunk-3d4d52e5.js";
289
+ } from "./chunk-znh6xbze.js";
290
290
  import {
291
291
  writeAgentEnvironmentConfigFile2,
292
292
  readManifestSkillPaths2,
@@ -302,8 +302,8 @@ import {
302
302
  applyAgentEnvironmentMaterialization2,
303
303
  isPathWithin2,
304
304
  skillIdentity2
305
- } from "./chunk-5hx3j5x8.js";
306
- import"./chunk-9a2r12ye.js";
305
+ } from "./chunk-pqz98b85.js";
306
+ import"./chunk-k6mfj25g.js";
307
307
  import {
308
308
  egressAllowed,
309
309
  writeSecretRegistry,
@@ -313,7 +313,7 @@ import {
313
313
  secretFilter2,
314
314
  opaqueTunnelRefusal2,
315
315
  isOpaqueConnectReason2
316
- } from "./chunk-5j848ckb.js";
316
+ } from "./chunk-cegdw7gw.js";
317
317
  import {
318
318
  sliceBytes2,
319
319
  maxLineBytes2,
@@ -321,23 +321,23 @@ import {
321
321
  decodedOption2,
322
322
  decoded2,
323
323
  readOpencode2
324
- } from "./chunk-vmv7gwwr.js";
324
+ } from "./chunk-tx61h9d8.js";
325
325
  import {
326
326
  uploadRunFile,
327
327
  programLease,
328
328
  rpcRunFiles,
329
329
  programHostsEnv,
330
330
  undeclaredHostsEnv
331
- } from "./chunk-6pyxykt1.js";
332
- import"./chunk-248msks2.js";
331
+ } from "./chunk-9ew87kjc.js";
332
+ import"./chunk-7d8prq0a.js";
333
333
  import {
334
334
  nextInt
335
- } from "./chunk-nzjb36ad.js";
335
+ } from "./chunk-bj73db3f.js";
336
336
  import {
337
337
  ChildProcessSpawner,
338
338
  make3
339
- } from "./chunk-sk6ceghr.js";
340
- import"./chunk-egb7pjjz.js";
339
+ } from "./chunk-2sfgqfgq.js";
340
+ import"./chunk-0h5et1rg.js";
341
341
 
342
342
  // packages/core/src/sync-kit.ts
343
343
  import { createHash } from "crypto";
@@ -6812,7 +6812,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
6812
6812
  return {
6813
6813
  request: (method, params) => gen(function* () {
6814
6814
  const id = ++lastId;
6815
- const deferred = yield* make16();
6815
+ const deferred = yield* make15();
6816
6816
  pending.set(id, deferred);
6817
6817
  yield* send({ id, method, params });
6818
6818
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -6955,7 +6955,7 @@ var kitmanMcpPreflight = (mcp) => gen(function* () {
6955
6955
  const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
6956
6956
  extendEnv: true,
6957
6957
  env: mcp.env,
6958
- stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
6958
+ stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
6959
6959
  stderr: "ignore"
6960
6960
  }));
6961
6961
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -7029,7 +7029,7 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
7029
7029
  const exitCode = sandbox === undefined ? yield* gen(function* () {
7030
7030
  const spawner = yield* ChildProcessSpawner;
7031
7031
  const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
7032
- stdin: make11(new TextEncoder().encode(stdin)),
7032
+ stdin: make10(new TextEncoder().encode(stdin)),
7033
7033
  stdout: "inherit",
7034
7034
  stderr: "inherit",
7035
7035
  extendEnv: false,
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-vtfwjhzh.js";
27
+ } from "./chunk-txyp31q5.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-3d4d52e5.js";
31
+ } from "./chunk-znh6xbze.js";
32
32
  import {
33
33
  digestSha256,
34
34
  digestSha512,
@@ -38,7 +38,7 @@ import {
38
38
  get2,
39
39
  layer4,
40
40
  KitDigest
41
- } from "./chunk-rtqdqr0v.js";
41
+ } from "./chunk-cbwmsy27.js";
42
42
 
43
43
  // packages/core/src/npm-registry.ts
44
44
  var KitManifest = Struct({
@@ -7,11 +7,11 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-vmv7gwwr.js";
11
- import"./chunk-sk6ceghr.js";
12
- import"./chunk-c6rbt85q.js";
13
- import"./chunk-3d4d52e5.js";
14
- import"./chunk-vtfwjhzh.js";
10
+ } from "./chunk-tx61h9d8.js";
11
+ import"./chunk-2sfgqfgq.js";
12
+ import"./chunk-xmq9zpr1.js";
13
+ import"./chunk-znh6xbze.js";
14
+ import"./chunk-txyp31q5.js";
15
15
  export {
16
16
  decoded2 as decoded,
17
17
  decodedOption2 as decodedOption,
@@ -12,30 +12,30 @@ import {
12
12
  orElseSucceed,
13
13
  decodeJsonString,
14
14
  encodePrettyJsonString
15
- } from "./chunk-vtfwjhzh.js";
16
- import"./chunk-0qz10ek8.js";
15
+ } from "./chunk-txyp31q5.js";
16
+ import"./chunk-bv9e34qz.js";
17
17
  import {
18
18
  isJsonObject
19
- } from "./chunk-c6rbt85q.js";
19
+ } from "./chunk-xmq9zpr1.js";
20
20
  import {
21
21
  FileSystem,
22
22
  Path
23
- } from "./chunk-3d4d52e5.js";
23
+ } from "./chunk-znh6xbze.js";
24
24
  import {
25
25
  tomlTableHeader2,
26
26
  tomlKeyPath2,
27
27
  kitmanSkillEntry,
28
28
  isPathWithin2
29
- } from "./chunk-5hx3j5x8.js";
29
+ } from "./chunk-pqz98b85.js";
30
30
  import {
31
31
  instructionsStart,
32
32
  instructionsEnd,
33
33
  renderMcpServer,
34
34
  materializeKitSetup,
35
35
  tomlInline
36
- } from "./chunk-rtqdqr0v.js";
37
- import"./chunk-9a2r12ye.js";
38
- import"./chunk-sk6ceghr.js";
36
+ } from "./chunk-cbwmsy27.js";
37
+ import"./chunk-k6mfj25g.js";
38
+ import"./chunk-2sfgqfgq.js";
39
39
 
40
40
  // packages/agent-runtime/src/kit-setup-sync.ts
41
41
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -23,24 +23,24 @@ import {
23
23
  fnUntraced,
24
24
  encodePrettyJsonString,
25
25
  decodeJsonStringSync
26
- } from "./chunk-vtfwjhzh.js";
26
+ } from "./chunk-txyp31q5.js";
27
27
  import {
28
28
  isJsonObject,
29
29
  isString
30
- } from "./chunk-c6rbt85q.js";
30
+ } from "./chunk-xmq9zpr1.js";
31
31
  import {
32
32
  FileSystem,
33
33
  Path,
34
34
  optionalEnv
35
- } from "./chunk-3d4d52e5.js";
35
+ } from "./chunk-znh6xbze.js";
36
36
  import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-rtqdqr0v.js";
40
+ } from "./chunk-cbwmsy27.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-9a2r12ye.js";
43
+ } from "./chunk-k6mfj25g.js";
44
44
 
45
45
  // packages/agent-runtime/src/config-convergence.ts
46
46
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -4,10 +4,10 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-5j848ckb.js";
8
- import"./chunk-0qz10ek8.js";
9
- import"./chunk-c6rbt85q.js";
10
- import"./chunk-vtfwjhzh.js";
7
+ } from "./chunk-cegdw7gw.js";
8
+ import"./chunk-bv9e34qz.js";
9
+ import"./chunk-xmq9zpr1.js";
10
+ import"./chunk-txyp31q5.js";
11
11
  export {
12
12
  isOpaqueConnectReason2 as isOpaqueConnectReason,
13
13
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -22,21 +22,21 @@ import {
22
22
  NullOr,
23
23
  Finite,
24
24
  encodeUnknownJsonStringSync
25
- } from "./chunk-vtfwjhzh.js";
25
+ } from "./chunk-txyp31q5.js";
26
26
  import {
27
27
  isNumber,
28
28
  isJsonObject,
29
29
  isString
30
- } from "./chunk-c6rbt85q.js";
30
+ } from "./chunk-xmq9zpr1.js";
31
31
  import {
32
- make11,
32
+ make10,
33
33
  runForEach,
34
34
  compiled2
35
- } from "./chunk-3d4d52e5.js";
35
+ } from "./chunk-znh6xbze.js";
36
36
  import {
37
37
  ChildProcessSpawner,
38
38
  make3
39
- } from "./chunk-sk6ceghr.js";
39
+ } from "./chunk-2sfgqfgq.js";
40
40
 
41
41
  // packages/agent-runtime/src/opencode-store.ts
42
42
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -170,7 +170,7 @@ var isolatedRead = (store, name, input) => gen(function* () {
170
170
  const spawner = yield* ChildProcessSpawner;
171
171
  const [command, ...args] = opencodeReaderCommand();
172
172
  const handle = yield* spawner.spawn(make3(command, args, {
173
- stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
173
+ stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
174
174
  stderr: "ignore",
175
175
  extendEnv: false,
176
176
  env: {},