@agent-blueprint-protocol/verifier 1.1.0-rc.1 → 1.1.0-rc.3
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 +222 -539
- package/README.md +9 -9
- package/dist/corpus/cases/blueprint-decode.json +1 -1
- package/dist/corpus/cases/reconcile.json +1 -1
- package/dist/corpus/index.json +1 -1
- package/dist/corpus/vectors/blueprint-golden.json +1 -1
- package/dist/corpus/vectors/deployment-golden.json +1 -1
- package/dist/examples/signed-blueprint.json +1 -1
- package/dist/release-history.json +1 -1
- package/dist/release-metadata.json +1 -1
- package/dist/spec/FOUNDATION-TRANSITION.md +3 -28
- package/dist/spec/conformance/certified-results.json +1 -1
- package/dist/spec/grammar/blueprint.cddl +2 -6
- package/dist/spec/grammar/deployment.cddl +2 -4
- package/dist/spec/grammar/taskenvelope.cddl +2 -5
- package/dist/spec/protocol.md +13 -5
- package/dist/spec/registry/OPERATIONS.md +0 -11
- package/dist/verifier/facade.d.ts +3 -1
- package/dist/verifier/facade.js +2 -2
- package/dist/verifier/reconcile.d.ts +4 -1
- package/dist/verifier/reconcile.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
A typed, non-authorizing verifier library and conformance CLI. Node 24 or
|
|
4
4
|
newer; zero runtime dependencies. For Elixir, see
|
|
5
5
|
[agent_blueprint_protocol](https://hex.pm/packages/agent_blueprint_protocol).
|
|
6
|
-
The specification is [published with the project](https://github.com/baselabs/agent_blueprint_protocol/blob/v1.1.0-rc.
|
|
6
|
+
The specification is [published with the project](https://github.com/baselabs/agent_blueprint_protocol/blob/v1.1.0-rc.3/spec/protocol.md).
|
|
7
7
|
|
|
8
8
|
```sh
|
|
9
|
-
npm install @agent-blueprint-protocol/verifier@1.1.0-rc.
|
|
10
|
-
npx @agent-blueprint-protocol/verifier@1.1.0-rc.
|
|
9
|
+
npm install @agent-blueprint-protocol/verifier@1.1.0-rc.3
|
|
10
|
+
npx @agent-blueprint-protocol/verifier@1.1.0-rc.3 --help
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
The commands above install and run the exact package version. `npm view @agent-blueprint-protocol/verifier dist-tags` lists the published version for each npm tag.
|
|
14
14
|
|
|
15
15
|
## Library
|
|
16
16
|
|
|
@@ -19,7 +19,7 @@ deprecated federation registrations. Supply other namespaces through
|
|
|
19
19
|
`Support.registry`, including criticality, lifecycle state, and `schemaDigest`;
|
|
20
20
|
put held schema documents in `Support.schemas`. A host cannot change the
|
|
21
21
|
criticality or schema pin of a compiled entry. See the
|
|
22
|
-
[host registration examples](https://hexdocs.pm/agent_blueprint_protocol/1.1.0-rc.
|
|
22
|
+
[host registration examples](https://hexdocs.pm/agent_blueprint_protocol/1.1.0-rc.3/extensions.html#register-a-namespace-with-the-host).
|
|
23
23
|
|
|
24
24
|
The package is ESM-only; `require()` is not supported.
|
|
25
25
|
Only the package root and `package.json` are exported. Import has no command
|
|
@@ -39,9 +39,9 @@ const result = decodeBlueprint(readFileSync(new URL("./dist/examples/echo-bluepr
|
|
|
39
39
|
console.log(result.ok ? "valid" : result.error.code); // valid
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
Decoding checks canonical bytes, structure, portability, and digest. The example is unsigned; it establishes no cryptographic signature. For a source-checkout alternative, use the `v1.1.0-rc.
|
|
42
|
+
Decoding checks canonical bytes, structure, portability, and digest. The example is unsigned; it establishes no cryptographic signature. For a source-checkout alternative, use the `v1.1.0-rc.3` tag and its `priv/examples/` files.
|
|
43
43
|
|
|
44
|
-
The [complete TypeScript guide and package-root reference](https://hexdocs.pm/agent_blueprint_protocol/1.1.0-rc.
|
|
44
|
+
The [complete TypeScript guide and package-root reference](https://hexdocs.pm/agent_blueprint_protocol/1.1.0-rc.3/typescript.html#package-root-reference) covers every root export, options, success and denial results, runnable pair reconciliation, signature checks, JSON evidence readers, and corpus workflows. It gives filenames and type-check/run commands for each TypeScript example.
|
|
45
45
|
|
|
46
46
|
Decoded views expose read-only JSON `value`, `canonicalBytes`, and
|
|
47
47
|
`contentDigest` (null for a federation envelope, whose commitment is a
|
|
@@ -58,7 +58,7 @@ sorted names from the same tables as their decoders: 18 Blueprint Core members,
|
|
|
58
58
|
19 Deployment Manifest members, and 23 Federation TaskEnvelope members. Revision
|
|
59
59
|
1 is supported. Other integer revisions return `protocol_revision_unsupported`
|
|
60
60
|
with subject `["protocol_revision"]`; non-integers return `invalid_type` with
|
|
61
|
-
an empty subject.
|
|
61
|
+
an empty subject.
|
|
62
62
|
|
|
63
63
|
A host supporting every core field declares the union of the Blueprint and
|
|
64
64
|
Deployment vocabularies; declare only fields the host actually supports. The
|
|
@@ -112,7 +112,7 @@ host behavior. The package includes the runner and execution contracts under
|
|
|
112
112
|
|
|
113
113
|
## Migrating from 0.8
|
|
114
114
|
|
|
115
|
-
Deep imports from `dist/verifier/` no longer resolve; import from the package root. The [TypeScript guide](https://hexdocs.pm/agent_blueprint_protocol/1.1.0-rc.
|
|
115
|
+
Deep imports from `dist/verifier/` no longer resolve; import from the package root. The [TypeScript guide](https://hexdocs.pm/agent_blueprint_protocol/1.1.0-rc.3/typescript.html#import-migration) maps each previous import to its replacement.
|
|
116
116
|
|
|
117
117
|
## Compatibility within 1.x
|
|
118
118
|
|