@kitman-sh/cli 0.25.0 → 0.27.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-1phk7q49.js → chunk-0mg7k9b4.js} +116 -115
  2. package/dist/{chunk-eshk0da5.js → chunk-1j38xtvp.js} +2 -2
  3. package/dist/{chunk-63b19adg.js → chunk-225hz7jt.js} +69 -34
  4. package/dist/{chunk-yh0v42dk.js → chunk-39kjyh2y.js} +12 -12
  5. package/dist/{chunk-p34frxzr.js → chunk-3xg9zbmy.js} +5 -5
  6. package/dist/{chunk-rbpn35g5.js → chunk-4qjfn1sa.js} +1 -1
  7. package/dist/{chunk-znhjs0t6.js → chunk-5kqt4bqp.js} +1 -1
  8. package/dist/{chunk-sm340tvm.js → chunk-63cyj9dh.js} +17 -17
  9. package/dist/{chunk-xk96db4j.js → chunk-7j1kf6sa.js} +6 -6
  10. package/dist/{chunk-5c1vqpf3.js → chunk-bv4gcq1h.js} +7 -7
  11. package/dist/{chunk-gf62mx34.js → chunk-cehbrs1y.js} +5 -5
  12. package/dist/{chunk-fmjgw6fw.js → chunk-dyca90hx.js} +1 -1
  13. package/dist/{chunk-3x8t5408.js → chunk-ezsh3z1w.js} +24 -24
  14. package/dist/{chunk-j021bman.js → chunk-gap0vmj7.js} +60 -14
  15. package/dist/{chunk-61dmxexa.js → chunk-h2f26xbd.js} +28 -70
  16. package/dist/{chunk-fyjet273.js → chunk-js64y97w.js} +4 -4
  17. package/dist/{chunk-30s4vp2g.js → chunk-kagajztj.js} +1 -1
  18. package/dist/{chunk-4z5s9xtq.js → chunk-msn6rrx9.js} +4 -4
  19. package/dist/{chunk-e491q405.js → chunk-my92qn4x.js} +7 -7
  20. package/dist/{chunk-4qrb09w4.js → chunk-samxkpbz.js} +3 -3
  21. package/dist/{chunk-py3zfen9.js → chunk-tbmht2qb.js} +7 -7
  22. package/dist/{chunk-1hgsf81a.js → chunk-tsx0347c.js} +1 -1
  23. package/dist/{chunk-q8e58p57.js → chunk-vz38kngm.js} +2 -2
  24. package/dist/{chunk-zn881qsb.js → chunk-yaa3gkpx.js} +4 -4
  25. package/dist/{chunk-7wyejgj2.js → chunk-ydq1nr9e.js} +22 -22
  26. package/dist/{chunk-1ync8395.js → chunk-yr7np5eb.js} +3 -3
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -15,8 +15,8 @@ import {
15
15
  writeSrtSettings2,
16
16
  srtStepArgv2,
17
17
  srtArgv2
18
- } from "./chunk-sm340tvm.js";
19
- import"./chunk-61dmxexa.js";
18
+ } from "./chunk-63cyj9dh.js";
19
+ import"./chunk-h2f26xbd.js";
20
20
  export {
21
21
  compiled2 as compiled,
22
22
  harnessesUnsupportedInDocker2 as harnessesUnsupportedInDocker,
@@ -43,7 +43,7 @@ import {
43
43
  isFailure2,
44
44
  hasInterrupts,
45
45
  makeUnsafe5,
46
- make15,
46
+ make16,
47
47
  _await,
48
48
  fail5,
49
49
  isDoneUnsafe,
@@ -172,7 +172,7 @@ import {
172
172
  decodeJsonStringSync,
173
173
  encodeUnknownJsonStringSync,
174
174
  storable
175
- } from "./chunk-61dmxexa.js";
175
+ } from "./chunk-h2f26xbd.js";
176
176
  import {
177
177
  join,
178
178
  interrupt,
@@ -181,7 +181,7 @@ import {
181
181
  unbounded2,
182
182
  offer,
183
183
  makeUnsafe3,
184
- make10,
184
+ make11,
185
185
  fromQueue,
186
186
  fromPubSub,
187
187
  map2,
@@ -218,7 +218,7 @@ import {
218
218
  writeSrtSettings2,
219
219
  srtStepArgv2,
220
220
  srtArgv2
221
- } from "./chunk-sm340tvm.js";
221
+ } from "./chunk-63cyj9dh.js";
222
222
  import {
223
223
  currentTimeMillis,
224
224
  SecureRandom,
@@ -307,7 +307,7 @@ import {
307
307
  checkServicesFile,
308
308
  checkServices,
309
309
  serviceChecks
310
- } from "./chunk-1phk7q49.js";
310
+ } from "./chunk-0mg7k9b4.js";
311
311
  import {
312
312
  writeAgentEnvironmentConfigFile2,
313
313
  readManifestSkillPaths2,
@@ -323,8 +323,8 @@ import {
323
323
  applyAgentEnvironmentMaterialization2,
324
324
  isPathWithin2,
325
325
  skillIdentity2
326
- } from "./chunk-zn881qsb.js";
327
- import"./chunk-1ync8395.js";
326
+ } from "./chunk-yaa3gkpx.js";
327
+ import"./chunk-yr7np5eb.js";
328
328
  import {
329
329
  egressAllowed,
330
330
  writeSecretRegistry,
@@ -334,7 +334,7 @@ import {
334
334
  secretFilter2,
335
335
  opaqueTunnelRefusal2,
336
336
  isOpaqueConnectReason2
337
- } from "./chunk-q8e58p57.js";
337
+ } from "./chunk-vz38kngm.js";
338
338
  import {
339
339
  sliceBytes2,
340
340
  maxLineBytes2,
@@ -342,29 +342,29 @@ import {
342
342
  decodedOption2,
343
343
  decoded2,
344
344
  readOpencode2
345
- } from "./chunk-e491q405.js";
345
+ } from "./chunk-my92qn4x.js";
346
346
  import {
347
347
  uploadRunFile,
348
348
  programLease,
349
349
  rpcRunFiles,
350
350
  programHostsEnv,
351
351
  undeclaredHostsEnv
352
- } from "./chunk-p34frxzr.js";
353
- import"./chunk-5c1vqpf3.js";
352
+ } from "./chunk-3xg9zbmy.js";
353
+ import"./chunk-bv4gcq1h.js";
354
354
  import {
355
355
  nextInt
356
- } from "./chunk-znhjs0t6.js";
357
- import"./chunk-1hgsf81a.js";
356
+ } from "./chunk-5kqt4bqp.js";
357
+ import"./chunk-tsx0347c.js";
358
358
  import {
359
359
  ChildProcessSpawner,
360
- make2
361
- } from "./chunk-j021bman.js";
362
- import"./chunk-gf62mx34.js";
360
+ make3
361
+ } from "./chunk-gap0vmj7.js";
362
+ import"./chunk-cehbrs1y.js";
363
363
  import {
364
364
  Id,
365
365
  secretReference,
366
366
  secretPlaceholder
367
- } from "./chunk-rbpn35g5.js";
367
+ } from "./chunk-4qjfn1sa.js";
368
368
 
369
369
  // packages/core/src/sync-kit.ts
370
370
  import { createHash } from "crypto";
@@ -8004,7 +8004,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
8004
8004
  const input = yield* unbounded2();
8005
8005
  const pending = new Map;
8006
8006
  let lastId = 0;
8007
- const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
8007
+ const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
8008
8008
  cwd: env.home,
8009
8009
  extendEnv: true,
8010
8010
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -8027,7 +8027,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
8027
8027
  return {
8028
8028
  request: (method, params) => gen(function* () {
8029
8029
  const id = ++lastId;
8030
- const deferred = yield* make15();
8030
+ const deferred = yield* make16();
8031
8031
  pending.set(id, deferred);
8032
8032
  yield* send({ id, method, params });
8033
8033
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -8167,10 +8167,10 @@ var handshake = [
8167
8167
  `).join("");
8168
8168
  var kitmanMcpPreflight = (mcp) => gen(function* () {
8169
8169
  const spawner = yield* ChildProcessSpawner;
8170
- const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
8170
+ const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
8171
8171
  extendEnv: true,
8172
8172
  env: mcp.env,
8173
- stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
8173
+ stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
8174
8174
  stderr: "ignore"
8175
8175
  }));
8176
8176
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -8243,8 +8243,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
8243
8243
  };
8244
8244
  const exitCode = sandbox === undefined ? yield* gen(function* () {
8245
8245
  const spawner = yield* ChildProcessSpawner;
8246
- const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
8247
- stdin: make10(new TextEncoder().encode(stdin)),
8246
+ const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
8247
+ stdin: make11(new TextEncoder().encode(stdin)),
8248
8248
  stdout: "inherit",
8249
8249
  stderr: "inherit",
8250
8250
  extendEnv: false,
@@ -9051,12 +9051,36 @@ var without = (failures, taken) => {
9051
9051
  printed: failures.printed.filter((name) => !printed.has(name))
9052
9052
  };
9053
9053
  };
9054
+ var holds = (suite, id) => {
9055
+ const at = suite.indexOf(" > ");
9056
+ if (at === -1)
9057
+ return false;
9058
+ const file = suite.slice(0, at);
9059
+ const name = suite.slice(at + 3);
9060
+ if (!id.startsWith(`${file} > `))
9061
+ return false;
9062
+ const path = id.slice(file.length + 3);
9063
+ return name === file || path.startsWith(`${name} > `) || path.includes(` > ${name} > `);
9064
+ };
9065
+ var outcomeIn = (statuses, id) => {
9066
+ const own = statuses.get(id);
9067
+ if (own !== undefined)
9068
+ return own;
9069
+ const inside = [...statuses].flatMap(([test, is]) => holds(id, test) ? [is] : []);
9070
+ if (inside.length === 0)
9071
+ return;
9072
+ return inside.includes("failed") ? "failed" : inside.includes("passed") ? "passed" : "skipped";
9073
+ };
9074
+ var failedInSetup = (ran) => {
9075
+ const skipped = withStatus(ran.statuses, "skipped");
9076
+ return withStatus(ran.statuses, "failed").filter((suite) => skipped.some((id) => holds(suite, id)));
9077
+ };
9054
9078
  var passedIn = (ran, failures) => {
9055
9079
  const passed = withStatus(ran.statuses, "passed");
9056
9080
  const unmatched = new Set(printedNotReported(passed, failures.printed));
9057
9081
  const passedUnreported = ran.statuses.size === 0 && ran.evidence.status === "passed";
9058
9082
  return {
9059
- reported: failures.reported.filter((id) => ran.statuses.get(id) === "passed"),
9083
+ reported: failures.reported.filter((id) => outcomeIn(ran.statuses, id) === "passed"),
9060
9084
  printed: failures.printed.filter((name) => passedUnreported || !unmatched.has(name))
9061
9085
  };
9062
9086
  };
@@ -9081,17 +9105,21 @@ var judged = (evidence) => ({
9081
9105
  ...evidence,
9082
9106
  tests: { ...evidence.tests, environmentJudged: true }
9083
9107
  });
9084
- var afterFreshService = (first, again) => {
9108
+ var afterFreshService = (first, again, judging = failuresOf(first)) => {
9085
9109
  const failures = failuresOf(first);
9086
- const cleared = passedIn(again, failures);
9110
+ const cleared = passedIn(again, judging);
9087
9111
  const remaining = without(failures, cleared);
9088
9112
  const newlyFailed = failedOnlyIn(again, failures);
9089
9113
  const passedBefore = passedIn(first, newlyFailed);
9090
9114
  const charged = without(newlyFailed, passedBefore);
9091
9115
  const againPassed = again.evidence.status === "passed";
9116
+ const environmentJudged = hasNone(without(failures, judging));
9092
9117
  const recovered = hasNone(remaining) && hasNone(charged) && (againPassed || !hasNone(failures) && !hasNone(newlyFailed));
9093
9118
  if (!recovered && hasNone(cleared))
9094
- return { ...judged(first.evidence), ...bothFileIds(first.evidence, again.evidence) };
9119
+ return {
9120
+ ...environmentJudged ? judged(first.evidence) : first.evidence,
9121
+ ...bothFileIds(first.evidence, again.evidence)
9122
+ };
9095
9123
  const ranFirst = new Set(first.evidence.tests.ranDigests);
9096
9124
  const skippedTests = again.evidence.tests.skippedTests.filter((id) => !ranFirst.has(testDigest(id)));
9097
9125
  const { failedTests: _failedAgain, ...againTests } = again.evidence.tests;
@@ -9120,7 +9148,7 @@ var afterFreshService = (first, again) => {
9120
9148
  outputTail: first.evidence.outputTail,
9121
9149
  ...retryFailedTests.length === 0 ? undefined : { retryFailedTests }
9122
9150
  },
9123
- environmentJudged: true
9151
+ ...environmentJudged ? { environmentJudged } : undefined
9124
9152
  }
9125
9153
  };
9126
9154
  };
@@ -9598,23 +9626,30 @@ var verificationExecutor = (input) => (work) => gen(function* () {
9598
9626
  const rejudged = (entry) => entry.tree === baselineTree && failedOnPostgres.some((ran) => sameCheck(ran.evidence)(entry));
9599
9627
  const baselineRan = comparable ? yield* runChecks(baseline, work.checks.filter((check) => check.pipeline !== true), baselineTree, known.filter((entry) => !rejudged(entry)), runIn(baseline), keeper("baseline-"), services(`${work.id}-baseline`)).pipe(scoped) : [];
9600
9628
  const headRevision = (yield* runCommand2("git", ["-C", head, "rev-parse", "HEAD"])).trim();
9601
- const onFreshService = (check, attempt) => gen(function* () {
9629
+ const onFreshService = (check, attempt, onPostgres) => gen(function* () {
9602
9630
  const worktree = yield* checkouts.checkout({ runId: work.runId, id: `${work.id}-rerun`, baseRevision: headRevision }, work.repoBinding);
9603
9631
  const run = runIn(worktree);
9604
9632
  const fresh = services(`${work.id}-rerun-${attempt}`);
9605
9633
  yield* installIn(worktree, run);
9606
9634
  const postgres = yield* startedCheckPostgres(worktree, fresh, run);
9607
- return postgres === undefined ? undefined : yield* runCheck(worktree, check, run, keeper("rerun-"), fresh, postgres);
9635
+ return postgres === undefined && onPostgres ? undefined : yield* runCheck(worktree, check, run, keeper("rerun-"), fresh, postgres);
9608
9636
  }).pipe(scoped);
9609
9637
  const headChecks = yield* forEach(firstHead, (ran, index) => gen(function* () {
9610
9638
  const check = work.checks.find(sameCheck(ran.evidence));
9611
9639
  const atBaseline = baselineRan.find((other) => sameCheck(other.evidence)(ran.evidence));
9612
- if (check === undefined || atBaseline === undefined || !failedOnPostgres.includes(ran))
9640
+ if (check === undefined)
9641
+ return ran.evidence;
9642
+ const judgesFailure = atBaseline !== undefined && failedOnPostgres.includes(ran) && passedAtBaseline(ran, atBaseline);
9643
+ const setupFailed = comparable && check.pipeline !== true && ran.evidence.status === "failed" ? failedInSetup(ran).filter((suite) => {
9644
+ const before = atBaseline === undefined ? undefined : outcomeIn(atBaseline.statuses, suite);
9645
+ return before !== "failed" && before !== "skipped";
9646
+ }) : [];
9647
+ if (!judgesFailure && setupFailed.length === 0)
9613
9648
  return ran.evidence;
9614
- if (!passedAtBaseline(ran, atBaseline))
9649
+ const again = yield* onFreshService(check, index + 1, ran.onPostgres);
9650
+ if (again === undefined)
9615
9651
  return ran.evidence;
9616
- const again = yield* onFreshService(check, index + 1);
9617
- return again === undefined ? ran.evidence : afterFreshService(ran, again);
9652
+ return judgesFailure ? afterFreshService(ran, again) : afterFreshService(ran, again, { reported: setupFailed, printed: [] });
9618
9653
  }));
9619
9654
  const baselineChecks = baselineRan.filter((ran) => !known.some((entry) => entry.tree === baselineTree && sameCheck(ran.evidence)(entry))).map((ran) => ran.evidence);
9620
9655
  return {
@@ -6,7 +6,7 @@ import {
6
6
  Path,
7
7
  withDefault,
8
8
  String2
9
- } from "./chunk-sm340tvm.js";
9
+ } from "./chunk-63cyj9dh.js";
10
10
  import {
11
11
  isString,
12
12
  isObject,
@@ -43,7 +43,7 @@ import {
43
43
  toCodecJson,
44
44
  Json,
45
45
  encodePrettyJsonString
46
- } from "./chunk-61dmxexa.js";
46
+ } from "./chunk-h2f26xbd.js";
47
47
  import {
48
48
  SecureRandom,
49
49
  layerWebCrypto,
@@ -60,26 +60,26 @@ import {
60
60
  KitDeclarations,
61
61
  kitmanMcpServer,
62
62
  RunnerRpcProtocolVersion
63
- } from "./chunk-1phk7q49.js";
63
+ } from "./chunk-0mg7k9b4.js";
64
64
  import {
65
65
  Packument,
66
66
  tarballMatches
67
- } from "./chunk-1ync8395.js";
67
+ } from "./chunk-yr7np5eb.js";
68
68
  import {
69
69
  stepDefinedTwice,
70
70
  hostSteps,
71
71
  exports_activities,
72
72
  describeFlag,
73
73
  Described
74
- } from "./chunk-p34frxzr.js";
75
- import"./chunk-5c1vqpf3.js";
76
- import"./chunk-1hgsf81a.js";
74
+ } from "./chunk-3xg9zbmy.js";
75
+ import"./chunk-bv4gcq1h.js";
76
+ import"./chunk-tsx0347c.js";
77
77
  import {
78
78
  ChildProcessSpawner,
79
- make2
80
- } from "./chunk-j021bman.js";
81
- import"./chunk-gf62mx34.js";
82
- import"./chunk-rbpn35g5.js";
79
+ make3
80
+ } from "./chunk-gap0vmj7.js";
81
+ import"./chunk-cehbrs1y.js";
82
+ import"./chunk-4qjfn1sa.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(make2(command, args, { cwd, stdin: "ignore" }));
3894
+ const handle = yield* spawner.spawn(make3(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)),
@@ -138,12 +138,12 @@ import {
138
138
  toJsonSchemaDocument,
139
139
  toCodecJson,
140
140
  Json
141
- } from "./chunk-61dmxexa.js";
141
+ } from "./chunk-h2f26xbd.js";
142
142
  import {
143
143
  getCurrent,
144
144
  runForEach,
145
145
  FileSystem
146
- } from "./chunk-sm340tvm.js";
146
+ } from "./chunk-63cyj9dh.js";
147
147
  import {
148
148
  currentTimeMillis,
149
149
  WebCrypto,
@@ -181,18 +181,18 @@ import {
181
181
  StepManifest,
182
182
  KitSetup,
183
183
  RunnerRpcError
184
- } from "./chunk-1phk7q49.js";
184
+ } from "./chunk-0mg7k9b4.js";
185
185
  import {
186
186
  splitQuestionOptions,
187
187
  recommendationProblem,
188
188
  questionAdvice
189
- } from "./chunk-1hgsf81a.js";
189
+ } from "./chunk-tsx0347c.js";
190
190
  import {
191
191
  guard,
192
192
  Id,
193
193
  Timestamp,
194
194
  ActorType
195
- } from "./chunk-rbpn35g5.js";
195
+ } from "./chunk-4qjfn1sa.js";
196
196
  var __defProp = Object.defineProperty;
197
197
  var __returnValue = (v) => v;
198
198
  function __exportSetter(name, newValue) {
@@ -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;
@@ -203,7 +203,7 @@ import {
203
203
  String4,
204
204
  toCodecStringTree,
205
205
  encodeUnknownJsonStringSync
206
- } from "./chunk-61dmxexa.js";
206
+ } from "./chunk-h2f26xbd.js";
207
207
 
208
208
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
209
209
  var headUnsafe = (self) => {
@@ -1140,7 +1140,7 @@ var MutableRefProto = {
1140
1140
  };
1141
1141
  }
1142
1142
  };
1143
- var make7 = (value) => {
1143
+ var make8 = (value) => {
1144
1144
  const ref = Object.create(MutableRefProto);
1145
1145
  ref.current = value;
1146
1146
  return ref;
@@ -1301,7 +1301,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1301
1301
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1302
1302
  var TypeId3 = "~effect/PubSub";
1303
1303
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1304
- var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1304
+ var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
1305
1305
  var unbounded = (options) => make5({
1306
1306
  atomicPubSub: () => makeAtomicUnbounded(options),
1307
1307
  strategy: () => new DroppingStrategy
@@ -1396,7 +1396,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1396
1396
  subscribers.delete(subscription);
1397
1397
  }
1398
1398
  };
1399
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1399
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
1400
1400
  class UnboundedPubSub {
1401
1401
  publisherHead = {
1402
1402
  value: AbsentValue,
@@ -1813,7 +1813,7 @@ var QueueProto = {
1813
1813
  };
1814
1814
  }
1815
1815
  };
1816
- var make8 = (options) => withFiber((fiber) => {
1816
+ var make9 = (options) => withFiber((fiber) => {
1817
1817
  const self = Object.create(QueueProto);
1818
1818
  self.dispatcher = fiber.currentDispatcher;
1819
1819
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
@@ -1828,14 +1828,14 @@ var make8 = (options) => withFiber((fiber) => {
1828
1828
  };
1829
1829
  return succeed2(self);
1830
1830
  });
1831
- var bounded = (capacity) => make8({
1831
+ var bounded = (capacity) => make9({
1832
1832
  capacity
1833
1833
  });
1834
- var sliding = (capacity) => make8({
1834
+ var sliding = (capacity) => make9({
1835
1835
  capacity,
1836
1836
  strategy: "sliding"
1837
1837
  });
1838
- var unbounded2 = () => make8();
1838
+ var unbounded2 = () => make9();
1839
1839
  var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
1840
1840
  var offerUnsafe = (self, message) => {
1841
1841
  if (self.state._tag !== "Open") {
@@ -2261,7 +2261,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
2261
2261
  return onError(pull, onCause);
2262
2262
  }));
2263
2263
  var toTransform = (channel) => channel.transform;
2264
- var asyncQueue = (scope, f, options) => make8({
2264
+ var asyncQueue = (scope, f, options) => make9({
2265
2265
  capacity: options?.bufferSize,
2266
2266
  strategy: options?.strategy
2267
2267
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
@@ -2302,7 +2302,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
2302
2302
  }));
2303
2303
  var readableStreamToPullUnsafe = (options) => {
2304
2304
  const reader = options.readable.getReader();
2305
- const exit = options.exit ?? make7(undefined);
2305
+ const exit = options.exit ?? make8(undefined);
2306
2306
  const pull = suspend3(() => {
2307
2307
  if (exit.current)
2308
2308
  return exit.current;
@@ -2956,7 +2956,7 @@ var release = (self, state) => {
2956
2956
  };
2957
2957
 
2958
2958
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2959
- var make9 = make6;
2959
+ var make10 = make6;
2960
2960
  var get3 = get2;
2961
2961
 
2962
2962
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
@@ -2968,7 +2968,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
2968
2968
  var toChannel2 = (stream) => stream.channel;
2969
2969
  var callback = (f, options) => fromChannel2(callbackArray(f, options));
2970
2970
  var empty2 = /* @__PURE__ */ fromChannel2(empty);
2971
- var make10 = (...values) => fromArray2(values);
2971
+ var make11 = (...values) => fromArray2(values);
2972
2972
  var suspend = (stream) => {
2973
2973
  const suspended = fromChannel2(suspend4(() => stream().channel));
2974
2974
  suspendedStreams.set(suspended, stream);
@@ -3168,7 +3168,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
3168
3168
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
3169
3169
  var TypeId10 = "~effect/FileSystem";
3170
3170
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3171
- var make11 = (impl) => FileSystem.of({
3171
+ var make12 = (impl) => FileSystem.of({
3172
3172
  ...impl,
3173
3173
  [TypeId10]: TypeId10,
3174
3174
  glob: make2(impl),
@@ -3228,7 +3228,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3228
3228
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3229
3229
  var TypeId11 = "~effect/Path";
3230
3230
  var Path = /* @__PURE__ */ Service2("effect/Path");
3231
- var make12 = (impl) => Path.of({
3231
+ var make13 = (impl) => Path.of({
3232
3232
  ...impl,
3233
3233
  [TypeId11]: TypeId11,
3234
3234
  resolveWithin(root, input) {
@@ -3303,7 +3303,7 @@ function makeProvider(load, mapInput) {
3303
3303
  function makeSource(get, transform) {
3304
3304
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3305
3305
  }
3306
- function make13(get) {
3306
+ function make7(get) {
3307
3307
  return makeSource(get, identityPath);
3308
3308
  }
3309
3309
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3312,7 +3312,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3312
3312
  function fromEnvRecord(env, options) {
3313
3313
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3314
3314
  const trie = buildEnvTrie(env);
3315
- return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3315
+ return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3316
3316
  }
3317
3317
  function fromEnv(options) {
3318
3318
  const env = options?.env ?? {
@@ -3644,4 +3644,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3644
3644
  ...argv
3645
3645
  ];
3646
3646
 
3647
- 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, mapAccum, 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, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3647
+ export { map, makeEquivalence, toNumber, 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, 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 };
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-5c1vqpf3.js";
8
- import"./chunk-gf62mx34.js";
9
- import"./chunk-1phk7q49.js";
10
- import"./chunk-rbpn35g5.js";
11
- import"./chunk-sm340tvm.js";
12
- import"./chunk-61dmxexa.js";
7
+ } from "./chunk-bv4gcq1h.js";
8
+ import"./chunk-cehbrs1y.js";
9
+ import"./chunk-0mg7k9b4.js";
10
+ import"./chunk-4qjfn1sa.js";
11
+ import"./chunk-63cyj9dh.js";
12
+ import"./chunk-h2f26xbd.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -6,10 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-61dmxexa.js";
9
+ } from "./chunk-h2f26xbd.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-sm340tvm.js";
12
+ } from "./chunk-63cyj9dh.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-1phk7q49.js";
22
+ } from "./chunk-0mg7k9b4.js";
23
23
  import {
24
24
  layerJson,
25
- make3,
25
+ make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-gf62mx34.js";
28
+ } from "./chunk-cehbrs1y.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,7 +96,7 @@ import {
96
96
  Defect,
97
97
  Exit,
98
98
  toCodecJson
99
- } from "./chunk-61dmxexa.js";
99
+ } from "./chunk-h2f26xbd.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-sm340tvm.js";
111
+ } from "./chunk-63cyj9dh.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-1phk7q49.js";
126
+ } from "./chunk-0mg7k9b4.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 };
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-30s4vp2g.js";
7
+ } from "./chunk-kagajztj.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,