@plasius/ai-router 0.1.12 → 0.1.14
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 +34 -0
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +14 -13
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,38 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
- **Added**
|
|
10
|
+
- (placeholder)
|
|
11
|
+
|
|
12
|
+
- **Changed**
|
|
13
|
+
- (placeholder)
|
|
14
|
+
|
|
15
|
+
- **Fixed**
|
|
16
|
+
- (placeholder)
|
|
17
|
+
|
|
18
|
+
- **Security**
|
|
19
|
+
- (placeholder)
|
|
20
|
+
|
|
21
|
+
## [0.1.14] - 2026-11-22
|
|
22
|
+
|
|
23
|
+
- Refresh supported npm dependency and security tooling baselines; preserve runtime API contracts (weekly maintenance, 2026-11-22).
|
|
24
|
+
|
|
25
|
+
- **Added**
|
|
26
|
+
- (placeholder)
|
|
27
|
+
|
|
28
|
+
- **Changed**
|
|
29
|
+
- (placeholder)
|
|
30
|
+
|
|
31
|
+
- **Fixed**
|
|
32
|
+
- (placeholder)
|
|
33
|
+
|
|
34
|
+
- **Security**
|
|
35
|
+
- (placeholder)
|
|
36
|
+
|
|
37
|
+
## [0.1.13] - 2026-10-18
|
|
38
|
+
|
|
39
|
+
- Refresh npm dependency lockfile to current supported stable versions (weekly maintenance, 2026-10-18). Refresh published Plasius package baselines after upstream releases.
|
|
40
|
+
|
|
9
41
|
- **Added**
|
|
10
42
|
- (placeholder)
|
|
11
43
|
|
|
@@ -206,3 +238,5 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
206
238
|
[0.1.10]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.10
|
|
207
239
|
[0.1.11]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.11
|
|
208
240
|
[0.1.12]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.12
|
|
241
|
+
[0.1.13]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.13
|
|
242
|
+
[0.1.14]: https://github.com/Plasius-LTD/ai-router/releases/tag/v0.1.14
|
package/dist/index.d.cts
CHANGED
|
@@ -61,4 +61,5 @@ interface AiRoutingDecision {
|
|
|
61
61
|
}
|
|
62
62
|
declare function selectAiProviderRoute(requestId: string, candidates: readonly AiProviderCandidate[], policy?: AiRoutingPolicy): AiRoutingDecision;
|
|
63
63
|
|
|
64
|
-
export { AI_ROUTER_DEFAULT_BUDGET_OVERAGE_MULTIPLIER, AI_ROUTER_DEFAULT_MINIMUM_CONFIDENCE, AI_ROUTER_ENV_PREFIX, AI_ROUTER_FEATURE_FLAG_ID, AI_ROUTER_PACKAGE,
|
|
64
|
+
export { AI_ROUTER_DEFAULT_BUDGET_OVERAGE_MULTIPLIER, AI_ROUTER_DEFAULT_MINIMUM_CONFIDENCE, AI_ROUTER_ENV_PREFIX, AI_ROUTER_FEATURE_FLAG_ID, AI_ROUTER_PACKAGE, packageDescriptor, selectAiProviderRoute };
|
|
65
|
+
export type { AiPackageDescriptor, AiProviderConfidenceEstimator, AiProviderConfidenceEstimatorContext, AiRoutingBudgetPolicy, AiRoutingCandidateAssessment, AiRoutingDecision, AiRoutingDecisionMode, AiRoutingDecisionReason, AiRoutingEscalationPolicy, AiRoutingFallbackPolicy, AiRoutingPolicy };
|
package/dist/index.d.ts
CHANGED
|
@@ -61,4 +61,5 @@ interface AiRoutingDecision {
|
|
|
61
61
|
}
|
|
62
62
|
declare function selectAiProviderRoute(requestId: string, candidates: readonly AiProviderCandidate[], policy?: AiRoutingPolicy): AiRoutingDecision;
|
|
63
63
|
|
|
64
|
-
export { AI_ROUTER_DEFAULT_BUDGET_OVERAGE_MULTIPLIER, AI_ROUTER_DEFAULT_MINIMUM_CONFIDENCE, AI_ROUTER_ENV_PREFIX, AI_ROUTER_FEATURE_FLAG_ID, AI_ROUTER_PACKAGE,
|
|
64
|
+
export { AI_ROUTER_DEFAULT_BUDGET_OVERAGE_MULTIPLIER, AI_ROUTER_DEFAULT_MINIMUM_CONFIDENCE, AI_ROUTER_ENV_PREFIX, AI_ROUTER_FEATURE_FLAG_ID, AI_ROUTER_PACKAGE, packageDescriptor, selectAiProviderRoute };
|
|
65
|
+
export type { AiPackageDescriptor, AiProviderConfidenceEstimator, AiProviderConfidenceEstimatorContext, AiRoutingBudgetPolicy, AiRoutingCandidateAssessment, AiRoutingDecision, AiRoutingDecisionMode, AiRoutingDecisionReason, AiRoutingEscalationPolicy, AiRoutingFallbackPolicy, AiRoutingPolicy };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasius/ai-router",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "Cost-aware AI task routing, budget, confidence, and SLO policy for Plasius agentic AI workloads.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"author": "Plasius LTD <development@plasius.co.uk>",
|
|
55
55
|
"license": "Apache-2.0",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@plasius/ai-providers": "^0.1.
|
|
57
|
+
"@plasius/ai-providers": "^0.1.13"
|
|
58
58
|
},
|
|
59
59
|
"repository": {
|
|
60
60
|
"type": "git",
|
|
@@ -66,17 +66,18 @@
|
|
|
66
66
|
"homepage": "https://github.com/Plasius-LTD/ai-router#readme",
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@eslint/js": "^10.0.1",
|
|
69
|
-
"@plasius/ai-config": "^0.1.
|
|
70
|
-
"@types/node": "^26.
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
72
|
-
"@typescript-eslint/parser": "^8.
|
|
73
|
-
"@vitest/coverage-v8": "^
|
|
74
|
-
"eslint": "^10.
|
|
75
|
-
"globals": "^17.
|
|
76
|
-
"rimraf": "^6.1.
|
|
77
|
-
"tsup": "^
|
|
69
|
+
"@plasius/ai-config": "^0.1.15",
|
|
70
|
+
"@types/node": "^26.6.6",
|
|
71
|
+
"@typescript-eslint/eslint-plugin": "^8.73.0",
|
|
72
|
+
"@typescript-eslint/parser": "^8.73.0",
|
|
73
|
+
"@vitest/coverage-v8": "^5.1.1",
|
|
74
|
+
"eslint": "^10.15.0",
|
|
75
|
+
"globals": "^17.14.0",
|
|
76
|
+
"rimraf": "^6.1.4",
|
|
77
|
+
"tsup": "^9.0.0",
|
|
78
78
|
"typescript": "^6.0.3",
|
|
79
|
-
"vitest": "^
|
|
79
|
+
"vitest": "^5.1.1",
|
|
80
|
+
"vite": "^8.3.8"
|
|
80
81
|
},
|
|
81
82
|
"publishConfig": {
|
|
82
83
|
"access": "public"
|
|
@@ -99,6 +100,6 @@
|
|
|
99
100
|
"brace-expansion": "5.0.12",
|
|
100
101
|
"nanoid": "3.3.18",
|
|
101
102
|
"postcss": "8.5.26",
|
|
102
|
-
"minimatch": "^
|
|
103
|
+
"minimatch": "^11.0.9"
|
|
103
104
|
}
|
|
104
105
|
}
|