@kognai/orchestrator-core 0.2.10 → 0.2.11
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.
|
@@ -454,9 +454,13 @@ function mapLegacyToComplexity(provider, model) {
|
|
|
454
454
|
// Anthropic Haiku → EXEC (cloud, not constitutional)
|
|
455
455
|
if (provider === 'anthropic' && model.includes('haiku'))
|
|
456
456
|
return 'exec';
|
|
457
|
-
//
|
|
457
|
+
// TICKET-350 honest routing: routine clawrouter calls → EXEC (a cheap+fast
|
|
458
|
+
// model run DIRECTLY by the router); escalated/hard ones (sonnet/opus) → APEX
|
|
459
|
+
// (T3, the OpenClaw gateway = opus). Previously ALL clawrouter calls collapsed
|
|
460
|
+
// to EXEC and the gateway then flattened them to opus/main regardless — so the
|
|
461
|
+
// "deepseek" label AND the sonnet escalation were cosmetic (everything was opus).
|
|
458
462
|
if (provider === 'clawrouter')
|
|
459
|
-
return 'exec';
|
|
463
|
+
return /sonnet|opus/i.test(model) ? 'apex' : 'exec';
|
|
460
464
|
// MiniMax → EXEC (cloud)
|
|
461
465
|
if (provider === 'minimax')
|
|
462
466
|
return 'exec';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kognai/orchestrator-core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"description": "Kognai sovereign orchestrator — core engine (template-agnostic). Shared by all products (Kognai/coding, Voxight/market-intel, Invoica/fin-compliance); each supplies only its template. Replaces per-repo forks of orchestrate-agents-v2 / sprint-runner / lib.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SkinGem",
|