@defai.digital/automatosx 12.8.7 → 13.1.3
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/LICENSE +1 -1
- package/README.md +48 -754
- package/dist/bin.d.ts +8 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/bin.js +16 -0
- package/dist/bin.js.map +1 -0
- package/dist/index.d.ts +8 -2
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -74239
- package/dist/index.js.map +1 -0
- package/package.json +35 -160
- package/.github/assets/ax-cli.png +0 -0
- package/.github/assets/axlogo.png +0 -0
- package/CHANGELOG.md +0 -81
- package/SECURITY.md +0 -173
- package/dist/mcp/index.d.ts +0 -2
- package/dist/mcp/index.js +0 -43627
- package/examples/AGENTS_INFO.md +0 -187
- package/examples/README.md +0 -434
- package/examples/abilities/accessibility.md +0 -115
- package/examples/abilities/api-design.md +0 -168
- package/examples/abilities/best-practices.md +0 -102
- package/examples/abilities/caching-strategy.md +0 -165
- package/examples/abilities/ci-cd.md +0 -61
- package/examples/abilities/clean-code.md +0 -398
- package/examples/abilities/code-generation.md +0 -333
- package/examples/abilities/code-review.md +0 -51
- package/examples/abilities/component-architecture.md +0 -112
- package/examples/abilities/content-creation.md +0 -97
- package/examples/abilities/data-modeling.md +0 -171
- package/examples/abilities/data-validation.md +0 -50
- package/examples/abilities/db-modeling.md +0 -167
- package/examples/abilities/debugging.md +0 -52
- package/examples/abilities/design-patterns.md +0 -437
- package/examples/abilities/design-system-implementation.md +0 -126
- package/examples/abilities/documentation.md +0 -54
- package/examples/abilities/etl-pipelines.md +0 -44
- package/examples/abilities/feasibility-study.md +0 -20
- package/examples/abilities/general-assistance.md +0 -26
- package/examples/abilities/idea-evaluation.md +0 -21
- package/examples/abilities/infra-as-code.md +0 -57
- package/examples/abilities/job-orchestration.md +0 -44
- package/examples/abilities/literature-review.md +0 -19
- package/examples/abilities/longform-report.md +0 -25
- package/examples/abilities/mathematical-reasoning.md +0 -170
- package/examples/abilities/observability.md +0 -61
- package/examples/abilities/orbital-mechanics.md +0 -50
- package/examples/abilities/our-architecture-decisions.md +0 -180
- package/examples/abilities/our-code-review-checklist.md +0 -149
- package/examples/abilities/our-coding-standards.md +0 -369
- package/examples/abilities/our-project-structure.md +0 -183
- package/examples/abilities/performance.md +0 -89
- package/examples/abilities/problem-solving.md +0 -50
- package/examples/abilities/propulsion-systems.md +0 -50
- package/examples/abilities/quantum-algorithm-design.md +0 -54
- package/examples/abilities/quantum-error-correction.md +0 -56
- package/examples/abilities/quantum-frameworks-transpilation.md +0 -53
- package/examples/abilities/quantum-noise-modeling.md +0 -58
- package/examples/abilities/refactoring.md +0 -223
- package/examples/abilities/release-strategy.md +0 -58
- package/examples/abilities/secrets-policy.md +0 -61
- package/examples/abilities/secure-coding-review.md +0 -60
- package/examples/abilities/software-architecture.md +0 -394
- package/examples/abilities/solid-principles.md +0 -341
- package/examples/abilities/sql-optimization.md +0 -84
- package/examples/abilities/state-management.md +0 -96
- package/examples/abilities/task-planning.md +0 -65
- package/examples/abilities/technical-writing.md +0 -77
- package/examples/abilities/telemetry-diagnostics.md +0 -51
- package/examples/abilities/testing.md +0 -56
- package/examples/abilities/threat-modeling.md +0 -58
- package/examples/abilities/troubleshooting.md +0 -80
- package/examples/abilities/typescript-zod-validation.md +0 -830
- package/examples/agents/AGENTS_INTEGRATION.md +0 -99
- package/examples/agents/aerospace-scientist.yaml +0 -159
- package/examples/agents/architecture.yaml +0 -244
- package/examples/agents/automatosx.config.json +0 -286
- package/examples/agents/backend.yaml +0 -141
- package/examples/agents/ceo.yaml +0 -105
- package/examples/agents/creative-marketer.yaml +0 -173
- package/examples/agents/cto.yaml +0 -118
- package/examples/agents/data-scientist.yaml +0 -200
- package/examples/agents/data.yaml +0 -106
- package/examples/agents/design.yaml +0 -115
- package/examples/agents/devops.yaml +0 -124
- package/examples/agents/frontend.yaml +0 -171
- package/examples/agents/fullstack.yaml +0 -172
- package/examples/agents/mobile.yaml +0 -185
- package/examples/agents/product.yaml +0 -103
- package/examples/agents/quality.yaml +0 -117
- package/examples/agents/quantum-engineer.yaml +0 -166
- package/examples/agents/researcher.yaml +0 -122
- package/examples/agents/security.yaml +0 -115
- package/examples/agents/standard.yaml +0 -214
- package/examples/agents/writer.yaml +0 -122
- package/examples/providers/README.md +0 -117
- package/examples/providers/claude/CLAUDE_INTEGRATION.md +0 -302
- package/examples/providers/claude/mcp/automatosx.json +0 -244
- package/examples/providers/codex/CODEX_INTEGRATION.md +0 -593
- package/examples/providers/codex/README.md +0 -349
- package/examples/providers/codex/usage-examples.ts +0 -421
- package/examples/providers/gemini/GEMINI_INTEGRATION.md +0 -236
- package/examples/providers/gemini/README.md +0 -76
- package/examples/providers/openai-codex-example.ts +0 -421
- package/examples/pytorch_resnet50_training.py +0 -289
- package/examples/specs/automatosx-release.ax.yaml +0 -380
- package/examples/specs/enterprise.ax.yaml +0 -121
- package/examples/specs/enterprise.yaml.mustache +0 -121
- package/examples/specs/government.ax.yaml +0 -148
- package/examples/specs/government.yaml.mustache +0 -148
- package/examples/specs/minimal.ax.yaml +0 -21
- package/examples/specs/minimal.yaml.mustache +0 -21
- package/examples/teams/business.yaml +0 -56
- package/examples/teams/core.yaml +0 -60
- package/examples/teams/design.yaml +0 -58
- package/examples/teams/engineering.yaml +0 -69
- package/examples/teams/research.yaml +0 -56
- package/examples/use-cases/01-web-app-development.md +0 -374
- package/examples/workflows/analyst.yaml +0 -60
- package/examples/workflows/assistant.yaml +0 -48
- package/examples/workflows/basic-agent.yaml +0 -28
- package/examples/workflows/code-reviewer.yaml +0 -52
- package/examples/workflows/debugger.yaml +0 -63
- package/examples/workflows/designer.yaml +0 -69
- package/examples/workflows/developer.yaml +0 -60
- package/examples/workflows/fullstack-developer.yaml +0 -395
- package/examples/workflows/qa-specialist.yaml +0 -71
- package/schema/ability-metadata.json +0 -21
- package/schema/config.json +0 -703
- package/schema/spec-schema.json +0 -608
package/schema/config.json
DELETED
|
@@ -1,703 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://raw.githubusercontent.com/defai-digital/automatosx/main/schema/config.json",
|
|
4
|
-
"title": "AutomatosX Configuration",
|
|
5
|
-
"description": "Configuration schema for AutomatosX v5.0+",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["providers", "memory", "workspace", "logging"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"$schema": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "JSON Schema reference"
|
|
12
|
-
},
|
|
13
|
-
"version": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "Configuration version",
|
|
16
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
17
|
-
},
|
|
18
|
-
"providers": {
|
|
19
|
-
"type": "object",
|
|
20
|
-
"description": "AI provider configurations",
|
|
21
|
-
"additionalProperties": {
|
|
22
|
-
"$ref": "#/definitions/ProviderConfig"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"execution": {
|
|
26
|
-
"$ref": "#/definitions/ExecutionConfig",
|
|
27
|
-
"description": "Execution parameters (timeout, retry logic, provider fallback)"
|
|
28
|
-
},
|
|
29
|
-
"orchestration": {
|
|
30
|
-
"$ref": "#/definitions/OrchestrationConfigSystem",
|
|
31
|
-
"description": "Multi-agent orchestration settings (session, delegation, workspace)"
|
|
32
|
-
},
|
|
33
|
-
"memory": {
|
|
34
|
-
"$ref": "#/definitions/MemoryConfig",
|
|
35
|
-
"description": "Memory storage and search configuration"
|
|
36
|
-
},
|
|
37
|
-
"abilities": {
|
|
38
|
-
"$ref": "#/definitions/AbilitiesConfig",
|
|
39
|
-
"description": "Ability loading and caching configuration"
|
|
40
|
-
},
|
|
41
|
-
"workspace": {
|
|
42
|
-
"$ref": "#/definitions/WorkspaceConfig",
|
|
43
|
-
"description": "Workspace configuration (legacy, for backward compatibility)"
|
|
44
|
-
},
|
|
45
|
-
"logging": {
|
|
46
|
-
"$ref": "#/definitions/LoggingConfig",
|
|
47
|
-
"description": "Logging configuration"
|
|
48
|
-
},
|
|
49
|
-
"performance": {
|
|
50
|
-
"$ref": "#/definitions/PerformanceConfig",
|
|
51
|
-
"description": "Performance optimization settings"
|
|
52
|
-
},
|
|
53
|
-
"advanced": {
|
|
54
|
-
"$ref": "#/definitions/AdvancedConfig",
|
|
55
|
-
"description": "Advanced configuration (embedding, security, development)"
|
|
56
|
-
},
|
|
57
|
-
"integration": {
|
|
58
|
-
"$ref": "#/definitions/IntegrationConfig",
|
|
59
|
-
"description": "Integration settings (VS Code, etc.)"
|
|
60
|
-
},
|
|
61
|
-
"cli": {
|
|
62
|
-
"$ref": "#/definitions/CLIConfig",
|
|
63
|
-
"description": "CLI command defaults"
|
|
64
|
-
},
|
|
65
|
-
"openai": {
|
|
66
|
-
"$ref": "#/definitions/OpenAIConfig",
|
|
67
|
-
"description": "OpenAI configuration (legacy, for backward compatibility)"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"definitions": {
|
|
71
|
-
"ProviderConfig": {
|
|
72
|
-
"type": "object",
|
|
73
|
-
"required": ["enabled", "priority", "timeout", "command"],
|
|
74
|
-
"properties": {
|
|
75
|
-
"enabled": {
|
|
76
|
-
"type": "boolean",
|
|
77
|
-
"description": "Whether this provider is enabled"
|
|
78
|
-
},
|
|
79
|
-
"priority": {
|
|
80
|
-
"type": "integer",
|
|
81
|
-
"description": "Provider priority (lower = higher priority)",
|
|
82
|
-
"minimum": 1
|
|
83
|
-
},
|
|
84
|
-
"timeout": {
|
|
85
|
-
"type": "integer",
|
|
86
|
-
"description": "Provider timeout in milliseconds",
|
|
87
|
-
"minimum": 1000
|
|
88
|
-
},
|
|
89
|
-
"command": {
|
|
90
|
-
"type": "string",
|
|
91
|
-
"description": "CLI command to invoke this provider"
|
|
92
|
-
},
|
|
93
|
-
"healthCheck": {
|
|
94
|
-
"$ref": "#/definitions/ProviderHealthCheckConfig"
|
|
95
|
-
},
|
|
96
|
-
"defaults": {
|
|
97
|
-
"$ref": "#/definitions/ProviderDefaultsConfig"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"ProviderHealthCheckConfig": {
|
|
102
|
-
"type": "object",
|
|
103
|
-
"required": ["enabled", "interval", "timeout"],
|
|
104
|
-
"properties": {
|
|
105
|
-
"enabled": {
|
|
106
|
-
"type": "boolean"
|
|
107
|
-
},
|
|
108
|
-
"interval": {
|
|
109
|
-
"type": "integer",
|
|
110
|
-
"description": "Health check interval in milliseconds",
|
|
111
|
-
"minimum": 1000
|
|
112
|
-
},
|
|
113
|
-
"timeout": {
|
|
114
|
-
"type": "integer",
|
|
115
|
-
"description": "Health check timeout in milliseconds",
|
|
116
|
-
"minimum": 100
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
"ProviderDefaultsConfig": {
|
|
121
|
-
"type": "object",
|
|
122
|
-
"properties": {
|
|
123
|
-
"maxTokens": {
|
|
124
|
-
"type": "integer",
|
|
125
|
-
"description": "Default max output tokens",
|
|
126
|
-
"minimum": 1
|
|
127
|
-
},
|
|
128
|
-
"temperature": {
|
|
129
|
-
"type": "number",
|
|
130
|
-
"description": "Default temperature (0-1)",
|
|
131
|
-
"minimum": 0,
|
|
132
|
-
"maximum": 2
|
|
133
|
-
},
|
|
134
|
-
"topP": {
|
|
135
|
-
"type": "number",
|
|
136
|
-
"description": "Default top_p (0-1)",
|
|
137
|
-
"minimum": 0,
|
|
138
|
-
"maximum": 1
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
"ExecutionConfig": {
|
|
143
|
-
"type": "object",
|
|
144
|
-
"required": ["defaultTimeout", "retry", "provider"],
|
|
145
|
-
"properties": {
|
|
146
|
-
"defaultTimeout": {
|
|
147
|
-
"type": "integer",
|
|
148
|
-
"description": "Default execution timeout in milliseconds",
|
|
149
|
-
"minimum": 1000
|
|
150
|
-
},
|
|
151
|
-
"retry": {
|
|
152
|
-
"$ref": "#/definitions/RetryConfig"
|
|
153
|
-
},
|
|
154
|
-
"provider": {
|
|
155
|
-
"$ref": "#/definitions/ExecutionProviderConfig"
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"RetryConfig": {
|
|
160
|
-
"type": "object",
|
|
161
|
-
"required": ["maxAttempts", "initialDelay", "maxDelay", "backoffFactor"],
|
|
162
|
-
"properties": {
|
|
163
|
-
"maxAttempts": {
|
|
164
|
-
"type": "integer",
|
|
165
|
-
"description": "Maximum retry attempts",
|
|
166
|
-
"minimum": 1
|
|
167
|
-
},
|
|
168
|
-
"initialDelay": {
|
|
169
|
-
"type": "integer",
|
|
170
|
-
"description": "Initial retry delay in milliseconds",
|
|
171
|
-
"minimum": 100
|
|
172
|
-
},
|
|
173
|
-
"maxDelay": {
|
|
174
|
-
"type": "integer",
|
|
175
|
-
"description": "Maximum retry delay in milliseconds",
|
|
176
|
-
"minimum": 1000
|
|
177
|
-
},
|
|
178
|
-
"backoffFactor": {
|
|
179
|
-
"type": "number",
|
|
180
|
-
"description": "Exponential backoff multiplier",
|
|
181
|
-
"minimum": 1
|
|
182
|
-
},
|
|
183
|
-
"retryableErrors": {
|
|
184
|
-
"type": "array",
|
|
185
|
-
"description": "Error codes/messages that trigger retry",
|
|
186
|
-
"items": {
|
|
187
|
-
"type": "string"
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
"ExecutionProviderConfig": {
|
|
193
|
-
"type": "object",
|
|
194
|
-
"required": ["maxWaitMs"],
|
|
195
|
-
"properties": {
|
|
196
|
-
"maxWaitMs": {
|
|
197
|
-
"type": "integer",
|
|
198
|
-
"description": "Max wait time for provider response in milliseconds",
|
|
199
|
-
"minimum": 1000
|
|
200
|
-
},
|
|
201
|
-
"fallbackDelay": {
|
|
202
|
-
"type": "integer",
|
|
203
|
-
"description": "Delay before trying fallback provider in milliseconds",
|
|
204
|
-
"minimum": 0
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
"OrchestrationConfigSystem": {
|
|
209
|
-
"type": "object",
|
|
210
|
-
"required": ["session", "delegation", "workspace"],
|
|
211
|
-
"properties": {
|
|
212
|
-
"session": {
|
|
213
|
-
"$ref": "#/definitions/SessionConfig"
|
|
214
|
-
},
|
|
215
|
-
"delegation": {
|
|
216
|
-
"$ref": "#/definitions/DelegationConfig"
|
|
217
|
-
},
|
|
218
|
-
"workspace": {
|
|
219
|
-
"$ref": "#/definitions/WorkspaceSystemConfig"
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
"SessionConfig": {
|
|
224
|
-
"type": "object",
|
|
225
|
-
"required": ["maxSessions", "maxMetadataSize", "saveDebounce", "cleanupAfterDays", "maxUuidAttempts", "persistPath"],
|
|
226
|
-
"properties": {
|
|
227
|
-
"maxSessions": {
|
|
228
|
-
"type": "integer",
|
|
229
|
-
"description": "Maximum sessions in memory",
|
|
230
|
-
"minimum": 1
|
|
231
|
-
},
|
|
232
|
-
"maxMetadataSize": {
|
|
233
|
-
"type": "integer",
|
|
234
|
-
"description": "Maximum metadata size in bytes",
|
|
235
|
-
"minimum": 1024
|
|
236
|
-
},
|
|
237
|
-
"saveDebounce": {
|
|
238
|
-
"type": "integer",
|
|
239
|
-
"description": "Save debounce delay in milliseconds",
|
|
240
|
-
"minimum": 0
|
|
241
|
-
},
|
|
242
|
-
"cleanupAfterDays": {
|
|
243
|
-
"type": "integer",
|
|
244
|
-
"description": "Cleanup old sessions after N days",
|
|
245
|
-
"minimum": 1
|
|
246
|
-
},
|
|
247
|
-
"maxUuidAttempts": {
|
|
248
|
-
"type": "integer",
|
|
249
|
-
"description": "Maximum UUID generation attempts",
|
|
250
|
-
"minimum": 1
|
|
251
|
-
},
|
|
252
|
-
"persistPath": {
|
|
253
|
-
"type": "string",
|
|
254
|
-
"description": "Session persistence path"
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
"DelegationConfig": {
|
|
259
|
-
"type": "object",
|
|
260
|
-
"required": ["maxDepth", "timeout", "enableCycleDetection"],
|
|
261
|
-
"properties": {
|
|
262
|
-
"maxDepth": {
|
|
263
|
-
"type": "integer",
|
|
264
|
-
"description": "Maximum delegation chain depth",
|
|
265
|
-
"minimum": 0,
|
|
266
|
-
"maximum": 10
|
|
267
|
-
},
|
|
268
|
-
"timeout": {
|
|
269
|
-
"type": "integer",
|
|
270
|
-
"description": "Delegation timeout in milliseconds",
|
|
271
|
-
"minimum": 1000
|
|
272
|
-
},
|
|
273
|
-
"enableCycleDetection": {
|
|
274
|
-
"type": "boolean",
|
|
275
|
-
"description": "Enable delegation cycle detection"
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
"WorkspaceSystemConfig": {
|
|
280
|
-
"type": "object",
|
|
281
|
-
"required": ["maxFileSize", "maxFiles", "cleanupAfterDays", "autoCleanup", "permissions", "basePath"],
|
|
282
|
-
"properties": {
|
|
283
|
-
"maxFileSize": {
|
|
284
|
-
"type": "integer",
|
|
285
|
-
"description": "Maximum file size in bytes",
|
|
286
|
-
"minimum": 1024
|
|
287
|
-
},
|
|
288
|
-
"maxFiles": {
|
|
289
|
-
"type": "integer",
|
|
290
|
-
"description": "Maximum files per workspace",
|
|
291
|
-
"minimum": 1
|
|
292
|
-
},
|
|
293
|
-
"cleanupAfterDays": {
|
|
294
|
-
"type": "integer",
|
|
295
|
-
"description": "Cleanup old workspaces after N days",
|
|
296
|
-
"minimum": 1
|
|
297
|
-
},
|
|
298
|
-
"autoCleanup": {
|
|
299
|
-
"type": "boolean",
|
|
300
|
-
"description": "Enable automatic cleanup"
|
|
301
|
-
},
|
|
302
|
-
"permissions": {
|
|
303
|
-
"type": "integer",
|
|
304
|
-
"description": "Unix permissions (e.g., 0o700)",
|
|
305
|
-
"minimum": 0
|
|
306
|
-
},
|
|
307
|
-
"basePath": {
|
|
308
|
-
"type": "string",
|
|
309
|
-
"description": "Base path for workspaces"
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
"MemoryConfig": {
|
|
314
|
-
"type": "object",
|
|
315
|
-
"required": ["maxEntries", "persistPath", "autoCleanup", "cleanupDays"],
|
|
316
|
-
"properties": {
|
|
317
|
-
"maxEntries": {
|
|
318
|
-
"type": "integer",
|
|
319
|
-
"description": "Maximum memory entries",
|
|
320
|
-
"minimum": 100
|
|
321
|
-
},
|
|
322
|
-
"persistPath": {
|
|
323
|
-
"type": "string",
|
|
324
|
-
"description": "Memory persistence path"
|
|
325
|
-
},
|
|
326
|
-
"autoCleanup": {
|
|
327
|
-
"type": "boolean",
|
|
328
|
-
"description": "Enable automatic cleanup"
|
|
329
|
-
},
|
|
330
|
-
"cleanupDays": {
|
|
331
|
-
"type": "integer",
|
|
332
|
-
"description": "Cleanup memories older than N days",
|
|
333
|
-
"minimum": 1
|
|
334
|
-
},
|
|
335
|
-
"search": {
|
|
336
|
-
"$ref": "#/definitions/MemorySearchConfig"
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
"MemorySearchConfig": {
|
|
341
|
-
"type": "object",
|
|
342
|
-
"required": ["defaultLimit", "maxLimit", "timeout"],
|
|
343
|
-
"properties": {
|
|
344
|
-
"defaultLimit": {
|
|
345
|
-
"type": "integer",
|
|
346
|
-
"description": "Default search result limit",
|
|
347
|
-
"minimum": 1
|
|
348
|
-
},
|
|
349
|
-
"maxLimit": {
|
|
350
|
-
"type": "integer",
|
|
351
|
-
"description": "Maximum search result limit",
|
|
352
|
-
"minimum": 1
|
|
353
|
-
},
|
|
354
|
-
"timeout": {
|
|
355
|
-
"type": "integer",
|
|
356
|
-
"description": "Search timeout in milliseconds",
|
|
357
|
-
"minimum": 100
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
"AbilitiesConfig": {
|
|
362
|
-
"type": "object",
|
|
363
|
-
"required": ["basePath", "fallbackPath", "cache", "limits"],
|
|
364
|
-
"properties": {
|
|
365
|
-
"basePath": {
|
|
366
|
-
"type": "string",
|
|
367
|
-
"description": "Base path for abilities"
|
|
368
|
-
},
|
|
369
|
-
"fallbackPath": {
|
|
370
|
-
"type": "string",
|
|
371
|
-
"description": "Fallback path for abilities"
|
|
372
|
-
},
|
|
373
|
-
"cache": {
|
|
374
|
-
"$ref": "#/definitions/AbilitiesCacheConfig"
|
|
375
|
-
},
|
|
376
|
-
"limits": {
|
|
377
|
-
"$ref": "#/definitions/AbilitiesLimitsConfig"
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
"AbilitiesCacheConfig": {
|
|
382
|
-
"type": "object",
|
|
383
|
-
"required": ["enabled", "maxEntries", "ttl", "maxSize", "cleanupInterval"],
|
|
384
|
-
"properties": {
|
|
385
|
-
"enabled": {
|
|
386
|
-
"type": "boolean"
|
|
387
|
-
},
|
|
388
|
-
"maxEntries": {
|
|
389
|
-
"type": "integer",
|
|
390
|
-
"minimum": 1
|
|
391
|
-
},
|
|
392
|
-
"ttl": {
|
|
393
|
-
"type": "integer",
|
|
394
|
-
"description": "Time to live in milliseconds",
|
|
395
|
-
"minimum": 1000
|
|
396
|
-
},
|
|
397
|
-
"maxSize": {
|
|
398
|
-
"type": "integer",
|
|
399
|
-
"description": "Maximum cache size in bytes",
|
|
400
|
-
"minimum": 1024
|
|
401
|
-
},
|
|
402
|
-
"cleanupInterval": {
|
|
403
|
-
"type": "integer",
|
|
404
|
-
"description": "Cleanup interval in milliseconds",
|
|
405
|
-
"minimum": 1000
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
},
|
|
409
|
-
"AbilitiesLimitsConfig": {
|
|
410
|
-
"type": "object",
|
|
411
|
-
"required": ["maxFileSize"],
|
|
412
|
-
"properties": {
|
|
413
|
-
"maxFileSize": {
|
|
414
|
-
"type": "integer",
|
|
415
|
-
"description": "Maximum ability file size in bytes",
|
|
416
|
-
"minimum": 1024
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
"LoggingConfig": {
|
|
421
|
-
"type": "object",
|
|
422
|
-
"required": ["level", "path", "console"],
|
|
423
|
-
"properties": {
|
|
424
|
-
"level": {
|
|
425
|
-
"type": "string",
|
|
426
|
-
"enum": ["debug", "info", "warn", "error"],
|
|
427
|
-
"description": "Logging level"
|
|
428
|
-
},
|
|
429
|
-
"path": {
|
|
430
|
-
"type": "string",
|
|
431
|
-
"description": "Log file path"
|
|
432
|
-
},
|
|
433
|
-
"console": {
|
|
434
|
-
"type": "boolean",
|
|
435
|
-
"description": "Enable console logging"
|
|
436
|
-
},
|
|
437
|
-
"retention": {
|
|
438
|
-
"$ref": "#/definitions/LoggingRetentionConfig"
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
},
|
|
442
|
-
"LoggingRetentionConfig": {
|
|
443
|
-
"type": "object",
|
|
444
|
-
"required": ["maxSizeBytes", "maxAgeDays", "compress"],
|
|
445
|
-
"properties": {
|
|
446
|
-
"maxSizeBytes": {
|
|
447
|
-
"type": "integer",
|
|
448
|
-
"description": "Maximum log file size in bytes",
|
|
449
|
-
"minimum": 1024
|
|
450
|
-
},
|
|
451
|
-
"maxAgeDays": {
|
|
452
|
-
"type": "integer",
|
|
453
|
-
"description": "Maximum log age in days",
|
|
454
|
-
"minimum": 1
|
|
455
|
-
},
|
|
456
|
-
"compress": {
|
|
457
|
-
"type": "boolean",
|
|
458
|
-
"description": "Compress old logs"
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
},
|
|
462
|
-
"PerformanceConfig": {
|
|
463
|
-
"type": "object",
|
|
464
|
-
"required": ["profileCache", "teamCache", "providerCache", "rateLimit"],
|
|
465
|
-
"properties": {
|
|
466
|
-
"profileCache": {
|
|
467
|
-
"$ref": "#/definitions/CacheConfig"
|
|
468
|
-
},
|
|
469
|
-
"teamCache": {
|
|
470
|
-
"$ref": "#/definitions/CacheConfig"
|
|
471
|
-
},
|
|
472
|
-
"providerCache": {
|
|
473
|
-
"$ref": "#/definitions/CacheConfig"
|
|
474
|
-
},
|
|
475
|
-
"rateLimit": {
|
|
476
|
-
"$ref": "#/definitions/RateLimitConfig"
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
},
|
|
480
|
-
"CacheConfig": {
|
|
481
|
-
"type": "object",
|
|
482
|
-
"required": ["enabled", "maxEntries", "ttl", "cleanupInterval"],
|
|
483
|
-
"properties": {
|
|
484
|
-
"enabled": {
|
|
485
|
-
"type": "boolean"
|
|
486
|
-
},
|
|
487
|
-
"maxEntries": {
|
|
488
|
-
"type": "integer",
|
|
489
|
-
"minimum": 1
|
|
490
|
-
},
|
|
491
|
-
"ttl": {
|
|
492
|
-
"type": "integer",
|
|
493
|
-
"description": "Time to live in milliseconds",
|
|
494
|
-
"minimum": 1000
|
|
495
|
-
},
|
|
496
|
-
"cleanupInterval": {
|
|
497
|
-
"type": "integer",
|
|
498
|
-
"description": "Cleanup interval in milliseconds",
|
|
499
|
-
"minimum": 1000
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
"RateLimitConfig": {
|
|
504
|
-
"type": "object",
|
|
505
|
-
"required": ["enabled", "requestsPerMinute", "burstSize"],
|
|
506
|
-
"properties": {
|
|
507
|
-
"enabled": {
|
|
508
|
-
"type": "boolean"
|
|
509
|
-
},
|
|
510
|
-
"requestsPerMinute": {
|
|
511
|
-
"type": "integer",
|
|
512
|
-
"minimum": 1
|
|
513
|
-
},
|
|
514
|
-
"burstSize": {
|
|
515
|
-
"type": "integer",
|
|
516
|
-
"minimum": 1
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
},
|
|
520
|
-
"AdvancedConfig": {
|
|
521
|
-
"type": "object",
|
|
522
|
-
"required": ["security", "development"],
|
|
523
|
-
"properties": {
|
|
524
|
-
"embedding": {
|
|
525
|
-
"$ref": "#/definitions/EmbeddingConfig"
|
|
526
|
-
},
|
|
527
|
-
"security": {
|
|
528
|
-
"$ref": "#/definitions/SecurityConfig"
|
|
529
|
-
},
|
|
530
|
-
"development": {
|
|
531
|
-
"$ref": "#/definitions/DevelopmentConfig"
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"EmbeddingConfig": {
|
|
536
|
-
"type": "object",
|
|
537
|
-
"required": ["timeout", "retryDelay", "dimensions", "maxRetries"],
|
|
538
|
-
"properties": {
|
|
539
|
-
"timeout": {
|
|
540
|
-
"type": "integer",
|
|
541
|
-
"minimum": 1000
|
|
542
|
-
},
|
|
543
|
-
"retryDelay": {
|
|
544
|
-
"type": "integer",
|
|
545
|
-
"minimum": 100
|
|
546
|
-
},
|
|
547
|
-
"dimensions": {
|
|
548
|
-
"type": "integer",
|
|
549
|
-
"minimum": 1
|
|
550
|
-
},
|
|
551
|
-
"maxRetries": {
|
|
552
|
-
"type": "integer",
|
|
553
|
-
"minimum": 0
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
},
|
|
557
|
-
"SecurityConfig": {
|
|
558
|
-
"type": "object",
|
|
559
|
-
"required": ["enablePathValidation", "allowedExtensions"],
|
|
560
|
-
"properties": {
|
|
561
|
-
"enablePathValidation": {
|
|
562
|
-
"type": "boolean"
|
|
563
|
-
},
|
|
564
|
-
"allowedExtensions": {
|
|
565
|
-
"type": "array",
|
|
566
|
-
"items": {
|
|
567
|
-
"type": "string"
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
},
|
|
572
|
-
"DevelopmentConfig": {
|
|
573
|
-
"type": "object",
|
|
574
|
-
"required": ["mockProviders", "profileMode"],
|
|
575
|
-
"properties": {
|
|
576
|
-
"mockProviders": {
|
|
577
|
-
"type": "boolean"
|
|
578
|
-
},
|
|
579
|
-
"profileMode": {
|
|
580
|
-
"type": "boolean"
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
"IntegrationConfig": {
|
|
585
|
-
"type": "object",
|
|
586
|
-
"required": ["vscode"],
|
|
587
|
-
"properties": {
|
|
588
|
-
"vscode": {
|
|
589
|
-
"$ref": "#/definitions/VSCodeIntegrationConfig"
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
"VSCodeIntegrationConfig": {
|
|
594
|
-
"type": "object",
|
|
595
|
-
"required": ["enabled", "apiPort", "autoStart", "outputPanel", "notifications"],
|
|
596
|
-
"properties": {
|
|
597
|
-
"enabled": {
|
|
598
|
-
"type": "boolean"
|
|
599
|
-
},
|
|
600
|
-
"apiPort": {
|
|
601
|
-
"type": "integer",
|
|
602
|
-
"minimum": 1024,
|
|
603
|
-
"maximum": 65535
|
|
604
|
-
},
|
|
605
|
-
"autoStart": {
|
|
606
|
-
"type": "boolean"
|
|
607
|
-
},
|
|
608
|
-
"outputPanel": {
|
|
609
|
-
"type": "boolean"
|
|
610
|
-
},
|
|
611
|
-
"notifications": {
|
|
612
|
-
"type": "boolean"
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
},
|
|
616
|
-
"CLIConfig": {
|
|
617
|
-
"type": "object",
|
|
618
|
-
"required": ["run", "session", "memory"],
|
|
619
|
-
"properties": {
|
|
620
|
-
"run": {
|
|
621
|
-
"$ref": "#/definitions/CLIRunConfig"
|
|
622
|
-
},
|
|
623
|
-
"session": {
|
|
624
|
-
"$ref": "#/definitions/CLISessionConfig"
|
|
625
|
-
},
|
|
626
|
-
"memory": {
|
|
627
|
-
"$ref": "#/definitions/CLIMemoryConfig"
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
},
|
|
631
|
-
"CLIRunConfig": {
|
|
632
|
-
"type": "object",
|
|
633
|
-
"required": ["defaultMemory", "defaultSaveMemory", "defaultFormat", "defaultVerbose"],
|
|
634
|
-
"properties": {
|
|
635
|
-
"defaultMemory": {
|
|
636
|
-
"type": "boolean"
|
|
637
|
-
},
|
|
638
|
-
"defaultSaveMemory": {
|
|
639
|
-
"type": "boolean"
|
|
640
|
-
},
|
|
641
|
-
"defaultFormat": {
|
|
642
|
-
"type": "string",
|
|
643
|
-
"enum": ["text", "json", "markdown"]
|
|
644
|
-
},
|
|
645
|
-
"defaultVerbose": {
|
|
646
|
-
"type": "boolean"
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
},
|
|
650
|
-
"CLISessionConfig": {
|
|
651
|
-
"type": "object",
|
|
652
|
-
"required": ["defaultShowAgents"],
|
|
653
|
-
"properties": {
|
|
654
|
-
"defaultShowAgents": {
|
|
655
|
-
"type": "boolean"
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
},
|
|
659
|
-
"CLIMemoryConfig": {
|
|
660
|
-
"type": "object",
|
|
661
|
-
"required": ["defaultLimit"],
|
|
662
|
-
"properties": {
|
|
663
|
-
"defaultLimit": {
|
|
664
|
-
"type": "integer",
|
|
665
|
-
"minimum": 1
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
},
|
|
669
|
-
"WorkspaceConfig": {
|
|
670
|
-
"type": "object",
|
|
671
|
-
"description": "Legacy workspace configuration (for backward compatibility)",
|
|
672
|
-
"required": ["basePath", "autoCleanup", "cleanupDays", "maxFiles"],
|
|
673
|
-
"properties": {
|
|
674
|
-
"basePath": {
|
|
675
|
-
"type": "string"
|
|
676
|
-
},
|
|
677
|
-
"autoCleanup": {
|
|
678
|
-
"type": "boolean"
|
|
679
|
-
},
|
|
680
|
-
"cleanupDays": {
|
|
681
|
-
"type": "integer",
|
|
682
|
-
"minimum": 1
|
|
683
|
-
},
|
|
684
|
-
"maxFiles": {
|
|
685
|
-
"type": "integer",
|
|
686
|
-
"minimum": 1
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
},
|
|
690
|
-
"OpenAIConfig": {
|
|
691
|
-
"type": "object",
|
|
692
|
-
"description": "OpenAI configuration (legacy, for backward compatibility)",
|
|
693
|
-
"properties": {
|
|
694
|
-
"apiKey": {
|
|
695
|
-
"type": "string"
|
|
696
|
-
},
|
|
697
|
-
"model": {
|
|
698
|
-
"type": "string"
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
}
|