@1presence/bridge 0.75.0 → 0.76.0
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 +4 -2
- package/dist/config.js +3 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,9 +53,11 @@ Your OAuth tokens and vault data stay server-side — nothing sensitive is store
|
|
|
53
53
|
|
|
54
54
|
## Model
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
**Every start** the bridge asks which Claude model to use — the choice is held in memory for that run only and nothing is written to disk, so restarting always asks again. Pick "Use Claude Code default" to defer to your local Claude Code default, or pin one of the latest models per family: `claude-opus-5`, `claude-fable-5`, `claude-sonnet-5`, `claude-haiku-4-5`. If the prompt times out it auto-selects "Use Claude Code default", which tracks whatever model Claude Code serves for your plan.
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
Superseded versions (`claude-opus-4-8`, `claude-sonnet-4-6`, …) are deliberately not listed. If you need something other than the latest, use "Use Claude Code default" and set the model in Claude Code itself.
|
|
59
|
+
|
|
60
|
+
Every reply prints the model, the account it ran for, and your context/cost usage, so you can always see what is running — and if the model that answered isn't the one you pinned, the bridge says so explicitly. Note that only **one bridge per account** serves your turns: start a second one and the older process exits, because otherwise your turns could be answered by a terminal you aren't watching, on the model *it* pinned.
|
|
59
61
|
|
|
60
62
|
## Signing out
|
|
61
63
|
|
package/dist/config.js
CHANGED
|
@@ -60,12 +60,9 @@ function detectClaudeDefaultModel() {
|
|
|
60
60
|
const MODEL_OPTIONS = [
|
|
61
61
|
{ num: 1, model: null, label: 'Use Claude Code default' },
|
|
62
62
|
{ num: 2, model: 'claude-opus-5', label: 'claude-opus-5' },
|
|
63
|
-
{ num: 3, model: 'claude-
|
|
64
|
-
{ num: 4, model: 'claude-
|
|
65
|
-
{ num: 5, model: 'claude-
|
|
66
|
-
{ num: 6, model: 'claude-sonnet-5', label: 'claude-sonnet-5' },
|
|
67
|
-
{ num: 7, model: 'claude-sonnet-4-6', label: 'claude-sonnet-4-6' },
|
|
68
|
-
{ num: 8, model: 'claude-haiku-4-5', label: 'claude-haiku-4-5' },
|
|
63
|
+
{ num: 3, model: 'claude-fable-5', label: 'claude-fable-5' },
|
|
64
|
+
{ num: 4, model: 'claude-sonnet-5', label: 'claude-sonnet-5' },
|
|
65
|
+
{ num: 5, model: 'claude-haiku-4-5', label: 'claude-haiku-4-5' },
|
|
69
66
|
];
|
|
70
67
|
const PROMPT_TIMEOUT_MS = 10_000;
|
|
71
68
|
const DEFAULT_OPTION_NUM = 1;
|