@kitman-sh/cli 0.10.69 → 0.10.70

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-q9n4jkcp.js → chunk-1j1jh211.js} +8 -5
  2. package/dist/{chunk-tf5yxkpy.js → chunk-1rry0tsn.js} +60 -14
  3. package/dist/{chunk-rzr11xyn.js → chunk-1w81w56v.js} +2 -2
  4. package/dist/{chunk-gswz7ngm.js → chunk-2wkdq54x.js} +5 -5
  5. package/dist/{chunk-0ahahh0f.js → chunk-60333x3q.js} +5 -5
  6. package/dist/{chunk-j4pmjnyd.js → chunk-7jh6atr0.js} +19 -19
  7. package/dist/{chunk-20qadzgw.js → chunk-8ttdzwa3.js} +25 -25
  8. package/dist/{chunk-t0rnf6ch.js → chunk-8w7d269h.js} +4 -4
  9. package/dist/{chunk-9m14d9d8.js → chunk-9hr71e7c.js} +7 -7
  10. package/dist/{chunk-zdctyf0w.js → chunk-csbf77zs.js} +8 -8
  11. package/dist/{chunk-677etczq.js → chunk-d3ksv8y1.js} +28 -70
  12. package/dist/{chunk-jjeawksh.js → chunk-dena9bpd.js} +21 -21
  13. package/dist/{chunk-qdyqc4nz.js → chunk-dk0ftqwg.js} +17 -17
  14. package/dist/{chunk-kqcrxea1.js → chunk-e5dq8dbz.js} +23 -23
  15. package/dist/{chunk-drsawp1s.js → chunk-f8qqmcgy.js} +8 -8
  16. package/dist/{chunk-q26gt71y.js → chunk-fgecj3t0.js} +5 -5
  17. package/dist/{chunk-qpg9t7he.js → chunk-h0sw8tks.js} +7 -7
  18. package/dist/{chunk-k7mn104k.js → chunk-pq9bkyj6.js} +3 -3
  19. package/dist/{chunk-p23kedha.js → chunk-q3c7vmby.js} +1 -1
  20. package/dist/{chunk-0271bhj2.js → chunk-rm83dbpv.js} +2 -2
  21. package/dist/{chunk-wnwyp9qn.js → chunk-rrnee9mk.js} +1 -1
  22. package/dist/{chunk-h6360r1c.js → chunk-v01c0k6j.js} +1 -1
  23. package/dist/{chunk-9p6v3jd2.js → chunk-wtpwkjws.js} +4 -4
  24. package/dist/{chunk-n0pm4rtm.js → chunk-x7g0rzqj.js} +125 -107
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -5,7 +5,7 @@ import {
5
5
  isObject,
6
6
  isJsonObject,
7
7
  isString
8
- } from "./chunk-h6360r1c.js";
8
+ } from "./chunk-v01c0k6j.js";
9
9
  import {
10
10
  pipeArguments,
11
11
  dual,
@@ -42,7 +42,7 @@ import {
42
42
  isFailure2,
43
43
  hasInterrupts,
44
44
  makeUnsafe5,
45
- make15,
45
+ make16,
46
46
  _await,
47
47
  fail5,
48
48
  isDoneUnsafe,
@@ -156,11 +156,11 @@ import {
156
156
  encodePrettyJsonString,
157
157
  decodeJsonStringSync,
158
158
  encodeUnknownJsonStringSync
159
- } from "./chunk-677etczq.js";
159
+ } from "./chunk-d3ksv8y1.js";
160
160
  import {
161
161
  Id,
162
162
  secretReference
163
- } from "./chunk-wnwyp9qn.js";
163
+ } from "./chunk-rrnee9mk.js";
164
164
  import {
165
165
  currentTimeMillis,
166
166
  SecureRandom,
@@ -225,7 +225,7 @@ import {
225
225
  installCommand,
226
226
  checkServicesFile,
227
227
  checkServices
228
- } from "./chunk-n0pm4rtm.js";
228
+ } from "./chunk-x7g0rzqj.js";
229
229
  import {
230
230
  join,
231
231
  interrupt,
@@ -234,7 +234,7 @@ import {
234
234
  unbounded2,
235
235
  offer,
236
236
  makeUnsafe3,
237
- make10,
237
+ make11,
238
238
  fromQueue,
239
239
  fromPubSub,
240
240
  map2,
@@ -265,7 +265,7 @@ import {
265
265
  writeSrtSettings2,
266
266
  srtStepArgv2,
267
267
  srtArgv2
268
- } from "./chunk-qdyqc4nz.js";
268
+ } from "./chunk-dk0ftqwg.js";
269
269
  import {
270
270
  writeAgentEnvironmentConfigFile2,
271
271
  readManifestSkillPaths2,
@@ -281,8 +281,8 @@ import {
281
281
  applyAgentEnvironmentMaterialization2,
282
282
  isPathWithin2,
283
283
  skillIdentity2
284
- } from "./chunk-gswz7ngm.js";
285
- import"./chunk-k7mn104k.js";
284
+ } from "./chunk-2wkdq54x.js";
285
+ import"./chunk-pq9bkyj6.js";
286
286
  import {
287
287
  sliceBytes2,
288
288
  maxLineBytes2,
@@ -290,28 +290,28 @@ import {
290
290
  decodedOption2,
291
291
  decoded2,
292
292
  readOpencode2
293
- } from "./chunk-zdctyf0w.js";
293
+ } from "./chunk-csbf77zs.js";
294
294
  import {
295
295
  writeSecretRegistry,
296
296
  secretRefusalLog,
297
297
  parseSecretRefusals
298
- } from "./chunk-rzr11xyn.js";
298
+ } from "./chunk-1w81w56v.js";
299
299
  import {
300
300
  uploadRunFile,
301
301
  programLease,
302
302
  rpcRunFiles,
303
303
  programHostsEnv,
304
304
  undeclaredHostsEnv
305
- } from "./chunk-q9n4jkcp.js";
306
- import"./chunk-qpg9t7he.js";
305
+ } from "./chunk-1j1jh211.js";
306
+ import"./chunk-h0sw8tks.js";
307
307
  import {
308
308
  nextInt
309
- } from "./chunk-p23kedha.js";
309
+ } from "./chunk-q3c7vmby.js";
310
310
  import {
311
311
  ChildProcessSpawner,
312
- make2
313
- } from "./chunk-tf5yxkpy.js";
314
- import"./chunk-q26gt71y.js";
312
+ make3
313
+ } from "./chunk-1rry0tsn.js";
314
+ import"./chunk-fgecj3t0.js";
315
315
 
316
316
  // packages/core/src/sync-kit.ts
317
317
  import { createHash } from "crypto";
@@ -5836,7 +5836,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
5836
5836
  const input = yield* unbounded2();
5837
5837
  const pending = new Map;
5838
5838
  let lastId = 0;
5839
- const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
5839
+ const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
5840
5840
  cwd: env.home,
5841
5841
  extendEnv: true,
5842
5842
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -5859,7 +5859,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
5859
5859
  return {
5860
5860
  request: (method, params) => gen(function* () {
5861
5861
  const id = ++lastId;
5862
- const deferred = yield* make15();
5862
+ const deferred = yield* make16();
5863
5863
  pending.set(id, deferred);
5864
5864
  yield* send({ id, method, params });
5865
5865
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -5999,10 +5999,10 @@ var handshake = [
5999
5999
  `).join("");
6000
6000
  var kitmanMcpPreflight = (mcp) => gen(function* () {
6001
6001
  const spawner = yield* ChildProcessSpawner;
6002
- const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
6002
+ const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
6003
6003
  extendEnv: true,
6004
6004
  env: mcp.env,
6005
- stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
6005
+ stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
6006
6006
  stderr: "ignore"
6007
6007
  }));
6008
6008
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -6075,8 +6075,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
6075
6075
  };
6076
6076
  const exitCode = sandbox === undefined ? yield* gen(function* () {
6077
6077
  const spawner = yield* ChildProcessSpawner;
6078
- const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
6079
- stdin: make10(new TextEncoder().encode(stdin)),
6078
+ const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
6079
+ stdin: make11(new TextEncoder().encode(stdin)),
6080
6080
  stdout: "inherit",
6081
6081
  stderr: "inherit",
6082
6082
  extendEnv: false,
@@ -12,30 +12,30 @@ import {
12
12
  orElseSucceed,
13
13
  decodeJsonString,
14
14
  encodePrettyJsonString
15
- } from "./chunk-677etczq.js";
16
- import"./chunk-wnwyp9qn.js";
15
+ } from "./chunk-d3ksv8y1.js";
16
+ import"./chunk-rrnee9mk.js";
17
17
  import {
18
18
  isJsonObject
19
- } from "./chunk-h6360r1c.js";
19
+ } from "./chunk-v01c0k6j.js";
20
20
  import {
21
21
  FileSystem,
22
22
  Path
23
- } from "./chunk-qdyqc4nz.js";
23
+ } from "./chunk-dk0ftqwg.js";
24
24
  import {
25
25
  tomlTableHeader2,
26
26
  tomlKeyPath2,
27
27
  kitmanSkillEntry,
28
28
  isPathWithin2
29
- } from "./chunk-gswz7ngm.js";
29
+ } from "./chunk-2wkdq54x.js";
30
30
  import {
31
31
  instructionsStart,
32
32
  instructionsEnd,
33
33
  renderMcpServer,
34
34
  materializeKitSetup,
35
35
  tomlInline
36
- } from "./chunk-n0pm4rtm.js";
37
- import"./chunk-k7mn104k.js";
38
- import"./chunk-tf5yxkpy.js";
36
+ } from "./chunk-x7g0rzqj.js";
37
+ import"./chunk-pq9bkyj6.js";
38
+ import"./chunk-1rry0tsn.js";
39
39
 
40
40
  // packages/agent-runtime/src/kit-setup-sync.ts
41
41
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -96,7 +96,7 @@ import {
96
96
  Defect,
97
97
  Exit,
98
98
  toCodecJson
99
- } from "./chunk-677etczq.js";
99
+ } from "./chunk-d3ksv8y1.js";
100
100
  import {
101
101
  interrupt,
102
102
  getCurrent,
@@ -108,7 +108,7 @@ import {
108
108
  shutdownUnsafe,
109
109
  fromQueue,
110
110
  unwrap
111
- } from "./chunk-qdyqc4nz.js";
111
+ } from "./chunk-dk0ftqwg.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-n0pm4rtm.js";
126
+ } from "./chunk-x7g0rzqj.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")) {
@@ -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,
@@ -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 };
@@ -6,10 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-677etczq.js";
9
+ } from "./chunk-d3ksv8y1.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-qdyqc4nz.js";
12
+ } from "./chunk-dk0ftqwg.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-n0pm4rtm.js";
22
+ } from "./chunk-x7g0rzqj.js";
23
23
  import {
24
24
  layerJson,
25
- make3,
25
+ make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-q26gt71y.js";
28
+ } from "./chunk-fgecj3t0.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)),
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-677etczq.js";
27
+ } from "./chunk-d3ksv8y1.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-qdyqc4nz.js";
31
+ } from "./chunk-dk0ftqwg.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-n0pm4rtm.js";
41
+ } from "./chunk-x7g0rzqj.js";
42
42
 
43
43
  // packages/core/src/npm-registry.ts
44
44
  var KitManifest = Struct({
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-677etczq.js";
6
+ } from "./chunk-d3ksv8y1.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-qdyqc4nz.js";
18
- import"./chunk-677etczq.js";
17
+ } from "./chunk-dk0ftqwg.js";
18
+ import"./chunk-d3ksv8y1.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
@@ -18,7 +18,7 @@ import {
18
18
  isMinLength,
19
19
  isMaxLength,
20
20
  FiniteFromString
21
- } from "./chunk-677etczq.js";
21
+ } from "./chunk-d3ksv8y1.js";
22
22
 
23
23
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
24
24
  var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
@@ -8,7 +8,7 @@ import {
8
8
  isFunction2,
9
9
  isUndefined2,
10
10
  isObjectOrArray
11
- } from "./chunk-677etczq.js";
11
+ } from "./chunk-d3ksv8y1.js";
12
12
 
13
13
  // packages/core/src/runtime-type.ts
14
14
  var UnsafeJsonObjectKeys = new Set(["__proto__", "constructor", "prototype"]);
@@ -1,12 +1,12 @@
1
1
  // @bun
2
- import"./chunk-677etczq.js";
3
- import"./chunk-wnwyp9qn.js";
4
- import"./chunk-h6360r1c.js";
2
+ import"./chunk-d3ksv8y1.js";
3
+ import"./chunk-rrnee9mk.js";
4
+ import"./chunk-v01c0k6j.js";
5
5
  import {
6
6
  decideSecretRequest,
7
7
  readSecretRegistry,
8
8
  appendSecretRefusals
9
- } from "./chunk-rzr11xyn.js";
9
+ } from "./chunk-1w81w56v.js";
10
10
 
11
11
  // packages/agent-runtime/src/srt-step.ts
12
12
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";