@kitman-sh/cli 0.10.63 → 0.10.64

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-a4798jzf.js → chunk-3z0p2wtr.js} +3 -3
  2. package/dist/{chunk-d3ksv8y1.js → chunk-677etczq.js} +70 -28
  3. package/dist/{chunk-wtpwkjws.js → chunk-9p6v3jd2.js} +4 -4
  4. package/dist/{chunk-hxkk42cg.js → chunk-a31qjdsm.js} +7 -7
  5. package/dist/{chunk-5y050gx7.js → chunk-b9xcawfx.js} +36 -36
  6. package/dist/{chunk-1z9p4q8b.js → chunk-byhwksbq.js} +2 -2
  7. package/dist/{chunk-d8awdfdj.js → chunk-dzxahdb7.js} +60 -60
  8. package/dist/{chunk-sdpjvc1r.js → chunk-fm4m4v6j.js} +107 -116
  9. package/dist/{chunk-phmma642.js → chunk-fznm6es2.js} +7 -7
  10. package/dist/{chunk-v01c0k6j.js → chunk-h6360r1c.js} +1 -1
  11. package/dist/{chunk-rrz0v4fg.js → chunk-ksx5nt4b.js} +5 -5
  12. package/dist/{chunk-62mqje8y.js → chunk-m9v1z0gz.js} +21 -21
  13. package/dist/{chunk-q3c7vmby.js → chunk-p23kedha.js} +1 -1
  14. package/dist/{chunk-0fdgam8v.js → chunk-qdn9tnav.js} +26 -17
  15. package/dist/{chunk-wkccjgwb.js → chunk-rv4r0n7d.js} +4 -4
  16. package/dist/{chunk-1w81w56v.js → chunk-rzr11xyn.js} +2 -2
  17. package/dist/{chunk-smgvtzd2.js → chunk-s2d1a2my.js} +7 -7
  18. package/dist/{chunk-z0z56a72.js → chunk-smmgt31x.js} +9 -9
  19. package/dist/{chunk-hvev0dve.js → chunk-t47h82ew.js} +11 -11
  20. package/dist/{chunk-88257wax.js → chunk-tdp34kqg.js} +19 -19
  21. package/dist/{chunk-e3tv8mv2.js → chunk-wjs5fpv0.js} +5 -5
  22. package/dist/{chunk-rrnee9mk.js → chunk-wnwyp9qn.js} +1 -1
  23. package/dist/{chunk-09jf8588.js → chunk-x306t6v1.js} +11 -11
  24. package/dist/{chunk-eawcprsb.js → chunk-zej59tf2.js} +14 -60
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -75,10 +75,14 @@ import {
75
75
  toEquivalence,
76
76
  toCodecJson,
77
77
  Json
78
- } from "./chunk-d3ksv8y1.js";
78
+ } from "./chunk-677etczq.js";
79
+ import {
80
+ runForEach,
81
+ FileSystem
82
+ } from "./chunk-qdn9tnav.js";
79
83
  import {
80
84
  guard
81
- } from "./chunk-rrnee9mk.js";
85
+ } from "./chunk-wnwyp9qn.js";
82
86
  import {
83
87
  currentTimeMillis,
84
88
  WebCrypto,
@@ -105,11 +109,7 @@ import {
105
109
  KitDigest,
106
110
  KitSetup,
107
111
  RunnerRpcError
108
- } from "./chunk-sdpjvc1r.js";
109
- import {
110
- runForEach,
111
- FileSystem
112
- } from "./chunk-0fdgam8v.js";
112
+ } from "./chunk-fm4m4v6j.js";
113
113
 
114
114
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
115
115
  var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
@@ -8,7 +8,7 @@ import {
8
8
  isFunction2,
9
9
  isUndefined2,
10
10
  isObjectOrArray
11
- } from "./chunk-d3ksv8y1.js";
11
+ } from "./chunk-677etczq.js";
12
12
 
13
13
  // packages/core/src/runtime-type.ts
14
14
  var UnsafeJsonObjectKeys = new Set(["__proto__", "constructor", "prototype"]);
@@ -7,11 +7,11 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-09jf8588.js";
11
- import"./chunk-eawcprsb.js";
12
- import"./chunk-v01c0k6j.js";
13
- import"./chunk-0fdgam8v.js";
14
- import"./chunk-d3ksv8y1.js";
10
+ } from "./chunk-x306t6v1.js";
11
+ import"./chunk-zej59tf2.js";
12
+ import"./chunk-h6360r1c.js";
13
+ import"./chunk-qdn9tnav.js";
14
+ import"./chunk-677etczq.js";
15
15
  export {
16
16
  decoded2 as decoded,
17
17
  decodedOption2 as decodedOption,
@@ -6,7 +6,7 @@ import {
6
6
  getOrUndefined,
7
7
  Reference,
8
8
  TaggedError,
9
- make16,
9
+ make15,
10
10
  _await,
11
11
  fail5,
12
12
  succeed5,
@@ -85,7 +85,7 @@ import {
85
85
  decodeJsonString,
86
86
  encodeJsonStringSync,
87
87
  encodePrettyJsonString
88
- } from "./chunk-d3ksv8y1.js";
88
+ } from "./chunk-677etczq.js";
89
89
  import {
90
90
  tap,
91
91
  mapError,
@@ -97,7 +97,7 @@ import {
97
97
  withDefault,
98
98
  option,
99
99
  String2
100
- } from "./chunk-0fdgam8v.js";
100
+ } from "./chunk-qdn9tnav.js";
101
101
  import {
102
102
  currentTimeMillis,
103
103
  SecureRandom,
@@ -135,7 +135,7 @@ import {
135
135
  digestSha256,
136
136
  sha256Hasher,
137
137
  raw,
138
- make5,
138
+ make4,
139
139
  get,
140
140
  put,
141
141
  HttpClient,
@@ -197,10 +197,10 @@ import {
197
197
  harnessNames,
198
198
  herdrRunnerCapabilities2,
199
199
  declaredChecks
200
- } from "./chunk-sdpjvc1r.js";
200
+ } from "./chunk-fm4m4v6j.js";
201
201
  import {
202
202
  Id
203
- } from "./chunk-rrnee9mk.js";
203
+ } from "./chunk-wnwyp9qn.js";
204
204
  import {
205
205
  toJsonValue,
206
206
  isOneOf,
@@ -210,11 +210,11 @@ import {
210
210
  isObject,
211
211
  isJsonObject,
212
212
  isString
213
- } from "./chunk-v01c0k6j.js";
213
+ } from "./chunk-h6360r1c.js";
214
214
  import {
215
215
  ChildProcessSpawner,
216
- make3
217
- } from "./chunk-eawcprsb.js";
216
+ make2
217
+ } from "./chunk-zej59tf2.js";
218
218
 
219
219
  // apps/cli/src/cli-error.ts
220
220
  function cliErrorCode(error, status) {
@@ -504,10 +504,10 @@ var checkDockerImageSetting = pinnedImage;
504
504
  var checkRegistryImageSetting = pinnedImage;
505
505
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
506
506
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
507
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-wkccjgwb.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
507
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-rv4r0n7d.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
508
508
  });
509
509
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
510
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-wkccjgwb.js")), (module) => module.updateHerdrCore(options))
510
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-rv4r0n7d.js")), (module) => module.updateHerdrCore(options))
511
511
  });
512
512
  var herdrCoreMissing = (error) => {
513
513
  if (isTagged(error, "HerdrCoreMissing"))
@@ -733,7 +733,7 @@ var syncTargets = (harness) => gen(function* () {
733
733
  });
734
734
  var syncKits = (input) => gen(function* () {
735
735
  const fs = yield* FileSystem;
736
- const { syncKitSetup } = yield* promise(() => import("./chunk-hvev0dve.js"));
736
+ const { syncKitSetup } = yield* promise(() => import("./chunk-t47h82ew.js"));
737
737
  const harnesses = yield* syncTargets(input.harness);
738
738
  const chain = yield* input.client.getKitChain(input.workspaceId);
739
739
  for (const { name, problem } of chain.skipped)
@@ -1249,7 +1249,7 @@ var ServiceManager = Reference("kitman/cli/ServiceManager", {
1249
1249
  run: (command, args) => runCommand2(command, args),
1250
1250
  attach: (command, args) => gen(function* () {
1251
1251
  const spawner = yield* ChildProcessSpawner;
1252
- const handle = yield* spawner.spawn(make3(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
1252
+ const handle = yield* spawner.spawn(make2(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
1253
1253
  const exitCode = yield* handle.exitCode;
1254
1254
  if (exitCode !== 0)
1255
1255
  return yield* new CommandFailed2({ command, reason: `exit code ${exitCode}` });
@@ -1651,7 +1651,7 @@ var package_default = {
1651
1651
  };
1652
1652
 
1653
1653
  // apps/cli/src/scaffold.ts
1654
- var cliVersion = "0.10.63";
1654
+ var cliVersion = "0.10.64";
1655
1655
  var packageJson = (name, scaffold) => `${JSON.stringify({
1656
1656
  name,
1657
1657
  private: true,
@@ -1901,7 +1901,7 @@ var Usage = [
1901
1901
  "Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
1902
1902
  ].join(`
1903
1903
  `);
1904
- var agentRuntime = promise(() => import("./chunk-d8awdfdj.js"));
1904
+ var agentRuntime = promise(() => import("./chunk-dzxahdb7.js"));
1905
1905
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
1906
1906
  defaultValue: () => gen(function* () {
1907
1907
  const tui = yield* tryPromise({
@@ -2756,7 +2756,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
2756
2756
  });
2757
2757
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
2758
2758
  defaultValue: () => (options) => gen(function* () {
2759
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-smgvtzd2.js"));
2759
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-s2d1a2my.js"));
2760
2760
  return yield* makeRunnerRpcClient({
2761
2761
  runnerId: options.runnerId,
2762
2762
  bearer: options.bearer,
@@ -2951,7 +2951,7 @@ function startCanonicalHerdrRunnerCommand(input) {
2951
2951
  });
2952
2952
  const checkouts = runCheckouts(path.join(runnerRootDir, ".kitman"), rpc.gitCredential);
2953
2953
  const platform = yield* context();
2954
- const updated = yield* make16();
2954
+ const updated = yield* make15();
2955
2955
  const scope = yield* scope2;
2956
2956
  yield* listenForSignals({
2957
2957
  rpc,
@@ -3140,7 +3140,7 @@ function mcpCommand(args) {
3140
3140
  if (command.action === "run") {
3141
3141
  if (command.args.length > 0)
3142
3142
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
3143
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-5y050gx7.js"));
3143
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-b9xcawfx.js"));
3144
3144
  return yield* runMcpServerCommand({ flags: command.flags });
3145
3145
  }
3146
3146
  if (command.action !== "setup")
@@ -4342,9 +4342,9 @@ function claimCommand(args) {
4342
4342
  }
4343
4343
  });
4344
4344
  }
4345
- var KitWriter = map8(promise(() => import("./chunk-88257wax.js")), (build) => build.writeKit);
4345
+ var KitWriter = map8(promise(() => import("./chunk-tdp34kqg.js")), (build) => build.writeKit);
4346
4346
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
4347
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-88257wax.js")), (build) => build.buildKit(directory))
4347
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-tdp34kqg.js")), (build) => build.buildKit(directory))
4348
4348
  });
4349
4349
  var uploadKit = (client, workspaceId, built) => gen(function* () {
4350
4350
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -5102,7 +5102,7 @@ function downloadPresignedAsset(download, outputPath) {
5102
5102
  return gen(function* () {
5103
5103
  const fs = yield* FileSystem;
5104
5104
  const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
5105
- const response = yield* send(make5(download.method)(download.url), failed);
5105
+ const response = yield* send(make4(download.method)(download.url), failed);
5106
5106
  if (response.status < 200 || response.status >= 300)
5107
5107
  return yield* new CliError({ message: `Asset download failed with ${response.status}` });
5108
5108
  const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-d3ksv8y1.js";
6
+ } from "./chunk-677etczq.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -199,7 +199,7 @@ import {
199
199
  String4,
200
200
  toCodecStringTree,
201
201
  encodeUnknownJsonStringSync
202
- } from "./chunk-d3ksv8y1.js";
202
+ } from "./chunk-677etczq.js";
203
203
 
204
204
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
205
205
  var headUnsafe = (self) => {
@@ -248,6 +248,15 @@ var makeEquivalence = (equivalence) => {
248
248
  return (self, that) => is(self, that) && is(that, self);
249
249
  };
250
250
 
251
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
252
+ var BigInt2 = globalThis.BigInt;
253
+ var toNumber = (b) => {
254
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
255
+ return none();
256
+ }
257
+ return some(Number(b));
258
+ };
259
+
251
260
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
252
261
  var bigint0 = /* @__PURE__ */ BigInt(0);
253
262
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -1127,7 +1136,7 @@ var MutableRefProto = {
1127
1136
  };
1128
1137
  }
1129
1138
  };
1130
- var make8 = (value) => {
1139
+ var make7 = (value) => {
1131
1140
  const ref = Object.create(MutableRefProto);
1132
1141
  ref.current = value;
1133
1142
  return ref;
@@ -1288,7 +1297,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1288
1297
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1289
1298
  var TypeId3 = "~effect/PubSub";
1290
1299
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1291
- var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
1300
+ var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1292
1301
  var unbounded = (options) => make5({
1293
1302
  atomicPubSub: () => makeAtomicUnbounded(options),
1294
1303
  strategy: () => new DroppingStrategy
@@ -1383,7 +1392,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1383
1392
  subscribers.delete(subscription);
1384
1393
  }
1385
1394
  };
1386
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
1395
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1387
1396
  class UnboundedPubSub {
1388
1397
  publisherHead = {
1389
1398
  value: AbsentValue,
@@ -1800,7 +1809,7 @@ var QueueProto = {
1800
1809
  };
1801
1810
  }
1802
1811
  };
1803
- var make9 = (options) => withFiber((fiber) => {
1812
+ var make8 = (options) => withFiber((fiber) => {
1804
1813
  const self = Object.create(QueueProto);
1805
1814
  self.dispatcher = fiber.currentDispatcher;
1806
1815
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
@@ -1815,14 +1824,14 @@ var make9 = (options) => withFiber((fiber) => {
1815
1824
  };
1816
1825
  return succeed2(self);
1817
1826
  });
1818
- var bounded = (capacity) => make9({
1827
+ var bounded = (capacity) => make8({
1819
1828
  capacity
1820
1829
  });
1821
- var sliding = (capacity) => make9({
1830
+ var sliding = (capacity) => make8({
1822
1831
  capacity,
1823
1832
  strategy: "sliding"
1824
1833
  });
1825
- var unbounded2 = () => make9();
1834
+ var unbounded2 = () => make8();
1826
1835
  var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
1827
1836
  var offerUnsafe = (self, message) => {
1828
1837
  if (self.state._tag !== "Open") {
@@ -2248,7 +2257,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
2248
2257
  return onError(pull, onCause);
2249
2258
  }));
2250
2259
  var toTransform = (channel) => channel.transform;
2251
- var asyncQueue = (scope, f, options) => make9({
2260
+ var asyncQueue = (scope, f, options) => make8({
2252
2261
  capacity: options?.bufferSize,
2253
2262
  strategy: options?.strategy
2254
2263
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
@@ -2289,7 +2298,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
2289
2298
  }));
2290
2299
  var readableStreamToPullUnsafe = (options) => {
2291
2300
  const reader = options.readable.getReader();
2292
- const exit = options.exit ?? make8(undefined);
2301
+ const exit = options.exit ?? make7(undefined);
2293
2302
  const pull = suspend3(() => {
2294
2303
  if (exit.current)
2295
2304
  return exit.current;
@@ -2903,7 +2912,7 @@ var release = (self, state) => {
2903
2912
  };
2904
2913
 
2905
2914
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2906
- var make10 = make6;
2915
+ var make9 = make6;
2907
2916
  var get3 = get2;
2908
2917
 
2909
2918
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
@@ -2915,7 +2924,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
2915
2924
  var toChannel2 = (stream) => stream.channel;
2916
2925
  var callback = (f, options) => fromChannel2(callbackArray(f, options));
2917
2926
  var empty2 = /* @__PURE__ */ fromChannel2(empty);
2918
- var make11 = (...values) => fromArray2(values);
2927
+ var make10 = (...values) => fromArray2(values);
2919
2928
  var suspend = (stream) => {
2920
2929
  const suspended = fromChannel2(suspend4(() => stream().channel));
2921
2930
  suspendedStreams.set(suspended, stream);
@@ -3080,7 +3089,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
3080
3089
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
3081
3090
  var TypeId10 = "~effect/FileSystem";
3082
3091
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3083
- var make12 = (impl) => FileSystem.of({
3092
+ var make11 = (impl) => FileSystem.of({
3084
3093
  ...impl,
3085
3094
  [TypeId10]: TypeId10,
3086
3095
  glob: make2(impl),
@@ -3140,7 +3149,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3140
3149
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3141
3150
  var TypeId11 = "~effect/Path";
3142
3151
  var Path = /* @__PURE__ */ Service2("effect/Path");
3143
- var make13 = (impl) => Path.of({
3152
+ var make12 = (impl) => Path.of({
3144
3153
  ...impl,
3145
3154
  [TypeId11]: TypeId11,
3146
3155
  resolveWithin(root, input) {
@@ -3215,7 +3224,7 @@ function makeProvider(load, mapInput) {
3215
3224
  function makeSource(get, transform) {
3216
3225
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3217
3226
  }
3218
- function make7(get) {
3227
+ function make13(get) {
3219
3228
  return makeSource(get, identityPath);
3220
3229
  }
3221
3230
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3224,7 +3233,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3224
3233
  function fromEnvRecord(env, options) {
3225
3234
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3226
3235
  const trie = buildEnvTrie(env);
3227
- return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3236
+ return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3228
3237
  }
3229
3238
  function fromEnv(options) {
3230
3239
  const env = options?.env ?? {
@@ -3551,4 +3560,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3551
3560
  ...argv
3552
3561
  ];
3553
3562
 
3554
- 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, 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, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3563
+ export { map, makeEquivalence, toNumber, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make7, unbounded, publishUnsafe, make8, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make9, get3, isStream, fromChannel2, callback, empty2, make10, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make11, FileTypeId, WatchBackend, Path, make12, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-eawcprsb.js";
2
+ import"./chunk-zej59tf2.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-sdpjvc1r.js";
16
- import"./chunk-0fdgam8v.js";
17
- import"./chunk-d3ksv8y1.js";
15
+ } from "./chunk-fm4m4v6j.js";
16
+ import"./chunk-qdn9tnav.js";
17
+ import"./chunk-677etczq.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -11,11 +11,11 @@ import {
11
11
  ArraySchema,
12
12
  decodeJsonStringOption,
13
13
  encodeUnknownJsonStringSync
14
- } from "./chunk-d3ksv8y1.js";
14
+ } from "./chunk-677etczq.js";
15
15
  import {
16
16
  replaceSecretReferences,
17
17
  secretReferencesIn
18
- } from "./chunk-rrnee9mk.js";
18
+ } from "./chunk-wnwyp9qn.js";
19
19
 
20
20
  // packages/agent-runtime/src/secret-proxy.ts
21
21
  import { appendFileSync, readFileSync, renameSync, writeFileSync } from "fs";
@@ -4,13 +4,13 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-hxkk42cg.js";
8
- import"./chunk-e3tv8mv2.js";
9
- import"./chunk-sdpjvc1r.js";
10
- import"./chunk-rrnee9mk.js";
11
- import"./chunk-v01c0k6j.js";
12
- import"./chunk-0fdgam8v.js";
13
- import"./chunk-d3ksv8y1.js";
7
+ } from "./chunk-a31qjdsm.js";
8
+ import"./chunk-wjs5fpv0.js";
9
+ import"./chunk-fm4m4v6j.js";
10
+ import"./chunk-wnwyp9qn.js";
11
+ import"./chunk-h6360r1c.js";
12
+ import"./chunk-qdn9tnav.js";
13
+ import"./chunk-677etczq.js";
14
14
  export {
15
15
  makeProgramRpcClient2 as makeProgramRpcClient,
16
16
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -1,4 +1,9 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path,
5
+ optionalEnv
6
+ } from "./chunk-qdn9tnav.js";
2
7
  import {
3
8
  Reference,
4
9
  TaggedError,
@@ -23,24 +28,19 @@ import {
23
28
  fnUntraced,
24
29
  encodePrettyJsonString,
25
30
  decodeJsonStringSync
26
- } from "./chunk-d3ksv8y1.js";
31
+ } from "./chunk-677etczq.js";
27
32
  import {
28
33
  isJsonObject,
29
34
  isString
30
- } from "./chunk-v01c0k6j.js";
31
- import {
32
- FileSystem,
33
- Path,
34
- optionalEnv
35
- } from "./chunk-0fdgam8v.js";
35
+ } from "./chunk-h6360r1c.js";
36
36
  import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-sdpjvc1r.js";
40
+ } from "./chunk-fm4m4v6j.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-a4798jzf.js";
43
+ } from "./chunk-3z0p2wtr.js";
44
44
 
45
45
  // packages/agent-runtime/src/config-convergence.ts
46
46
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -1,4 +1,8 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path
5
+ } from "./chunk-qdn9tnav.js";
2
6
  import {
3
7
  isObject2,
4
8
  isUint8Array,
@@ -12,30 +16,26 @@ import {
12
16
  orElseSucceed,
13
17
  decodeJsonString,
14
18
  encodePrettyJsonString
15
- } from "./chunk-d3ksv8y1.js";
16
- import"./chunk-rrnee9mk.js";
19
+ } from "./chunk-677etczq.js";
20
+ import"./chunk-wnwyp9qn.js";
17
21
  import {
18
22
  isJsonObject
19
- } from "./chunk-v01c0k6j.js";
20
- import {
21
- FileSystem,
22
- Path
23
- } from "./chunk-0fdgam8v.js";
23
+ } from "./chunk-h6360r1c.js";
24
24
  import {
25
25
  tomlTableHeader2,
26
26
  tomlKeyPath2,
27
27
  kitmanSkillEntry,
28
28
  isPathWithin2
29
- } from "./chunk-z0z56a72.js";
29
+ } from "./chunk-smmgt31x.js";
30
30
  import {
31
31
  instructionsStart,
32
32
  instructionsEnd,
33
33
  renderMcpServer,
34
34
  materializeKitSetup,
35
35
  tomlInline
36
- } from "./chunk-sdpjvc1r.js";
37
- import"./chunk-a4798jzf.js";
38
- import"./chunk-eawcprsb.js";
36
+ } from "./chunk-fm4m4v6j.js";
37
+ import"./chunk-3z0p2wtr.js";
38
+ import"./chunk-zej59tf2.js";
39
39
 
40
40
  // packages/agent-runtime/src/kit-setup-sync.ts
41
41
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -1,4 +1,12 @@
1
1
  // @bun
2
+ import {
3
+ decodeText,
4
+ mkString,
5
+ FileSystem,
6
+ Path,
7
+ withDefault,
8
+ String2
9
+ } from "./chunk-qdn9tnav.js";
2
10
  import {
3
11
  isString2,
4
12
  hasProperty,
@@ -32,9 +40,9 @@ import {
32
40
  toCodecJson,
33
41
  Json,
34
42
  encodePrettyJsonString
35
- } from "./chunk-d3ksv8y1.js";
36
- import"./chunk-rrnee9mk.js";
37
- import"./chunk-v01c0k6j.js";
43
+ } from "./chunk-677etczq.js";
44
+ import"./chunk-wnwyp9qn.js";
45
+ import"./chunk-h6360r1c.js";
38
46
  import {
39
47
  SecureRandom,
40
48
  layerWebCrypto,
@@ -46,31 +54,23 @@ import {
46
54
  layer4,
47
55
  kitmanMcpServer,
48
56
  RunnerRpcProtocolVersion
49
- } from "./chunk-sdpjvc1r.js";
50
- import {
51
- decodeText,
52
- mkString,
53
- FileSystem,
54
- Path,
55
- withDefault,
56
- String2
57
- } from "./chunk-0fdgam8v.js";
57
+ } from "./chunk-fm4m4v6j.js";
58
58
  import {
59
59
  Packument,
60
60
  tarballMatches
61
- } from "./chunk-a4798jzf.js";
62
- import"./chunk-hxkk42cg.js";
61
+ } from "./chunk-3z0p2wtr.js";
62
+ import"./chunk-a31qjdsm.js";
63
63
  import {
64
64
  AgentDeclaration,
65
65
  KitDeclarations,
66
66
  describeFlag,
67
67
  Described
68
- } from "./chunk-phmma642.js";
68
+ } from "./chunk-fznm6es2.js";
69
69
  import {
70
70
  ChildProcessSpawner,
71
- make3
72
- } from "./chunk-eawcprsb.js";
73
- import"./chunk-e3tv8mv2.js";
71
+ make2
72
+ } from "./chunk-zej59tf2.js";
73
+ import"./chunk-wjs5fpv0.js";
74
74
 
75
75
  // packages/sdk/src/build/index.ts
76
76
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -109,7 +109,7 @@ var ConfigAgents = Record(String4, Struct({
109
109
  }));
110
110
  var run = (command, args, cwd) => gen(function* () {
111
111
  const spawner = yield* ChildProcessSpawner;
112
- const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
112
+ const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
113
113
  const [stdout, stderr, exitCode] = yield* all3([
114
114
  mkString(decodeText(handle.stdout)),
115
115
  mkString(decodeText(handle.stderr)),
@@ -96,7 +96,7 @@ import {
96
96
  Defect,
97
97
  Exit,
98
98
  toCodecJson
99
- } from "./chunk-d3ksv8y1.js";
99
+ } from "./chunk-677etczq.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-0fdgam8v.js";
111
+ } from "./chunk-qdn9tnav.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-sdpjvc1r.js";
126
+ } from "./chunk-fm4m4v6j.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 make4 = /* @__PURE__ */ fnUntraced(function* (group, options) {
486
+ var make3 = /* @__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, make4, withHeaders, layerProtocolSocket, ConnectionHooks };
832
+ export { layerJson, make3, withHeaders, layerProtocolSocket, ConnectionHooks };
@@ -18,7 +18,7 @@ import {
18
18
  isMinLength,
19
19
  isMaxLength,
20
20
  FiniteFromString
21
- } from "./chunk-d3ksv8y1.js";
21
+ } from "./chunk-677etczq.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"];