@agentxm/registry-protocol 0.31.1 → 0.33.0

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.
@@ -0,0 +1,177 @@
1
+ {
2
+ "format": "agentxm-resolution-metadata-vectors-v1",
3
+ "selectionPolicyVersion": "1",
4
+ "evaluatedAt": "2026-09-22T12:00:00Z",
5
+ "cases": [
6
+ {
7
+ "name": "ordinary-range-excludes-yanked-release",
8
+ "source": "direct",
9
+ "index": {
10
+ "owner": "@acme",
11
+ "type": "skill",
12
+ "name": "review",
13
+ "publisherBindingId": "hbnd_acme",
14
+ "archival": null,
15
+ "deprecation": null,
16
+ "versions": [
17
+ {
18
+ "version": "1.1.0",
19
+ "published": "2026-09-18T12:00:00Z",
20
+ "integrity": "sha512-yanked",
21
+ "yankedAt": "2026-09-19T12:00:00Z"
22
+ },
23
+ { "version": "1.0.0", "published": "2026-09-15T12:00:00Z", "integrity": "sha512-stable" }
24
+ ]
25
+ },
26
+ "request": { "purpose": "select", "range": "^1.0.0", "minimumReleaseAgeSeconds": 0 },
27
+ "expected": { "kind": "selected", "version": "1.0.0" }
28
+ },
29
+ {
30
+ "name": "exact-pin-retains-yank-warning",
31
+ "source": "direct",
32
+ "index": {
33
+ "owner": "@acme",
34
+ "type": "skill",
35
+ "name": "review",
36
+ "publisherBindingId": "hbnd_acme",
37
+ "archival": null,
38
+ "deprecation": null,
39
+ "versions": [
40
+ {
41
+ "version": "1.1.0",
42
+ "published": "2026-09-18T12:00:00Z",
43
+ "integrity": "sha512-yanked",
44
+ "yankedAt": "2026-09-19T12:00:00Z",
45
+ "yankedCategory": "superseded"
46
+ },
47
+ { "version": "1.0.0", "published": "2026-09-15T12:00:00Z", "integrity": "sha512-stable" }
48
+ ]
49
+ },
50
+ "request": {
51
+ "purpose": "restore-exact",
52
+ "range": "1.1.0",
53
+ "acceptedIntegrity": "sha512-yanked",
54
+ "minimumReleaseAgeSeconds": 0
55
+ },
56
+ "expected": { "kind": "selected", "version": "1.1.0", "warning": "yanked" }
57
+ },
58
+ {
59
+ "name": "minimum-release-age-holds-newer-release",
60
+ "source": "direct",
61
+ "index": {
62
+ "owner": "@acme",
63
+ "type": "skill",
64
+ "name": "review",
65
+ "publisherBindingId": "hbnd_acme",
66
+ "archival": null,
67
+ "deprecation": null,
68
+ "versions": [
69
+ { "version": "2.0.0", "published": "2026-09-22T00:00:00Z", "integrity": "sha512-new" },
70
+ { "version": "1.0.0", "published": "2026-09-15T12:00:00Z", "integrity": "sha512-stable" }
71
+ ]
72
+ },
73
+ "request": { "purpose": "select", "range": "*", "minimumReleaseAgeSeconds": 86400 },
74
+ "expected": { "kind": "selected", "version": "1.0.0", "newerHeld": "2.0.0" }
75
+ },
76
+ {
77
+ "name": "direct-constraint-selects-highest-satisfying-release",
78
+ "source": "direct",
79
+ "index": {
80
+ "owner": "@acme",
81
+ "type": "skill",
82
+ "name": "review",
83
+ "publisherBindingId": "hbnd_acme",
84
+ "archival": null,
85
+ "deprecation": null,
86
+ "versions": [
87
+ { "version": "2.0.0", "published": "2026-09-15T12:00:00Z", "integrity": "sha512-two" },
88
+ { "version": "1.2.0", "published": "2026-09-14T12:00:00Z", "integrity": "sha512-one-two" }
89
+ ]
90
+ },
91
+ "request": { "purpose": "select", "range": "^1.0.0", "minimumReleaseAgeSeconds": 0 },
92
+ "expected": { "kind": "selected", "version": "1.2.0" }
93
+ },
94
+ {
95
+ "name": "pack-member-constraint-keeps-member-range",
96
+ "source": "pack-member",
97
+ "index": {
98
+ "owner": "@acme",
99
+ "type": "skill",
100
+ "name": "review",
101
+ "publisherBindingId": "hbnd_acme",
102
+ "archival": null,
103
+ "deprecation": null,
104
+ "versions": [
105
+ {
106
+ "version": "1.1.0",
107
+ "published": "2026-09-15T12:00:00Z",
108
+ "integrity": "sha512-one-one"
109
+ },
110
+ {
111
+ "version": "1.0.5",
112
+ "published": "2026-09-14T12:00:00Z",
113
+ "integrity": "sha512-one-zero-five"
114
+ }
115
+ ]
116
+ },
117
+ "request": { "purpose": "select", "range": "~1.0.0", "minimumReleaseAgeSeconds": 0 },
118
+ "expected": { "kind": "selected", "version": "1.0.5" }
119
+ },
120
+ {
121
+ "name": "package-compatibility-remains-version-scoped",
122
+ "source": "direct",
123
+ "index": {
124
+ "owner": "@acme",
125
+ "type": "skill",
126
+ "name": "review",
127
+ "publisherBindingId": "hbnd_acme",
128
+ "archival": null,
129
+ "deprecation": null,
130
+ "versions": [
131
+ {
132
+ "version": "1.1.0",
133
+ "published": "2026-09-15T12:00:00Z",
134
+ "integrity": "sha512-one-one",
135
+ "packages": [{ "purl": "pkg:npm/%40acme/core", "versionRange": "vers:npm/>=2.0.0" }]
136
+ },
137
+ {
138
+ "version": "1.0.0",
139
+ "published": "2026-09-14T12:00:00Z",
140
+ "integrity": "sha512-one-zero",
141
+ "packages": [{ "purl": "pkg:npm/%40acme/core", "versionRange": "vers:npm/<2.0.0" }]
142
+ }
143
+ ]
144
+ },
145
+ "request": {
146
+ "purpose": "select",
147
+ "range": "^1.0.0",
148
+ "minimumReleaseAgeSeconds": 0,
149
+ "compatiblePackage": { "purl": "pkg:npm/%40acme/core", "version": "2.1.0" }
150
+ },
151
+ "expected": { "kind": "selected", "version": "1.1.0" }
152
+ },
153
+ {
154
+ "name": "publisher-binding-change-refuses-accepted-identity",
155
+ "source": "direct",
156
+ "index": {
157
+ "owner": "@acme",
158
+ "type": "skill",
159
+ "name": "review",
160
+ "publisherBindingId": "hbnd_current",
161
+ "archival": null,
162
+ "deprecation": null,
163
+ "versions": [
164
+ { "version": "1.0.0", "published": "2026-09-15T12:00:00Z", "integrity": "sha512-stable" }
165
+ ]
166
+ },
167
+ "request": {
168
+ "purpose": "restore-exact",
169
+ "range": "1.0.0",
170
+ "acceptedIntegrity": "sha512-stable",
171
+ "expectedPublisherBinding": "hbnd_previous",
172
+ "minimumReleaseAgeSeconds": 0
173
+ },
174
+ "expected": { "kind": "binding-conflict" }
175
+ }
176
+ ]
177
+ }
@@ -1,26 +0,0 @@
1
- import * as Schema from "effect/Schema";
2
- /** Delivery proof is specific to the initiating transport, independently of browser consent. */
3
- export declare const PublishAuthorizationDeliverySchema: Schema.Union<readonly [Schema.Struct<{
4
- readonly kind: Schema.Literal<"loopback">;
5
- readonly redirect_uri: Schema.NonEmptyString;
6
- readonly state: Schema.NonEmptyString;
7
- readonly code_challenge: Schema.String;
8
- readonly code_challenge_method: Schema.Literal<"S256">;
9
- }>, Schema.Struct<{
10
- readonly kind: Schema.Literal<"polling">;
11
- readonly proof_challenge: Schema.String;
12
- readonly proof_challenge_method: Schema.Literal<"S256">;
13
- }>]>;
14
- export type PublishAuthorizationDelivery = typeof PublishAuthorizationDeliverySchema.Type;
15
- export declare const PublishAuthorizationPollingProofSchema: Schema.Struct<{
16
- readonly initiator_proof: Schema.String;
17
- }>;
18
- export declare const PublishAuthorizationPollingStatusSchema: Schema.Struct<{
19
- readonly purpose: Schema.Literal<"publish">;
20
- readonly status: Schema.Literals<readonly ["pending", "approved", "denied", "expired", "exchanged"]>;
21
- readonly expires_at: Schema.decodeTo<Schema.DateTimeUtc, Schema.String, never, never>;
22
- readonly interval: Schema.Int;
23
- readonly publication_set_digest: Schema.String;
24
- }>;
25
- export type PublishAuthorizationPollingStatus = typeof PublishAuthorizationPollingStatusSchema.Type;
26
- //# sourceMappingURL=publish-authorization.d.ts.map
@@ -1,41 +0,0 @@
1
- import * as Schema from "effect/Schema";
2
- import { DateTimeUtcSchema } from "@agentxm/extension-model/unstable/date-time";
3
- import { Sha256HexSchema } from "./registry/publication-set.js";
4
- const S256ChallengeSchema = Schema.String.check(Schema.isPattern(/^[A-Za-z0-9_-]{43}$/));
5
- /** Delivery proof is specific to the initiating transport, independently of browser consent. */
6
- export const PublishAuthorizationDeliverySchema = Schema.Union([
7
- Schema.Struct({
8
- kind: Schema.Literal("loopback"),
9
- redirect_uri: Schema.NonEmptyString,
10
- state: Schema.NonEmptyString,
11
- code_challenge: S256ChallengeSchema,
12
- code_challenge_method: Schema.Literal("S256"),
13
- }),
14
- Schema.Struct({
15
- kind: Schema.Literal("polling"),
16
- proof_challenge: S256ChallengeSchema,
17
- proof_challenge_method: Schema.Literal("S256"),
18
- }),
19
- ]).annotate({
20
- identifier: "PublishAuthorizationDelivery",
21
- title: "Publish authorization delivery",
22
- description: "Loopback code delivery or resumable polling protected by a distinct initiator proof.",
23
- });
24
- export const PublishAuthorizationPollingProofSchema = Schema.Struct({
25
- initiator_proof: Schema.String.check(Schema.isPattern(/^[A-Za-z0-9_-]{43,128}$/)),
26
- }).annotate({
27
- identifier: "PublishAuthorizationPollingProof",
28
- description: "Secret proof held by the initiator; never a public request reference or browser code.",
29
- });
30
- export const PublishAuthorizationPollingStatusSchema = Schema.Struct({
31
- purpose: Schema.Literal("publish"),
32
- status: Schema.Literals(["pending", "approved", "denied", "expired", "exchanged"]),
33
- expires_at: DateTimeUtcSchema,
34
- interval: Schema.Int.check(Schema.isGreaterThan(0)),
35
- publication_set_digest: Sha256HexSchema,
36
- }).annotate({
37
- identifier: "PublishAuthorizationPollingStatus",
38
- title: "Publish authorization status",
39
- description: "Proof-protected authorization status and material binding; approval is not publication completion.",
40
- });
41
- //# sourceMappingURL=publish-authorization.js.map