@agentxm/client-core 0.8.0 → 0.9.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.
Files changed (44) hide show
  1. package/dist/src/unstable/commands/manifest-schema.d.ts +9 -2
  2. package/dist/src/unstable/commands/manifest-schema.d.ts.map +1 -1
  3. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +9 -2
  4. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts.map +1 -1
  5. package/dist/src/unstable/extensions/common.d.ts +45 -2
  6. package/dist/src/unstable/extensions/common.d.ts.map +1 -1
  7. package/dist/src/unstable/extensions/common.js +64 -8
  8. package/dist/src/unstable/extensions/common.js.map +1 -1
  9. package/dist/src/unstable/mcp-servers/manifest-schema.d.ts +9 -2
  10. package/dist/src/unstable/mcp-servers/manifest-schema.d.ts.map +1 -1
  11. package/dist/src/unstable/packaging/cargo.d.ts +5 -2
  12. package/dist/src/unstable/packaging/cargo.d.ts.map +1 -1
  13. package/dist/src/unstable/packaging/cargo.js +96 -55
  14. package/dist/src/unstable/packaging/cargo.js.map +1 -1
  15. package/dist/src/unstable/packs/manifest-schema.d.ts +9 -2
  16. package/dist/src/unstable/packs/manifest-schema.d.ts.map +1 -1
  17. package/dist/src/unstable/publish/manifest-policy.d.ts +45 -10
  18. package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -1
  19. package/dist/src/unstable/registry/client.d.ts +3 -1
  20. package/dist/src/unstable/registry/client.d.ts.map +1 -1
  21. package/dist/src/unstable/registry/client.js.map +1 -1
  22. package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
  23. package/dist/src/unstable/registry/local-client.js +1 -0
  24. package/dist/src/unstable/registry/local-client.js.map +1 -1
  25. package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
  26. package/dist/src/unstable/registry/remote-client.js +1 -0
  27. package/dist/src/unstable/registry/remote-client.js.map +1 -1
  28. package/dist/src/unstable/registry/schema.d.ts +11 -2
  29. package/dist/src/unstable/registry/schema.d.ts.map +1 -1
  30. package/dist/src/unstable/registry/schema.js +5 -3
  31. package/dist/src/unstable/registry/schema.js.map +1 -1
  32. package/dist/src/unstable/skills/manifest-schema.d.ts +9 -2
  33. package/dist/src/unstable/skills/manifest-schema.d.ts.map +1 -1
  34. package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -1
  35. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +1 -0
  36. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
  37. package/dist/src/unstable/subagents/manifest-schema.d.ts +9 -2
  38. package/dist/src/unstable/subagents/manifest-schema.d.ts.map +1 -1
  39. package/package.json +2 -2
  40. package/site-content/__generated__/schemas/command.schema.json +110 -20
  41. package/site-content/__generated__/schemas/mcp-server.schema.json +110 -20
  42. package/site-content/__generated__/schemas/pack.schema.json +110 -20
  43. package/site-content/__generated__/schemas/skill.schema.json +110 -20
  44. package/site-content/__generated__/schemas/subagent.schema.json +110 -20
@@ -24,6 +24,114 @@
24
24
  }
25
25
  ]
26
26
  },
27
+ "Repository": {
28
+ "anyOf": [
29
+ {
30
+ "type": "string",
31
+ "examples": ["https://github.com/acme/code-review", "github:acme/code-review"],
32
+ "format": "uri-reference"
33
+ },
34
+ {
35
+ "type": "object",
36
+ "properties": {
37
+ "type": {
38
+ "anyOf": [
39
+ {
40
+ "type": "string",
41
+ "allOf": [
42
+ {
43
+ "minLength": 1,
44
+ "description": "Version control system (e.g., `git`).",
45
+ "examples": ["git"]
46
+ }
47
+ ]
48
+ },
49
+ { "type": "null" }
50
+ ]
51
+ },
52
+ "url": {
53
+ "type": "string",
54
+ "allOf": [
55
+ {
56
+ "minLength": 1,
57
+ "description": "Repository URL.",
58
+ "examples": ["https://github.com/acme/code-review"],
59
+ "format": "uri"
60
+ }
61
+ ]
62
+ },
63
+ "directory": {
64
+ "anyOf": [
65
+ {
66
+ "type": "string",
67
+ "allOf": [
68
+ {
69
+ "minLength": 1,
70
+ "description": "Subdirectory within the repository, for monorepo publishers.",
71
+ "examples": ["packages/code-review"]
72
+ }
73
+ ]
74
+ },
75
+ { "type": "null" }
76
+ ]
77
+ }
78
+ },
79
+ "required": ["url"],
80
+ "additionalProperties": false
81
+ }
82
+ ],
83
+ "title": "Repository",
84
+ "description": "Source repository for this extension. Accepts a URL string (or `host:owner/repo` shorthand) or an object with `type`, `url`, and optional `directory`."
85
+ },
86
+ "Bugs": {
87
+ "anyOf": [
88
+ {
89
+ "type": "string",
90
+ "examples": ["https://github.com/acme/code-review/issues"],
91
+ "format": "uri"
92
+ },
93
+ {
94
+ "type": "object",
95
+ "properties": {
96
+ "url": {
97
+ "anyOf": [
98
+ {
99
+ "type": "string",
100
+ "allOf": [
101
+ {
102
+ "minLength": 1,
103
+ "description": "Issue tracker URL.",
104
+ "examples": ["https://github.com/acme/code-review/issues"],
105
+ "format": "uri"
106
+ }
107
+ ]
108
+ },
109
+ { "type": "null" }
110
+ ]
111
+ },
112
+ "email": {
113
+ "anyOf": [
114
+ {
115
+ "type": "string",
116
+ "allOf": [
117
+ {
118
+ "minLength": 1,
119
+ "description": "Contact email for bug reports.",
120
+ "examples": ["bugs@acme.dev"],
121
+ "format": "email"
122
+ }
123
+ ]
124
+ },
125
+ { "type": "null" }
126
+ ]
127
+ }
128
+ },
129
+ "additionalProperties": false
130
+ }
131
+ ],
132
+ "title": "Bugs",
133
+ "description": "Where to report bugs against this extension. Accepts a URL string or an object with optional `url` and `email`."
134
+ },
27
135
  "Author": {
28
136
  "type": "object",
29
137
  "properties": {
@@ -96,16 +204,7 @@
96
204
  { "type": "null" }
97
205
  ]
98
206
  },
99
- "repository": {
100
- "anyOf": [
101
- {
102
- "type": "string",
103
- "examples": ["https://github.com/acme/code-review"],
104
- "format": "uri"
105
- },
106
- { "type": "null" }
107
- ]
108
- },
207
+ "repository": { "anyOf": [{ "$ref": "#/definitions/Repository" }, { "type": "null" }] },
109
208
  "homepage": {
110
209
  "anyOf": [
111
210
  { "type": "string", "examples": ["https://acme.dev/code-review"], "format": "uri" },
@@ -118,16 +217,7 @@
118
217
  { "type": "null" }
119
218
  ]
120
219
  },
121
- "bugs": {
122
- "anyOf": [
123
- {
124
- "type": "string",
125
- "examples": ["https://github.com/acme/code-review/issues"],
126
- "format": "uri"
127
- },
128
- { "type": "null" }
129
- ]
130
- },
220
+ "bugs": { "anyOf": [{ "$ref": "#/definitions/Bugs" }, { "type": "null" }] },
131
221
  "authors": {
132
222
  "anyOf": [
133
223
  { "type": "array", "items": { "$ref": "#/definitions/Author" } },
@@ -24,6 +24,114 @@
24
24
  }
25
25
  ]
26
26
  },
27
+ "Repository": {
28
+ "anyOf": [
29
+ {
30
+ "type": "string",
31
+ "examples": ["https://github.com/acme/code-review", "github:acme/code-review"],
32
+ "format": "uri-reference"
33
+ },
34
+ {
35
+ "type": "object",
36
+ "properties": {
37
+ "type": {
38
+ "anyOf": [
39
+ {
40
+ "type": "string",
41
+ "allOf": [
42
+ {
43
+ "minLength": 1,
44
+ "description": "Version control system (e.g., `git`).",
45
+ "examples": ["git"]
46
+ }
47
+ ]
48
+ },
49
+ { "type": "null" }
50
+ ]
51
+ },
52
+ "url": {
53
+ "type": "string",
54
+ "allOf": [
55
+ {
56
+ "minLength": 1,
57
+ "description": "Repository URL.",
58
+ "examples": ["https://github.com/acme/code-review"],
59
+ "format": "uri"
60
+ }
61
+ ]
62
+ },
63
+ "directory": {
64
+ "anyOf": [
65
+ {
66
+ "type": "string",
67
+ "allOf": [
68
+ {
69
+ "minLength": 1,
70
+ "description": "Subdirectory within the repository, for monorepo publishers.",
71
+ "examples": ["packages/code-review"]
72
+ }
73
+ ]
74
+ },
75
+ { "type": "null" }
76
+ ]
77
+ }
78
+ },
79
+ "required": ["url"],
80
+ "additionalProperties": false
81
+ }
82
+ ],
83
+ "title": "Repository",
84
+ "description": "Source repository for this extension. Accepts a URL string (or `host:owner/repo` shorthand) or an object with `type`, `url`, and optional `directory`."
85
+ },
86
+ "Bugs": {
87
+ "anyOf": [
88
+ {
89
+ "type": "string",
90
+ "examples": ["https://github.com/acme/code-review/issues"],
91
+ "format": "uri"
92
+ },
93
+ {
94
+ "type": "object",
95
+ "properties": {
96
+ "url": {
97
+ "anyOf": [
98
+ {
99
+ "type": "string",
100
+ "allOf": [
101
+ {
102
+ "minLength": 1,
103
+ "description": "Issue tracker URL.",
104
+ "examples": ["https://github.com/acme/code-review/issues"],
105
+ "format": "uri"
106
+ }
107
+ ]
108
+ },
109
+ { "type": "null" }
110
+ ]
111
+ },
112
+ "email": {
113
+ "anyOf": [
114
+ {
115
+ "type": "string",
116
+ "allOf": [
117
+ {
118
+ "minLength": 1,
119
+ "description": "Contact email for bug reports.",
120
+ "examples": ["bugs@acme.dev"],
121
+ "format": "email"
122
+ }
123
+ ]
124
+ },
125
+ { "type": "null" }
126
+ ]
127
+ }
128
+ },
129
+ "additionalProperties": false
130
+ }
131
+ ],
132
+ "title": "Bugs",
133
+ "description": "Where to report bugs against this extension. Accepts a URL string or an object with optional `url` and `email`."
134
+ },
27
135
  "Author": {
28
136
  "type": "object",
29
137
  "properties": {
@@ -96,16 +204,7 @@
96
204
  { "type": "null" }
97
205
  ]
98
206
  },
99
- "repository": {
100
- "anyOf": [
101
- {
102
- "type": "string",
103
- "examples": ["https://github.com/acme/code-review"],
104
- "format": "uri"
105
- },
106
- { "type": "null" }
107
- ]
108
- },
207
+ "repository": { "anyOf": [{ "$ref": "#/definitions/Repository" }, { "type": "null" }] },
109
208
  "homepage": {
110
209
  "anyOf": [
111
210
  { "type": "string", "examples": ["https://acme.dev/code-review"], "format": "uri" },
@@ -118,16 +217,7 @@
118
217
  { "type": "null" }
119
218
  ]
120
219
  },
121
- "bugs": {
122
- "anyOf": [
123
- {
124
- "type": "string",
125
- "examples": ["https://github.com/acme/code-review/issues"],
126
- "format": "uri"
127
- },
128
- { "type": "null" }
129
- ]
130
- },
220
+ "bugs": { "anyOf": [{ "$ref": "#/definitions/Bugs" }, { "type": "null" }] },
131
221
  "authors": {
132
222
  "anyOf": [
133
223
  { "type": "array", "items": { "$ref": "#/definitions/Author" } },
@@ -24,6 +24,114 @@
24
24
  }
25
25
  ]
26
26
  },
27
+ "Repository": {
28
+ "anyOf": [
29
+ {
30
+ "type": "string",
31
+ "examples": ["https://github.com/acme/code-review", "github:acme/code-review"],
32
+ "format": "uri-reference"
33
+ },
34
+ {
35
+ "type": "object",
36
+ "properties": {
37
+ "type": {
38
+ "anyOf": [
39
+ {
40
+ "type": "string",
41
+ "allOf": [
42
+ {
43
+ "minLength": 1,
44
+ "description": "Version control system (e.g., `git`).",
45
+ "examples": ["git"]
46
+ }
47
+ ]
48
+ },
49
+ { "type": "null" }
50
+ ]
51
+ },
52
+ "url": {
53
+ "type": "string",
54
+ "allOf": [
55
+ {
56
+ "minLength": 1,
57
+ "description": "Repository URL.",
58
+ "examples": ["https://github.com/acme/code-review"],
59
+ "format": "uri"
60
+ }
61
+ ]
62
+ },
63
+ "directory": {
64
+ "anyOf": [
65
+ {
66
+ "type": "string",
67
+ "allOf": [
68
+ {
69
+ "minLength": 1,
70
+ "description": "Subdirectory within the repository, for monorepo publishers.",
71
+ "examples": ["packages/code-review"]
72
+ }
73
+ ]
74
+ },
75
+ { "type": "null" }
76
+ ]
77
+ }
78
+ },
79
+ "required": ["url"],
80
+ "additionalProperties": false
81
+ }
82
+ ],
83
+ "title": "Repository",
84
+ "description": "Source repository for this extension. Accepts a URL string (or `host:owner/repo` shorthand) or an object with `type`, `url`, and optional `directory`."
85
+ },
86
+ "Bugs": {
87
+ "anyOf": [
88
+ {
89
+ "type": "string",
90
+ "examples": ["https://github.com/acme/code-review/issues"],
91
+ "format": "uri"
92
+ },
93
+ {
94
+ "type": "object",
95
+ "properties": {
96
+ "url": {
97
+ "anyOf": [
98
+ {
99
+ "type": "string",
100
+ "allOf": [
101
+ {
102
+ "minLength": 1,
103
+ "description": "Issue tracker URL.",
104
+ "examples": ["https://github.com/acme/code-review/issues"],
105
+ "format": "uri"
106
+ }
107
+ ]
108
+ },
109
+ { "type": "null" }
110
+ ]
111
+ },
112
+ "email": {
113
+ "anyOf": [
114
+ {
115
+ "type": "string",
116
+ "allOf": [
117
+ {
118
+ "minLength": 1,
119
+ "description": "Contact email for bug reports.",
120
+ "examples": ["bugs@acme.dev"],
121
+ "format": "email"
122
+ }
123
+ ]
124
+ },
125
+ { "type": "null" }
126
+ ]
127
+ }
128
+ },
129
+ "additionalProperties": false
130
+ }
131
+ ],
132
+ "title": "Bugs",
133
+ "description": "Where to report bugs against this extension. Accepts a URL string or an object with optional `url` and `email`."
134
+ },
27
135
  "Author": {
28
136
  "type": "object",
29
137
  "properties": {
@@ -107,16 +215,7 @@
107
215
  { "type": "null" }
108
216
  ]
109
217
  },
110
- "repository": {
111
- "anyOf": [
112
- {
113
- "type": "string",
114
- "examples": ["https://github.com/acme/code-review"],
115
- "format": "uri"
116
- },
117
- { "type": "null" }
118
- ]
119
- },
218
+ "repository": { "anyOf": [{ "$ref": "#/definitions/Repository" }, { "type": "null" }] },
120
219
  "homepage": {
121
220
  "anyOf": [
122
221
  { "type": "string", "examples": ["https://acme.dev/code-review"], "format": "uri" },
@@ -129,16 +228,7 @@
129
228
  { "type": "null" }
130
229
  ]
131
230
  },
132
- "bugs": {
133
- "anyOf": [
134
- {
135
- "type": "string",
136
- "examples": ["https://github.com/acme/code-review/issues"],
137
- "format": "uri"
138
- },
139
- { "type": "null" }
140
- ]
141
- },
231
+ "bugs": { "anyOf": [{ "$ref": "#/definitions/Bugs" }, { "type": "null" }] },
142
232
  "authors": {
143
233
  "anyOf": [
144
234
  { "type": "array", "items": { "$ref": "#/definitions/Author" } },
@@ -24,6 +24,114 @@
24
24
  }
25
25
  ]
26
26
  },
27
+ "Repository": {
28
+ "anyOf": [
29
+ {
30
+ "type": "string",
31
+ "examples": ["https://github.com/acme/code-review", "github:acme/code-review"],
32
+ "format": "uri-reference"
33
+ },
34
+ {
35
+ "type": "object",
36
+ "properties": {
37
+ "type": {
38
+ "anyOf": [
39
+ {
40
+ "type": "string",
41
+ "allOf": [
42
+ {
43
+ "minLength": 1,
44
+ "description": "Version control system (e.g., `git`).",
45
+ "examples": ["git"]
46
+ }
47
+ ]
48
+ },
49
+ { "type": "null" }
50
+ ]
51
+ },
52
+ "url": {
53
+ "type": "string",
54
+ "allOf": [
55
+ {
56
+ "minLength": 1,
57
+ "description": "Repository URL.",
58
+ "examples": ["https://github.com/acme/code-review"],
59
+ "format": "uri"
60
+ }
61
+ ]
62
+ },
63
+ "directory": {
64
+ "anyOf": [
65
+ {
66
+ "type": "string",
67
+ "allOf": [
68
+ {
69
+ "minLength": 1,
70
+ "description": "Subdirectory within the repository, for monorepo publishers.",
71
+ "examples": ["packages/code-review"]
72
+ }
73
+ ]
74
+ },
75
+ { "type": "null" }
76
+ ]
77
+ }
78
+ },
79
+ "required": ["url"],
80
+ "additionalProperties": false
81
+ }
82
+ ],
83
+ "title": "Repository",
84
+ "description": "Source repository for this extension. Accepts a URL string (or `host:owner/repo` shorthand) or an object with `type`, `url`, and optional `directory`."
85
+ },
86
+ "Bugs": {
87
+ "anyOf": [
88
+ {
89
+ "type": "string",
90
+ "examples": ["https://github.com/acme/code-review/issues"],
91
+ "format": "uri"
92
+ },
93
+ {
94
+ "type": "object",
95
+ "properties": {
96
+ "url": {
97
+ "anyOf": [
98
+ {
99
+ "type": "string",
100
+ "allOf": [
101
+ {
102
+ "minLength": 1,
103
+ "description": "Issue tracker URL.",
104
+ "examples": ["https://github.com/acme/code-review/issues"],
105
+ "format": "uri"
106
+ }
107
+ ]
108
+ },
109
+ { "type": "null" }
110
+ ]
111
+ },
112
+ "email": {
113
+ "anyOf": [
114
+ {
115
+ "type": "string",
116
+ "allOf": [
117
+ {
118
+ "minLength": 1,
119
+ "description": "Contact email for bug reports.",
120
+ "examples": ["bugs@acme.dev"],
121
+ "format": "email"
122
+ }
123
+ ]
124
+ },
125
+ { "type": "null" }
126
+ ]
127
+ }
128
+ },
129
+ "additionalProperties": false
130
+ }
131
+ ],
132
+ "title": "Bugs",
133
+ "description": "Where to report bugs against this extension. Accepts a URL string or an object with optional `url` and `email`."
134
+ },
27
135
  "Author": {
28
136
  "type": "object",
29
137
  "properties": {
@@ -96,16 +204,7 @@
96
204
  { "type": "null" }
97
205
  ]
98
206
  },
99
- "repository": {
100
- "anyOf": [
101
- {
102
- "type": "string",
103
- "examples": ["https://github.com/acme/code-review"],
104
- "format": "uri"
105
- },
106
- { "type": "null" }
107
- ]
108
- },
207
+ "repository": { "anyOf": [{ "$ref": "#/definitions/Repository" }, { "type": "null" }] },
109
208
  "homepage": {
110
209
  "anyOf": [
111
210
  { "type": "string", "examples": ["https://acme.dev/code-review"], "format": "uri" },
@@ -118,16 +217,7 @@
118
217
  { "type": "null" }
119
218
  ]
120
219
  },
121
- "bugs": {
122
- "anyOf": [
123
- {
124
- "type": "string",
125
- "examples": ["https://github.com/acme/code-review/issues"],
126
- "format": "uri"
127
- },
128
- { "type": "null" }
129
- ]
130
- },
220
+ "bugs": { "anyOf": [{ "$ref": "#/definitions/Bugs" }, { "type": "null" }] },
131
221
  "authors": {
132
222
  "anyOf": [
133
223
  { "type": "array", "items": { "$ref": "#/definitions/Author" } },