@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.
- package/CHANGELOG.md +25 -0
- package/README.md +8 -4
- package/action.yml +1 -1
- package/dist/cli/program.js +9 -10
- package/dist/cli/program.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -10
- package/dist/index.js.map +1 -1
- package/docs/agent-corpus/audit.md +25 -0
- package/docs/agent-corpus/bin.md +26 -0
- package/docs/agent-corpus/budget.md +26 -0
- package/docs/agent-corpus/config.md +33 -0
- package/docs/agent-corpus/federation.md +25 -0
- package/docs/agent-corpus/findings.md +25 -0
- package/docs/agent-corpus/fixes.md +25 -0
- package/docs/agent-corpus/lib.md +29 -0
- package/docs/agent-corpus/metrics.md +26 -0
- package/docs/agent-corpus/parity.md +33 -0
- package/docs/agent-corpus/playbook.md +22 -0
- package/docs/agent-corpus/plugins.md +23 -0
- package/docs/agent-corpus/report.md +27 -0
- package/docs/agent-corpus/retrieval.md +33 -0
- package/docs/agent-corpus/rules.md +30 -0
- package/docs/agent-corpus/safety.md +23 -0
- package/docs/agent-corpus/schemas.md +34 -0
- package/docs/agent-corpus/scripts.md +29 -0
- package/docs/agent-corpus/shims.md +26 -0
- package/docs/parity/public-claims-v1.json +18 -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/discovery/reproducibility.ts +11 -2
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.11.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 221b4a6: Retire the public AKOS ecosystem contract and generated documentation references.
|
|
8
|
+
|
|
9
|
+
## 1.11.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- faf29f5: Stop reporting a path an ignore rule rescues as unreproducible.
|
|
14
|
+
|
|
15
|
+
`git check-ignore --verbose` emits a record for every path that *matched* a rule, including the path
|
|
16
|
+
a `!` negation rescues — and such a path is precisely one Git does not ignore. The reproducibility
|
|
17
|
+
check read the record without reading the pattern, so `dist/*` plus `!dist/keep.js` reported
|
|
18
|
+
`dist/keep.js` as a reason the index could not be rebuilt from a clean checkout. The opposite of
|
|
19
|
+
what the rule says, stated confidently.
|
|
20
|
+
|
|
21
|
+
The window is narrow: `check-ignore` stops reporting a path once it is committed, and a path rescued
|
|
22
|
+
by a negation is usually committed, which is the point of rescuing it. It shows up while such a path
|
|
23
|
+
is still untracked — a file added but not yet committed.
|
|
24
|
+
|
|
25
|
+
Found by turning the new `index-reproducible` gate on in this repository, which had to add
|
|
26
|
+
`!.doc-bridge/index.json` to its own `.gitignore` to commit the index the gate verifies.
|
|
27
|
+
|
|
3
28
|
## 1.11.0
|
|
4
29
|
|
|
5
30
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -297,19 +297,23 @@ gates without silently rebuilding them. It rejects non-exact package versions.
|
|
|
297
297
|
See the [Marketplace guide](docs/MARKETPLACE.md).
|
|
298
298
|
|
|
299
299
|
The guide is pinned to the published stable Action release `v1.7.45`; the
|
|
300
|
-
checked-in package version is `1.
|
|
300
|
+
checked-in package version is `1.11.2`.
|
|
301
301
|
|
|
302
302
|
Coverage is repository-specific. Run `ak-docs doctor --badge` locally to emit
|
|
303
303
|
current handoff and human-bridge badges, or `pnpm coverage:badge` in CI; this
|
|
304
304
|
README intentionally avoids publishing a stale static percentage.
|
|
305
305
|
|
|
306
|
-
Or locally:
|
|
306
|
+
Or locally, as two steps rather than one, because they answer different questions:
|
|
307
307
|
|
|
308
308
|
```bash
|
|
309
|
-
ak-docs index
|
|
309
|
+
ak-docs index # after changing docs or config — then review and commit the result
|
|
310
|
+
ak-docs gate run # verifies the committed index, which is what CI verifies
|
|
310
311
|
```
|
|
311
312
|
|
|
312
|
-
|
|
313
|
+
Chaining them (`index && gate run`) cannot report a stale index: it gates an artifact written a
|
|
314
|
+
second earlier against a rebuild of the same tree. The gate's value is that the committed index
|
|
315
|
+
and the repository agree, so run it the way CI does, against what is committed. It fails with
|
|
316
|
+
`Index is stale. Run: ak-docs index` — the same check, and the same annotation, as in CI.
|
|
313
317
|
|
|
314
318
|
## Product surface
|
|
315
319
|
|
package/action.yml
CHANGED
package/dist/cli/program.js
CHANGED
|
@@ -922,9 +922,9 @@ var ManifestSchema = z2.object({
|
|
|
922
922
|
schemaVersion: z2.literal(2),
|
|
923
923
|
parentBrand: z2.object({ id: NonEmptyStringSchema, name: NonEmptyStringSchema }).passthrough(),
|
|
924
924
|
products: z2.array(ProductSchema).min(1),
|
|
925
|
-
//
|
|
926
|
-
properties: z2.array(LegacyPropertySchema).refine((value) => value.length ===
|
|
927
|
-
message: "must project either the legacy
|
|
925
|
+
// Legacy three-product shim or full public product projection of products[].
|
|
926
|
+
properties: z2.array(LegacyPropertySchema).refine((value) => value.length === 3 || value.length === 6, {
|
|
927
|
+
message: "must project either the legacy three products or the full public product catalog"
|
|
928
928
|
}),
|
|
929
929
|
builder: z2.object({ id: NonEmptyStringSchema, name: NonEmptyStringSchema, url: HttpsUrlSchema }).passthrough().optional()
|
|
930
930
|
}).passthrough();
|
|
@@ -959,15 +959,14 @@ var ClaimsSchema = z2.object({
|
|
|
959
959
|
manifestSchemaVersion: z2.literal(2),
|
|
960
960
|
products: z2.array(ClaimProductSchema)
|
|
961
961
|
}).passthrough();
|
|
962
|
-
var
|
|
963
|
-
var
|
|
962
|
+
var LEGACY_PRODUCT_IDS = ["agentskit", "playbook", "registry"];
|
|
963
|
+
var PUBLIC_PRODUCT_IDS = [
|
|
964
964
|
"agentskit",
|
|
965
965
|
"registry",
|
|
966
966
|
"agentskit-chat",
|
|
967
967
|
"playbook",
|
|
968
968
|
"doc-bridge",
|
|
969
|
-
"code-review"
|
|
970
|
-
"akos"
|
|
969
|
+
"code-review"
|
|
971
970
|
];
|
|
972
971
|
var parseCanonicalEcosystemContract = (manifestInput, claimsInput) => {
|
|
973
972
|
const manifest = ManifestSchema.parse(manifestInput);
|
|
@@ -994,7 +993,7 @@ var parseCanonicalEcosystemContract = (manifestInput, claimsInput) => {
|
|
|
994
993
|
if (!products.has(nextId)) throw new Error(`Product ${product.id} references unknown product ${nextId}.`);
|
|
995
994
|
}
|
|
996
995
|
}
|
|
997
|
-
const propertyIds = manifest.properties.length ===
|
|
996
|
+
const propertyIds = manifest.properties.length === 6 ? PUBLIC_PRODUCT_IDS : LEGACY_PRODUCT_IDS;
|
|
998
997
|
for (const [index, id] of propertyIds.entries()) {
|
|
999
998
|
const legacy = manifest.properties[index];
|
|
1000
999
|
const product = products.get(id);
|
|
@@ -4062,7 +4061,7 @@ var buildLookup = (config, packages, corpus, indexOutFile, humanDocs = {}, root
|
|
|
4062
4061
|
};
|
|
4063
4062
|
|
|
4064
4063
|
// src/version.ts
|
|
4065
|
-
var PACKAGE_VERSION = "1.11.
|
|
4064
|
+
var PACKAGE_VERSION = "1.11.2";
|
|
4066
4065
|
|
|
4067
4066
|
// src/index-builder/capabilities.ts
|
|
4068
4067
|
var renderCapabilitiesJson = (config, index, paths) => {
|
|
@@ -8065,7 +8064,7 @@ var checkIndexReproducibility = (root, indexPath, paths) => {
|
|
|
8065
8064
|
const ignored = [];
|
|
8066
8065
|
for (let index = 0; index + 3 < fields.length; index += 4) {
|
|
8067
8066
|
const [source, line, pattern, path] = [fields[index], fields[index + 1], fields[index + 2], fields[index + 3]];
|
|
8068
|
-
if (!path) continue;
|
|
8067
|
+
if (!path || pattern?.startsWith("!")) continue;
|
|
8069
8068
|
ignored.push({ path, rule: `${source ?? "?"}:${line ?? "?"}:${pattern ?? "?"}` });
|
|
8070
8069
|
}
|
|
8071
8070
|
return { checked: true, ignored: ignored.sort((left, right) => left.path.localeCompare(right.path)) };
|