@kitman-sh/cli 0.35.0 → 0.36.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-t9dmwy8x.js → chunk-3t6aayxz.js} +12 -12
  2. package/dist/{chunk-xc7kg57m.js → chunk-49hz9619.js} +45 -45
  3. package/dist/{chunk-rbpn35g5.js → chunk-4qjfn1sa.js} +1 -1
  4. package/dist/{chunk-znhjs0t6.js → chunk-5kqt4bqp.js} +1 -1
  5. package/dist/{chunk-5e1ndtnp.js → chunk-6bwf81dt.js} +2 -2
  6. package/dist/{chunk-z0gqrc8c.js → chunk-8fyfsajs.js} +17 -17
  7. package/dist/{chunk-ee7ss0df.js → chunk-96bzt4ck.js} +3 -3
  8. package/dist/{chunk-er0e8d8v.js → chunk-9nbqzdqp.js} +60 -14
  9. package/dist/{chunk-n0bp958m.js → chunk-c2ngtf1e.js} +4 -4
  10. package/dist/{chunk-r9x4ehsy.js → chunk-crw9pdwb.js} +6 -6
  11. package/dist/{chunk-64arqv10.js → chunk-dw0v4ke8.js} +9 -9
  12. package/dist/{chunk-t205gnzc.js → chunk-ewf73f4k.js} +17 -17
  13. package/dist/{chunk-c8eg05nh.js → chunk-gnq1ryhx.js} +4 -4
  14. package/dist/{chunk-61dmxexa.js → chunk-h2f26xbd.js} +28 -70
  15. package/dist/{chunk-n01c55f9.js → chunk-pn7egyb2.js} +5 -5
  16. package/dist/{chunk-tsefrrxz.js → chunk-rbj2eant.js} +1 -1
  17. package/dist/{chunk-56gs4z53.js → chunk-s34am3kw.js} +7 -7
  18. package/dist/{chunk-4qrb09w4.js → chunk-samxkpbz.js} +3 -3
  19. package/dist/{chunk-yhat3rhw.js → chunk-t89zj8wf.js} +125 -116
  20. package/dist/{chunk-ke4rajdh.js → chunk-th0znqwv.js} +72 -28
  21. package/dist/{chunk-1hgsf81a.js → chunk-tsx0347c.js} +1 -1
  22. package/dist/{chunk-wkkjyzpx.js → chunk-vwaf8peb.js} +4 -4
  23. package/dist/{chunk-q8e58p57.js → chunk-vz38kngm.js} +2 -2
  24. package/dist/{chunk-nna9pwp0.js → chunk-wab1jevd.js} +60 -48
  25. package/dist/{chunk-y3c9pxez.js → chunk-wckr96wg.js} +7 -7
  26. package/dist/{chunk-qqb6djs7.js → chunk-x29m7k25.js} +2 -2
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -18,7 +18,7 @@ import {
18
18
  isMinLength,
19
19
  isMaxLength,
20
20
  FiniteFromString
21
- } from "./chunk-61dmxexa.js";
21
+ } from "./chunk-h2f26xbd.js";
22
22
 
23
23
  // packages/core/src/schema.ts
24
24
  var Days = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-61dmxexa.js";
6
+ } from "./chunk-h2f26xbd.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -1320,7 +1320,7 @@ Runners execute StepAttempts in user-controlled environments. A runner advertise
1320
1320
  path: "runner-operations#runner-settings",
1321
1321
  level: 3,
1322
1322
  link: "https://kitman.sh/knowledge/docs/runner-operations#runner-settings",
1323
- text: "### Runner settings\n\nKitman keeps how your Runner behaves, so you change it on the Runner's page in the **Runners** tab, or with `kitman runner settings <runner>`, without touching its service. Its owner, or a Workspace admin, may change it; each change is in its History with who made it, when, and the old and new value (`kitman runner settings history <runner>`).\n\n- **Concurrency**: how many Work Units it runs at once, 1 to 32. It applies a change within about 10 seconds, and work in flight finishes first.\n- **Sandbox**: `srt` (the default), `docker` or `host`. New Steps and checks use a change; a running Step keeps its own.\n- **Docker image**: the image `docker` runs agents in, pinned by digest. It applies when the Runner restarts.\n- **Check hosts**: hosts every check this Runner runs, for any Team, may also reach.\n- **Checks' Docker image** and **checks' registry image**: for a pipeline check's own Docker daemon (below), each pinned by digest. They apply when the Runner restarts.\n\n```sh\nkitman runner settings <runner> --concurrency 2 --check-hosts github.com\n```\n\nThe Runner's page shows where what the Runner applies differs from its settings, and why.\n\nA few things stay on your machine, because they start the Runner or protect it: the Runner's id, the API URL and its credential, `KITMAN_RUNNER_FULL_ACCESS`, and your consent to run agents with no sandbox, `KITMAN_RUNNER_ALLOW_FULL_ACCESS=1`. Kitman cannot give that consent, so nobody who can change the Runner's settings, nor a compromised control plane, can turn off your machine's sandbox: a Runner set to `host` on a machine without it runs its agents in `srt` and shows the `full_access_refused` Runner Problem. A Runner set to `host` on a machine with it runs agents that use your own `kitman` login. When Kitman refuses that login, the Runner shows the `cli_session_expired` Runner Problem: run `kitman login` on the machine.\n\nBefore Kitman kept these, they were the environment variables `KITMAN_RUNNER_CONCURRENCY`, `KITMAN_RUNNER_SANDBOX`, `KITMAN_RUNNER_DOCKER_IMAGE`, `KITMAN_RUNNER_CHECK_HOSTS`, `KITMAN_RUNNER_CHECK_DOCKER_IMAGE` and `KITMAN_RUNNER_CHECK_REGISTRY_IMAGE`. The first time a Runner starts on a version with settings, Kitman adopts the values they give, once, for each setting nobody has set yet (a shared Runner's sandbox excepted); after that the Runner ignores them and warns at each start that each one still set is deprecated. Remove them from its service when its settings look right. While `KITMAN_RUNNER_SANDBOX=host` stays set, it counts as your consent to run agents on the host."
1323
+ text: "### Runner settings\n\nKitman keeps how your Runner behaves, so you change it on the Runner's page in the **Runners** tab, or with `kitman runner settings <runner>`, without touching its service. Its owner, or a Workspace admin, may change it; each change is in its History with who made it, when, and the old and new value (`kitman runner settings history <runner>`).\n\n- **Concurrency**: how many Work Units it runs at once, 1 to 32. It applies a change within about 10 seconds, and work in flight finishes first.\n- **Verification concurrency**: how many of those may be Verifications, the checks that test a Step's work, 2 by default. It never runs more of them than its concurrency, even when this setting is higher. Its other slots keep taking agent Steps. It caps each Runner process, so a Runner with several replicas runs that many on each.\n- **Sandbox**: `srt` (the default), `docker` or `host`. New Steps and checks use a change; a running Step keeps its own.\n- **Docker image**: the image `docker` runs agents in, pinned by digest. It applies when the Runner restarts.\n- **Check hosts**: hosts every check this Runner runs, for any Team, may also reach.\n- **Checks' Docker image** and **checks' registry image**: for a pipeline check's own Docker daemon (below), each pinned by digest. They apply when the Runner restarts.\n\n```sh\nkitman runner settings <runner> --concurrency 2 --check-hosts github.com\n```\n\nThe Runner's page shows where what the Runner applies differs from its settings, and why.\n\nA few things stay on your machine, because they start the Runner or protect it: the Runner's id, the API URL and its credential, `KITMAN_RUNNER_FULL_ACCESS`, and your consent to run agents with no sandbox, `KITMAN_RUNNER_ALLOW_FULL_ACCESS=1`. Kitman cannot give that consent, so nobody who can change the Runner's settings, nor a compromised control plane, can turn off your machine's sandbox: a Runner set to `host` on a machine without it runs its agents in `srt` and shows the `full_access_refused` Runner Problem. A Runner set to `host` on a machine with it runs agents that use your own `kitman` login. When Kitman refuses that login, the Runner shows the `cli_session_expired` Runner Problem: run `kitman login` on the machine.\n\nBefore Kitman kept these, they were the environment variables `KITMAN_RUNNER_CONCURRENCY`, `KITMAN_RUNNER_SANDBOX`, `KITMAN_RUNNER_DOCKER_IMAGE`, `KITMAN_RUNNER_CHECK_HOSTS`, `KITMAN_RUNNER_CHECK_DOCKER_IMAGE` and `KITMAN_RUNNER_CHECK_REGISTRY_IMAGE`. The first time a Runner starts on a version with settings, Kitman adopts the values they give, once, for each setting nobody has set yet (a shared Runner's sandbox excepted); after that the Runner ignores them and warns at each start that each one still set is deprecated. Remove them from its service when its settings look right. While `KITMAN_RUNNER_SANDBOX=host` stays set, it counts as your consent to run agents on the host."
1324
1324
  },
1325
1325
  {
1326
1326
  title: "Runner Operations Guide \u203A The sandbox",
@@ -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.35.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.36.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) {
@@ -205,7 +205,7 @@ import {
205
205
  String4,
206
206
  toCodecStringTree,
207
207
  encodeUnknownJsonStringSync
208
- } from "./chunk-61dmxexa.js";
208
+ } from "./chunk-h2f26xbd.js";
209
209
 
210
210
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
211
211
  var headUnsafe = (self) => {
@@ -1137,7 +1137,7 @@ var MutableRefProto = {
1137
1137
  };
1138
1138
  }
1139
1139
  };
1140
- var make7 = (value) => {
1140
+ var make8 = (value) => {
1141
1141
  const ref = Object.create(MutableRefProto);
1142
1142
  ref.current = value;
1143
1143
  return ref;
@@ -1298,7 +1298,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1298
1298
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1299
1299
  var TypeId3 = "~effect/PubSub";
1300
1300
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1301
- var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1301
+ var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
1302
1302
  var unbounded = (options) => make5({
1303
1303
  atomicPubSub: () => makeAtomicUnbounded(options),
1304
1304
  strategy: () => new DroppingStrategy
@@ -1393,7 +1393,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1393
1393
  subscribers.delete(subscription);
1394
1394
  }
1395
1395
  };
1396
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1396
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
1397
1397
  class UnboundedPubSub {
1398
1398
  publisherHead = {
1399
1399
  value: AbsentValue,
@@ -1810,7 +1810,7 @@ var QueueProto = {
1810
1810
  };
1811
1811
  }
1812
1812
  };
1813
- var make8 = (options) => withFiber((fiber) => {
1813
+ var make9 = (options) => withFiber((fiber) => {
1814
1814
  const self = Object.create(QueueProto);
1815
1815
  self.dispatcher = fiber.currentDispatcher;
1816
1816
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
@@ -1825,14 +1825,14 @@ var make8 = (options) => withFiber((fiber) => {
1825
1825
  };
1826
1826
  return succeed2(self);
1827
1827
  });
1828
- var bounded = (capacity) => make8({
1828
+ var bounded = (capacity) => make9({
1829
1829
  capacity
1830
1830
  });
1831
- var sliding = (capacity) => make8({
1831
+ var sliding = (capacity) => make9({
1832
1832
  capacity,
1833
1833
  strategy: "sliding"
1834
1834
  });
1835
- var unbounded2 = () => make8();
1835
+ var unbounded2 = () => make9();
1836
1836
  var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
1837
1837
  var offerUnsafe = (self, message) => {
1838
1838
  if (self.state._tag !== "Open") {
@@ -2258,7 +2258,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
2258
2258
  return onError(pull, onCause);
2259
2259
  }));
2260
2260
  var toTransform = (channel) => channel.transform;
2261
- var asyncQueue = (scope, f, options) => make8({
2261
+ var asyncQueue = (scope, f, options) => make9({
2262
2262
  capacity: options?.bufferSize,
2263
2263
  strategy: options?.strategy
2264
2264
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
@@ -2299,7 +2299,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
2299
2299
  }));
2300
2300
  var readableStreamToPullUnsafe = (options) => {
2301
2301
  const reader = options.readable.getReader();
2302
- const exit = options.exit ?? make7(undefined);
2302
+ const exit = options.exit ?? make8(undefined);
2303
2303
  const pull = suspend3(() => {
2304
2304
  if (exit.current)
2305
2305
  return exit.current;
@@ -2960,7 +2960,7 @@ var release = (self, state) => {
2960
2960
  };
2961
2961
 
2962
2962
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2963
- var make9 = make6;
2963
+ var make10 = make6;
2964
2964
  var get3 = get2;
2965
2965
 
2966
2966
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
@@ -2972,7 +2972,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
2972
2972
  var toChannel2 = (stream) => stream.channel;
2973
2973
  var callback = (f, options) => fromChannel2(callbackArray(f, options));
2974
2974
  var empty2 = /* @__PURE__ */ fromChannel2(empty);
2975
- var make10 = (...values) => fromArray2(values);
2975
+ var make11 = (...values) => fromArray2(values);
2976
2976
  var suspend = (stream) => {
2977
2977
  const suspended = fromChannel2(suspend4(() => stream().channel));
2978
2978
  suspendedStreams.set(suspended, stream);
@@ -3173,7 +3173,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
3173
3173
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
3174
3174
  var TypeId10 = "~effect/FileSystem";
3175
3175
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3176
- var make11 = (impl) => FileSystem.of({
3176
+ var make12 = (impl) => FileSystem.of({
3177
3177
  ...impl,
3178
3178
  [TypeId10]: TypeId10,
3179
3179
  glob: make2(impl),
@@ -3233,7 +3233,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3233
3233
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3234
3234
  var TypeId11 = "~effect/Path";
3235
3235
  var Path = /* @__PURE__ */ Service2("effect/Path");
3236
- var make12 = (impl) => Path.of({
3236
+ var make13 = (impl) => Path.of({
3237
3237
  ...impl,
3238
3238
  [TypeId11]: TypeId11,
3239
3239
  resolveWithin(root, input) {
@@ -3308,7 +3308,7 @@ function makeProvider(load, mapInput) {
3308
3308
  function makeSource(get, transform) {
3309
3309
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3310
3310
  }
3311
- function make13(get) {
3311
+ function make7(get) {
3312
3312
  return makeSource(get, identityPath);
3313
3313
  }
3314
3314
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3317,7 +3317,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3317
3317
  function fromEnvRecord(env, options) {
3318
3318
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3319
3319
  const trie = buildEnvTrie(env);
3320
- return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3320
+ return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3321
3321
  }
3322
3322
  function fromEnv(options) {
3323
3323
  const env = options?.env ?? {
@@ -3649,4 +3649,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3649
3649
  ...argv
3650
3650
  ];
3651
3651
 
3652
- export { map, makeEquivalence, Clock, currentTimeMillis, 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, take2, mapAccum, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, toPull, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make11, FileTypeId, WatchBackend, Path, make12, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3652
+ export { map, makeEquivalence, Clock, currentTimeMillis, 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, take2, mapAccum, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, toPull, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-61dmxexa.js";
27
+ } from "./chunk-h2f26xbd.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-z0gqrc8c.js";
31
+ } from "./chunk-8fyfsajs.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-yhat3rhw.js";
42
+ } from "./chunk-t89zj8wf.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -1,6 +1,13 @@
1
1
  // @bun
2
2
  import {
3
+ isString,
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
  map9,
16
23
  raceFirst,
17
- scoped,
18
- isRedacted,
19
- make16,
20
- value
21
- } from "./chunk-61dmxexa.js";
24
+ scoped
25
+ } from "./chunk-h2f26xbd.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-z0gqrc8c.js";
34
+ } from "./chunk-8fyfsajs.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;
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(map9((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 };
@@ -25,21 +25,21 @@ import {
25
25
  isString2,
26
26
  encodePrettyJsonString,
27
27
  decodeJsonStringSync
28
- } from "./chunk-61dmxexa.js";
28
+ } from "./chunk-h2f26xbd.js";
29
29
  import {
30
30
  FileSystem,
31
31
  Path,
32
32
  optionalEnv,
33
33
  tempDirectoryScoped
34
- } from "./chunk-z0gqrc8c.js";
34
+ } from "./chunk-8fyfsajs.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-yhat3rhw.js";
39
+ } from "./chunk-t89zj8wf.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-ee7ss0df.js";
42
+ } from "./chunk-96bzt4ck.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-64arqv10.js";
8
- import"./chunk-t205gnzc.js";
9
- import"./chunk-yhat3rhw.js";
10
- import"./chunk-rbpn35g5.js";
11
- import"./chunk-z0gqrc8c.js";
12
- import"./chunk-61dmxexa.js";
7
+ } from "./chunk-dw0v4ke8.js";
8
+ import"./chunk-ewf73f4k.js";
9
+ import"./chunk-t89zj8wf.js";
10
+ import"./chunk-4qjfn1sa.js";
11
+ import"./chunk-8fyfsajs.js";
12
+ import"./chunk-h2f26xbd.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -6,10 +6,7 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-61dmxexa.js";
10
- import {
11
- runForEach
12
- } from "./chunk-z0gqrc8c.js";
9
+ } from "./chunk-h2f26xbd.js";
13
10
  import {
14
11
  WebSocketConstructor,
15
12
  layerWebSocketConstructorGlobal,
@@ -19,13 +16,16 @@ import {
19
16
  RunnerReplicaRpcs,
20
17
  RunnerRunFileRpcs,
21
18
  ProgramRpcs
22
- } from "./chunk-yhat3rhw.js";
19
+ } from "./chunk-t89zj8wf.js";
20
+ import {
21
+ runForEach
22
+ } from "./chunk-8fyfsajs.js";
23
23
  import {
24
24
  layerJson,
25
- make3,
25
+ make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-t205gnzc.js";
28
+ } from "./chunk-ewf73f4k.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)),
@@ -96,20 +96,7 @@ import {
96
96
  Defect,
97
97
  Exit,
98
98
  toCodecJson
99
- } from "./chunk-61dmxexa.js";
100
- import {
101
- Clock,
102
- interrupt,
103
- getCurrent,
104
- makeUnsafe2,
105
- bounded,
106
- offerAll,
107
- failCause,
108
- end,
109
- shutdownUnsafe,
110
- fromQueue,
111
- unwrap
112
- } from "./chunk-z0gqrc8c.js";
99
+ } from "./chunk-h2f26xbd.js";
113
100
  import {
114
101
  empty,
115
102
  fromInput,
@@ -123,7 +110,20 @@ import {
123
110
  ParseOptions,
124
111
  RpcClientDefect,
125
112
  RpcClientError
126
- } from "./chunk-yhat3rhw.js";
113
+ } from "./chunk-t89zj8wf.js";
114
+ import {
115
+ Clock,
116
+ interrupt,
117
+ getCurrent,
118
+ makeUnsafe2,
119
+ bounded,
120
+ offerAll,
121
+ failCause,
122
+ end,
123
+ shutdownUnsafe,
124
+ fromQueue,
125
+ unwrap
126
+ } from "./chunk-8fyfsajs.js";
127
127
 
128
128
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
129
129
  class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
@@ -483,7 +483,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
483
483
  };
484
484
  });
485
485
  var clientIdCounter = 0;
486
- var make3 = /* @__PURE__ */ fnUntraced(function* (group, options) {
486
+ var make4 = /* @__PURE__ */ fnUntraced(function* (group, options) {
487
487
  const clientId = clientIdCounter++;
488
488
  const {
489
489
  codecFor,
@@ -829,4 +829,4 @@ var layerProtocolSocket = (options) => effect(Protocol)(makeProtocolSocket(optio
829
829
  class ConnectionHooks extends (/* @__PURE__ */ Service2()("effect/rpc/RpcClient/ConnectionHooks")) {
830
830
  }
831
831
 
832
- export { layerJson, make3, withHeaders, layerProtocolSocket, ConnectionHooks };
832
+ export { layerJson, make4, withHeaders, layerProtocolSocket, ConnectionHooks };
@@ -9,10 +9,10 @@ import {
9
9
  readOpencode2,
10
10
  databaseStamp2,
11
11
  runOpencodeReader2
12
- } from "./chunk-56gs4z53.js";
13
- import"./chunk-er0e8d8v.js";
14
- import"./chunk-z0gqrc8c.js";
15
- import"./chunk-61dmxexa.js";
12
+ } from "./chunk-s34am3kw.js";
13
+ import"./chunk-9nbqzdqp.js";
14
+ import"./chunk-8fyfsajs.js";
15
+ import"./chunk-h2f26xbd.js";
16
16
  export {
17
17
  databaseStamp2 as databaseStamp,
18
18
  decoded2 as decoded,