@relayplane/proxy 1.5.23 → 1.5.25
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 +25 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,6 +48,31 @@ A minimal config file:
|
|
|
48
48
|
|
|
49
49
|
All configuration is optional — sensible defaults are applied for every field. The proxy merges your config with its defaults via deep merge, so you only need to specify what you want to change.
|
|
50
50
|
|
|
51
|
+
## Architecture (Current)
|
|
52
|
+
|
|
53
|
+
```text
|
|
54
|
+
Client (Claude Code / Aider / Cursor)
|
|
55
|
+
|
|
|
56
|
+
| OpenAI/Anthropic-compatible request
|
|
57
|
+
v
|
|
58
|
+
+-----------------------------------------------+
|
|
59
|
+
| RelayPlane Proxy (local) |
|
|
60
|
+
|-----------------------------------------------|
|
|
61
|
+
| 1) Parse request |
|
|
62
|
+
| 2) Infer task/complexity (pre-request) |
|
|
63
|
+
| 3) Select route/model |
|
|
64
|
+
| - explicit model / passthrough |
|
|
65
|
+
| - relayplane:auto/cost/fast/quality |
|
|
66
|
+
| - configured complexity/cascade rules |
|
|
67
|
+
| 4) Forward request to provider |
|
|
68
|
+
| 5) Return provider response |
|
|
69
|
+
| 6) (Optional) record telemetry metadata |
|
|
70
|
+
+-----------------------------------------------+
|
|
71
|
+
|
|
|
72
|
+
v
|
|
73
|
+
Provider APIs (Anthropic/OpenAI/Gemini/xAI/Moonshot/...)
|
|
74
|
+
```
|
|
75
|
+
|
|
51
76
|
## How It Works
|
|
52
77
|
|
|
53
78
|
RelayPlane is a local HTTP proxy. You point your agent at `localhost:4801` by setting `ANTHROPIC_BASE_URL` or `OPENAI_BASE_URL`. The proxy:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relayplane/proxy",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.25",
|
|
4
4
|
"description": "Open source cost intelligence proxy for AI agents. Cut LLM costs ~80% with smart model routing. Dashboard, policy engine, 11 providers. MIT licensed.",
|
|
5
5
|
"homepage": "https://relayplane.com",
|
|
6
6
|
"repository": {
|