wisp-router 2.0.10 → 2.0.11
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 +15 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -22,6 +22,21 @@ wisp serve # headless Bridge host
|
|
|
22
22
|
claude-wisp # Claude Code through the Bridge (start the Bridge first)
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
## Routing
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
wisp routing # show Family routes and Aliases
|
|
29
|
+
wisp routing --json # machine-readable snapshot
|
|
30
|
+
wisp routing set haiku codex/gpt-5.3-codex # set a Family route
|
|
31
|
+
wisp routing set fast openrouter/openai/gpt-5 # create or retarget an Alias
|
|
32
|
+
wisp routing unset haiku # clear a Family route
|
|
33
|
+
wisp routing unset fast # remove an Alias
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Targets use `<providerId>/<model>` and split on the first `/`, so Provider-native model ids may contain more slashes. A valid target is written even when its Provider lacks an API key or OAuth sign-in; the command exits zero and prints a `warning:` line.
|
|
37
|
+
|
|
38
|
+
Routing commands edit the shared `~/.wisp/config.json` atomically. A running Bridge reads that file for every request, so the next request uses the new binding without a restart.
|
|
39
|
+
|
|
25
40
|
State lives in `~/.wisp/` (`config.json` + owner-only `auth.json`), shared with the Wisp VS Code extension.
|
|
26
41
|
|
|
27
42
|
## Versioning
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wisp-router",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Wisp — BYOK model router: terminal UI, local Bridge (OpenAI + Anthropic doors), and the claude-wisp launcher for Claude Code",
|
|
6
6
|
"bin": {
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"node": ">=16"
|
|
19
19
|
},
|
|
20
20
|
"optionalDependencies": {
|
|
21
|
-
"@tsd47216/wisp-router-win32-x64": "2.0.
|
|
22
|
-
"@tsd47216/wisp-router-darwin-arm64": "2.0.
|
|
23
|
-
"@tsd47216/wisp-router-darwin-x64": "2.0.
|
|
24
|
-
"@tsd47216/wisp-router-linux-x64": "2.0.
|
|
21
|
+
"@tsd47216/wisp-router-win32-x64": "2.0.11",
|
|
22
|
+
"@tsd47216/wisp-router-darwin-arm64": "2.0.11",
|
|
23
|
+
"@tsd47216/wisp-router-darwin-x64": "2.0.11",
|
|
24
|
+
"@tsd47216/wisp-router-linux-x64": "2.0.11"
|
|
25
25
|
}
|
|
26
26
|
}
|