pi-cliproxyapi 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +8 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -136,7 +136,14 @@ Run `/cliproxy-setup` in Pi and enter:
136
136
  - **providerPrefix** — short slug for custom provider names (e.g. `corp`, `myproxy`)
137
137
  - **usageKey** — same value as `PI_PLUGIN_USAGE_KEY` above (enables `/cliproxy-usage`)
138
138
 
139
- The sidecar is **optional** — the plugin works without it using `/v1/models` + local classification. But you lose enriched metadata and `/cliproxy-usage`.
139
+ The sidecar is **optional for basic usage** — without it the plugin falls back to raw `/v1/models` with local heuristics. What changes:
140
+
141
+ | | With sidecar | Without sidecar |
142
+ | --- | --- | --- |
143
+ | Model discovery | Enriched from [models.dev](https://models.dev) (real context windows, costs, reasoning) | Defaults: `contextWindow=128k`, `maxTokens=16k`, `cost=0`, `reasoning=false` |
144
+ | `/cliproxy-usage` | Works — per-account quota bars | **Does not work** (no `/api/usage` endpoint) |
145
+ | Classification | Server-side, accurate | Local heuristics by `owned_by` |
146
+ | `/cliproxy`, `/cliproxy-list`, `/cliproxy-doctor` | Work | Work |
140
147
 
141
148
  ## Layout
142
149
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-cliproxyapi",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "Pi extension for corporate management of model providers via a single CliProxyAPI endpoint",
6
6
  "license": "MIT",