@jacobbd/relay-ai 0.2.8 → 0.3.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/AGENTS.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # AGENTS.md
2
2
 
3
- This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.
3
+ This file provides guidance to Codex (Codex.ai/code) when working with code in this repository. Note that the codebase supports Claude Code, OpenAI Codex, and Google Gemini CLI.
4
4
 
5
5
  ## Commands
6
6
 
@@ -24,6 +24,7 @@ relay-ai server # foreground OpenCode/registry API gateway
24
24
  relay-ai server --vertex # foreground Vertex AI gateway (gcloud ADC)
25
25
  relay-ai codex # Codex CLI with registry providers (see docs/CODEX.md)
26
26
  relay-ai codex-app # Codex desktop app (macOS/Windows; see docs/CODEX.md)
27
+ relay-ai gemini # Gemini CLI with registry providers (see docs/GEMINI.md)
27
28
 
28
29
  # Rebuild after code changes before testing manually
29
30
  npm run build && relay-ai --version
@@ -150,9 +151,9 @@ In all cases `process.env['OPENCODE_API_KEY']` is set immediately so the key is
150
151
  - `--restore` globs `models-*.json` (CLI) and `app-models-*.json` (App); the new files are `models-favorites.json` and `app-models-favorites.json`.
151
152
  - Zen/Go favorites are skipped in Codex (use Claude or Desktop gateway).
152
153
 
153
- ## Release status (v0.2.6)
154
+ ## Release status (v0.3.0)
154
155
 
155
- Current version is **v0.2.6** — official launch release with the native provider registry, complete Claude/Codex app help, unified OpenCode Zen / Go setup, duplicate-provider migration, stable post-import refreshes, agent boot flags (`--provider` / `--model`), `relay-ai --ai`, favorites catalogs, and reasoning capability metadata.
156
+ Current version is **v0.3.0** — official launch release with the native provider registry, complete Claude/Codex app help, unified OpenCode Zen / Go setup, duplicate-provider migration, stable post-import refreshes, agent boot flags (`--provider` / `--model`), `relay-ai --ai`, favorites catalogs, reasoning capability metadata, and new native Chinese provider templates (DeepSeek, Zhipu, Moonshot) with improved models endpoint routing.
156
157
 
157
158
  **Known limitations (by design):**
158
159
  - Cost display in Codex is always inaccurate for non-Anthropic models.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.0] - 2026-06-21
4
+
5
+ *Happy Father's Day!* 👨‍👦
6
+
7
+
8
+ ### Added
9
+ - **New Native Providers** — Added native provider templates and registry support for DeepSeek (`deepseek`), Zhipu (`zhipu`), and Moonshot (`moonshot`), facilitating direct integration of Chinese LLM providers.
10
+ - **Experimental Gemini Support** — Introduced experimental support for Google Gemini models via a custom SDK adapter and local proxy, enabling `relay-ai gemini`.
11
+ - **Kimi/Moonshot Reasoning Level Selection** — Enabled support for Codex's native "Select Reasoning Level" UI for Kimi models by exposing `supported_reasoning_levels` in the proxy catalog and translating reasoning effort parameters.
12
+ - **Provider Documentation** — Created a dedicated [PROVIDERS.md](file:///Users/jbendavi/dev_projects/relay-ai/docs/PROVIDERS.md) documentation file explaining the differences between Kimi, Kimi Global, and Moonshot models, and linked it from the main README.
13
+
3
14
  ## [0.2.8] - 2026-06-20
4
15
 
5
16
  ### Added
package/README.md CHANGED
@@ -17,9 +17,9 @@
17
17
  </a>
18
18
  </p>
19
19
 
20
- > **Demo (Part 1):** Installation · Configuration · Claude Code · Claude Cowork · Claude Code Desktop — [watch on YouTube](https://youtu.be/IvsUPHLhX0o) *(premieres June 19 at 10:45 AM ET)*
20
+ > **Demo (Part 1):** Installation · Configuration · Claude Code · Claude Cowork · Claude Code Desktop — [watch on YouTube](https://youtu.be/IvsUPHLhX0o)
21
21
 
22
- **relay-ai** is an interactive CLI that launches AI coding tools and runs local API gateways on your machine. Currently, it supports **Claude Code**, **Claude Desktop (Cowork + Code)**, the **OpenAI Codex CLI**, and the **Codex desktop app (macOS + Windows)**.
22
+ **relay-ai** is an interactive CLI that launches AI coding tools and runs local API gateways on your machine. Currently, it supports **Claude Code**, **Claude Desktop (Cowork + Code)**, the **OpenAI Codex CLI**, the **Codex desktop app (macOS + Windows)**, and the **Google Gemini CLI**.
23
23
 
24
24
  Pick your backend:
25
25
 
@@ -41,13 +41,14 @@ Pick your backend:
41
41
  | `relay-ai claude-app` | Launch Claude Desktop app with registry providers ([guide](docs/CLAUDE_DESKTOP_SETUP.md)) |
42
42
  | `relay-ai codex` | Launch OpenAI Codex CLI with registry providers ([guide](docs/CODEX.md)) |
43
43
  | `relay-ai codex-app` | Launch Codex desktop app with registry providers ([guide](docs/CODEX.md)) |
44
+ | `relay-ai gemini` | Launch Google Gemini CLI with registry providers |
44
45
  | `relay-ai --ai` | Full agent reference for scripts and alef-agent ([guide](docs/AI-AGENTS.md)) |
45
46
 
46
47
  Bare `relay-ai` prints help and migration guidance. Use `relay-ai claude` for the wizard.
47
48
 
48
49
  ## Features
49
50
 
50
- - **Native provider registry:** `relay-ai providers` stores config in `~/.relay-ai/providers.json` and secrets in the OS keychain — no OpenCode binary required at launch
51
+ - **Native provider registry:** `relay-ai providers` stores config in `~/.relay-ai/providers.json` and secrets in the OS keychain — no OpenCode binary required at launch. See **[docs/PROVIDERS.md](docs/PROVIDERS.md)** for a full list of providers and known issues.
51
52
  - **Provider templates:** Add Groq, Mistral, Together, OpenRouter, and 15+ SDK-backed providers, plus custom OpenAI/Anthropic-compatible endpoints
52
53
  - **OpenCode import:** One-time migration from OpenCode (`providers import`); validates API keys and skips placeholders like `anything`
53
54
  - **OpenCode Zen / Go:** Optional cloud backends when you have an OpenCode API key
@@ -69,7 +70,7 @@ Bare `relay-ai` prints help and migration guidance. Use `relay-ai claude` for th
69
70
 
70
71
  | Tool | Command | Status |
71
72
  |------|---------|--------|
72
- | Provider registry | `relay-ai providers` | ✅ Supported |
73
+ | Provider registry | `relay-ai providers` | ✅ Supported ([guide](docs/PROVIDERS.md)) |
73
74
  | Claude Code | `relay-ai claude` | ✅ Supported |
74
75
  | Favorite models | `relay-ai models` | ✅ Supported |
75
76
  | OpenCode API server | `relay-ai server` | ✅ Supported |
@@ -77,11 +78,12 @@ Bare `relay-ai` prints help and migration guidance. Use `relay-ai claude` for th
77
78
  | Claude Desktop (Cowork + Code) | `relay-ai claude-app` | ✅ Supported macOS + Windows ([guide](docs/CLAUDE_DESKTOP_SETUP.md)) |
78
79
  | Codex CLI | `relay-ai codex` | ✅ Supported ([guide](docs/CODEX.md)) |
79
80
  | Codex desktop app | `relay-ai codex-app` | ✅ Supported macOS + Windows ([guide](docs/CODEX.md)) |
81
+ | Google Gemini CLI | `relay-ai gemini` | ✅ Supported |
80
82
 
81
83
  ## Prerequisites
82
84
 
83
85
  - Node.js 18+
84
- - A supported AI coding tool installed (e.g. [Claude Code](https://www.npmjs.com/package/@anthropic-ai/claude-code) or [OpenAI Codex](https://www.npmjs.com/package/@openai/codex))
86
+ - A supported AI coding tool installed (e.g. [Claude Code](https://www.npmjs.com/package/@anthropic-ai/claude-code), [OpenAI Codex](https://www.npmjs.com/package/@openai/codex), or [Google Gemini CLI](https://www.npmjs.com/package/@google/gemini-cli))
85
87
  - At least one provider configured via `relay-ai providers add` or `import` — **or** an [OpenCode API key](https://opencode.ai/auth) for Zen/Go cloud backends
86
88
  - [OpenCode CLI](https://opencode.ai) only if you want **one-time import** from an existing OpenCode setup (optional)
87
89
  - For **Vertex gateway:** [Google Cloud SDK](https://cloud.google.com/sdk) with `gcloud auth application-default login`, a GCP project with Vertex AI enabled, and Claude partner models enabled in that project
@@ -367,6 +369,22 @@ See **[docs/CODEX.md](docs/CODEX.md)** for CLI vs app differences, file ownershi
367
369
 
368
370
  **Reasoning effort:** Capable models show Codex's native reasoning picker (low/medium/high, etc.). relay-ai maps your choice to each provider's SDK options and preserves existing `model_reasoning_effort` in Codex config. Claude Code `/effort` and the `relay-ai server` gateway use the same mapping — see the [reasoning section in docs/CODEX.md](docs/CODEX.md#reasoning-effort).
369
371
 
372
+ ### Google Gemini CLI (`relay-ai gemini`)
373
+
374
+ Launch the [Google Gemini CLI](https://www.npmjs.com/package/@google/gemini-cli) with registry providers.
375
+
376
+ ```bash
377
+ relay-ai gemini
378
+ ```
379
+
380
+ Pick provider → pick model → Gemini prompt loop opens. Non-interactive tasks with streaming NDJSON are also fully supported:
381
+
382
+ ```bash
383
+ relay-ai gemini --provider google --model gemini-2.5-flash -p "Review this file" -o stream-json
384
+ ```
385
+
386
+ For agent / alef-agent integration (boot flags, NDJSON): **[docs/AI-AGENTS.md](docs/AI-AGENTS.md)** and `relay-ai --ai`.
387
+
370
388
  ## How it works
371
389
 
372
390
  ### OpenCode Zen / Go filtering