@velum-labs/routekit-tool-codex 0.16.3 → 0.16.5

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.
Files changed (2) hide show
  1. package/dist/launch.js +3 -3
  2. package/package.json +6 -6
package/dist/launch.js CHANGED
@@ -3,7 +3,7 @@ import { copyFileSync, existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync,
3
3
  import { homedir } from "node:os";
4
4
  import { join } from "node:path";
5
5
  import { stringify as tomlStringify } from "smol-toml";
6
- import { isCodexPickerEligibleModel } from "@velum-labs/routekit-contracts";
6
+ import { isCodexPickerEligibleModel, reasoningEffortDescriptors } from "@velum-labs/routekit-contracts";
7
7
  import { trimTrailingSlashes } from "@velum-labs/routekit-runtime";
8
8
  const PROVIDER_ID = "routekit";
9
9
  const CATALOG_FILE = "model-catalog.json";
@@ -152,9 +152,9 @@ export function codexCatalogEntries(spec, template, stockModels = [], options =
152
152
  }
153
153
  const model = models.find((candidate) => codexModelId(candidate.id) === id ||
154
154
  candidate.aliases?.some((alias) => codexModelId(alias) === id) === true);
155
- const levels = (model?.reasoning?.efforts ?? []).map((effort) => ({
155
+ const levels = reasoningEffortDescriptors(model?.reasoning).map((effort) => ({
156
156
  effort: effort.id,
157
- description: effort.description ?? effort.label ?? effort.id
157
+ description: effort.label
158
158
  }));
159
159
  return {
160
160
  ...neutralTemplate,
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.16.3",
4
+ "version": "0.16.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/velum-labs/routekit.git",
@@ -29,11 +29,11 @@
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.16.3",
33
- "@velum-labs/routekit-runtime": "0.16.3",
34
- "@velum-labs/routekit-harness-core": "0.16.3",
35
- "@velum-labs/routekit-tools": "0.16.3",
36
- "@velum-labs/routekit-contracts": "0.16.3"
32
+ "@velum-labs/routekit-contracts": "0.16.5",
33
+ "@velum-labs/routekit-harness-core": "0.16.5",
34
+ "@velum-labs/routekit-registry": "0.16.5",
35
+ "@velum-labs/routekit-runtime": "0.16.5",
36
+ "@velum-labs/routekit-tools": "0.16.5"
37
37
  },
38
38
  "keywords": [
39
39
  "llm",