@leadbay/mcp 0.38.0 → 0.38.2

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,64 @@
1
1
  # Changelog — @leadbay/mcp
2
2
 
3
+ ## 0.38.2 — 2026-09-14
4
+
5
+ Four fixes merged since 0.38.1 (#224, #227, #228, #229).
6
+
7
+ - **Quota shows only when it matters** (#224). `leadbay_account_status`
8
+ answers a plain "what account am I connected to?" with user and org. The
9
+ quota gauge appears when the user asks about quota, usage or account status,
10
+ or when a window is exhausted. It keeps its dollars. The `QUOTA_REFRESH`
11
+ server instruction and the `enrich_titles`, `bulk_enrich_status` and
12
+ `build_campaign` descriptions no longer show refreshed quota after every
13
+ enrichment run. The job progress message drops its cents-spent segment.
14
+ - **A name lookup no longer answers with a different company** (#229,
15
+ product#4130). `leadbay_research_lead_by_name_fuzzy` took the typeahead's
16
+ first hit, which also matches on trigram similarity above 0.3, so "THEOMA
17
+ GESTION PRIVEE" returned PILOTE GESTION. A company hit now counts only when
18
+ every word of one name is in the other, with one wrong, missing or extra
19
+ letter per word. Otherwise the lookup goes on to the registry.
20
+ - **`leadbay_research_lead_by_id` refuses a missing `leadId`** (#228, Sentry
21
+ MCP-46). The call reached `/lenses/48189/leads/undefined` plus five
22
+ sub-requests. It is now `INVALID_PARAMS` before any request. `new_lens`,
23
+ `set_qualification_questions` and `find_new_leads` declare the backend's
24
+ limits: 255 characters, `min_ai_score` in [-30, 30], at most 10
25
+ `contact_titles`.
26
+ - **Artifact skin readable in dark mode** (#227, product#4057). The default
27
+ chip label read 1.16:1 in dark mode. The semantic colour pairs now flip with
28
+ the theme, long emails wrap inside the card, success and error pills carry
29
+ different glyphs, and a saved button stops showing "saved" after 1.6 s.
30
+
31
+ ## 0.38.1 — 2026-09-12
32
+
33
+ Five fixes merged since 0.38.0 (#216, #219, #220, #221, #225). The backend
34
+ changes #219 and #220 describe (backend#2030, #2031) reached production in
35
+ backend v3.24.0.
36
+
37
+ - **`leadbay_lead_job_status` results fit in one host result** (#221). A
38
+ delivered item carried the backend's whole `QualifiedLead` (~6.6 KB). 23 of
39
+ them made a 158 KB result that Claude Code moved to a file the session could
40
+ not open (SnapLock rehearsal, prod job `24203dfe`). `splitItems` now keeps
41
+ what the tables read, and trims later rows to company, scores and contact.
42
+ The real job went from 152,750 to 32,114 chars.
43
+ - **A pacing 429 is not a credit wall** (#221). The 10-per-hour and 3-running
44
+ lead-job refusals (`rate_limited` / `active_job_cap`) said "Quota exceeded …
45
+ top up", so the agent offered a Stripe link on an unlimited org. On the
46
+ submit endpoints they now say it is a pacing limit, to wait, and to read the
47
+ running jobs. The code stays `QUOTA_EXCEEDED`.
48
+ - **`leadbay_bulk_enrich_status` counts settled reservations** (#216,
49
+ product#4102). It read `email` / `phone_number` off the `source:"paid"`
50
+ record, which never carries them, so every email or phone poll read
51
+ `done: 0`. It now reads `enrichment.done`.
52
+ - **`max_cost` defaults to 100000 on every plan** (#219). `find_new_leads` and
53
+ `qualify_leads` described a plan-tier default (500/2000/5000). The backend
54
+ now keeps what the requested emails and phones cost out of qualification's
55
+ reach, and refuses a cap below it.
56
+ - **Usage is a share of the plan's quota** (#220, #225). Descriptions, prompts
57
+ and runtime hints no longer quote per-lead prices or call reveals "paid" or
58
+ "billed". Consent asks name what will run, with no amount. The
59
+ `leadbay_account_status` quota gauge keeps its dollars, because there the
60
+ user knows it is their plan.
61
+
3
62
  ## 0.38.0 — 2026-09-10
4
63
 
5
64
  `leadbay_account_status` now returns `mcp_version`, the version of the server