@agentcontextdistributionprotocol/acdp 0.8.2 → 0.8.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/index.d.ts +20 -0
- package/package.json +5 -5
package/index.d.ts
CHANGED
|
@@ -841,6 +841,12 @@ export interface PublishOpts {
|
|
|
841
841
|
* preimage.
|
|
842
842
|
*/
|
|
843
843
|
dataRefs?: string
|
|
844
|
+
/**
|
|
845
|
+
* External anchors (RFC-ACDP-0016) — a JSON-encoded array of
|
|
846
|
+
* `{scheme, content_hash, uri?}` objects. Part of ProducerContent,
|
|
847
|
+
* so it is included in the content_hash preimage.
|
|
848
|
+
*/
|
|
849
|
+
anchors?: string
|
|
844
850
|
/**
|
|
845
851
|
* RFC 3339 timestamp after which the conclusions should no longer be
|
|
846
852
|
* relied upon. Truncated to millisecond precision.
|
|
@@ -931,6 +937,20 @@ export interface SupersedeOpts {
|
|
|
931
937
|
* carried-over data refs when present).
|
|
932
938
|
*/
|
|
933
939
|
dataRefs?: string
|
|
940
|
+
/**
|
|
941
|
+
* JSON-encoded array of `{scheme, content_hash, uri?}` anchor
|
|
942
|
+
* objects (RFC-ACDP-0016; replaces the carried-over anchors when
|
|
943
|
+
* present).
|
|
944
|
+
*/
|
|
945
|
+
anchors?: string
|
|
946
|
+
/**
|
|
947
|
+
* Unset `anchors` entirely (the only way to produce a version with
|
|
948
|
+
* none, since omitting `anchors` carries the previous version's
|
|
949
|
+
* value forward and `anchors: "[]"` is rejected by the
|
|
950
|
+
* absent-when-empty rule). Takes precedence over `anchors`,
|
|
951
|
+
* mirroring `omitAcdpVersion`'s precedence over `acdpVersion`.
|
|
952
|
+
*/
|
|
953
|
+
clearAnchors?: boolean
|
|
934
954
|
/** RFC 3339 expiry timestamp. */
|
|
935
955
|
expiresAt?: string
|
|
936
956
|
/** JSON object `{"start": <rfc3339>, "end": <rfc3339>}`. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentcontextdistributionprotocol/acdp",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"description": "Agent Context Distribution Protocol — Node.js SDK",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"registry": "https://registry.npmjs.org/"
|
|
48
48
|
},
|
|
49
49
|
"optionalDependencies": {
|
|
50
|
-
"@agentcontextdistributionprotocol/acdp-darwin-x64": "0.8.
|
|
51
|
-
"@agentcontextdistributionprotocol/acdp-darwin-arm64": "0.8.
|
|
52
|
-
"@agentcontextdistributionprotocol/acdp-linux-x64-gnu": "0.8.
|
|
53
|
-
"@agentcontextdistributionprotocol/acdp-linux-arm64-gnu": "0.8.
|
|
50
|
+
"@agentcontextdistributionprotocol/acdp-darwin-x64": "0.8.3",
|
|
51
|
+
"@agentcontextdistributionprotocol/acdp-darwin-arm64": "0.8.3",
|
|
52
|
+
"@agentcontextdistributionprotocol/acdp-linux-x64-gnu": "0.8.3",
|
|
53
|
+
"@agentcontextdistributionprotocol/acdp-linux-arm64-gnu": "0.8.3"
|
|
54
54
|
}
|
|
55
55
|
}
|