anyray-connect 0.9.4 → 0.9.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.
- package/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,12 +46,12 @@ How the key is sent depends on the auth mode:
|
|
|
46
46
|
|
|
47
47
|
## What it changes
|
|
48
48
|
|
|
49
|
-
| Tool
|
|
50
|
-
|
|
|
51
|
-
| **Claude Code**
|
|
52
|
-
| **Codex CLI**
|
|
53
|
-
| **Shell env**
|
|
54
|
-
| **Cursor / Windsurf** | Detect + print exact UI steps (their config is app state we don't script).
|
|
49
|
+
| Tool | How |
|
|
50
|
+
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
51
|
+
| **Claude Code** | Automatic — writes the `env` block in `~/.claude/settings.json` (`ANTHROPIC_BASE_URL`, placeholder `ANTHROPIC_AUTH_TOKEN`, and `ANTHROPIC_CUSTOM_HEADERS` carrying `x-anyray-metadata`). With `--subscription`, no auth token is written: Claude Code keeps its seat (Pro/Max/Team/Enterprise) sign-in and the gateway passes the OAuth token through (`x-anyray-auth-mode: passthrough`), so spend stays on the subscription. |
|
|
52
|
+
| **Codex CLI** | Automatic — writes `~/.codex/anyray.config.toml` as a layered profile, leaving the base `config.toml` untouched so existing MCP servers keep loading; opt in per run with `codex --profile anyray`. With `--subscription`, the provider sets `requires_openai_auth = true` and no static key: Codex attaches its ChatGPT sign-in itself, and the gateway passes the OAuth token through to the ChatGPT Codex backend (`x-anyray-custom-host`), so spend stays on the seat. |
|
|
53
|
+
| **Shell env** | Automatic — a managed, idempotent block in your shell profile with `OPENAI_BASE_URL` / `ANTHROPIC_BASE_URL` + placeholder keys (covers SDK jobs and scripts). |
|
|
54
|
+
| **Cursor / Windsurf** | Detect + print exact UI steps (their config is app state we don't script). |
|
|
55
55
|
|
|
56
56
|
The real provider key is never written here — it stays server-side in the
|
|
57
57
|
gateway (`ANYRAY_PROVIDER_KEY_*`), which swaps it in per request. Only metadata
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anyray-connect",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
4
4
|
"description": "Anyray connect — points local coding tools (Claude Code, Cursor, Windsurf, SDKs) at the Anyray gateway by writing their base URL + a placeholder key. The gateway stays the brain; this is just the on-ramp.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|