@kitman-sh/cli 0.13.13 → 0.13.14

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-3z0wep73.js → chunk-06dwvzv0.js} +63 -63
  2. package/dist/{chunk-gq7y5v3e.js → chunk-24h0y27w.js} +1 -1
  3. package/dist/{chunk-pvza175a.js → chunk-3vbs995s.js} +115 -118
  4. package/dist/{chunk-nve4pjqm.js → chunk-4142qeg3.js} +3 -3
  5. package/dist/{chunk-7hf2d50x.js → chunk-5ba08a9e.js} +18 -18
  6. package/dist/{chunk-ga76znz9.js → chunk-5mxvqg32.js} +10 -10
  7. package/dist/{chunk-vbygjtdw.js → chunk-6agcvxbj.js} +10 -10
  8. package/dist/{chunk-b5abe9c7.js → chunk-89rpg6j9.js} +73 -73
  9. package/dist/{chunk-82w8rmkc.js → chunk-8xpdkxr7.js} +14 -60
  10. package/dist/{chunk-fc2bhh5v.js → chunk-aa30tt6t.js} +2 -2
  11. package/dist/{chunk-6kz6qa2h.js → chunk-d4kmyv5h.js} +4 -4
  12. package/dist/{chunk-s364dren.js → chunk-dwxqp8ez.js} +7 -7
  13. package/dist/{chunk-jwr0rr2p.js → chunk-ef3nzqng.js} +3 -3
  14. package/dist/{chunk-j2aw5bss.js → chunk-fk5238tn.js} +4 -4
  15. package/dist/{chunk-y1krmnbv.js → chunk-ggmwpwhf.js} +2 -2
  16. package/dist/{chunk-nf9gdnsf.js → chunk-hgfphycc.js} +26 -17
  17. package/dist/{chunk-cxc8d0r3.js → chunk-hmt2egsx.js} +6 -6
  18. package/dist/{chunk-wh6eeetn.js → chunk-hw9fcfs0.js} +9 -9
  19. package/dist/{chunk-gy9rf14f.js → chunk-mmd7mjv0.js} +3 -3
  20. package/dist/{chunk-q5w3v4k1.js → chunk-pxvd8w2v.js} +1 -1
  21. package/dist/{chunk-ptn9g4wd.js → chunk-st8ggqv1.js} +21 -21
  22. package/dist/{chunk-4yzdyte6.js → chunk-vjsqg4a5.js} +9 -8
  23. package/dist/{chunk-7jege23c.js → chunk-vmww6hnk.js} +5 -5
  24. package/dist/{chunk-9rez0yze.js → chunk-zencwg2t.js} +1 -1
  25. package/dist/{chunk-zw3gf6r5.js → chunk-zgraq2y3.js} +70 -28
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -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-zgraq2y3.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-nf9gdnsf.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-hgfphycc.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 };
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-nf9gdnsf.js";
18
- import"./chunk-zw3gf6r5.js";
17
+ } from "./chunk-hgfphycc.js";
18
+ import"./chunk-zgraq2y3.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
@@ -7,10 +7,10 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-ga76znz9.js";
11
- import"./chunk-82w8rmkc.js";
12
- import"./chunk-nf9gdnsf.js";
13
- import"./chunk-zw3gf6r5.js";
10
+ } from "./chunk-5mxvqg32.js";
11
+ import"./chunk-8xpdkxr7.js";
12
+ import"./chunk-hgfphycc.js";
13
+ import"./chunk-zgraq2y3.js";
14
14
  export {
15
15
  decoded2 as decoded,
16
16
  decodedOption2 as decodedOption,
@@ -6,10 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-zw3gf6r5.js";
9
+ } from "./chunk-zgraq2y3.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-nf9gdnsf.js";
12
+ } from "./chunk-hgfphycc.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-pvza175a.js";
22
+ } from "./chunk-3vbs995s.js";
23
23
  import {
24
24
  layerJson,
25
- make4,
25
+ make3,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-7jege23c.js";
28
+ } from "./chunk-vmww6hnk.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* make4(RunnerProcessRpcs).pipe(provideContext2(protocol));
49
+ const client = yield* make3(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* make4(ProgramRpcs).pipe(provideContext2(protocol));
77
+ const client = yield* make3(ProgramRpcs).pipe(provideContext2(protocol));
78
78
  const authorized = authorizer(options);
79
79
  return {
80
80
  recordActivity: (input) => authorized(client.RecordActivity(input)),
@@ -624,7 +624,7 @@ Turning a start off stops new Runs from it. Runs it already started go on. \`kit
624
624
  path: "loop-operations#agents-and-effort",
625
625
  level: 2,
626
626
  link: "https://kitman.sh/knowledge/docs/loop-operations#agents-and-effort",
627
- text: "## Agents and effort\n\nKitman ships the Agents `implementer`, `reviewer`, `plan-reviewer`, `planner`, `releaser`, `investigator` and `judge`. The `reviewer` runs on Pi with GPT-6.2 Sol, then Claude Opus at `medium` effort; the `plan-reviewer` runs on the same, with Opus at `high` effort; and the `planner` runs on Claude Fable 5.2 at `high` effort. The others name no model, so a Step runs on whatever model the Runner's harness is logged in to. A Workspace or Team overrides one, such as its harness, model or effort, by declaring an Agent of the same id that extends it, in a Kit it deploys. Each declaration is a layer over the Agent it extends:\n\n```ts\nexport default defineKit({\n agents: {\n reviewer: {\n extends: 'reviewer',\n instructions: `## House rules\nNever approve a migration that edits a released one.`,\n effort: 'high'\n }\n }\n})\n```\n\nA declared Agent replaces only the fields it names. Its instructions merge by `## ` heading:\n\n- A section it names replaces the parent's section with that heading.\n- A new heading is appended.\n- Any text before its first heading replaces the parent's.\n\nAn Agent can list fallbacks for a Runner that does not offer its Harness:\n\n```ts\nexport default defineKit({\n agents: {\n reviewer: {\n extends: 'reviewer',\n harness: 'claude',\n effort: 'high',\n fallbacks: [\n { harness: 'codex', model: 'gpt-5.5' },\n { harness: 'pi', effort: 'medium' }\n ]\n }\n }\n})\n```\n\nA Step launches the first choice the claiming Runner offers, and the Run page's Step view shows the choices it skipped and why. A fallback with no effort runs at the Agent's effort, and one with no model runs on the Harness's own model. An Agent that extends another inherits its fallbacks; naming `fallbacks` replaces them, and `fallbacks: []` clears them.\n\nEffort (`low`, `medium`, `high` or `xhigh`) is recorded on each StepAttempt. `kitman agent list --team <team>` shows each Agent merged as that Team's Runs resolve it, with the layer each field came from, so a Team Kit's override reads `claude (team)`. Without `--team` it uses the active Team, or only the workspace layer when there is none, and its first line says which."
627
+ text: "## Agents and effort\n\nKitman ships the Agents `implementer`, `planned-implementer`, `reviewer`, `plan-reviewer`, `planner`, `releaser`, `investigator` and `judge`. The `reviewer` runs on Pi with GPT-6.2 Sol, then Claude Opus at `medium` effort; the `plan-reviewer` runs on the same, with Opus at `high` effort; and the `planner` runs on Claude Fable 5.2 at `high` effort. The `planned-implementer` extends `implementer` at `low` effort: Build runs it for the first implementation of a Task that plan review passed, and `implementer` at `medium` for everything else. The others name no model, so a Step runs on whatever model the Runner's harness is logged in to. A Workspace or Team overrides one, such as its harness, model or effort, by declaring an Agent of the same id that extends it, in a Kit it deploys. Each declaration is a layer over the Agent it extends:\n\n```ts\nexport default defineKit({\n agents: {\n reviewer: {\n extends: 'reviewer',\n instructions: `## House rules\nNever approve a migration that edits a released one.`,\n effort: 'high'\n }\n }\n})\n```\n\nA declared Agent replaces only the fields it names. Its instructions merge by `## ` heading:\n\n- A section it names replaces the parent's section with that heading.\n- A new heading is appended.\n- Any text before its first heading replaces the parent's.\n\nAn Agent can list fallbacks for a Runner that does not offer its Harness:\n\n```ts\nexport default defineKit({\n agents: {\n reviewer: {\n extends: 'reviewer',\n harness: 'claude',\n effort: 'high',\n fallbacks: [\n { harness: 'codex', model: 'gpt-5.5' },\n { harness: 'pi', effort: 'medium' }\n ]\n }\n }\n})\n```\n\nA Step launches the first choice the claiming Runner offers, and the Run page's Step view shows the choices it skipped and why. A fallback with no effort runs at the Agent's effort, and one with no model runs on the Harness's own model. An Agent that extends another inherits its fallbacks; naming `fallbacks` replaces them, and `fallbacks: []` clears them.\n\nEffort (`low`, `medium`, `high` or `xhigh`) is recorded on each StepAttempt. `kitman agent list --team <team>` shows each Agent merged as that Team's Runs resolve it, with the layer each field came from, so a Team Kit's override reads `claude (team)`. Without `--team` it uses the active Team, or only the workspace layer when there is none, and its first line says which."
628
628
  },
629
629
  {
630
630
  title: "Projects and Saved Views",
@@ -881,7 +881,7 @@ await kitman.runs.start({
881
881
 
882
882
  From a terminal, pass the same Input to \`kitman run start file-tasks --input '<json>'\`. Add \`projectId\` to the Input to file them in a Project, and \`repoBindingId\` when they change another repository than the Team's default: the review reads it, and each Task is filed for it. A ticket that changes another repository than that names its own \`repoBindingId\`. Each ticket needs a \`promise\` and an \`outOfScope\` list, which may be empty.
883
883
 
884
- When the plan review has concerns, File Tasks files none of the tickets. The Run completes with an Output whose \`concerns\` each name a \`ticket\` and what is wrong with it. Revise the tickets and start File Tasks again with all of them. With no concerns, \`concerns\` is empty and \`tasks\` gives each ticket's Task.
884
+ When the plan review has concerns, File Tasks files none of the tickets. The Run completes with an Output whose \`concerns\` each name a \`ticket\` and what is wrong with it. Revise the tickets and start File Tasks again with all of them. With no concerns, \`concerns\` is empty and \`tasks\` gives each ticket's Task, which records that plan review passed it.
885
885
 
886
886
  In a Plan Run, write the tickets in the plan: Plan files them.`
887
887
  },
@@ -1555,7 +1555,7 @@ var pathOfLink = (link) => {
1555
1555
  return page === null ? link : page[1] || "index";
1556
1556
  };
1557
1557
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
1558
- var pinnedLink2 = (link, version = "0.13.13") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1558
+ var pinnedLink2 = (link, version = "0.13.14") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1559
1559
  var pageOf = (path) => path.split("#")[0];
1560
1560
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
1561
1561
  function excerpt(text, queryTerms) {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-82w8rmkc.js";
2
+ import"./chunk-8xpdkxr7.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-pvza175a.js";
16
- import"./chunk-nf9gdnsf.js";
17
- import"./chunk-zw3gf6r5.js";
15
+ } from "./chunk-3vbs995s.js";
16
+ import"./chunk-hgfphycc.js";
17
+ import"./chunk-zgraq2y3.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -13,11 +13,11 @@ import {
13
13
  ArraySchema,
14
14
  decodeJsonStringOption,
15
15
  encodeUnknownJsonStringSync
16
- } from "./chunk-zw3gf6r5.js";
16
+ } from "./chunk-zgraq2y3.js";
17
17
  import {
18
18
  replaceSecretReferences,
19
19
  secretReferencesIn
20
- } from "./chunk-q5w3v4k1.js";
20
+ } from "./chunk-pxvd8w2v.js";
21
21
 
22
22
  // packages/agent-runtime/src/srt-step.ts
23
23
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
@@ -201,7 +201,7 @@ import {
201
201
  String4,
202
202
  toCodecStringTree,
203
203
  encodeUnknownJsonStringSync
204
- } from "./chunk-zw3gf6r5.js";
204
+ } from "./chunk-zgraq2y3.js";
205
205
 
206
206
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
207
207
  var headUnsafe = (self) => {
@@ -250,6 +250,15 @@ var makeEquivalence = (equivalence) => {
250
250
  return (self, that) => is(self, that) && is(that, self);
251
251
  };
252
252
 
253
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
254
+ var BigInt2 = globalThis.BigInt;
255
+ var toNumber = (b) => {
256
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
257
+ return none();
258
+ }
259
+ return some(Number(b));
260
+ };
261
+
253
262
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
254
263
  var bigint0 = /* @__PURE__ */ BigInt(0);
255
264
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -1129,7 +1138,7 @@ var MutableRefProto = {
1129
1138
  };
1130
1139
  }
1131
1140
  };
1132
- var make8 = (value) => {
1141
+ var make7 = (value) => {
1133
1142
  const ref = Object.create(MutableRefProto);
1134
1143
  ref.current = value;
1135
1144
  return ref;
@@ -1290,7 +1299,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1290
1299
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1291
1300
  var TypeId3 = "~effect/PubSub";
1292
1301
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1293
- var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
1302
+ var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1294
1303
  var unbounded = (options) => make5({
1295
1304
  atomicPubSub: () => makeAtomicUnbounded(options),
1296
1305
  strategy: () => new DroppingStrategy
@@ -1385,7 +1394,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1385
1394
  subscribers.delete(subscription);
1386
1395
  }
1387
1396
  };
1388
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
1397
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1389
1398
  class UnboundedPubSub {
1390
1399
  publisherHead = {
1391
1400
  value: AbsentValue,
@@ -1802,7 +1811,7 @@ var QueueProto = {
1802
1811
  };
1803
1812
  }
1804
1813
  };
1805
- var make9 = (options) => withFiber((fiber) => {
1814
+ var make8 = (options) => withFiber((fiber) => {
1806
1815
  const self = Object.create(QueueProto);
1807
1816
  self.dispatcher = fiber.currentDispatcher;
1808
1817
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
@@ -1817,14 +1826,14 @@ var make9 = (options) => withFiber((fiber) => {
1817
1826
  };
1818
1827
  return succeed2(self);
1819
1828
  });
1820
- var bounded = (capacity) => make9({
1829
+ var bounded = (capacity) => make8({
1821
1830
  capacity
1822
1831
  });
1823
- var sliding = (capacity) => make9({
1832
+ var sliding = (capacity) => make8({
1824
1833
  capacity,
1825
1834
  strategy: "sliding"
1826
1835
  });
1827
- var unbounded2 = () => make9();
1836
+ var unbounded2 = () => make8();
1828
1837
  var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
1829
1838
  var offerUnsafe = (self, message) => {
1830
1839
  if (self.state._tag !== "Open") {
@@ -2250,7 +2259,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
2250
2259
  return onError(pull, onCause);
2251
2260
  }));
2252
2261
  var toTransform = (channel) => channel.transform;
2253
- var asyncQueue = (scope, f, options) => make9({
2262
+ var asyncQueue = (scope, f, options) => make8({
2254
2263
  capacity: options?.bufferSize,
2255
2264
  strategy: options?.strategy
2256
2265
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
@@ -2291,7 +2300,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
2291
2300
  }));
2292
2301
  var readableStreamToPullUnsafe = (options) => {
2293
2302
  const reader = options.readable.getReader();
2294
- const exit = options.exit ?? make8(undefined);
2303
+ const exit = options.exit ?? make7(undefined);
2295
2304
  const pull = suspend3(() => {
2296
2305
  if (exit.current)
2297
2306
  return exit.current;
@@ -2905,7 +2914,7 @@ var release = (self, state) => {
2905
2914
  };
2906
2915
 
2907
2916
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2908
- var make10 = make6;
2917
+ var make9 = make6;
2909
2918
  var get3 = get2;
2910
2919
 
2911
2920
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
@@ -2917,7 +2926,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
2917
2926
  var toChannel2 = (stream) => stream.channel;
2918
2927
  var callback = (f, options) => fromChannel2(callbackArray(f, options));
2919
2928
  var empty2 = /* @__PURE__ */ fromChannel2(empty);
2920
- var make11 = (...values) => fromArray2(values);
2929
+ var make10 = (...values) => fromArray2(values);
2921
2930
  var suspend = (stream) => {
2922
2931
  const suspended = fromChannel2(suspend4(() => stream().channel));
2923
2932
  suspendedStreams.set(suspended, stream);
@@ -3100,7 +3109,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
3100
3109
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
3101
3110
  var TypeId10 = "~effect/FileSystem";
3102
3111
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3103
- var make12 = (impl) => FileSystem.of({
3112
+ var make11 = (impl) => FileSystem.of({
3104
3113
  ...impl,
3105
3114
  [TypeId10]: TypeId10,
3106
3115
  glob: make2(impl),
@@ -3160,7 +3169,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3160
3169
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3161
3170
  var TypeId11 = "~effect/Path";
3162
3171
  var Path = /* @__PURE__ */ Service2("effect/Path");
3163
- var make13 = (impl) => Path.of({
3172
+ var make12 = (impl) => Path.of({
3164
3173
  ...impl,
3165
3174
  [TypeId11]: TypeId11,
3166
3175
  resolveWithin(root, input) {
@@ -3235,7 +3244,7 @@ function makeProvider(load, mapInput) {
3235
3244
  function makeSource(get, transform) {
3236
3245
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3237
3246
  }
3238
- function make7(get) {
3247
+ function make13(get) {
3239
3248
  return makeSource(get, identityPath);
3240
3249
  }
3241
3250
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3244,7 +3253,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3244
3253
  function fromEnvRecord(env, options) {
3245
3254
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3246
3255
  const trie = buildEnvTrie(env);
3247
- return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3256
+ return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3248
3257
  }
3249
3258
  function fromEnv(options) {
3250
3259
  const env = options?.env ?? {
@@ -3575,4 +3584,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3575
3584
  ...argv
3576
3585
  ];
3577
3586
 
3578
- export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, take2, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3587
+ export { map, makeEquivalence, toNumber, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make7, unbounded, publishUnsafe, make8, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make9, get3, isStream, fromChannel2, callback, empty2, make10, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, take2, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make11, FileTypeId, WatchBackend, Path, make12, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-s364dren.js";
8
- import"./chunk-7jege23c.js";
9
- import"./chunk-pvza175a.js";
10
- import"./chunk-q5w3v4k1.js";
11
- import"./chunk-nf9gdnsf.js";
12
- import"./chunk-zw3gf6r5.js";
7
+ } from "./chunk-dwxqp8ez.js";
8
+ import"./chunk-vmww6hnk.js";
9
+ import"./chunk-3vbs995s.js";
10
+ import"./chunk-pxvd8w2v.js";
11
+ import"./chunk-hgfphycc.js";
12
+ import"./chunk-zgraq2y3.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -1,4 +1,10 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path,
5
+ optionalEnv,
6
+ tempDirectoryScoped
7
+ } from "./chunk-hgfphycc.js";
2
8
  import {
3
9
  Reference,
4
10
  TaggedError,
@@ -25,21 +31,15 @@ import {
25
31
  isString2,
26
32
  encodePrettyJsonString,
27
33
  decodeJsonStringSync
28
- } from "./chunk-zw3gf6r5.js";
29
- import {
30
- FileSystem,
31
- Path,
32
- optionalEnv,
33
- tempDirectoryScoped
34
- } from "./chunk-nf9gdnsf.js";
34
+ } from "./chunk-zgraq2y3.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-pvza175a.js";
39
+ } from "./chunk-3vbs995s.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-nve4pjqm.js";
42
+ } from "./chunk-4142qeg3.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -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-ggmwpwhf.js";
8
+ import"./chunk-pxvd8w2v.js";
9
+ import"./chunk-zgraq2y3.js";
10
10
  export {
11
11
  isOpaqueConnectReason2 as isOpaqueConnectReason,
12
12
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -18,7 +18,7 @@ import {
18
18
  isMinLength,
19
19
  isMaxLength,
20
20
  FiniteFromString
21
- } from "./chunk-zw3gf6r5.js";
21
+ } from "./chunk-zgraq2y3.js";
22
22
 
23
23
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
24
24
  var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];