betahi-copilot-bridge 0.20.6 → 0.20.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  <h1 align="center">copilot-bridge</h1>
2
2
 
3
3
  <p align="center">
4
- <a href="https://www.npmjs.com/package/betahi-copilot-bridge"><img src="https://img.shields.io/npm/v/betahi-copilot-bridge.svg?v=0.20.6" alt="npm version"></a>
4
+ <a href="https://www.npmjs.com/package/betahi-copilot-bridge"><img src="https://img.shields.io/npm/v/betahi-copilot-bridge.svg?v=0.20.8" alt="npm version"></a>
5
5
  <a href="https://github.com/betahi/copilot-bridge/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/betahi-copilot-bridge.svg" alt="license"></a>
6
6
  </p>
7
7
 
@@ -143,9 +143,11 @@ configured, Claude requests do not infer or attach a reasoning effort.
143
143
 
144
144
  ## Web Search
145
145
 
146
- Not every Copilot model can run web search. If web search is not configured or
147
- the selected backend cannot search, the bridge tells the client how to configure
148
- `COPILOT_WEB_SEARCH_BACKEND` and does not switch models automatically.
146
+ Not every Copilot model can run web search. Bridge-managed web search is enabled
147
+ only when `COPILOT_WEB_SEARCH_BACKEND` is present and points to a supported
148
+ backend. If the setting is missing, empty, or names an unsupported backend, the
149
+ bridge treats web search as unsupported and passes the model response through
150
+ normally.
149
151
 
150
152
  For Claude Code, configure web search in the user-level
151
153
  `~/.claude/settings.json`:
@@ -171,6 +173,15 @@ COPILOT_WEB_SEARCH_BACKEND = "gpt-5.5"
171
173
  | `searxng`, use `"COPILOT_WEB_SEARCH_BACKEND": "searxng"` | Local SearXNG at `http://localhost:8080` | Start SearXNG yourself. Setup guide: https://github.com/betaHi/openclaw-searxng-search. |
172
174
  | `copilot-cli` or `copilot`, use `"COPILOT_WEB_SEARCH_BACKEND": "copilot-cli"` | GitHub Copilot CLI `web_search` tool, using the current request model | Install and sign in to GitHub Copilot CLI yourself. |
173
175
 
176
+ Project-local Claude settings do not enable bridge-managed web search. Claude
177
+ Code reads this setting only from the user-level `~/.claude/settings.json`; Codex
178
+ CLI reads it only from the top level of `~/.codex/config.toml`.
179
+
180
+ When a supported backend is configured, the bridge executes web search only after
181
+ the model requests the WebSearch tool. It then sends the search context through a
182
+ final model pass, so Claude Code and Codex CLI receive the WebSearch call plus
183
+ the model's final reasoning/text response instead of raw search output alone.
184
+
174
185
  The bridge never installs Docker, SearXNG, or Copilot CLI automatically.
175
186
 
176
187
  ## Start flags