substrate-ai 0.10.0 → 0.11.0
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/dist/index.d.ts +25 -1
- package/package.json +4 -1
package/dist/index.d.ts
CHANGED
|
@@ -1286,8 +1286,30 @@ declare class GeminiCLIAdapter implements WorkerAdapter$1 {
|
|
|
1286
1286
|
}
|
|
1287
1287
|
|
|
1288
1288
|
//#endregion
|
|
1289
|
-
//#region
|
|
1289
|
+
//#region packages/core/dist/monitor/recommendation-types.d.ts
|
|
1290
1290
|
//# sourceMappingURL=gemini-adapter.d.ts.map
|
|
1291
|
+
/**
|
|
1292
|
+
* Recommendation Types — data structures for the routing recommendations engine.
|
|
1293
|
+
* Migrated to @substrate-ai/core (Story 41-7)
|
|
1294
|
+
*/
|
|
1295
|
+
type ConfidenceLevel = 'low' | 'medium' | 'high';
|
|
1296
|
+
interface Recommendation {
|
|
1297
|
+
task_type: string;
|
|
1298
|
+
current_agent: string;
|
|
1299
|
+
recommended_agent: string;
|
|
1300
|
+
reason: string;
|
|
1301
|
+
confidence: ConfidenceLevel;
|
|
1302
|
+
current_success_rate: number;
|
|
1303
|
+
recommended_success_rate: number;
|
|
1304
|
+
current_avg_tokens: number;
|
|
1305
|
+
recommended_avg_tokens: number;
|
|
1306
|
+
improvement_percentage: number;
|
|
1307
|
+
sample_size_current: number;
|
|
1308
|
+
sample_size_recommended: number;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
//#endregion
|
|
1312
|
+
//#region src/core/errors.d.ts
|
|
1291
1313
|
/** Error thrown when task configuration is invalid */
|
|
1292
1314
|
declare class TaskConfigError extends AdtError {
|
|
1293
1315
|
constructor(message: string, context?: Record<string, unknown>);
|
|
@@ -1518,6 +1540,8 @@ interface RoutingDecision {
|
|
|
1518
1540
|
tokensUsedInWindow: number;
|
|
1519
1541
|
limit: number;
|
|
1520
1542
|
};
|
|
1543
|
+
monitorRecommendation?: Recommendation;
|
|
1544
|
+
monitorInfluenced: boolean;
|
|
1521
1545
|
}
|
|
1522
1546
|
/** Result of a completed task */
|
|
1523
1547
|
interface TaskResult$1 {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "substrate-ai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Substrate — multi-agent orchestration daemon for AI coding agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -83,6 +83,8 @@
|
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@eslint/js": "^9.17.0",
|
|
86
|
+
"@ts-graphviz/ast": "^3.0.6",
|
|
87
|
+
"@ts-graphviz/common": "^3.0.5",
|
|
86
88
|
"@types/js-yaml": "^4.0.9",
|
|
87
89
|
"@types/node": "^22.10.0",
|
|
88
90
|
"@types/semver": "^7.5.8",
|
|
@@ -94,6 +96,7 @@
|
|
|
94
96
|
"eslint": "^9.17.0",
|
|
95
97
|
"pino-pretty": "^13.0.0",
|
|
96
98
|
"prettier": "^3.4.2",
|
|
99
|
+
"ts-graphviz": "^3.0.7",
|
|
97
100
|
"tsdown": "^0.9.0",
|
|
98
101
|
"tsx": "^4.19.2",
|
|
99
102
|
"typescript": "^5.9.0",
|