pi-provimux 105.0.3 → 105.0.4
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/CHANGELOG.md +7 -0
- package/README.md +3 -3
- package/extensions/index.ts +1 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 105.0.4
|
|
4
|
+
|
|
5
|
+
- **`/cliproxyapi-refresh` is gone.** Only `/provimux-refresh` reloads the model list; pi no longer shows two
|
|
6
|
+
refresh commands. Everything else of 105.0.3 stays: the provider id `cliproxyapi`, the `CLIPROXYAPI_*`
|
|
7
|
+
environment variables, `cliproxyapi.json` and `cliproxyapi-models.json`, `/login cliproxyapi` (and
|
|
8
|
+
`/login CLIProxyAPI`, the same id), and a stored `"providerName": "CLIProxyAPI"` read as Provimux.
|
|
9
|
+
|
|
3
10
|
## 105.0.3
|
|
4
11
|
|
|
5
12
|
The command and the login now say Provimux. The old names keep working.
|
package/README.md
CHANGED
|
@@ -81,11 +81,11 @@ It needs pi 0.99.0 or newer: the Codex WebSocket reports which kind of account a
|
|
|
81
81
|
|
|
82
82
|
pi-provimux keeps everything your setup names: the provider id `cliproxyapi` (so `cliproxyapi/<model>` in your
|
|
83
83
|
settings still works), the `CLIPROXYAPI_*` environment variables, and the files `cliproxyapi.json` and
|
|
84
|
-
`cliproxyapi-models.json`. Two names changed
|
|
84
|
+
`cliproxyapi-models.json`. Two names changed:
|
|
85
85
|
|
|
86
86
|
| Was | Now | The old one |
|
|
87
87
|
| --- | --- | --- |
|
|
88
|
-
| `/cliproxyapi-refresh` | `/provimux-refresh` |
|
|
88
|
+
| `/cliproxyapi-refresh` | `/provimux-refresh` | Gone since 105.0.4: use `/provimux-refresh`. |
|
|
89
89
|
| The login shown as **CLIProxyAPI** | **Provimux** | `/login CLIProxyAPI` still works: pi matches it, ignoring case, to the id `cliproxyapi`. |
|
|
90
90
|
|
|
91
91
|
A `cliproxyapi.json` written by an earlier `/login` holds `"providerName": "CLIProxyAPI"`; it is read as the
|
|
@@ -264,7 +264,7 @@ Use `/provimux-refresh` to force an immediate remote refresh of the model catalo
|
|
|
264
264
|
|
|
265
265
|
### Refresh commands
|
|
266
266
|
|
|
267
|
-
- `/provimux-refresh`
|
|
267
|
+
- `/provimux-refresh` — force an immediate remote refresh of the model catalog, rewrite the cache, and update registered models. Use this after adding or removing models on the proxy without restarting pi.
|
|
268
268
|
- `/login Provimux` / `/login cliproxyapi` — re-entering credentials always forces a fresh models query and rewrites the cache.
|
|
269
269
|
|
|
270
270
|
Delete `~/.pi/agent/cliproxyapi-models.json` to clear the cache manually.
|
package/extensions/index.ts
CHANGED
|
@@ -689,9 +689,8 @@ export function registerFastCommands(options: {
|
|
|
689
689
|
pi.registerCommand("ultrafast", createCommand("ultrafast", "Ultra Fast", "ultrafast"));
|
|
690
690
|
}
|
|
691
691
|
|
|
692
|
-
/** The refresh command
|
|
692
|
+
/** The refresh command. The original extension's name for it, `/cliproxyapi-refresh`, is gone since 105.0.4. */
|
|
693
693
|
export const REFRESH_COMMAND = "provimux-refresh";
|
|
694
|
-
export const LEGACY_REFRESH_COMMAND = "cliproxyapi-refresh";
|
|
695
694
|
|
|
696
695
|
export function registerRefreshCommand(options: {
|
|
697
696
|
pi: ExtensionAPI;
|
|
@@ -788,11 +787,6 @@ export function registerRefreshCommand(options: {
|
|
|
788
787
|
description: "Force refresh Provimux models from the remote catalog.",
|
|
789
788
|
handler: refreshHandler(REFRESH_COMMAND),
|
|
790
789
|
});
|
|
791
|
-
// The original extension's name for it, kept for people coming from pi-cliproxyapi-provider.
|
|
792
|
-
pi.registerCommand(LEGACY_REFRESH_COMMAND, {
|
|
793
|
-
description: `Old name of /${REFRESH_COMMAND}: force refresh Provimux models from the remote catalog.`,
|
|
794
|
-
handler: refreshHandler(LEGACY_REFRESH_COMMAND),
|
|
795
|
-
});
|
|
796
790
|
}
|
|
797
791
|
|
|
798
792
|
export { CLIPROXYAPI_CODEX_API } from "./codex-stream.ts";
|