@akasecurity/ai-tc-codex 0.9.23 → 0.9.24

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/scripts/sync.js CHANGED
@@ -9656,7 +9656,11 @@ var ListFindingTypesQuery = object({
9656
9656
  // and so is not bounded by what any page happens to hold.
9657
9657
  includeId: string2().optional(),
9658
9658
  limit: coerce_exports.number().int().min(1).max(MAX_FINDING_TYPES_LIMIT).optional(),
9659
- cursor: string2().optional()
9659
+ cursor: string2().optional(),
9660
+ // A row position to read from, for jumping to a page instead of stepping to
9661
+ // it. Takes precedence over `cursor`, and the page's `nextCursor` carries on
9662
+ // from wherever it lands.
9663
+ offset: coerce_exports.number().int().min(0).optional()
9660
9664
  });
9661
9665
  var ListFindingTypesResponse = object({
9662
9666
  totals: object({
@@ -9737,7 +9741,11 @@ var ListFindingInstancesQuery = object({
9737
9741
  sessionId: string2().optional(),
9738
9742
  from: iso_exports.datetime().optional(),
9739
9743
  limit: coerce_exports.number().int().min(1).max(MAX_FLAT_FINDINGS_LIMIT).optional(),
9740
- cursor: string2().optional()
9744
+ cursor: string2().optional(),
9745
+ // A row position to read from, for jumping to a page instead of stepping to
9746
+ // it. Takes precedence over `cursor`, and the page's `nextCursor` carries on
9747
+ // from wherever it lands.
9748
+ offset: coerce_exports.number().int().min(0).optional()
9741
9749
  });
9742
9750
  var ListFindingInstancesResponse = object({
9743
9751
  // Instances matching the filters across the whole scope, not just this
@@ -9809,7 +9817,11 @@ var ListFindingLocationsQuery = object({
9809
9817
  // rather than a deep-link corner. Never affects totals, facets or the cursor.
9810
9818
  includeId: string2().optional(),
9811
9819
  limit: coerce_exports.number().int().min(1).max(MAX_FINDING_LOCATIONS_LIMIT).optional(),
9812
- cursor: string2().optional()
9820
+ cursor: string2().optional(),
9821
+ // A row position to read from, for jumping to a page instead of stepping to
9822
+ // it. Takes precedence over `cursor`, and the page's `nextCursor` carries on
9823
+ // from wherever it lands.
9824
+ offset: coerce_exports.number().int().min(0).optional()
9813
9825
  });
9814
9826
  var ListFindingLocationsResponse = object({
9815
9827
  totals: object({
@@ -12446,7 +12458,11 @@ var MAX_VAULT_PAGE_LIMIT = 200;
12446
12458
  var ListVaultInventoryQuery = object({
12447
12459
  limit: coerce_exports.number().int().min(1).max(MAX_VAULT_PAGE_LIMIT).optional(),
12448
12460
  // Opaque; names the last row of the page just served.
12449
- cursor: string2().optional()
12461
+ cursor: string2().optional(),
12462
+ // A row position to read from, for jumping to a page instead of stepping to
12463
+ // it. Takes precedence over `cursor`, and the page's `nextCursor` carries on
12464
+ // from wherever it lands.
12465
+ offset: coerce_exports.number().int().min(0).optional()
12450
12466
  });
12451
12467
  var ListVaultInventoryResponse = object({
12452
12468
  // Vaulted values across the whole store, not just this page — cursor-
@@ -12458,7 +12474,11 @@ var ListVaultInventoryResponse = object({
12458
12474
  });
12459
12475
  var ListVaultReuseQuery = object({
12460
12476
  limit: coerce_exports.number().int().min(1).max(MAX_VAULT_PAGE_LIMIT).optional(),
12461
- cursor: string2().optional()
12477
+ cursor: string2().optional(),
12478
+ // A row position to read from, for jumping to a page instead of stepping to
12479
+ // it. Takes precedence over `cursor`, and the page's `nextCursor` carries on
12480
+ // from wherever it lands.
12481
+ offset: coerce_exports.number().int().min(0).optional()
12462
12482
  });
12463
12483
  var ListVaultReuseResponse = object({
12464
12484
  // Reused values across the whole store — the number the section's claim
@@ -12474,9 +12494,15 @@ var ListVaultDerefsQuery = object({
12474
12494
  // over a Server Action, which preserves the type, never as a URL param.
12475
12495
  includeBatched: boolean2().optional(),
12476
12496
  limit: coerce_exports.number().int().min(1).max(MAX_VAULT_PAGE_LIMIT).optional(),
12477
- cursor: string2().optional()
12497
+ cursor: string2().optional(),
12498
+ // A row position to read from, for jumping to a page instead of stepping to
12499
+ // it. Takes precedence over `cursor`, and the page's `nextCursor` carries on
12500
+ // from wherever it lands.
12501
+ offset: coerce_exports.number().int().min(0).optional()
12478
12502
  });
12479
12503
  var ListVaultDerefsResponse = object({
12504
+ // Rows this filter selects across the whole trail, not just this page.
12505
+ totals: object({ derefs: number2().int().nonnegative() }),
12480
12506
  items: array(VaultDeref),
12481
12507
  nextCursor: string2().nullable(),
12482
12508
  // Display/view-render rows the query hid, over the WHOLE trail rather than
@@ -21841,7 +21867,7 @@ var SqliteFindingsRepository = class {
21841
21867
  };
21842
21868
  const limit = query.limit ?? DEFAULT_FINDING_TYPES_LIMIT;
21843
21869
  const cursor = query.cursor === void 0 ? null : decodeGroupCursor(query.cursor);
21844
- const start = cursor === null ? 0 : firstAfter(sorted, cursor);
21870
+ const start = query.offset ?? (cursor === null ? 0 : firstAfter(sorted, cursor));
21845
21871
  const page = sorted.slice(start, start + limit);
21846
21872
  const lastOnPage = page.at(-1);
21847
21873
  const nextCursor = start + limit < sorted.length && lastOnPage ? encodeGroupCursor(lastOnPage) : null;
@@ -21935,7 +21961,7 @@ var SqliteFindingsRepository = class {
21935
21961
  accumulator.add(row);
21936
21962
  if (!matchesInstanceFilters(row, opts)) continue;
21937
21963
  total += 1;
21938
- if (!isPastCursor(row)) continue;
21964
+ if (query.offset === void 0 ? !isPastCursor(row) : total <= query.offset) continue;
21939
21965
  if (items.length < limit) {
21940
21966
  items.push(toInstanceDetail(row));
21941
21967
  last = row;
@@ -22024,7 +22050,7 @@ var SqliteFindingsRepository = class {
22024
22050
  }
22025
22051
  }
22026
22052
  sorted.sort(compareLocationOrder);
22027
- const start = cursor === null ? 0 : firstLocationAfter(sorted, cursor);
22053
+ const start = query.offset ?? (cursor === null ? 0 : firstLocationAfter(sorted, cursor));
22028
22054
  const page = sorted.slice(start, start + limit);
22029
22055
  const lastOnPage = page.at(-1);
22030
22056
  const nextCursor = start + limit < sorted.length && lastOnPage ? encodeLocationCursor(lastOnPage) : null;
@@ -24652,6 +24678,9 @@ function pageLimit(requested, fallback) {
24652
24678
  if (requested === void 0) return fallback;
24653
24679
  return Math.min(Math.max(1, Math.trunc(requested)), MAX_VAULT_PAGE_LIMIT);
24654
24680
  }
24681
+ function pageOffset(requested) {
24682
+ return requested === void 0 ? 0 : Math.max(0, Math.trunc(requested));
24683
+ }
24655
24684
  function encodeReuseCursor(payload) {
24656
24685
  return Buffer.from(JSON.stringify(payload)).toString("base64url");
24657
24686
  }
@@ -24999,7 +25028,8 @@ var SqliteSecretVaultRepository = class {
24999
25028
  */
25000
25029
  listInventory(query = {}, now = Date.now()) {
25001
25030
  const limit = pageLimit(query.limit, DEFAULT_VAULT_INVENTORY_LIMIT);
25002
- const cursor = query.cursor === void 0 ? null : decodeKeysetCursor(query.cursor);
25031
+ const offset = pageOffset(query.offset);
25032
+ const cursor = query.cursor === void 0 || query.offset !== void 0 ? null : decodeKeysetCursor(query.cursor);
25003
25033
  const where = cursor === null ? "" : "WHERE (v.last_seen < :cursorLastSeen OR (v.last_seen = :cursorLastSeen AND v.pointer_id < :cursorPointerId))";
25004
25034
  const rows = allRows(
25005
25035
  this.db.prepare(
@@ -25013,11 +25043,12 @@ var SqliteSecretVaultRepository = class {
25013
25043
  FROM secret_vault v
25014
25044
  ${where}
25015
25045
  ORDER BY v.last_seen DESC, v.pointer_id DESC
25016
- LIMIT :limit`
25046
+ LIMIT :limit OFFSET :offset`
25017
25047
  ),
25018
25048
  bindParams({
25019
25049
  now,
25020
25050
  limit: limit + 1,
25051
+ offset,
25021
25052
  ...cursor === null ? {} : { cursorLastSeen: cursor.startedAtMs, cursorPointerId: cursor.id }
25022
25053
  })
25023
25054
  );
@@ -25041,7 +25072,8 @@ var SqliteSecretVaultRepository = class {
25041
25072
  */
25042
25073
  listReuse(query = {}, now = Date.now()) {
25043
25074
  const limit = pageLimit(query.limit, DEFAULT_VAULT_INVENTORY_LIMIT);
25044
- const cursor = query.cursor === void 0 ? null : decodeReuseCursor(query.cursor);
25075
+ const offset = pageOffset(query.offset);
25076
+ const cursor = query.cursor === void 0 || query.offset !== void 0 ? null : decodeReuseCursor(query.cursor);
25045
25077
  const after = cursor === null ? "" : `AND (v.occurrence_count < :cursorOccurrences
25046
25078
  OR (v.occurrence_count = :cursorOccurrences AND v.pointer_id < :cursorPointerId))`;
25047
25079
  const rows = allRows(
@@ -25056,11 +25088,12 @@ var SqliteSecretVaultRepository = class {
25056
25088
  FROM secret_vault v
25057
25089
  WHERE ${REUSED_PREDICATE} ${after}
25058
25090
  ORDER BY v.occurrence_count DESC, v.pointer_id DESC
25059
- LIMIT :limit`
25091
+ LIMIT :limit OFFSET :offset`
25060
25092
  ),
25061
25093
  bindParams({
25062
25094
  now,
25063
25095
  limit: limit + 1,
25096
+ offset,
25064
25097
  ...cursor === null ? {} : { cursorOccurrences: cursor.occurrences, cursorPointerId: cursor.pointerId }
25065
25098
  })
25066
25099
  );
@@ -25085,7 +25118,8 @@ var SqliteSecretVaultRepository = class {
25085
25118
  */
25086
25119
  listDerefs(query = {}) {
25087
25120
  const limit = pageLimit(query.limit, DEFAULT_VAULT_DEREFS_LIMIT);
25088
- const cursor = query.cursor === void 0 ? null : decodeKeysetCursor(query.cursor);
25121
+ const offset = pageOffset(query.offset);
25122
+ const cursor = query.cursor === void 0 || query.offset !== void 0 ? null : decodeKeysetCursor(query.cursor);
25089
25123
  const conditions = [];
25090
25124
  if (query.includeBatched !== true) {
25091
25125
  conditions.push(`reason NOT IN ('display', 'view-render')`);
@@ -25098,21 +25132,28 @@ var SqliteSecretVaultRepository = class {
25098
25132
  this.db.prepare(
25099
25133
  `SELECT id, pointer_id, at, target, reason, outcome, grant_id, pointer_count
25100
25134
  FROM secret_vault_deref ${where}
25101
- ORDER BY at DESC, id DESC LIMIT :limit`
25135
+ ORDER BY at DESC, id DESC LIMIT :limit OFFSET :offset`
25102
25136
  ),
25103
25137
  bindParams({
25104
25138
  limit: limit + 1,
25139
+ offset,
25105
25140
  ...cursor === null ? {} : { cursorAt: cursor.startedAtMs, cursorId: cursor.id }
25106
25141
  })
25107
25142
  );
25108
25143
  const hasMore = rows.length > limit;
25109
25144
  const page = hasMore ? rows.slice(0, limit) : rows;
25110
25145
  const last = page[page.length - 1];
25111
- const hiddenBatched = query.includeBatched === true ? 0 : countScalar(
25112
- this.db,
25113
- `SELECT count(*) AS n FROM secret_vault_deref WHERE reason IN ('display', 'view-render')`
25114
- );
25146
+ const counts = getRow(
25147
+ this.db.prepare(
25148
+ `SELECT count(*) AS total,
25149
+ count(*) FILTER (WHERE reason IN ('display', 'view-render')) AS hidden
25150
+ FROM secret_vault_deref`
25151
+ )
25152
+ ) ?? { total: 0, hidden: 0 };
25153
+ const includeBatched = query.includeBatched === true;
25154
+ const hiddenBatched = includeBatched ? 0 : counts.hidden;
25115
25155
  return {
25156
+ totals: { derefs: includeBatched ? counts.total : counts.total - counts.hidden },
25116
25157
  items: page.map((r) => ({
25117
25158
  id: r.id,
25118
25159
  pointerId: r.pointer_id,
@@ -33523,8 +33564,25 @@ function bundledMaskingRules() {
33523
33564
  return ensureBundledPacks() ? getLoadedRules() : null;
33524
33565
  }
33525
33566
 
33567
+ // ../../packages/plugin-sdk/src/regular-file.ts
33568
+ import { closeSync as closeSync2, constants, fstatSync, openSync as openSync2, readFileSync as readFileSync16 } from "fs";
33569
+ function notRegularFile(path2) {
33570
+ return `not a regular file: ${path2}`;
33571
+ }
33572
+ function readRegularFile(path2, maxBytes) {
33573
+ const fd = openSync2(path2, constants.O_RDONLY | constants.O_NONBLOCK);
33574
+ try {
33575
+ const stat2 = fstatSync(fd);
33576
+ if (!stat2.isFile()) throw new Error(notRegularFile(path2));
33577
+ if (maxBytes !== void 0 && stat2.size > maxBytes) throw new Error(`file too large: ${path2}`);
33578
+ return readFileSync16(fd, "utf8");
33579
+ } finally {
33580
+ closeSync2(fd);
33581
+ }
33582
+ }
33583
+
33526
33584
  // ../../packages/plugin-sdk/src/repo.ts
33527
- import { existsSync as existsSync9, readFileSync as readFileSync16, statSync as statSync7 } from "fs";
33585
+ import { existsSync as existsSync9, statSync as statSync7 } from "fs";
33528
33586
  import { basename as basename2, dirname as dirname5, isAbsolute as isAbsolute3, join as join24, sep as sep4 } from "path";
33529
33587
  function remoteWithoutCredentials(remote) {
33530
33588
  const withoutInfo = withoutUserinfo(remote);
@@ -33635,9 +33693,10 @@ function resolveGitContext(root) {
33635
33693
  const headRoot = basename2(commonGitDir) === ".git" ? dirname5(commonGitDir) : root;
33636
33694
  return { configPath: join24(commonGitDir, "config"), headRoot };
33637
33695
  }
33696
+ var MAX_GIT_METADATA_BYTES = 1024 * 1024;
33638
33697
  function safeRead(path2) {
33639
33698
  try {
33640
- return readFileSync16(path2, "utf8");
33699
+ return readRegularFile(path2, MAX_GIT_METADATA_BYTES);
33641
33700
  } catch {
33642
33701
  return void 0;
33643
33702
  }
@@ -34258,11 +34317,10 @@ function createGuardedScanner(partition, gateway, opts) {
34258
34317
 
34259
34318
  // ../../packages/plugin-sdk/src/ignore-layers.ts
34260
34319
  var import_ignore = __toESM(require_ignore(), 1);
34261
- import { readFileSync as readFileSync17 } from "fs";
34262
34320
  import { join as join25 } from "path";
34263
34321
  function readIgnoreLayer(dir, filename, anchorLen) {
34264
34322
  try {
34265
- return { matcher: (0, import_ignore.default)().add(readFileSync17(join25(dir, filename), "utf8")), anchorLen };
34323
+ return { matcher: (0, import_ignore.default)().add(readRegularFile(join25(dir, filename))), anchorLen };
34266
34324
  } catch {
34267
34325
  return void 0;
34268
34326
  }
@@ -36506,7 +36564,7 @@ function sessionToolIsKeyed(tool) {
36506
36564
 
36507
36565
  // ../../packages/plugin-runtime/src/attached/config-inventory-sync.ts
36508
36566
  import { createHash as createHash12 } from "crypto";
36509
- import { readFileSync as readFileSync19 } from "fs";
36567
+ import { readFileSync as readFileSync18 } from "fs";
36510
36568
  import { join as join29 } from "path";
36511
36569
 
36512
36570
  // ../../packages/plugin-runtime/src/attached/config-inventory-wire.ts
@@ -36606,7 +36664,7 @@ async function publishByRename(tmp, file, move = rename2) {
36606
36664
 
36607
36665
  // ../../packages/plugin-runtime/src/attached/capture-settings.ts
36608
36666
  import { randomUUID as randomUUID18 } from "crypto";
36609
- import { readFileSync as readFileSync18 } from "fs";
36667
+ import { readFileSync as readFileSync17 } from "fs";
36610
36668
  import { rm, writeFile as writeFile2 } from "fs/promises";
36611
36669
  import { join as join27 } from "path";
36612
36670
  var HookCaptureSettingsSchema = CaptureSettings.pick({
@@ -37077,7 +37135,7 @@ function machineWideDigest(requests) {
37077
37135
  function readStagedEntries(dataDir2) {
37078
37136
  let parsed2;
37079
37137
  try {
37080
- parsed2 = JSON.parse(readFileSync19(stagedConfigInventoryPath(dataDir2), "utf8"));
37138
+ parsed2 = JSON.parse(readFileSync18(stagedConfigInventoryPath(dataDir2), "utf8"));
37081
37139
  } catch {
37082
37140
  return [];
37083
37141
  }
@@ -37111,7 +37169,7 @@ function readStagedReports(dataDir2) {
37111
37169
  function readDelivered(dataDir2, attachment) {
37112
37170
  const empty = { attachment, reports: {}, global: {} };
37113
37171
  try {
37114
- const parsed2 = JSON.parse(readFileSync19(configInventoryStatePath(dataDir2), "utf8"));
37172
+ const parsed2 = JSON.parse(readFileSync18(configInventoryStatePath(dataDir2), "utf8"));
37115
37173
  if (parsed2?.attachment !== attachment) return empty;
37116
37174
  const reports = {};
37117
37175
  for (const [key, value] of Object.entries(asRecord(parsed2.reports))) {
@@ -37152,7 +37210,7 @@ function asRecord(value) {
37152
37210
  }
37153
37211
 
37154
37212
  // ../../packages/plugin-runtime/src/attached/forward-drops.ts
37155
- import { readFileSync as readFileSync20 } from "fs";
37213
+ import { readFileSync as readFileSync19 } from "fs";
37156
37214
  import { join as join30 } from "path";
37157
37215
  var FORWARD_DROPS_FILENAME = ATTACHED_FORWARD_DROPS_FILENAME;
37158
37216
  function forwardDropsPath(dataDir2) {
@@ -37174,7 +37232,7 @@ function recordForwardDrops(dataDir2, count, nowMs) {
37174
37232
  }
37175
37233
  function readForwardDrops(dataDir2) {
37176
37234
  try {
37177
- const parsed2 = JSON.parse(readFileSync20(forwardDropsPath(dataDir2), "utf8"));
37235
+ const parsed2 = JSON.parse(readFileSync19(forwardDropsPath(dataDir2), "utf8"));
37178
37236
  if (typeof parsed2 !== "object" || parsed2 === null) return null;
37179
37237
  const record2 = parsed2;
37180
37238
  if (typeof record2.droppedForwards !== "number" || !Number.isFinite(record2.droppedForwards)) {
@@ -38278,7 +38336,7 @@ function toWireInspection(insp, nameKey) {
38278
38336
  }
38279
38337
 
38280
38338
  // ../../packages/plugin-runtime/src/attached/plugin-block.ts
38281
- import { readFileSync as readFileSync21 } from "fs";
38339
+ import { readFileSync as readFileSync20 } from "fs";
38282
38340
 
38283
38341
  // ../../packages/plugin-runtime/src/attached/install-record.ts
38284
38342
  import { readFile as readFile3, stat } from "fs/promises";
@@ -38351,7 +38409,7 @@ async function readInstalledVersionBounded(installRoot) {
38351
38409
  }
38352
38410
 
38353
38411
  // ../../packages/plugin-runtime/src/attached/posture-report-state.ts
38354
- import { readFileSync as readFileSync22 } from "fs";
38412
+ import { readFileSync as readFileSync21 } from "fs";
38355
38413
  import { join as join32 } from "path";
38356
38414
  var POSTURE_REPORT_STATE_FILENAME = ATTACHED_POSTURE_REPORT_FILENAME;
38357
38415
  var OUTCOME_KEYS = {
@@ -38627,7 +38685,7 @@ function createPostureStore(dir = settingsDir(), legacyDir) {
38627
38685
  }
38628
38686
 
38629
38687
  // ../../packages/plugin-runtime/src/attached/label-drops.ts
38630
- import { readFileSync as readFileSync23 } from "fs";
38688
+ import { readFileSync as readFileSync22 } from "fs";
38631
38689
  import { join as join34 } from "path";
38632
38690
  function path(dataDir2) {
38633
38691
  return join34(dataDir2, ATTACHED_LABEL_SYNC_FILENAME);
@@ -38648,7 +38706,7 @@ function recordUnsendableLabels(dataDir2, count, nowMs) {
38648
38706
  }
38649
38707
  function readUnsendableLabels(dataDir2) {
38650
38708
  try {
38651
- const parsed2 = JSON.parse(readFileSync23(path(dataDir2), "utf8"));
38709
+ const parsed2 = JSON.parse(readFileSync22(path(dataDir2), "utf8"));
38652
38710
  if (typeof parsed2 !== "object" || parsed2 === null) return null;
38653
38711
  const record2 = parsed2;
38654
38712
  if (typeof record2.unsendable !== "number" || !Number.isFinite(record2.unsendable)) return null;
@@ -38661,7 +38719,7 @@ function readUnsendableLabels(dataDir2) {
38661
38719
  }
38662
38720
 
38663
38721
  // ../../packages/plugin-runtime/src/attached/sync-state.ts
38664
- import { readFileSync as readFileSync24 } from "fs";
38722
+ import { readFileSync as readFileSync23 } from "fs";
38665
38723
  import { join as join35 } from "path";
38666
38724
  var SYNC_STATE_FILENAME = ATTACHED_SYNC_STATE_FILENAME;
38667
38725
  function syncStatePath(dataDir2) {
@@ -39277,14 +39335,14 @@ var DISCOVER_SKIP = /* @__PURE__ */ new Set([
39277
39335
  import { basename as basename6, relative as relative3 } from "path";
39278
39336
 
39279
39337
  // ../../packages/scanner/src/scan.ts
39280
- import { existsSync as existsSync13, readFileSync as readFileSync26 } from "fs";
39338
+ import { existsSync as existsSync13, readFileSync as readFileSync25 } from "fs";
39281
39339
  import { dirname as dirname13, extname as extname2, isAbsolute as isAbsolute4, relative as relative5 } from "path";
39282
39340
 
39283
39341
  // ../../packages/scanner/src/manifests.ts
39284
39342
  import { statSync as statSync11 } from "fs";
39285
39343
 
39286
39344
  // ../../packages/scanner/src/walk.ts
39287
- import { readdirSync as readdirSync5, readFileSync as readFileSync25, statSync as statSync10 } from "fs";
39345
+ import { readdirSync as readdirSync5, readFileSync as readFileSync24, statSync as statSync10 } from "fs";
39288
39346
  import { homedir as homedir3 } from "os";
39289
39347
  import { join as join38, relative as relative4, sep as sep7 } from "path";
39290
39348
  var import_ignore2 = __toESM(require_ignore(), 1);
@@ -39412,7 +39470,7 @@ function* walkSourceFiles(opts = {}) {
39412
39470
  if (opts.shouldRead && !opts.shouldRead(meta3)) continue;
39413
39471
  let content;
39414
39472
  try {
39415
- content = readFileSync25(file.path, "utf8");
39473
+ content = readFileSync24(file.path, "utf8");
39416
39474
  } catch {
39417
39475
  continue;
39418
39476
  }
@@ -39860,7 +39918,7 @@ function scanManifests(egress, ledger, updates, rootDir, scopeKeyOf2, onReposito
39860
39918
  }
39861
39919
  let content;
39862
39920
  try {
39863
- content = readFileSync26(manifest.path, "utf8");
39921
+ content = readFileSync25(manifest.path, "utf8");
39864
39922
  } catch {
39865
39923
  continue;
39866
39924
  }