@jacobbd/relay-ai 0.3.2 → 0.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.3] - 2026-06-22
4
+
5
+ ### Fixed
6
+
7
+ - **Codex App: old sessions no longer show "Custom" as the model name** — relay-ai previously wrote its internal alias model ID (e.g. `go__glm-5.2`) into `config.toml`, which Codex baked into every session record. Reopening that conversation in native Codex showed "Custom" because the alias is unrecognized. relay-ai now writes `gpt-5.5` as the display model so sessions record a name Codex recognizes, enabling clean resume without errors.
8
+
3
9
  ## [0.3.2] - 2026-06-22
4
10
 
5
11
  ### Fixed
package/dist/cli.js CHANGED
@@ -35,7 +35,7 @@ import { join } from "path";
35
35
  // package.json
36
36
  var package_default = {
37
37
  name: "@jacobbd/relay-ai",
38
- version: "0.3.2",
38
+ version: "0.3.3",
39
39
  publishConfig: {
40
40
  access: "public"
41
41
  },
@@ -822,6 +822,7 @@ function thinkingProviderOptions(npm) {
822
822
 
823
823
  // src/codex/app-profile.ts
824
824
  var CODEX_APP_PROVIDER_ID = "relay-ai-launch-codex-app";
825
+ var CODEX_APP_DISPLAY_MODEL = "gpt-5.5";
825
826
  var PREVIEW_PROXY_PORT = 54321;
826
827
  function codexAppModelSlug(rawModelId) {
827
828
  return rawModelId.startsWith("models/") ? rawModelId.slice("models/".length) : rawModelId;
@@ -831,10 +832,9 @@ function parseCodexAppModelSlug(modelKey) {
831
832
  return modelKey.startsWith(prefix) ? modelKey.slice(prefix.length) : modelKey;
832
833
  }
833
834
  function buildCodexAppRootConfig(spec) {
834
- const slug = codexAppModelSlug(spec.route.modelId);
835
835
  const ctxWindow = spec.route.contextWindow;
836
836
  return {
837
- model: slug,
837
+ model: CODEX_APP_DISPLAY_MODEL,
838
838
  model_provider: "openai",
839
839
  openai_base_url: `http://127.0.0.1:${spec.proxyPort}/v1`,
840
840
  model_catalog_json: spec.catalogPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jacobbd/relay-ai",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },