toc-ocra 0.3.8 → 0.3.10

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.
package/dist/cli/cli.mjs CHANGED
@@ -40,18 +40,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
40
40
  mod
41
41
  ));
42
42
 
43
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/can-promise.js
43
+ // node_modules/qrcode/lib/can-promise.js
44
44
  var require_can_promise = __commonJS({
45
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/can-promise.js"(exports, module) {
45
+ "node_modules/qrcode/lib/can-promise.js"(exports, module) {
46
46
  module.exports = function() {
47
47
  return typeof Promise === "function" && Promise.prototype && Promise.prototype.then;
48
48
  };
49
49
  }
50
50
  });
51
51
 
52
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/utils.js
52
+ // node_modules/qrcode/lib/core/utils.js
53
53
  var require_utils = __commonJS({
54
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/utils.js"(exports) {
54
+ "node_modules/qrcode/lib/core/utils.js"(exports) {
55
55
  var toSJISFunction;
56
56
  var CODEWORDS_COUNT = [
57
57
  0,
@@ -128,9 +128,9 @@ var require_utils = __commonJS({
128
128
  }
129
129
  });
130
130
 
131
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/error-correction-level.js
131
+ // node_modules/qrcode/lib/core/error-correction-level.js
132
132
  var require_error_correction_level = __commonJS({
133
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/error-correction-level.js"(exports) {
133
+ "node_modules/qrcode/lib/core/error-correction-level.js"(exports) {
134
134
  exports.L = { bit: 1 };
135
135
  exports.M = { bit: 0 };
136
136
  exports.Q = { bit: 3 };
@@ -173,9 +173,9 @@ var require_error_correction_level = __commonJS({
173
173
  }
174
174
  });
175
175
 
176
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/bit-buffer.js
176
+ // node_modules/qrcode/lib/core/bit-buffer.js
177
177
  var require_bit_buffer = __commonJS({
178
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/bit-buffer.js"(exports, module) {
178
+ "node_modules/qrcode/lib/core/bit-buffer.js"(exports, module) {
179
179
  function BitBuffer() {
180
180
  this.buffer = [];
181
181
  this.length = 0;
@@ -208,9 +208,9 @@ var require_bit_buffer = __commonJS({
208
208
  }
209
209
  });
210
210
 
211
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/bit-matrix.js
211
+ // node_modules/qrcode/lib/core/bit-matrix.js
212
212
  var require_bit_matrix = __commonJS({
213
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/bit-matrix.js"(exports, module) {
213
+ "node_modules/qrcode/lib/core/bit-matrix.js"(exports, module) {
214
214
  function BitMatrix(size) {
215
215
  if (!size || size < 1) {
216
216
  throw new Error("BitMatrix size must be defined and greater than 0");
@@ -237,9 +237,9 @@ var require_bit_matrix = __commonJS({
237
237
  }
238
238
  });
239
239
 
240
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/alignment-pattern.js
240
+ // node_modules/qrcode/lib/core/alignment-pattern.js
241
241
  var require_alignment_pattern = __commonJS({
242
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/alignment-pattern.js"(exports) {
242
+ "node_modules/qrcode/lib/core/alignment-pattern.js"(exports) {
243
243
  var getSymbolSize = require_utils().getSymbolSize;
244
244
  exports.getRowColCoords = function getRowColCoords(version2) {
245
245
  if (version2 === 1) return [];
@@ -272,9 +272,9 @@ var require_alignment_pattern = __commonJS({
272
272
  }
273
273
  });
274
274
 
275
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/finder-pattern.js
275
+ // node_modules/qrcode/lib/core/finder-pattern.js
276
276
  var require_finder_pattern = __commonJS({
277
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/finder-pattern.js"(exports) {
277
+ "node_modules/qrcode/lib/core/finder-pattern.js"(exports) {
278
278
  var getSymbolSize = require_utils().getSymbolSize;
279
279
  var FINDER_PATTERN_SIZE = 7;
280
280
  exports.getPositions = function getPositions(version2) {
@@ -291,9 +291,9 @@ var require_finder_pattern = __commonJS({
291
291
  }
292
292
  });
293
293
 
294
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/mask-pattern.js
294
+ // node_modules/qrcode/lib/core/mask-pattern.js
295
295
  var require_mask_pattern = __commonJS({
296
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/mask-pattern.js"(exports) {
296
+ "node_modules/qrcode/lib/core/mask-pattern.js"(exports) {
297
297
  exports.Patterns = {
298
298
  PATTERN000: 0,
299
299
  PATTERN001: 1,
@@ -433,9 +433,9 @@ var require_mask_pattern = __commonJS({
433
433
  }
434
434
  });
435
435
 
436
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/error-correction-code.js
436
+ // node_modules/qrcode/lib/core/error-correction-code.js
437
437
  var require_error_correction_code = __commonJS({
438
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/error-correction-code.js"(exports) {
438
+ "node_modules/qrcode/lib/core/error-correction-code.js"(exports) {
439
439
  var ECLevel = require_error_correction_level();
440
440
  var EC_BLOCKS_TABLE = [
441
441
  // L M Q H
@@ -794,9 +794,9 @@ var require_error_correction_code = __commonJS({
794
794
  }
795
795
  });
796
796
 
797
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/galois-field.js
797
+ // node_modules/qrcode/lib/core/galois-field.js
798
798
  var require_galois_field = __commonJS({
799
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/galois-field.js"(exports) {
799
+ "node_modules/qrcode/lib/core/galois-field.js"(exports) {
800
800
  var EXP_TABLE = new Uint8Array(512);
801
801
  var LOG_TABLE = new Uint8Array(256);
802
802
  (function initTables() {
@@ -827,9 +827,9 @@ var require_galois_field = __commonJS({
827
827
  }
828
828
  });
829
829
 
830
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/polynomial.js
830
+ // node_modules/qrcode/lib/core/polynomial.js
831
831
  var require_polynomial = __commonJS({
832
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/polynomial.js"(exports) {
832
+ "node_modules/qrcode/lib/core/polynomial.js"(exports) {
833
833
  var GF = require_galois_field();
834
834
  exports.mul = function mul(p1, p2) {
835
835
  const coeff = new Uint8Array(p1.length + p2.length - 1);
@@ -863,9 +863,9 @@ var require_polynomial = __commonJS({
863
863
  }
864
864
  });
865
865
 
866
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/reed-solomon-encoder.js
866
+ // node_modules/qrcode/lib/core/reed-solomon-encoder.js
867
867
  var require_reed_solomon_encoder = __commonJS({
868
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/reed-solomon-encoder.js"(exports, module) {
868
+ "node_modules/qrcode/lib/core/reed-solomon-encoder.js"(exports, module) {
869
869
  var Polynomial = require_polynomial();
870
870
  function ReedSolomonEncoder(degree) {
871
871
  this.genPoly = void 0;
@@ -895,18 +895,18 @@ var require_reed_solomon_encoder = __commonJS({
895
895
  }
896
896
  });
897
897
 
898
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/version-check.js
898
+ // node_modules/qrcode/lib/core/version-check.js
899
899
  var require_version_check = __commonJS({
900
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/version-check.js"(exports) {
900
+ "node_modules/qrcode/lib/core/version-check.js"(exports) {
901
901
  exports.isValid = function isValid(version2) {
902
902
  return !isNaN(version2) && version2 >= 1 && version2 <= 40;
903
903
  };
904
904
  }
905
905
  });
906
906
 
907
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/regex.js
907
+ // node_modules/qrcode/lib/core/regex.js
908
908
  var require_regex = __commonJS({
909
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/regex.js"(exports) {
909
+ "node_modules/qrcode/lib/core/regex.js"(exports) {
910
910
  var numeric = "[0-9]+";
911
911
  var alphanumeric = "[A-Z $%*+\\-./:]+";
912
912
  var kanji = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
@@ -932,9 +932,9 @@ var require_regex = __commonJS({
932
932
  }
933
933
  });
934
934
 
935
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/mode.js
935
+ // node_modules/qrcode/lib/core/mode.js
936
936
  var require_mode = __commonJS({
937
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/mode.js"(exports) {
937
+ "node_modules/qrcode/lib/core/mode.js"(exports) {
938
938
  var VersionCheck = require_version_check();
939
939
  var Regex = require_regex();
940
940
  exports.NUMERIC = {
@@ -1013,9 +1013,9 @@ var require_mode = __commonJS({
1013
1013
  }
1014
1014
  });
1015
1015
 
1016
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/version.js
1016
+ // node_modules/qrcode/lib/core/version.js
1017
1017
  var require_version = __commonJS({
1018
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/version.js"(exports) {
1018
+ "node_modules/qrcode/lib/core/version.js"(exports) {
1019
1019
  var Utils = require_utils();
1020
1020
  var ECCode = require_error_correction_code();
1021
1021
  var ECLevel = require_error_correction_level();
@@ -1108,9 +1108,9 @@ var require_version = __commonJS({
1108
1108
  }
1109
1109
  });
1110
1110
 
1111
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/format-info.js
1111
+ // node_modules/qrcode/lib/core/format-info.js
1112
1112
  var require_format_info = __commonJS({
1113
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/format-info.js"(exports) {
1113
+ "node_modules/qrcode/lib/core/format-info.js"(exports) {
1114
1114
  var Utils = require_utils();
1115
1115
  var G15 = 1 << 10 | 1 << 8 | 1 << 5 | 1 << 4 | 1 << 2 | 1 << 1 | 1 << 0;
1116
1116
  var G15_MASK = 1 << 14 | 1 << 12 | 1 << 10 | 1 << 4 | 1 << 1;
@@ -1126,9 +1126,9 @@ var require_format_info = __commonJS({
1126
1126
  }
1127
1127
  });
1128
1128
 
1129
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/numeric-data.js
1129
+ // node_modules/qrcode/lib/core/numeric-data.js
1130
1130
  var require_numeric_data = __commonJS({
1131
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/numeric-data.js"(exports, module) {
1131
+ "node_modules/qrcode/lib/core/numeric-data.js"(exports, module) {
1132
1132
  var Mode = require_mode();
1133
1133
  function NumericData(data) {
1134
1134
  this.mode = Mode.NUMERIC;
@@ -1161,9 +1161,9 @@ var require_numeric_data = __commonJS({
1161
1161
  }
1162
1162
  });
1163
1163
 
1164
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/alphanumeric-data.js
1164
+ // node_modules/qrcode/lib/core/alphanumeric-data.js
1165
1165
  var require_alphanumeric_data = __commonJS({
1166
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/alphanumeric-data.js"(exports, module) {
1166
+ "node_modules/qrcode/lib/core/alphanumeric-data.js"(exports, module) {
1167
1167
  var Mode = require_mode();
1168
1168
  var ALPHA_NUM_CHARS = [
1169
1169
  "0",
@@ -1240,9 +1240,9 @@ var require_alphanumeric_data = __commonJS({
1240
1240
  }
1241
1241
  });
1242
1242
 
1243
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/byte-data.js
1243
+ // node_modules/qrcode/lib/core/byte-data.js
1244
1244
  var require_byte_data = __commonJS({
1245
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/byte-data.js"(exports, module) {
1245
+ "node_modules/qrcode/lib/core/byte-data.js"(exports, module) {
1246
1246
  var Mode = require_mode();
1247
1247
  function ByteData(data) {
1248
1248
  this.mode = Mode.BYTE;
@@ -1270,9 +1270,9 @@ var require_byte_data = __commonJS({
1270
1270
  }
1271
1271
  });
1272
1272
 
1273
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/kanji-data.js
1273
+ // node_modules/qrcode/lib/core/kanji-data.js
1274
1274
  var require_kanji_data = __commonJS({
1275
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/kanji-data.js"(exports, module) {
1275
+ "node_modules/qrcode/lib/core/kanji-data.js"(exports, module) {
1276
1276
  var Mode = require_mode();
1277
1277
  var Utils = require_utils();
1278
1278
  function KanjiData(data) {
@@ -1309,9 +1309,9 @@ var require_kanji_data = __commonJS({
1309
1309
  }
1310
1310
  });
1311
1311
 
1312
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/dijkstrajs/dijkstra.js
1312
+ // node_modules/dijkstrajs/dijkstra.js
1313
1313
  var require_dijkstra = __commonJS({
1314
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/dijkstrajs/dijkstra.js"(exports, module) {
1314
+ "node_modules/dijkstrajs/dijkstra.js"(exports, module) {
1315
1315
  "use strict";
1316
1316
  var dijkstra = {
1317
1317
  single_source_shortest_paths: function(graph, s, d) {
@@ -1410,9 +1410,9 @@ var require_dijkstra = __commonJS({
1410
1410
  }
1411
1411
  });
1412
1412
 
1413
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/segments.js
1413
+ // node_modules/qrcode/lib/core/segments.js
1414
1414
  var require_segments = __commonJS({
1415
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/segments.js"(exports) {
1415
+ "node_modules/qrcode/lib/core/segments.js"(exports) {
1416
1416
  var Mode = require_mode();
1417
1417
  var NumericData = require_numeric_data();
1418
1418
  var AlphanumericData = require_alphanumeric_data();
@@ -1596,9 +1596,9 @@ var require_segments = __commonJS({
1596
1596
  }
1597
1597
  });
1598
1598
 
1599
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/qrcode.js
1599
+ // node_modules/qrcode/lib/core/qrcode.js
1600
1600
  var require_qrcode = __commonJS({
1601
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/core/qrcode.js"(exports) {
1601
+ "node_modules/qrcode/lib/core/qrcode.js"(exports) {
1602
1602
  var Utils = require_utils();
1603
1603
  var ECLevel = require_error_correction_level();
1604
1604
  var BitBuffer = require_bit_buffer();
@@ -1857,9 +1857,9 @@ var require_qrcode = __commonJS({
1857
1857
  }
1858
1858
  });
1859
1859
 
1860
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/chunkstream.js
1860
+ // node_modules/pngjs/lib/chunkstream.js
1861
1861
  var require_chunkstream = __commonJS({
1862
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/chunkstream.js"(exports, module) {
1862
+ "node_modules/pngjs/lib/chunkstream.js"(exports, module) {
1863
1863
  "use strict";
1864
1864
  var util = __require("util");
1865
1865
  var Stream = __require("stream");
@@ -1995,9 +1995,9 @@ var require_chunkstream = __commonJS({
1995
1995
  }
1996
1996
  });
1997
1997
 
1998
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/interlace.js
1998
+ // node_modules/pngjs/lib/interlace.js
1999
1999
  var require_interlace = __commonJS({
2000
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/interlace.js"(exports) {
2000
+ "node_modules/pngjs/lib/interlace.js"(exports) {
2001
2001
  "use strict";
2002
2002
  var imagePasses = [
2003
2003
  {
@@ -2078,9 +2078,9 @@ var require_interlace = __commonJS({
2078
2078
  }
2079
2079
  });
2080
2080
 
2081
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/paeth-predictor.js
2081
+ // node_modules/pngjs/lib/paeth-predictor.js
2082
2082
  var require_paeth_predictor = __commonJS({
2083
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/paeth-predictor.js"(exports, module) {
2083
+ "node_modules/pngjs/lib/paeth-predictor.js"(exports, module) {
2084
2084
  "use strict";
2085
2085
  module.exports = function paethPredictor(left, above, upLeft) {
2086
2086
  let paeth = left + above - upLeft;
@@ -2098,9 +2098,9 @@ var require_paeth_predictor = __commonJS({
2098
2098
  }
2099
2099
  });
2100
2100
 
2101
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/filter-parse.js
2101
+ // node_modules/pngjs/lib/filter-parse.js
2102
2102
  var require_filter_parse = __commonJS({
2103
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/filter-parse.js"(exports, module) {
2103
+ "node_modules/pngjs/lib/filter-parse.js"(exports, module) {
2104
2104
  "use strict";
2105
2105
  var interlaceUtils = require_interlace();
2106
2106
  var paethPredictor = require_paeth_predictor();
@@ -2239,9 +2239,9 @@ var require_filter_parse = __commonJS({
2239
2239
  }
2240
2240
  });
2241
2241
 
2242
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/filter-parse-async.js
2242
+ // node_modules/pngjs/lib/filter-parse-async.js
2243
2243
  var require_filter_parse_async = __commonJS({
2244
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/filter-parse-async.js"(exports, module) {
2244
+ "node_modules/pngjs/lib/filter-parse-async.js"(exports, module) {
2245
2245
  "use strict";
2246
2246
  var util = __require("util");
2247
2247
  var ChunkStream = require_chunkstream();
@@ -2265,9 +2265,9 @@ var require_filter_parse_async = __commonJS({
2265
2265
  }
2266
2266
  });
2267
2267
 
2268
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/constants.js
2268
+ // node_modules/pngjs/lib/constants.js
2269
2269
  var require_constants = __commonJS({
2270
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/constants.js"(exports, module) {
2270
+ "node_modules/pngjs/lib/constants.js"(exports, module) {
2271
2271
  "use strict";
2272
2272
  module.exports = {
2273
2273
  PNG_SIGNATURE: [137, 80, 78, 71, 13, 10, 26, 10],
@@ -2300,9 +2300,9 @@ var require_constants = __commonJS({
2300
2300
  }
2301
2301
  });
2302
2302
 
2303
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/crc.js
2303
+ // node_modules/pngjs/lib/crc.js
2304
2304
  var require_crc = __commonJS({
2305
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/crc.js"(exports, module) {
2305
+ "node_modules/pngjs/lib/crc.js"(exports, module) {
2306
2306
  "use strict";
2307
2307
  var crcTable = [];
2308
2308
  (function() {
@@ -2340,9 +2340,9 @@ var require_crc = __commonJS({
2340
2340
  }
2341
2341
  });
2342
2342
 
2343
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/parser.js
2343
+ // node_modules/pngjs/lib/parser.js
2344
2344
  var require_parser = __commonJS({
2345
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/parser.js"(exports, module) {
2345
+ "node_modules/pngjs/lib/parser.js"(exports, module) {
2346
2346
  "use strict";
2347
2347
  var constants3 = require_constants();
2348
2348
  var CrcCalculator = require_crc();
@@ -2561,9 +2561,9 @@ var require_parser = __commonJS({
2561
2561
  }
2562
2562
  });
2563
2563
 
2564
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/bitmapper.js
2564
+ // node_modules/pngjs/lib/bitmapper.js
2565
2565
  var require_bitmapper = __commonJS({
2566
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/bitmapper.js"(exports) {
2566
+ "node_modules/pngjs/lib/bitmapper.js"(exports) {
2567
2567
  "use strict";
2568
2568
  var interlaceUtils = require_interlace();
2569
2569
  var pixelBppMapper = [
@@ -2809,9 +2809,9 @@ var require_bitmapper = __commonJS({
2809
2809
  }
2810
2810
  });
2811
2811
 
2812
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/format-normaliser.js
2812
+ // node_modules/pngjs/lib/format-normaliser.js
2813
2813
  var require_format_normaliser = __commonJS({
2814
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/format-normaliser.js"(exports, module) {
2814
+ "node_modules/pngjs/lib/format-normaliser.js"(exports, module) {
2815
2815
  "use strict";
2816
2816
  function dePalette(indata, outdata, width, height, palette) {
2817
2817
  let pxPos = 0;
@@ -2890,9 +2890,9 @@ var require_format_normaliser = __commonJS({
2890
2890
  }
2891
2891
  });
2892
2892
 
2893
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/parser-async.js
2893
+ // node_modules/pngjs/lib/parser-async.js
2894
2894
  var require_parser_async = __commonJS({
2895
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/parser-async.js"(exports, module) {
2895
+ "node_modules/pngjs/lib/parser-async.js"(exports, module) {
2896
2896
  "use strict";
2897
2897
  var util = __require("util");
2898
2898
  var zlib = __require("zlib");
@@ -3016,9 +3016,9 @@ var require_parser_async = __commonJS({
3016
3016
  }
3017
3017
  });
3018
3018
 
3019
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/bitpacker.js
3019
+ // node_modules/pngjs/lib/bitpacker.js
3020
3020
  var require_bitpacker = __commonJS({
3021
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/bitpacker.js"(exports, module) {
3021
+ "node_modules/pngjs/lib/bitpacker.js"(exports, module) {
3022
3022
  "use strict";
3023
3023
  var constants3 = require_constants();
3024
3024
  module.exports = function(dataIn, width, height, options) {
@@ -3166,9 +3166,9 @@ var require_bitpacker = __commonJS({
3166
3166
  }
3167
3167
  });
3168
3168
 
3169
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/filter-pack.js
3169
+ // node_modules/pngjs/lib/filter-pack.js
3170
3170
  var require_filter_pack = __commonJS({
3171
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/filter-pack.js"(exports, module) {
3171
+ "node_modules/pngjs/lib/filter-pack.js"(exports, module) {
3172
3172
  "use strict";
3173
3173
  var paethPredictor = require_paeth_predictor();
3174
3174
  function filterNone(pxData, pxPos, byteWidth, rawData, rawPos) {
@@ -3308,9 +3308,9 @@ var require_filter_pack = __commonJS({
3308
3308
  }
3309
3309
  });
3310
3310
 
3311
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/packer.js
3311
+ // node_modules/pngjs/lib/packer.js
3312
3312
  var require_packer = __commonJS({
3313
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/packer.js"(exports, module) {
3313
+ "node_modules/pngjs/lib/packer.js"(exports, module) {
3314
3314
  "use strict";
3315
3315
  var constants3 = require_constants();
3316
3316
  var CrcStream = require_crc();
@@ -3408,9 +3408,9 @@ var require_packer = __commonJS({
3408
3408
  }
3409
3409
  });
3410
3410
 
3411
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/packer-async.js
3411
+ // node_modules/pngjs/lib/packer-async.js
3412
3412
  var require_packer_async = __commonJS({
3413
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/packer-async.js"(exports, module) {
3413
+ "node_modules/pngjs/lib/packer-async.js"(exports, module) {
3414
3414
  "use strict";
3415
3415
  var util = __require("util");
3416
3416
  var Stream = __require("stream");
@@ -3450,9 +3450,9 @@ var require_packer_async = __commonJS({
3450
3450
  }
3451
3451
  });
3452
3452
 
3453
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/sync-inflate.js
3453
+ // node_modules/pngjs/lib/sync-inflate.js
3454
3454
  var require_sync_inflate = __commonJS({
3455
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/sync-inflate.js"(exports, module) {
3455
+ "node_modules/pngjs/lib/sync-inflate.js"(exports, module) {
3456
3456
  "use strict";
3457
3457
  var assert2 = __require("assert").ok;
3458
3458
  var zlib = __require("zlib");
@@ -3587,9 +3587,9 @@ var require_sync_inflate = __commonJS({
3587
3587
  }
3588
3588
  });
3589
3589
 
3590
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/sync-reader.js
3590
+ // node_modules/pngjs/lib/sync-reader.js
3591
3591
  var require_sync_reader = __commonJS({
3592
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/sync-reader.js"(exports, module) {
3592
+ "node_modules/pngjs/lib/sync-reader.js"(exports, module) {
3593
3593
  "use strict";
3594
3594
  var SyncReader = module.exports = function(buffer) {
3595
3595
  this._buffer = buffer;
@@ -3625,9 +3625,9 @@ var require_sync_reader = __commonJS({
3625
3625
  }
3626
3626
  });
3627
3627
 
3628
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/filter-parse-sync.js
3628
+ // node_modules/pngjs/lib/filter-parse-sync.js
3629
3629
  var require_filter_parse_sync = __commonJS({
3630
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/filter-parse-sync.js"(exports) {
3630
+ "node_modules/pngjs/lib/filter-parse-sync.js"(exports) {
3631
3631
  "use strict";
3632
3632
  var SyncReader = require_sync_reader();
3633
3633
  var Filter = require_filter_parse();
@@ -3649,9 +3649,9 @@ var require_filter_parse_sync = __commonJS({
3649
3649
  }
3650
3650
  });
3651
3651
 
3652
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/parser-sync.js
3652
+ // node_modules/pngjs/lib/parser-sync.js
3653
3653
  var require_parser_sync = __commonJS({
3654
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/parser-sync.js"(exports, module) {
3654
+ "node_modules/pngjs/lib/parser-sync.js"(exports, module) {
3655
3655
  "use strict";
3656
3656
  var hasSyncZlib = true;
3657
3657
  var zlib = __require("zlib");
@@ -3740,9 +3740,9 @@ var require_parser_sync = __commonJS({
3740
3740
  }
3741
3741
  });
3742
3742
 
3743
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/packer-sync.js
3743
+ // node_modules/pngjs/lib/packer-sync.js
3744
3744
  var require_packer_sync = __commonJS({
3745
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/packer-sync.js"(exports, module) {
3745
+ "node_modules/pngjs/lib/packer-sync.js"(exports, module) {
3746
3746
  "use strict";
3747
3747
  var hasSyncZlib = true;
3748
3748
  var zlib = __require("zlib");
@@ -3785,9 +3785,9 @@ var require_packer_sync = __commonJS({
3785
3785
  }
3786
3786
  });
3787
3787
 
3788
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/png-sync.js
3788
+ // node_modules/pngjs/lib/png-sync.js
3789
3789
  var require_png_sync = __commonJS({
3790
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/png-sync.js"(exports) {
3790
+ "node_modules/pngjs/lib/png-sync.js"(exports) {
3791
3791
  "use strict";
3792
3792
  var parse4 = require_parser_sync();
3793
3793
  var pack = require_packer_sync();
@@ -3800,9 +3800,9 @@ var require_png_sync = __commonJS({
3800
3800
  }
3801
3801
  });
3802
3802
 
3803
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/png.js
3803
+ // node_modules/pngjs/lib/png.js
3804
3804
  var require_png = __commonJS({
3805
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/pngjs/lib/png.js"(exports) {
3805
+ "node_modules/pngjs/lib/png.js"(exports) {
3806
3806
  "use strict";
3807
3807
  var util = __require("util");
3808
3808
  var Stream = __require("stream");
@@ -3937,9 +3937,9 @@ var require_png = __commonJS({
3937
3937
  }
3938
3938
  });
3939
3939
 
3940
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/utils.js
3940
+ // node_modules/qrcode/lib/renderer/utils.js
3941
3941
  var require_utils2 = __commonJS({
3942
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/utils.js"(exports) {
3942
+ "node_modules/qrcode/lib/renderer/utils.js"(exports) {
3943
3943
  function hex2rgba(hex3) {
3944
3944
  if (typeof hex3 === "number") {
3945
3945
  hex3 = hex3.toString();
@@ -4017,9 +4017,9 @@ var require_utils2 = __commonJS({
4017
4017
  }
4018
4018
  });
4019
4019
 
4020
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/png.js
4020
+ // node_modules/qrcode/lib/renderer/png.js
4021
4021
  var require_png2 = __commonJS({
4022
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/png.js"(exports) {
4022
+ "node_modules/qrcode/lib/renderer/png.js"(exports) {
4023
4023
  var fs = __require("fs");
4024
4024
  var PNG = require_png().PNG;
4025
4025
  var Utils = require_utils2();
@@ -4084,9 +4084,9 @@ var require_png2 = __commonJS({
4084
4084
  }
4085
4085
  });
4086
4086
 
4087
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/utf8.js
4087
+ // node_modules/qrcode/lib/renderer/utf8.js
4088
4088
  var require_utf8 = __commonJS({
4089
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/utf8.js"(exports) {
4089
+ "node_modules/qrcode/lib/renderer/utf8.js"(exports) {
4090
4090
  var Utils = require_utils2();
4091
4091
  var BLOCK_CHAR = {
4092
4092
  WW: " ",
@@ -4146,9 +4146,9 @@ var require_utf8 = __commonJS({
4146
4146
  }
4147
4147
  });
4148
4148
 
4149
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/terminal/terminal.js
4149
+ // node_modules/qrcode/lib/renderer/terminal/terminal.js
4150
4150
  var require_terminal = __commonJS({
4151
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/terminal/terminal.js"(exports) {
4151
+ "node_modules/qrcode/lib/renderer/terminal/terminal.js"(exports) {
4152
4152
  exports.render = function(qrData, options, cb) {
4153
4153
  const size = qrData.modules.size;
4154
4154
  const data = qrData.modules.data;
@@ -4174,9 +4174,9 @@ var require_terminal = __commonJS({
4174
4174
  }
4175
4175
  });
4176
4176
 
4177
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/terminal/terminal-small.js
4177
+ // node_modules/qrcode/lib/renderer/terminal/terminal-small.js
4178
4178
  var require_terminal_small = __commonJS({
4179
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/terminal/terminal-small.js"(exports) {
4179
+ "node_modules/qrcode/lib/renderer/terminal/terminal-small.js"(exports) {
4180
4180
  var backgroundWhite = "\x1B[47m";
4181
4181
  var backgroundBlack = "\x1B[40m";
4182
4182
  var foregroundWhite = "\x1B[37m";
@@ -4233,9 +4233,9 @@ var require_terminal_small = __commonJS({
4233
4233
  }
4234
4234
  });
4235
4235
 
4236
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/terminal.js
4236
+ // node_modules/qrcode/lib/renderer/terminal.js
4237
4237
  var require_terminal2 = __commonJS({
4238
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/terminal.js"(exports) {
4238
+ "node_modules/qrcode/lib/renderer/terminal.js"(exports) {
4239
4239
  var big = require_terminal();
4240
4240
  var small = require_terminal_small();
4241
4241
  exports.render = function(qrData, options, cb) {
@@ -4247,9 +4247,9 @@ var require_terminal2 = __commonJS({
4247
4247
  }
4248
4248
  });
4249
4249
 
4250
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/svg-tag.js
4250
+ // node_modules/qrcode/lib/renderer/svg-tag.js
4251
4251
  var require_svg_tag = __commonJS({
4252
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/svg-tag.js"(exports) {
4252
+ "node_modules/qrcode/lib/renderer/svg-tag.js"(exports) {
4253
4253
  var Utils = require_utils2();
4254
4254
  function getColorAttrib(color, attrib) {
4255
4255
  const alpha = color.a / 255;
@@ -4305,9 +4305,9 @@ var require_svg_tag = __commonJS({
4305
4305
  }
4306
4306
  });
4307
4307
 
4308
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/svg.js
4308
+ // node_modules/qrcode/lib/renderer/svg.js
4309
4309
  var require_svg = __commonJS({
4310
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/svg.js"(exports) {
4310
+ "node_modules/qrcode/lib/renderer/svg.js"(exports) {
4311
4311
  var svgTagRenderer = require_svg_tag();
4312
4312
  exports.render = svgTagRenderer.render;
4313
4313
  exports.renderToFile = function renderToFile(path, qrData, options, cb) {
@@ -4323,9 +4323,9 @@ var require_svg = __commonJS({
4323
4323
  }
4324
4324
  });
4325
4325
 
4326
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/canvas.js
4326
+ // node_modules/qrcode/lib/renderer/canvas.js
4327
4327
  var require_canvas = __commonJS({
4328
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/renderer/canvas.js"(exports) {
4328
+ "node_modules/qrcode/lib/renderer/canvas.js"(exports) {
4329
4329
  var Utils = require_utils2();
4330
4330
  function clearCanvas(ctx, canvas, size) {
4331
4331
  ctx.clearRect(0, 0, canvas.width, canvas.height);
@@ -4376,9 +4376,9 @@ var require_canvas = __commonJS({
4376
4376
  }
4377
4377
  });
4378
4378
 
4379
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/browser.js
4379
+ // node_modules/qrcode/lib/browser.js
4380
4380
  var require_browser = __commonJS({
4381
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/browser.js"(exports) {
4381
+ "node_modules/qrcode/lib/browser.js"(exports) {
4382
4382
  var canPromise = require_can_promise();
4383
4383
  var QRCode2 = require_qrcode();
4384
4384
  var CanvasRenderer = require_canvas();
@@ -4446,9 +4446,9 @@ var require_browser = __commonJS({
4446
4446
  }
4447
4447
  });
4448
4448
 
4449
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/server.js
4449
+ // node_modules/qrcode/lib/server.js
4450
4450
  var require_server = __commonJS({
4451
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/server.js"(exports) {
4451
+ "node_modules/qrcode/lib/server.js"(exports) {
4452
4452
  var canPromise = require_can_promise();
4453
4453
  var QRCode2 = require_qrcode();
4454
4454
  var PngRenderer = require_png2();
@@ -4566,9 +4566,9 @@ var require_server = __commonJS({
4566
4566
  }
4567
4567
  });
4568
4568
 
4569
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/index.js
4569
+ // node_modules/qrcode/lib/index.js
4570
4570
  var require_lib = __commonJS({
4571
- "../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/qrcode/lib/index.js"(exports, module) {
4571
+ "node_modules/qrcode/lib/index.js"(exports, module) {
4572
4572
  module.exports = require_server();
4573
4573
  }
4574
4574
  });
@@ -4577,9 +4577,9 @@ var require_lib = __commonJS({
4577
4577
  import { spawnSync } from "node:child_process";
4578
4578
  import { createHash as createHash5 } from "node:crypto";
4579
4579
  import { existsSync as existsSync7, mkdtempSync, rmSync, writeFileSync as writeFileSync3 } from "node:fs";
4580
- import { tmpdir as tmpdir6 } from "node:os";
4580
+ import { tmpdir as tmpdir5 } from "node:os";
4581
4581
  import { createRequire } from "node:module";
4582
- import { dirname as dirname10, join as join22, resolve as resolve9 } from "node:path";
4582
+ import { dirname as dirname10, join as join23, resolve as resolve9 } from "node:path";
4583
4583
  import { fileURLToPath as fileURLToPath3, pathToFileURL as pathToFileURL2 } from "node:url";
4584
4584
 
4585
4585
  // src/config.ts
@@ -4589,7 +4589,7 @@ import { chmod, mkdir, rename, writeFile } from "node:fs/promises";
4589
4589
  import { homedir, hostname as hostname3, platform } from "node:os";
4590
4590
  import { delimiter, dirname, join, resolve, sep } from "node:path";
4591
4591
 
4592
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/classic/external.js
4592
+ // node_modules/zod/v4/classic/external.js
4593
4593
  var external_exports = {};
4594
4594
  __export(external_exports, {
4595
4595
  $brand: () => $brand,
@@ -4852,7 +4852,7 @@ __export(external_exports, {
4852
4852
  xor: () => xor
4853
4853
  });
4854
4854
 
4855
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/index.js
4855
+ // node_modules/zod/v4/core/index.js
4856
4856
  var core_exports2 = {};
4857
4857
  __export(core_exports2, {
4858
4858
  $ZodAny: () => $ZodAny,
@@ -5169,7 +5169,7 @@ __export(core_exports2, {
5169
5169
  withParser: () => withParser
5170
5170
  });
5171
5171
 
5172
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/util.js
5172
+ // node_modules/zod/v4/core/util.js
5173
5173
  var util_exports = {};
5174
5174
  __export(util_exports, {
5175
5175
  BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
@@ -6025,7 +6025,7 @@ function constantCatch(value) {
6025
6025
  return fn;
6026
6026
  }
6027
6027
 
6028
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/core.js
6028
+ // node_modules/zod/v4/core/core.js
6029
6029
  var _a;
6030
6030
  var NEVER = /* @__PURE__ */ Object.freeze({
6031
6031
  status: "aborted"
@@ -6147,7 +6147,7 @@ function config(newConfig) {
6147
6147
  return globalConfig;
6148
6148
  }
6149
6149
 
6150
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/errors.js
6150
+ // node_modules/zod/v4/core/errors.js
6151
6151
  function _getMessage() {
6152
6152
  const internals = this._zod;
6153
6153
  internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
@@ -6339,7 +6339,7 @@ function prettifyError(error62) {
6339
6339
  return lines.join("\n");
6340
6340
  }
6341
6341
 
6342
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/parse.js
6342
+ // node_modules/zod/v4/core/parse.js
6343
6343
  function finalizeParams(callee, params) {
6344
6344
  return { callee: params?.callee ?? callee, Err: params?.Err };
6345
6345
  }
@@ -6499,7 +6499,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
6499
6499
  };
6500
6500
  var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
6501
6501
 
6502
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/regexes.js
6502
+ // node_modules/zod/v4/core/regexes.js
6503
6503
  var regexes_exports = {};
6504
6504
  __export(regexes_exports, {
6505
6505
  anyString: () => anyString,
@@ -6671,7 +6671,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
6671
6671
  var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
6672
6672
  var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
6673
6673
 
6674
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/checks.js
6674
+ // node_modules/zod/v4/core/checks.js
6675
6675
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
6676
6676
  var _a3;
6677
6677
  inst._zod ?? (inst._zod = {});
@@ -7147,7 +7147,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
7147
7147
  };
7148
7148
  });
7149
7149
 
7150
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/doc.js
7150
+ // node_modules/zod/v4/core/doc.js
7151
7151
  var Doc = class {
7152
7152
  constructor(args = [], closed = {}) {
7153
7153
  this.content = [];
@@ -7188,14 +7188,14 @@ ${content.join("\n")}
7188
7188
  }
7189
7189
  };
7190
7190
 
7191
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/versions.js
7191
+ // node_modules/zod/v4/core/versions.js
7192
7192
  var version = {
7193
7193
  major: 4,
7194
7194
  minor: 6,
7195
7195
  patch: 7
7196
7196
  };
7197
7197
 
7198
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/schemas.js
7198
+ // node_modules/zod/v4/core/schemas.js
7199
7199
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
7200
7200
  var _a3;
7201
7201
  inst ?? (inst = {});
@@ -9637,7 +9637,7 @@ function handleRefineResult(result, payload, input2, inst) {
9637
9637
  }
9638
9638
  }
9639
9639
 
9640
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/memoizer.js
9640
+ // node_modules/zod/v4/core/memoizer.js
9641
9641
  var $ZodCyclicError = class extends Error {
9642
9642
  constructor() {
9643
9643
  super(`Cannot parse a reference cycle that closes through a transform`);
@@ -9914,7 +9914,7 @@ function isBackEdge(ctx, value) {
9914
9914
  return backEdges !== void 0 && isRef(value) && backEdges.has(value);
9915
9915
  }
9916
9916
 
9917
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/index.js
9917
+ // node_modules/zod/v4/locales/index.js
9918
9918
  var locales_exports = {};
9919
9919
  __export(locales_exports, {
9920
9920
  ar: () => ar_default,
@@ -9982,7 +9982,7 @@ __export(locales_exports, {
9982
9982
  zhTW: () => zh_TW_default
9983
9983
  });
9984
9984
 
9985
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ar.js
9985
+ // node_modules/zod/v4/locales/ar.js
9986
9986
  var error = () => {
9987
9987
  const Sizable = {
9988
9988
  string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
@@ -10094,7 +10094,7 @@ function ar_default() {
10094
10094
  };
10095
10095
  }
10096
10096
 
10097
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/az.js
10097
+ // node_modules/zod/v4/locales/az.js
10098
10098
  var error2 = () => {
10099
10099
  const Sizable = {
10100
10100
  string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
@@ -10205,7 +10205,7 @@ function az_default() {
10205
10205
  };
10206
10206
  }
10207
10207
 
10208
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/be.js
10208
+ // node_modules/zod/v4/locales/be.js
10209
10209
  function getBelarusianPlural(count2, one, few, many) {
10210
10210
  const absCount = Math.abs(count2);
10211
10211
  const lastDigit = absCount % 10;
@@ -10374,7 +10374,7 @@ function be_default() {
10374
10374
  };
10375
10375
  }
10376
10376
 
10377
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/bg.js
10377
+ // node_modules/zod/v4/locales/bg.js
10378
10378
  var error4 = () => {
10379
10379
  const Sizable = {
10380
10380
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
@@ -10500,7 +10500,7 @@ function bg_default() {
10500
10500
  };
10501
10501
  }
10502
10502
 
10503
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/bn.js
10503
+ // node_modules/zod/v4/locales/bn.js
10504
10504
  var error5 = () => {
10505
10505
  const Sizable = {
10506
10506
  string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
@@ -10614,7 +10614,7 @@ function bn_default() {
10614
10614
  };
10615
10615
  }
10616
10616
 
10617
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ca.js
10617
+ // node_modules/zod/v4/locales/ca.js
10618
10618
  var error6 = () => {
10619
10619
  const Sizable = {
10620
10620
  string: { unit: "car\xE0cters", verb: "contenir" },
@@ -10728,7 +10728,7 @@ function ca_default() {
10728
10728
  };
10729
10729
  }
10730
10730
 
10731
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ckb.js
10731
+ // node_modules/zod/v4/locales/ckb.js
10732
10732
  var error7 = () => {
10733
10733
  const Sizable = {
10734
10734
  string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
@@ -10861,7 +10861,7 @@ function ckb_default() {
10861
10861
  };
10862
10862
  }
10863
10863
 
10864
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/cs.js
10864
+ // node_modules/zod/v4/locales/cs.js
10865
10865
  var error8 = () => {
10866
10866
  const Sizable = {
10867
10867
  string: { unit: "znak\u016F", verb: "m\xEDt" },
@@ -10978,7 +10978,7 @@ function cs_default() {
10978
10978
  };
10979
10979
  }
10980
10980
 
10981
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/da.js
10981
+ // node_modules/zod/v4/locales/da.js
10982
10982
  var error9 = () => {
10983
10983
  const Sizable = {
10984
10984
  string: { unit: "tegn", verb: "havde" },
@@ -11099,7 +11099,7 @@ function da_default() {
11099
11099
  };
11100
11100
  }
11101
11101
 
11102
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/de.js
11102
+ // node_modules/zod/v4/locales/de.js
11103
11103
  var error10 = () => {
11104
11104
  const Sizable = {
11105
11105
  string: { unit: "Zeichen", verb: "zu haben" },
@@ -11213,7 +11213,7 @@ function de_default() {
11213
11213
  };
11214
11214
  }
11215
11215
 
11216
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/el.js
11216
+ // node_modules/zod/v4/locales/el.js
11217
11217
  var error11 = () => {
11218
11218
  const Sizable = {
11219
11219
  string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
@@ -11326,7 +11326,7 @@ function el_default() {
11326
11326
  };
11327
11327
  }
11328
11328
 
11329
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/en.js
11329
+ // node_modules/zod/v4/locales/en.js
11330
11330
  var error12 = () => {
11331
11331
  const Sizable = {
11332
11332
  string: { unit: "characters", verb: "to have" },
@@ -11451,7 +11451,7 @@ function en_default() {
11451
11451
  };
11452
11452
  }
11453
11453
 
11454
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/eo.js
11454
+ // node_modules/zod/v4/locales/eo.js
11455
11455
  var error13 = () => {
11456
11456
  const Sizable = {
11457
11457
  string: { unit: "karaktrojn", verb: "havi" },
@@ -11566,7 +11566,7 @@ function eo_default() {
11566
11566
  };
11567
11567
  }
11568
11568
 
11569
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/es.js
11569
+ // node_modules/zod/v4/locales/es.js
11570
11570
  var error14 = () => {
11571
11571
  const Sizable = {
11572
11572
  string: { unit: "caracteres", verb: "tener" },
@@ -11703,7 +11703,7 @@ function es_default() {
11703
11703
  };
11704
11704
  }
11705
11705
 
11706
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/fa.js
11706
+ // node_modules/zod/v4/locales/fa.js
11707
11707
  var error15 = () => {
11708
11708
  const Sizable = {
11709
11709
  string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
@@ -11823,7 +11823,7 @@ function fa_default() {
11823
11823
  };
11824
11824
  }
11825
11825
 
11826
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/fi.js
11826
+ // node_modules/zod/v4/locales/fi.js
11827
11827
  var error16 = () => {
11828
11828
  const Sizable = {
11829
11829
  string: { unit: "merkki\xE4", subject: "merkkijonon" },
@@ -11941,7 +11941,7 @@ function fi_default() {
11941
11941
  };
11942
11942
  }
11943
11943
 
11944
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/fr.js
11944
+ // node_modules/zod/v4/locales/fr.js
11945
11945
  var error17 = () => {
11946
11946
  const Sizable = {
11947
11947
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -12071,7 +12071,7 @@ function fr_default() {
12071
12071
  };
12072
12072
  }
12073
12073
 
12074
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/fr-CA.js
12074
+ // node_modules/zod/v4/locales/fr-CA.js
12075
12075
  var error18 = () => {
12076
12076
  const Sizable = {
12077
12077
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -12184,7 +12184,7 @@ function fr_CA_default() {
12184
12184
  };
12185
12185
  }
12186
12186
 
12187
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/gu.js
12187
+ // node_modules/zod/v4/locales/gu.js
12188
12188
  var error19 = () => {
12189
12189
  const Sizable = {
12190
12190
  string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
@@ -12298,7 +12298,7 @@ function gu_default() {
12298
12298
  };
12299
12299
  }
12300
12300
 
12301
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/he.js
12301
+ // node_modules/zod/v4/locales/he.js
12302
12302
  var error20 = () => {
12303
12303
  const TypeNames = {
12304
12304
  string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
@@ -12500,7 +12500,7 @@ function he_default() {
12500
12500
  };
12501
12501
  }
12502
12502
 
12503
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/hi.js
12503
+ // node_modules/zod/v4/locales/hi.js
12504
12504
  var error21 = () => {
12505
12505
  const Sizable = {
12506
12506
  string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
@@ -12612,7 +12612,7 @@ function hi_default() {
12612
12612
  };
12613
12613
  }
12614
12614
 
12615
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/hr.js
12615
+ // node_modules/zod/v4/locales/hr.js
12616
12616
  var error22 = () => {
12617
12617
  const Sizable = {
12618
12618
  string: { unit: "znakova", verb: "imati" },
@@ -12739,7 +12739,7 @@ function hr_default() {
12739
12739
  };
12740
12740
  }
12741
12741
 
12742
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/hu.js
12742
+ // node_modules/zod/v4/locales/hu.js
12743
12743
  var error23 = () => {
12744
12744
  const Sizable = {
12745
12745
  string: { unit: "karakter", verb: "legyen" },
@@ -12853,7 +12853,7 @@ function hu_default() {
12853
12853
  };
12854
12854
  }
12855
12855
 
12856
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/hy.js
12856
+ // node_modules/zod/v4/locales/hy.js
12857
12857
  function getArmenianPlural(count2, one, many) {
12858
12858
  return Math.abs(count2) === 1 ? one : many;
12859
12859
  }
@@ -13012,7 +13012,7 @@ function hy_default() {
13012
13012
  };
13013
13013
  }
13014
13014
 
13015
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/id.js
13015
+ // node_modules/zod/v4/locales/id.js
13016
13016
  var error25 = () => {
13017
13017
  const Sizable = {
13018
13018
  string: { unit: "karakter", verb: "memiliki" },
@@ -13124,7 +13124,7 @@ function id_default() {
13124
13124
  };
13125
13125
  }
13126
13126
 
13127
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/is.js
13127
+ // node_modules/zod/v4/locales/is.js
13128
13128
  var error26 = () => {
13129
13129
  const Sizable = {
13130
13130
  string: { unit: "stafi", verb: "a\xF0 hafa" },
@@ -13239,7 +13239,7 @@ function is_default() {
13239
13239
  };
13240
13240
  }
13241
13241
 
13242
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/it.js
13242
+ // node_modules/zod/v4/locales/it.js
13243
13243
  var error27 = () => {
13244
13244
  const Sizable = {
13245
13245
  string: { unit: "caratteri", verb: "avere" },
@@ -13353,7 +13353,7 @@ function it_default() {
13353
13353
  };
13354
13354
  }
13355
13355
 
13356
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ja.js
13356
+ // node_modules/zod/v4/locales/ja.js
13357
13357
  var error28 = () => {
13358
13358
  const Sizable = {
13359
13359
  string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
@@ -13466,7 +13466,7 @@ function ja_default() {
13466
13466
  };
13467
13467
  }
13468
13468
 
13469
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ka.js
13469
+ // node_modules/zod/v4/locales/ka.js
13470
13470
  var error29 = () => {
13471
13471
  const Sizable = {
13472
13472
  string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
@@ -13584,7 +13584,7 @@ function ka_default() {
13584
13584
  };
13585
13585
  }
13586
13586
 
13587
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/km.js
13587
+ // node_modules/zod/v4/locales/km.js
13588
13588
  var error30 = () => {
13589
13589
  const Sizable = {
13590
13590
  string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
@@ -13700,12 +13700,12 @@ function km_default() {
13700
13700
  };
13701
13701
  }
13702
13702
 
13703
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/kh.js
13703
+ // node_modules/zod/v4/locales/kh.js
13704
13704
  function kh_default() {
13705
13705
  return km_default();
13706
13706
  }
13707
13707
 
13708
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/kn.js
13708
+ // node_modules/zod/v4/locales/kn.js
13709
13709
  var error31 = () => {
13710
13710
  const Sizable = {
13711
13711
  string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
@@ -13821,7 +13821,7 @@ function kn_default() {
13821
13821
  };
13822
13822
  }
13823
13823
 
13824
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ko.js
13824
+ // node_modules/zod/v4/locales/ko.js
13825
13825
  var error32 = () => {
13826
13826
  const Sizable = {
13827
13827
  string: { unit: "\uBB38\uC790", verb: "to have" },
@@ -13938,7 +13938,7 @@ function ko_default() {
13938
13938
  };
13939
13939
  }
13940
13940
 
13941
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/lt.js
13941
+ // node_modules/zod/v4/locales/lt.js
13942
13942
  var capitalizeFirstCharacter = (text3) => {
13943
13943
  return text3.charAt(0).toUpperCase() + text3.slice(1);
13944
13944
  };
@@ -14146,7 +14146,7 @@ function lt_default() {
14146
14146
  };
14147
14147
  }
14148
14148
 
14149
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/mk.js
14149
+ // node_modules/zod/v4/locales/mk.js
14150
14150
  var error34 = () => {
14151
14151
  const Sizable = {
14152
14152
  string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
@@ -14261,7 +14261,7 @@ function mk_default() {
14261
14261
  };
14262
14262
  }
14263
14263
 
14264
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ms.js
14264
+ // node_modules/zod/v4/locales/ms.js
14265
14265
  var error35 = () => {
14266
14266
  const Sizable = {
14267
14267
  string: { unit: "aksara", verb: "mempunyai" },
@@ -14374,7 +14374,7 @@ function ms_default() {
14374
14374
  };
14375
14375
  }
14376
14376
 
14377
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ne.js
14377
+ // node_modules/zod/v4/locales/ne.js
14378
14378
  var error36 = () => {
14379
14379
  const Sizable = {
14380
14380
  string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
@@ -14486,7 +14486,7 @@ function ne_default() {
14486
14486
  };
14487
14487
  }
14488
14488
 
14489
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/nl.js
14489
+ // node_modules/zod/v4/locales/nl.js
14490
14490
  var error37 = () => {
14491
14491
  const Sizable = {
14492
14492
  string: { unit: "tekens", verb: "heeft" },
@@ -14602,7 +14602,7 @@ function nl_default() {
14602
14602
  };
14603
14603
  }
14604
14604
 
14605
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/nn.js
14605
+ // node_modules/zod/v4/locales/nn.js
14606
14606
  var error38 = () => {
14607
14607
  const Sizable = {
14608
14608
  string: { unit: "teikn", verb: "\xE5 ha" },
@@ -14716,7 +14716,7 @@ function nn_default() {
14716
14716
  };
14717
14717
  }
14718
14718
 
14719
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/no.js
14719
+ // node_modules/zod/v4/locales/no.js
14720
14720
  var error39 = () => {
14721
14721
  const Sizable = {
14722
14722
  string: { unit: "tegn", verb: "\xE5 ha" },
@@ -14830,7 +14830,7 @@ function no_default() {
14830
14830
  };
14831
14831
  }
14832
14832
 
14833
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ota.js
14833
+ // node_modules/zod/v4/locales/ota.js
14834
14834
  var error40 = () => {
14835
14835
  const Sizable = {
14836
14836
  string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
@@ -14945,7 +14945,7 @@ function ota_default() {
14945
14945
  };
14946
14946
  }
14947
14947
 
14948
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ps.js
14948
+ // node_modules/zod/v4/locales/ps.js
14949
14949
  var error41 = () => {
14950
14950
  const Sizable = {
14951
14951
  string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
@@ -15065,7 +15065,7 @@ function ps_default() {
15065
15065
  };
15066
15066
  }
15067
15067
 
15068
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/pl.js
15068
+ // node_modules/zod/v4/locales/pl.js
15069
15069
  var error42 = () => {
15070
15070
  const Sizable = {
15071
15071
  string: { unit: "znak\xF3w", verb: "mie\u0107" },
@@ -15180,7 +15180,7 @@ function pl_default() {
15180
15180
  };
15181
15181
  }
15182
15182
 
15183
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/pt.js
15183
+ // node_modules/zod/v4/locales/pt.js
15184
15184
  var error43 = () => {
15185
15185
  const Sizable = {
15186
15186
  string: { unit: "caracteres" },
@@ -15324,7 +15324,7 @@ function pt_default() {
15324
15324
  };
15325
15325
  }
15326
15326
 
15327
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/pt-BR.js
15327
+ // node_modules/zod/v4/locales/pt-BR.js
15328
15328
  var error44 = () => {
15329
15329
  const Sizable = {
15330
15330
  string: { unit: "caracteres" },
@@ -15469,7 +15469,7 @@ function pt_BR_default() {
15469
15469
  };
15470
15470
  }
15471
15471
 
15472
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ro.js
15472
+ // node_modules/zod/v4/locales/ro.js
15473
15473
  var error45 = () => {
15474
15474
  const Sizable = {
15475
15475
  string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
@@ -15592,7 +15592,7 @@ function ro_default() {
15592
15592
  };
15593
15593
  }
15594
15594
 
15595
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ru.js
15595
+ // node_modules/zod/v4/locales/ru.js
15596
15596
  function getRussianPlural(count2, one, few, many) {
15597
15597
  const absCount = Math.abs(count2);
15598
15598
  const lastDigit = absCount % 10;
@@ -15761,7 +15761,7 @@ function ru_default() {
15761
15761
  };
15762
15762
  }
15763
15763
 
15764
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/sk.js
15764
+ // node_modules/zod/v4/locales/sk.js
15765
15765
  var error47 = () => {
15766
15766
  const Sizable = {
15767
15767
  string: { unit: "znakov", verb: "ma\u0165" },
@@ -15878,7 +15878,7 @@ function sk_default() {
15878
15878
  };
15879
15879
  }
15880
15880
 
15881
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/sl.js
15881
+ // node_modules/zod/v4/locales/sl.js
15882
15882
  var error48 = () => {
15883
15883
  const Sizable = {
15884
15884
  string: { unit: "znakov", verb: "imeti" },
@@ -15993,7 +15993,7 @@ function sl_default() {
15993
15993
  };
15994
15994
  }
15995
15995
 
15996
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/sv.js
15996
+ // node_modules/zod/v4/locales/sv.js
15997
15997
  var error49 = () => {
15998
15998
  const Sizable = {
15999
15999
  string: { unit: "tecken", verb: "att ha" },
@@ -16109,7 +16109,7 @@ function sv_default() {
16109
16109
  };
16110
16110
  }
16111
16111
 
16112
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ta.js
16112
+ // node_modules/zod/v4/locales/ta.js
16113
16113
  var error50 = () => {
16114
16114
  const Sizable = {
16115
16115
  string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
@@ -16225,7 +16225,7 @@ function ta_default() {
16225
16225
  };
16226
16226
  }
16227
16227
 
16228
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/tg.js
16228
+ // node_modules/zod/v4/locales/tg.js
16229
16229
  var error51 = () => {
16230
16230
  const Sizable = {
16231
16231
  string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
@@ -16342,7 +16342,7 @@ function tg_default() {
16342
16342
  };
16343
16343
  }
16344
16344
 
16345
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/th.js
16345
+ // node_modules/zod/v4/locales/th.js
16346
16346
  var error52 = () => {
16347
16347
  const Sizable = {
16348
16348
  string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
@@ -16458,7 +16458,7 @@ function th_default() {
16458
16458
  };
16459
16459
  }
16460
16460
 
16461
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/tk.js
16461
+ // node_modules/zod/v4/locales/tk.js
16462
16462
  var error53 = () => {
16463
16463
  const Sizable = {
16464
16464
  string: { unit: "simwol", verb: "bolmaly" },
@@ -16566,7 +16566,7 @@ function tk_default() {
16566
16566
  };
16567
16567
  }
16568
16568
 
16569
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/tr.js
16569
+ // node_modules/zod/v4/locales/tr.js
16570
16570
  var error54 = () => {
16571
16571
  const Sizable = {
16572
16572
  string: { unit: "karakter", verb: "olmal\u0131" },
@@ -16677,7 +16677,7 @@ function tr_default() {
16677
16677
  };
16678
16678
  }
16679
16679
 
16680
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/uk.js
16680
+ // node_modules/zod/v4/locales/uk.js
16681
16681
  var error55 = () => {
16682
16682
  const Sizable = {
16683
16683
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
@@ -16791,12 +16791,12 @@ function uk_default() {
16791
16791
  };
16792
16792
  }
16793
16793
 
16794
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ua.js
16794
+ // node_modules/zod/v4/locales/ua.js
16795
16795
  function ua_default() {
16796
16796
  return uk_default();
16797
16797
  }
16798
16798
 
16799
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/ur.js
16799
+ // node_modules/zod/v4/locales/ur.js
16800
16800
  var error56 = () => {
16801
16801
  const Sizable = {
16802
16802
  string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
@@ -16912,7 +16912,7 @@ function ur_default() {
16912
16912
  };
16913
16913
  }
16914
16914
 
16915
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/uz.js
16915
+ // node_modules/zod/v4/locales/uz.js
16916
16916
  var error57 = () => {
16917
16917
  const Sizable = {
16918
16918
  string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
@@ -17026,7 +17026,7 @@ function uz_default() {
17026
17026
  };
17027
17027
  }
17028
17028
 
17029
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/vi.js
17029
+ // node_modules/zod/v4/locales/vi.js
17030
17030
  var error58 = () => {
17031
17031
  const Sizable = {
17032
17032
  string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
@@ -17140,7 +17140,7 @@ function vi_default() {
17140
17140
  };
17141
17141
  }
17142
17142
 
17143
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/zh-CN.js
17143
+ // node_modules/zod/v4/locales/zh-CN.js
17144
17144
  var error59 = () => {
17145
17145
  const Sizable = {
17146
17146
  string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
@@ -17255,7 +17255,7 @@ function zh_CN_default() {
17255
17255
  };
17256
17256
  }
17257
17257
 
17258
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/zh-TW.js
17258
+ // node_modules/zod/v4/locales/zh-TW.js
17259
17259
  var error60 = () => {
17260
17260
  const Sizable = {
17261
17261
  string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
@@ -17368,7 +17368,7 @@ function zh_TW_default() {
17368
17368
  };
17369
17369
  }
17370
17370
 
17371
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/locales/yo.js
17371
+ // node_modules/zod/v4/locales/yo.js
17372
17372
  var error61 = () => {
17373
17373
  const Sizable = {
17374
17374
  string: { unit: "\xE0mi", verb: "n\xED" },
@@ -17481,7 +17481,7 @@ function yo_default() {
17481
17481
  };
17482
17482
  }
17483
17483
 
17484
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/registries.js
17484
+ // node_modules/zod/v4/core/registries.js
17485
17485
  var _a2;
17486
17486
  var $output = /* @__PURE__ */ Symbol("ZodOutput");
17487
17487
  var $input = /* @__PURE__ */ Symbol("ZodInput");
@@ -17531,7 +17531,7 @@ function registry() {
17531
17531
  (_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
17532
17532
  var globalRegistry = globalThis.__zod_globalRegistry;
17533
17533
 
17534
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/compile.js
17534
+ // node_modules/zod/v4/core/compile.js
17535
17535
  var INVALID = /* @__PURE__ */ Symbol.for("zod.compile.invalid");
17536
17536
  var FALLBACK_FLAG = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
17537
17537
  var ZodCompileAsyncError = class extends Error {
@@ -19141,7 +19141,7 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
19141
19141
  return accessor;
19142
19142
  }
19143
19143
 
19144
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/api.js
19144
+ // node_modules/zod/v4/core/api.js
19145
19145
  function snapshotChecks(def) {
19146
19146
  if (def.checks)
19147
19147
  def.checks = [...def.checks];
@@ -20200,7 +20200,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
20200
20200
  return inst;
20201
20201
  }
20202
20202
 
20203
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/to-json-schema.js
20203
+ // node_modules/zod/v4/core/to-json-schema.js
20204
20204
  function assignProps(target, ...sources) {
20205
20205
  for (const source of sources) {
20206
20206
  for (const key of Reflect.ownKeys(source)) {
@@ -20730,7 +20730,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
20730
20730
  return finalize(ctx, schema);
20731
20731
  };
20732
20732
 
20733
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/json-schema-processors.js
20733
+ // node_modules/zod/v4/core/json-schema-processors.js
20734
20734
  var narrowMin = (agg, key, value) => {
20735
20735
  if (agg[key] === void 0 || value > agg[key])
20736
20736
  agg[key] = value;
@@ -21478,7 +21478,7 @@ function toJSONSchema(input2, params) {
21478
21478
  return finalize(ctx, input2);
21479
21479
  }
21480
21480
 
21481
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/json-schema-generator.js
21481
+ // node_modules/zod/v4/core/json-schema-generator.js
21482
21482
  var JSONSchemaGenerator = class {
21483
21483
  /** @deprecated Access via ctx instead */
21484
21484
  get metadataRegistry() {
@@ -21556,10 +21556,10 @@ var JSONSchemaGenerator = class {
21556
21556
  }
21557
21557
  };
21558
21558
 
21559
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/json-schema.js
21559
+ // node_modules/zod/v4/core/json-schema.js
21560
21560
  var json_schema_exports = {};
21561
21561
 
21562
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/classic/schemas.js
21562
+ // node_modules/zod/v4/classic/schemas.js
21563
21563
  var schemas_exports2 = {};
21564
21564
  __export(schemas_exports2, {
21565
21565
  ZodAny: () => ZodAny,
@@ -21740,7 +21740,7 @@ __export(schemas_exports2, {
21740
21740
  xor: () => xor
21741
21741
  });
21742
21742
 
21743
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/classic/checks.js
21743
+ // node_modules/zod/v4/classic/checks.js
21744
21744
  var checks_exports2 = {};
21745
21745
  __export(checks_exports2, {
21746
21746
  endsWith: () => _endsWith,
@@ -21775,7 +21775,7 @@ __export(checks_exports2, {
21775
21775
  uppercase: () => _uppercase
21776
21776
  });
21777
21777
 
21778
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/classic/errors.js
21778
+ // node_modules/zod/v4/classic/errors.js
21779
21779
  var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
21780
21780
  function _lazyMethod(proto, key, make) {
21781
21781
  Object.defineProperty(proto, key, {
@@ -21821,7 +21821,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
21821
21821
  Parent: Error
21822
21822
  });
21823
21823
 
21824
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/classic/parse.js
21824
+ // node_modules/zod/v4/classic/parse.js
21825
21825
  var parse2 = /* @__PURE__ */ _parse(ZodRealError);
21826
21826
  var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
21827
21827
  var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
@@ -21835,7 +21835,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
21835
21835
  var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
21836
21836
  var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
21837
21837
 
21838
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/classic/schemas.js
21838
+ // node_modules/zod/v4/classic/schemas.js
21839
21839
  function _ensureDefaultLocale() {
21840
21840
  if (!globalConfig.localeError)
21841
21841
  config(en_default());
@@ -23300,7 +23300,7 @@ function preprocess(fn, schema) {
23300
23300
  });
23301
23301
  }
23302
23302
 
23303
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/classic/compat.js
23303
+ // node_modules/zod/v4/classic/compat.js
23304
23304
  var ZodIssueCode = {
23305
23305
  invalid_type: "invalid_type",
23306
23306
  too_big: "too_big",
@@ -23326,7 +23326,7 @@ var ZodFirstPartyTypeKind;
23326
23326
  /* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
23327
23327
  })(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
23328
23328
 
23329
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/classic/iso.js
23329
+ // node_modules/zod/v4/classic/iso.js
23330
23330
  var iso_exports = {};
23331
23331
  __export(iso_exports, {
23332
23332
  ZodISODate: () => ZodISODate,
@@ -23351,7 +23351,7 @@ function duration2(params) {
23351
23351
  return _isoDuration(ZodISODuration, params);
23352
23352
  }
23353
23353
 
23354
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/classic/from-json-schema.js
23354
+ // node_modules/zod/v4/classic/from-json-schema.js
23355
23355
  var z = {
23356
23356
  ...schemas_exports2,
23357
23357
  ...checks_exports2,
@@ -24084,7 +24084,7 @@ function fromJSONSchema(schema, params) {
24084
24084
  return convertSchema(normalized, ctx);
24085
24085
  }
24086
24086
 
24087
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/core/visit.js
24087
+ // node_modules/zod/v4/core/visit.js
24088
24088
  var RESOLVING = /* @__PURE__ */ Symbol("z.visit/resolving");
24089
24089
  function visit(schema, fnOrHandlers) {
24090
24090
  const fn = typeof fnOrHandlers === "function" ? fnOrHandlers : (node2, rewritten) => {
@@ -24239,7 +24239,7 @@ function visit(schema, fnOrHandlers) {
24239
24239
  return run2(schema);
24240
24240
  }
24241
24241
 
24242
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/classic/deep-partial.js
24242
+ // node_modules/zod/v4/classic/deep-partial.js
24243
24243
  function deepPartial(schema) {
24244
24244
  return visit(schema, {
24245
24245
  object: (s) => s.partial(),
@@ -24251,7 +24251,7 @@ function deepPartial(schema) {
24251
24251
  });
24252
24252
  }
24253
24253
 
24254
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/classic/in-out.js
24254
+ // node_modules/zod/v4/classic/in-out.js
24255
24255
  function withChecks(side, checks) {
24256
24256
  if (!checks?.length)
24257
24257
  return side;
@@ -24281,7 +24281,7 @@ function output(schema) {
24281
24281
  });
24282
24282
  }
24283
24283
 
24284
- // ../../../../../../../Users/lbz/lbz/dev/project/we/echo/toc_ocra/node_modules/zod/v4/classic/coerce.js
24284
+ // node_modules/zod/v4/classic/coerce.js
24285
24285
  var coerce_exports = {};
24286
24286
  __export(coerce_exports, {
24287
24287
  bigint: () => bigint3,
@@ -24868,7 +24868,14 @@ function createPosixPlatform(id) {
24868
24868
  // Why: pnpm uses platform-specific global bin directories that differ
24869
24869
  // from npm's ~/.local/bin.
24870
24870
  id === "darwin" ? join4(home, "Library", "pnpm") : join4(home, ".local", "share", "pnpm"),
24871
- join4(home, ".yarn", "bin")
24871
+ join4(home, ".yarn", "bin"),
24872
+ // ChatGPT ships the Codex CLI inside the app bundle. GUI-launched
24873
+ // services do not inherit the app's private PATH entry, so include the
24874
+ // stable bundle bin location when resolving installed CLIs on macOS.
24875
+ ...id === "darwin" ? [
24876
+ "/Applications/ChatGPT.app/Contents/Resources/codex-cli/bin",
24877
+ join4(home, "Applications", "ChatGPT.app", "Contents", "Resources", "codex-cli", "bin")
24878
+ ] : []
24872
24879
  ],
24873
24880
  fallbackBinDirectories: (home) => ["/opt/homebrew/bin", "/usr/local/bin", join4(home, ".local", "bin")],
24874
24881
  normalizeEnvironment: (env) => ({ ...env }),
@@ -25307,7 +25314,7 @@ function textRows(prefix, text3, maxRows = 40) {
25307
25314
 
25308
25315
  // src/acp/acp-launch-specs.ts
25309
25316
  import { realpathSync as realpathSync2 } from "node:fs";
25310
- import { join as join11 } from "node:path";
25317
+ import { join as join12 } from "node:path";
25311
25318
 
25312
25319
  // src/providers/cli/codex-catalog.ts
25313
25320
  import { spawn as spawn3 } from "node:child_process";
@@ -25452,38 +25459,41 @@ function codexCatalogArgs() {
25452
25459
  // src/providers/model-catalog.ts
25453
25460
  import { spawn as spawn5 } from "node:child_process";
25454
25461
  import { readFile as readFile3 } from "node:fs/promises";
25455
- import { homedir as homedir5 } from "node:os";
25456
- import { isAbsolute as isAbsolute2, join as join8, resolve as resolve3 } from "node:path";
25462
+ import { homedir as homedir6 } from "node:os";
25463
+ import { isAbsolute as isAbsolute2, join as join9, resolve as resolve3 } from "node:path";
25457
25464
 
25458
25465
  // src/providers/kiro-auth.ts
25459
25466
  import { execFile as execFile3 } from "node:child_process";
25460
- import { tmpdir } from "node:os";
25467
+ import { homedir as homedir5 } from "node:os";
25468
+ import { join as join8 } from "node:path";
25461
25469
  import { promisify } from "node:util";
25462
25470
  var execFileAsync = promisify(execFile3);
25463
- async function requireKiroAuthentication(environment) {
25464
- const launch = launchCli({
25465
- spec: requireCliSpec("kiro"),
25466
- args: ["whoami", "--format", "json"],
25467
- ...environment ? { env: environment } : {}
25468
- });
25471
+ var NOT_AUTHENTICATED = "Kiro CLI \u672A\u767B\u5F55\u6216\u65E0\u6CD5\u786E\u8BA4\u767B\u5F55\u72B6\u6001\uFF0C\u8BF7\u5728\u672C\u673A\u767B\u5F55\u540E\u91CD\u8BD5";
25472
+ var knownUnauthenticated = false;
25473
+ async function hasStoredAuthentication(environment) {
25474
+ if (environment.KIRO_API_KEY?.trim()) return true;
25475
+ const database = process.platform === "darwin" ? join8(homedir5(), "Library", "Application Support", "kiro-cli", "data.sqlite3") : process.platform === "win32" ? join8(environment.LOCALAPPDATA || join8(homedir5(), "AppData", "Local"), "Kiro-Cli", "data.sqlite3") : join8(environment.XDG_DATA_HOME || join8(homedir5(), ".local", "share"), "kiro-cli", "data.sqlite3");
25476
+ const sql = "SELECT 1 FROM auth_kv WHERE key IN ('kirocli:odic:token', 'codewhisperer:odic:token', 'kirocli:external-idp:token', 'kirocli:social:token') AND (json_extract(value, '$.expires_at') IS NULL OR julianday(json_extract(value, '$.expires_at')) > julianday('now')) LIMIT 1;";
25469
25477
  try {
25470
- const { stdout } = await execFileAsync(launch.executable, launch.args, {
25471
- env: launch.env,
25472
- cwd: tmpdir(),
25473
- timeout: 1e4,
25474
- maxBuffer: 64 * 1024,
25478
+ const { stdout } = await execFileAsync("sqlite3", ["-readonly", database, sql], {
25479
+ env: environment,
25480
+ timeout: 3e3,
25481
+ maxBuffer: 1024,
25475
25482
  windowsHide: true
25476
25483
  });
25477
- const value = JSON.parse(stdout);
25478
- if (value && typeof value === "object" && !Array.isArray(value)) {
25479
- const result = value;
25480
- const account = result.account && typeof result.account === "object" && !Array.isArray(result.account) ? result.account : result;
25481
- const accountType = account.accountType ?? result.accountType;
25482
- if (typeof accountType === "string" && accountType.trim() && !/^(?:none|unknown|anonymous|unauthenticated|not[\s_-]*logged[\s_-]*in)$/i.test(accountType.trim())) return;
25483
- }
25484
+ return stdout.trim() === "1";
25484
25485
  } catch {
25486
+ return false;
25485
25487
  }
25486
- throw new Error("Kiro CLI \u672A\u767B\u5F55\u6216\u65E0\u6CD5\u786E\u8BA4\u767B\u5F55\u72B6\u6001\uFF0C\u8BF7\u5728\u672C\u673A\u767B\u5F55\u540E\u91CD\u8BD5");
25488
+ }
25489
+ async function requireKiroAuthentication(environment, options = {}) {
25490
+ if (knownUnauthenticated && !options.force) throw new Error(NOT_AUTHENTICATED);
25491
+ if (await hasStoredAuthentication(environment ?? process.env)) {
25492
+ knownUnauthenticated = false;
25493
+ return;
25494
+ }
25495
+ knownUnauthenticated = true;
25496
+ throw new Error(NOT_AUTHENTICATED);
25487
25497
  }
25488
25498
 
25489
25499
  // src/providers/kiro-models.ts
@@ -25606,15 +25616,15 @@ function parseClaudeModelCatalog(settings, environment = process.env, fetchedAt
25606
25616
  if (defaultModel) catalog.default_model = defaultModel;
25607
25617
  return catalog;
25608
25618
  }
25609
- var claudeHome = () => process.env.CLAUDE_CONFIG_DIR?.trim() || join8(homedir5(), ".claude");
25610
- var codexHome2 = () => process.env.CODEX_HOME?.trim() || join8(homedir5(), ".codex");
25611
- var geminiHome = () => process.env.GEMINI_CLI_HOME?.trim() || join8(homedir5(), ".gemini");
25612
- var grokHome = () => process.env.GROK_HOME?.trim() || join8(homedir5(), ".grok");
25613
- var opencodeHome = () => join8(process.env.XDG_CONFIG_HOME?.trim() || join8(homedir5(), ".config"), "opencode");
25614
- var kiroHome = () => join8(homedir5(), ".kiro");
25619
+ var claudeHome = () => process.env.CLAUDE_CONFIG_DIR?.trim() || join9(homedir6(), ".claude");
25620
+ var codexHome2 = () => process.env.CODEX_HOME?.trim() || join9(homedir6(), ".codex");
25621
+ var geminiHome = () => process.env.GEMINI_CLI_HOME?.trim() || join9(homedir6(), ".gemini");
25622
+ var grokHome = () => process.env.GROK_HOME?.trim() || join9(homedir6(), ".grok");
25623
+ var opencodeHome = () => join9(process.env.XDG_CONFIG_HOME?.trim() || join9(homedir6(), ".config"), "opencode");
25624
+ var kiroHome = () => join9(homedir6(), ".kiro");
25615
25625
  async function readClaudeModelCatalog() {
25616
25626
  const home = claudeHome();
25617
- const content = await readFile3(join8(home, "settings.json"), "utf8").catch(() => "");
25627
+ const content = await readFile3(join9(home, "settings.json"), "utf8").catch(() => "");
25618
25628
  let settings = {};
25619
25629
  if (content) {
25620
25630
  try {
@@ -25676,13 +25686,13 @@ async function readCodexModels(codexHome3, config2) {
25676
25686
  const configuredModels = parseCodexModels(await readFile3(catalogPath, "utf8").catch(() => ""));
25677
25687
  if (configuredModels?.length) return configuredModels;
25678
25688
  }
25679
- const cached3 = parseCodexModels(await readFile3(join8(codexHome3, "models_cache.json"), "utf8").catch(() => ""));
25689
+ const cached3 = parseCodexModels(await readFile3(join9(codexHome3, "models_cache.json"), "utf8").catch(() => ""));
25680
25690
  if (cached3?.length) return cached3;
25681
25691
  return codexModelsFrom(await codexBundledCatalog().catch(() => void 0), { listedOnly: true }) ?? [];
25682
25692
  }
25683
25693
  async function readCodexModelCatalog() {
25684
25694
  const home = codexHome2();
25685
- const config2 = await readFile3(join8(home, "config.toml"), "utf8").catch(() => "");
25695
+ const config2 = await readFile3(join9(home, "config.toml"), "utf8").catch(() => "");
25686
25696
  const models2 = await readCodexModels(home, config2);
25687
25697
  const defaultModel = configValue(config2, "model");
25688
25698
  const defaultReasoningEffort = configValue(config2, "model_reasoning_effort");
@@ -25775,7 +25785,7 @@ function withKnownEfforts(base, known) {
25775
25785
  async function readKiroModelCatalog(options = {}) {
25776
25786
  const environment = mergeShellProxyEnvironment(await hydrateShellPath(), providerEnvironment());
25777
25787
  const kiro = requireCliSpec("kiro");
25778
- await requireKiroAuthentication(environment);
25788
+ await requireKiroAuthentication(environment, { force: options.force === true });
25779
25789
  const listLaunch = launchCli({ spec: kiro, args: ["chat", "--list-models", "--format", "json"], env: environment });
25780
25790
  const output2 = await runModelListCommand(listLaunch.executable, listLaunch.args, "kiro-cli", environment);
25781
25791
  let listed;
@@ -25796,7 +25806,7 @@ async function readKiroModelCatalog(options = {}) {
25796
25806
  if (current) return known.catalog;
25797
25807
  try {
25798
25808
  const launch = launchCli({ spec: kiro, args: ["acp", "--trust-tools="], env: environment });
25799
- const catalog = await readKiroNativeModels(launch, homedir5(), { catalog: base });
25809
+ const catalog = await readKiroNativeModels(launch, homedir6(), { catalog: base });
25800
25810
  kiroEfforts = { signature, readAt: Date.now(), catalog };
25801
25811
  return catalog;
25802
25812
  } catch {
@@ -25805,7 +25815,7 @@ async function readKiroModelCatalog(options = {}) {
25805
25815
  };
25806
25816
  const [payload, content] = await Promise.all([
25807
25817
  readEfforts(),
25808
- readFile3(join8(kiroHome(), "settings", "cli.json"), "utf8").catch(() => "{}")
25818
+ readFile3(join9(kiroHome(), "settings", "cli.json"), "utf8").catch(() => "{}")
25809
25819
  ]);
25810
25820
  let settings;
25811
25821
  try {
@@ -25862,7 +25872,7 @@ function geminiModelsUrl(baseUrl) {
25862
25872
  }
25863
25873
  async function readGeminiModelCatalog() {
25864
25874
  const fileEnvironment = parseEnvFile(
25865
- await readFile3(join8(geminiHome(), ".env"), "utf8").catch(() => "")
25875
+ await readFile3(join9(geminiHome(), ".env"), "utf8").catch(() => "")
25866
25876
  );
25867
25877
  const environment = { ...fileEnvironment, ...process.env };
25868
25878
  const baseUrl = environment.GOOGLE_GEMINI_BASE_URL?.trim();
@@ -25907,7 +25917,7 @@ function parseGrokModelCatalog(output2, config2 = "", fetchedAt = (/* @__PURE__
25907
25917
  return catalog;
25908
25918
  }
25909
25919
  async function readGrokModelCatalog() {
25910
- const config2 = await readFile3(join8(grokHome(), "config.toml"), "utf8").catch(() => "");
25920
+ const config2 = await readFile3(join9(grokHome(), "config.toml"), "utf8").catch(() => "");
25911
25921
  const output2 = await runModelListCommand(cliExecutable("grok"), ["models"], "grok");
25912
25922
  const catalog = parseGrokModelCatalog(output2, config2);
25913
25923
  if (catalog.models.length === 0) throw new Error("Grok \u672C\u673A\u672A\u8FD4\u56DE\u53EF\u7528\u6A21\u578B");
@@ -25926,31 +25936,30 @@ function parseOpencodeModelCatalog(output2, config2 = "", fetchedAt = (/* @__PUR
25926
25936
  return catalog;
25927
25937
  }
25928
25938
  async function readOpencodeModelCatalog() {
25929
- const config2 = await readFile3(join8(opencodeHome(), "opencode.json"), "utf8").catch(() => "") || await readFile3(join8(opencodeHome(), "opencode.jsonc"), "utf8").catch(() => "");
25939
+ const config2 = await readFile3(join9(opencodeHome(), "opencode.json"), "utf8").catch(() => "") || await readFile3(join9(opencodeHome(), "opencode.jsonc"), "utf8").catch(() => "");
25930
25940
  const output2 = await runModelListCommand(cliExecutable("opencode"), ["models"], "opencode");
25931
25941
  const catalog = parseOpencodeModelCatalog(output2, config2);
25932
25942
  if (catalog.models.length === 0) throw new Error("OpenCode \u672C\u673A\u672A\u8FD4\u56DE\u53EF\u7528\u6A21\u578B");
25933
25943
  return catalog;
25934
25944
  }
25935
25945
  var TEN_MINUTES = 10 * 60 * 1e3;
25936
- var TWO_MINUTES = 2 * 60 * 1e3;
25937
25946
  var MODEL_SOURCES = {
25938
- claude: { read: readClaudeModelCatalog, watchFiles: () => [join8(claudeHome(), "settings.json")] },
25947
+ claude: { read: readClaudeModelCatalog, watchFiles: () => [join9(claudeHome(), "settings.json")] },
25939
25948
  codex: {
25940
25949
  read: readCodexModelCatalog,
25941
25950
  watchFiles: () => {
25942
25951
  const home = codexHome2();
25943
- return [join8(home, "config.toml"), join8(home, "models_cache.json")];
25952
+ return [join9(home, "config.toml"), join9(home, "models_cache.json")];
25944
25953
  },
25945
25954
  // model_catalog_json may point anywhere; a periodic re-read covers it.
25946
25955
  refreshEveryMs: TEN_MINUTES
25947
25956
  },
25948
- gemini: { read: readGeminiModelCatalog, watchFiles: () => [join8(geminiHome(), ".env")], refreshEveryMs: TEN_MINUTES },
25949
- grok: { read: readGrokModelCatalog, watchFiles: () => [join8(grokHome(), "config.toml")], refreshEveryMs: TEN_MINUTES },
25950
- kiro: { read: readKiroModelCatalog, watchFiles: () => [join8(kiroHome(), "settings", "cli.json")], refreshEveryMs: TWO_MINUTES },
25957
+ gemini: { read: readGeminiModelCatalog, watchFiles: () => [join9(geminiHome(), ".env")], refreshEveryMs: TEN_MINUTES },
25958
+ grok: { read: readGrokModelCatalog, watchFiles: () => [join9(grokHome(), "config.toml")], refreshEveryMs: TEN_MINUTES },
25959
+ kiro: { read: readKiroModelCatalog, watchFiles: () => [join9(kiroHome(), "settings", "cli.json")] },
25951
25960
  opencode: {
25952
25961
  read: readOpencodeModelCatalog,
25953
- watchFiles: () => [join8(opencodeHome(), "opencode.json"), join8(opencodeHome(), "opencode.jsonc")],
25962
+ watchFiles: () => [join9(opencodeHome(), "opencode.json"), join9(opencodeHome(), "opencode.jsonc")],
25954
25963
  refreshEveryMs: TEN_MINUTES
25955
25964
  }
25956
25965
  };
@@ -26064,11 +26073,11 @@ function classifySpawnError(error62, context) {
26064
26073
 
26065
26074
  // src/providers/cli/kiro-session-log.ts
26066
26075
  import { open as open2, readdir, readFile as readFile4, stat as stat2 } from "node:fs/promises";
26067
- import { homedir as homedir6 } from "node:os";
26068
- import { join as join9 } from "node:path";
26076
+ import { homedir as homedir7 } from "node:os";
26077
+ import { join as join10 } from "node:path";
26069
26078
  var SHELL_TOOLS = /* @__PURE__ */ new Set(["shell", "execute_bash", "bash"]);
26070
26079
  function kiroSessionsDirectory() {
26071
- return process.env.TOC_OCRA_KIRO_SESSIONS_DIR || join9(homedir6(), ".kiro", "sessions", "cli");
26080
+ return process.env.TOC_OCRA_KIRO_SESSIONS_DIR || join10(homedir7(), ".kiro", "sessions", "cli");
26072
26081
  }
26073
26082
  var KiroSessionLog = class {
26074
26083
  constructor(options) {
@@ -26087,7 +26096,7 @@ var KiroSessionLog = class {
26087
26096
  /** Called before the CLI starts: a resumed log is followed from its current end. */
26088
26097
  async begin() {
26089
26098
  if (!this.options.sessionId) return;
26090
- this.path = join9(this.directory, `${this.options.sessionId}.jsonl`);
26099
+ this.path = join10(this.directory, `${this.options.sessionId}.jsonl`);
26091
26100
  this.offset = await stat2(this.path).then((info) => info.size, () => 0);
26092
26101
  }
26093
26102
  /**
@@ -26100,11 +26109,11 @@ var KiroSessionLog = class {
26100
26109
  const found = [];
26101
26110
  for (const name of names) {
26102
26111
  if (!name.endsWith(".json")) continue;
26103
- const meta3 = await readFile4(join9(this.directory, name), "utf8").then((text3) => JSON.parse(text3), () => void 0);
26112
+ const meta3 = await readFile4(join10(this.directory, name), "utf8").then((text3) => JSON.parse(text3), () => void 0);
26104
26113
  const created = meta3?.created_at ? Date.parse(meta3.created_at) : NaN;
26105
26114
  if (meta3?.cwd && sameFolder(meta3.cwd, this.options.workdir) && created >= this.options.startedAt - 2e3) found.push(name.slice(0, -5));
26106
26115
  }
26107
- if (found.length === 1) this.path = join9(this.directory, `${found[0]}.jsonl`);
26116
+ if (found.length === 1) this.path = join10(this.directory, `${found[0]}.jsonl`);
26108
26117
  }
26109
26118
  /** Reads entries appended since the last call. */
26110
26119
  async refresh() {
@@ -26475,7 +26484,7 @@ import { spawn as spawn6 } from "node:child_process";
26475
26484
  import { createHash } from "node:crypto";
26476
26485
  import { existsSync as existsSync4, readFileSync as readFileSync4 } from "node:fs";
26477
26486
  import { copyFile, mkdir as mkdir4, rename as rename4, rm as rm2, writeFile as writeFile4 } from "node:fs/promises";
26478
- import { dirname as dirname5, join as join10, resolve as resolve4 } from "node:path";
26487
+ import { dirname as dirname5, join as join11, resolve as resolve4 } from "node:path";
26479
26488
  import { fileURLToPath } from "node:url";
26480
26489
  var AcpRuntimeUnavailable = class extends Error {
26481
26490
  constructor(message) {
@@ -26508,21 +26517,21 @@ function agentPackageVersion() {
26508
26517
  const directory = agentRoot();
26509
26518
  if (!directory) return "0";
26510
26519
  try {
26511
- return JSON.parse(readFileSync4(join10(directory, "package.json"), "utf8")).version ?? "0";
26520
+ return JSON.parse(readFileSync4(join11(directory, "package.json"), "utf8")).version ?? "0";
26512
26521
  } catch {
26513
26522
  return "0";
26514
26523
  }
26515
26524
  }
26516
26525
  function vendoredAdapter(name) {
26517
26526
  const directory = agentRoot();
26518
- const entry = directory ? join10(directory, "assets", "acp", name, "index.mjs") : void 0;
26527
+ const entry = directory ? join11(directory, "assets", "acp", name, "index.mjs") : void 0;
26519
26528
  return entry && existsSync4(entry) ? entry : void 0;
26520
26529
  }
26521
26530
  var installs = /* @__PURE__ */ new Map();
26522
26531
  function ensureClaudeRuntime(dataDir2) {
26523
26532
  const entry = vendoredAdapter("claude");
26524
26533
  if (!entry) return Promise.reject(new AcpRuntimeUnavailable("\u8FD9\u4E2A\u7248\u672C\u7684\u8BBE\u5907\u4EE3\u7406\u6CA1\u6709\u9644\u5E26 Claude ACP \u9002\u914D\u5668"));
26525
- const manifestPath = join10(dirname5(entry), "runtime.json");
26534
+ const manifestPath = join11(dirname5(entry), "runtime.json");
26526
26535
  let manifest;
26527
26536
  try {
26528
26537
  manifest = JSON.parse(readFileSync4(manifestPath, "utf8"));
@@ -26530,7 +26539,7 @@ function ensureClaudeRuntime(dataDir2) {
26530
26539
  return Promise.reject(new AcpRuntimeUnavailable("Claude ACP \u9002\u914D\u5668\u7F3A\u5C11 runtime.json"));
26531
26540
  }
26532
26541
  const hash2 = createHash("sha256").update(readFileSync4(entry)).digest("hex").slice(0, 12);
26533
- const directory = join10(dataDir2, "acp-runtimes", `claude-${manifest.adapterVersion}-sdk-${manifest.sdk.version}-${hash2}`);
26542
+ const directory = join11(dataDir2, "acp-runtimes", `claude-${manifest.adapterVersion}-sdk-${manifest.sdk.version}-${hash2}`);
26534
26543
  const existing = installs.get(directory);
26535
26544
  if (existing) return existing;
26536
26545
  const install = installClaudeRuntime(directory, entry, manifest).catch((error62) => {
@@ -26541,19 +26550,19 @@ function ensureClaudeRuntime(dataDir2) {
26541
26550
  return install;
26542
26551
  }
26543
26552
  async function installClaudeRuntime(directory, entry, manifest) {
26544
- const sdkPackage = join10(directory, "node_modules", ...manifest.sdk.name.split("/"), "package.json");
26545
- if (existsSync4(sdkPackage) && existsSync4(join10(directory, "index.mjs"))) return directory;
26553
+ const sdkPackage = join11(directory, "node_modules", ...manifest.sdk.name.split("/"), "package.json");
26554
+ if (existsSync4(sdkPackage) && existsSync4(join11(directory, "index.mjs"))) return directory;
26546
26555
  const temporary = `${directory}.tmp-${process.pid}-${Date.now()}`;
26547
26556
  await mkdir4(temporary, { recursive: true, mode: 448 });
26548
26557
  try {
26549
- await writeFile4(join10(temporary, "package.json"), JSON.stringify({
26558
+ await writeFile4(join11(temporary, "package.json"), JSON.stringify({
26550
26559
  name: "toc-ocra-claude-acp-runtime",
26551
26560
  private: true,
26552
26561
  type: "module",
26553
26562
  dependencies: { [manifest.sdk.name]: manifest.sdk.version }
26554
26563
  }, null, 2));
26555
26564
  await runNpm(["install", "--omit=optional", "--no-audit", "--no-fund", "--no-package-lock", "--loglevel=error"], temporary);
26556
- await copyFile(entry, join10(temporary, "index.mjs"));
26565
+ await copyFile(entry, join11(temporary, "index.mjs"));
26557
26566
  await rm2(directory, { recursive: true, force: true });
26558
26567
  await rename4(temporary, directory);
26559
26568
  } catch (error62) {
@@ -26668,7 +26677,7 @@ var CLAUDE_LAUNCH_SPEC = {
26668
26677
  const executable = installedCli(claude);
26669
26678
  const runtime = await ensureClaudeRuntime(dataDir2);
26670
26679
  return {
26671
- launch: { executable: process.execPath, args: [join11(runtime, "index.mjs")], env: { ...providerEnvironment(), CLAUDE_CODE_EXECUTABLE: executable }, cwd: workdir },
26680
+ launch: { executable: process.execPath, args: [join12(runtime, "index.mjs")], env: { ...providerEnvironment(), CLAUDE_CODE_EXECUTABLE: executable }, cwd: workdir },
26672
26681
  fingerprint: `claude:${runtime}:${executable}`
26673
26682
  };
26674
26683
  },
@@ -26783,8 +26792,8 @@ var ACP_CHAT_IDS = [...ACP_CHAT.keys()];
26783
26792
 
26784
26793
  // src/acp/acp-model-catalog-probe.ts
26785
26794
  import { mkdtemp, rm as rm3 } from "node:fs/promises";
26786
- import { tmpdir as tmpdir2 } from "node:os";
26787
- import { join as join12 } from "node:path";
26795
+ import { tmpdir } from "node:os";
26796
+ import { join as join13 } from "node:path";
26788
26797
 
26789
26798
  // src/acp/acp-options.ts
26790
26799
  var text = (value) => typeof value === "string" && value ? value : void 0;
@@ -27367,9 +27376,9 @@ async function readSessionModels(row, clientVersion = "1") {
27367
27376
  const discovery = row.modelDiscovery;
27368
27377
  if (discovery.kind !== "session") throw new Error(`${row.agent} does not list its models in a session`);
27369
27378
  const cli = requireCliSpec(row.agent);
27370
- const folder = await mkdtemp(join12(tmpdir2(), `toc-ocra-acp-models-${row.agent}-`));
27379
+ const folder = await mkdtemp(join13(tmpdir(), `toc-ocra-acp-models-${row.agent}-`));
27371
27380
  try {
27372
- const folderArgs = discovery.sessionFolderArgs?.(join12(folder, "sessions")) ?? [];
27381
+ const folderArgs = discovery.sessionFolderArgs?.(join13(folder, "sessions")) ?? [];
27373
27382
  const args = [...row.args({ access: "read-only", model: "", reasoningEffort: "" }), ...folderArgs];
27374
27383
  const launch = launchCli({ spec: cli, args, env: { ...providerEnvironment(), ...row.env } });
27375
27384
  const connection = await AcpConnection.open({ executable: launch.executable, args: launch.args, env: launch.env, cwd: folder }, {
@@ -27999,13 +28008,13 @@ function isWriterConflict(message) {
27999
28008
 
28000
28009
  // src/providers/cli/claude.ts
28001
28010
  import { readdirSync as readdirSync2, readFileSync as readFileSync5 } from "node:fs";
28002
- import { homedir as homedir7 } from "node:os";
28003
- import { join as join13 } from "node:path";
28011
+ import { homedir as homedir8 } from "node:os";
28012
+ import { join as join14 } from "node:path";
28004
28013
  var CLAUDE = requireCliSpec("claude");
28005
28014
  function claudeProjectRoots() {
28006
28015
  const configured = process.env.CLAUDE_CONFIG_DIR;
28007
- const dirs = configured ? configured.split(process.platform === "win32" ? ";" : ":").map((entry) => entry.trim()).filter(Boolean) : [join13(homedir7(), ".claude")];
28008
- return dirs.map((dir) => join13(dir, "projects"));
28016
+ const dirs = configured ? configured.split(process.platform === "win32" ? ";" : ":").map((entry) => entry.trim()).filter(Boolean) : [join14(homedir8(), ".claude")];
28017
+ return dirs.map((dir) => join14(dir, "projects"));
28009
28018
  }
28010
28019
  function claudeTranscriptExists(sessionId) {
28011
28020
  return claudeTranscriptPath(sessionId) !== void 0;
@@ -28021,7 +28030,7 @@ function claudeTranscriptPath(sessionId) {
28021
28030
  }
28022
28031
  for (const project of projects) {
28023
28032
  try {
28024
- if (readdirSync2(join13(root2, project)).includes(file2)) return join13(root2, project, file2);
28033
+ if (readdirSync2(join14(root2, project)).includes(file2)) return join14(root2, project, file2);
28025
28034
  } catch {
28026
28035
  }
28027
28036
  }
@@ -28065,7 +28074,7 @@ var claudeProvider = {
28065
28074
  settings.disableAllHooks = true;
28066
28075
  args.push("--restricted", "--permission-mode", "plan", "--tools", "Read,Glob,Grep", "--strict-mcp-config", "--mcp-config", '{"mcpServers":{}}', "--disallowedTools", "mcp__*");
28067
28076
  try {
28068
- const userSettings = JSON.parse(readFileSync5(join13(homedir7(), ".claude", "settings.json"), "utf8"));
28077
+ const userSettings = JSON.parse(readFileSync5(join14(homedir8(), ".claude", "settings.json"), "utf8"));
28069
28078
  for (const [key, value] of Object.entries(userSettings.env ?? {})) {
28070
28079
  if (/^ANTHROPIC_[A-Z0-9_]+$/.test(key) && typeof value === "string" && env[key] === void 0) env[key] = value;
28071
28080
  }
@@ -28974,7 +28983,7 @@ async function readCodexQuotaWindows() {
28974
28983
 
28975
28984
  // src/providers/kiro-quota.ts
28976
28985
  import { execFile as execFile5 } from "node:child_process";
28977
- import { tmpdir as tmpdir3 } from "node:os";
28986
+ import { tmpdir as tmpdir2 } from "node:os";
28978
28987
  import { promisify as promisify3, stripVTControlCharacters } from "node:util";
28979
28988
  var execFileAsync3 = promisify3(execFile5);
28980
28989
  var amount = (value) => Number(value.replace(/,/g, ""));
@@ -29036,7 +29045,7 @@ async function readKiroQuotaWindows() {
29036
29045
  const launch = launchCli({ spec: requireCliSpec("kiro"), args: ["chat", "--no-interactive", "/usage"] });
29037
29046
  await requireKiroAuthentication(launch.env);
29038
29047
  try {
29039
- const { stdout, stderr } = await execFileAsync3(launch.executable, launch.args, { env: launch.env, cwd: tmpdir3(), timeout: 3e4, maxBuffer: 1024 * 1024, windowsHide: true });
29048
+ const { stdout, stderr } = await execFileAsync3(launch.executable, launch.args, { env: launch.env, cwd: tmpdir2(), timeout: 3e4, maxBuffer: 1024 * 1024, windowsHide: true });
29040
29049
  return parseKiroQuota(`${stdout}
29041
29050
  ${stderr}`);
29042
29051
  } catch (error62) {
@@ -29233,13 +29242,13 @@ var cliDetection = new CliDetectionService();
29233
29242
 
29234
29243
  // src/smoke/cli-smoke.ts
29235
29244
  import { mkdtemp as mkdtemp2, realpath as realpath3, rm as rm5 } from "node:fs/promises";
29236
- import { tmpdir as tmpdir4 } from "node:os";
29237
- import { join as join18 } from "node:path";
29245
+ import { tmpdir as tmpdir3 } from "node:os";
29246
+ import { join as join19 } from "node:path";
29238
29247
 
29239
29248
  // src/runs/run-supervisor.ts
29240
29249
  import { spawn as spawn11 } from "node:child_process";
29241
29250
  import { mkdir as mkdir7, realpath as realpath2, stat as stat5, writeFile as writeFile7 } from "node:fs/promises";
29242
- import { basename as basename2, isAbsolute as isAbsolute4, join as join17, relative as relative2, resolve as resolve5 } from "node:path";
29251
+ import { basename as basename2, isAbsolute as isAbsolute4, join as join18, relative as relative2, resolve as resolve5 } from "node:path";
29243
29252
  import { createInterface as createInterface6 } from "node:readline";
29244
29253
 
29245
29254
  // src/providers/chat/index.ts
@@ -29608,19 +29617,19 @@ async function forkCodexThread(options) {
29608
29617
 
29609
29618
  // src/runs/run-recorder.ts
29610
29619
  import { appendFileSync, mkdirSync as mkdirSync2 } from "node:fs";
29611
- import { homedir as homedir8 } from "node:os";
29612
- import { join as join14 } from "node:path";
29620
+ import { homedir as homedir9 } from "node:os";
29621
+ import { join as join15 } from "node:path";
29613
29622
  var RunRecorder = class _RunRecorder {
29614
29623
  constructor(path) {
29615
29624
  this.path = path;
29616
29625
  }
29617
29626
  path;
29618
- home = homedir8();
29627
+ home = homedir9();
29619
29628
  static fromEnvironment(runId, meta3) {
29620
29629
  const directory = process.env.TOC_OCRA_RECORD_DIR?.trim();
29621
29630
  if (!directory) return void 0;
29622
29631
  mkdirSync2(directory, { recursive: true });
29623
- const recorder = new _RunRecorder(join14(directory, `${String(meta3.agent ?? "cli")}-${runId}.jsonl`));
29632
+ const recorder = new _RunRecorder(join15(directory, `${String(meta3.agent ?? "cli")}-${runId}.jsonl`));
29624
29633
  recorder.write({ meta: meta3 });
29625
29634
  return recorder;
29626
29635
  }
@@ -29636,7 +29645,7 @@ var RunRecorder = class _RunRecorder {
29636
29645
 
29637
29646
  // src/runs/run-transcript.ts
29638
29647
  import { chmod as chmod4, mkdir as mkdir5, readdir as readdir2, readFile as readFile5, rename as rename5, stat as stat3, unlink, writeFile as writeFile5 } from "node:fs/promises";
29639
- import { join as join15 } from "node:path";
29648
+ import { join as join16 } from "node:path";
29640
29649
  var MAX_TRANSCRIPT_ITEMS = 5e3;
29641
29650
  var MAX_TRANSCRIPT_TEXT = 2e5;
29642
29651
  var MAX_TRANSCRIPT_LINES = 2e4;
@@ -29901,7 +29910,7 @@ function transcriptFileName(runId) {
29901
29910
  var TranscriptStore = class {
29902
29911
  constructor(dataDir2, logger, env = process.env) {
29903
29912
  this.logger = logger;
29904
- this.directory = dataDir2 ? join15(dataDir2, "transcripts") : "";
29913
+ this.directory = dataDir2 ? join16(dataDir2, "transcripts") : "";
29905
29914
  this.enabled = Boolean(dataDir2) && transcriptsOnDisk(env);
29906
29915
  }
29907
29916
  logger;
@@ -29956,7 +29965,7 @@ var TranscriptStore = class {
29956
29965
  await this.writes.get(runId);
29957
29966
  let text3;
29958
29967
  try {
29959
- text3 = await readFile5(join15(this.directory, name), "utf8");
29968
+ text3 = await readFile5(join16(this.directory, name), "utf8");
29960
29969
  } catch (error62) {
29961
29970
  if (errorCode(error62) !== "ENOENT") this.logger.warn("run-transcript-read-failed", { runId, error: errorMessage(error62) });
29962
29971
  return void 0;
@@ -30021,7 +30030,7 @@ var TranscriptStore = class {
30021
30030
  transcript.dirty = false;
30022
30031
  const body = JSON.stringify(transcript.toFile());
30023
30032
  await this.ensureDirectory();
30024
- const file2 = join15(this.directory, name);
30033
+ const file2 = join16(this.directory, name);
30025
30034
  const temporary = `${file2}.${process.pid}.tmp`;
30026
30035
  await writeFile5(temporary, body, { mode: 384 });
30027
30036
  await rename5(temporary, file2);
@@ -30058,7 +30067,7 @@ var TranscriptStore = class {
30058
30067
  const now = Date.now();
30059
30068
  const files = [];
30060
30069
  for (const name of names) {
30061
- const path = join15(this.directory, name);
30070
+ const path = join16(this.directory, name);
30062
30071
  if (name.endsWith(".tmp")) {
30063
30072
  const info2 = await stat3(path).catch(() => void 0);
30064
30073
  if (info2?.isFile() && now - info2.mtimeMs > STALE_TEMPORARY_MS) await unlink(path).catch(() => void 0);
@@ -30108,7 +30117,7 @@ function errorMessage(error62) {
30108
30117
  import { createHash as createHash2, randomUUID as randomUUID2 } from "node:crypto";
30109
30118
  import { constants as constants2 } from "node:fs";
30110
30119
  import { lstat, mkdir as mkdir6, open as open3, realpath, rename as rename6, rm as rm4, writeFile as writeFile6 } from "node:fs/promises";
30111
- import { basename, isAbsolute as isAbsolute3, join as join16, relative } from "node:path";
30120
+ import { basename, isAbsolute as isAbsolute3, join as join17, relative } from "node:path";
30112
30121
  function within(root2, path) {
30113
30122
  const segment = relative(root2, path);
30114
30123
  return segment === "" || !segment.startsWith("..") && !isAbsolute3(segment);
@@ -30116,7 +30125,7 @@ function within(root2, path) {
30116
30125
  async function attachmentDirectory(workdir, messageId) {
30117
30126
  let directory = workdir;
30118
30127
  for (const segment of [".echo", "attachments", `message-${encodeURIComponent(messageId).slice(0, 180)}`]) {
30119
- directory = join16(directory, segment);
30128
+ directory = join17(directory, segment);
30120
30129
  await mkdir6(directory, { mode: 448 }).catch((error62) => {
30121
30130
  if (error62.code !== "EEXIST") throw error62;
30122
30131
  });
@@ -30124,7 +30133,7 @@ async function attachmentDirectory(workdir, messageId) {
30124
30133
  if (metadata.isSymbolicLink() || !metadata.isDirectory() || !within(workdir, await realpath(directory))) {
30125
30134
  throw new Error("\u9644\u4EF6\u76EE\u5F55\u5FC5\u987B\u4F4D\u4E8E CLI \u5DE5\u4F5C\u76EE\u5F55\u5185\uFF0C\u4E14\u4E0D\u80FD\u662F\u7B26\u53F7\u94FE\u63A5");
30126
30135
  }
30127
- if (segment === ".echo") await writeFile6(join16(directory, ".gitignore"), "*\n", { flag: "wx", mode: 384 }).catch((error62) => {
30136
+ if (segment === ".echo") await writeFile6(join17(directory, ".gitignore"), "*\n", { flag: "wx", mode: 384 }).catch((error62) => {
30128
30137
  if (error62.code !== "EEXIST") throw error62;
30129
30138
  });
30130
30139
  }
@@ -30161,9 +30170,9 @@ async function prepareTaskAttachments(payload, workdir, download, signal2) {
30161
30170
  const characters = Array.from(basename(file2.name.replace(/\\/g, "/")).replace(/[^\p{L}\p{N}._-]/gu, "_").replace(/\.+$/u, ""));
30162
30171
  while (Buffer.byteLength(characters.join("")) > 160) characters.shift();
30163
30172
  const name = characters.join("") || "attachment";
30164
- const path = join16(directory, `${file2.file_id}-${name}`);
30173
+ const path = join17(directory, `${file2.file_id}-${name}`);
30165
30174
  if (!await matches(path, file2.size, file2.sha256, signal2)) {
30166
- const temporary = join16(directory, `.download-${file2.file_id}-${randomUUID2()}.part`);
30175
+ const temporary = join17(directory, `.download-${file2.file_id}-${randomUUID2()}.part`);
30167
30176
  try {
30168
30177
  await download(payload.run_id, file2.file_id, temporary, file2.size, file2.sha256, signal2);
30169
30178
  signal2.throwIfAborted();
@@ -32154,12 +32163,12 @@ ${PLAN_MODE_PREFIX}` : payload.prompt;
32154
32163
  async prepareChatAttachments(payload) {
32155
32164
  if (!payload.attachments?.length) return [];
32156
32165
  if (!this.reporter.chatMedia) throw new Error("\u9644\u4EF6\u8F6C\u53D1\u672A\u914D\u7F6E");
32157
- const directory = join17(this.config.dataDir, "chat-media", encodeURIComponent(payload.chat_session_id ?? payload.run_id));
32166
+ const directory = join18(this.config.dataDir, "chat-media", encodeURIComponent(payload.chat_session_id ?? payload.run_id));
32158
32167
  await mkdir7(directory, { recursive: true, mode: 448 });
32159
32168
  const files = [];
32160
32169
  for (const attachment of payload.attachments) {
32161
32170
  const name = basename2(attachment.name).replace(/[^\p{L}\p{N}._-]/gu, "_").slice(-120) || "attachment";
32162
- const path = join17(directory, `${encodeURIComponent(attachment.media_id)}-${name}`);
32171
+ const path = join18(directory, `${encodeURIComponent(attachment.media_id)}-${name}`);
32163
32172
  const existing = await stat5(path).catch(() => void 0);
32164
32173
  if (!existing?.isFile()) {
32165
32174
  const data = await this.reporter.chatMedia(payload.run_id, attachment.media_id);
@@ -32314,6 +32323,12 @@ ${PLAN_MODE_PREFIX}` : payload.prompt;
32314
32323
  } catch {
32315
32324
  throw new Error(`\u5DE5\u4F5C\u76EE\u5F55\u4E0D\u5B58\u5728\uFF1A${input2}`);
32316
32325
  }
32326
+ const lexicalCandidate = resolve5(isAbsolute4(input2) ? input2 : resolve5(input2));
32327
+ for (const root2 of this.config.allowedRoots) {
32328
+ const lexicalRoot = resolve5(root2);
32329
+ const lexicalSegment = relative2(lexicalRoot, lexicalCandidate);
32330
+ if (lexicalSegment === "" || !lexicalSegment.startsWith("..") && !isAbsolute4(lexicalSegment)) return candidate;
32331
+ }
32317
32332
  for (const root2 of this.config.allowedRoots) {
32318
32333
  const allowed = await realpath2(root2).catch(() => resolve5(root2));
32319
32334
  const segment = relative2(allowed, candidate);
@@ -32354,7 +32369,7 @@ var silent = { debug() {
32354
32369
  async function runCliSmoke(options = {}) {
32355
32370
  const detection = await cliDetection.detect(true);
32356
32371
  const ids = options.only?.length ? options.only.map((id) => catalogEntry(id)?.id ?? id) : CLI_CATALOG.filter((entry) => entry.headless && detection.detectedIds.includes(entry.id)).map((entry) => entry.id);
32357
- const root2 = await realpath3(await mkdtemp2(join18(tmpdir4(), "toc-ocra-smoke-")));
32372
+ const root2 = await realpath3(await mkdtemp2(join19(tmpdir3(), "toc-ocra-smoke-")));
32358
32373
  const finished = /* @__PURE__ */ new Map();
32359
32374
  const config2 = { allowedRoots: [root2], maxConcurrentRuns: 0, maxRunSeconds: options.timeoutSeconds ?? 300, dataDir: root2 };
32360
32375
  const supervisor = new RunSupervisor(config2, silent, {
@@ -32789,7 +32804,7 @@ function createDiagnosticLogger(filePath, options = {}) {
32789
32804
 
32790
32805
  // src/runtime/agent-runtime.ts
32791
32806
  import { randomUUID as randomUUID4 } from "node:crypto";
32792
- import { join as join21 } from "node:path";
32807
+ import { join as join22 } from "node:path";
32793
32808
 
32794
32809
  // src/exec/script-runner.ts
32795
32810
  import { spawn as spawn12 } from "node:child_process";
@@ -32961,15 +32976,15 @@ async function readCLIQuotaReport(agentType) {
32961
32976
 
32962
32977
  // src/providers/tb-switch-control.ts
32963
32978
  import { readFile as readFile8 } from "node:fs/promises";
32964
- import { homedir as homedir9 } from "node:os";
32965
- import { join as join19 } from "node:path";
32979
+ import { homedir as homedir10 } from "node:os";
32980
+ import { join as join20 } from "node:path";
32966
32981
  function dataDir() {
32967
- return process.env.TB_SWITCH_HOME?.trim() || join19(homedir9(), ".tb-switch");
32982
+ return process.env.TB_SWITCH_HOME?.trim() || join20(homedir10(), ".tb-switch");
32968
32983
  }
32969
32984
  async function readLocalService() {
32970
32985
  let discovery;
32971
32986
  try {
32972
- discovery = JSON.parse(await readFile8(join19(dataDir(), "api.json"), "utf8"));
32987
+ discovery = JSON.parse(await readFile8(join20(dataDir(), "api.json"), "utf8"));
32973
32988
  } catch {
32974
32989
  throw new Error("\u8FD9\u53F0\u8BBE\u5907\u4E0A\u7684 TB Switch \u670D\u52A1\u672A\u8FD0\u884C\uFF0C\u8BF7\u6253\u5F00\u684C\u9762\u7AEF\u63D2\u4EF6\u540E\u91CD\u8BD5\u3002");
32975
32990
  }
@@ -32985,7 +33000,7 @@ async function readLocalService() {
32985
33000
  }
32986
33001
  let token = process.env.TB_SWITCH_API_TOKEN?.trim() ?? "";
32987
33002
  try {
32988
- token = (await readFile8(join19(dataDir(), "api-token"), "utf8")).trim();
33003
+ token = (await readFile8(join20(dataDir(), "api-token"), "utf8")).trim();
32989
33004
  } catch {
32990
33005
  }
32991
33006
  if (!token) throw new Error("\u65E0\u6CD5\u8BFB\u53D6 TB Switch \u672C\u673A\u670D\u52A1\u51ED\u636E\uFF0C\u8BF7\u91CD\u542F\u684C\u9762\u7AEF\u63D2\u4EF6\u540E\u91CD\u8BD5\u3002");
@@ -33257,11 +33272,11 @@ var GatewayClient = class {
33257
33272
 
33258
33273
  // src/workspace/directory-browser.ts
33259
33274
  import { readdir as readdir3, realpath as realpath4, stat as stat7 } from "node:fs/promises";
33260
- import { homedir as homedir10 } from "node:os";
33275
+ import { homedir as homedir11 } from "node:os";
33261
33276
  import { dirname as dirname8, parse as parse3, resolve as resolve6 } from "node:path";
33262
33277
  var MAX_ENTRIES = 1e3;
33263
33278
  async function listDirectory(requested, allowedRoots) {
33264
- const raw = requested.trim().replace(/^~(?=$|[\\/])/, homedir10()) || homedir10();
33279
+ const raw = requested.trim().replace(/^~(?=$|[\\/])/, homedir11()) || homedir11();
33265
33280
  const directory = await realpath4(resolve6(raw)).catch(() => {
33266
33281
  throw new Error(`\u76EE\u5F55\u4E0D\u5B58\u5728\uFF1A${requested}`);
33267
33282
  });
@@ -33279,8 +33294,8 @@ async function listDirectory(requested, allowedRoots) {
33279
33294
  else if (entry.isFile()) files.push(item);
33280
33295
  }
33281
33296
  const parent = dirname8(directory);
33282
- const places = [{ label: "\u4E3B\u76EE\u5F55", path: homedir10() }];
33283
- for (const root2 of allowedRoots) if (root2 !== homedir10()) places.push({ label: "\u5141\u8BB8\u7684\u76EE\u5F55", path: root2 });
33297
+ const places = [{ label: "\u4E3B\u76EE\u5F55", path: homedir11() }];
33298
+ for (const root2 of allowedRoots) if (root2 !== homedir11()) places.push({ label: "\u5141\u8BB8\u7684\u76EE\u5F55", path: root2 });
33284
33299
  places.push({ label: "\u6839\u76EE\u5F55", path: process.platform === "win32" ? parse3(directory).root : "/" });
33285
33300
  return {
33286
33301
  path: directory,
@@ -33295,8 +33310,8 @@ async function listDirectory(requested, allowedRoots) {
33295
33310
  // src/workspace/workspace-manager.ts
33296
33311
  import { spawn as spawn13 } from "node:child_process";
33297
33312
  import { chmod as chmod5, mkdir as mkdir9, mkdtemp as mkdtemp3, opendir, realpath as realpath5, rm as rm6, stat as stat8, writeFile as writeFile9 } from "node:fs/promises";
33298
- import { homedir as homedir11, tmpdir as tmpdir5 } from "node:os";
33299
- import { isAbsolute as isAbsolute5, join as join20, relative as relative3, resolve as resolve7 } from "node:path";
33313
+ import { homedir as homedir12, tmpdir as tmpdir4 } from "node:os";
33314
+ import { isAbsolute as isAbsolute5, join as join21, relative as relative3, resolve as resolve7 } from "node:path";
33300
33315
  var MAX_NODES = 2e3;
33301
33316
  var MAX_DIRECTORY_ENTRIES = 12e3;
33302
33317
  var IGNORED_DIRECTORIES = /* @__PURE__ */ new Set([
@@ -33344,7 +33359,7 @@ var WorkspaceManager = class {
33344
33359
  };
33345
33360
  }
33346
33361
  validateRootPath(value) {
33347
- const raw = value.trim().replace(/^~(?=$|[\\/])/, homedir11());
33362
+ const raw = value.trim().replace(/^~(?=$|[\\/])/, homedir12());
33348
33363
  const root2 = resolve7(raw);
33349
33364
  if (!isAbsolute5(raw)) throw new Error("\u6839\u76EE\u5F55\u5FC5\u987B\u662F\u7EDD\u5BF9\u8DEF\u5F84");
33350
33365
  if (relative3(root2, resolve7(root2, "..")) === "") throw new Error("\u4E0D\u80FD\u628A\u6587\u4EF6\u7CFB\u7EDF\u6839\u76EE\u5F55\u4F5C\u4E3A\u76EE\u5F55\u6839");
@@ -33671,12 +33686,12 @@ var WorkspaceManager = class {
33671
33686
  }
33672
33687
  async createGitAuthEnvironment(auth) {
33673
33688
  if (!auth) return void 0;
33674
- const directory = await mkdtemp3(join20(tmpdir5(), "toc-ocra-git-auth-"));
33689
+ const directory = await mkdtemp3(join21(tmpdir4(), "toc-ocra-git-auth-"));
33675
33690
  const isWindows = process.platform === "win32";
33676
- const scriptPath = join20(directory, isWindows ? "askpass.cmd" : "askpass.sh");
33691
+ const scriptPath = join21(directory, isWindows ? "askpass.cmd" : "askpass.sh");
33677
33692
  let script;
33678
33693
  if (isWindows) {
33679
- const helperPath = join20(directory, "askpass.cjs");
33694
+ const helperPath = join21(directory, "askpass.cjs");
33680
33695
  await writeFile9(
33681
33696
  helperPath,
33682
33697
  'const prompt = process.argv.slice(2).join(" ");\nprocess.stdout.write(/username/i.test(prompt) ? process.env.ECHO_GIT_USERNAME ?? "" : process.env.ECHO_GIT_PASSWORD ?? "");\n',
@@ -33887,7 +33902,7 @@ var AgentRuntime = class {
33887
33902
  }
33888
33903
  };
33889
33904
  this.workspaces = new WorkspaceManager(config2, this.logger);
33890
- this.orphans = new OrphanRegistry(join21(config2.dataDir, "active-runs.json"));
33905
+ this.orphans = new OrphanRegistry(join22(config2.dataDir, "active-runs.json"));
33891
33906
  this.runs = new RunSupervisor(config2, this.logger, reporter, this.orphans);
33892
33907
  }
33893
33908
  config;
@@ -34648,7 +34663,7 @@ async function runService(options = {}) {
34648
34663
  }
34649
34664
 
34650
34665
  // src/index.ts
34651
- var { currentInstallation, installShared, ensureIdle, compareVersions: compareVersions2 } = createRequire(import.meta.url)(join22(agentPackageRoot(), "scripts", "installation.cjs"));
34666
+ var { currentInstallation, installShared, ensureIdle, compareVersions: compareVersions2 } = createRequire(import.meta.url)(join23(agentPackageRoot(), "scripts", "installation.cjs"));
34652
34667
  async function run() {
34653
34668
  try {
34654
34669
  await runService();
@@ -34776,7 +34791,7 @@ async function update(args) {
34776
34791
  if (customConfig) process.env.TOC_OCRA_CONFIG = resolve9(customConfig);
34777
34792
  await ensureIdle();
34778
34793
  const npmPath = resolveCliCommand("npm");
34779
- const temporary = mkdtempSync(join22(tmpdir6(), "toc-ocra-update-"));
34794
+ const temporary = mkdtempSync(join23(tmpdir5(), "toc-ocra-update-"));
34780
34795
  try {
34781
34796
  const metadataResponse = await fetch(`https://registry.npmjs.org/${PACKAGE_NAME}`, { headers: { accept: "application/json", "cache-control": "no-cache" }, signal: AbortSignal.timeout(15e3) });
34782
34797
  if (!metadataResponse.ok) throw new Error("\u65E0\u6CD5\u8BFB\u53D6 npm \u6700\u65B0\u7248\u672C\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");
@@ -34803,7 +34818,7 @@ async function update(args) {
34803
34818
  }
34804
34819
  const archive = Buffer.concat(chunks);
34805
34820
  if (`sha512-${createHash5("sha512").update(archive).digest("base64")}` !== dist.integrity) throw new Error("\u8BBE\u5907\u4EE3\u7406\u5B89\u88C5\u5305\u6821\u9A8C\u5931\u8D25\uFF0C\u5DF2\u505C\u6B62\u5347\u7EA7");
34806
- const archivePath = join22(temporary, "toc-ocra.tgz");
34821
+ const archivePath = join23(temporary, "toc-ocra.tgz");
34807
34822
  writeFileSync3(archivePath, archive, { mode: 384 });
34808
34823
  const npm = directLaunch2(npmPath, ["install", "--prefix", temporary, "--ignore-scripts", "--omit=dev", "--no-package-lock", "--no-audit", "--no-fund", "--prefer-online", "--registry=https://registry.npmjs.org", archivePath]);
34809
34824
  const install = spawnSync(npm.executable, npm.args, { stdio: "inherit", shell: false, windowsHide: true });
@@ -34813,7 +34828,7 @@ async function update(args) {
34813
34828
  return;
34814
34829
  }
34815
34830
  const previousVersion = agentVersion();
34816
- const current = await installShared(join22(temporary, "node_modules", PACKAGE_NAME), { startService: existsSync7(defaultConfigPath()) });
34831
+ const current = await installShared(join23(temporary, "node_modules", PACKAGE_NAME), { startService: existsSync7(defaultConfigPath()) });
34817
34832
  if (current.version === previousVersion) process.stdout.write(`toc-ocra \u5DF2\u662F\u6700\u65B0\u7248\u672C ${current.version}
34818
34833
  `);
34819
34834
  else process.stdout.write(`toc-ocra \u5DF2\u5347\u7EA7\u5230 ${current.version}\uFF0C\u7EC8\u7AEF\u4E0E Echo \u63D2\u4EF6\u5171\u7528\u6B64\u7248\u672C
@@ -34841,7 +34856,7 @@ async function main() {
34841
34856
  const selected = !shared || compareVersions2(agentVersion(), shared.version) > 0 ? await installShared(root2) : shared;
34842
34857
  const same = (a, b) => process.platform === "win32" ? resolve9(a).toLowerCase() === resolve9(b).toLowerCase() : resolve9(a) === resolve9(b);
34843
34858
  if (!same(selected.root, root2)) {
34844
- await import(pathToFileURL2(join22(selected.root, "dist", "cli", "cli.mjs")).href);
34859
+ await import(pathToFileURL2(join23(selected.root, "dist", "cli", "cli.mjs")).href);
34845
34860
  return;
34846
34861
  }
34847
34862
  }