@agentxm/registry-protocol 0.31.0 → 0.31.1-preview.35384571507.dab37f17da4c

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/README.md CHANGED
@@ -5,14 +5,13 @@ implementation must interpret identically: extension index and version entry
5
5
  schemas (`./unstable/registry/schema`), discovery responses
6
6
  (`./unstable/registry/discover-schema`), publication-set preview and
7
7
  validation (`./unstable/registry/publication-set`), publish visibility
8
- (`./unstable/publish`), publish authorization
9
- (`./unstable/publish-authorization`), and the shared suggested-action and
8
+ (`./unstable/publish`), and the shared suggested-action and
10
9
  human-handoff error vocabulary (`./unstable/suggested-action`,
11
10
  `./unstable/human-handoff`).
12
11
 
13
12
  Content parsing, Knowledge inspection, the lint catalog, and archive and
14
13
  manifest validation live in `@agentxm/extension-content`; version selection
15
- and release-age policy live in `@agentxm/extension-resolution`.
14
+ and release-age policy live in `@agentxm/workspace/resolution`.
16
15
 
17
16
  Every export lives under an explicit `./unstable/*` subpath: the surface is
18
17
  unsupported and may change in any release. Ordinary users should use the
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
2
2
  /** Public references describe pending work; they never convey exchange authority. */
3
3
  export declare const HumanHandoffActionSchema: Schema.Struct<{
4
4
  readonly kind: Schema.Literal<"open-url">;
5
- readonly purpose: Schema.Literals<readonly ["login", "step-up", "publish"]>;
5
+ readonly purpose: Schema.Literals<readonly ["login", "step-up"]>;
6
6
  readonly requestRef: Schema.String;
7
7
  readonly registryUrl: Schema.String;
8
8
  readonly url: Schema.String;
@@ -2,7 +2,7 @@ import * as Schema from "effect/Schema";
2
2
  /** Public references describe pending work; they never convey exchange authority. */
3
3
  export const HumanHandoffActionSchema = Schema.Struct({
4
4
  kind: Schema.Literal("open-url"),
5
- purpose: Schema.Literals(["login", "step-up", "publish"]),
5
+ purpose: Schema.Literals(["login", "step-up"]),
6
6
  requestRef: Schema.String,
7
7
  registryUrl: Schema.String,
8
8
  url: Schema.String,
@@ -6,7 +6,7 @@
6
6
  import * as Schema from "effect/Schema";
7
7
  export declare const DiscoveryResolvedExtensionSchema: Schema.Struct<{
8
8
  readonly owner: Schema.Union<readonly [Schema.brand<Schema.String, "Handle">, Schema.brand<Schema.String, "Slug">]>;
9
- readonly type: Schema.Literals<readonly ("skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack" | "packs" | "skills" | "mcps" | "subagents" | "rules" | "hooks")[]>;
9
+ readonly type: Schema.Literals<readonly ("skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack" | "skills" | "mcps" | "subagents" | "rules" | "hooks" | "packs")[]>;
10
10
  readonly name: Schema.brand<Schema.NonEmptyString, "ExtensionName">;
11
11
  readonly installVersion: Schema.brand<Schema.String, "Version">;
12
12
  }>;
@@ -16,7 +16,7 @@ export declare const DiscoveryExtensionResultSchema: Schema.Struct<{
16
16
  readonly resolved: Schema.Boolean;
17
17
  readonly extension: Schema.optional<Schema.Struct<{
18
18
  readonly owner: Schema.Union<readonly [Schema.brand<Schema.String, "Handle">, Schema.brand<Schema.String, "Slug">]>;
19
- readonly type: Schema.Literals<readonly ("skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack" | "packs" | "skills" | "mcps" | "subagents" | "rules" | "hooks")[]>;
19
+ readonly type: Schema.Literals<readonly ("skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack" | "skills" | "mcps" | "subagents" | "rules" | "hooks" | "packs")[]>;
20
20
  readonly name: Schema.brand<Schema.NonEmptyString, "ExtensionName">;
21
21
  readonly installVersion: Schema.brand<Schema.String, "Version">;
22
22
  }>>;
@@ -34,7 +34,7 @@ export declare const DiscoveryPackageResultSchema: Schema.Struct<{
34
34
  readonly resolved: Schema.Boolean;
35
35
  readonly extension: Schema.optional<Schema.Struct<{
36
36
  readonly owner: Schema.Union<readonly [Schema.brand<Schema.String, "Handle">, Schema.brand<Schema.String, "Slug">]>;
37
- readonly type: Schema.Literals<readonly ("skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack" | "packs" | "skills" | "mcps" | "subagents" | "rules" | "hooks")[]>;
37
+ readonly type: Schema.Literals<readonly ("skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack" | "skills" | "mcps" | "subagents" | "rules" | "hooks" | "packs")[]>;
38
38
  readonly name: Schema.brand<Schema.NonEmptyString, "ExtensionName">;
39
39
  readonly installVersion: Schema.brand<Schema.String, "Version">;
40
40
  }>>;
@@ -54,7 +54,7 @@ export declare const DiscoverPackagesResponseSchema: Schema.Struct<{
54
54
  readonly resolved: Schema.Boolean;
55
55
  readonly extension: Schema.optional<Schema.Struct<{
56
56
  readonly owner: Schema.Union<readonly [Schema.brand<Schema.String, "Handle">, Schema.brand<Schema.String, "Slug">]>;
57
- readonly type: Schema.Literals<readonly ("skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack" | "packs" | "skills" | "mcps" | "subagents" | "rules" | "hooks")[]>;
57
+ readonly type: Schema.Literals<readonly ("skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack" | "skills" | "mcps" | "subagents" | "rules" | "hooks" | "packs")[]>;
58
58
  readonly name: Schema.brand<Schema.NonEmptyString, "ExtensionName">;
59
59
  readonly installVersion: Schema.brand<Schema.String, "Version">;
60
60
  }>>;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "url": "https://github.com/agentxm/axm/issues"
5
5
  },
6
6
  "dependencies": {
7
- "@agentxm/extension-model": "^0.31.0",
7
+ "@agentxm/extension-model": "^0.31.1-preview.35384571507.dab37f17da4c",
8
8
  "effect": "4.0.0-rc.115",
9
9
  "semver": "^7.8.5"
10
10
  },
@@ -47,10 +47,6 @@
47
47
  "./unstable/human-handoff": {
48
48
  "types": "./dist/src/unstable/human-handoff.d.ts",
49
49
  "default": "./dist/src/unstable/human-handoff.js"
50
- },
51
- "./unstable/publish-authorization": {
52
- "types": "./dist/src/unstable/publish-authorization.d.ts",
53
- "default": "./dist/src/unstable/publish-authorization.js"
54
50
  }
55
51
  },
56
52
  "files": [
@@ -72,5 +68,5 @@
72
68
  "url": "https://github.com/agentxm/axm.git"
73
69
  },
74
70
  "type": "module",
75
- "version": "0.31.0"
71
+ "version": "0.31.1-preview.35384571507.dab37f17da4c"
76
72
  }
@@ -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