@kitman-sh/cli 0.12.4 → 0.12.6

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-v1pa2dpe.js → chunk-23245qh7.js} +5 -5
  2. package/dist/{chunk-j373bdw1.js → chunk-7ncc3m3n.js} +7 -7
  3. package/dist/{chunk-rs0qassb.js → chunk-7tnm4jef.js} +3 -3
  4. package/dist/{chunk-nfc1scfz.js → chunk-892qrkb3.js} +14 -60
  5. package/dist/{chunk-7tf77mw4.js → chunk-8djn7v2p.js} +23 -23
  6. package/dist/{chunk-zbcxbph8.js → chunk-8sz25ptv.js} +4 -4
  7. package/dist/{chunk-gy9rf14f.js → chunk-bz4bp0q7.js} +3 -3
  8. package/dist/{chunk-j8j7ryjm.js → chunk-dcnn882c.js} +20 -20
  9. package/dist/{chunk-ywgv15tb.js → chunk-e711ebdj.js} +2 -2
  10. package/dist/{chunk-r3yamwdd.js → chunk-fen5480a.js} +10 -10
  11. package/dist/{chunk-vbv9x6d7.js → chunk-gezjwdpw.js} +117 -118
  12. package/dist/{chunk-6b91ftp6.js → chunk-gtsq369x.js} +7 -7
  13. package/dist/{chunk-9rvj15vf.js → chunk-jk5fp5cy.js} +28 -28
  14. package/dist/{chunk-gbakhy7m.js → chunk-k3ak93p1.js} +1 -1
  15. package/dist/{chunk-gq7y5v3e.js → chunk-mm2m3bys.js} +1 -1
  16. package/dist/{chunk-9ydwnxh9.js → chunk-n17dr5c1.js} +4 -4
  17. package/dist/{chunk-9hqbmnkh.js → chunk-rvpfyjtv.js} +1 -1
  18. package/dist/{chunk-q5w3v4k1.js → chunk-s8m2tzdr.js} +1 -1
  19. package/dist/{chunk-y1krmnbv.js → chunk-skqn4h13.js} +2 -2
  20. package/dist/{chunk-r4a6f4pa.js → chunk-v4wn0tz8.js} +6 -6
  21. package/dist/{chunk-bvpczkzf.js → chunk-vkchn89k.js} +10 -10
  22. package/dist/{chunk-74zwne6t.js → chunk-wberffvr.js} +63 -63
  23. package/dist/{chunk-zw3gf6r5.js → chunk-x3cc7dfc.js} +226 -40
  24. package/dist/{chunk-y1mhc7qd.js → chunk-x5t0c4g4.js} +9 -9
  25. package/dist/{chunk-trqvcc06.js → chunk-y7vjk8vv.js} +31 -174
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -96,7 +96,7 @@ import {
96
96
  Defect,
97
97
  Exit,
98
98
  toCodecJson
99
- } from "./chunk-zw3gf6r5.js";
99
+ } from "./chunk-x3cc7dfc.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-trqvcc06.js";
111
+ } from "./chunk-y7vjk8vv.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-vbv9x6d7.js";
126
+ } from "./chunk-gezjwdpw.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 };
@@ -75,14 +75,10 @@ import {
75
75
  toEquivalence,
76
76
  toCodecJson,
77
77
  Json
78
- } from "./chunk-zw3gf6r5.js";
79
- import {
80
- runForEach,
81
- FileSystem
82
- } from "./chunk-trqvcc06.js";
78
+ } from "./chunk-x3cc7dfc.js";
83
79
  import {
84
80
  guard
85
- } from "./chunk-q5w3v4k1.js";
81
+ } from "./chunk-s8m2tzdr.js";
86
82
  import {
87
83
  currentTimeMillis,
88
84
  WebCrypto,
@@ -109,7 +105,11 @@ import {
109
105
  KitDigest,
110
106
  KitSetup,
111
107
  RunnerRpcError
112
- } from "./chunk-vbv9x6d7.js";
108
+ } from "./chunk-gezjwdpw.js";
109
+ import {
110
+ runForEach,
111
+ FileSystem
112
+ } from "./chunk-y7vjk8vv.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");
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-zw3gf6r5.js";
27
+ } from "./chunk-x3cc7dfc.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-trqvcc06.js";
31
+ } from "./chunk-y7vjk8vv.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-vbv9x6d7.js";
42
+ } from "./chunk-gezjwdpw.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -1,13 +1,6 @@
1
1
  // @bun
2
2
  import {
3
- isString,
4
- hasProperty,
5
- symbol,
6
- hash,
7
- symbol2,
8
- equals,
9
3
  BaseProto,
10
- PipeInspectableProto,
11
4
  Prototype,
12
5
  some,
13
6
  Service2,
@@ -21,8 +14,11 @@ import {
21
14
  andThen2,
22
15
  map8,
23
16
  raceFirst,
24
- scoped
25
- } from "./chunk-zw3gf6r5.js";
17
+ scoped,
18
+ isRedacted,
19
+ make16,
20
+ value
21
+ } from "./chunk-x3cc7dfc.js";
26
22
  import {
27
23
  unwrap,
28
24
  drainFork,
@@ -31,49 +27,7 @@ import {
31
27
  runCollect,
32
28
  runDrain,
33
29
  mkString
34
- } from "./chunk-trqvcc06.js";
35
-
36
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
37
- var redactedRegistry = /* @__PURE__ */ new WeakMap;
38
- var value2 = (self) => {
39
- if (redactedRegistry.has(self)) {
40
- return redactedRegistry.get(self);
41
- } else {
42
- throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
43
- }
44
- };
45
-
46
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
47
- var TypeId = "~effect/Redacted";
48
- var isRedacted = (u) => hasProperty(u, TypeId);
49
- var make = (value, options) => {
50
- const self = Object.create(Proto);
51
- if (options?.label) {
52
- self.label = options.label;
53
- }
54
- redactedRegistry.set(self, value);
55
- return self;
56
- };
57
- var Proto = {
58
- [TypeId]: {
59
- _A: (_) => _
60
- },
61
- label: undefined,
62
- ...PipeInspectableProto,
63
- toJSON() {
64
- return this.toString();
65
- },
66
- toString() {
67
- return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
68
- },
69
- [symbol]() {
70
- return hash(redactedRegistry.get(this));
71
- },
72
- [symbol2](that) {
73
- return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
74
- }
75
- };
76
- var value = value2;
30
+ } from "./chunk-y7vjk8vv.js";
77
31
 
78
32
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
79
33
  function nominal() {
@@ -101,7 +55,7 @@ var HandleProto = {
101
55
  var makeHandle = (params) => Object.setPrototypeOf({
102
56
  ...params
103
57
  }, HandleProto);
104
- var make2 = (spawn) => {
58
+ var make = (spawn) => {
105
59
  const streamString = (command, options) => spawn(command).pipe(map8((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
106
60
  const streamLines = (command, options) => splitLines(streamString(command, options));
107
61
  return ChildProcessSpawner.of({
@@ -222,7 +176,7 @@ var parseTemplate = (texts, values) => {
222
176
  if (word.length === 0)
223
177
  return;
224
178
  const value = word.map(unwrap2).join("");
225
- words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make(value) : value);
179
+ words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make16(value) : value);
226
180
  word = [];
227
181
  plain = true;
228
182
  braceDepth = 0;
@@ -312,23 +266,23 @@ var parseTemplate = (texts, values) => {
312
266
  };
313
267
 
314
268
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/process/ChildProcess.js
315
- var TypeId2 = "~effect/process/ChildProcess";
316
- var Proto2 = {
269
+ var TypeId = "~effect/process/ChildProcess";
270
+ var Proto = {
317
271
  .../* @__PURE__ */ Prototype({
318
272
  label: "Command",
319
273
  evaluate(fiber) {
320
274
  return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
321
275
  }
322
276
  }),
323
- [TypeId2]: TypeId2
277
+ [TypeId]: TypeId
324
278
  };
325
- var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto2), {
279
+ var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto), {
326
280
  _tag: "StandardCommand",
327
281
  command,
328
282
  args,
329
283
  options
330
284
  });
331
- var make3 = function make(...args) {
285
+ var make2 = function make(...args) {
332
286
  if (isTemplateString(args[0])) {
333
287
  const [templates, ...expressions] = args;
334
288
  const [command, cmdArgs] = parseTemplate2(templates, expressions);
@@ -386,4 +340,4 @@ var shellScript = (templates, expressions) => {
386
340
  }
387
341
  return script;
388
342
  };
389
- export { isRedacted, make, value, ExitCode, ProcessId, makeHandle, make2, ChildProcessSpawner, display, make3, parseFdName, fdName };
343
+ export { ExitCode, ProcessId, makeHandle, make, ChildProcessSpawner, display, make2, parseFdName, fdName };
@@ -12,7 +12,7 @@ import {
12
12
  succeed,
13
13
  isSuccess,
14
14
  TaggedError,
15
- make16,
15
+ make15,
16
16
  _await,
17
17
  fail5,
18
18
  succeed5,
@@ -104,7 +104,7 @@ import {
104
104
  decodeJsonString,
105
105
  encodeJsonStringSync,
106
106
  encodePrettyJsonString
107
- } from "./chunk-zw3gf6r5.js";
107
+ } from "./chunk-x3cc7dfc.js";
108
108
  import {
109
109
  tap,
110
110
  mapError,
@@ -116,7 +116,11 @@ import {
116
116
  withDefault,
117
117
  option,
118
118
  String2
119
- } from "./chunk-trqvcc06.js";
119
+ } from "./chunk-y7vjk8vv.js";
120
+ import {
121
+ ChildProcessSpawner,
122
+ make2
123
+ } from "./chunk-892qrkb3.js";
120
124
  import {
121
125
  currentTimeMillis,
122
126
  SecureRandom,
@@ -166,7 +170,7 @@ import {
166
170
  digestSha256,
167
171
  sha256Hasher,
168
172
  raw,
169
- make5,
173
+ make4,
170
174
  get,
171
175
  put,
172
176
  HttpClient,
@@ -228,14 +232,10 @@ import {
228
232
  harnessNames,
229
233
  herdrRunnerCapabilities2,
230
234
  declaredChecks
231
- } from "./chunk-vbv9x6d7.js";
235
+ } from "./chunk-gezjwdpw.js";
232
236
  import {
233
237
  Id
234
- } from "./chunk-q5w3v4k1.js";
235
- import {
236
- ChildProcessSpawner,
237
- make3
238
- } from "./chunk-nfc1scfz.js";
238
+ } from "./chunk-s8m2tzdr.js";
239
239
 
240
240
  // apps/cli/src/cli-error.ts
241
241
  function cliErrorCode(error, status) {
@@ -989,10 +989,10 @@ var sandboxMissing = (sandbox, missing) => ({
989
989
  var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
990
990
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
991
991
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
992
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-9ydwnxh9.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
992
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-n17dr5c1.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
993
993
  });
994
994
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
995
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-9ydwnxh9.js")), (module) => module.updateHerdrCore(options))
995
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-n17dr5c1.js")), (module) => module.updateHerdrCore(options))
996
996
  });
997
997
  var herdrCoreMissing = (error) => {
998
998
  if (isTagged(error, "HerdrCoreMissing"))
@@ -1412,7 +1412,7 @@ var syncTargets = (harness) => gen(function* () {
1412
1412
  });
1413
1413
  var syncKits = (input) => gen(function* () {
1414
1414
  const fs = yield* FileSystem;
1415
- const { syncKitSetup } = yield* promise(() => import("./chunk-r3yamwdd.js"));
1415
+ const { syncKitSetup } = yield* promise(() => import("./chunk-fen5480a.js"));
1416
1416
  const harnesses = yield* syncTargets(input.harness);
1417
1417
  const chain = yield* input.client.getKitChain(input.workspaceId);
1418
1418
  for (const { name, problem } of chain.skipped)
@@ -1929,7 +1929,7 @@ var ServiceManager = Reference("kitman/cli/ServiceManager", {
1929
1929
  run: (command, args) => runCommand2(command, args),
1930
1930
  attach: (command, args) => gen(function* () {
1931
1931
  const spawner = yield* ChildProcessSpawner;
1932
- const handle = yield* spawner.spawn(make3(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
1932
+ const handle = yield* spawner.spawn(make2(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
1933
1933
  const exitCode = yield* handle.exitCode;
1934
1934
  if (exitCode !== 0)
1935
1935
  return yield* new CommandFailed2({ command, reason: `exit code ${exitCode}` });
@@ -2331,7 +2331,7 @@ var package_default = {
2331
2331
  };
2332
2332
 
2333
2333
  // apps/cli/src/scaffold.ts
2334
- var cliVersion = "0.12.4";
2334
+ var cliVersion = "0.12.6";
2335
2335
  var packageJson = (name, scaffold) => `${JSON.stringify({
2336
2336
  name,
2337
2337
  private: true,
@@ -2483,7 +2483,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
2483
2483
 
2484
2484
  // apps/cli/src/commands.ts
2485
2485
  var ClientId = "kitman-cli";
2486
- var agentRuntime = promise(() => import("./chunk-74zwne6t.js"));
2486
+ var agentRuntime = promise(() => import("./chunk-wberffvr.js"));
2487
2487
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
2488
2488
  defaultValue: () => gen(function* () {
2489
2489
  const tui = yield* tryPromise({
@@ -3507,7 +3507,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
3507
3507
  });
3508
3508
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
3509
3509
  defaultValue: () => (options) => gen(function* () {
3510
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-r4a6f4pa.js"));
3510
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-v4wn0tz8.js"));
3511
3511
  return yield* makeRunnerRpcClient({
3512
3512
  runnerId: options.runnerId,
3513
3513
  bearer: options.bearer,
@@ -3787,7 +3787,7 @@ function startCanonicalHerdrRunnerCommand(input) {
3787
3787
  const checkouts = runCheckouts(path.join(runnerRootDir, ".kitman"), rpc.gitCredential);
3788
3788
  yield* controlPlane.client.listRepoBindings(runner.workspaceId).pipe(flatMap3(({ items }) => forEach(items.filter((binding) => binding.status === "active" && (teamId === undefined || binding.teamId === teamId)), (repoBinding) => map8(checkouts.reaches(repoBinding), (reachable) => ({ repoBinding, reachable })), { concurrency: 4 })), tap2((probed) => sync2(() => reached = probed)), catch_((error) => logWarning("runner_repository_probe_failed", error.message)), flatMap3(() => sleep(reached.some((probe) => !probe.reachable) ? repositoryRetryInterval : repositoryProbeInterval)), forever, forkScoped);
3789
3789
  const platform = yield* context();
3790
- const updated = yield* make16();
3790
+ const updated = yield* make15();
3791
3791
  const scope = yield* scope2;
3792
3792
  const startUpdate = (update) => update.pipe(catch_((error) => andThen2(restartOntoUpdate(input.runnerId), fail5(updated, error))), provideContext2(platform), forkIn(scope), asVoid);
3793
3793
  const refusedForProtocol = container ? updater.stopWhenDrained(new RunnerStopped({ problem: updateRequired })).pipe(catch_((stopped) => fail5(updated, stopped)), forkIn(scope), asVoid) : startUpdate(updater.updateRequired);
@@ -4039,7 +4039,7 @@ function mcpCommand(args) {
4039
4039
  if (command.action === "run") {
4040
4040
  if (command.args.length > 0)
4041
4041
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
4042
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-9rvj15vf.js"));
4042
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-jk5fp5cy.js"));
4043
4043
  return yield* runMcpServerCommand({ flags: command.flags });
4044
4044
  }
4045
4045
  if (command.action !== "setup")
@@ -4527,7 +4527,7 @@ function programLoopCommand(command) {
4527
4527
  return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
4528
4528
  });
4529
4529
  }
4530
- var docsModule = promise(() => import("./chunk-gbakhy7m.js"));
4530
+ var docsModule = promise(() => import("./chunk-k3ak93p1.js"));
4531
4531
  function docsCommand(args) {
4532
4532
  return gen(function* () {
4533
4533
  const command = parseCommand(args);
@@ -5361,9 +5361,9 @@ function changeRequestCommand(args) {
5361
5361
  yield* log(command.action === "approve" ? `Approved ${short} of ${changeRequest.title}. A Run waiting on approval of ${short} resumes; one waiting on another head does not.` : `Requested changes to ${short} of ${changeRequest.title}`);
5362
5362
  });
5363
5363
  }
5364
- var KitWriter = map8(promise(() => import("./chunk-j8j7ryjm.js")), (build) => build.writeKit);
5364
+ var KitWriter = map8(promise(() => import("./chunk-dcnn882c.js")), (build) => build.writeKit);
5365
5365
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
5366
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-j8j7ryjm.js")), (build) => build.buildKit(directory))
5366
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-dcnn882c.js")), (build) => build.buildKit(directory))
5367
5367
  });
5368
5368
  var uploadKit = (client, workspaceId, built) => gen(function* () {
5369
5369
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -6140,7 +6140,7 @@ function downloadPresignedAsset(download, outputPath) {
6140
6140
  return gen(function* () {
6141
6141
  const fs = yield* FileSystem;
6142
6142
  const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
6143
- const response = yield* send(make5(download.method)(download.url), failed);
6143
+ const response = yield* send(make4(download.method)(download.url), failed);
6144
6144
  if (response.status < 200 || response.status >= 300)
6145
6145
  return yield* new CliError({ message: `Asset download failed with ${response.status}` });
6146
6146
  const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
@@ -7,10 +7,10 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-bvpczkzf.js";
11
- import"./chunk-nfc1scfz.js";
12
- import"./chunk-trqvcc06.js";
13
- import"./chunk-zw3gf6r5.js";
10
+ } from "./chunk-vkchn89k.js";
11
+ import"./chunk-892qrkb3.js";
12
+ import"./chunk-y7vjk8vv.js";
13
+ import"./chunk-x3cc7dfc.js";
14
14
  export {
15
15
  decoded2 as decoded,
16
16
  decodedOption2 as decodedOption,
@@ -4,9 +4,9 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-y1krmnbv.js";
8
- import"./chunk-q5w3v4k1.js";
9
- import"./chunk-zw3gf6r5.js";
7
+ } from "./chunk-skqn4h13.js";
8
+ import"./chunk-s8m2tzdr.js";
9
+ import"./chunk-x3cc7dfc.js";
10
10
  export {
11
11
  isOpaqueConnectReason2 as isOpaqueConnectReason,
12
12
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -1,12 +1,4 @@
1
1
  // @bun
2
- import {
3
- decodeText,
4
- mkString,
5
- FileSystem,
6
- Path,
7
- withDefault,
8
- String2
9
- } from "./chunk-trqvcc06.js";
10
2
  import {
11
3
  isString,
12
4
  hasProperty,
@@ -40,8 +32,8 @@ import {
40
32
  toCodecJson,
41
33
  Json,
42
34
  encodePrettyJsonString
43
- } from "./chunk-zw3gf6r5.js";
44
- import"./chunk-q5w3v4k1.js";
35
+ } from "./chunk-x3cc7dfc.js";
36
+ import"./chunk-s8m2tzdr.js";
45
37
  import {
46
38
  SecureRandom,
47
39
  layerWebCrypto,
@@ -53,23 +45,31 @@ import {
53
45
  layer4,
54
46
  kitmanMcpServer,
55
47
  RunnerRpcProtocolVersion
56
- } from "./chunk-vbv9x6d7.js";
48
+ } from "./chunk-gezjwdpw.js";
49
+ import {
50
+ decodeText,
51
+ mkString,
52
+ FileSystem,
53
+ Path,
54
+ withDefault,
55
+ String2
56
+ } from "./chunk-y7vjk8vv.js";
57
57
  import {
58
58
  Packument,
59
59
  tarballMatches
60
- } from "./chunk-rs0qassb.js";
61
- import"./chunk-6b91ftp6.js";
60
+ } from "./chunk-7tnm4jef.js";
61
+ import {
62
+ ChildProcessSpawner,
63
+ make2
64
+ } from "./chunk-892qrkb3.js";
65
+ import"./chunk-gtsq369x.js";
62
66
  import {
63
67
  AgentDeclaration,
64
68
  KitDeclarations,
65
69
  describeFlag,
66
70
  Described
67
- } from "./chunk-j373bdw1.js";
68
- import {
69
- ChildProcessSpawner,
70
- make3
71
- } from "./chunk-nfc1scfz.js";
72
- import"./chunk-v1pa2dpe.js";
71
+ } from "./chunk-7ncc3m3n.js";
72
+ import"./chunk-23245qh7.js";
73
73
 
74
74
  // packages/sdk/src/build/index.ts
75
75
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -108,7 +108,7 @@ var ConfigAgents = Record(String4, Struct({
108
108
  }));
109
109
  var run = (command, args, cwd) => gen(function* () {
110
110
  const spawner = yield* ChildProcessSpawner;
111
- const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
111
+ const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
112
112
  const [stdout, stderr, exitCode] = yield* all3([
113
113
  mkString(decodeText(handle.stdout)),
114
114
  mkString(decodeText(handle.stderr)),
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-trqvcc06.js";
18
- import"./chunk-zw3gf6r5.js";
17
+ } from "./chunk-y7vjk8vv.js";
18
+ import"./chunk-x3cc7dfc.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
@@ -1,8 +1,4 @@
1
1
  // @bun
2
- import {
3
- FileSystem,
4
- Path
5
- } from "./chunk-trqvcc06.js";
6
2
  import {
7
3
  isObject,
8
4
  isUint8Array,
@@ -17,23 +13,27 @@ import {
17
13
  isJsonObject,
18
14
  decodeJsonString,
19
15
  encodePrettyJsonString
20
- } from "./chunk-zw3gf6r5.js";
21
- import"./chunk-q5w3v4k1.js";
16
+ } from "./chunk-x3cc7dfc.js";
17
+ import"./chunk-s8m2tzdr.js";
18
+ import {
19
+ FileSystem,
20
+ Path
21
+ } from "./chunk-y7vjk8vv.js";
22
22
  import {
23
23
  tomlTableHeader2,
24
24
  tomlKeyPath2,
25
25
  kitmanSkillEntry,
26
26
  isPathWithin2
27
- } from "./chunk-y1mhc7qd.js";
27
+ } from "./chunk-x5t0c4g4.js";
28
28
  import {
29
29
  instructionsStart,
30
30
  instructionsEnd,
31
31
  renderMcpServer,
32
32
  materializeKitSetup,
33
33
  tomlInline
34
- } from "./chunk-vbv9x6d7.js";
35
- import"./chunk-rs0qassb.js";
36
- import"./chunk-nfc1scfz.js";
34
+ } from "./chunk-gezjwdpw.js";
35
+ import"./chunk-892qrkb3.js";
36
+ import"./chunk-7tnm4jef.js";
37
37
 
38
38
  // packages/agent-runtime/src/kit-setup-sync.ts
39
39
  class KitSyncError extends TaggedError("KitSyncError") {