@mcoda/codali 0.1.134 → 0.1.135-codali.4
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/CHANGELOG.md +42 -0
- package/ORCHESTRATION.md +387 -0
- package/README.md +103 -1
- package/config/alternate-local.example.json +49 -0
- package/config/docdex-runtime.json +21 -0
- package/config/orchestration.schema.json +548 -0
- package/config/raijin-suku.example.json +172 -0
- package/config/terminal-long-scenarios.v1.json +70 -0
- package/dist/agents/RoleResolution.d.ts.map +1 -1
- package/dist/agents/RoleResolution.js +4 -4
- package/dist/api/CodaliApi.d.ts +16 -0
- package/dist/api/CodaliApi.d.ts.map +1 -1
- package/dist/api/CodaliApi.js +39 -10
- package/dist/cli/AskCommand.d.ts +3 -0
- package/dist/cli/AskCommand.d.ts.map +1 -1
- package/dist/cli/AskCommand.js +76 -13
- package/dist/cli/RunCommand.d.ts +4 -0
- package/dist/cli/RunCommand.d.ts.map +1 -1
- package/dist/cli/RunCommand.js +110 -24
- package/dist/cli/TerminalCommand.d.ts +35 -0
- package/dist/cli/TerminalCommand.d.ts.map +1 -0
- package/dist/cli/TerminalCommand.js +616 -0
- package/dist/cli/TerminalCredentials.d.ts +3 -0
- package/dist/cli/TerminalCredentials.d.ts.map +1 -0
- package/dist/cli/TerminalCredentials.js +89 -0
- package/dist/cli/TerminalInput.d.ts +24 -0
- package/dist/cli/TerminalInput.d.ts.map +1 -0
- package/dist/cli/TerminalInput.js +98 -0
- package/dist/cli/TerminalText.d.ts +10 -0
- package/dist/cli/TerminalText.d.ts.map +1 -0
- package/dist/cli/TerminalText.js +53 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +33 -4
- package/dist/cognitive/ConfiguredPipeline.d.ts +34 -0
- package/dist/cognitive/ConfiguredPipeline.d.ts.map +1 -0
- package/dist/cognitive/ConfiguredPipeline.js +50 -0
- package/dist/cognitive/ValidationRunner.d.ts +4 -0
- package/dist/cognitive/ValidationRunner.d.ts.map +1 -1
- package/dist/cognitive/ValidationRunner.js +18 -41
- package/dist/config/NodeOrchestration.d.ts +21 -0
- package/dist/config/NodeOrchestration.d.ts.map +1 -0
- package/dist/config/NodeOrchestration.js +54 -0
- package/dist/config/OrchestrationConfig.d.ts +100 -0
- package/dist/config/OrchestrationConfig.d.ts.map +1 -0
- package/dist/config/OrchestrationConfig.js +245 -0
- package/dist/connectors/mcp/McpClient.d.ts +3 -1
- package/dist/connectors/mcp/McpClient.d.ts.map +1 -1
- package/dist/connectors/mcp/McpClient.js +3 -2
- package/dist/connectors/mcp/McpServerRegistry.d.ts +2 -2
- package/dist/connectors/mcp/McpServerRegistry.d.ts.map +1 -1
- package/dist/connectors/mcp/McpServerRegistry.js +39 -16
- package/dist/connectors/mcp/McpToolAdapter.js +2 -2
- package/dist/connectors/media/ConfiguredMediaTools.d.ts +6 -0
- package/dist/connectors/media/ConfiguredMediaTools.d.ts.map +1 -0
- package/dist/connectors/media/ConfiguredMediaTools.js +41 -0
- package/dist/connectors/media/ImageGenerationTool.js +3 -3
- package/dist/connectors/media/MediaArtifactReceipt.d.ts +5 -0
- package/dist/connectors/media/MediaArtifactReceipt.d.ts.map +1 -0
- package/dist/connectors/media/MediaArtifactReceipt.js +65 -0
- package/dist/connectors/media/MediaJobStore.d.ts +68 -0
- package/dist/connectors/media/MediaJobStore.d.ts.map +1 -0
- package/dist/connectors/media/MediaJobStore.js +199 -0
- package/dist/connectors/media/MediaJobWorker.d.ts +2 -0
- package/dist/connectors/media/MediaJobWorker.d.ts.map +1 -0
- package/dist/connectors/media/MediaJobWorker.js +65 -0
- package/dist/connectors/media/RemoteMediaJob.d.ts +6 -0
- package/dist/connectors/media/RemoteMediaJob.d.ts.map +1 -0
- package/dist/connectors/media/RemoteMediaJob.js +80 -0
- package/dist/docdex/DocdexClient.d.ts +18 -1
- package/dist/docdex/DocdexClient.d.ts.map +1 -1
- package/dist/docdex/DocdexClient.js +135 -19
- package/dist/docdex/ManagedDocdex.d.ts +29 -0
- package/dist/docdex/ManagedDocdex.d.ts.map +1 -0
- package/dist/docdex/ManagedDocdex.js +215 -0
- package/dist/docdex/ManagedRuntime.d.ts +28 -0
- package/dist/docdex/ManagedRuntime.d.ts.map +1 -0
- package/dist/docdex/ManagedRuntime.js +212 -0
- package/dist/eval/EvaluationProcess.d.ts +13 -0
- package/dist/eval/EvaluationProcess.d.ts.map +1 -0
- package/dist/eval/EvaluationProcess.js +76 -0
- package/dist/eval/LongWorkflowJourney.d.ts +34 -0
- package/dist/eval/LongWorkflowJourney.d.ts.map +1 -0
- package/dist/eval/LongWorkflowJourney.js +243 -0
- package/dist/eval/PlanningCorpus.d.ts +45 -0
- package/dist/eval/PlanningCorpus.d.ts.map +1 -0
- package/dist/eval/PlanningCorpus.js +189 -0
- package/dist/eval/PlanningCorpusRunner.d.ts +13 -0
- package/dist/eval/PlanningCorpusRunner.d.ts.map +1 -0
- package/dist/eval/PlanningCorpusRunner.js +89 -0
- package/dist/eval/TerminalCorpusRunner.d.ts +36 -0
- package/dist/eval/TerminalCorpusRunner.d.ts.map +1 -0
- package/dist/eval/TerminalCorpusRunner.js +222 -0
- package/dist/eval/TerminalTaskCorpus.d.ts +26 -0
- package/dist/eval/TerminalTaskCorpus.d.ts.map +1 -0
- package/dist/eval/TerminalTaskCorpus.js +105 -0
- package/dist/eval/TerminalWorkflowCorpus.d.ts +11 -0
- package/dist/eval/TerminalWorkflowCorpus.d.ts.map +1 -0
- package/dist/eval/TerminalWorkflowCorpus.js +116 -0
- package/dist/eval/fixtures/TerminalRecoveryJourney.d.ts +4 -0
- package/dist/eval/fixtures/TerminalRecoveryJourney.d.ts.map +1 -0
- package/dist/eval/fixtures/TerminalRecoveryJourney.js +132 -0
- package/dist/gateway/CodaliGateway.d.ts +2 -0
- package/dist/gateway/CodaliGateway.d.ts.map +1 -1
- package/dist/gateway/CodaliGateway.js +11 -1
- package/dist/gateway/ConfiguredGateway.d.ts +23 -0
- package/dist/gateway/ConfiguredGateway.d.ts.map +1 -0
- package/dist/gateway/ConfiguredGateway.js +44 -0
- package/dist/gateway/GatewayTracer.d.ts +1 -1
- package/dist/gateway/GatewayTracer.d.ts.map +1 -1
- package/dist/gateway/GatewayTracer.js +2 -27
- package/dist/index.d.ts +23 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/permissions/PermissionGate.d.ts +44 -0
- package/dist/permissions/PermissionGate.d.ts.map +1 -0
- package/dist/permissions/PermissionGate.js +97 -0
- package/dist/providers/ConfiguredEmbeddings.d.ts +43 -0
- package/dist/providers/ConfiguredEmbeddings.d.ts.map +1 -0
- package/dist/providers/ConfiguredEmbeddings.js +87 -0
- package/dist/providers/ConfiguredModelScope.d.ts +69 -0
- package/dist/providers/ConfiguredModelScope.d.ts.map +1 -0
- package/dist/providers/ConfiguredModelScope.js +113 -0
- package/dist/providers/ConfiguredProvider.d.ts +79 -0
- package/dist/providers/ConfiguredProvider.d.ts.map +1 -0
- package/dist/providers/ConfiguredProvider.js +238 -0
- package/dist/providers/ModelServiceError.d.ts +10 -0
- package/dist/providers/ModelServiceError.d.ts.map +1 -0
- package/dist/providers/ModelServiceError.js +45 -0
- package/dist/providers/MswarmWorkerProvider.d.ts.map +1 -1
- package/dist/providers/MswarmWorkerProvider.js +4 -0
- package/dist/providers/OpenAiCompatibleProvider.d.ts.map +1 -1
- package/dist/providers/OpenAiCompatibleProvider.js +91 -50
- package/dist/providers/ProviderTypes.d.ts +12 -0
- package/dist/providers/ProviderTypes.d.ts.map +1 -1
- package/dist/runtime/CodaliJobRuntime.d.ts +6 -0
- package/dist/runtime/CodaliJobRuntime.d.ts.map +1 -1
- package/dist/runtime/CodaliJobRuntime.js +36 -1
- package/dist/runtime/CodaliRuntime.d.ts +28 -0
- package/dist/runtime/CodaliRuntime.d.ts.map +1 -1
- package/dist/runtime/CodaliRuntime.js +69 -1
- package/dist/runtime/CompletionReport.d.ts +5 -0
- package/dist/runtime/CompletionReport.d.ts.map +1 -0
- package/dist/runtime/CompletionReport.js +12 -0
- package/dist/runtime/ProgressTracker.d.ts +17 -0
- package/dist/runtime/ProgressTracker.d.ts.map +1 -0
- package/dist/runtime/ProgressTracker.js +27 -0
- package/dist/runtime/RequestedTestEvidence.d.ts +12 -0
- package/dist/runtime/RequestedTestEvidence.d.ts.map +1 -0
- package/dist/runtime/RequestedTestEvidence.js +16 -0
- package/dist/runtime/RequiredRetrieval.d.ts +13 -0
- package/dist/runtime/RequiredRetrieval.d.ts.map +1 -0
- package/dist/runtime/RequiredRetrieval.js +25 -0
- package/dist/runtime/ReviewSource.d.ts +6 -0
- package/dist/runtime/ReviewSource.d.ts.map +1 -0
- package/dist/runtime/ReviewSource.js +38 -0
- package/dist/runtime/Runner.d.ts +7 -0
- package/dist/runtime/Runner.d.ts.map +1 -1
- package/dist/runtime/Runner.js +215 -171
- package/dist/runtime/SecretRedaction.d.ts +11 -0
- package/dist/runtime/SecretRedaction.d.ts.map +1 -0
- package/dist/runtime/SecretRedaction.js +85 -0
- package/dist/runtime/SessionController.d.ts +148 -0
- package/dist/runtime/SessionController.d.ts.map +1 -0
- package/dist/runtime/SessionController.js +1357 -0
- package/dist/runtime/StructuralEvidence.d.ts +22 -0
- package/dist/runtime/StructuralEvidence.d.ts.map +1 -0
- package/dist/runtime/StructuralEvidence.js +87 -0
- package/dist/runtime/TaskReviewContext.d.ts +34 -0
- package/dist/runtime/TaskReviewContext.d.ts.map +1 -0
- package/dist/runtime/TaskReviewContext.js +34 -0
- package/dist/runtime/ValidationOutput.d.ts +5 -0
- package/dist/runtime/ValidationOutput.d.ts.map +1 -0
- package/dist/runtime/ValidationOutput.js +32 -0
- package/dist/runtime/VerificationCommand.d.ts +5 -0
- package/dist/runtime/VerificationCommand.d.ts.map +1 -0
- package/dist/runtime/VerificationCommand.js +76 -0
- package/dist/runtime/WorkStatusPage.d.ts +15 -0
- package/dist/runtime/WorkStatusPage.d.ts.map +1 -0
- package/dist/runtime/WorkStatusPage.js +58 -0
- package/dist/runtime/WorkspaceLedger.d.ts +13 -0
- package/dist/runtime/WorkspaceLedger.d.ts.map +1 -0
- package/dist/runtime/WorkspaceLedger.js +145 -0
- package/dist/runtime/WorkspaceLock.d.ts.map +1 -1
- package/dist/runtime/WorkspaceLock.js +20 -17
- package/dist/runtime/WorkspaceSnapshot.d.ts +13 -0
- package/dist/runtime/WorkspaceSnapshot.d.ts.map +1 -0
- package/dist/runtime/WorkspaceSnapshot.js +88 -0
- package/dist/session/AtomicState.d.ts +13 -0
- package/dist/session/AtomicState.d.ts.map +1 -0
- package/dist/session/AtomicState.js +123 -0
- package/dist/session/SessionStoragePath.d.ts +15 -0
- package/dist/session/SessionStoragePath.d.ts.map +1 -0
- package/dist/session/SessionStoragePath.js +89 -0
- package/dist/session/SessionStore.d.ts +9 -0
- package/dist/session/SessionStore.d.ts.map +1 -1
- package/dist/session/SessionStore.js +181 -47
- package/dist/session/WorkState.d.ts +23 -0
- package/dist/session/WorkState.d.ts.map +1 -0
- package/dist/session/WorkState.js +367 -0
- package/dist/session/WorkTypes.d.ts +94 -0
- package/dist/session/WorkTypes.d.ts.map +1 -0
- package/dist/session/WorkTypes.js +1 -0
- package/dist/tools/ToolRegistry.d.ts +2 -0
- package/dist/tools/ToolRegistry.d.ts.map +1 -1
- package/dist/tools/ToolRegistry.js +12 -2
- package/dist/tools/ToolTypes.d.ts +16 -0
- package/dist/tools/ToolTypes.d.ts.map +1 -1
- package/dist/tools/docdex/DocdexTools.d.ts +2 -0
- package/dist/tools/docdex/DocdexTools.d.ts.map +1 -1
- package/dist/tools/docdex/DocdexTools.js +17 -2
- package/dist/tools/filesystem/FileTools.d.ts.map +1 -1
- package/dist/tools/filesystem/FileTools.js +30 -10
- package/dist/tools/shell/AsyncProcess.d.ts +19 -0
- package/dist/tools/shell/AsyncProcess.d.ts.map +1 -0
- package/dist/tools/shell/AsyncProcess.js +94 -0
- package/dist/tools/shell/DarwinRuntimeLibraries.d.ts +13 -0
- package/dist/tools/shell/DarwinRuntimeLibraries.d.ts.map +1 -0
- package/dist/tools/shell/DarwinRuntimeLibraries.js +130 -0
- package/dist/tools/shell/HostToolchain.d.ts +19 -0
- package/dist/tools/shell/HostToolchain.d.ts.map +1 -0
- package/dist/tools/shell/HostToolchain.js +266 -0
- package/dist/tools/shell/IsolatedExecutor.d.ts +15 -0
- package/dist/tools/shell/IsolatedExecutor.d.ts.map +1 -0
- package/dist/tools/shell/IsolatedExecutor.js +138 -0
- package/dist/tools/shell/ShellTool.d.ts.map +1 -1
- package/dist/tools/shell/ShellTool.js +9 -29
- package/dist/tools/shell/ShellWorkingDirectory.d.ts +3 -0
- package/dist/tools/shell/ShellWorkingDirectory.d.ts.map +1 -0
- package/dist/tools/shell/ShellWorkingDirectory.js +30 -0
- package/package.json +27 -24
|
@@ -0,0 +1,548 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "Codali orchestration v1",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"properties": {
|
|
7
|
+
"schemaVersion": {
|
|
8
|
+
"const": 1
|
|
9
|
+
},
|
|
10
|
+
"profile": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"minLength": 1
|
|
13
|
+
},
|
|
14
|
+
"providers": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"additionalProperties": {
|
|
17
|
+
"$ref": "#/$defs/provider"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"models": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": {
|
|
23
|
+
"$ref": "#/$defs/model"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"bindings": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"required": [
|
|
29
|
+
"lead"
|
|
30
|
+
],
|
|
31
|
+
"additionalProperties": {
|
|
32
|
+
"$ref": "#/$defs/binding"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"routing": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"additionalProperties": false,
|
|
38
|
+
"properties": {
|
|
39
|
+
"strategy": {
|
|
40
|
+
"const": "capability-and-capacity"
|
|
41
|
+
},
|
|
42
|
+
"requiredBackends": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"additionalProperties": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"minItems": 1,
|
|
47
|
+
"items": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"minLength": 1
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": [
|
|
55
|
+
"strategy"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"effort": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"additionalProperties": false,
|
|
61
|
+
"properties": {
|
|
62
|
+
"low": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"additionalProperties": false,
|
|
65
|
+
"properties": {
|
|
66
|
+
"maxSteps": {
|
|
67
|
+
"type": "integer",
|
|
68
|
+
"minimum": 1
|
|
69
|
+
},
|
|
70
|
+
"maxToolCalls": {
|
|
71
|
+
"type": "integer",
|
|
72
|
+
"minimum": 1
|
|
73
|
+
},
|
|
74
|
+
"maxModelCalls": {
|
|
75
|
+
"type": "integer",
|
|
76
|
+
"minimum": 1
|
|
77
|
+
},
|
|
78
|
+
"maxTotalTokens": {
|
|
79
|
+
"type": "integer",
|
|
80
|
+
"minimum": 1
|
|
81
|
+
},
|
|
82
|
+
"maxOutputTokens": {
|
|
83
|
+
"type": "integer",
|
|
84
|
+
"minimum": 1
|
|
85
|
+
},
|
|
86
|
+
"timeoutMs": {
|
|
87
|
+
"type": "integer",
|
|
88
|
+
"minimum": 1
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"required": []
|
|
92
|
+
},
|
|
93
|
+
"medium": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"additionalProperties": false,
|
|
96
|
+
"properties": {
|
|
97
|
+
"maxSteps": {
|
|
98
|
+
"type": "integer",
|
|
99
|
+
"minimum": 1
|
|
100
|
+
},
|
|
101
|
+
"maxToolCalls": {
|
|
102
|
+
"type": "integer",
|
|
103
|
+
"minimum": 1
|
|
104
|
+
},
|
|
105
|
+
"maxModelCalls": {
|
|
106
|
+
"type": "integer",
|
|
107
|
+
"minimum": 1
|
|
108
|
+
},
|
|
109
|
+
"maxTotalTokens": {
|
|
110
|
+
"type": "integer",
|
|
111
|
+
"minimum": 1
|
|
112
|
+
},
|
|
113
|
+
"maxOutputTokens": {
|
|
114
|
+
"type": "integer",
|
|
115
|
+
"minimum": 1
|
|
116
|
+
},
|
|
117
|
+
"timeoutMs": {
|
|
118
|
+
"type": "integer",
|
|
119
|
+
"minimum": 1
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"required": []
|
|
123
|
+
},
|
|
124
|
+
"high": {
|
|
125
|
+
"type": "object",
|
|
126
|
+
"additionalProperties": false,
|
|
127
|
+
"properties": {
|
|
128
|
+
"maxSteps": {
|
|
129
|
+
"type": "integer",
|
|
130
|
+
"minimum": 1
|
|
131
|
+
},
|
|
132
|
+
"maxToolCalls": {
|
|
133
|
+
"type": "integer",
|
|
134
|
+
"minimum": 1
|
|
135
|
+
},
|
|
136
|
+
"maxModelCalls": {
|
|
137
|
+
"type": "integer",
|
|
138
|
+
"minimum": 1
|
|
139
|
+
},
|
|
140
|
+
"maxTotalTokens": {
|
|
141
|
+
"type": "integer",
|
|
142
|
+
"minimum": 1
|
|
143
|
+
},
|
|
144
|
+
"maxOutputTokens": {
|
|
145
|
+
"type": "integer",
|
|
146
|
+
"minimum": 1
|
|
147
|
+
},
|
|
148
|
+
"timeoutMs": {
|
|
149
|
+
"type": "integer",
|
|
150
|
+
"minimum": 1
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"required": []
|
|
154
|
+
},
|
|
155
|
+
"max": {
|
|
156
|
+
"type": "object",
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"properties": {
|
|
159
|
+
"maxSteps": {
|
|
160
|
+
"type": "integer",
|
|
161
|
+
"minimum": 1
|
|
162
|
+
},
|
|
163
|
+
"maxToolCalls": {
|
|
164
|
+
"type": "integer",
|
|
165
|
+
"minimum": 1
|
|
166
|
+
},
|
|
167
|
+
"maxModelCalls": {
|
|
168
|
+
"type": "integer",
|
|
169
|
+
"minimum": 1
|
|
170
|
+
},
|
|
171
|
+
"maxTotalTokens": {
|
|
172
|
+
"type": "integer",
|
|
173
|
+
"minimum": 1
|
|
174
|
+
},
|
|
175
|
+
"maxOutputTokens": {
|
|
176
|
+
"type": "integer",
|
|
177
|
+
"minimum": 1
|
|
178
|
+
},
|
|
179
|
+
"timeoutMs": {
|
|
180
|
+
"type": "integer",
|
|
181
|
+
"minimum": 1
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"required": []
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"required": []
|
|
188
|
+
},
|
|
189
|
+
"taskControl": {
|
|
190
|
+
"type": "object",
|
|
191
|
+
"additionalProperties": false,
|
|
192
|
+
"properties": {
|
|
193
|
+
"maxWritingTasksPerWorktree": {
|
|
194
|
+
"const": 1
|
|
195
|
+
},
|
|
196
|
+
"maxConcurrentHelpers": {
|
|
197
|
+
"type": "integer",
|
|
198
|
+
"minimum": 1
|
|
199
|
+
},
|
|
200
|
+
"helpers": {
|
|
201
|
+
"const": "read-only-or-draft"
|
|
202
|
+
},
|
|
203
|
+
"repeatedFailureThreshold": {
|
|
204
|
+
"type": "integer",
|
|
205
|
+
"minimum": 1
|
|
206
|
+
},
|
|
207
|
+
"repairAttemptsBeforeReplan": {
|
|
208
|
+
"type": "integer",
|
|
209
|
+
"minimum": 1
|
|
210
|
+
},
|
|
211
|
+
"checkpointOn": {
|
|
212
|
+
"type": "array",
|
|
213
|
+
"items": {
|
|
214
|
+
"enum": [
|
|
215
|
+
"task-transition",
|
|
216
|
+
"before-compaction",
|
|
217
|
+
"before-exit"
|
|
218
|
+
]
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"reviewPolicy": {
|
|
222
|
+
"const": "risk-and-evidence"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"required": [
|
|
226
|
+
"maxWritingTasksPerWorktree",
|
|
227
|
+
"maxConcurrentHelpers",
|
|
228
|
+
"helpers",
|
|
229
|
+
"repeatedFailureThreshold",
|
|
230
|
+
"repairAttemptsBeforeReplan",
|
|
231
|
+
"checkpointOn",
|
|
232
|
+
"reviewPolicy"
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
"docdex": {
|
|
236
|
+
"type": "object",
|
|
237
|
+
"additionalProperties": false,
|
|
238
|
+
"properties": {
|
|
239
|
+
"binary": {
|
|
240
|
+
"type": "string",
|
|
241
|
+
"minLength": 1
|
|
242
|
+
},
|
|
243
|
+
"startupTimeoutMs": {
|
|
244
|
+
"type": "integer",
|
|
245
|
+
"minimum": 1
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"required": [
|
|
251
|
+
"schemaVersion",
|
|
252
|
+
"profile",
|
|
253
|
+
"providers",
|
|
254
|
+
"models",
|
|
255
|
+
"bindings"
|
|
256
|
+
],
|
|
257
|
+
"$defs": {
|
|
258
|
+
"provider": {
|
|
259
|
+
"type": "object",
|
|
260
|
+
"additionalProperties": false,
|
|
261
|
+
"properties": {
|
|
262
|
+
"adapter": {
|
|
263
|
+
"enum": [
|
|
264
|
+
"mswarm",
|
|
265
|
+
"openai-compatible"
|
|
266
|
+
]
|
|
267
|
+
},
|
|
268
|
+
"baseUrl": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"format": "uri"
|
|
271
|
+
},
|
|
272
|
+
"credentialRef": {
|
|
273
|
+
"type": "string",
|
|
274
|
+
"pattern": "^env:[A-Za-z_][A-Za-z0-9_]*$"
|
|
275
|
+
},
|
|
276
|
+
"catalogUrl": {
|
|
277
|
+
"type": "string",
|
|
278
|
+
"format": "uri"
|
|
279
|
+
},
|
|
280
|
+
"usageUrl": {
|
|
281
|
+
"type": "string",
|
|
282
|
+
"format": "uri"
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"required": [
|
|
286
|
+
"adapter",
|
|
287
|
+
"baseUrl"
|
|
288
|
+
]
|
|
289
|
+
},
|
|
290
|
+
"model": {
|
|
291
|
+
"type": "object",
|
|
292
|
+
"additionalProperties": false,
|
|
293
|
+
"properties": {
|
|
294
|
+
"provider": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"minLength": 1
|
|
297
|
+
},
|
|
298
|
+
"catalogId": {
|
|
299
|
+
"type": "string",
|
|
300
|
+
"minLength": 1
|
|
301
|
+
},
|
|
302
|
+
"revision": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"minLength": 1
|
|
305
|
+
},
|
|
306
|
+
"operations": {
|
|
307
|
+
"type": "array",
|
|
308
|
+
"minItems": 1,
|
|
309
|
+
"items": {
|
|
310
|
+
"enum": [
|
|
311
|
+
"chat.completions",
|
|
312
|
+
"embeddings",
|
|
313
|
+
"images.generations",
|
|
314
|
+
"audio.generations",
|
|
315
|
+
"videos.generations"
|
|
316
|
+
]
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"backend": {
|
|
320
|
+
"type": "string",
|
|
321
|
+
"minLength": 1
|
|
322
|
+
},
|
|
323
|
+
"host": {
|
|
324
|
+
"type": "string",
|
|
325
|
+
"minLength": 1
|
|
326
|
+
},
|
|
327
|
+
"resourcePool": {
|
|
328
|
+
"type": "string",
|
|
329
|
+
"minLength": 1
|
|
330
|
+
},
|
|
331
|
+
"contextWindow": {
|
|
332
|
+
"type": "integer",
|
|
333
|
+
"minimum": 1
|
|
334
|
+
},
|
|
335
|
+
"maxOutputTokens": {
|
|
336
|
+
"type": "integer",
|
|
337
|
+
"minimum": 1
|
|
338
|
+
},
|
|
339
|
+
"supportsTools": {
|
|
340
|
+
"type": "boolean"
|
|
341
|
+
},
|
|
342
|
+
"supportsStreaming": {
|
|
343
|
+
"type": "boolean"
|
|
344
|
+
},
|
|
345
|
+
"embeddingDimensions": {
|
|
346
|
+
"type": "integer",
|
|
347
|
+
"minimum": 1
|
|
348
|
+
},
|
|
349
|
+
"reasoning": {
|
|
350
|
+
"type": "object",
|
|
351
|
+
"additionalProperties": false,
|
|
352
|
+
"properties": {
|
|
353
|
+
"low": {
|
|
354
|
+
"type": "object",
|
|
355
|
+
"additionalProperties": false,
|
|
356
|
+
"properties": {
|
|
357
|
+
"reasoning_effort": {
|
|
358
|
+
"type": "string",
|
|
359
|
+
"minLength": 1
|
|
360
|
+
},
|
|
361
|
+
"reasoning_budget": {
|
|
362
|
+
"type": "integer",
|
|
363
|
+
"minimum": 1
|
|
364
|
+
},
|
|
365
|
+
"enable_thinking": {
|
|
366
|
+
"type": "boolean"
|
|
367
|
+
},
|
|
368
|
+
"reasoning_budget_tokens": {
|
|
369
|
+
"type": "integer",
|
|
370
|
+
"minimum": 0,
|
|
371
|
+
"maximum": 1000000
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"required": []
|
|
375
|
+
},
|
|
376
|
+
"medium": {
|
|
377
|
+
"type": "object",
|
|
378
|
+
"additionalProperties": false,
|
|
379
|
+
"properties": {
|
|
380
|
+
"reasoning_effort": {
|
|
381
|
+
"type": "string",
|
|
382
|
+
"minLength": 1
|
|
383
|
+
},
|
|
384
|
+
"reasoning_budget": {
|
|
385
|
+
"type": "integer",
|
|
386
|
+
"minimum": 1
|
|
387
|
+
},
|
|
388
|
+
"enable_thinking": {
|
|
389
|
+
"type": "boolean"
|
|
390
|
+
},
|
|
391
|
+
"reasoning_budget_tokens": {
|
|
392
|
+
"type": "integer",
|
|
393
|
+
"minimum": 0,
|
|
394
|
+
"maximum": 1000000
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"required": []
|
|
398
|
+
},
|
|
399
|
+
"high": {
|
|
400
|
+
"type": "object",
|
|
401
|
+
"additionalProperties": false,
|
|
402
|
+
"properties": {
|
|
403
|
+
"reasoning_effort": {
|
|
404
|
+
"type": "string",
|
|
405
|
+
"minLength": 1
|
|
406
|
+
},
|
|
407
|
+
"reasoning_budget": {
|
|
408
|
+
"type": "integer",
|
|
409
|
+
"minimum": 1
|
|
410
|
+
},
|
|
411
|
+
"enable_thinking": {
|
|
412
|
+
"type": "boolean"
|
|
413
|
+
},
|
|
414
|
+
"reasoning_budget_tokens": {
|
|
415
|
+
"type": "integer",
|
|
416
|
+
"minimum": 0,
|
|
417
|
+
"maximum": 1000000
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"required": []
|
|
421
|
+
},
|
|
422
|
+
"max": {
|
|
423
|
+
"type": "object",
|
|
424
|
+
"additionalProperties": false,
|
|
425
|
+
"properties": {
|
|
426
|
+
"reasoning_effort": {
|
|
427
|
+
"type": "string",
|
|
428
|
+
"minLength": 1
|
|
429
|
+
},
|
|
430
|
+
"reasoning_budget": {
|
|
431
|
+
"type": "integer",
|
|
432
|
+
"minimum": 1
|
|
433
|
+
},
|
|
434
|
+
"enable_thinking": {
|
|
435
|
+
"type": "boolean"
|
|
436
|
+
},
|
|
437
|
+
"reasoning_budget_tokens": {
|
|
438
|
+
"type": "integer",
|
|
439
|
+
"minimum": 0,
|
|
440
|
+
"maximum": 1000000
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"required": []
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
"required": []
|
|
447
|
+
},
|
|
448
|
+
"embedding": {
|
|
449
|
+
"type": "object",
|
|
450
|
+
"additionalProperties": false,
|
|
451
|
+
"required": [
|
|
452
|
+
"queryPrefix",
|
|
453
|
+
"documentPrefix",
|
|
454
|
+
"normalization",
|
|
455
|
+
"pooling"
|
|
456
|
+
],
|
|
457
|
+
"properties": {
|
|
458
|
+
"queryPrefix": {
|
|
459
|
+
"type": "string",
|
|
460
|
+
"maxLength": 256
|
|
461
|
+
},
|
|
462
|
+
"documentPrefix": {
|
|
463
|
+
"type": "string",
|
|
464
|
+
"maxLength": 256
|
|
465
|
+
},
|
|
466
|
+
"normalization": {
|
|
467
|
+
"enum": [
|
|
468
|
+
"none",
|
|
469
|
+
"l2"
|
|
470
|
+
]
|
|
471
|
+
},
|
|
472
|
+
"pooling": {
|
|
473
|
+
"type": "string",
|
|
474
|
+
"minLength": 1
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"required": [
|
|
480
|
+
"provider",
|
|
481
|
+
"catalogId",
|
|
482
|
+
"revision",
|
|
483
|
+
"operations",
|
|
484
|
+
"contextWindow",
|
|
485
|
+
"maxOutputTokens"
|
|
486
|
+
]
|
|
487
|
+
},
|
|
488
|
+
"binding": {
|
|
489
|
+
"type": "object",
|
|
490
|
+
"additionalProperties": false,
|
|
491
|
+
"properties": {
|
|
492
|
+
"candidates": {
|
|
493
|
+
"type": "array",
|
|
494
|
+
"minItems": 1,
|
|
495
|
+
"uniqueItems": true,
|
|
496
|
+
"items": {
|
|
497
|
+
"type": "string",
|
|
498
|
+
"minLength": 1
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"useBinding": {
|
|
502
|
+
"type": "string",
|
|
503
|
+
"minLength": 1
|
|
504
|
+
},
|
|
505
|
+
"enabled": {
|
|
506
|
+
"type": "boolean"
|
|
507
|
+
},
|
|
508
|
+
"embeddingSpace": {
|
|
509
|
+
"type": "string",
|
|
510
|
+
"minLength": 1
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"required": [],
|
|
514
|
+
"anyOf": [
|
|
515
|
+
{
|
|
516
|
+
"properties": {
|
|
517
|
+
"enabled": {
|
|
518
|
+
"const": false
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"required": [
|
|
522
|
+
"enabled"
|
|
523
|
+
]
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"required": [
|
|
527
|
+
"candidates"
|
|
528
|
+
],
|
|
529
|
+
"not": {
|
|
530
|
+
"required": [
|
|
531
|
+
"useBinding"
|
|
532
|
+
]
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"required": [
|
|
537
|
+
"useBinding"
|
|
538
|
+
],
|
|
539
|
+
"not": {
|
|
540
|
+
"required": [
|
|
541
|
+
"candidates"
|
|
542
|
+
]
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
]
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"profile": "raijin-suku-example",
|
|
4
|
+
"providers": {
|
|
5
|
+
"mswarm": {
|
|
6
|
+
"adapter": "mswarm",
|
|
7
|
+
"baseUrl": "https://api.mswarm.org/v1/swarm/self-hosted/openai",
|
|
8
|
+
"credentialRef": "env:MCODA_MSWARM_API_KEY"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"models": {
|
|
12
|
+
"raijin-strata": {
|
|
13
|
+
"provider": "mswarm",
|
|
14
|
+
"catalogId": "mcoda-raijin-qwen-latest-flash-next",
|
|
15
|
+
"revision": "catalog-unversioned",
|
|
16
|
+
"operations": [
|
|
17
|
+
"chat.completions"
|
|
18
|
+
],
|
|
19
|
+
"backend": "strata",
|
|
20
|
+
"host": "raijin",
|
|
21
|
+
"contextWindow": 32768,
|
|
22
|
+
"maxOutputTokens": 4096,
|
|
23
|
+
"supportsTools": true,
|
|
24
|
+
"supportsStreaming": false,
|
|
25
|
+
"reasoning": {
|
|
26
|
+
"low": {
|
|
27
|
+
"reasoning_effort": "none"
|
|
28
|
+
},
|
|
29
|
+
"medium": {
|
|
30
|
+
"reasoning_effort": "low",
|
|
31
|
+
"reasoning_budget_tokens": 512
|
|
32
|
+
},
|
|
33
|
+
"high": {
|
|
34
|
+
"reasoning_effort": "high",
|
|
35
|
+
"reasoning_budget_tokens": 1024
|
|
36
|
+
},
|
|
37
|
+
"max": {
|
|
38
|
+
"reasoning_effort": "high",
|
|
39
|
+
"reasoning_budget_tokens": 1024
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"sukunahikona-strata": {
|
|
44
|
+
"provider": "mswarm",
|
|
45
|
+
"catalogId": "mcoda-sukunahikona-qwen-latest-flash-next",
|
|
46
|
+
"revision": "catalog-unversioned",
|
|
47
|
+
"operations": [
|
|
48
|
+
"chat.completions"
|
|
49
|
+
],
|
|
50
|
+
"backend": "strata",
|
|
51
|
+
"host": "sukunahikona",
|
|
52
|
+
"contextWindow": 32768,
|
|
53
|
+
"maxOutputTokens": 4096,
|
|
54
|
+
"supportsTools": true,
|
|
55
|
+
"supportsStreaming": false,
|
|
56
|
+
"reasoning": {
|
|
57
|
+
"low": {
|
|
58
|
+
"reasoning_effort": "none"
|
|
59
|
+
},
|
|
60
|
+
"medium": {
|
|
61
|
+
"reasoning_effort": "low",
|
|
62
|
+
"reasoning_budget_tokens": 512
|
|
63
|
+
},
|
|
64
|
+
"high": {
|
|
65
|
+
"reasoning_effort": "high",
|
|
66
|
+
"reasoning_budget_tokens": 1024
|
|
67
|
+
},
|
|
68
|
+
"max": {
|
|
69
|
+
"reasoning_effort": "high",
|
|
70
|
+
"reasoning_budget_tokens": 1024
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"suku-image": {
|
|
75
|
+
"provider": "mswarm",
|
|
76
|
+
"catalogId": "mcoda-sukunahikona-sd3-5-large-q4",
|
|
77
|
+
"revision": "catalog-unversioned",
|
|
78
|
+
"operations": [
|
|
79
|
+
"images.generations"
|
|
80
|
+
],
|
|
81
|
+
"contextWindow": 8192,
|
|
82
|
+
"maxOutputTokens": 1
|
|
83
|
+
},
|
|
84
|
+
"suku-audio": {
|
|
85
|
+
"provider": "mswarm",
|
|
86
|
+
"catalogId": "mcoda-sukunahikona-stable-audio-3",
|
|
87
|
+
"revision": "catalog-unversioned",
|
|
88
|
+
"operations": [
|
|
89
|
+
"audio.generations"
|
|
90
|
+
],
|
|
91
|
+
"contextWindow": 8192,
|
|
92
|
+
"maxOutputTokens": 1
|
|
93
|
+
},
|
|
94
|
+
"suku-video": {
|
|
95
|
+
"provider": "mswarm",
|
|
96
|
+
"catalogId": "mcoda-sukunahikona-wan2-2-t2v-a14b-q4-k-m",
|
|
97
|
+
"revision": "catalog-unversioned",
|
|
98
|
+
"operations": [
|
|
99
|
+
"videos.generations"
|
|
100
|
+
],
|
|
101
|
+
"contextWindow": 8192,
|
|
102
|
+
"maxOutputTokens": 1
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"bindings": {
|
|
106
|
+
"lead": {
|
|
107
|
+
"candidates": [
|
|
108
|
+
"raijin-strata",
|
|
109
|
+
"sukunahikona-strata"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
"architect": {
|
|
113
|
+
"useBinding": "lead"
|
|
114
|
+
},
|
|
115
|
+
"worker": {
|
|
116
|
+
"useBinding": "lead"
|
|
117
|
+
},
|
|
118
|
+
"reviewer": {
|
|
119
|
+
"useBinding": "lead"
|
|
120
|
+
},
|
|
121
|
+
"planner": {
|
|
122
|
+
"useBinding": "lead"
|
|
123
|
+
},
|
|
124
|
+
"compactor": {
|
|
125
|
+
"useBinding": "lead"
|
|
126
|
+
},
|
|
127
|
+
"router": {
|
|
128
|
+
"useBinding": "lead"
|
|
129
|
+
},
|
|
130
|
+
"adjudicator": {
|
|
131
|
+
"useBinding": "lead"
|
|
132
|
+
},
|
|
133
|
+
"synthesizer": {
|
|
134
|
+
"useBinding": "lead"
|
|
135
|
+
},
|
|
136
|
+
"verifier": {
|
|
137
|
+
"useBinding": "lead"
|
|
138
|
+
},
|
|
139
|
+
"repair": {
|
|
140
|
+
"useBinding": "lead"
|
|
141
|
+
},
|
|
142
|
+
"helper": {
|
|
143
|
+
"enabled": false
|
|
144
|
+
},
|
|
145
|
+
"embedding": {
|
|
146
|
+
"enabled": false
|
|
147
|
+
},
|
|
148
|
+
"image": {
|
|
149
|
+
"candidates": [
|
|
150
|
+
"suku-image"
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"audio": {
|
|
154
|
+
"candidates": [
|
|
155
|
+
"suku-audio"
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
"video": {
|
|
159
|
+
"candidates": [
|
|
160
|
+
"suku-video"
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"routing": {
|
|
165
|
+
"strategy": "capability-and-capacity",
|
|
166
|
+
"requiredBackends": {
|
|
167
|
+
"lead": [
|
|
168
|
+
"strata"
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|