@agentskit/doc-bridge 1.11.0 → 1.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +8 -4
  3. package/action.yml +1 -1
  4. package/dist/cli/program.js +9 -10
  5. package/dist/cli/program.js.map +1 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.js +9 -10
  8. package/dist/index.js.map +1 -1
  9. package/docs/agent-corpus/audit.md +25 -0
  10. package/docs/agent-corpus/bin.md +26 -0
  11. package/docs/agent-corpus/budget.md +26 -0
  12. package/docs/agent-corpus/config.md +33 -0
  13. package/docs/agent-corpus/federation.md +25 -0
  14. package/docs/agent-corpus/findings.md +25 -0
  15. package/docs/agent-corpus/fixes.md +25 -0
  16. package/docs/agent-corpus/lib.md +29 -0
  17. package/docs/agent-corpus/metrics.md +26 -0
  18. package/docs/agent-corpus/parity.md +33 -0
  19. package/docs/agent-corpus/playbook.md +22 -0
  20. package/docs/agent-corpus/plugins.md +23 -0
  21. package/docs/agent-corpus/report.md +27 -0
  22. package/docs/agent-corpus/retrieval.md +33 -0
  23. package/docs/agent-corpus/rules.md +30 -0
  24. package/docs/agent-corpus/safety.md +23 -0
  25. package/docs/agent-corpus/schemas.md +34 -0
  26. package/docs/agent-corpus/scripts.md +29 -0
  27. package/docs/agent-corpus/shims.md +26 -0
  28. package/docs/parity/public-claims-v1.json +18 -1
  29. package/ecosystem-claims.json +0 -9
  30. package/ecosystem-upstream.json +3 -3
  31. package/ecosystem.json +9 -75
  32. package/mcpb/manifest.json +1 -1
  33. package/package.json +1 -1
  34. package/skills/doc-bridge-handoff/scripts/resolve-handoff.mjs +1 -1
  35. package/src/conformance/ecosystem-contract.ts +8 -10
  36. package/src/discovery/reproducibility.ts +11 -2
  37. package/src/version.ts +1 -1
package/dist/index.d.ts CHANGED
@@ -9636,7 +9636,7 @@ declare const chunksFromMarkdown: (property: string, raw: string, sourceUrl: str
9636
9636
  declare const loadFederatedChunks: (root: string, config: DocBridgeConfigV1, options?: FederatedRetrieverOptions) => Promise<DocBridgeRetrievedChunk[]>;
9637
9637
  declare const retrieveHybridChunks: (root: string, config: DocBridgeConfigV1, index: DocBridgeIndexV1, query: string, options?: FederatedRetrieverOptions) => Promise<DocBridgeRetrievedChunk[]>;
9638
9638
 
9639
- declare const PACKAGE_VERSION = "1.11.0";
9639
+ declare const PACKAGE_VERSION = "1.11.2";
9640
9640
 
9641
9641
  type FrontmatterValue = string | boolean | readonly string[];
9642
9642
  type FrontmatterData = Record<string, FrontmatterValue>;
package/dist/index.js CHANGED
@@ -4400,7 +4400,7 @@ var buildLookup = (config, packages, corpus, indexOutFile, humanDocs = {}, root
4400
4400
  };
4401
4401
 
4402
4402
  // src/version.ts
4403
- var PACKAGE_VERSION = "1.11.0";
4403
+ var PACKAGE_VERSION = "1.11.2";
4404
4404
 
4405
4405
  // src/index-builder/capabilities.ts
4406
4406
  var renderCapabilitiesJson = (config, index, paths) => {
@@ -7121,7 +7121,7 @@ var checkIndexReproducibility = (root, indexPath, paths) => {
7121
7121
  const ignored = [];
7122
7122
  for (let index = 0; index + 3 < fields.length; index += 4) {
7123
7123
  const [source, line, pattern, path] = [fields[index], fields[index + 1], fields[index + 2], fields[index + 3]];
7124
- if (!path) continue;
7124
+ if (!path || pattern?.startsWith("!")) continue;
7125
7125
  ignored.push({ path, rule: `${source ?? "?"}:${line ?? "?"}:${pattern ?? "?"}` });
7126
7126
  }
7127
7127
  return { checked: true, ignored: ignored.sort((left, right) => left.path.localeCompare(right.path)) };
@@ -10540,9 +10540,9 @@ var ManifestSchema = z15.object({
10540
10540
  schemaVersion: z15.literal(2),
10541
10541
  parentBrand: z15.object({ id: NonEmptyStringSchema, name: NonEmptyStringSchema }).passthrough(),
10542
10542
  products: z15.array(ProductSchema).min(1),
10543
- // Historical four-product shim or full seven-product projection of products[].
10544
- properties: z15.array(LegacyPropertySchema).refine((value) => value.length === 4 || value.length === 7, {
10545
- message: "must project either the legacy four products or the full seven-product catalog"
10543
+ // Legacy three-product shim or full public product projection of products[].
10544
+ properties: z15.array(LegacyPropertySchema).refine((value) => value.length === 3 || value.length === 6, {
10545
+ message: "must project either the legacy three products or the full public product catalog"
10546
10546
  }),
10547
10547
  builder: z15.object({ id: NonEmptyStringSchema, name: NonEmptyStringSchema, url: HttpsUrlSchema }).passthrough().optional()
10548
10548
  }).passthrough();
@@ -10577,15 +10577,14 @@ var ClaimsSchema = z15.object({
10577
10577
  manifestSchemaVersion: z15.literal(2),
10578
10578
  products: z15.array(ClaimProductSchema)
10579
10579
  }).passthrough();
10580
- var LEGACY_FOUR_PRODUCT_IDS = ["agentskit", "akos", "playbook", "registry"];
10581
- var FULL_SEVEN_PRODUCT_IDS = [
10580
+ var LEGACY_PRODUCT_IDS = ["agentskit", "playbook", "registry"];
10581
+ var PUBLIC_PRODUCT_IDS = [
10582
10582
  "agentskit",
10583
10583
  "registry",
10584
10584
  "agentskit-chat",
10585
10585
  "playbook",
10586
10586
  "doc-bridge",
10587
- "code-review",
10588
- "akos"
10587
+ "code-review"
10589
10588
  ];
10590
10589
  var parseCanonicalEcosystemContract = (manifestInput, claimsInput) => {
10591
10590
  const manifest = ManifestSchema.parse(manifestInput);
@@ -10612,7 +10611,7 @@ var parseCanonicalEcosystemContract = (manifestInput, claimsInput) => {
10612
10611
  if (!products.has(nextId)) throw new Error(`Product ${product.id} references unknown product ${nextId}.`);
10613
10612
  }
10614
10613
  }
10615
- const propertyIds = manifest.properties.length === 7 ? FULL_SEVEN_PRODUCT_IDS : LEGACY_FOUR_PRODUCT_IDS;
10614
+ const propertyIds = manifest.properties.length === 6 ? PUBLIC_PRODUCT_IDS : LEGACY_PRODUCT_IDS;
10616
10615
  for (const [index, id] of propertyIds.entries()) {
10617
10616
  const legacy = manifest.properties[index];
10618
10617
  const product = products.get(id);