@kitman-sh/cli 0.17.0 → 0.19.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.
Files changed (28) hide show
  1. package/dist/{chunk-2928qj8m.js → chunk-0sbd6e4d.js} +21 -21
  2. package/dist/{chunk-kx8rpa62.js → chunk-2dhhyy04.js} +5 -5
  3. package/dist/{chunk-pnckztvv.js → chunk-2y646fhs.js} +20 -20
  4. package/dist/{chunk-nqh0pbgt.js → chunk-36dejya4.js} +1 -1
  5. package/dist/{chunk-829r4kya.js → chunk-3gmqn9yp.js} +4 -4
  6. package/dist/{chunk-g3jqqpky.js → chunk-4rq880g6.js} +9 -9
  7. package/dist/{chunk-zy21drtv.js → chunk-6387vj9z.js} +2 -2
  8. package/dist/{chunk-9a6wbk11.js → chunk-6hxtg6eb.js} +3 -3
  9. package/dist/{chunk-2sazk478.js → chunk-9cj8g584.js} +4 -4
  10. package/dist/{chunk-0wqkz371.js → chunk-am57a75e.js} +3 -3
  11. package/dist/{chunk-ekyj0bps.js → chunk-bevxc9rx.js} +7 -7
  12. package/dist/{chunk-j37p2y71.js → chunk-e863b7v1.js} +350 -189
  13. package/dist/{chunk-y64ssczv.js → chunk-ew07nt2d.js} +71 -257
  14. package/dist/{chunk-5me7tnrw.js → chunk-gqcz0d3j.js} +2 -2
  15. package/dist/{chunk-pd3azxev.js → chunk-haq904fk.js} +1 -1
  16. package/dist/{chunk-r3d2yjsh.js → chunk-hrdh72c7.js} +25 -25
  17. package/dist/{chunk-qjxgew0k.js → chunk-khn17hdn.js} +2 -2
  18. package/dist/{chunk-0f67q0tf.js → chunk-kx00yd3c.js} +9 -9
  19. package/dist/{chunk-ebpjd7kg.js → chunk-qp3kqaw1.js} +6 -6
  20. package/dist/{chunk-r2kzvdrg.js → chunk-qvpkwnky.js} +1 -1
  21. package/dist/{chunk-nf9rfrvv.js → chunk-t5gb7bqv.js} +34 -34
  22. package/dist/{chunk-vh2a72d1.js → chunk-t6y0c0ds.js} +60 -14
  23. package/dist/{chunk-z59pvcbk.js → chunk-w9mxqrsp.js} +178 -187
  24. package/dist/{chunk-8r1a93rc.js → chunk-y4nrvwgy.js} +4 -4
  25. package/dist/{chunk-m1qp6swh.js → chunk-y7bth30s.js} +1 -1
  26. package/dist/{chunk-jg1pjhba.js → chunk-zb8mwx3s.js} +21 -21
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -172,9 +172,8 @@ import {
172
172
  decodeJsonStringSync,
173
173
  encodeUnknownJsonStringSync,
174
174
  storable
175
- } from "./chunk-y64ssczv.js";
175
+ } from "./chunk-ew07nt2d.js";
176
176
  import {
177
- currentTimeMillis,
178
177
  SecureRandom,
179
178
  layerWebCrypto,
180
179
  layer,
@@ -261,8 +260,9 @@ import {
261
260
  checkServicesFile,
262
261
  checkServices,
263
262
  serviceChecks
264
- } from "./chunk-j37p2y71.js";
263
+ } from "./chunk-e863b7v1.js";
265
264
  import {
265
+ currentTimeMillis,
266
266
  join,
267
267
  interrupt,
268
268
  unbounded,
@@ -307,7 +307,7 @@ import {
307
307
  writeSrtSettings2,
308
308
  srtStepArgv2,
309
309
  srtArgv2
310
- } from "./chunk-z59pvcbk.js";
310
+ } from "./chunk-w9mxqrsp.js";
311
311
  import {
312
312
  writeAgentEnvironmentConfigFile2,
313
313
  readManifestSkillPaths2,
@@ -323,12 +323,8 @@ import {
323
323
  applyAgentEnvironmentMaterialization2,
324
324
  isPathWithin2,
325
325
  skillIdentity2
326
- } from "./chunk-8r1a93rc.js";
327
- import"./chunk-0wqkz371.js";
328
- import {
329
- ChildProcessSpawner,
330
- make2
331
- } from "./chunk-vh2a72d1.js";
326
+ } from "./chunk-y4nrvwgy.js";
327
+ import"./chunk-am57a75e.js";
332
328
  import {
333
329
  egressAllowed,
334
330
  writeSecretRegistry,
@@ -338,7 +334,7 @@ import {
338
334
  secretFilter2,
339
335
  opaqueTunnelRefusal2,
340
336
  isOpaqueConnectReason2
341
- } from "./chunk-zy21drtv.js";
337
+ } from "./chunk-6387vj9z.js";
342
338
  import {
343
339
  sliceBytes2,
344
340
  maxLineBytes2,
@@ -346,25 +342,29 @@ import {
346
342
  decodedOption2,
347
343
  decoded2,
348
344
  readOpencode2
349
- } from "./chunk-kx8rpa62.js";
345
+ } from "./chunk-2dhhyy04.js";
350
346
  import {
351
347
  uploadRunFile,
352
348
  programLease,
353
349
  rpcRunFiles,
354
350
  programHostsEnv,
355
351
  undeclaredHostsEnv
356
- } from "./chunk-0f67q0tf.js";
357
- import"./chunk-g3jqqpky.js";
352
+ } from "./chunk-kx00yd3c.js";
353
+ import"./chunk-4rq880g6.js";
358
354
  import {
359
355
  nextInt
360
- } from "./chunk-m1qp6swh.js";
361
- import"./chunk-pd3azxev.js";
362
- import"./chunk-pnckztvv.js";
356
+ } from "./chunk-y7bth30s.js";
357
+ import"./chunk-haq904fk.js";
358
+ import {
359
+ ChildProcessSpawner,
360
+ make3
361
+ } from "./chunk-t6y0c0ds.js";
362
+ import"./chunk-2y646fhs.js";
363
363
  import {
364
364
  Id,
365
365
  secretReference,
366
366
  secretPlaceholder
367
- } from "./chunk-r2kzvdrg.js";
367
+ } from "./chunk-qvpkwnky.js";
368
368
 
369
369
  // packages/core/src/sync-kit.ts
370
370
  import { createHash } from "crypto";
@@ -8004,7 +8004,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
8004
8004
  const input = yield* unbounded2();
8005
8005
  const pending = new Map;
8006
8006
  let lastId = 0;
8007
- const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
8007
+ const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
8008
8008
  cwd: env.home,
8009
8009
  extendEnv: true,
8010
8010
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -8167,7 +8167,7 @@ var handshake = [
8167
8167
  `).join("");
8168
8168
  var kitmanMcpPreflight = (mcp) => gen(function* () {
8169
8169
  const spawner = yield* ChildProcessSpawner;
8170
- const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
8170
+ const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
8171
8171
  extendEnv: true,
8172
8172
  env: mcp.env,
8173
8173
  stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
@@ -8243,7 +8243,7 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
8243
8243
  };
8244
8244
  const exitCode = sandbox === undefined ? yield* gen(function* () {
8245
8245
  const spawner = yield* ChildProcessSpawner;
8246
- const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
8246
+ const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
8247
8247
  stdin: make10(new TextEncoder().encode(stdin)),
8248
8248
  stdout: "inherit",
8249
8249
  stderr: "inherit",
@@ -25,16 +25,16 @@ import {
25
25
  isJsonObject,
26
26
  isString2,
27
27
  encodeUnknownJsonStringSync
28
- } from "./chunk-y64ssczv.js";
28
+ } from "./chunk-ew07nt2d.js";
29
29
  import {
30
30
  make10,
31
31
  runForEach,
32
32
  compiled2
33
- } from "./chunk-z59pvcbk.js";
33
+ } from "./chunk-w9mxqrsp.js";
34
34
  import {
35
35
  ChildProcessSpawner,
36
- make2
37
- } from "./chunk-vh2a72d1.js";
36
+ make3
37
+ } from "./chunk-t6y0c0ds.js";
38
38
 
39
39
  // packages/agent-runtime/src/opencode-store.ts
40
40
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -172,7 +172,7 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
172
172
  var isolatedRead = (store, name, input) => gen(function* () {
173
173
  const spawner = yield* ChildProcessSpawner;
174
174
  const [command, ...args] = opencodeReaderCommand();
175
- const handle = yield* spawner.spawn(make2(command, args, {
175
+ const handle = yield* spawner.spawn(make3(command, args, {
176
176
  stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
177
177
  stderr: "ignore",
178
178
  extendEnv: false,
@@ -12,7 +12,7 @@ import {
12
12
  add,
13
13
  getOrUndefinedUnsafe,
14
14
  getUnsafe,
15
- get4,
15
+ get3,
16
16
  Reference,
17
17
  toMillis,
18
18
  isSuccess,
@@ -96,21 +96,8 @@ import {
96
96
  Defect,
97
97
  Exit,
98
98
  toCodecJson
99
- } from "./chunk-y64ssczv.js";
99
+ } from "./chunk-ew07nt2d.js";
100
100
  import {
101
- interrupt,
102
- getCurrent,
103
- makeUnsafe2,
104
- bounded,
105
- offerAll,
106
- failCause,
107
- end,
108
- shutdownUnsafe,
109
- fromQueue,
110
- unwrap
111
- } from "./chunk-z59pvcbk.js";
112
- import {
113
- Clock,
114
101
  empty,
115
102
  fromInput,
116
103
  merge,
@@ -123,7 +110,20 @@ import {
123
110
  ParseOptions,
124
111
  RpcClientDefect,
125
112
  RpcClientError
126
- } from "./chunk-j37p2y71.js";
113
+ } from "./chunk-e863b7v1.js";
114
+ import {
115
+ Clock,
116
+ interrupt,
117
+ getCurrent,
118
+ makeUnsafe2,
119
+ bounded,
120
+ offerAll,
121
+ failCause,
122
+ end,
123
+ shutdownUnsafe,
124
+ fromQueue,
125
+ unwrap
126
+ } from "./chunk-w9mxqrsp.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")) {
@@ -237,7 +237,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
237
237
  const disableTracing = options?.disableTracing ?? false;
238
238
  const generateRequestId = options?.generateRequestId ?? (() => requestIdCounter++);
239
239
  const services = yield* context();
240
- const scope = get4(services, Scope);
240
+ const scope = get3(services, Scope);
241
241
  const entries = new Map;
242
242
  let isShutdown = false;
243
243
  yield* addFinalizer(scope, withFiber2((parent) => {
@@ -483,7 +483,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
483
483
  };
484
484
  });
485
485
  var clientIdCounter = 0;
486
- var make3 = /* @__PURE__ */ fnUntraced(function* (group, options) {
486
+ var make4 = /* @__PURE__ */ fnUntraced(function* (group, options) {
487
487
  const clientId = clientIdCounter++;
488
488
  const {
489
489
  codecFor,
@@ -643,7 +643,7 @@ var makeRpcSchemas = (codecFor) => {
643
643
  return entry;
644
644
  }
645
645
  const streamSchemas = getStreamSchemas(rpc.successSchema);
646
- const parseOptions = get4(rpc.annotations, ParseOptions);
646
+ const parseOptions = get3(rpc.annotations, ParseOptions);
647
647
  const exitSchema2 = exitSchema(rpc);
648
648
  let decodeDiscardExit;
649
649
  entry = {
@@ -829,4 +829,4 @@ var layerProtocolSocket = (options) => effect(Protocol)(makeProtocolSocket(optio
829
829
  class ConnectionHooks extends (/* @__PURE__ */ Service2()("effect/rpc/RpcClient/ConnectionHooks")) {
830
830
  }
831
831
 
832
- export { layerJson, make3, withHeaders, layerProtocolSocket, ConnectionHooks };
832
+ export { layerJson, make4, withHeaders, layerProtocolSocket, ConnectionHooks };
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-5me7tnrw.js";
7
+ } from "./chunk-gqcz0d3j.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-vh2a72d1.js";
2
+ import"./chunk-t6y0c0ds.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-j37p2y71.js";
16
- import"./chunk-z59pvcbk.js";
17
- import"./chunk-y64ssczv.js";
15
+ } from "./chunk-e863b7v1.js";
16
+ import"./chunk-w9mxqrsp.js";
17
+ import"./chunk-ew07nt2d.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,10 +6,7 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-y64ssczv.js";
10
- import {
11
- runForEach
12
- } from "./chunk-z59pvcbk.js";
9
+ } from "./chunk-ew07nt2d.js";
13
10
  import {
14
11
  WebSocketConstructor,
15
12
  layerWebSocketConstructorGlobal,
@@ -19,13 +16,16 @@ import {
19
16
  RunnerReplicaRpcs,
20
17
  RunnerRunFileRpcs,
21
18
  ProgramRpcs
22
- } from "./chunk-j37p2y71.js";
19
+ } from "./chunk-e863b7v1.js";
20
+ import {
21
+ runForEach
22
+ } from "./chunk-w9mxqrsp.js";
23
23
  import {
24
24
  layerJson,
25
- make3,
25
+ make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-pnckztvv.js";
28
+ } from "./chunk-2y646fhs.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -46,7 +46,7 @@ var authorizer = (options) => (call) => flatMap3(options.bearer, (token) => with
46
46
  var RunnerProcessRpcs = RunnerReplicaRpcs.merge(RunnerRunFileRpcs);
47
47
  var makeRunnerRpcClient2 = (options) => gen(function* () {
48
48
  const protocol = yield* build(options.protocol);
49
- const client = yield* make3(RunnerProcessRpcs).pipe(provideContext2(protocol));
49
+ const client = yield* make4(RunnerProcessRpcs).pipe(provideContext2(protocol));
50
50
  const authorized = authorizer(options);
51
51
  return {
52
52
  claim: (input) => authorized(client.Claim(input)),
@@ -74,7 +74,7 @@ var makeRunnerRpcClient2 = (options) => gen(function* () {
74
74
  });
75
75
  var makeProgramRpcClient2 = (options) => gen(function* () {
76
76
  const protocol = yield* build(options.protocol);
77
- const client = yield* make3(ProgramRpcs).pipe(provideContext2(protocol));
77
+ const client = yield* make4(ProgramRpcs).pipe(provideContext2(protocol));
78
78
  const authorized = authorizer(options);
79
79
  return {
80
80
  recordActivity: (input) => authorized(client.RecordActivity(input)),
@@ -13,11 +13,11 @@ import {
13
13
  ArraySchema,
14
14
  decodeJsonStringOption,
15
15
  encodeUnknownJsonStringSync
16
- } from "./chunk-y64ssczv.js";
16
+ } from "./chunk-ew07nt2d.js";
17
17
  import {
18
18
  replaceSecretReferences,
19
19
  secretReferencesIn
20
- } from "./chunk-r2kzvdrg.js";
20
+ } from "./chunk-qvpkwnky.js";
21
21
 
22
22
  // packages/agent-runtime/src/srt-step.ts
23
23
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
@@ -4,9 +4,9 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-zy21drtv.js";
8
- import"./chunk-r2kzvdrg.js";
9
- import"./chunk-y64ssczv.js";
7
+ } from "./chunk-6387vj9z.js";
8
+ import"./chunk-qvpkwnky.js";
9
+ import"./chunk-ew07nt2d.js";
10
10
  export {
11
11
  isOpaqueConnectReason2 as isOpaqueConnectReason,
12
12
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -7,10 +7,10 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-kx8rpa62.js";
11
- import"./chunk-vh2a72d1.js";
12
- import"./chunk-z59pvcbk.js";
13
- import"./chunk-y64ssczv.js";
10
+ } from "./chunk-2dhhyy04.js";
11
+ import"./chunk-t6y0c0ds.js";
12
+ import"./chunk-w9mxqrsp.js";
13
+ import"./chunk-ew07nt2d.js";
14
14
  export {
15
15
  decoded2 as decoded,
16
16
  decodedOption2 as decodedOption,
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-y64ssczv.js";
27
+ } from "./chunk-ew07nt2d.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-z59pvcbk.js";
31
+ } from "./chunk-w9mxqrsp.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-j37p2y71.js";
42
+ } from "./chunk-e863b7v1.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -13,17 +13,17 @@ import {
13
13
  isJsonObject,
14
14
  decodeJsonString,
15
15
  encodePrettyJsonString
16
- } from "./chunk-y64ssczv.js";
16
+ } from "./chunk-ew07nt2d.js";
17
17
  import {
18
18
  FileSystem,
19
19
  Path
20
- } from "./chunk-z59pvcbk.js";
20
+ } from "./chunk-w9mxqrsp.js";
21
21
  import {
22
22
  tomlTableHeader2,
23
23
  tomlKeyPath2,
24
24
  kitmanSkillEntry,
25
25
  isPathWithin2
26
- } from "./chunk-8r1a93rc.js";
26
+ } from "./chunk-y4nrvwgy.js";
27
27
  import {
28
28
  instructionsStart,
29
29
  instructionsEnd,
@@ -31,10 +31,10 @@ import {
31
31
  antigravityPlugins,
32
32
  materializeKitSetup,
33
33
  tomlInline
34
- } from "./chunk-j37p2y71.js";
35
- import"./chunk-vh2a72d1.js";
36
- import"./chunk-0wqkz371.js";
37
- import"./chunk-r2kzvdrg.js";
34
+ } from "./chunk-e863b7v1.js";
35
+ import"./chunk-am57a75e.js";
36
+ import"./chunk-t6y0c0ds.js";
37
+ import"./chunk-qvpkwnky.js";
38
38
 
39
39
  // packages/agent-runtime/src/kit-setup-sync.ts
40
40
  class KitSyncError extends TaggedError("KitSyncError") {