@kitman-sh/cli 0.45.0 → 0.46.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-tqv14b4c.js → chunk-0511zsxk.js} +429 -54
  2. package/dist/{chunk-9qvgbp6k.js → chunk-16wyj1eq.js} +36 -27
  3. package/dist/{chunk-5smh4dp2.js → chunk-2xeq2a7j.js} +21 -155
  4. package/dist/{chunk-4vxbxjf8.js → chunk-5tgpa02q.js} +1 -1
  5. package/dist/{chunk-fqh4pj6b.js → chunk-6evexbdx.js} +2 -2
  6. package/dist/{chunk-8gkrs473.js → chunk-7wq13jgx.js} +3 -3
  7. package/dist/{chunk-fmvdwf5h.js → chunk-8qbem52x.js} +23 -23
  8. package/dist/{chunk-a71b15k3.js → chunk-9hqskzqc.js} +2 -2
  9. package/dist/{chunk-04wqa07j.js → chunk-apv9h5tz.js} +1 -1
  10. package/dist/{chunk-tx9aey19.js → chunk-bc40mcq9.js} +17 -17
  11. package/dist/{chunk-0dfg674z.js → chunk-c6pnj2aj.js} +4 -4
  12. package/dist/{chunk-zx86g3dw.js → chunk-e1v0c57f.js} +7 -7
  13. package/dist/{chunk-f957cxrx.js → chunk-j0b47jdz.js} +3 -3
  14. package/dist/{chunk-9ykh05hz.js → chunk-k1fdsn2c.js} +1 -1
  15. package/dist/{chunk-es6rnmyw.js → chunk-m5wqyzhk.js} +3 -3
  16. package/dist/{chunk-tfwgeqx5.js → chunk-mxy4wzhs.js} +4 -4
  17. package/dist/{chunk-n3jpxd14.js → chunk-n00cpb86.js} +2 -2
  18. package/dist/{chunk-k462v2v7.js → chunk-n381rqax.js} +157 -13
  19. package/dist/{chunk-qzwsh96c.js → chunk-nyagtr2t.js} +2 -2
  20. package/dist/{chunk-69y8j7fs.js → chunk-pty4b78m.js} +189 -16
  21. package/dist/{chunk-5pjbxhxy.js → chunk-qfwhsqej.js} +3 -3
  22. package/dist/{chunk-g26y214g.js → chunk-qy0enebe.js} +4 -4
  23. package/dist/{chunk-k7eh8tac.js → chunk-t2x4p5sp.js} +4 -4
  24. package/dist/{chunk-e3dv8hzy.js → chunk-tsw66qp3.js} +1 -1
  25. package/dist/{chunk-yyz9xrc1.js → chunk-w0tzm3fg.js} +6 -6
  26. package/dist/{chunk-5gbt1vhm.js → chunk-x38fytew.js} +87 -21
  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-5smh4dp2.js";
19
- import"./chunk-k462v2v7.js";
18
+ } from "./chunk-2xeq2a7j.js";
19
+ import"./chunk-n381rqax.js";
20
20
  export {
21
21
  compiled2 as compiled,
22
22
  harnessesUnsupportedInDocker2 as harnessesUnsupportedInDocker,
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-k462v2v7.js";
6
+ } from "./chunk-n381rqax.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -186,7 +186,7 @@ import {
186
186
  decodeJsonStringSync,
187
187
  encodeUnknownJsonStringSync,
188
188
  storable
189
- } from "./chunk-k462v2v7.js";
189
+ } from "./chunk-n381rqax.js";
190
190
  import {
191
191
  SecureRandom,
192
192
  layerWebCrypto,
@@ -276,7 +276,7 @@ import {
276
276
  checkServicesFile,
277
277
  checkServices,
278
278
  serviceChecks
279
- } from "./chunk-69y8j7fs.js";
279
+ } from "./chunk-pty4b78m.js";
280
280
  import {
281
281
  empty2,
282
282
  currentTimeMillis,
@@ -327,7 +327,7 @@ import {
327
327
  writeSrtSettings2,
328
328
  srtStepArgv2,
329
329
  srtArgv2
330
- } from "./chunk-5smh4dp2.js";
330
+ } from "./chunk-2xeq2a7j.js";
331
331
  import {
332
332
  writeAgentEnvironmentConfigFile2,
333
333
  readManifestSkillPaths2,
@@ -343,8 +343,12 @@ import {
343
343
  applyAgentEnvironmentMaterialization2,
344
344
  isPathWithin2,
345
345
  skillIdentity2
346
- } from "./chunk-g26y214g.js";
347
- import"./chunk-es6rnmyw.js";
346
+ } from "./chunk-qy0enebe.js";
347
+ import"./chunk-m5wqyzhk.js";
348
+ import {
349
+ ChildProcessSpawner,
350
+ make2
351
+ } from "./chunk-6evexbdx.js";
348
352
  import {
349
353
  egressAllowed,
350
354
  writeSecretRegistry,
@@ -354,7 +358,7 @@ import {
354
358
  secretFilter2,
355
359
  opaqueTunnelRefusal2,
356
360
  isOpaqueConnectReason2
357
- } from "./chunk-n3jpxd14.js";
361
+ } from "./chunk-n00cpb86.js";
358
362
  import {
359
363
  sliceBytes2,
360
364
  maxLineBytes2,
@@ -364,29 +368,25 @@ import {
364
368
  lookAtOpencode2,
365
369
  readOpencode2,
366
370
  databaseStamp2
367
- } from "./chunk-8gkrs473.js";
371
+ } from "./chunk-7wq13jgx.js";
368
372
  import {
369
373
  uploadRunFile,
370
374
  programLease,
371
375
  rpcRunFiles,
372
376
  programHostsEnv,
373
377
  undeclaredHostsEnv
374
- } from "./chunk-5gbt1vhm.js";
375
- import"./chunk-0dfg674z.js";
378
+ } from "./chunk-x38fytew.js";
379
+ import"./chunk-c6pnj2aj.js";
376
380
  import {
377
381
  nextInt
378
- } from "./chunk-04wqa07j.js";
379
- import"./chunk-9ykh05hz.js";
380
- import {
381
- ChildProcessSpawner,
382
- make2
383
- } from "./chunk-fqh4pj6b.js";
384
- import"./chunk-f957cxrx.js";
382
+ } from "./chunk-apv9h5tz.js";
383
+ import"./chunk-k1fdsn2c.js";
384
+ import"./chunk-j0b47jdz.js";
385
385
  import {
386
386
  Id,
387
387
  secretReference,
388
388
  secretPlaceholder
389
- } from "./chunk-4vxbxjf8.js";
389
+ } from "./chunk-5tgpa02q.js";
390
390
 
391
391
  // packages/core/src/sync-kit.ts
392
392
  import { createHash } from "crypto";
@@ -6,10 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-k462v2v7.js";
9
+ } from "./chunk-n381rqax.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-5smh4dp2.js";
12
+ } from "./chunk-2xeq2a7j.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-69y8j7fs.js";
22
+ } from "./chunk-pty4b78m.js";
23
23
  import {
24
24
  layerJson,
25
25
  make3,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-f957cxrx.js";
28
+ } from "./chunk-j0b47jdz.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -13,17 +13,17 @@ import {
13
13
  isJsonObject,
14
14
  decodeJsonString,
15
15
  encodePrettyJsonString
16
- } from "./chunk-k462v2v7.js";
16
+ } from "./chunk-n381rqax.js";
17
17
  import {
18
18
  FileSystem,
19
19
  Path
20
- } from "./chunk-5smh4dp2.js";
20
+ } from "./chunk-2xeq2a7j.js";
21
21
  import {
22
22
  tomlTableHeader2,
23
23
  tomlKeyPath2,
24
24
  kitmanSkillEntry,
25
25
  isPathWithin2
26
- } from "./chunk-g26y214g.js";
26
+ } from "./chunk-qy0enebe.js";
27
27
  import {
28
28
  instructionsStart,
29
29
  instructionsEnd,
@@ -31,10 +31,10 @@ import {
31
31
  antigravityPlugins,
32
32
  materializeKitSetup,
33
33
  tomlInline
34
- } from "./chunk-69y8j7fs.js";
35
- import"./chunk-es6rnmyw.js";
36
- import"./chunk-fqh4pj6b.js";
37
- import"./chunk-4vxbxjf8.js";
34
+ } from "./chunk-pty4b78m.js";
35
+ import"./chunk-6evexbdx.js";
36
+ import"./chunk-m5wqyzhk.js";
37
+ import"./chunk-5tgpa02q.js";
38
38
 
39
39
  // packages/agent-runtime/src/kit-setup-sync.ts
40
40
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -96,7 +96,7 @@ import {
96
96
  Defect,
97
97
  Exit,
98
98
  toCodecJson
99
- } from "./chunk-k462v2v7.js";
99
+ } from "./chunk-n381rqax.js";
100
100
  import {
101
101
  Clock,
102
102
  interrupt,
@@ -109,7 +109,7 @@ import {
109
109
  shutdownUnsafe,
110
110
  fromQueue,
111
111
  unwrap
112
- } from "./chunk-5smh4dp2.js";
112
+ } from "./chunk-2xeq2a7j.js";
113
113
  import {
114
114
  empty,
115
115
  fromInput,
@@ -123,7 +123,7 @@ import {
123
123
  ParseOptions,
124
124
  RpcClientDefect,
125
125
  RpcClientError
126
- } from "./chunk-69y8j7fs.js";
126
+ } from "./chunk-pty4b78m.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")) {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  isString2
4
- } from "./chunk-k462v2v7.js";
4
+ } from "./chunk-n381rqax.js";
5
5
 
6
6
  // packages/core/src/question-recommendation.ts
7
7
  var optionValue = (option) => isString2(option) ? option : option.value;
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-k462v2v7.js";
27
+ } from "./chunk-n381rqax.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-5smh4dp2.js";
31
+ } from "./chunk-2xeq2a7j.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-69y8j7fs.js";
42
+ } from "./chunk-pty4b78m.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -9,10 +9,10 @@ import {
9
9
  readOpencode2,
10
10
  databaseStamp2,
11
11
  runOpencodeReader2
12
- } from "./chunk-8gkrs473.js";
13
- import"./chunk-fqh4pj6b.js";
14
- import"./chunk-5smh4dp2.js";
15
- import"./chunk-k462v2v7.js";
12
+ } from "./chunk-7wq13jgx.js";
13
+ import"./chunk-6evexbdx.js";
14
+ import"./chunk-2xeq2a7j.js";
15
+ import"./chunk-n381rqax.js";
16
16
  export {
17
17
  databaseStamp2 as databaseStamp,
18
18
  decoded2 as decoded,
@@ -13,11 +13,11 @@ import {
13
13
  ArraySchema,
14
14
  decodeJsonStringOption,
15
15
  encodeUnknownJsonStringSync
16
- } from "./chunk-k462v2v7.js";
16
+ } from "./chunk-n381rqax.js";
17
17
  import {
18
18
  replaceSecretReferences,
19
19
  secretReferencesIn
20
- } from "./chunk-4vxbxjf8.js";
20
+ } from "./chunk-5tgpa02q.js";
21
21
 
22
22
  // packages/agent-runtime/src/srt-step.ts
23
23
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
@@ -5832,6 +5832,150 @@ var flatMapEager = flatMapEager2;
5832
5832
  var catchEager = catchEager2;
5833
5833
  var fnUntracedEager2 = fnUntracedEager;
5834
5834
 
5835
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
5836
+ var BigInt2 = globalThis.BigInt;
5837
+ var toNumber = (b) => {
5838
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
5839
+ return none();
5840
+ }
5841
+ return some(Number(b));
5842
+ };
5843
+
5844
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
5845
+ var bigint03 = /* @__PURE__ */ BigInt(0);
5846
+ var bigint12 = /* @__PURE__ */ BigInt(1);
5847
+ var decimalBase = /* @__PURE__ */ BigInt(1000);
5848
+ var binaryBase = /* @__PURE__ */ BigInt(1024);
5849
+ var decimalUnits = [{
5850
+ symbol: "B",
5851
+ factor: bigint12,
5852
+ names: ["B", "byte", "bytes"]
5853
+ }, {
5854
+ symbol: "kB",
5855
+ factor: decimalBase,
5856
+ names: ["kB", "kilobyte", "kilobytes"]
5857
+ }, {
5858
+ symbol: "MB",
5859
+ factor: decimalBase ** /* @__PURE__ */ BigInt(2),
5860
+ names: ["MB", "megabyte", "megabytes"]
5861
+ }, {
5862
+ symbol: "GB",
5863
+ factor: decimalBase ** /* @__PURE__ */ BigInt(3),
5864
+ names: ["GB", "gigabyte", "gigabytes"]
5865
+ }, {
5866
+ symbol: "TB",
5867
+ factor: decimalBase ** /* @__PURE__ */ BigInt(4),
5868
+ names: ["TB", "terabyte", "terabytes"]
5869
+ }, {
5870
+ symbol: "PB",
5871
+ factor: decimalBase ** /* @__PURE__ */ BigInt(5),
5872
+ names: ["PB", "petabyte", "petabytes"]
5873
+ }, {
5874
+ symbol: "EB",
5875
+ factor: decimalBase ** /* @__PURE__ */ BigInt(6),
5876
+ names: ["EB", "exabyte", "exabytes"]
5877
+ }, {
5878
+ symbol: "ZB",
5879
+ factor: decimalBase ** /* @__PURE__ */ BigInt(7),
5880
+ names: ["ZB", "zettabyte", "zettabytes"]
5881
+ }, {
5882
+ symbol: "YB",
5883
+ factor: decimalBase ** /* @__PURE__ */ BigInt(8),
5884
+ names: ["YB", "yottabyte", "yottabytes"]
5885
+ }, {
5886
+ symbol: "RB",
5887
+ factor: decimalBase ** /* @__PURE__ */ BigInt(9),
5888
+ names: ["RB", "ronnabyte", "ronnabytes"]
5889
+ }, {
5890
+ symbol: "QB",
5891
+ factor: decimalBase ** /* @__PURE__ */ BigInt(10),
5892
+ names: ["QB", "quettabyte", "quettabytes"]
5893
+ }];
5894
+ var binaryUnits = [decimalUnits[0], {
5895
+ symbol: "KiB",
5896
+ factor: binaryBase,
5897
+ names: ["KiB", "kibibyte", "kibibytes"]
5898
+ }, {
5899
+ symbol: "MiB",
5900
+ factor: binaryBase ** /* @__PURE__ */ BigInt(2),
5901
+ names: ["MiB", "mebibyte", "mebibytes"]
5902
+ }, {
5903
+ symbol: "GiB",
5904
+ factor: binaryBase ** /* @__PURE__ */ BigInt(3),
5905
+ names: ["GiB", "gibibyte", "gibibytes"]
5906
+ }, {
5907
+ symbol: "TiB",
5908
+ factor: binaryBase ** /* @__PURE__ */ BigInt(4),
5909
+ names: ["TiB", "tebibyte", "tebibytes"]
5910
+ }, {
5911
+ symbol: "PiB",
5912
+ factor: binaryBase ** /* @__PURE__ */ BigInt(5),
5913
+ names: ["PiB", "pebibyte", "pebibytes"]
5914
+ }, {
5915
+ symbol: "EiB",
5916
+ factor: binaryBase ** /* @__PURE__ */ BigInt(6),
5917
+ names: ["EiB", "exbibyte", "exbibytes"]
5918
+ }, {
5919
+ symbol: "ZiB",
5920
+ factor: binaryBase ** /* @__PURE__ */ BigInt(7),
5921
+ names: ["ZiB", "zebibyte", "zebibytes"]
5922
+ }, {
5923
+ symbol: "YiB",
5924
+ factor: binaryBase ** /* @__PURE__ */ BigInt(8),
5925
+ names: ["YiB", "yobibyte", "yobibytes"]
5926
+ }];
5927
+ var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
5928
+ var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
5929
+ var make4 = (value) => value;
5930
+ var invalid2 = (message) => {
5931
+ throw new Error(`Invalid ByteSize: ${message}`);
5932
+ };
5933
+ var fromNumber = (input) => {
5934
+ if (!Number.isSafeInteger(input) || input < 0) {
5935
+ return invalid2(`expected a non-negative safe integer, received ${input}`);
5936
+ }
5937
+ return make4(BigInt(input));
5938
+ };
5939
+ var maxSafeInteger = /* @__PURE__ */ BigInt(Number.MAX_SAFE_INTEGER);
5940
+ var scaleDecimal = (quantity, factor) => {
5941
+ const match = /^(\d+)(?:\.(\d+))?(?:e([+-]\d+))?$/.exec(quantity);
5942
+ if (match === null)
5943
+ return;
5944
+ const fraction = match[2] ?? "";
5945
+ const numerator = BigInt(match[1] + fraction) * factor;
5946
+ const shift = Number(match[3] ?? 0) - fraction.length;
5947
+ if (shift >= 0)
5948
+ return numerator * BigInt(10) ** BigInt(shift);
5949
+ const scale = BigInt(10) ** BigInt(-shift);
5950
+ return numerator % scale === bigint03 ? numerator / scale : undefined;
5951
+ };
5952
+ var fromStringUnsafe = (input) => {
5953
+ const match = /^\s*(\d+(?:\.\d+)?)\s*([A-Za-z]+)\s*$/.exec(input);
5954
+ if (match === null)
5955
+ return invalid2(`unsupported syntax ${JSON.stringify(input)}`);
5956
+ const unit = unitsByName.get(match[2]);
5957
+ if (unit === undefined)
5958
+ return invalid2(`unsupported unit ${JSON.stringify(match[2])}`);
5959
+ const value = scaleDecimal(match[1], unit.factor);
5960
+ if (value === undefined)
5961
+ return invalid2(`${JSON.stringify(input)} does not represent an integral number of bytes`);
5962
+ return make4(value);
5963
+ };
5964
+ var fromInputUnsafe2 = (input) => {
5965
+ switch (typeof input) {
5966
+ case "bigint":
5967
+ if (input < bigint03)
5968
+ return invalid2(`expected a non-negative bigint, received ${input}`);
5969
+ return make4(input);
5970
+ case "number":
5971
+ return fromNumber(input);
5972
+ case "string":
5973
+ return fromStringUnsafe(input);
5974
+ }
5975
+ return invalid2(`unsupported input ${input}`);
5976
+ };
5977
+ var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
5978
+
5835
5979
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/encoding/Base64.js
5836
5980
  var encode2 = (input) => encodeBytes(typeof input === "string" ? encoder2.encode(input) : input);
5837
5981
  var decode = (str) => {
@@ -8532,7 +8676,7 @@ function compile(ast, compile, compileField, base, specialize) {
8532
8676
  }
8533
8677
 
8534
8678
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/compilerRegistry.js
8535
- var invalid2 = /* @__PURE__ */ Symbol();
8679
+ var invalid3 = /* @__PURE__ */ Symbol();
8536
8680
  var cache = /* @__PURE__ */ new WeakMap;
8537
8681
  var compiler;
8538
8682
  var compilerAdaptersEnabled = false;
@@ -8607,7 +8751,7 @@ function withDecode(fastDecode, decodeEffect) {
8607
8751
  if (input !== missing) {
8608
8752
  try {
8609
8753
  const value = fastDecode(input, options);
8610
- if (value !== invalid2)
8754
+ if (value !== invalid3)
8611
8755
  return value === input ? sameExit : succeed8(value);
8612
8756
  } catch (error) {
8613
8757
  return die3(error);
@@ -8657,7 +8801,7 @@ function makeOption(schema) {
8657
8801
  return none();
8658
8802
  };
8659
8803
  }
8660
- function make4(schema) {
8804
+ function make5(schema) {
8661
8805
  return makeConstructorSync(toType2(schema.ast));
8662
8806
  }
8663
8807
  function is2(schema) {
@@ -8804,7 +8948,7 @@ function constructSync(entry, input, options) {
8804
8948
  } catch (error) {
8805
8949
  throwConstructorDefect(error);
8806
8950
  }
8807
- if (output !== invalid2 && output !== missing)
8951
+ if (output !== invalid3 && output !== missing)
8808
8952
  return output;
8809
8953
  }
8810
8954
  return runSync3(parserResult(entry.makeEffect(input, parseOptions), input), constructorDefectMessage);
@@ -8833,7 +8977,7 @@ var RebuildOptions = /* @__PURE__ */ Symbol();
8833
8977
  var SchemaProto = {
8834
8978
  [TypeId12]: TypeId12,
8835
8979
  get make() {
8836
- const value = make4(this);
8980
+ const value = make5(this);
8837
8981
  Object.defineProperty(this, "make", {
8838
8982
  value,
8839
8983
  enumerable: true
@@ -8869,10 +9013,10 @@ var SchemaProto = {
8869
9013
  return this.rebuild(appendChecks(this.ast, checks));
8870
9014
  },
8871
9015
  rebuild(ast) {
8872
- return make5(ast, this[RebuildOptions]);
9016
+ return make6(ast, this[RebuildOptions]);
8873
9017
  }
8874
9018
  };
8875
- function make5(ast, options) {
9019
+ function make6(ast, options) {
8876
9020
  function Schema() {}
8877
9021
  const self = Object.setPrototypeOf(Schema, SchemaProto);
8878
9022
  if (options && (Object.hasOwn(options, "name") || Object.hasOwn(options, "length") || Object.hasOwn(options, "__proto__"))) {
@@ -8999,7 +9143,7 @@ var OPEN_API_30_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "$comment"
8999
9143
 
9000
9144
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/toCodec.js
9001
9145
  function toCodecJson2(schema) {
9002
- return make5(toCodecJsonAST(schema.ast), {
9146
+ return make6(toCodecJsonAST(schema.ast), {
9003
9147
  schema
9004
9148
  });
9005
9149
  }
@@ -9055,7 +9199,7 @@ function toCodecJsonASTStep(ast, recur) {
9055
9199
  if (!isFunction(getLink)) {
9056
9200
  return replaceEncoding(ast, [unknownToJson]);
9057
9201
  }
9058
- const typeParameters = ast.typeParameters.map((tp) => make5(toEncoded(tp)));
9202
+ const typeParameters = ast.typeParameters.map((tp) => make6(toEncoded(tp)));
9059
9203
  const link = getLink(typeParameters);
9060
9204
  return link === undefined ? ast : replaceEncoding(ast, [mapLink(link, recur)]);
9061
9205
  }
@@ -9090,7 +9234,7 @@ function toCodecJsonASTStep(ast, recur) {
9090
9234
  return ast;
9091
9235
  }
9092
9236
  function toCodecStringTree2(schema) {
9093
- return make5(toCodecStringTreeAST(schema.ast), {
9237
+ return make6(toCodecStringTreeAST(schema.ast), {
9094
9238
  schema
9095
9239
  });
9096
9240
  }
@@ -9110,7 +9254,7 @@ var toStringTreeReorder = /* @__PURE__ */ makeReorder((ast) => {
9110
9254
  function toCodecStringTreeASTStep(ast, recur, onMissingAnnotation) {
9111
9255
  switch (ast._tag) {
9112
9256
  case "Declaration": {
9113
- const typeParameters = ast.typeParameters.map((tp) => make5(recur(toEncoded(tp))));
9257
+ const typeParameters = ast.typeParameters.map((tp) => make6(recur(toEncoded(tp))));
9114
9258
  const getStringTreeLink = ast.annotations?.toCodecStringTree;
9115
9259
  if (isFunction(getStringTreeLink)) {
9116
9260
  const link = getStringTreeLink(typeParameters);
@@ -10599,7 +10743,7 @@ function encodeUnknownSync(schema, options) {
10599
10743
  };
10600
10744
  }
10601
10745
  var encodeSync = encodeUnknownSync;
10602
- var make17 = make5;
10746
+ var make17 = make6;
10603
10747
  function isSchema(u) {
10604
10748
  return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
10605
10749
  }
@@ -11795,4 +11939,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
11795
11939
  var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
11796
11940
  var storable = (value) => isString2(value) ? storableText(value) : Array.isArray(value) ? value.map(storable) : isJsonObject(value) ? Object.fromEntries(Object.entries(value).map(([key, field]) => [storableText(key), storable(field)])) : value;
11797
11941
 
11798
- export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty4, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, getSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty5, of, map6, makeEquivalence2, toPredicate, has, compose, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, fiberInterruptAll, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, forkUnsafe, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, map8, asVoidAll, makeUnsafe5, make15, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, into, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe2, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, combine2, squash, findError, findErrorOption, hasInterrupts2, interruptors, filterInterruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map9, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, encode3, isRedacted, make16, value, Pointer, makeFormatterStandardSchemaV1, passthrough, transform, transformEffect, encodeBase64Url, decodeBase64UrlString, Transformation, transform2, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map10, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, Tuple2, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, link, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, TaggedClass2, Error3, TaggedError2, toEquivalence, toJsonSchemaDocument, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };
11942
+ export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty4, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, getSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty5, of, map6, makeEquivalence2, toPredicate, has, compose, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, fiberInterruptAll, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, forkUnsafe, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, map8, asVoidAll, makeUnsafe5, make15, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, into, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe2, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, combine2, squash, findError, findErrorOption, hasInterrupts2, interruptors, filterInterruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map9, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, toNumber, fromInputUnsafe2, bytes, encode2, decode, encode3, isRedacted, make16, value, Pointer, makeFormatterStandardSchemaV1, passthrough, transform, transformEffect, encodeBase64Url, decodeBase64UrlString, Transformation, transform2, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map10, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, Tuple2, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, link, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, TaggedClass2, Error3, TaggedError2, toEquivalence, toJsonSchemaDocument, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };
@@ -570,7 +570,7 @@ Pause holds a Run and its Child Runs without stopping them: Runners are offered
570
570
 
571
571
  Before you are asked to approve a plan, a plan reviewer checks each of its tickets: one Promise with its Out of scope list, small enough for one agent session, no design decision left open, and the right blockers. When it has concerns, the planner revises the plan once and the reviewer checks it again. What it still disputes is listed at the end of the plan under **Still disputed**, with the planner's reason when it gave one. Each revision you ask for is checked the same way.
572
572
 
573
- A Plan Run waits for a person to approve each revision of its plan, the first and each one a review or the menu's Refine makes, before it offers to build or file it. Its Run page opens on the **Plan** tab while a revision waits for review or is being revised, and the tab renders the plan as a document. Select any text in it, a line, a sentence or a single word, to comment on that quote; your comments collect into one review, kept in the browser until you send it. **Request changes** sends every comment to the planner with its quote, its line in the plan's Markdown and the revision it is on, and the tab stays open to say the planner is revising. The next revision shows **Changes since revision N**, the diff from the last one, and marks each comment of your review **Addressed**, with how, or **Open**, with why when the planner says why it did not act on it. **Approve plan** lets the Run carry on; until then it waits. A Run started with \`implement\` approves a revision nobody answers within an hour, or at once when nobody attends the Run. Words typed in place of a review, in the Inbox or the CLI, reach the planner as one comment on the whole revision.`
573
+ A Plan Run waits for a person to approve each revision of its plan, the first and each one a review or the menu's Refine makes, before it offers to build or file it. Its Run page opens on the **Plan** tab while a revision waits for review or is being revised, and the tab renders the plan as a document. Select any text in it, a line, a sentence or a single word, to comment on that quote; your comments collect into one review, kept in the browser until you send it. **Request changes** sends every comment to the planner with its quote, its line in the plan's Markdown and the revision it is on, and the tab stays open to say the planner is revising. The next revision shows **Changes since revision N**, the diff from the last one, and marks each comment of your review **Addressed**, with how, or **Open**, with why when the planner says why it did not act on it. **Approve plan** lets the Run carry on; until then it waits. A Run started with \`implement\` approves a revision nobody answers within an hour, or at once when nobody attends the Run. From the CLI or Code Mode's \`runs.answer\`, answer the review Question with \`{"approve":true}\` to approve, or with \`{"planReview":{"revision":<n>,"comments":[{"id":"c1","body":"<what should change>"}]}}\` to request changes, \`<n>\` being the revision it asks about; Enter at the CLI's question prompt approves. Kitman refuses any other answer, such as \`approve\`, \`lgtm\` or a review of another revision, says what it accepts, and leaves the Question open; at the CLI's prompt you answer again.`
574
574
  },
575
575
  {
576
576
  title: "Loop Operations Guide \u203A Constraints",
@@ -2230,7 +2230,7 @@ var pathOfLink = (link) => {
2230
2230
  return page === null ? link : page[1] || "index";
2231
2231
  };
2232
2232
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
2233
- var pinnedLink2 = (link, version = "0.45.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2233
+ var pinnedLink2 = (link, version = "0.46.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2234
2234
  var pageOf = (path) => path.split("#")[0];
2235
2235
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
2236
2236
  function excerpt(text, queryTerms) {