copilot-relay 0.5.0 → 0.5.2

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
@@ -7,10 +7,8 @@
7
7
 
8
8
  ## Features
9
9
 
10
- [![Watch a one-minute video tour of copilot-relay](https://gitdiagram.com/video-badge.svg)](https://gitdiagram.com/d0n9x1n/copilot-relay/video)
11
-
12
10
  - **Claude Code, familiar workflow** — Messages API compatibility, streaming responses, and tool calls.
13
- - **Codex CLI and the Codex app** — an OpenAI Responses passthrough for Copilot's GPT models; [set it up](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 GPT-6 Astra and Opus 5.5 as Claude Code; [details](wiki/EN-Codex.md) · [中文](wiki/ZH-Codex.md).
14
12
  - **WebSearch that fits the conversation** — relay-managed search, followed by an answer that can still use your tools.
15
13
  - **Your models, your settings** — configurable GPT/Opus routes and reasoning effort; existing selections survive upgrades.
16
14
  - **Use the advertised capacity** — discovered context/output limits, without silently shortening your input.
@@ -30,8 +28,8 @@ copilot-relay auth
30
28
  copilot-relay start
31
29
  ```
32
30
 
33
- Follow the device-login prompt. Keep the relay running in this terminal; by default,
34
- startup configures Claude Code's connection in `~/.claude/settings.json`.
31
+ Follow the device-login prompt and keep the relay running; startup configures Claude
32
+ Code and Codex. `copilot-relay setup` also sets up their desktop apps ([Commands](wiki/EN-Commands.md)).
35
33
  Open a **second terminal** and run:
36
34
 
37
35
  ```sh
@@ -3,7 +3,7 @@
3
3
  # This file is copied to ~/.copilot-relay/config.yaml on first start.
4
4
  # Edit the user config file, not this template, for local changes.
5
5
  # Valid complete edits hot-reload without rewriting this file.
6
- # host, port, claudeSetup, and upstreamProxy require restart.
6
+ # host, port, claudeSetup, codexSetup, and upstreamProxy require restart.
7
7
  #
8
8
  # Values here apply to a fresh install only. copilot-relay writes the resolved
9
9
  # config back to disk, so once a key exists in your config.yaml it is yours:
@@ -43,6 +43,14 @@ upstreamProxy:
43
43
  # CLAUDE_CODE_AUTO_MODE_SERVER=0, when not already set.
44
44
  claudeSetup: true
45
45
 
46
+ # When true, start sets up Codex CLI and the Codex app when Codex is installed
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),
50
+ # and the [model_providers.copilot-relay] table, with apiKey sent as x-api-key when
51
+ # set. Codex then needs no ChatGPT sign-in. Other keys and tables are left as they are.
52
+ codexSetup: true
53
+
46
54
  # Log verbosity:
47
55
  # error - startup/preflight/request failures only
48
56
  # info - errors plus status, model/effort and semantic completion summaries