@leadbay/mcp 0.17.1 → 0.17.3

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog — @leadbay/mcp
2
2
 
3
+ ## 0.17.3 — 2026-06-01
4
+
5
+ - **Lens management on the default surface**: lenses are now fully manageable from chat, no `LEADBAY_MCP_ADVANCED` needed.
6
+ - `leadbay_my_lenses` (write) — list your lenses, switch the active one, rename / set description, or delete (delete is confirm-gated and refuses the default lens).
7
+ - `leadbay_new_lens` (write) — create a named lens with sector/size criteria in one call; previews and confirms before creating, and rolls back the created lens if applying its filter fails (no orphan half-built lenses).
8
+ - `leadbay_adjust_audience` — new `lensName` param edits a lens **by name** without switching your active lens (edit-only).
9
+ - `leadbay_list_sectors` (read, always-on) — the sector taxonomy lookup, so the agent stops guessing sector names.
10
+ - **Routing**: `leadbay_adjust_audience` and `leadbay_refine_prompt` gained routing blocks so "create a lens" reaches `new_lens` (not `refine_prompt`) and "add X to my Y lens" fills `lensName` instead of editing the active lens.
11
+ - **Backend contract fixes** (were causing `400 JSON deserialization error` on lens create/edit, verified live): `POST /lenses` `base` sent as a string; `POST /lenses/:id/filter` sent as the unwrapped `{items:[…]}` body; `size` criteria carry both `min` and `max`.
12
+
13
+ ## 0.17.2 — 2026-06-01
14
+
15
+ - **Linux installer fix**: skip Electron when no display is available (`$DISPLAY`/`$WAYLAND_DISPLAY` unset) and go straight to browser fallback — eliminates the double GUI URL on headless Linux terminals.
16
+ - **Browser open fallbacks**: on Linux, try `xdg-open` → `sensible-browser` → `google-chrome` → `chromium-browser` → `firefox` in order. If all fail, print a clear "Open this URL in your browser" message instead of silently doing nothing.
17
+ - **GitHub release notes**: release body now contains the actual CHANGELOG section for the version instead of "see CHANGELOG.md".
18
+
3
19
  ## 0.17.1 — 2026-06-01
4
20
 
5
21
  - **Publish fix**: the `installer` npm bin (`npx -y -p @leadbay/mcp@latest installer`) was missing from the 0.17.0 tarball because the package was published before the installer wizard merged. This patch re-publishes with the correct bin entries.
package/README.md CHANGED
@@ -699,7 +699,44 @@ Accepted values: `"true"|"1"|"yes"|"on"` enable; `"false"|"0"|"no"|"off"` disabl
699
699
 
700
700
  Contact data fetched through this server stays local to your MCP client session — telemetry never carries it. Requests to Leadbay are subject to the [Leadbay privacy policy](https://leadbay.ai/privacy).
701
701
 
702
- ## 9. For maintainerspublishing
702
+ ## 9. For developerstesting a local build
703
+
704
+ Use this when you want to test changes to the MCP server in your real MCP clients (Claude Desktop, Claude Code, Cursor, Codex) without publishing to npm.
705
+
706
+ ### 1. Build
707
+
708
+ ```bash
709
+ pnpm install
710
+ pnpm build
711
+ ```
712
+
713
+ ### 2. Run the installer with `--local`
714
+
715
+ ```bash
716
+ pnpm --filter @leadbay/mcp installer -- --local
717
+ ```
718
+
719
+ This opens the installer wizard in your browser. Sign in with OAuth, select your clients, and click Install. The wizard writes `node /absolute/path/to/dist/bin.js` into each client's config instead of the usual `npx @leadbay/mcp@latest` invocation.
720
+
721
+ ### 3. Restart your MCP client
722
+
723
+ Restart Claude Desktop / Claude Code / Cursor / Codex to pick up the new config.
724
+
725
+ ### Revert to the published version
726
+
727
+ Run the installer again **without** `--local` to switch back to npm:
728
+
729
+ ```bash
730
+ pnpm --filter @leadbay/mcp installer
731
+ ```
732
+
733
+ Or use the published package directly:
734
+
735
+ ```bash
736
+ npx -y -p @leadbay/mcp@latest installer
737
+ ```
738
+
739
+ ## 10. For maintainers — publishing
703
740
 
704
741
  Releases are tag-driven via `.github/workflows/release.yml`. Bump `packages/mcp/package.json#version`, update `packages/mcp/CHANGELOG.md`, land on `main`, then:
705
742