claude-bridge-cli 2.2.0 → 2.2.1

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/lib/bridge.js +1 -1
  2. package/package.json +1 -1
package/lib/bridge.js CHANGED
@@ -1246,7 +1246,7 @@ function startBridge(config) {
1246
1246
  const q = url.searchParams.get("q") || "";
1247
1247
  const limit = parseInt(url.searchParams.get("limit") || "30", 10);
1248
1248
  const results = searchSessions(q, limit);
1249
- send(200, { results });
1249
+ send(200, { q, results, hits: results }); // `hits` = Python-bridge parity (the extension reads it)
1250
1250
  return;
1251
1251
  }
1252
1252
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-bridge-cli",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Use Claude Code from your browser. Runs a local server that connects your browser tools to the Claude CLI.",
5
5
  "main": "lib/bridge.js",
6
6
  "bin": {