copilot-relay 0.6.1 → 0.7.0

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 CHANGED
@@ -8,9 +8,9 @@
8
8
  ## Features
9
9
 
10
10
  - **Claude Code, familiar workflow** — Messages API compatibility, streaming responses, and tool calls.
11
- - **Codex CLI and the Codex app** — set up on start with no ChatGPT sign-in, offering the same GPT-6 Astra and Opus 5.5 as Claude Code; [details](wiki/EN-Codex.md) · [中文](wiki/ZH-Codex.md).
11
+ - **Codex CLI and the Codex app** — set up on start with no ChatGPT sign-in, offering the same models as Claude Code; [details](wiki/EN-Codex.md) · [中文](wiki/ZH-Codex.md).
12
12
  - **WebSearch that fits the conversation** — relay-managed search, followed by an answer that can still use your tools.
13
- - **Your models, your settings** — configurable GPT/Opus routes and reasoning effort; existing selections survive upgrades.
13
+ - **Your models, your settings** — configurable GPT/Opus routes and reasoning effort; `models: auto` also offers the newest model of each vendor in your catalog ([Models](wiki/EN-Models.md) · [中文](wiki/ZH-Models.md)); existing selections survive upgrades.
14
14
  - **Use the advertised capacity** — discovered context/output limits, without silently shortening your input.
15
15
  - **Use advertised chat models** — catalog-driven endpoint selection, optional effort support, and clear opt-in per-model deep checks.
16
16
  - **Choose Claude's upstream protocol** — `claudeUpstreamApi: chat-completions` stays the default; opt into `auto` or `messages` for native Claude transport.
@@ -45,8 +45,8 @@ claudeSetup: true
45
45
 
46
46
  # When true, start sets up Codex CLI and the Codex app when Codex is installed
47
47
  # ($CODEX_HOME, default ~/.codex, exists). It writes ~/.copilot-relay/codex-models.json,
48
- # a model list holding only gptModel and opusModel, and points config.toml at this
49
- # relay: model_provider, model_catalog_json, model (kept when it is one of the two),
48
+ # a model list holding the exposed models (gptModel, opusModel, then models), and points
49
+ # config.toml at this relay: model_provider, model_catalog_json, model (kept when listed),
50
50
  # and the [model_providers.copilot-relay] table, with apiKey sent as x-api-key when
51
51
  # set. Codex then needs no ChatGPT sign-in. Other keys and tables are left as they are.
52
52
  codexSetup: true
@@ -90,3 +90,6 @@ gptModel: gpt-6-astra
90
90
 
91
91
  # Upstream Copilot model used for requests containing "opus".
92
92
  opusModel: claude-opus-5.5
93
+
94
+ # Extra models offered to clients: auto (newest model of each vendor), empty, or comma-separated Copilot IDs.
95
+ models: auto