@crewx/sdk 0.8.0-rc.70 → 0.8.0-rc.71

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.
@@ -1,306 +1,306 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://crewx.dev/schemas/skills-config.json",
4
- "title": "CrewX Skills Configuration Schema",
5
- "description": "JSON Schema for CrewX skills and agent configuration with Claude skills.md integration",
6
- "type": "object",
7
- "definitions": {
8
- "skillMetadata": {
9
- "type": "object",
10
- "description": "Claude skill metadata from skills.md frontmatter",
11
- "required": ["name", "description", "version"],
12
- "properties": {
13
- "name": {
14
- "type": "string",
15
- "pattern": "^[a-z0-9-]+$",
16
- "maxLength": 50,
17
- "description": "Skill identifier in kebab-case"
18
- },
19
- "description": {
20
- "type": "string",
21
- "minLength": 10,
22
- "maxLength": 200,
23
- "description": "Short description of the skill"
24
- },
25
- "version": {
26
- "type": "string",
27
- "pattern": "^\\d+\\.\\d+\\.\\d+$",
28
- "description": "Semantic version (e.g., 1.0.0)"
29
- },
30
- "dependencies": {
31
- "type": "array",
32
- "items": {
33
- "type": "string",
34
- "pattern": "^[a-z0-9-]+(@\\d+\\.\\d+\\.\\d+)?$"
35
- },
36
- "description": "Array of dependent skills (name or name@version)"
37
- },
38
- "runtime": {
39
- "type": "object",
40
- "properties": {
41
- "python": { "type": "string" },
42
- "node": { "type": "string" }
43
- },
44
- "additionalProperties": { "type": "string" },
45
- "description": "Runtime requirements"
46
- },
47
- "visibility": {
48
- "type": "string",
49
- "enum": ["public", "private", "internal"],
50
- "description": "Visibility level"
51
- }
52
- },
53
- "additionalProperties": true
54
- },
55
- "skillsConfig": {
56
- "type": "object",
57
- "description": "Skills configuration for agents",
58
- "properties": {
59
- "paths": {
60
- "type": "array",
61
- "items": { "type": "string" },
62
- "description": "Custom skill directories to search (project-level only)"
63
- },
64
- "include": {
65
- "type": "array",
66
- "items": {
67
- "type": "string",
68
- "pattern": "^[a-z0-9-]+$"
69
- },
70
- "description": "Explicitly include these skills"
71
- },
72
- "exclude": {
73
- "type": "array",
74
- "items": {
75
- "type": "string",
76
- "pattern": "^[a-z0-9-]+$"
77
- },
78
- "description": "Explicitly exclude these skills"
79
- },
80
- "autoload": {
81
- "type": "boolean",
82
- "default": true,
83
- "description": "Auto-load all skills from paths"
84
- }
85
- },
86
- "additionalProperties": false
87
- },
88
- "inlineConfig": {
89
- "type": "object",
90
- "description": "Inline agent configuration",
91
- "properties": {
92
- "type": {
93
- "type": "string",
94
- "const": "agent"
95
- },
96
- "model": {
97
- "type": "string",
98
- "description": "Default AI model"
99
- },
100
- "system_prompt": {
101
- "type": "string",
102
- "description": "System prompt for the agent"
103
- },
104
- "prompt": {
105
- "type": "string",
106
- "description": "Alternative to system_prompt"
107
- },
108
- "layout": {
109
- "oneOf": [
110
- { "type": "string" },
111
- {
112
- "type": "object",
113
- "required": ["id"],
114
- "properties": {
115
- "id": { "type": "string" },
116
- "props": { "type": "object" }
117
- }
118
- }
119
- ],
120
- "description": "Layout reference"
121
- },
122
- "version": {
123
- "type": "string",
124
- "pattern": "^\\d+\\.\\d+\\.\\d+$",
125
- "description": "Agent/skill version"
126
- },
127
- "dependencies": {
128
- "type": "array",
129
- "items": { "type": "string" },
130
- "description": "Required skills for this agent"
131
- },
132
- "documents": {
133
- "type": "object",
134
- "additionalProperties": { "type": "string" },
135
- "description": "Agent-specific documents"
136
- }
137
- },
138
- "additionalProperties": true
139
- },
140
- "optionsConfig": {
141
- "type": "object",
142
- "description": "CLI options configuration",
143
- "properties": {
144
- "query": {
145
- "oneOf": [
146
- {
147
- "type": "array",
148
- "items": { "type": "string" }
149
- },
150
- {
151
- "type": "object",
152
- "additionalProperties": {
153
- "type": "array",
154
- "items": { "type": "string" }
155
- }
156
- }
157
- ],
158
- "description": "Read-only query mode options"
159
- },
160
- "execute": {
161
- "oneOf": [
162
- {
163
- "type": "array",
164
- "items": { "type": "string" }
165
- },
166
- {
167
- "type": "object",
168
- "additionalProperties": {
169
- "type": "array",
170
- "items": { "type": "string" }
171
- }
172
- }
173
- ],
174
- "description": "Execute mode options (file modification)"
175
- }
176
- },
177
- "additionalProperties": false
178
- },
179
- "remoteConfig": {
180
- "type": "object",
181
- "description": "Remote agent configuration",
182
- "required": ["type", "url"],
183
- "properties": {
184
- "type": { "type": "string" },
185
- "url": { "type": "string", "format": "uri" },
186
- "apiKey": { "type": "string" },
187
- "agentId": { "type": "string" },
188
- "timeoutMs": { "type": "number", "minimum": 0 }
189
- },
190
- "additionalProperties": true
191
- },
192
- "agentDefinition": {
193
- "type": "object",
194
- "description": "Agent definition with skills support",
195
- "required": ["id", "provider"],
196
- "properties": {
197
- "id": {
198
- "type": "string",
199
- "pattern": "^[a-zA-Z0-9_-]+$",
200
- "description": "Agent identifier"
201
- },
202
- "name": {
203
- "type": "string",
204
- "description": "Display name"
205
- },
206
- "role": {
207
- "type": "string",
208
- "description": "Agent role"
209
- },
210
- "team": {
211
- "type": "string",
212
- "description": "Team name"
213
- },
214
- "provider": {
215
- "oneOf": [
216
- { "type": "string" },
217
- {
218
- "type": "array",
219
- "items": { "type": "string" },
220
- "minItems": 1
221
- }
222
- ],
223
- "description": "AI provider or array of providers for fallback"
224
- },
225
- "working_directory": {
226
- "type": "string",
227
- "description": "Working directory path"
228
- },
229
- "description": {
230
- "type": "string",
231
- "description": "Agent description"
232
- },
233
- "specialties": {
234
- "type": "array",
235
- "items": { "type": "string" },
236
- "description": "Agent specialties"
237
- },
238
- "capabilities": {
239
- "type": "array",
240
- "items": { "type": "string" },
241
- "description": "Agent capabilities"
242
- },
243
- "skills": {
244
- "$ref": "#/definitions/skillsConfig",
245
- "description": "Skills configuration for this agent"
246
- },
247
- "inline": {
248
- "$ref": "#/definitions/inlineConfig",
249
- "description": "Inline agent configuration"
250
- },
251
- "options": {
252
- "$ref": "#/definitions/optionsConfig",
253
- "description": "CLI options"
254
- },
255
- "remote": {
256
- "$ref": "#/definitions/remoteConfig",
257
- "description": "Remote agent configuration"
258
- }
259
- },
260
- "additionalProperties": true
261
- }
262
- },
263
- "properties": {
264
- "skills_paths": {
265
- "type": "array",
266
- "items": { "type": "string" },
267
- "description": "[DEPRECATED] Use skills.paths instead. Global skill directories to search"
268
- },
269
- "skills": {
270
- "$ref": "#/definitions/skillsConfig",
271
- "description": "Project-wide skills configuration"
272
- },
273
- "layouts": {
274
- "type": "object",
275
- "additionalProperties": { "type": "string" },
276
- "description": "Layout definitions"
277
- },
278
- "documents": {
279
- "type": "object",
280
- "additionalProperties": { "type": "string" },
281
- "description": "Document definitions"
282
- },
283
- "settings": {
284
- "type": "object",
285
- "properties": {
286
- "slack": {
287
- "type": "object",
288
- "properties": {
289
- "log_conversations": { "type": "boolean" }
290
- },
291
- "additionalProperties": true
292
- }
293
- },
294
- "additionalProperties": true,
295
- "description": "Project settings"
296
- },
297
- "agents": {
298
- "type": "array",
299
- "items": {
300
- "$ref": "#/definitions/agentDefinition"
301
- },
302
- "description": "Agent definitions"
303
- }
304
- },
305
- "additionalProperties": true
306
- }
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://crewx.dev/schemas/skills-config.json",
4
+ "title": "CrewX Skills Configuration Schema",
5
+ "description": "JSON Schema for CrewX skills and agent configuration with Claude skills.md integration",
6
+ "type": "object",
7
+ "definitions": {
8
+ "skillMetadata": {
9
+ "type": "object",
10
+ "description": "Claude skill metadata from skills.md frontmatter",
11
+ "required": ["name", "description", "version"],
12
+ "properties": {
13
+ "name": {
14
+ "type": "string",
15
+ "pattern": "^[a-z0-9-]+$",
16
+ "maxLength": 50,
17
+ "description": "Skill identifier in kebab-case"
18
+ },
19
+ "description": {
20
+ "type": "string",
21
+ "minLength": 10,
22
+ "maxLength": 200,
23
+ "description": "Short description of the skill"
24
+ },
25
+ "version": {
26
+ "type": "string",
27
+ "pattern": "^\\d+\\.\\d+\\.\\d+$",
28
+ "description": "Semantic version (e.g., 1.0.0)"
29
+ },
30
+ "dependencies": {
31
+ "type": "array",
32
+ "items": {
33
+ "type": "string",
34
+ "pattern": "^[a-z0-9-]+(@\\d+\\.\\d+\\.\\d+)?$"
35
+ },
36
+ "description": "Array of dependent skills (name or name@version)"
37
+ },
38
+ "runtime": {
39
+ "type": "object",
40
+ "properties": {
41
+ "python": { "type": "string" },
42
+ "node": { "type": "string" }
43
+ },
44
+ "additionalProperties": { "type": "string" },
45
+ "description": "Runtime requirements"
46
+ },
47
+ "visibility": {
48
+ "type": "string",
49
+ "enum": ["public", "private", "internal"],
50
+ "description": "Visibility level"
51
+ }
52
+ },
53
+ "additionalProperties": true
54
+ },
55
+ "skillsConfig": {
56
+ "type": "object",
57
+ "description": "Skills configuration for agents",
58
+ "properties": {
59
+ "paths": {
60
+ "type": "array",
61
+ "items": { "type": "string" },
62
+ "description": "Custom skill directories to search (project-level only)"
63
+ },
64
+ "include": {
65
+ "type": "array",
66
+ "items": {
67
+ "type": "string",
68
+ "pattern": "^[a-z0-9-]+$"
69
+ },
70
+ "description": "Explicitly include these skills"
71
+ },
72
+ "exclude": {
73
+ "type": "array",
74
+ "items": {
75
+ "type": "string",
76
+ "pattern": "^[a-z0-9-]+$"
77
+ },
78
+ "description": "Explicitly exclude these skills"
79
+ },
80
+ "autoload": {
81
+ "type": "boolean",
82
+ "default": true,
83
+ "description": "Auto-load all skills from paths"
84
+ }
85
+ },
86
+ "additionalProperties": false
87
+ },
88
+ "inlineConfig": {
89
+ "type": "object",
90
+ "description": "Inline agent configuration",
91
+ "properties": {
92
+ "type": {
93
+ "type": "string",
94
+ "const": "agent"
95
+ },
96
+ "model": {
97
+ "type": "string",
98
+ "description": "Default AI model"
99
+ },
100
+ "system_prompt": {
101
+ "type": "string",
102
+ "description": "System prompt for the agent"
103
+ },
104
+ "prompt": {
105
+ "type": "string",
106
+ "description": "Alternative to system_prompt"
107
+ },
108
+ "layout": {
109
+ "oneOf": [
110
+ { "type": "string" },
111
+ {
112
+ "type": "object",
113
+ "required": ["id"],
114
+ "properties": {
115
+ "id": { "type": "string" },
116
+ "props": { "type": "object" }
117
+ }
118
+ }
119
+ ],
120
+ "description": "Layout reference"
121
+ },
122
+ "version": {
123
+ "type": "string",
124
+ "pattern": "^\\d+\\.\\d+\\.\\d+$",
125
+ "description": "Agent/skill version"
126
+ },
127
+ "dependencies": {
128
+ "type": "array",
129
+ "items": { "type": "string" },
130
+ "description": "Required skills for this agent"
131
+ },
132
+ "documents": {
133
+ "type": "object",
134
+ "additionalProperties": { "type": "string" },
135
+ "description": "Agent-specific documents"
136
+ }
137
+ },
138
+ "additionalProperties": true
139
+ },
140
+ "optionsConfig": {
141
+ "type": "object",
142
+ "description": "CLI options configuration",
143
+ "properties": {
144
+ "query": {
145
+ "oneOf": [
146
+ {
147
+ "type": "array",
148
+ "items": { "type": "string" }
149
+ },
150
+ {
151
+ "type": "object",
152
+ "additionalProperties": {
153
+ "type": "array",
154
+ "items": { "type": "string" }
155
+ }
156
+ }
157
+ ],
158
+ "description": "Read-only query mode options"
159
+ },
160
+ "execute": {
161
+ "oneOf": [
162
+ {
163
+ "type": "array",
164
+ "items": { "type": "string" }
165
+ },
166
+ {
167
+ "type": "object",
168
+ "additionalProperties": {
169
+ "type": "array",
170
+ "items": { "type": "string" }
171
+ }
172
+ }
173
+ ],
174
+ "description": "Execute mode options (file modification)"
175
+ }
176
+ },
177
+ "additionalProperties": false
178
+ },
179
+ "remoteConfig": {
180
+ "type": "object",
181
+ "description": "Remote agent configuration",
182
+ "required": ["type", "url"],
183
+ "properties": {
184
+ "type": { "type": "string" },
185
+ "url": { "type": "string", "format": "uri" },
186
+ "apiKey": { "type": "string" },
187
+ "agentId": { "type": "string" },
188
+ "timeoutMs": { "type": "number", "minimum": 0 }
189
+ },
190
+ "additionalProperties": true
191
+ },
192
+ "agentDefinition": {
193
+ "type": "object",
194
+ "description": "Agent definition with skills support",
195
+ "required": ["id", "provider"],
196
+ "properties": {
197
+ "id": {
198
+ "type": "string",
199
+ "pattern": "^[a-zA-Z0-9_-]+$",
200
+ "description": "Agent identifier"
201
+ },
202
+ "name": {
203
+ "type": "string",
204
+ "description": "Display name"
205
+ },
206
+ "role": {
207
+ "type": "string",
208
+ "description": "Agent role"
209
+ },
210
+ "team": {
211
+ "type": "string",
212
+ "description": "Team name"
213
+ },
214
+ "provider": {
215
+ "oneOf": [
216
+ { "type": "string" },
217
+ {
218
+ "type": "array",
219
+ "items": { "type": "string" },
220
+ "minItems": 1
221
+ }
222
+ ],
223
+ "description": "AI provider or array of providers for fallback"
224
+ },
225
+ "working_directory": {
226
+ "type": "string",
227
+ "description": "Working directory path"
228
+ },
229
+ "description": {
230
+ "type": "string",
231
+ "description": "Agent description"
232
+ },
233
+ "specialties": {
234
+ "type": "array",
235
+ "items": { "type": "string" },
236
+ "description": "Agent specialties"
237
+ },
238
+ "capabilities": {
239
+ "type": "array",
240
+ "items": { "type": "string" },
241
+ "description": "Agent capabilities"
242
+ },
243
+ "skills": {
244
+ "$ref": "#/definitions/skillsConfig",
245
+ "description": "Skills configuration for this agent"
246
+ },
247
+ "inline": {
248
+ "$ref": "#/definitions/inlineConfig",
249
+ "description": "Inline agent configuration"
250
+ },
251
+ "options": {
252
+ "$ref": "#/definitions/optionsConfig",
253
+ "description": "CLI options"
254
+ },
255
+ "remote": {
256
+ "$ref": "#/definitions/remoteConfig",
257
+ "description": "Remote agent configuration"
258
+ }
259
+ },
260
+ "additionalProperties": true
261
+ }
262
+ },
263
+ "properties": {
264
+ "skills_paths": {
265
+ "type": "array",
266
+ "items": { "type": "string" },
267
+ "description": "[DEPRECATED] Use skills.paths instead. Global skill directories to search"
268
+ },
269
+ "skills": {
270
+ "$ref": "#/definitions/skillsConfig",
271
+ "description": "Project-wide skills configuration"
272
+ },
273
+ "layouts": {
274
+ "type": "object",
275
+ "additionalProperties": { "type": "string" },
276
+ "description": "Layout definitions"
277
+ },
278
+ "documents": {
279
+ "type": "object",
280
+ "additionalProperties": { "type": "string" },
281
+ "description": "Document definitions"
282
+ },
283
+ "settings": {
284
+ "type": "object",
285
+ "properties": {
286
+ "slack": {
287
+ "type": "object",
288
+ "properties": {
289
+ "log_conversations": { "type": "boolean" }
290
+ },
291
+ "additionalProperties": true
292
+ }
293
+ },
294
+ "additionalProperties": true,
295
+ "description": "Project settings"
296
+ },
297
+ "agents": {
298
+ "type": "array",
299
+ "items": {
300
+ "$ref": "#/definitions/agentDefinition"
301
+ },
302
+ "description": "Agent definitions"
303
+ }
304
+ },
305
+ "additionalProperties": true
306
+ }