@doccov/sdk 0.31.1 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
+ import "./v4/classic/external";
1
2
  /**
2
3
  * Documentation style presets.
3
4
  *
@@ -42,8 +42,8 @@ import {
42
42
  saveReport,
43
43
  saveSnapshot,
44
44
  symbolExistsInGraph
45
- } from "../shared/chunk-ee3ctqje.js";
46
- import"../shared/chunk-r4wa72ae.js";
45
+ } from "../shared/chunk-y2q97weh.js";
46
+ import"../shared/chunk-nf25xzdd.js";
47
47
  export {
48
48
  symbolExistsInGraph,
49
49
  saveSnapshot,
package/dist/index.d.ts CHANGED
@@ -1389,7 +1389,8 @@ interface FilterOptions {
1389
1389
  /** Filter by visibility/release stage (e.g., ['public', 'beta']) */
1390
1390
  visibility?: ReleaseTag[];
1391
1391
  }
1392
- import { z } from "zod";
1392
+ import * as z from "./v4/classic/external";
1393
+ import "./v4/classic/external";
1393
1394
  declare const stringList: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1394
1395
  /**
1395
1396
  * Docs configuration schema
@@ -2692,8 +2693,8 @@ interface SchemaDetectionResult {
2692
2693
  }
2693
2694
  declare function detectRuntimeSchemas(context: SchemaDetectionContext): Promise<SchemaDetectionResult>;
2694
2695
  import * as TS2 from "typescript";
2695
- import { ExtractStandardSchemasOptions, extractSchemaType, extractStandardSchemas, extractStandardSchemasFromProject, findAdapter, isSchemaType, isStandardJSONSchema, resolveCompiledPath, SchemaAdapter, SchemaExtractionResult, StandardJSONSchemaV1, StandardSchemaExtractionOutput, StandardSchemaExtractionResult } from "@openpkg-ts/extract";
2696
- import { SchemaAdapter as SchemaAdapter2 } from "@openpkg-ts/extract";
2696
+ import { ExtractStandardSchemasOptions, extractSchemaType, extractStandardSchemas, extractStandardSchemasFromProject, findAdapter, isSchemaType, isStandardJSONSchema, resolveCompiledPath, SchemaAdapter, SchemaExtractionResult, StandardJSONSchemaV1, StandardSchemaExtractionOutput, StandardSchemaExtractionResult } from "@openpkg-ts/sdk";
2697
+ import { SchemaAdapter as SchemaAdapter2 } from "@openpkg-ts/sdk";
2697
2698
  /**
2698
2699
  * Extract the output type from a schema type.
2699
2700
  * Convenience wrapper that returns just the type.
@@ -3118,7 +3119,7 @@ interface SpecSummary {
3118
3119
  * ```
3119
3120
  */
3120
3121
  declare function extractSpecSummary(openpkg: OpenPkg10, doccov: DocCovSpec5): SpecSummary;
3121
- import { OpenPkg as OpenPkg_wrdgzrsgop } from "@openpkg-ts/spec";
3122
+ import { OpenPkg as OpenPkg_6n0cn6 } from "@openpkg-ts/spec";
3122
3123
  /**
3123
3124
  * Build Plan types for AI-powered repository scanning.
3124
3125
  */
@@ -3215,7 +3216,7 @@ interface BuildPlanExecutionResult {
3215
3216
  /** Whether all required steps succeeded */
3216
3217
  success: boolean;
3217
3218
  /** Generated OpenPkg spec (if successful) */
3218
- spec?: OpenPkg_wrdgzrsgop;
3219
+ spec?: OpenPkg_6n0cn6;
3219
3220
  /** Results for each step */
3220
3221
  stepResults: BuildPlanStepResult[];
3221
3222
  /** Total execution time in milliseconds */
package/dist/index.js CHANGED
@@ -76,7 +76,7 @@ import {
76
76
  serializeJSDoc,
77
77
  symbolExistsInGraph,
78
78
  ts
79
- } from "./shared/chunk-ee3ctqje.js";
79
+ } from "./shared/chunk-y2q97weh.js";
80
80
  import {
81
81
  mergeFilters,
82
82
  parseListFlag
@@ -88,10 +88,9 @@ import {
88
88
  REPORT_VERSION,
89
89
  __export,
90
90
  __require,
91
- __toESM,
92
91
  getDiffReportPath,
93
92
  getReportPath
94
- } from "./shared/chunk-r4wa72ae.js";
93
+ } from "./shared/chunk-nf25xzdd.js";
95
94
  // src/analysis/batch.ts
96
95
  function createPackageResult(openpkg, doccov, entryPath) {
97
96
  const totalExports = doccov.summary.totalExports;
@@ -145,12 +144,12 @@ function aggregateResults(packages) {
145
144
  import * as fsSync from "node:fs";
146
145
  import * as fs5 from "node:fs/promises";
147
146
  import * as path7 from "node:path";
148
- import { createProgram as createProgram2 } from "@openpkg-ts/extract";
147
+ import { createProgram as createProgram2 } from "@openpkg-ts/sdk";
149
148
 
150
149
  // src/analysis/run-analysis.ts
151
150
  import * as fs2 from "node:fs";
152
151
  import * as path3 from "node:path";
153
- import { extract } from "@openpkg-ts/extract";
152
+ import { extract } from "@openpkg-ts/sdk";
154
153
 
155
154
  // src/analysis/context.ts
156
155
  import * as path2 from "node:path";
@@ -186,7 +185,7 @@ function normalizeDocCovOptions(options = {}) {
186
185
  }
187
186
 
188
187
  // src/analysis/context.ts
189
- import { createProgram } from "@openpkg-ts/extract";
188
+ import { createProgram } from "@openpkg-ts/sdk";
190
189
  function createAnalysisContext({
191
190
  entryFile,
192
191
  packageDir,
@@ -976,7 +975,7 @@ function resolvePackageDir(entryFile) {
976
975
  currentDir = parentDir;
977
976
  }
978
977
  }
979
- // node_modules/zod/v4/classic/external.js
978
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/external.js
980
979
  var exports_external = {};
981
980
  __export(exports_external, {
982
981
  xor: () => xor,
@@ -1217,7 +1216,7 @@ __export(exports_external, {
1217
1216
  $brand: () => $brand
1218
1217
  });
1219
1218
 
1220
- // node_modules/zod/v4/core/index.js
1219
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/index.js
1221
1220
  var exports_core2 = {};
1222
1221
  __export(exports_core2, {
1223
1222
  version: () => version,
@@ -1495,7 +1494,7 @@ __export(exports_core2, {
1495
1494
  $ZodAny: () => $ZodAny
1496
1495
  });
1497
1496
 
1498
- // node_modules/zod/v4/core/core.js
1497
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/core.js
1499
1498
  var NEVER = Object.freeze({
1500
1499
  status: "aborted"
1501
1500
  });
@@ -1571,7 +1570,7 @@ function config(newConfig) {
1571
1570
  Object.assign(globalConfig, newConfig);
1572
1571
  return globalConfig;
1573
1572
  }
1574
- // node_modules/zod/v4/core/util.js
1573
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/util.js
1575
1574
  var exports_util = {};
1576
1575
  __export(exports_util, {
1577
1576
  unwrapMessage: () => unwrapMessage,
@@ -2245,7 +2244,7 @@ class Class {
2245
2244
  constructor(..._args) {}
2246
2245
  }
2247
2246
 
2248
- // node_modules/zod/v4/core/errors.js
2247
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/errors.js
2249
2248
  var initializer = (inst, def) => {
2250
2249
  inst.name = "$ZodError";
2251
2250
  Object.defineProperty(inst, "_zod", {
@@ -2382,7 +2381,7 @@ function prettifyError(error) {
2382
2381
  `);
2383
2382
  }
2384
2383
 
2385
- // node_modules/zod/v4/core/parse.js
2384
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/parse.js
2386
2385
  var _parse = (_Err) => (schema, value, _ctx, _params) => {
2387
2386
  const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
2388
2387
  const result = schema._zod.run({ value, issues: [] }, ctx);
@@ -2469,7 +2468,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
2469
2468
  return _safeParseAsync(_Err)(schema, value, _ctx);
2470
2469
  };
2471
2470
  var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
2472
- // node_modules/zod/v4/core/regexes.js
2471
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/regexes.js
2473
2472
  var exports_regexes = {};
2474
2473
  __export(exports_regexes, {
2475
2474
  xid: () => xid,
@@ -2626,7 +2625,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
2626
2625
  var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
2627
2626
  var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
2628
2627
 
2629
- // node_modules/zod/v4/core/checks.js
2628
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/checks.js
2630
2629
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
2631
2630
  var _a;
2632
2631
  inst._zod ?? (inst._zod = {});
@@ -3173,7 +3172,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
3173
3172
  };
3174
3173
  });
3175
3174
 
3176
- // node_modules/zod/v4/core/doc.js
3175
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/doc.js
3177
3176
  class Doc {
3178
3177
  constructor(args = []) {
3179
3178
  this.content = [];
@@ -3211,14 +3210,14 @@ class Doc {
3211
3210
  }
3212
3211
  }
3213
3212
 
3214
- // node_modules/zod/v4/core/versions.js
3213
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/versions.js
3215
3214
  var version = {
3216
3215
  major: 4,
3217
3216
  minor: 3,
3218
- patch: 5
3217
+ patch: 6
3219
3218
  };
3220
3219
 
3221
- // node_modules/zod/v4/core/schemas.js
3220
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/schemas.js
3222
3221
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
3223
3222
  var _a;
3224
3223
  inst ?? (inst = {});
@@ -4501,7 +4500,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
4501
4500
  if (keyResult instanceof Promise) {
4502
4501
  throw new Error("Async schemas not supported in object keys currently");
4503
4502
  }
4504
- const checkNumericKey = typeof key === "string" && number.test(key) && keyResult.issues.length && keyResult.issues.some((iss) => iss.code === "invalid_type" && iss.expected === "number");
4503
+ const checkNumericKey = typeof key === "string" && number.test(key) && keyResult.issues.length;
4505
4504
  if (checkNumericKey) {
4506
4505
  const retryResult = def.keyType._zod.run({ value: Number(key), issues: [] }, ctx);
4507
4506
  if (retryResult instanceof Promise) {
@@ -5180,7 +5179,7 @@ function handleRefineResult(result, payload, input, inst) {
5180
5179
  payload.issues.push(issue(_iss));
5181
5180
  }
5182
5181
  }
5183
- // node_modules/zod/v4/locales/index.js
5182
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/index.js
5184
5183
  var exports_locales = {};
5185
5184
  __export(exports_locales, {
5186
5185
  zhTW: () => zh_TW_default,
@@ -5234,7 +5233,7 @@ __export(exports_locales, {
5234
5233
  ar: () => ar_default
5235
5234
  });
5236
5235
 
5237
- // node_modules/zod/v4/locales/ar.js
5236
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ar.js
5238
5237
  var error = () => {
5239
5238
  const Sizable = {
5240
5239
  string: { unit: "حرف", verb: "أن يحوي" },
@@ -5340,7 +5339,7 @@ function ar_default() {
5340
5339
  localeError: error()
5341
5340
  };
5342
5341
  }
5343
- // node_modules/zod/v4/locales/az.js
5342
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/az.js
5344
5343
  var error2 = () => {
5345
5344
  const Sizable = {
5346
5345
  string: { unit: "simvol", verb: "olmalıdır" },
@@ -5445,7 +5444,7 @@ function az_default() {
5445
5444
  localeError: error2()
5446
5445
  };
5447
5446
  }
5448
- // node_modules/zod/v4/locales/be.js
5447
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/be.js
5449
5448
  function getBelarusianPlural(count, one, few, many) {
5450
5449
  const absCount = Math.abs(count);
5451
5450
  const lastDigit = absCount % 10;
@@ -5601,7 +5600,7 @@ function be_default() {
5601
5600
  localeError: error3()
5602
5601
  };
5603
5602
  }
5604
- // node_modules/zod/v4/locales/bg.js
5603
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/bg.js
5605
5604
  var error4 = () => {
5606
5605
  const Sizable = {
5607
5606
  string: { unit: "символа", verb: "да съдържа" },
@@ -5721,7 +5720,7 @@ function bg_default() {
5721
5720
  localeError: error4()
5722
5721
  };
5723
5722
  }
5724
- // node_modules/zod/v4/locales/ca.js
5723
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ca.js
5725
5724
  var error5 = () => {
5726
5725
  const Sizable = {
5727
5726
  string: { unit: "caràcters", verb: "contenir" },
@@ -5828,7 +5827,7 @@ function ca_default() {
5828
5827
  localeError: error5()
5829
5828
  };
5830
5829
  }
5831
- // node_modules/zod/v4/locales/cs.js
5830
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/cs.js
5832
5831
  var error6 = () => {
5833
5832
  const Sizable = {
5834
5833
  string: { unit: "znaků", verb: "mít" },
@@ -5939,7 +5938,7 @@ function cs_default() {
5939
5938
  localeError: error6()
5940
5939
  };
5941
5940
  }
5942
- // node_modules/zod/v4/locales/da.js
5941
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/da.js
5943
5942
  var error7 = () => {
5944
5943
  const Sizable = {
5945
5944
  string: { unit: "tegn", verb: "havde" },
@@ -6054,7 +6053,7 @@ function da_default() {
6054
6053
  localeError: error7()
6055
6054
  };
6056
6055
  }
6057
- // node_modules/zod/v4/locales/de.js
6056
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/de.js
6058
6057
  var error8 = () => {
6059
6058
  const Sizable = {
6060
6059
  string: { unit: "Zeichen", verb: "zu haben" },
@@ -6162,7 +6161,7 @@ function de_default() {
6162
6161
  localeError: error8()
6163
6162
  };
6164
6163
  }
6165
- // node_modules/zod/v4/locales/en.js
6164
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/en.js
6166
6165
  var error9 = () => {
6167
6166
  const Sizable = {
6168
6167
  string: { unit: "characters", verb: "to have" },
@@ -6268,7 +6267,7 @@ function en_default() {
6268
6267
  localeError: error9()
6269
6268
  };
6270
6269
  }
6271
- // node_modules/zod/v4/locales/eo.js
6270
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/eo.js
6272
6271
  var error10 = () => {
6273
6272
  const Sizable = {
6274
6273
  string: { unit: "karaktrojn", verb: "havi" },
@@ -6377,7 +6376,7 @@ function eo_default() {
6377
6376
  localeError: error10()
6378
6377
  };
6379
6378
  }
6380
- // node_modules/zod/v4/locales/es.js
6379
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/es.js
6381
6380
  var error11 = () => {
6382
6381
  const Sizable = {
6383
6382
  string: { unit: "caracteres", verb: "tener" },
@@ -6509,7 +6508,7 @@ function es_default() {
6509
6508
  localeError: error11()
6510
6509
  };
6511
6510
  }
6512
- // node_modules/zod/v4/locales/fa.js
6511
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/fa.js
6513
6512
  var error12 = () => {
6514
6513
  const Sizable = {
6515
6514
  string: { unit: "کاراکتر", verb: "داشته باشد" },
@@ -6623,7 +6622,7 @@ function fa_default() {
6623
6622
  localeError: error12()
6624
6623
  };
6625
6624
  }
6626
- // node_modules/zod/v4/locales/fi.js
6625
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/fi.js
6627
6626
  var error13 = () => {
6628
6627
  const Sizable = {
6629
6628
  string: { unit: "merkkiä", subject: "merkkijonon" },
@@ -6735,7 +6734,7 @@ function fi_default() {
6735
6734
  localeError: error13()
6736
6735
  };
6737
6736
  }
6738
- // node_modules/zod/v4/locales/fr.js
6737
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/fr.js
6739
6738
  var error14 = () => {
6740
6739
  const Sizable = {
6741
6740
  string: { unit: "caractères", verb: "avoir" },
@@ -6843,7 +6842,7 @@ function fr_default() {
6843
6842
  localeError: error14()
6844
6843
  };
6845
6844
  }
6846
- // node_modules/zod/v4/locales/fr-CA.js
6845
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/fr-CA.js
6847
6846
  var error15 = () => {
6848
6847
  const Sizable = {
6849
6848
  string: { unit: "caractères", verb: "avoir" },
@@ -6950,7 +6949,7 @@ function fr_CA_default() {
6950
6949
  localeError: error15()
6951
6950
  };
6952
6951
  }
6953
- // node_modules/zod/v4/locales/he.js
6952
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/he.js
6954
6953
  var error16 = () => {
6955
6954
  const TypeNames = {
6956
6955
  string: { label: "מחרוזת", gender: "f" },
@@ -7143,7 +7142,7 @@ function he_default() {
7143
7142
  localeError: error16()
7144
7143
  };
7145
7144
  }
7146
- // node_modules/zod/v4/locales/hu.js
7145
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/hu.js
7147
7146
  var error17 = () => {
7148
7147
  const Sizable = {
7149
7148
  string: { unit: "karakter", verb: "legyen" },
@@ -7251,7 +7250,7 @@ function hu_default() {
7251
7250
  localeError: error17()
7252
7251
  };
7253
7252
  }
7254
- // node_modules/zod/v4/locales/hy.js
7253
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/hy.js
7255
7254
  function getArmenianPlural(count, one, many) {
7256
7255
  return Math.abs(count) === 1 ? one : many;
7257
7256
  }
@@ -7398,7 +7397,7 @@ function hy_default() {
7398
7397
  localeError: error18()
7399
7398
  };
7400
7399
  }
7401
- // node_modules/zod/v4/locales/id.js
7400
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/id.js
7402
7401
  var error19 = () => {
7403
7402
  const Sizable = {
7404
7403
  string: { unit: "karakter", verb: "memiliki" },
@@ -7504,7 +7503,7 @@ function id_default() {
7504
7503
  localeError: error19()
7505
7504
  };
7506
7505
  }
7507
- // node_modules/zod/v4/locales/is.js
7506
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/is.js
7508
7507
  var error20 = () => {
7509
7508
  const Sizable = {
7510
7509
  string: { unit: "stafi", verb: "að hafa" },
@@ -7613,7 +7612,7 @@ function is_default() {
7613
7612
  localeError: error20()
7614
7613
  };
7615
7614
  }
7616
- // node_modules/zod/v4/locales/it.js
7615
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/it.js
7617
7616
  var error21 = () => {
7618
7617
  const Sizable = {
7619
7618
  string: { unit: "caratteri", verb: "avere" },
@@ -7721,7 +7720,7 @@ function it_default() {
7721
7720
  localeError: error21()
7722
7721
  };
7723
7722
  }
7724
- // node_modules/zod/v4/locales/ja.js
7723
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ja.js
7725
7724
  var error22 = () => {
7726
7725
  const Sizable = {
7727
7726
  string: { unit: "文字", verb: "である" },
@@ -7828,7 +7827,7 @@ function ja_default() {
7828
7827
  localeError: error22()
7829
7828
  };
7830
7829
  }
7831
- // node_modules/zod/v4/locales/ka.js
7830
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ka.js
7832
7831
  var error23 = () => {
7833
7832
  const Sizable = {
7834
7833
  string: { unit: "სიმბოლო", verb: "უნდა შეიცავდეს" },
@@ -7940,7 +7939,7 @@ function ka_default() {
7940
7939
  localeError: error23()
7941
7940
  };
7942
7941
  }
7943
- // node_modules/zod/v4/locales/km.js
7942
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/km.js
7944
7943
  var error24 = () => {
7945
7944
  const Sizable = {
7946
7945
  string: { unit: "តួអក្សរ", verb: "គួរមាន" },
@@ -8051,11 +8050,11 @@ function km_default() {
8051
8050
  };
8052
8051
  }
8053
8052
 
8054
- // node_modules/zod/v4/locales/kh.js
8053
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/kh.js
8055
8054
  function kh_default() {
8056
8055
  return km_default();
8057
8056
  }
8058
- // node_modules/zod/v4/locales/ko.js
8057
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ko.js
8059
8058
  var error25 = () => {
8060
8059
  const Sizable = {
8061
8060
  string: { unit: "문자", verb: "to have" },
@@ -8166,7 +8165,7 @@ function ko_default() {
8166
8165
  localeError: error25()
8167
8166
  };
8168
8167
  }
8169
- // node_modules/zod/v4/locales/lt.js
8168
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/lt.js
8170
8169
  var capitalizeFirstCharacter = (text) => {
8171
8170
  return text.charAt(0).toUpperCase() + text.slice(1);
8172
8171
  };
@@ -8369,7 +8368,7 @@ function lt_default() {
8369
8368
  localeError: error26()
8370
8369
  };
8371
8370
  }
8372
- // node_modules/zod/v4/locales/mk.js
8371
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/mk.js
8373
8372
  var error27 = () => {
8374
8373
  const Sizable = {
8375
8374
  string: { unit: "знаци", verb: "да имаат" },
@@ -8478,7 +8477,7 @@ function mk_default() {
8478
8477
  localeError: error27()
8479
8478
  };
8480
8479
  }
8481
- // node_modules/zod/v4/locales/ms.js
8480
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ms.js
8482
8481
  var error28 = () => {
8483
8482
  const Sizable = {
8484
8483
  string: { unit: "aksara", verb: "mempunyai" },
@@ -8585,7 +8584,7 @@ function ms_default() {
8585
8584
  localeError: error28()
8586
8585
  };
8587
8586
  }
8588
- // node_modules/zod/v4/locales/nl.js
8587
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/nl.js
8589
8588
  var error29 = () => {
8590
8589
  const Sizable = {
8591
8590
  string: { unit: "tekens", verb: "heeft" },
@@ -8695,7 +8694,7 @@ function nl_default() {
8695
8694
  localeError: error29()
8696
8695
  };
8697
8696
  }
8698
- // node_modules/zod/v4/locales/no.js
8697
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/no.js
8699
8698
  var error30 = () => {
8700
8699
  const Sizable = {
8701
8700
  string: { unit: "tegn", verb: "å ha" },
@@ -8803,7 +8802,7 @@ function no_default() {
8803
8802
  localeError: error30()
8804
8803
  };
8805
8804
  }
8806
- // node_modules/zod/v4/locales/ota.js
8805
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ota.js
8807
8806
  var error31 = () => {
8808
8807
  const Sizable = {
8809
8808
  string: { unit: "harf", verb: "olmalıdır" },
@@ -8912,7 +8911,7 @@ function ota_default() {
8912
8911
  localeError: error31()
8913
8912
  };
8914
8913
  }
8915
- // node_modules/zod/v4/locales/ps.js
8914
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ps.js
8916
8915
  var error32 = () => {
8917
8916
  const Sizable = {
8918
8917
  string: { unit: "توکي", verb: "ولري" },
@@ -9026,7 +9025,7 @@ function ps_default() {
9026
9025
  localeError: error32()
9027
9026
  };
9028
9027
  }
9029
- // node_modules/zod/v4/locales/pl.js
9028
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/pl.js
9030
9029
  var error33 = () => {
9031
9030
  const Sizable = {
9032
9031
  string: { unit: "znaków", verb: "mieć" },
@@ -9135,7 +9134,7 @@ function pl_default() {
9135
9134
  localeError: error33()
9136
9135
  };
9137
9136
  }
9138
- // node_modules/zod/v4/locales/pt.js
9137
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/pt.js
9139
9138
  var error34 = () => {
9140
9139
  const Sizable = {
9141
9140
  string: { unit: "caracteres", verb: "ter" },
@@ -9243,7 +9242,7 @@ function pt_default() {
9243
9242
  localeError: error34()
9244
9243
  };
9245
9244
  }
9246
- // node_modules/zod/v4/locales/ru.js
9245
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ru.js
9247
9246
  function getRussianPlural(count, one, few, many) {
9248
9247
  const absCount = Math.abs(count);
9249
9248
  const lastDigit = absCount % 10;
@@ -9399,7 +9398,7 @@ function ru_default() {
9399
9398
  localeError: error35()
9400
9399
  };
9401
9400
  }
9402
- // node_modules/zod/v4/locales/sl.js
9401
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/sl.js
9403
9402
  var error36 = () => {
9404
9403
  const Sizable = {
9405
9404
  string: { unit: "znakov", verb: "imeti" },
@@ -9508,7 +9507,7 @@ function sl_default() {
9508
9507
  localeError: error36()
9509
9508
  };
9510
9509
  }
9511
- // node_modules/zod/v4/locales/sv.js
9510
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/sv.js
9512
9511
  var error37 = () => {
9513
9512
  const Sizable = {
9514
9513
  string: { unit: "tecken", verb: "att ha" },
@@ -9618,7 +9617,7 @@ function sv_default() {
9618
9617
  localeError: error37()
9619
9618
  };
9620
9619
  }
9621
- // node_modules/zod/v4/locales/ta.js
9620
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ta.js
9622
9621
  var error38 = () => {
9623
9622
  const Sizable = {
9624
9623
  string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" },
@@ -9728,7 +9727,7 @@ function ta_default() {
9728
9727
  localeError: error38()
9729
9728
  };
9730
9729
  }
9731
- // node_modules/zod/v4/locales/th.js
9730
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/th.js
9732
9731
  var error39 = () => {
9733
9732
  const Sizable = {
9734
9733
  string: { unit: "ตัวอักษร", verb: "ควรมี" },
@@ -9838,7 +9837,7 @@ function th_default() {
9838
9837
  localeError: error39()
9839
9838
  };
9840
9839
  }
9841
- // node_modules/zod/v4/locales/tr.js
9840
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/tr.js
9842
9841
  var error40 = () => {
9843
9842
  const Sizable = {
9844
9843
  string: { unit: "karakter", verb: "olmalı" },
@@ -9943,7 +9942,7 @@ function tr_default() {
9943
9942
  localeError: error40()
9944
9943
  };
9945
9944
  }
9946
- // node_modules/zod/v4/locales/uk.js
9945
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/uk.js
9947
9946
  var error41 = () => {
9948
9947
  const Sizable = {
9949
9948
  string: { unit: "символів", verb: "матиме" },
@@ -10052,11 +10051,11 @@ function uk_default() {
10052
10051
  };
10053
10052
  }
10054
10053
 
10055
- // node_modules/zod/v4/locales/ua.js
10054
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ua.js
10056
10055
  function ua_default() {
10057
10056
  return uk_default();
10058
10057
  }
10059
- // node_modules/zod/v4/locales/ur.js
10058
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ur.js
10060
10059
  var error42 = () => {
10061
10060
  const Sizable = {
10062
10061
  string: { unit: "حروف", verb: "ہونا" },
@@ -10166,7 +10165,7 @@ function ur_default() {
10166
10165
  localeError: error42()
10167
10166
  };
10168
10167
  }
10169
- // node_modules/zod/v4/locales/uz.js
10168
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/uz.js
10170
10169
  var error43 = () => {
10171
10170
  const Sizable = {
10172
10171
  string: { unit: "belgi", verb: "bo‘lishi kerak" },
@@ -10275,7 +10274,7 @@ function uz_default() {
10275
10274
  localeError: error43()
10276
10275
  };
10277
10276
  }
10278
- // node_modules/zod/v4/locales/vi.js
10277
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/vi.js
10279
10278
  var error44 = () => {
10280
10279
  const Sizable = {
10281
10280
  string: { unit: "ký tự", verb: "có" },
@@ -10383,7 +10382,7 @@ function vi_default() {
10383
10382
  localeError: error44()
10384
10383
  };
10385
10384
  }
10386
- // node_modules/zod/v4/locales/zh-CN.js
10385
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/zh-CN.js
10387
10386
  var error45 = () => {
10388
10387
  const Sizable = {
10389
10388
  string: { unit: "字符", verb: "包含" },
@@ -10492,7 +10491,7 @@ function zh_CN_default() {
10492
10491
  localeError: error45()
10493
10492
  };
10494
10493
  }
10495
- // node_modules/zod/v4/locales/zh-TW.js
10494
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/zh-TW.js
10496
10495
  var error46 = () => {
10497
10496
  const Sizable = {
10498
10497
  string: { unit: "字元", verb: "擁有" },
@@ -10599,7 +10598,7 @@ function zh_TW_default() {
10599
10598
  localeError: error46()
10600
10599
  };
10601
10600
  }
10602
- // node_modules/zod/v4/locales/yo.js
10601
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/yo.js
10603
10602
  var error47 = () => {
10604
10603
  const Sizable = {
10605
10604
  string: { unit: "àmi", verb: "ní" },
@@ -10706,7 +10705,7 @@ function yo_default() {
10706
10705
  localeError: error47()
10707
10706
  };
10708
10707
  }
10709
- // node_modules/zod/v4/core/registries.js
10708
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/registries.js
10710
10709
  var _a;
10711
10710
  var $output = Symbol("ZodOutput");
10712
10711
  var $input = Symbol("ZodInput");
@@ -10756,7 +10755,7 @@ function registry() {
10756
10755
  }
10757
10756
  (_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
10758
10757
  var globalRegistry = globalThis.__zod_globalRegistry;
10759
- // node_modules/zod/v4/core/api.js
10758
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/api.js
10760
10759
  function _string(Class2, params) {
10761
10760
  return new Class2({
10762
10761
  type: "string",
@@ -11676,7 +11675,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
11676
11675
  const inst = new Class2(def);
11677
11676
  return inst;
11678
11677
  }
11679
- // node_modules/zod/v4/core/to-json-schema.js
11678
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.js
11680
11679
  function initializeContext(params) {
11681
11680
  let target = params?.target ?? "draft-2020-12";
11682
11681
  if (target === "draft-4")
@@ -11872,7 +11871,7 @@ function finalize(ctx, schema) {
11872
11871
  }
11873
11872
  }
11874
11873
  }
11875
- if (refSchema.$ref) {
11874
+ if (refSchema.$ref && refSeen.def) {
11876
11875
  for (const key in schema2) {
11877
11876
  if (key === "$ref" || key === "allOf")
11878
11877
  continue;
@@ -12021,7 +12020,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
12021
12020
  extractDefs(ctx, schema);
12022
12021
  return finalize(ctx, schema);
12023
12022
  };
12024
- // node_modules/zod/v4/core/json-schema-processors.js
12023
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/json-schema-processors.js
12025
12024
  var formatMap = {
12026
12025
  guid: "uuid",
12027
12026
  url: "uri",
@@ -12566,7 +12565,7 @@ function toJSONSchema(input, params) {
12566
12565
  extractDefs(ctx, input);
12567
12566
  return finalize(ctx, input);
12568
12567
  }
12569
- // node_modules/zod/v4/core/json-schema-generator.js
12568
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/json-schema-generator.js
12570
12569
  class JSONSchemaGenerator {
12571
12570
  get metadataRegistry() {
12572
12571
  return this.ctx.metadataRegistry;
@@ -12625,9 +12624,9 @@ class JSONSchemaGenerator {
12625
12624
  return plainResult;
12626
12625
  }
12627
12626
  }
12628
- // node_modules/zod/v4/core/json-schema.js
12627
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/json-schema.js
12629
12628
  var exports_json_schema = {};
12630
- // node_modules/zod/v4/classic/schemas.js
12629
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/schemas.js
12631
12630
  var exports_schemas2 = {};
12632
12631
  __export(exports_schemas2, {
12633
12632
  xor: () => xor,
@@ -12796,7 +12795,7 @@ __export(exports_schemas2, {
12796
12795
  ZodAny: () => ZodAny
12797
12796
  });
12798
12797
 
12799
- // node_modules/zod/v4/classic/checks.js
12798
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/checks.js
12800
12799
  var exports_checks2 = {};
12801
12800
  __export(exports_checks2, {
12802
12801
  uppercase: () => _uppercase,
@@ -12830,7 +12829,7 @@ __export(exports_checks2, {
12830
12829
  endsWith: () => _endsWith
12831
12830
  });
12832
12831
 
12833
- // node_modules/zod/v4/classic/iso.js
12832
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/iso.js
12834
12833
  var exports_iso = {};
12835
12834
  __export(exports_iso, {
12836
12835
  time: () => time2,
@@ -12871,7 +12870,7 @@ function duration2(params) {
12871
12870
  return _isoDuration(ZodISODuration, params);
12872
12871
  }
12873
12872
 
12874
- // node_modules/zod/v4/classic/errors.js
12873
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/errors.js
12875
12874
  var initializer2 = (inst, issues) => {
12876
12875
  $ZodError.init(inst, issues);
12877
12876
  inst.name = "ZodError";
@@ -12906,7 +12905,7 @@ var ZodRealError = $constructor("ZodError", initializer2, {
12906
12905
  Parent: Error
12907
12906
  });
12908
12907
 
12909
- // node_modules/zod/v4/classic/parse.js
12908
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/parse.js
12910
12909
  var parse3 = /* @__PURE__ */ _parse(ZodRealError);
12911
12910
  var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
12912
12911
  var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
@@ -12920,7 +12919,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
12920
12919
  var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
12921
12920
  var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
12922
12921
 
12923
- // node_modules/zod/v4/classic/schemas.js
12922
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/schemas.js
12924
12923
  var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
12925
12924
  $ZodType.init(inst, def);
12926
12925
  Object.assign(inst["~standard"], {
@@ -13996,7 +13995,7 @@ function json(params) {
13996
13995
  function preprocess(fn, schema) {
13997
13996
  return pipe(transform(fn), schema);
13998
13997
  }
13999
- // node_modules/zod/v4/classic/compat.js
13998
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/compat.js
14000
13999
  var ZodIssueCode = {
14001
14000
  invalid_type: "invalid_type",
14002
14001
  too_big: "too_big",
@@ -14020,7 +14019,7 @@ function getErrorMap() {
14020
14019
  }
14021
14020
  var ZodFirstPartyTypeKind;
14022
14021
  (function(ZodFirstPartyTypeKind2) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
14023
- // node_modules/zod/v4/classic/from-json-schema.js
14022
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/from-json-schema.js
14024
14023
  var z = {
14025
14024
  ...exports_schemas2,
14026
14025
  ...exports_checks2,
@@ -14481,7 +14480,7 @@ function fromJSONSchema(schema, params) {
14481
14480
  };
14482
14481
  return convertSchema(schema, ctx);
14483
14482
  }
14484
- // node_modules/zod/v4/classic/coerce.js
14483
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/coerce.js
14485
14484
  var exports_coerce = {};
14486
14485
  __export(exports_coerce, {
14487
14486
  string: () => string3,
@@ -14506,7 +14505,7 @@ function date4(params) {
14506
14505
  return _coercedDate(ZodDate, params);
14507
14506
  }
14508
14507
 
14509
- // node_modules/zod/v4/classic/external.js
14508
+ // ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/external.js
14510
14509
  config(en_default());
14511
14510
  // src/config/schema.ts
14512
14511
  var stringList = exports_external.union([
@@ -1,20 +1,5 @@
1
1
  import { createRequire } from "node:module";
2
- var __create = Object.create;
3
- var __getProtoOf = Object.getPrototypeOf;
4
2
  var __defProp = Object.defineProperty;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __toESM = (mod, isNodeMode, target) => {
8
- target = mod != null ? __create(__getProtoOf(mod)) : {};
9
- const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
10
- for (let key of __getOwnPropNames(mod))
11
- if (!__hasOwnProp.call(to, key))
12
- __defProp(to, key, {
13
- get: () => mod[key],
14
- enumerable: true
15
- });
16
- return to;
17
- };
18
3
  var __export = (target, all) => {
19
4
  for (var name in all)
20
5
  __defProp(target, name, {
@@ -46,4 +31,4 @@ function getDiffReportPath(baseHash, headHash, format, dir = DEFAULT_REPORT_DIR)
46
31
  return `${dir}/diff-${hash}.${ext}`;
47
32
  }
48
33
 
49
- export { __toESM, __export, __require, REPORT_VERSION, DEFAULT_REPORT_DIR, DEFAULT_REPORT_PATH, REPORT_EXTENSIONS, getReportPath, getDiffReportPath };
34
+ export { __export, __require, REPORT_VERSION, DEFAULT_REPORT_DIR, DEFAULT_REPORT_PATH, REPORT_EXTENSIONS, getReportPath, getDiffReportPath };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DEFAULT_REPORT_PATH,
3
3
  REPORT_VERSION
4
- } from "./chunk-r4wa72ae.js";
4
+ } from "./chunk-nf25xzdd.js";
5
5
 
6
6
  // src/fix/deterministic-fixes.ts
7
7
  var FIXABLE_DRIFT_TYPES = new Set([
@@ -1636,12 +1636,12 @@ function detectParamDrift(entry) {
1636
1636
  if (actualParamNames.has(prefix)) {
1637
1637
  const properties = paramProperties.get(prefix);
1638
1638
  if (properties) {
1639
- const firstProperty = rest[0];
1640
- if (properties.has(firstProperty)) {
1639
+ const firstProperty2 = rest[0];
1640
+ if (properties.has(firstProperty2)) {
1641
1641
  continue;
1642
1642
  }
1643
1643
  const propsArray = Array.from(properties);
1644
- const suggestion2 = findClosestMatch(firstProperty, propsArray);
1644
+ const suggestion2 = findClosestMatch(firstProperty2, propsArray);
1645
1645
  let suggestionText2;
1646
1646
  if (suggestion2) {
1647
1647
  suggestionText2 = `Did you mean "${prefix}.${suggestion2.value}"?`;
@@ -1661,6 +1661,20 @@ function detectParamDrift(entry) {
1661
1661
  }
1662
1662
  continue;
1663
1663
  }
1664
+ const firstProperty = rest[0];
1665
+ if (actualParamNames.has(firstProperty)) {
1666
+ continue;
1667
+ }
1668
+ }
1669
+ if (!documentedName.includes(".")) {
1670
+ const isContainer = documentedParamNames.some((other) => {
1671
+ if (!other.startsWith(documentedName + "."))
1672
+ return false;
1673
+ const prop = other.split(".")[1];
1674
+ return actualParamNames.has(prop);
1675
+ });
1676
+ if (isContainer)
1677
+ continue;
1664
1678
  }
1665
1679
  const paramsArray = Array.from(actualParamNames);
1666
1680
  const suggestion = findClosestMatch(documentedName, paramsArray);
@@ -3192,14 +3206,14 @@ import {
3192
3206
  typeboxAdapter,
3193
3207
  valibotAdapter,
3194
3208
  zodAdapter
3195
- } from "@openpkg-ts/extract";
3209
+ } from "@openpkg-ts/sdk";
3196
3210
  import {
3197
3211
  arktypeAdapter as arktypeAdapter2,
3198
3212
  findAdapter as findAdapter2,
3199
3213
  typeboxAdapter as typeboxAdapter2,
3200
3214
  valibotAdapter as valibotAdapter2,
3201
3215
  zodAdapter as zodAdapter2
3202
- } from "@openpkg-ts/extract";
3216
+ } from "@openpkg-ts/sdk";
3203
3217
  var adapters = [
3204
3218
  zodAdapter2,
3205
3219
  arktypeAdapter2,
@@ -9,7 +9,7 @@ import {
9
9
  REPORT_VERSION,
10
10
  getDiffReportPath,
11
11
  getReportPath
12
- } from "../shared/chunk-r4wa72ae.js";
12
+ } from "../shared/chunk-nf25xzdd.js";
13
13
  export {
14
14
  parseListFlag,
15
15
  mergeFilters,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doccov/sdk",
3
- "version": "0.31.1",
3
+ "version": "0.32.0",
4
4
  "description": "DocCov SDK - Documentation coverage and drift detection for TypeScript",
5
5
  "keywords": [
6
6
  "typescript",
@@ -48,8 +48,8 @@
48
48
  ],
49
49
  "dependencies": {
50
50
  "@doccov/spec": "^0.31.0",
51
- "@openpkg-ts/extract": "0.27.0",
52
- "@openpkg-ts/spec": "^0.23.0",
51
+ "@openpkg-ts/sdk": "^0.37.0",
52
+ "@openpkg-ts/spec": "^0.37.0",
53
53
  "@vercel/sandbox": "^1.0.3",
54
54
  "mdast": "^3.0.0",
55
55
  "minimatch": "^10.1.1",