@agentskit/doc-bridge 1.11.1 → 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.
- package/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/action.yml +1 -1
- package/dist/cli/program.js +8 -9
- package/dist/cli/program.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -9
- package/dist/index.js.map +1 -1
- package/ecosystem-claims.json +0 -9
- package/ecosystem-upstream.json +3 -3
- package/ecosystem.json +9 -75
- package/mcpb/manifest.json +1 -1
- package/package.json +1 -1
- package/skills/doc-bridge-handoff/scripts/resolve-handoff.mjs +1 -1
- package/src/conformance/ecosystem-contract.ts +8 -10
- 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.
|
|
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.
|
|
4403
|
+
var PACKAGE_VERSION = "1.11.2";
|
|
4404
4404
|
|
|
4405
4405
|
// src/index-builder/capabilities.ts
|
|
4406
4406
|
var renderCapabilitiesJson = (config, index, paths) => {
|
|
@@ -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
|
-
//
|
|
10544
|
-
properties: z15.array(LegacyPropertySchema).refine((value) => value.length ===
|
|
10545
|
-
message: "must project either the legacy
|
|
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
|
|
10581
|
-
var
|
|
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 ===
|
|
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);
|