@kitman-sh/cli 0.30.0 → 0.31.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-js64y97w.js → chunk-2sazk478.js} +4 -4
  2. package/dist/{chunk-msn6rrx9.js → chunk-38drrdzp.js} +4 -4
  3. package/dist/{chunk-cehbrs1y.js → chunk-5qrjf4xq.js} +5 -5
  4. package/dist/{chunk-samxkpbz.js → chunk-9a6wbk11.js} +3 -3
  5. package/dist/{chunk-sw0dadq5.js → chunk-9vqkjkya.js} +1 -1
  6. package/dist/{chunk-yr7np5eb.js → chunk-9yvknsnj.js} +3 -3
  7. package/dist/{chunk-39kjyh2y.js → chunk-emw9ragp.js} +21 -21
  8. package/dist/{chunk-d4h1p51s.js → chunk-fjdp3rd6.js} +24 -24
  9. package/dist/{chunk-my92qn4x.js → chunk-kx8rpa62.js} +10 -10
  10. package/dist/{chunk-5kqt4bqp.js → chunk-m1qp6swh.js} +1 -1
  11. package/dist/{chunk-3xg9zbmy.js → chunk-njgay1ed.js} +9 -9
  12. package/dist/{chunk-chxtmsns.js → chunk-nk0ew12p.js} +152 -109
  13. package/dist/{chunk-7j1kf6sa.js → chunk-nndgeync.js} +6 -6
  14. package/dist/{chunk-tsx0347c.js → chunk-pd3azxev.js} +1 -1
  15. package/dist/{chunk-wtea9nbk.js → chunk-qb11yda6.js} +24 -24
  16. package/dist/{chunk-bv4gcq1h.js → chunk-qbrkeg49.js} +7 -7
  17. package/dist/{chunk-1j38xtvp.js → chunk-qjxgew0k.js} +2 -2
  18. package/dist/{chunk-4qjfn1sa.js → chunk-r2kzvdrg.js} +1 -1
  19. package/dist/{chunk-yaa3gkpx.js → chunk-s4r49vbj.js} +9 -9
  20. package/dist/{chunk-gap0vmj7.js → chunk-vh2a72d1.js} +14 -60
  21. package/dist/{chunk-r7m32p2j.js → chunk-vwynec02.js} +1 -1
  22. package/dist/{chunk-0mg7k9b4.js → chunk-xxcxramy.js} +117 -118
  23. package/dist/{chunk-h2f26xbd.js → chunk-y64ssczv.js} +226 -40
  24. package/dist/{chunk-tbmht2qb.js → chunk-yjc2w86k.js} +10 -10
  25. package/dist/{chunk-63cyj9dh.js → chunk-z59pvcbk.js} +31 -174
  26. package/dist/{chunk-vz38kngm.js → chunk-zy21drtv.js} +2 -2
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -7,10 +7,10 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-my92qn4x.js";
11
- import"./chunk-gap0vmj7.js";
12
- import"./chunk-63cyj9dh.js";
13
- import"./chunk-h2f26xbd.js";
10
+ } from "./chunk-kx8rpa62.js";
11
+ import"./chunk-vh2a72d1.js";
12
+ import"./chunk-z59pvcbk.js";
13
+ import"./chunk-y64ssczv.js";
14
14
  export {
15
15
  decoded2 as decoded,
16
16
  decodedOption2 as decodedOption,
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-gap0vmj7.js";
2
+ import"./chunk-vh2a72d1.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-0mg7k9b4.js";
16
- import"./chunk-63cyj9dh.js";
17
- import"./chunk-h2f26xbd.js";
15
+ } from "./chunk-xxcxramy.js";
16
+ import"./chunk-z59pvcbk.js";
17
+ import"./chunk-y64ssczv.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -96,7 +96,7 @@ import {
96
96
  Defect,
97
97
  Exit,
98
98
  toCodecJson
99
- } from "./chunk-h2f26xbd.js";
99
+ } from "./chunk-y64ssczv.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-63cyj9dh.js";
111
+ } from "./chunk-z59pvcbk.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-0mg7k9b4.js";
126
+ } from "./chunk-xxcxramy.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 };
@@ -4,9 +4,9 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-vz38kngm.js";
8
- import"./chunk-4qjfn1sa.js";
9
- import"./chunk-h2f26xbd.js";
7
+ } from "./chunk-zy21drtv.js";
8
+ import"./chunk-r2kzvdrg.js";
9
+ import"./chunk-y64ssczv.js";
10
10
  export {
11
11
  isOpaqueConnectReason2 as isOpaqueConnectReason,
12
12
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -2211,7 +2211,7 @@ var pathOfLink = (link) => {
2211
2211
  return page === null ? link : page[1] || "index";
2212
2212
  };
2213
2213
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
2214
- var pinnedLink2 = (link, version = "0.30.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2214
+ var pinnedLink2 = (link, version = "0.31.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2215
2215
  var pageOf = (path) => path.split("#")[0];
2216
2216
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
2217
2217
  function excerpt(text, queryTerms) {
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-h2f26xbd.js";
27
+ } from "./chunk-y64ssczv.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-63cyj9dh.js";
31
+ } from "./chunk-z59pvcbk.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-0mg7k9b4.js";
42
+ } from "./chunk-xxcxramy.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -1,12 +1,4 @@
1
1
  // @bun
2
- import {
3
- decodeText,
4
- mkString,
5
- FileSystem,
6
- Path,
7
- withDefault,
8
- String2
9
- } from "./chunk-63cyj9dh.js";
10
2
  import {
11
3
  isString,
12
4
  isObject,
@@ -43,7 +35,7 @@ import {
43
35
  toCodecJson,
44
36
  Json,
45
37
  encodePrettyJsonString
46
- } from "./chunk-h2f26xbd.js";
38
+ } from "./chunk-y64ssczv.js";
47
39
  import {
48
40
  SecureRandom,
49
41
  layerWebCrypto,
@@ -60,26 +52,34 @@ import {
60
52
  KitDeclarations,
61
53
  kitmanMcpServer,
62
54
  RunnerRpcProtocolVersion
63
- } from "./chunk-0mg7k9b4.js";
55
+ } from "./chunk-xxcxramy.js";
56
+ import {
57
+ decodeText,
58
+ mkString,
59
+ FileSystem,
60
+ Path,
61
+ withDefault,
62
+ String2
63
+ } from "./chunk-z59pvcbk.js";
64
64
  import {
65
65
  Packument,
66
66
  tarballMatches
67
- } from "./chunk-yr7np5eb.js";
67
+ } from "./chunk-9yvknsnj.js";
68
+ import {
69
+ ChildProcessSpawner,
70
+ make2
71
+ } from "./chunk-vh2a72d1.js";
68
72
  import {
69
73
  stepDefinedTwice,
70
74
  hostSteps,
71
75
  exports_activities,
72
76
  describeFlag,
73
77
  Described
74
- } from "./chunk-3xg9zbmy.js";
75
- import"./chunk-bv4gcq1h.js";
76
- import"./chunk-tsx0347c.js";
77
- import {
78
- ChildProcessSpawner,
79
- make3
80
- } from "./chunk-gap0vmj7.js";
81
- import"./chunk-cehbrs1y.js";
82
- import"./chunk-4qjfn1sa.js";
78
+ } from "./chunk-njgay1ed.js";
79
+ import"./chunk-qbrkeg49.js";
80
+ import"./chunk-pd3azxev.js";
81
+ import"./chunk-5qrjf4xq.js";
82
+ import"./chunk-r2kzvdrg.js";
83
83
 
84
84
  // packages/sdk/src/build/outline/graph.ts
85
85
  import {
@@ -3891,7 +3891,7 @@ var ConfigAgents = Record(String4, Struct({
3891
3891
  }));
3892
3892
  var run = (command, args, cwd) => gen(function* () {
3893
3893
  const spawner = yield* ChildProcessSpawner;
3894
- const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
3894
+ const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
3895
3895
  const [stdout, stderr, exitCode] = yield* all3([
3896
3896
  mkString(decodeText(handle.stdout)),
3897
3897
  mkString(decodeText(handle.stderr)),
@@ -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,
@@ -108,7 +108,7 @@ import {
108
108
  decodeJsonStringOption,
109
109
  encodeJsonStringSync,
110
110
  encodePrettyJsonString
111
- } from "./chunk-h2f26xbd.js";
111
+ } from "./chunk-y64ssczv.js";
112
112
  import {
113
113
  tap,
114
114
  mapError,
@@ -120,7 +120,11 @@ import {
120
120
  withDefault,
121
121
  option,
122
122
  String2
123
- } from "./chunk-63cyj9dh.js";
123
+ } from "./chunk-z59pvcbk.js";
124
+ import {
125
+ ChildProcessSpawner,
126
+ make2
127
+ } from "./chunk-vh2a72d1.js";
124
128
  import {
125
129
  currentTimeMillis,
126
130
  SecureRandom,
@@ -185,7 +189,7 @@ import {
185
189
  digestSha256,
186
190
  sha256Hasher,
187
191
  raw,
188
- make5,
192
+ make4,
189
193
  get,
190
194
  put,
191
195
  HttpClient,
@@ -251,15 +255,11 @@ import {
251
255
  harnessNames,
252
256
  herdrRunnerCapabilities2,
253
257
  declaredChecks
254
- } from "./chunk-0mg7k9b4.js";
255
- import {
256
- ChildProcessSpawner,
257
- make3
258
- } from "./chunk-gap0vmj7.js";
258
+ } from "./chunk-xxcxramy.js";
259
259
  import {
260
260
  Id,
261
261
  Timestamp
262
- } from "./chunk-4qjfn1sa.js";
262
+ } from "./chunk-r2kzvdrg.js";
263
263
 
264
264
  // apps/cli/src/cli-error.ts
265
265
  function cliErrorCode(error, status) {
@@ -1326,10 +1326,10 @@ var sandboxMissing = (sandbox, missing) => ({
1326
1326
  var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
1327
1327
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
1328
1328
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
1329
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-msn6rrx9.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
1329
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-38drrdzp.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
1330
1330
  });
1331
1331
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
1332
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-msn6rrx9.js")), (module) => module.updateHerdrCore(options))
1332
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-38drrdzp.js")), (module) => module.updateHerdrCore(options))
1333
1333
  });
1334
1334
  var herdrCoreMissing = (error) => {
1335
1335
  if (isTagged(error, "HerdrCoreMissing"))
@@ -1773,7 +1773,7 @@ var syncTargets = (harness) => gen(function* () {
1773
1773
  });
1774
1774
  var syncKits = (input) => gen(function* () {
1775
1775
  const fs = yield* FileSystem;
1776
- const { syncKitSetup } = yield* promise(() => import("./chunk-tbmht2qb.js"));
1776
+ const { syncKitSetup } = yield* promise(() => import("./chunk-yjc2w86k.js"));
1777
1777
  const harnesses = yield* syncTargets(input.harness);
1778
1778
  const chain = yield* input.client.getKitChain(input.workspaceId);
1779
1779
  for (const { name, problem } of chain.skipped)
@@ -2290,7 +2290,7 @@ var ServiceManager = Reference("kitman/cli/ServiceManager", {
2290
2290
  run: (command, args) => runCommand2(command, args),
2291
2291
  attach: (command, args) => gen(function* () {
2292
2292
  const spawner = yield* ChildProcessSpawner;
2293
- const handle = yield* spawner.spawn(make3(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
2293
+ const handle = yield* spawner.spawn(make2(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
2294
2294
  const exitCode = yield* handle.exitCode;
2295
2295
  if (exitCode !== 0)
2296
2296
  return yield* new CommandFailed2({ command, reason: `exit code ${exitCode}` });
@@ -3268,7 +3268,7 @@ var shipped_steps_generated_default = {
3268
3268
  };
3269
3269
 
3270
3270
  // apps/cli/src/scaffold-files.ts
3271
- var cliVersion = "0.30.0";
3271
+ var cliVersion = "0.31.0";
3272
3272
  var shippedLoopSteps = new Map(Object.entries(shipped_steps_generated_default));
3273
3273
  var loopSteps = (loop) => shippedLoopSteps.get(loop) ?? [];
3274
3274
  var replacedStep = (loop) => loopSteps(loop).find((step) => step.from === defaultKitName && step.exported?.startsWith("steps.") === true);
@@ -3533,7 +3533,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
3533
3533
 
3534
3534
  // apps/cli/src/commands.ts
3535
3535
  var ClientId = "kitman-cli";
3536
- var agentRuntime = promise(() => import("./chunk-chxtmsns.js"));
3536
+ var agentRuntime = promise(() => import("./chunk-nk0ew12p.js"));
3537
3537
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
3538
3538
  defaultValue: () => gen(function* () {
3539
3539
  const tui = yield* tryPromise({
@@ -5072,7 +5072,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
5072
5072
  });
5073
5073
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
5074
5074
  defaultValue: () => (options) => gen(function* () {
5075
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-7j1kf6sa.js"));
5075
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-nndgeync.js"));
5076
5076
  return yield* makeRunnerRpcClient({
5077
5077
  runnerId: options.runnerId,
5078
5078
  bearer: options.bearer,
@@ -5387,7 +5387,7 @@ function startCanonicalHerdrRunnerCommand(input) {
5387
5387
  yield* controlPlane.client.listRepoBindings(runner.workspaceId).pipe(flatMap3(({ items }) => forEach(items.filter((binding) => binding.status === "active" && (teamId === undefined || binding.teamId === teamId)), (repoBinding) => map9(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);
5388
5388
  yield* suspend3(() => sleep(ownerLogin.expired() ? ownerLoginRetryInterval : ownerLoginInterval)).pipe(andThen2(checkOwnerLogin), forever, forkScoped);
5389
5389
  const platform = yield* context();
5390
- const updated = yield* make16();
5390
+ const updated = yield* make15();
5391
5391
  const scope = yield* scope2;
5392
5392
  const startUpdate = (update) => update.pipe(catch_((error) => andThen2(restartOntoUpdate(input.runnerId), fail5(updated, error))), provideContext2(platform), forkIn(scope), asVoid);
5393
5393
  const refusedForProtocol = container ? updater.stopWhenDrained(new RunnerStopped({ problem: updateRequired })).pipe(catch_((stopped) => fail5(updated, stopped)), forkIn(scope), asVoid) : startUpdate(updater.updateRequired);
@@ -5648,7 +5648,7 @@ function mcpCommand(args) {
5648
5648
  if (command.action === "run") {
5649
5649
  if (command.args.length > 0)
5650
5650
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
5651
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-wtea9nbk.js"));
5651
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-qb11yda6.js"));
5652
5652
  return yield* runMcpServerCommand({ flags: command.flags });
5653
5653
  }
5654
5654
  if (command.action !== "setup")
@@ -6148,7 +6148,7 @@ function programLoopCommand(command) {
6148
6148
  return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
6149
6149
  });
6150
6150
  }
6151
- var docsModule = promise(() => import("./chunk-r7m32p2j.js"));
6151
+ var docsModule = promise(() => import("./chunk-vwynec02.js"));
6152
6152
  function docsCommand(args) {
6153
6153
  return gen(function* () {
6154
6154
  const command = parseCommand(args);
@@ -7152,7 +7152,7 @@ function changeRequestCommand(args) {
7152
7152
  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}`);
7153
7153
  });
7154
7154
  }
7155
- var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-39kjyh2y.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
7155
+ var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-emw9ragp.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
7156
7156
  var loopOutline = (command) => gen(function* () {
7157
7157
  const path = yield* Path;
7158
7158
  const loop = requiredArg(command, "a Loop id");
@@ -7172,9 +7172,9 @@ var loopOutline = (command) => gen(function* () {
7172
7172
  `).pipe(mapError2((error) => new CliError({ message: error.message })));
7173
7173
  yield* log(`Wrote the outline of ${loop} to ${out}`);
7174
7174
  });
7175
- var KitWriter = map9(promise(() => import("./chunk-39kjyh2y.js")), (build) => build.writeKit);
7175
+ var KitWriter = map9(promise(() => import("./chunk-emw9ragp.js")), (build) => build.writeKit);
7176
7176
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
7177
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-39kjyh2y.js")), (build) => build.buildKit(directory))
7177
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-emw9ragp.js")), (build) => build.buildKit(directory))
7178
7178
  });
7179
7179
  var uploadKit = (client, workspaceId, built) => gen(function* () {
7180
7180
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -7953,7 +7953,7 @@ function downloadPresignedAsset(download, outputPath) {
7953
7953
  return gen(function* () {
7954
7954
  const fs = yield* FileSystem;
7955
7955
  const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
7956
- const response = yield* send(make5(download.method)(download.url), failed);
7956
+ const response = yield* send(make4(download.method)(download.url), failed);
7957
7957
  if (response.status < 200 || response.status >= 300)
7958
7958
  return yield* new CliError({ message: `Asset download failed with ${response.status}` });
7959
7959
  const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
@@ -1,9 +1,4 @@
1
1
  // @bun
2
- import {
3
- make11,
4
- runForEach,
5
- compiled2
6
- } from "./chunk-63cyj9dh.js";
7
2
  import {
8
3
  getOrUndefined,
9
4
  liftThrowable,
@@ -30,11 +25,16 @@ import {
30
25
  isJsonObject,
31
26
  isString2,
32
27
  encodeUnknownJsonStringSync
33
- } from "./chunk-h2f26xbd.js";
28
+ } from "./chunk-y64ssczv.js";
29
+ import {
30
+ make10,
31
+ runForEach,
32
+ compiled2
33
+ } from "./chunk-z59pvcbk.js";
34
34
  import {
35
35
  ChildProcessSpawner,
36
- make3
37
- } from "./chunk-gap0vmj7.js";
36
+ make2
37
+ } from "./chunk-vh2a72d1.js";
38
38
 
39
39
  // packages/agent-runtime/src/opencode-store.ts
40
40
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -172,8 +172,8 @@ 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(make3(command, args, {
176
- stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
175
+ const handle = yield* spawner.spawn(make2(command, args, {
176
+ stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
177
177
  stderr: "ignore",
178
178
  extendEnv: false,
179
179
  env: {},
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-h2f26xbd.js";
6
+ } from "./chunk-y64ssczv.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -138,12 +138,7 @@ import {
138
138
  toJsonSchemaDocument,
139
139
  toCodecJson,
140
140
  Json
141
- } from "./chunk-h2f26xbd.js";
142
- import {
143
- getCurrent,
144
- runForEach,
145
- FileSystem
146
- } from "./chunk-63cyj9dh.js";
141
+ } from "./chunk-y64ssczv.js";
147
142
  import {
148
143
  currentTimeMillis,
149
144
  WebCrypto,
@@ -181,18 +176,23 @@ import {
181
176
  StepManifest,
182
177
  KitSetup,
183
178
  RunnerRpcError
184
- } from "./chunk-0mg7k9b4.js";
179
+ } from "./chunk-xxcxramy.js";
180
+ import {
181
+ getCurrent,
182
+ runForEach,
183
+ FileSystem
184
+ } from "./chunk-z59pvcbk.js";
185
185
  import {
186
186
  splitQuestionOptions,
187
187
  recommendationProblem,
188
188
  questionAdvice
189
- } from "./chunk-tsx0347c.js";
189
+ } from "./chunk-pd3azxev.js";
190
190
  import {
191
191
  guard,
192
192
  Id,
193
193
  Timestamp,
194
194
  ActorType
195
- } from "./chunk-4qjfn1sa.js";
195
+ } from "./chunk-r2kzvdrg.js";
196
196
  var __defProp = Object.defineProperty;
197
197
  var __returnValue = (v) => v;
198
198
  function __exportSetter(name, newValue) {