proxitor 0.9.0-beta.2 → 0.9.0-beta.3
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 +16 -4
- package/dist/cli.mjs +696 -340
- package/dist/cli.mjs.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -266,9 +266,9 @@ Both `cacheControl` and `sessionId` support `auto` / `always` / `never` modes:
|
|
|
266
266
|
|
|
267
267
|
| Mode | `cacheControl` | `sessionId` |
|
|
268
268
|
| --- | --- | --- |
|
|
269
|
-
| `auto` (default) | Anthropic models on `/v1/chat/completions`; all models on `/v1/messages` and `/v1/responses` |
|
|
270
|
-
| `always` | All models, all endpoints |
|
|
271
|
-
| `never` | Disabled |
|
|
269
|
+
| `auto` (default) | Anthropic models on `/v1/chat/completions`; all models on `/v1/messages` and `/v1/responses` | Passthrough client session ID if present; otherwise generate proxy UUID |
|
|
270
|
+
| `always` | All models, all endpoints | Always generate proxy session ID, ignoring client-provided |
|
|
271
|
+
| `never` | Disabled | Don't manage session headers — pass through as-is |
|
|
272
272
|
|
|
273
273
|
`cacheControlTtl` values:
|
|
274
274
|
|
|
@@ -331,7 +331,7 @@ When both formats are present (e.g., OpenRouter relaying an Anthropic response),
|
|
|
331
331
|
|
|
332
332
|
## Interactive Config Manager
|
|
333
333
|
|
|
334
|
-
Proxitor includes an interactive CLI for managing
|
|
334
|
+
Proxitor includes an interactive CLI for managing configuration — global settings, model overrides, and diagnostics — without editing YAML by hand.
|
|
335
335
|
|
|
336
336
|
### Setup wizard
|
|
337
337
|
|
|
@@ -354,6 +354,16 @@ After collecting the key, base URL, and auth type, the wizard performs a **best-
|
|
|
354
354
|
|
|
355
355
|
If a config already exists, the wizard shows its location and asks whether to reconfigure. All fields are **pre-filled** with current values — press Enter to keep, or type a new value. Existing `modelOverrides`, `provider`, and other fields are preserved — only the wizard fields are updated.
|
|
356
356
|
|
|
357
|
+
### Config menu
|
|
358
|
+
|
|
359
|
+
`proxitor config` (or `proxitor config menu`) opens an interactive menu that loops until you exit. From there you can manage all settings:
|
|
360
|
+
|
|
361
|
+
- **Show current config** — display the resolved configuration
|
|
362
|
+
- **API key & connection** — change API key, port, listen address, base URL, auth type
|
|
363
|
+
- **Session routing** — set global `sessionId` mode (`auto` / `always` / `never`)
|
|
364
|
+
- **Cache control** — set global `cacheControl` mode and TTL
|
|
365
|
+
- **Model overrides** — add, edit, remove, list, or browse models
|
|
366
|
+
|
|
357
367
|
```sh
|
|
358
368
|
proxitor config menu # interactive menu
|
|
359
369
|
proxitor config add # add a model override
|
|
@@ -372,6 +382,8 @@ proxitor doctor --json # machine-readable diagnostic report
|
|
|
372
382
|
proxitor doctor --offline # skip network checks
|
|
373
383
|
```
|
|
374
384
|
|
|
385
|
+
When adding or editing a model override, you can also configure per-model `sessionId` and `cacheControl` — useful for models that need different caching or routing behavior than the global default.
|
|
386
|
+
|
|
375
387
|
### Add override walkthrough
|
|
376
388
|
|
|
377
389
|
```sh
|