@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,224 +1,224 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://crewx.ai/schemas/crewx-config.json",
4
- "title": "CrewX Configuration",
5
- "description": "Complete CrewX configuration including agents, MCP servers, tools, and global variables.",
6
- "type": "object",
7
- "properties": {
8
- "vars": {
9
- "type": "object",
10
- "description": "Global variables accessible in templates as {{vars.key}} and in tool execution context",
11
- "additionalProperties": true
12
- },
13
- "mcp_servers": {
14
- "type": "object",
15
- "description": "Model Context Protocol server definitions",
16
- "additionalProperties": {
17
- "$ref": "#/$defs/mcpServerConfig"
18
- }
19
- },
20
- "agents": {
21
- "type": "array",
22
- "description": "Agent definitions",
23
- "items": {
24
- "$ref": "#/$defs/agentConfig"
25
- }
26
- }
27
- },
28
- "$defs": {
29
- "agentConfig": {
30
- "type": "object",
31
- "required": ["id"],
32
- "properties": {
33
- "id": {
34
- "type": "string",
35
- "description": "Unique agent identifier"
36
- },
37
- "name": {
38
- "type": "string",
39
- "description": "Human-readable agent name"
40
- },
41
- "provider": {
42
- "type": "string",
43
- "description": "Provider identifier (cli/claude, api/openai, etc.)",
44
- "pattern": "^(cli|api)/[a-z0-9-]+$"
45
- },
46
- "inline": {
47
- "type": "object",
48
- "description": "Inline provider configuration",
49
- "properties": {
50
- "model": {
51
- "type": "string",
52
- "description": "Model identifier"
53
- },
54
- "provider": {
55
- "type": "string",
56
- "enum": [
57
- "api/openai",
58
- "api/anthropic",
59
- "api/google",
60
- "api/bedrock",
61
- "api/litellm",
62
- "api/ollama",
63
- "api/sowonai",
64
- "cli/claude",
65
- "cli/gemini",
66
- "cli/copilot",
67
- "cli/codex"
68
- ],
69
- "description": "Provider type for inline configuration"
70
- },
71
- "url": {
72
- "type": "string",
73
- "format": "uri",
74
- "description": "API base URL (for API providers)"
75
- },
76
- "apiKey": {
77
- "type": "string",
78
- "description": "API key (supports {{env.VAR}} template)"
79
- },
80
- "temperature": {
81
- "type": "number",
82
- "minimum": 0,
83
- "maximum": 2,
84
- "default": 0.7,
85
- "description": "Sampling temperature"
86
- },
87
- "maxTokens": {
88
- "type": "integer",
89
- "minimum": 1,
90
- "description": "Maximum completion tokens"
91
- },
92
- "prompt": {
93
- "type": "string",
94
- "description": "Agent system prompt (supports templates)"
95
- }
96
- }
97
- },
98
- "url": {
99
- "type": "string",
100
- "format": "uri",
101
- "description": "API base URL (shorthand for inline.url)"
102
- },
103
- "apiKey": {
104
- "type": "string",
105
- "description": "API key (shorthand for inline.apiKey, supports {{env.VAR}} template)"
106
- },
107
- "model": {
108
- "type": "string",
109
- "description": "Model identifier (shorthand for inline.model)"
110
- },
111
- "temperature": {
112
- "type": "number",
113
- "minimum": 0,
114
- "maximum": 2,
115
- "description": "Sampling temperature (shorthand for inline.temperature)"
116
- },
117
- "maxTokens": {
118
- "type": "integer",
119
- "minimum": 1,
120
- "description": "Maximum completion tokens (shorthand for inline.maxTokens)"
121
- },
122
- "prompt": {
123
- "type": "string",
124
- "description": "Agent system prompt (shorthand for inline.prompt, supports templates)"
125
- },
126
- "tools": {
127
- "oneOf": [
128
- {
129
- "type": "array",
130
- "description": "Simple array of tool names (SowonFlow style)",
131
- "items": {
132
- "type": "string"
133
- },
134
- "uniqueItems": true
135
- },
136
- {
137
- "type": "object",
138
- "description": "Include/exclude pattern for tool activation",
139
- "properties": {
140
- "include": {
141
- "type": "array",
142
- "items": {
143
- "type": "string"
144
- },
145
- "uniqueItems": true,
146
- "description": "Tool names to include"
147
- },
148
- "exclude": {
149
- "type": "array",
150
- "items": {
151
- "type": "string"
152
- },
153
- "uniqueItems": true,
154
- "description": "Tool names to exclude"
155
- }
156
- }
157
- }
158
- ],
159
- "description": "Tool activation configuration"
160
- },
161
- "mcp": {
162
- "oneOf": [
163
- {
164
- "type": "array",
165
- "description": "Simple array of MCP server names (SowonFlow style)",
166
- "items": {
167
- "type": "string"
168
- },
169
- "uniqueItems": true
170
- },
171
- {
172
- "type": "object",
173
- "description": "Include/exclude pattern for MCP server activation",
174
- "properties": {
175
- "include": {
176
- "type": "array",
177
- "items": {
178
- "type": "string"
179
- },
180
- "uniqueItems": true,
181
- "description": "MCP server names to include"
182
- },
183
- "exclude": {
184
- "type": "array",
185
- "items": {
186
- "type": "string"
187
- },
188
- "uniqueItems": true,
189
- "description": "MCP server names to exclude"
190
- }
191
- }
192
- }
193
- ],
194
- "description": "MCP server activation configuration"
195
- }
196
- }
197
- },
198
- "mcpServerConfig": {
199
- "type": "object",
200
- "description": "Model Context Protocol server process definition",
201
- "required": ["command", "args"],
202
- "properties": {
203
- "command": {
204
- "type": "string",
205
- "description": "Executable to launch the MCP server (e.g., npx, node)"
206
- },
207
- "args": {
208
- "type": "array",
209
- "items": {
210
- "type": "string"
211
- },
212
- "description": "Arguments passed to the command"
213
- },
214
- "env": {
215
- "type": "object",
216
- "additionalProperties": {
217
- "type": "string"
218
- },
219
- "description": "Environment variables (supports {{env.VAR}} template)"
220
- }
221
- }
222
- }
223
- }
224
- }
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://crewx.ai/schemas/crewx-config.json",
4
+ "title": "CrewX Configuration",
5
+ "description": "Complete CrewX configuration including agents, MCP servers, tools, and global variables.",
6
+ "type": "object",
7
+ "properties": {
8
+ "vars": {
9
+ "type": "object",
10
+ "description": "Global variables accessible in templates as {{vars.key}} and in tool execution context",
11
+ "additionalProperties": true
12
+ },
13
+ "mcp_servers": {
14
+ "type": "object",
15
+ "description": "Model Context Protocol server definitions",
16
+ "additionalProperties": {
17
+ "$ref": "#/$defs/mcpServerConfig"
18
+ }
19
+ },
20
+ "agents": {
21
+ "type": "array",
22
+ "description": "Agent definitions",
23
+ "items": {
24
+ "$ref": "#/$defs/agentConfig"
25
+ }
26
+ }
27
+ },
28
+ "$defs": {
29
+ "agentConfig": {
30
+ "type": "object",
31
+ "required": ["id"],
32
+ "properties": {
33
+ "id": {
34
+ "type": "string",
35
+ "description": "Unique agent identifier"
36
+ },
37
+ "name": {
38
+ "type": "string",
39
+ "description": "Human-readable agent name"
40
+ },
41
+ "provider": {
42
+ "type": "string",
43
+ "description": "Provider identifier (cli/claude, api/openai, etc.)",
44
+ "pattern": "^(cli|api)/[a-z0-9-]+$"
45
+ },
46
+ "inline": {
47
+ "type": "object",
48
+ "description": "Inline provider configuration",
49
+ "properties": {
50
+ "model": {
51
+ "type": "string",
52
+ "description": "Model identifier"
53
+ },
54
+ "provider": {
55
+ "type": "string",
56
+ "enum": [
57
+ "api/openai",
58
+ "api/anthropic",
59
+ "api/google",
60
+ "api/bedrock",
61
+ "api/litellm",
62
+ "api/ollama",
63
+ "api/sowonai",
64
+ "cli/claude",
65
+ "cli/gemini",
66
+ "cli/copilot",
67
+ "cli/codex"
68
+ ],
69
+ "description": "Provider type for inline configuration"
70
+ },
71
+ "url": {
72
+ "type": "string",
73
+ "format": "uri",
74
+ "description": "API base URL (for API providers)"
75
+ },
76
+ "apiKey": {
77
+ "type": "string",
78
+ "description": "API key (supports {{env.VAR}} template)"
79
+ },
80
+ "temperature": {
81
+ "type": "number",
82
+ "minimum": 0,
83
+ "maximum": 2,
84
+ "default": 0.7,
85
+ "description": "Sampling temperature"
86
+ },
87
+ "maxTokens": {
88
+ "type": "integer",
89
+ "minimum": 1,
90
+ "description": "Maximum completion tokens"
91
+ },
92
+ "prompt": {
93
+ "type": "string",
94
+ "description": "Agent system prompt (supports templates)"
95
+ }
96
+ }
97
+ },
98
+ "url": {
99
+ "type": "string",
100
+ "format": "uri",
101
+ "description": "API base URL (shorthand for inline.url)"
102
+ },
103
+ "apiKey": {
104
+ "type": "string",
105
+ "description": "API key (shorthand for inline.apiKey, supports {{env.VAR}} template)"
106
+ },
107
+ "model": {
108
+ "type": "string",
109
+ "description": "Model identifier (shorthand for inline.model)"
110
+ },
111
+ "temperature": {
112
+ "type": "number",
113
+ "minimum": 0,
114
+ "maximum": 2,
115
+ "description": "Sampling temperature (shorthand for inline.temperature)"
116
+ },
117
+ "maxTokens": {
118
+ "type": "integer",
119
+ "minimum": 1,
120
+ "description": "Maximum completion tokens (shorthand for inline.maxTokens)"
121
+ },
122
+ "prompt": {
123
+ "type": "string",
124
+ "description": "Agent system prompt (shorthand for inline.prompt, supports templates)"
125
+ },
126
+ "tools": {
127
+ "oneOf": [
128
+ {
129
+ "type": "array",
130
+ "description": "Simple array of tool names (SowonFlow style)",
131
+ "items": {
132
+ "type": "string"
133
+ },
134
+ "uniqueItems": true
135
+ },
136
+ {
137
+ "type": "object",
138
+ "description": "Include/exclude pattern for tool activation",
139
+ "properties": {
140
+ "include": {
141
+ "type": "array",
142
+ "items": {
143
+ "type": "string"
144
+ },
145
+ "uniqueItems": true,
146
+ "description": "Tool names to include"
147
+ },
148
+ "exclude": {
149
+ "type": "array",
150
+ "items": {
151
+ "type": "string"
152
+ },
153
+ "uniqueItems": true,
154
+ "description": "Tool names to exclude"
155
+ }
156
+ }
157
+ }
158
+ ],
159
+ "description": "Tool activation configuration"
160
+ },
161
+ "mcp": {
162
+ "oneOf": [
163
+ {
164
+ "type": "array",
165
+ "description": "Simple array of MCP server names (SowonFlow style)",
166
+ "items": {
167
+ "type": "string"
168
+ },
169
+ "uniqueItems": true
170
+ },
171
+ {
172
+ "type": "object",
173
+ "description": "Include/exclude pattern for MCP server activation",
174
+ "properties": {
175
+ "include": {
176
+ "type": "array",
177
+ "items": {
178
+ "type": "string"
179
+ },
180
+ "uniqueItems": true,
181
+ "description": "MCP server names to include"
182
+ },
183
+ "exclude": {
184
+ "type": "array",
185
+ "items": {
186
+ "type": "string"
187
+ },
188
+ "uniqueItems": true,
189
+ "description": "MCP server names to exclude"
190
+ }
191
+ }
192
+ }
193
+ ],
194
+ "description": "MCP server activation configuration"
195
+ }
196
+ }
197
+ },
198
+ "mcpServerConfig": {
199
+ "type": "object",
200
+ "description": "Model Context Protocol server process definition",
201
+ "required": ["command", "args"],
202
+ "properties": {
203
+ "command": {
204
+ "type": "string",
205
+ "description": "Executable to launch the MCP server (e.g., npx, node)"
206
+ },
207
+ "args": {
208
+ "type": "array",
209
+ "items": {
210
+ "type": "string"
211
+ },
212
+ "description": "Arguments passed to the command"
213
+ },
214
+ "env": {
215
+ "type": "object",
216
+ "additionalProperties": {
217
+ "type": "string"
218
+ },
219
+ "description": "Environment variables (supports {{env.VAR}} template)"
220
+ }
221
+ }
222
+ }
223
+ }
224
+ }