@ast-ai-model-router/cli 2.0.2 → 2.0.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/README.md +1 -1
- package/lib/config.js +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -160,7 +160,7 @@ Examples:
|
|
|
160
160
|
|
|
161
161
|
- Claude alias `haiku` maps to `claude-haiku-4-5`.
|
|
162
162
|
- Claude alias `sonnet` maps to `claude-sonnet-4-6`.
|
|
163
|
-
- Codex `gpt-5.4-mini`
|
|
163
|
+
- Codex `gpt-5.4-mini`, `gpt-5.4`, and `gpt-5.5` map to the matching Tokenometer model IDs.
|
|
164
164
|
|
|
165
165
|
If a model cannot be mapped, routing still works and the decision includes a warning:
|
|
166
166
|
|
package/lib/config.js
CHANGED
|
@@ -31,9 +31,9 @@ export const DEFAULT_CONFIG = {
|
|
|
31
31
|
opusplan: "claude-opus-4-7"
|
|
32
32
|
},
|
|
33
33
|
codex: {
|
|
34
|
-
"gpt-5.4-mini": "gpt-5-mini",
|
|
35
|
-
"gpt-5.4": "gpt-5",
|
|
36
|
-
"gpt-5.5": "gpt-5",
|
|
34
|
+
"gpt-5.4-mini": "gpt-5.4-mini",
|
|
35
|
+
"gpt-5.4": "gpt-5.4",
|
|
36
|
+
"gpt-5.5": "gpt-5.5",
|
|
37
37
|
"codex-mini-latest": "codex-mini-latest"
|
|
38
38
|
}
|
|
39
39
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ast-ai-model-router/cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "AST-based Claude Code and Codex model router with token-cost estimates, CI policy checks, and explainable AI coding-agent model selection.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@babel/parser": "^7.28.5",
|
|
63
|
-
"@tokenometer/core": "^
|
|
63
|
+
"@tokenometer/core": "^2.1.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@changesets/cli": "^2.31.0"
|