@velum-labs/routekit-tool-codex 0.9.4 → 0.9.6

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.
@@ -59,6 +59,38 @@ test("Codex launcher serializes namespaced models without interpreting provider
59
59
  .every((entry) => Array.isArray(entry.supported_reasoning_levels)), "every gateway-routed entry carries supported_reasoning_levels");
60
60
  assert.deepEqual(JSON.parse(codexModelCatalogJson(SPEC, template)).models, entries.slice(0, 3));
61
61
  });
62
+ test("Codex launcher exposes only provider-discovered Claude effort levels", () => {
63
+ const spec = {
64
+ gatewayUrl: "http://127.0.0.1:9999",
65
+ defaultModel: "claude-code/claude-fable-5",
66
+ models: [
67
+ {
68
+ id: "claude-code/claude-fable-5",
69
+ reasoning: {
70
+ status: "supported",
71
+ efforts: [{ id: "low" }, { id: "high" }, { id: "max" }],
72
+ budget: { minTokens: 1_024 },
73
+ adaptive: true,
74
+ wireShape: "anthropic",
75
+ provenance: "provider"
76
+ }
77
+ }
78
+ ],
79
+ args: []
80
+ };
81
+ const [entry] = codexCatalogEntries(spec, {
82
+ slug: "stock",
83
+ visibility: "list",
84
+ supported_reasoning_levels: [{ effort: "template" }],
85
+ default_reasoning_level: "template"
86
+ });
87
+ assert.deepEqual(entry?.supported_reasoning_levels, [
88
+ { effort: "low", description: "low" },
89
+ { effort: "high", description: "high" },
90
+ { effort: "max", description: "max" }
91
+ ]);
92
+ assert.equal(entry?.default_reasoning_level, undefined);
93
+ });
62
94
  test("Codex launcher neutralizes stock-model behavior fields from the template", () => {
63
95
  const template = {
64
96
  slug: "gpt-stock",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@velum-labs/routekit-tool-codex",
3
3
  "private": false,
4
- "version": "0.9.4",
4
+ "version": "0.9.6",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/velum-labs/handoffkit.git",
@@ -29,10 +29,10 @@
29
29
  "@openai/codex-sdk": "0.145.0",
30
30
  "smol-toml": "1.7.0",
31
31
  "zod": "4.4.3",
32
- "@velum-labs/routekit-registry": "0.9.4",
33
- "@velum-labs/routekit-runtime": "0.9.4",
34
- "@velum-labs/routekit-tools": "0.9.4",
35
- "@velum-labs/routekit-harness-core": "0.9.4"
32
+ "@velum-labs/routekit-registry": "0.9.6",
33
+ "@velum-labs/routekit-runtime": "0.9.6",
34
+ "@velum-labs/routekit-tools": "0.9.6",
35
+ "@velum-labs/routekit-harness-core": "0.9.6"
36
36
  },
37
37
  "keywords": [
38
38
  "llm",