@kitman-sh/cli 0.10.97 → 0.10.99

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-mrzmq4jq.js → chunk-0a10kdrd.js} +4 -4
  2. package/dist/{chunk-k6ndhjcd.js → chunk-0hjtwtms.js} +50 -25
  3. package/dist/{chunk-nwqcmdtz.js → chunk-0tsc91qr.js} +5 -4
  4. package/dist/{chunk-jtyxjjvs.js → chunk-2fs34341.js} +36 -30
  5. package/dist/{chunk-q4q69zgm.js → chunk-3ka78n56.js} +7 -7
  6. package/dist/{chunk-w0sehmpd.js → chunk-3r7ahnwy.js} +60 -14
  7. package/dist/{chunk-gfe4kk5k.js → chunk-3v70x040.js} +5 -5
  8. package/dist/{chunk-3tjssyvf.js → chunk-4sswz0mn.js} +8 -8
  9. package/dist/{chunk-t8ny8exc.js → chunk-56e202xk.js} +7 -7
  10. package/dist/{chunk-qr0n7rde.js → chunk-6vmpa1nw.js} +12 -12
  11. package/dist/{chunk-c3k32vw4.js → chunk-a244myqw.js} +1 -1
  12. package/dist/{chunk-yzmyy4vs.js → chunk-abf4m4b2.js} +5 -5
  13. package/dist/{chunk-dstm8aen.js → chunk-ampzxrqe.js} +28 -70
  14. package/dist/{chunk-k4fvnphp.js → chunk-bk3dpjxq.js} +1 -1
  15. package/dist/{chunk-mbqeakm1.js → chunk-et6qa95h.js} +1 -1
  16. package/dist/{chunk-hsf2sj69.js → chunk-fv6kgtze.js} +2 -2
  17. package/dist/{chunk-9m9cv82t.js → chunk-g3r5xp0t.js} +2 -2
  18. package/dist/{chunk-y8dzp1t8.js → chunk-k0shg2fb.js} +198 -129
  19. package/dist/{chunk-rmsm8vnc.js → chunk-rdv42ygn.js} +4 -4
  20. package/dist/{chunk-mkr1nwdy.js → chunk-rp224rm4.js} +3 -3
  21. package/dist/{chunk-3snbxcct.js → chunk-rrj434w6.js} +330 -102
  22. package/dist/{chunk-2ndnvcp3.js → chunk-t7ncjd6s.js} +8 -8
  23. package/dist/{chunk-25q7mg6g.js → chunk-vjcn82g3.js} +17 -17
  24. package/dist/{chunk-mxqrv47k.js → chunk-z2f9enrp.js} +5 -5
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -75,10 +75,10 @@ import {
75
75
  toEquivalence,
76
76
  toCodecJson,
77
77
  Json
78
- } from "./chunk-dstm8aen.js";
78
+ } from "./chunk-ampzxrqe.js";
79
79
  import {
80
80
  guard
81
- } from "./chunk-mbqeakm1.js";
81
+ } from "./chunk-et6qa95h.js";
82
82
  import {
83
83
  currentTimeMillis,
84
84
  WebCrypto,
@@ -105,11 +105,11 @@ import {
105
105
  KitDigest,
106
106
  KitSetup,
107
107
  RunnerRpcError
108
- } from "./chunk-y8dzp1t8.js";
108
+ } from "./chunk-k0shg2fb.js";
109
109
  import {
110
110
  runForEach,
111
111
  FileSystem
112
- } from "./chunk-25q7mg6g.js";
112
+ } from "./chunk-vjcn82g3.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");
@@ -758,6 +758,7 @@ var PipelineStatus = Struct({
758
758
  runnerChecks: optionalKey(ArraySchema(String4)),
759
759
  approved: optionalKey(String4),
760
760
  repository: optionalKey(String4),
761
+ sourceBranch: optionalKey(String4),
761
762
  targetBranch: optionalKey(String4),
762
763
  conflicts: optionalKey(Boolean2),
763
764
  needsRebase: optionalKey(Boolean2),
@@ -6,11 +6,12 @@ import {
6
6
  isObject,
7
7
  isJsonObject,
8
8
  isString
9
- } from "./chunk-k4fvnphp.js";
9
+ } from "./chunk-bk3dpjxq.js";
10
10
  import {
11
11
  pipeArguments,
12
12
  dual,
13
13
  identity,
14
+ isFunction2,
14
15
  hasProperty,
15
16
  isTagged,
16
17
  isUint8Array,
@@ -47,7 +48,7 @@ import {
47
48
  isFailure2,
48
49
  hasInterrupts,
49
50
  makeUnsafe5,
50
- make15,
51
+ make16,
51
52
  _await,
52
53
  fail5,
53
54
  isDoneUnsafe,
@@ -167,12 +168,12 @@ import {
167
168
  encodePrettyJsonString,
168
169
  decodeJsonStringSync,
169
170
  encodeUnknownJsonStringSync
170
- } from "./chunk-dstm8aen.js";
171
+ } from "./chunk-ampzxrqe.js";
171
172
  import {
172
173
  Id,
173
174
  secretReference,
174
175
  secretPlaceholder
175
- } from "./chunk-mbqeakm1.js";
176
+ } from "./chunk-et6qa95h.js";
176
177
  import {
177
178
  currentTimeMillis,
178
179
  SecureRandom,
@@ -245,7 +246,7 @@ import {
245
246
  installCommand,
246
247
  checkServicesFile,
247
248
  checkServices
248
- } from "./chunk-y8dzp1t8.js";
249
+ } from "./chunk-k0shg2fb.js";
249
250
  import {
250
251
  join,
251
252
  interrupt,
@@ -254,7 +255,7 @@ import {
254
255
  unbounded2,
255
256
  offer,
256
257
  makeUnsafe3,
257
- make10,
258
+ make11,
258
259
  fromQueue,
259
260
  fromPubSub,
260
261
  map2,
@@ -285,7 +286,7 @@ import {
285
286
  writeSrtSettings2,
286
287
  srtStepArgv2,
287
288
  srtArgv2
288
- } from "./chunk-25q7mg6g.js";
289
+ } from "./chunk-vjcn82g3.js";
289
290
  import {
290
291
  writeAgentEnvironmentConfigFile2,
291
292
  readManifestSkillPaths2,
@@ -301,8 +302,8 @@ import {
301
302
  applyAgentEnvironmentMaterialization2,
302
303
  isPathWithin2,
303
304
  skillIdentity2
304
- } from "./chunk-gfe4kk5k.js";
305
- import"./chunk-mkr1nwdy.js";
305
+ } from "./chunk-3v70x040.js";
306
+ import"./chunk-rp224rm4.js";
306
307
  import {
307
308
  egressAllowed,
308
309
  writeSecretRegistry,
@@ -312,7 +313,7 @@ import {
312
313
  secretFilter2,
313
314
  opaqueTunnelRefusal2,
314
315
  isOpaqueConnectReason2
315
- } from "./chunk-hsf2sj69.js";
316
+ } from "./chunk-fv6kgtze.js";
316
317
  import {
317
318
  sliceBytes2,
318
319
  maxLineBytes2,
@@ -320,23 +321,23 @@ import {
320
321
  decodedOption2,
321
322
  decoded2,
322
323
  readOpencode2
323
- } from "./chunk-2ndnvcp3.js";
324
+ } from "./chunk-t7ncjd6s.js";
324
325
  import {
325
326
  uploadRunFile,
326
327
  programLease,
327
328
  rpcRunFiles,
328
329
  programHostsEnv,
329
330
  undeclaredHostsEnv
330
- } from "./chunk-nwqcmdtz.js";
331
- import"./chunk-t8ny8exc.js";
331
+ } from "./chunk-0tsc91qr.js";
332
+ import"./chunk-56e202xk.js";
332
333
  import {
333
334
  nextInt
334
- } from "./chunk-c3k32vw4.js";
335
+ } from "./chunk-a244myqw.js";
335
336
  import {
336
337
  ChildProcessSpawner,
337
- make2
338
- } from "./chunk-w0sehmpd.js";
339
- import"./chunk-mxqrv47k.js";
338
+ make3
339
+ } from "./chunk-3r7ahnwy.js";
340
+ import"./chunk-z2f9enrp.js";
340
341
 
341
342
  // packages/core/src/sync-kit.ts
342
343
  import { createHash } from "crypto";
@@ -3885,7 +3886,7 @@ var stepProcessesUncontained = (input) => {
3885
3886
  return {
3886
3887
  code: "processes_uncontained",
3887
3888
  message: `Agents run on \`${input.sandbox}\` without a systemd user scope, so a process one starts in a session of its own with a cleared environment outlives its Step unseen.`,
3888
- fix: platform === "linux" ? "Run the Runner where `systemd-run --user --scope true` works, such as after `loginctl enable-linger`, or set `KITMAN_RUNNER_SANDBOX=srt` or `docker`." : "Set `KITMAN_RUNNER_SANDBOX=docker`, or run the Runner on Linux."
3889
+ fix: platform === "linux" ? "Run the Runner where `systemd-run --user --scope true` works, such as after `loginctl enable-linger`, or set the sandbox in the Runner settings to srt or docker." : "Set the Runner's sandbox to docker in its settings, or run the Runner on Linux."
3889
3890
  };
3890
3891
  };
3891
3892
 
@@ -4109,7 +4110,7 @@ var runAttempt = (request, options) => gen(function* () {
4109
4110
  if (harnessesUnsupportedInSrt2.includes(adapter.id))
4110
4111
  return yield* new AgentStepFailure({
4111
4112
  reason: "harness_unsupported_in_sandbox",
4112
- summary: "Codex cannot run in srt yet, because it writes to ~/.codex. Run this Step with another Harness, or set KITMAN_RUNNER_SANDBOX=host on a personal Runner."
4113
+ summary: "Codex cannot run in srt yet, because it writes to ~/.codex. Run this Step with another Harness, or set the sandbox of a personal Runner to host in its settings."
4113
4114
  });
4114
4115
  const sessions = worktreeSessionDirectory(adapter, options.home, workspace);
4115
4116
  const loginValues = yield* inheritedEnvironment2(adapter.loginSecrets ?? []);
@@ -4387,7 +4388,7 @@ var srtMissing = (probe, platform) => gen(function* () {
4387
4388
  });
4388
4389
  var dockerMissing = (probe, image) => map8(probe("docker", ["info"]), (reachable) => [
4389
4390
  ...reachable ? [] : ["the docker daemon is not reachable"],
4390
- ...image === undefined ? ["KITMAN_RUNNER_DOCKER_IMAGE is not set"] : /@sha256:[a-f0-9]{64}$/.test(image) ? [] : ["KITMAN_RUNNER_DOCKER_IMAGE is not pinned by digest (image@sha256:...)"]
4391
+ ...image === undefined ? ["its settings name no Docker image"] : /@sha256:[a-f0-9]{64}$/.test(image) ? [] : ["its Docker image is not pinned by digest (image@sha256:...)"]
4391
4392
  ]);
4392
4393
  var probeSandboxHost = (probe, platform = process.platform, options = {}) => gen(function* () {
4393
4394
  const srt = yield* srtMissing(probe, platform);
@@ -4896,6 +4897,7 @@ function runReplica(control, executor, signals) {
4896
4897
  })), ensuring2(suspend3(() => completed || leaseLost ? void_3 : call("release", () => control.release(work.id, lease, crashed)).pipe(timeout(releaseTimeout), catch_((error) => logWarning("runner_release_failed", error.message))))), ensuring2(control.finished?.() ?? void_3));
4897
4898
  }));
4898
4899
  }
4900
+ var ConcurrencyRecheck = seconds(1);
4899
4901
  var IdleRecheck = seconds(60);
4900
4902
  var idleBackoff = (idleIterations) => millis(Math.min(1000 * 2 ** idleIterations, 30000));
4901
4903
  function superviseReplica(input) {
@@ -4914,10 +4916,14 @@ function superviseReplica(input) {
4914
4916
  return claimed;
4915
4917
  }))
4916
4918
  });
4917
- const runSlot = (capacitySlot) => gen(function* () {
4919
+ const runSlot = (capacitySlot, index) => gen(function* () {
4918
4920
  let idleIterations = 0;
4919
4921
  let woken = true;
4920
4922
  while (true) {
4923
+ if (input.concurrency !== undefined && index >= (yield* input.concurrency)) {
4924
+ yield* sleep(ConcurrencyRecheck);
4925
+ continue;
4926
+ }
4921
4927
  const seen = signals === undefined ? 0 : yield* signals.generation;
4922
4928
  const control = input.control(capacitySlot);
4923
4929
  const exit2 = yield* exit(runReplica(signals !== undefined && woken ? wokenControl(control, signals) : control, input.executor, signals));
@@ -5986,7 +5992,7 @@ var stepAttempt = (input, resending) => (work) => gen(function* () {
5986
5992
  const merge = merging === undefined ? undefined : yield* mergeTarget(worktree, merging);
5987
5993
  const notes = [...work.resumeNotes ?? [], ...merge === undefined ? [] : [merge.note]];
5988
5994
  const configDir = yield* (yield* FileSystem).makeTempDirectoryScoped({ prefix: "kitman-harness-" }).pipe(orDie);
5989
- const backend = work.sandbox ?? input.sandbox;
5995
+ const backend = work.sandbox ?? (isFunction2(input.sandbox) ? input.sandbox(work) : input.sandbox);
5990
5996
  const writableSessions = adapter === undefined ? undefined : worktreeSessionDirectory(adapter, home, worktree);
5991
5997
  if (backend === "srt" && writableSessions !== undefined)
5992
5998
  yield* freshDirectory(writableSessions);
@@ -6383,7 +6389,7 @@ var harnessesInSrt = (input) => gen(function* () {
6383
6389
  missing: [
6384
6390
  `\`${entry.harness} --version\` does not start in srt from any \`${entry.harness}\` on the Runner's PATH`,
6385
6391
  ...entry.candidates.slice(0, 10).map((binary) => `tried ${binary}`.slice(0, 240)),
6386
- "put an install that needs no write to your home directory on the Runner's PATH, or set KITMAN_RUNNER_SANDBOX=host"
6392
+ "put an install that needs no write to your home directory on the Runner's PATH, or set the Runner's sandbox to host in its settings"
6387
6393
  ]
6388
6394
  }))
6389
6395
  ]
@@ -6775,7 +6781,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
6775
6781
  const input = yield* unbounded2();
6776
6782
  const pending = new Map;
6777
6783
  let lastId = 0;
6778
- const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
6784
+ const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
6779
6785
  cwd: env.home,
6780
6786
  extendEnv: true,
6781
6787
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -6798,7 +6804,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
6798
6804
  return {
6799
6805
  request: (method, params) => gen(function* () {
6800
6806
  const id = ++lastId;
6801
- const deferred = yield* make15();
6807
+ const deferred = yield* make16();
6802
6808
  pending.set(id, deferred);
6803
6809
  yield* send({ id, method, params });
6804
6810
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -6938,10 +6944,10 @@ var handshake = [
6938
6944
  `).join("");
6939
6945
  var kitmanMcpPreflight = (mcp) => gen(function* () {
6940
6946
  const spawner = yield* ChildProcessSpawner;
6941
- const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
6947
+ const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
6942
6948
  extendEnv: true,
6943
6949
  env: mcp.env,
6944
- stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
6950
+ stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
6945
6951
  stderr: "ignore"
6946
6952
  }));
6947
6953
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -7014,8 +7020,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
7014
7020
  };
7015
7021
  const exitCode = sandbox === undefined ? yield* gen(function* () {
7016
7022
  const spawner = yield* ChildProcessSpawner;
7017
- const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
7018
- stdin: make10(new TextEncoder().encode(stdin)),
7023
+ const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
7024
+ stdin: make11(new TextEncoder().encode(stdin)),
7019
7025
  stdout: "inherit",
7020
7026
  stderr: "inherit",
7021
7027
  extendEnv: false,
@@ -7336,7 +7342,7 @@ var decodeListeningPort = decodeUnknownEffect2(Struct({ port: Finite }));
7336
7342
  var pipelineDaemon = (services, check) => gen(function* () {
7337
7343
  if (services.docker === undefined)
7338
7344
  return yield* new ServicesUnavailable({
7339
- reason: `The pipeline check ${check} runs with a Docker daemon of its own, and this Runner cannot start one: set KITMAN_RUNNER_CHECK_DOCKER_IMAGE to a docker:*-dind-rootless image and KITMAN_RUNNER_CHECK_REGISTRY_IMAGE to a registry:3 image, each pinned by digest.`
7345
+ reason: `The pipeline check ${check} runs with a Docker daemon of its own, and this Runner cannot start one: set its checkDockerImage setting to a docker:*-dind-rootless image and its checkRegistryImage setting to a registry:3 image, each pinned by digest, then restart it.`
7340
7346
  });
7341
7347
  const fs = yield* FileSystem;
7342
7348
  const started = yield* services.docker({ id: services.id, network: services.network }).pipe(mapError2((error) => new ServicesUnavailable({ reason: error.message })));
@@ -4,13 +4,13 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-t8ny8exc.js";
8
- import"./chunk-mxqrv47k.js";
9
- import"./chunk-y8dzp1t8.js";
10
- import"./chunk-mbqeakm1.js";
11
- import"./chunk-k4fvnphp.js";
12
- import"./chunk-25q7mg6g.js";
13
- import"./chunk-dstm8aen.js";
7
+ } from "./chunk-56e202xk.js";
8
+ import"./chunk-z2f9enrp.js";
9
+ import"./chunk-k0shg2fb.js";
10
+ import"./chunk-et6qa95h.js";
11
+ import"./chunk-bk3dpjxq.js";
12
+ import"./chunk-vjcn82g3.js";
13
+ import"./chunk-ampzxrqe.js";
14
14
  export {
15
15
  makeProgramRpcClient2 as makeProgramRpcClient,
16
16
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -1,6 +1,13 @@
1
1
  // @bun
2
2
  import {
3
+ isString2,
4
+ hasProperty,
5
+ symbol,
6
+ hash,
7
+ symbol2,
8
+ equals,
3
9
  BaseProto,
10
+ PipeInspectableProto,
4
11
  Prototype,
5
12
  some,
6
13
  Service2,
@@ -14,11 +21,8 @@ import {
14
21
  andThen2,
15
22
  map8,
16
23
  raceFirst,
17
- scoped,
18
- isRedacted,
19
- make16,
20
- value
21
- } from "./chunk-dstm8aen.js";
24
+ scoped
25
+ } from "./chunk-ampzxrqe.js";
22
26
  import {
23
27
  unwrap,
24
28
  drainFork,
@@ -27,7 +31,49 @@ import {
27
31
  runCollect,
28
32
  runDrain,
29
33
  mkString
30
- } from "./chunk-25q7mg6g.js";
34
+ } from "./chunk-vjcn82g3.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${isString2(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;
31
77
 
32
78
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
33
79
  function nominal() {
@@ -55,7 +101,7 @@ var HandleProto = {
55
101
  var makeHandle = (params) => Object.setPrototypeOf({
56
102
  ...params
57
103
  }, HandleProto);
58
- var make = (spawn) => {
104
+ var make2 = (spawn) => {
59
105
  const streamString = (command, options) => spawn(command).pipe(map8((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
60
106
  const streamLines = (command, options) => splitLines(streamString(command, options));
61
107
  return ChildProcessSpawner.of({
@@ -176,7 +222,7 @@ var parseTemplate = (texts, values) => {
176
222
  if (word.length === 0)
177
223
  return;
178
224
  const value = word.map(unwrap2).join("");
179
- words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make16(value) : value);
225
+ words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make(value) : value);
180
226
  word = [];
181
227
  plain = true;
182
228
  braceDepth = 0;
@@ -266,23 +312,23 @@ var parseTemplate = (texts, values) => {
266
312
  };
267
313
 
268
314
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/process/ChildProcess.js
269
- var TypeId = "~effect/process/ChildProcess";
270
- var Proto = {
315
+ var TypeId2 = "~effect/process/ChildProcess";
316
+ var Proto2 = {
271
317
  .../* @__PURE__ */ Prototype({
272
318
  label: "Command",
273
319
  evaluate(fiber) {
274
320
  return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
275
321
  }
276
322
  }),
277
- [TypeId]: TypeId
323
+ [TypeId2]: TypeId2
278
324
  };
279
- var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto), {
325
+ var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto2), {
280
326
  _tag: "StandardCommand",
281
327
  command,
282
328
  args,
283
329
  options
284
330
  });
285
- var make2 = function make(...args) {
331
+ var make3 = function make(...args) {
286
332
  if (isTemplateString(args[0])) {
287
333
  const [templates, ...expressions] = args;
288
334
  const [command, cmdArgs] = parseTemplate2(templates, expressions);
@@ -340,4 +386,4 @@ var shellScript = (templates, expressions) => {
340
386
  }
341
387
  return script;
342
388
  };
343
- export { ExitCode, ProcessId, makeHandle, make, ChildProcessSpawner, display, make2, parseFdName, fdName };
389
+ export { isRedacted, make, value, ExitCode, ProcessId, makeHandle, make2, ChildProcessSpawner, display, make3, parseFdName, fdName };
@@ -23,24 +23,24 @@ import {
23
23
  fnUntraced,
24
24
  encodePrettyJsonString,
25
25
  decodeJsonStringSync
26
- } from "./chunk-dstm8aen.js";
26
+ } from "./chunk-ampzxrqe.js";
27
27
  import {
28
28
  isJsonObject,
29
29
  isString
30
- } from "./chunk-k4fvnphp.js";
30
+ } from "./chunk-bk3dpjxq.js";
31
31
  import {
32
32
  FileSystem,
33
33
  Path,
34
34
  optionalEnv
35
- } from "./chunk-25q7mg6g.js";
35
+ } from "./chunk-vjcn82g3.js";
36
36
  import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-y8dzp1t8.js";
40
+ } from "./chunk-k0shg2fb.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-mkr1nwdy.js";
43
+ } from "./chunk-rp224rm4.js";
44
44
 
45
45
  // packages/agent-runtime/src/config-convergence.ts
46
46
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -12,30 +12,30 @@ import {
12
12
  orElseSucceed,
13
13
  decodeJsonString,
14
14
  encodePrettyJsonString
15
- } from "./chunk-dstm8aen.js";
16
- import"./chunk-mbqeakm1.js";
15
+ } from "./chunk-ampzxrqe.js";
16
+ import"./chunk-et6qa95h.js";
17
17
  import {
18
18
  isJsonObject
19
- } from "./chunk-k4fvnphp.js";
19
+ } from "./chunk-bk3dpjxq.js";
20
20
  import {
21
21
  FileSystem,
22
22
  Path
23
- } from "./chunk-25q7mg6g.js";
23
+ } from "./chunk-vjcn82g3.js";
24
24
  import {
25
25
  tomlTableHeader2,
26
26
  tomlKeyPath2,
27
27
  kitmanSkillEntry,
28
28
  isPathWithin2
29
- } from "./chunk-gfe4kk5k.js";
29
+ } from "./chunk-3v70x040.js";
30
30
  import {
31
31
  instructionsStart,
32
32
  instructionsEnd,
33
33
  renderMcpServer,
34
34
  materializeKitSetup,
35
35
  tomlInline
36
- } from "./chunk-y8dzp1t8.js";
37
- import"./chunk-mkr1nwdy.js";
38
- import"./chunk-w0sehmpd.js";
36
+ } from "./chunk-k0shg2fb.js";
37
+ import"./chunk-rp224rm4.js";
38
+ import"./chunk-3r7ahnwy.js";
39
39
 
40
40
  // packages/agent-runtime/src/kit-setup-sync.ts
41
41
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -6,10 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-dstm8aen.js";
9
+ } from "./chunk-ampzxrqe.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-25q7mg6g.js";
12
+ } from "./chunk-vjcn82g3.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-y8dzp1t8.js";
22
+ } from "./chunk-k0shg2fb.js";
23
23
  import {
24
24
  layerJson,
25
- make3,
25
+ make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-mxqrv47k.js";
28
+ } from "./chunk-z2f9enrp.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)),
@@ -32,9 +32,9 @@ import {
32
32
  toCodecJson,
33
33
  Json,
34
34
  encodePrettyJsonString
35
- } from "./chunk-dstm8aen.js";
36
- import"./chunk-mbqeakm1.js";
37
- import"./chunk-k4fvnphp.js";
35
+ } from "./chunk-ampzxrqe.js";
36
+ import"./chunk-et6qa95h.js";
37
+ import"./chunk-bk3dpjxq.js";
38
38
  import {
39
39
  SecureRandom,
40
40
  layerWebCrypto,
@@ -46,7 +46,7 @@ import {
46
46
  layer4,
47
47
  kitmanMcpServer,
48
48
  RunnerRpcProtocolVersion
49
- } from "./chunk-y8dzp1t8.js";
49
+ } from "./chunk-k0shg2fb.js";
50
50
  import {
51
51
  decodeText,
52
52
  mkString,
@@ -54,23 +54,23 @@ import {
54
54
  Path,
55
55
  withDefault,
56
56
  String2
57
- } from "./chunk-25q7mg6g.js";
57
+ } from "./chunk-vjcn82g3.js";
58
58
  import {
59
59
  Packument,
60
60
  tarballMatches
61
- } from "./chunk-mkr1nwdy.js";
62
- import"./chunk-t8ny8exc.js";
61
+ } from "./chunk-rp224rm4.js";
62
+ import"./chunk-56e202xk.js";
63
63
  import {
64
64
  AgentDeclaration,
65
65
  KitDeclarations,
66
66
  describeFlag,
67
67
  Described
68
- } from "./chunk-nwqcmdtz.js";
68
+ } from "./chunk-0tsc91qr.js";
69
69
  import {
70
70
  ChildProcessSpawner,
71
- make2
72
- } from "./chunk-w0sehmpd.js";
73
- import"./chunk-mxqrv47k.js";
71
+ make3
72
+ } from "./chunk-3r7ahnwy.js";
73
+ import"./chunk-z2f9enrp.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(make2(command, args, { cwd, stdin: "ignore" }));
112
+ const handle = yield* spawner.spawn(make3(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)),
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-dstm8aen.js";
6
+ } from "./chunk-ampzxrqe.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -7,11 +7,11 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-2ndnvcp3.js";
11
- import"./chunk-w0sehmpd.js";
12
- import"./chunk-k4fvnphp.js";
13
- import"./chunk-25q7mg6g.js";
14
- import"./chunk-dstm8aen.js";
10
+ } from "./chunk-t7ncjd6s.js";
11
+ import"./chunk-3r7ahnwy.js";
12
+ import"./chunk-bk3dpjxq.js";
13
+ import"./chunk-vjcn82g3.js";
14
+ import"./chunk-ampzxrqe.js";
15
15
  export {
16
16
  decoded2 as decoded,
17
17
  decodedOption2 as decodedOption,