@agentxm/client-core 0.3.1 → 0.3.2

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.
@@ -27,136 +27,57 @@
27
27
  "GitHubSourceHostConfig": {
28
28
  "type": "object",
29
29
  "properties": {
30
- "name": {
31
- "$ref": "#/definitions/SourceName"
32
- },
33
- "type": {
34
- "type": "string",
35
- "enum": ["github"]
36
- },
37
- "url": {
38
- "type": "string"
39
- }
30
+ "name": { "$ref": "#/definitions/SourceName" },
31
+ "type": { "type": "string", "enum": ["github"] },
32
+ "url": { "type": "string" }
40
33
  },
41
34
  "required": ["name", "type", "url"],
42
35
  "additionalProperties": false,
43
36
  "title": "GitHub Source Host",
44
37
  "description": "Configuration for a GitHub source."
45
38
  },
46
- "SourceName1": {
47
- "type": "string",
48
- "allOf": [
49
- {
50
- "pattern": "^[a-z0-9][a-z0-9.-]*$",
51
- "title": "Source Name",
52
- "description": "A source name using lowercase letters, numbers, hyphens, and dots (e.g. github, my-registry.dev).",
53
- "examples": ["github", "my-registry.dev"]
54
- }
55
- ]
56
- },
57
39
  "GitLabSourceHostConfig": {
58
40
  "type": "object",
59
41
  "properties": {
60
- "name": {
61
- "$ref": "#/definitions/SourceName1"
62
- },
63
- "type": {
64
- "type": "string",
65
- "enum": ["gitlab"]
66
- },
67
- "url": {
68
- "type": "string"
69
- }
42
+ "name": { "$ref": "#/definitions/SourceName" },
43
+ "type": { "type": "string", "enum": ["gitlab"] },
44
+ "url": { "type": "string" }
70
45
  },
71
46
  "required": ["name", "type", "url"],
72
47
  "additionalProperties": false,
73
48
  "title": "GitLab Source Host",
74
49
  "description": "Configuration for a GitLab source."
75
50
  },
76
- "SourceName2": {
77
- "type": "string",
78
- "allOf": [
79
- {
80
- "pattern": "^[a-z0-9][a-z0-9.-]*$",
81
- "title": "Source Name",
82
- "description": "A source name using lowercase letters, numbers, hyphens, and dots (e.g. github, my-registry.dev).",
83
- "examples": ["github", "my-registry.dev"]
84
- }
85
- ]
86
- },
87
51
  "BitbucketSourceHostConfig": {
88
52
  "type": "object",
89
53
  "properties": {
90
- "name": {
91
- "$ref": "#/definitions/SourceName2"
92
- },
93
- "type": {
94
- "type": "string",
95
- "enum": ["bitbucket"]
96
- },
97
- "url": {
98
- "type": "string"
99
- }
54
+ "name": { "$ref": "#/definitions/SourceName" },
55
+ "type": { "type": "string", "enum": ["bitbucket"] },
56
+ "url": { "type": "string" }
100
57
  },
101
58
  "required": ["name", "type", "url"],
102
59
  "additionalProperties": false,
103
60
  "title": "Bitbucket Source Host",
104
61
  "description": "Configuration for a Bitbucket source."
105
62
  },
106
- "SourceName3": {
107
- "type": "string",
108
- "allOf": [
109
- {
110
- "pattern": "^[a-z0-9][a-z0-9.-]*$",
111
- "title": "Source Name",
112
- "description": "A source name using lowercase letters, numbers, hyphens, and dots (e.g. github, my-registry.dev).",
113
- "examples": ["github", "my-registry.dev"]
114
- }
115
- ]
116
- },
117
63
  "AzureReposSourceHostConfig": {
118
64
  "type": "object",
119
65
  "properties": {
120
- "name": {
121
- "$ref": "#/definitions/SourceName3"
122
- },
123
- "type": {
124
- "type": "string",
125
- "enum": ["azurerepos"]
126
- },
127
- "url": {
128
- "type": "string"
129
- }
66
+ "name": { "$ref": "#/definitions/SourceName" },
67
+ "type": { "type": "string", "enum": ["azurerepos"] },
68
+ "url": { "type": "string" }
130
69
  },
131
70
  "required": ["name", "type", "url"],
132
71
  "additionalProperties": false,
133
72
  "title": "Azure Repos Source Host",
134
73
  "description": "Configuration for an Azure Repos source."
135
74
  },
136
- "SourceName4": {
137
- "type": "string",
138
- "allOf": [
139
- {
140
- "pattern": "^[a-z0-9][a-z0-9.-]*$",
141
- "title": "Source Name",
142
- "description": "A source name using lowercase letters, numbers, hyphens, and dots (e.g. github, my-registry.dev).",
143
- "examples": ["github", "my-registry.dev"]
144
- }
145
- ]
146
- },
147
75
  "RegistrySourceHostConfig": {
148
76
  "type": "object",
149
77
  "properties": {
150
- "name": {
151
- "$ref": "#/definitions/SourceName4"
152
- },
153
- "type": {
154
- "type": "string",
155
- "enum": ["registry"]
156
- },
157
- "location": {
158
- "type": "string"
159
- }
78
+ "name": { "$ref": "#/definitions/SourceName" },
79
+ "type": { "type": "string", "enum": ["registry"] },
80
+ "location": { "type": "string" }
160
81
  },
161
82
  "required": ["name", "type", "location"],
162
83
  "additionalProperties": false,
@@ -165,198 +86,149 @@
165
86
  },
166
87
  "SourceHostConfig": {
167
88
  "anyOf": [
168
- {
169
- "$ref": "#/definitions/GitHubSourceHostConfig"
170
- },
171
- {
172
- "$ref": "#/definitions/GitLabSourceHostConfig"
173
- },
174
- {
175
- "$ref": "#/definitions/BitbucketSourceHostConfig"
176
- },
177
- {
178
- "$ref": "#/definitions/AzureReposSourceHostConfig"
179
- },
180
- {
181
- "$ref": "#/definitions/RegistrySourceHostConfig"
182
- }
89
+ { "$ref": "#/definitions/GitHubSourceHostConfig" },
90
+ { "$ref": "#/definitions/GitLabSourceHostConfig" },
91
+ { "$ref": "#/definitions/BitbucketSourceHostConfig" },
92
+ { "$ref": "#/definitions/AzureReposSourceHostConfig" },
93
+ { "$ref": "#/definitions/RegistrySourceHostConfig" }
183
94
  ],
184
95
  "title": "Source Host Config",
185
96
  "description": "Where extensions are fetched from — GitHub, GitLab, Bitbucket, Azure Repos, or a package registry."
186
97
  },
98
+ "CommandEntryObject": {
99
+ "type": "object",
100
+ "properties": {
101
+ "source": { "type": "string" },
102
+ "enabled": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
103
+ },
104
+ "required": ["source"],
105
+ "additionalProperties": false,
106
+ "title": "Command Entry Object",
107
+ "description": "A command with its source location and whether it's enabled."
108
+ },
109
+ "CommandEntry": {
110
+ "anyOf": [{ "type": "string" }, { "$ref": "#/definitions/CommandEntryObject" }]
111
+ },
187
112
  "CommandsMap": {
188
113
  "type": "object",
189
- "additionalProperties": {
190
- "type": "string"
191
- }
114
+ "additionalProperties": { "$ref": "#/definitions/CommandEntry" }
115
+ },
116
+ "SubagentEntryObject": {
117
+ "type": "object",
118
+ "properties": {
119
+ "source": { "type": "string" },
120
+ "enabled": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
121
+ },
122
+ "required": ["source"],
123
+ "additionalProperties": false,
124
+ "title": "Subagent Entry Object",
125
+ "description": "A subagent with its source location and whether it's enabled."
126
+ },
127
+ "SubagentEntry": {
128
+ "anyOf": [{ "type": "string" }, { "$ref": "#/definitions/SubagentEntryObject" }]
129
+ },
130
+ "SubagentsMap": {
131
+ "type": "object",
132
+ "additionalProperties": { "$ref": "#/definitions/SubagentEntry" }
133
+ },
134
+ "McpServerEntryObject": {
135
+ "type": "object",
136
+ "properties": { "source": { "type": "string" } },
137
+ "required": ["source"],
138
+ "additionalProperties": false,
139
+ "title": "MCP Server Entry Object",
140
+ "description": "An MCP server with its source location."
141
+ },
142
+ "McpServerEntry": {
143
+ "anyOf": [{ "type": "string" }, { "$ref": "#/definitions/McpServerEntryObject" }]
192
144
  },
193
145
  "McpServersMap": {
194
146
  "type": "object",
195
- "additionalProperties": {
196
- "type": "string"
197
- }
147
+ "additionalProperties": { "$ref": "#/definitions/McpServerEntry" }
198
148
  },
199
149
  "ExtensionPackEntryObject": {
200
150
  "type": "object",
201
- "properties": {
202
- "source": {
203
- "type": "string"
204
- }
205
- },
151
+ "properties": { "source": { "type": "string" } },
206
152
  "required": ["source"],
207
153
  "additionalProperties": false,
208
154
  "title": "Extension Pack Entry Object",
209
155
  "description": "An extension pack with its source location."
210
156
  },
211
157
  "ExtensionPackEntry": {
212
- "anyOf": [
213
- {
214
- "type": "string"
215
- },
216
- {
217
- "$ref": "#/definitions/ExtensionPackEntryObject"
218
- }
219
- ],
220
- "title": "Extension Pack Entry",
221
- "description": "An extension pack reference — either a source string or an object with source."
158
+ "anyOf": [{ "type": "string" }, { "$ref": "#/definitions/ExtensionPackEntryObject" }]
222
159
  },
223
160
  "ExtensionPacksMap": {
224
161
  "type": "object",
225
- "additionalProperties": {
226
- "$ref": "#/definitions/ExtensionPackEntry"
227
- }
162
+ "additionalProperties": { "$ref": "#/definitions/ExtensionPackEntry" }
228
163
  },
229
164
  "SkillEntryObject": {
230
165
  "type": "object",
231
166
  "properties": {
232
- "source": {
233
- "type": "string"
234
- },
235
- "enabled": {
236
- "anyOf": [
237
- {
238
- "type": "boolean"
239
- },
240
- {
241
- "type": "null"
242
- }
243
- ]
244
- }
167
+ "source": { "type": "string" },
168
+ "enabled": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
245
169
  },
246
170
  "required": ["source"],
247
171
  "additionalProperties": false,
248
172
  "title": "Skill Entry Object",
249
173
  "description": "A skill with its source location and whether it's enabled."
250
174
  },
251
- "SkillEntry": {
252
- "anyOf": [
253
- {
254
- "type": "string"
255
- },
256
- {
257
- "$ref": "#/definitions/SkillEntryObject"
258
- }
259
- ],
260
- "title": "Skill Entry",
261
- "description": "A skill reference — either a source string like @owner/skills/name or an object with source and enabled."
262
- },
175
+ "SkillEntry": { "anyOf": [{ "type": "string" }, { "$ref": "#/definitions/SkillEntryObject" }] },
263
176
  "SkillsMap": {
264
177
  "type": "object",
265
- "additionalProperties": {
266
- "$ref": "#/definitions/SkillEntry"
267
- }
178
+ "additionalProperties": { "$ref": "#/definitions/SkillEntry" }
268
179
  },
269
180
  "IgnoredSettings": {
270
181
  "type": "object",
271
182
  "properties": {
272
183
  "skills": {
273
- "anyOf": [
274
- {
275
- "type": "array",
276
- "items": {
277
- "type": "string"
278
- }
279
- },
280
- {
281
- "type": "null"
282
- }
283
- ]
184
+ "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }]
284
185
  },
285
186
  "commands": {
286
- "anyOf": [
287
- {
288
- "type": "array",
289
- "items": {
290
- "type": "string"
291
- }
292
- },
293
- {
294
- "type": "null"
295
- }
296
- ]
187
+ "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }]
188
+ },
189
+ "subagents": {
190
+ "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }]
297
191
  },
298
192
  "mcpServers": {
299
- "anyOf": [
300
- {
301
- "type": "array",
302
- "items": {
303
- "type": "string"
304
- }
305
- },
306
- {
307
- "type": "null"
308
- }
309
- ]
193
+ "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }]
310
194
  },
311
195
  "packs": {
312
- "anyOf": [
313
- {
314
- "type": "array",
315
- "items": {
316
- "type": "string"
317
- }
318
- },
319
- {
320
- "type": "null"
321
- }
322
- ]
196
+ "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }]
323
197
  }
324
198
  },
325
199
  "additionalProperties": false,
326
200
  "title": "Ignored Settings",
327
201
  "description": "Glob patterns for extensions to ignore, grouped by type (e.g. skills, commands)."
328
202
  },
203
+ "LintRuleSeverity": {
204
+ "type": "string",
205
+ "enum": ["off", "info", "warn", "error"],
206
+ "title": "Lint Rule Severity",
207
+ "description": "Severity override for a lint rule: 'off' silences it, 'info'/'warn'/'error' raise or lower severity."
208
+ },
209
+ "LintRulesMap": {
210
+ "type": "object",
211
+ "additionalProperties": { "$ref": "#/definitions/LintRuleSeverity" }
212
+ },
213
+ "LintConfig": {
214
+ "type": "object",
215
+ "properties": {
216
+ "rules": { "anyOf": [{ "$ref": "#/definitions/LintRulesMap" }, { "type": "null" }] }
217
+ },
218
+ "additionalProperties": false,
219
+ "title": "Lint Config",
220
+ "description": "Workspace lint configuration under `lint` in `.axm/settings.json`."
221
+ },
329
222
  "Settings": {
330
223
  "type": "object",
331
224
  "properties": {
332
225
  "telemetry": {
333
226
  "anyOf": [
334
- {
335
- "anyOf": [
336
- {
337
- "type": "boolean"
338
- },
339
- {
340
- "type": "string",
341
- "enum": ["errors"]
342
- }
343
- ]
344
- },
345
- {
346
- "type": "null"
347
- }
348
- ]
349
- },
350
- "profile": {
351
- "anyOf": [
352
- {
353
- "$ref": "#/definitions/Handle"
354
- },
355
- {
356
- "type": "null"
357
- }
227
+ { "anyOf": [{ "type": "boolean" }, { "type": "string", "enum": ["errors"] }] },
228
+ { "type": "null" }
358
229
  ]
359
230
  },
231
+ "profile": { "anyOf": [{ "$ref": "#/definitions/Handle" }, { "type": "null" }] },
360
232
  "agents": {
361
233
  "anyOf": [
362
234
  {
@@ -406,74 +278,22 @@
406
278
  ]
407
279
  }
408
280
  },
409
- {
410
- "type": "null"
411
- }
281
+ { "type": "null" }
412
282
  ]
413
283
  },
414
284
  "sources": {
415
285
  "anyOf": [
416
- {
417
- "type": "array",
418
- "items": {
419
- "$ref": "#/definitions/SourceHostConfig"
420
- }
421
- },
422
- {
423
- "type": "null"
424
- }
425
- ]
426
- },
427
- "commands": {
428
- "anyOf": [
429
- {
430
- "$ref": "#/definitions/CommandsMap"
431
- },
432
- {
433
- "type": "null"
434
- }
435
- ]
436
- },
437
- "mcpServers": {
438
- "anyOf": [
439
- {
440
- "$ref": "#/definitions/McpServersMap"
441
- },
442
- {
443
- "type": "null"
444
- }
286
+ { "type": "array", "items": { "$ref": "#/definitions/SourceHostConfig" } },
287
+ { "type": "null" }
445
288
  ]
446
289
  },
447
- "packs": {
448
- "anyOf": [
449
- {
450
- "$ref": "#/definitions/ExtensionPacksMap"
451
- },
452
- {
453
- "type": "null"
454
- }
455
- ]
456
- },
457
- "skills": {
458
- "anyOf": [
459
- {
460
- "$ref": "#/definitions/SkillsMap"
461
- },
462
- {
463
- "type": "null"
464
- }
465
- ]
466
- },
467
- "ignored": {
468
- "anyOf": [
469
- {
470
- "$ref": "#/definitions/IgnoredSettings"
471
- },
472
- {
473
- "type": "null"
474
- }
475
- ]
476
- }
290
+ "commands": { "anyOf": [{ "$ref": "#/definitions/CommandsMap" }, { "type": "null" }] },
291
+ "subagents": { "anyOf": [{ "$ref": "#/definitions/SubagentsMap" }, { "type": "null" }] },
292
+ "mcpServers": { "anyOf": [{ "$ref": "#/definitions/McpServersMap" }, { "type": "null" }] },
293
+ "packs": { "anyOf": [{ "$ref": "#/definitions/ExtensionPacksMap" }, { "type": "null" }] },
294
+ "skills": { "anyOf": [{ "$ref": "#/definitions/SkillsMap" }, { "type": "null" }] },
295
+ "ignored": { "anyOf": [{ "$ref": "#/definitions/IgnoredSettings" }, { "type": "null" }] },
296
+ "lint": { "anyOf": [{ "$ref": "#/definitions/LintConfig" }, { "type": "null" }] }
477
297
  },
478
298
  "additionalProperties": false,
479
299
  "title": "AXM Settings",