@leadbay/mcp 0.15.1 → 0.16.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 +45 -0
- package/README.md +59 -17
- package/dist/bin.js +671 -53
- package/dist/{chunk-5IL7SC7L.js → chunk-3V3EPBLZ.js} +86 -40
- package/dist/{dist-2NAFYPXG.js → dist-7XHTMWB2.js} +3 -1
- package/package.json +3 -2
|
@@ -175,9 +175,16 @@ var LeadbayClient = class {
|
|
|
175
175
|
// surface latency/region/retry_after to the agent in their `_meta` block.
|
|
176
176
|
_lastMeta = null;
|
|
177
177
|
constructor(baseUrl, token, region) {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
if (typeof baseUrl === "object") {
|
|
179
|
+
const opts = baseUrl;
|
|
180
|
+
this._baseUrl = opts.baseUrl.replace(/\/+$/, "");
|
|
181
|
+
this.token = opts.bearer ?? null;
|
|
182
|
+
this._region = opts.region ?? (opts.baseUrl === REGIONS.us ? "us" : opts.baseUrl === REGIONS.fr ? "fr" : "custom");
|
|
183
|
+
} else {
|
|
184
|
+
this._baseUrl = baseUrl.replace(/\/+$/, "");
|
|
185
|
+
this.token = token ?? null;
|
|
186
|
+
this._region = region ?? (baseUrl === REGIONS.us ? "us" : baseUrl === REGIONS.fr ? "fr" : "custom");
|
|
187
|
+
}
|
|
181
188
|
}
|
|
182
189
|
get baseUrl() {
|
|
183
190
|
return this._baseUrl;
|
|
@@ -4941,17 +4948,49 @@ function makeAgentMemoryTombstone(input) {
|
|
|
4941
4948
|
};
|
|
4942
4949
|
}
|
|
4943
4950
|
|
|
4951
|
+
// ../core/dist/composite/_composite-file-names.js
|
|
4952
|
+
var COMPOSITE_FILE_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
4953
|
+
"leadbay_account_status",
|
|
4954
|
+
"leadbay_add_leads_to_campaign",
|
|
4955
|
+
"leadbay_adjust_audience",
|
|
4956
|
+
"leadbay_answer_clarification",
|
|
4957
|
+
"leadbay_bulk_enrich_status",
|
|
4958
|
+
"leadbay_bulk_qualify_leads",
|
|
4959
|
+
"leadbay_campaign_call_sheet",
|
|
4960
|
+
"leadbay_campaign_progression",
|
|
4961
|
+
"leadbay_create_campaign",
|
|
4962
|
+
"leadbay_enrich_titles",
|
|
4963
|
+
"leadbay_followups_map",
|
|
4964
|
+
"leadbay_import_and_qualify",
|
|
4965
|
+
"leadbay_import_leads",
|
|
4966
|
+
"leadbay_import_status",
|
|
4967
|
+
"leadbay_list_campaigns",
|
|
4968
|
+
"leadbay_prepare_outreach",
|
|
4969
|
+
"leadbay_pull_followups",
|
|
4970
|
+
"leadbay_pull_leads",
|
|
4971
|
+
"leadbay_qualify_status",
|
|
4972
|
+
"leadbay_recall_ordered_titles",
|
|
4973
|
+
"leadbay_refine_prompt",
|
|
4974
|
+
"leadbay_remove_leads_from_campaign",
|
|
4975
|
+
"leadbay_report_friction",
|
|
4976
|
+
"leadbay_report_outreach",
|
|
4977
|
+
"leadbay_research_lead_by_id",
|
|
4978
|
+
"leadbay_research_lead_by_name_fuzzy",
|
|
4979
|
+
"leadbay_resolve_import_rows",
|
|
4980
|
+
"leadbay_tour_plan"
|
|
4981
|
+
]);
|
|
4982
|
+
|
|
4944
4983
|
// ../core/dist/tool-descriptions.generated.js
|
|
4945
4984
|
var leadbay_account_status = `## WHEN TO USE
|
|
4946
4985
|
|
|
4947
4986
|
Trigger phrases: "what's my account status", "how much quota do I have", "what lens am I on", "I topped up / I bought credits / I added credits".
|
|
4948
4987
|
|
|
4988
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
4989
|
+
|
|
4949
4990
|
Do NOT use for: "show me leads" \u2192 \`leadbay_pull_leads\`.
|
|
4950
4991
|
|
|
4951
4992
|
Prefer when: meta question about account, quota, active lens, or top-up recovery
|
|
4952
4993
|
|
|
4953
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
4954
|
-
|
|
4955
4994
|
Examples that SHOULD invoke this tool:
|
|
4956
4995
|
- "What's my account status?"
|
|
4957
4996
|
- "How much quota do I have left this week?"
|
|
@@ -4985,12 +5024,12 @@ var leadbay_add_leads_to_campaign = `## WHEN TO USE
|
|
|
4985
5024
|
|
|
4986
5025
|
Trigger phrases: "add leads to <name> campaign", "attach these to <campaign>", "put these in Q2 Push", "add to existing campaign".
|
|
4987
5026
|
|
|
5027
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
5028
|
+
|
|
4988
5029
|
Do NOT use for: "create a new campaign" \u2192 \`leadbay_create_campaign\`; "remove lead from campaign" \u2192 \`leadbay_remove_leads_from_campaign\`; "list campaigns" \u2192 \`leadbay_list_campaigns\`.
|
|
4989
5030
|
|
|
4990
5031
|
Prefer when: existing campaign plus lead ids to attach; for a new campaign, use create_campaign
|
|
4991
5032
|
|
|
4992
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
4993
|
-
|
|
4994
5033
|
Examples that SHOULD invoke this tool:
|
|
4995
5034
|
- "Add the three new Tulsa leads to my 'OK Sweep' campaign."
|
|
4996
5035
|
- "Attach these qualified leads to campaign id 1f12...?"
|
|
@@ -5159,12 +5198,12 @@ var leadbay_campaign_call_sheet = `## WHEN TO USE
|
|
|
5159
5198
|
|
|
5160
5199
|
Trigger phrases: "campaign call sheet", "people to call in <campaign>", "cold-calling cheat sheet", "work this campaign", "calling session for <campaign>".
|
|
5161
5200
|
|
|
5201
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
5202
|
+
|
|
5162
5203
|
Do NOT use for: "campaign pulse only" \u2192 \`leadbay_campaign_progression\`; "create campaign" \u2192 \`leadbay_create_campaign\`; "list campaigns" \u2192 \`leadbay_list_campaigns\`.
|
|
5163
5204
|
|
|
5164
5205
|
Prefer when: user wants one campaign with phone + LinkedIn contacts ready to call
|
|
5165
5206
|
|
|
5166
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
5167
|
-
|
|
5168
5207
|
Examples that SHOULD invoke this tool:
|
|
5169
5208
|
- "Show me my Limoges Tour campaign as a call sheet."
|
|
5170
5209
|
- "I'm about to do a calling session \u2014 render the Q2 Push campaign."
|
|
@@ -5319,12 +5358,12 @@ var leadbay_campaign_progression = `## WHEN TO USE
|
|
|
5319
5358
|
|
|
5320
5359
|
Trigger phrases: "how is my <name> campaign doing", "campaign progression", "lead-by-lead status on <campaign>", "who in <campaign> have I contacted", "what's stuck in my campaign".
|
|
5321
5360
|
|
|
5361
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
5362
|
+
|
|
5322
5363
|
Do NOT use for: "pulse across all campaigns (not one)" \u2192 \`leadbay_list_campaigns\`; "log an outreach event" \u2192 \`leadbay_report_outreach\`.
|
|
5323
5364
|
|
|
5324
5365
|
Prefer when: user named (or just selected from list_campaigns) ONE campaign and wants per-lead status. Use list_campaigns for the cross-campaign overview
|
|
5325
5366
|
|
|
5326
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
5327
|
-
|
|
5328
5367
|
Examples that SHOULD invoke this tool:
|
|
5329
5368
|
- "Walk me through the Limoges Tour campaign \u2014 who have I touched?"
|
|
5330
5369
|
- "Show progression on campaign 1f12...?"
|
|
@@ -5387,12 +5426,12 @@ var leadbay_create_campaign = `## WHEN TO USE
|
|
|
5387
5426
|
|
|
5388
5427
|
Trigger phrases: "create a campaign called <name>", "save these leads as a campaign", "campaign for my <city> trip", "group these leads", "persist these leads".
|
|
5389
5428
|
|
|
5429
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
5430
|
+
|
|
5390
5431
|
Do NOT use for: "list campaigns" \u2192 \`leadbay_list_campaigns\`; "add to existing campaign" \u2192 \`leadbay_add_leads_to_campaign\`; "log outreach" \u2192 \`leadbay_report_outreach\`.
|
|
5391
5432
|
|
|
5392
5433
|
Prefer when: user wants to persist picked leads as a named cohort to work later
|
|
5393
5434
|
|
|
5394
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
5395
|
-
|
|
5396
5435
|
Examples that SHOULD invoke this tool:
|
|
5397
5436
|
- "Save these 9 leads as a campaign called 'Limoges Tour \u2013 May 24'."
|
|
5398
5437
|
- "Create a campaign for the qualified leads I just picked."
|
|
@@ -5493,12 +5532,12 @@ var leadbay_dislike_lead = `## WHEN TO USE
|
|
|
5493
5532
|
|
|
5494
5533
|
Trigger phrases: "I don't like this lead", "thumbs down", "not relevant", "wrong industry", "too small", "skip permanently", "not a fit", "no to this one".
|
|
5495
5534
|
|
|
5535
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
5536
|
+
|
|
5496
5537
|
Do NOT use for: "remind me later / snooze / not now" \u2192 \`leadbay_set_pushback\`; "thumbs up / save this one" \u2192 \`leadbay_like_lead\`.
|
|
5497
5538
|
|
|
5498
5539
|
Prefer when: durable rejection of a specific lead; pass \`lead_id\`. For temporary deferral, route to \`leadbay_set_pushback\`.
|
|
5499
5540
|
|
|
5500
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
5501
|
-
|
|
5502
5541
|
Examples that SHOULD invoke this tool:
|
|
5503
5542
|
- "Thumbs down \u2014 wrong industry."
|
|
5504
5543
|
- "Dislike this one, never show me leads like this again."
|
|
@@ -5557,12 +5596,12 @@ var leadbay_followups_map = `## WHEN TO USE
|
|
|
5557
5596
|
|
|
5558
5597
|
Trigger phrases: "I'm going to <city>", "visit in person", "map of leads", "plan my itinerary".
|
|
5559
5598
|
|
|
5599
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
5600
|
+
|
|
5560
5601
|
Do NOT use for: "default follow-up table" \u2192 \`leadbay_pull_followups\`; "new prospects" \u2192 \`leadbay_pull_leads\`.
|
|
5561
5602
|
|
|
5562
5603
|
Prefer when: geographic, travel, in-person, itinerary, or map intent
|
|
5563
5604
|
|
|
5564
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
5565
|
-
|
|
5566
5605
|
Examples that SHOULD invoke this tool:
|
|
5567
5606
|
- "I'm flying to New York Thursday \u2014 who should I meet in person?"
|
|
5568
5607
|
- "Who can I visit while I'm in Chicago next week?"
|
|
@@ -6011,12 +6050,12 @@ var leadbay_like_lead = `## WHEN TO USE
|
|
|
6011
6050
|
|
|
6012
6051
|
Trigger phrases: "I like this lead", "thumbs up", "this one looks good", "save this one", "this is a good fit", "more like this", "yes to this one".
|
|
6013
6052
|
|
|
6053
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6054
|
+
|
|
6014
6055
|
Do NOT use for: "remind me about this lead later / snooze it" \u2192 \`leadbay_set_pushback\`; "not relevant / wrong fit / thumbs down" \u2192 \`leadbay_dislike_lead\`.
|
|
6015
6056
|
|
|
6016
6057
|
Prefer when: user expresses durable positive interest in a specific lead; pass the lead's UUID as \`lead_id\`
|
|
6017
6058
|
|
|
6018
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6019
|
-
|
|
6020
6059
|
Examples that SHOULD invoke this tool:
|
|
6021
6060
|
- "I like this lead \u2014 show me more like it."
|
|
6022
6061
|
- "Thumbs up on Acme Corp, save it."
|
|
@@ -6049,12 +6088,12 @@ var leadbay_list_campaigns = `## WHEN TO USE
|
|
|
6049
6088
|
|
|
6050
6089
|
Trigger phrases: "what campaigns do I have", "list my campaigns", "show me my active campaigns", "campaign overview", "what's in flight", "pulse on my campaigns".
|
|
6051
6090
|
|
|
6091
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6092
|
+
|
|
6052
6093
|
Do NOT use for: "create a new campaign" \u2192 \`leadbay_create_campaign\`; "drill into one specific campaign's progression" \u2192 \`leadbay_campaign_progression\`.
|
|
6053
6094
|
|
|
6054
6095
|
Prefer when: user wants the pulse / overview view across all their campaigns. Use campaign_progression to drill into one
|
|
6055
6096
|
|
|
6056
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6057
|
-
|
|
6058
6097
|
Examples that SHOULD invoke this tool:
|
|
6059
6098
|
- "What campaigns am I running?"
|
|
6060
6099
|
- "Show me my active campaigns and how they're doing."
|
|
@@ -6176,12 +6215,12 @@ var leadbay_prepare_outreach = `## WHEN TO USE
|
|
|
6176
6215
|
|
|
6177
6216
|
Trigger phrases: "draft outreach for <Contact>", "write an email to <Contact>", "outreach package for <Company>".
|
|
6178
6217
|
|
|
6218
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6219
|
+
|
|
6179
6220
|
Do NOT use for: "research before drafting" \u2192 \`leadbay_research_lead_by_id\`; "log sent outreach" \u2192 \`leadbay_report_outreach\`; "bulk enrich contacts" \u2192 \`leadbay_enrich_titles\`.
|
|
6180
6221
|
|
|
6181
6222
|
Prefer when: single picked lead/contact; action-imminent drafting context
|
|
6182
6223
|
|
|
6183
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6184
|
-
|
|
6185
6224
|
Examples that SHOULD invoke this tool:
|
|
6186
6225
|
- "Draft an email to Sarah at Acme."
|
|
6187
6226
|
- "I'm about to call Acme's CTO \u2014 prep me."
|
|
@@ -6409,17 +6448,20 @@ This tool MUTATES state. The caller (agent or human-in-the-loop) is responsible
|
|
|
6409
6448
|
`;
|
|
6410
6449
|
var leadbay_pull_followups = `## WHEN TO USE
|
|
6411
6450
|
|
|
6412
|
-
Trigger phrases: "what should I follow up on", "leads I've already worked", "what's overdue", "leads in <city / state / country>".
|
|
6451
|
+
Trigger phrases: "what should I follow up on", "leads I've already worked", "what's overdue", "leads in <city / state / country>", "reach out to today", "should reach out to", "get back to", "contact today", "reconnect with", "re-engage", "leads to contact", "who should I ping".
|
|
6452
|
+
|
|
6453
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6413
6454
|
|
|
6414
6455
|
Do NOT use for: "new leads / today's prospects" \u2192 \`leadbay_pull_leads\`; "map / trip / in person" \u2192 \`leadbay_followups_map\`.
|
|
6415
6456
|
|
|
6416
6457
|
Prefer when: known Monitor leads; pass \`city\` or \`set_filter\` for geo/sector/recency
|
|
6417
6458
|
|
|
6418
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6419
|
-
|
|
6420
6459
|
Examples that SHOULD invoke this tool:
|
|
6421
6460
|
- "What should I follow up on this week?"
|
|
6422
6461
|
- "What's overdue in my pipeline?"
|
|
6462
|
+
- "Show me leads I should reach out to today."
|
|
6463
|
+
- "Who should I get back to today?"
|
|
6464
|
+
- "Leads I should contact today."
|
|
6423
6465
|
|
|
6424
6466
|
Examples that should NOT invoke this tool (sound similar, route elsewhere):
|
|
6425
6467
|
- "Show me today's new leads."
|
|
@@ -6597,13 +6639,13 @@ Always offer at least one of: prep outreach, refilter, pushback. Pushback is the
|
|
|
6597
6639
|
`;
|
|
6598
6640
|
var leadbay_pull_leads = `## WHEN TO USE
|
|
6599
6641
|
|
|
6600
|
-
Trigger phrases: "show me leads", "today's prospects", "best new leads".
|
|
6642
|
+
Trigger phrases: "show me leads", "show me new leads", "show me today's leads", "today's prospects", "best new leads", "fresh leads", "what's new today".
|
|
6601
6643
|
|
|
6602
|
-
|
|
6644
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6603
6645
|
|
|
6604
|
-
|
|
6646
|
+
Do NOT use for: "leads I should follow up with" \u2192 \`leadbay_pull_followups\`; "I'm going to <city>" \u2192 \`leadbay_followups_map\`; "leads I should reach out to" \u2192 \`leadbay_pull_followups\`; "leads to get back to" \u2192 \`leadbay_pull_followups\`; "leads to contact today" \u2192 \`leadbay_pull_followups\`; "should I contact" \u2192 \`leadbay_pull_followups\`; "reconnect with" \u2192 \`leadbay_pull_followups\`; "re-engage" \u2192 \`leadbay_pull_followups\`.
|
|
6605
6647
|
|
|
6606
|
-
|
|
6648
|
+
Prefer when: fresh Discover leads; if a lens is named, pass \`lensId\` and pin it
|
|
6607
6649
|
|
|
6608
6650
|
Examples that SHOULD invoke this tool:
|
|
6609
6651
|
- "Show me today's leads."
|
|
@@ -6612,6 +6654,9 @@ Examples that SHOULD invoke this tool:
|
|
|
6612
6654
|
Examples that should NOT invoke this tool (sound similar, route elsewhere):
|
|
6613
6655
|
- "Which leads should I follow up with this week?"
|
|
6614
6656
|
- "I'm flying to Berlin Thursday \u2014 who should I meet?"
|
|
6657
|
+
- "Show me leads I should reach out to today."
|
|
6658
|
+
- "Who should I get back to today?"
|
|
6659
|
+
- "Leads I should contact today."
|
|
6615
6660
|
|
|
6616
6661
|
## RENDER (quick)
|
|
6617
6662
|
|
|
@@ -6799,12 +6844,12 @@ var leadbay_remove_leads_from_campaign = `## WHEN TO USE
|
|
|
6799
6844
|
|
|
6800
6845
|
Trigger phrases: "remove lead from campaign", "take this out of <campaign>", "remove these from Q2 Push", "delete lead from campaign", "clean up campaign".
|
|
6801
6846
|
|
|
6847
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6848
|
+
|
|
6802
6849
|
Do NOT use for: "add leads to campaign" \u2192 \`leadbay_add_leads_to_campaign\`; "create a new campaign" \u2192 \`leadbay_create_campaign\`; "list campaigns" \u2192 \`leadbay_list_campaigns\`.
|
|
6803
6850
|
|
|
6804
6851
|
Prefer when: user wants to detach one or more leads from an existing campaign
|
|
6805
6852
|
|
|
6806
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6807
|
-
|
|
6808
6853
|
Examples that SHOULD invoke this tool:
|
|
6809
6854
|
- "Remove the Austin lead from my Q2 Push campaign."
|
|
6810
6855
|
- "Take these 3 unqualified leads out of the Limoges Tour."
|
|
@@ -6851,12 +6896,12 @@ var leadbay_report_friction = `## WHEN TO USE
|
|
|
6851
6896
|
|
|
6852
6897
|
Trigger phrases: "no, I meant", "still nothing", "third time asking", "this isn't working", "ugh", "why can't I".
|
|
6853
6898
|
|
|
6899
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6900
|
+
|
|
6854
6901
|
Do NOT use for: "log outreach" \u2192 \`leadbay_report_outreach\`; "thumbs up / down" \u2192 \`leadbay_like_lead\`; "snooze / pushback" \u2192 \`leadbay_set_pushback\`.
|
|
6855
6902
|
|
|
6856
6903
|
Prefer when: user shows frustration OR you notice a tool returned ok but with no useful output \u2014 be proactive.
|
|
6857
6904
|
|
|
6858
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6859
|
-
|
|
6860
6905
|
Examples that SHOULD invoke this tool:
|
|
6861
6906
|
- "No, I meant leads in Wisconsin, not Wyoming."
|
|
6862
6907
|
- "Still nothing? I've asked three times for SaaS founders under 50."
|
|
@@ -6913,12 +6958,12 @@ var leadbay_research_lead_by_id = `## WHEN TO USE
|
|
|
6913
6958
|
|
|
6914
6959
|
Trigger phrases: "tell me about this lead", "deep dive on the lead I just picked", "everything you know about lead <UUID>".
|
|
6915
6960
|
|
|
6961
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6962
|
+
|
|
6916
6963
|
Do NOT use for: "company name without lead id" \u2192 \`leadbay_research_lead_by_name_fuzzy\`; "draft outreach for <Contact>" \u2192 \`leadbay_prepare_outreach\`.
|
|
6917
6964
|
|
|
6918
6965
|
Prefer when: user picked a row and you have its UUID; pass \`leadId\`
|
|
6919
6966
|
|
|
6920
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
6921
|
-
|
|
6922
6967
|
Examples that SHOULD invoke this tool:
|
|
6923
6968
|
- "Tell me everything about that lead I just picked."
|
|
6924
6969
|
- "Is this one actually a fit \u2014 what does the AI think?"
|
|
@@ -7115,12 +7160,12 @@ var leadbay_research_lead_by_name_fuzzy = `## WHEN TO USE
|
|
|
7115
7160
|
|
|
7116
7161
|
Trigger phrases: "look up <Company>", "research <Company>", "what do we know about <Company>".
|
|
7117
7162
|
|
|
7163
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
7164
|
+
|
|
7118
7165
|
Do NOT use for: "picked row with leadId" \u2192 \`leadbay_research_lead_by_id\`; "draft outreach for <Contact>" \u2192 \`leadbay_prepare_outreach\`.
|
|
7119
7166
|
|
|
7120
7167
|
Prefer when: company name in prose and no Leadbay id yet
|
|
7121
7168
|
|
|
7122
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
7123
|
-
|
|
7124
7169
|
Examples that SHOULD invoke this tool:
|
|
7125
7170
|
- "Look up Acme Corp for me."
|
|
7126
7171
|
- "Find Initech in my pipeline."
|
|
@@ -7392,12 +7437,12 @@ var leadbay_tour_plan = `## WHEN TO USE
|
|
|
7392
7437
|
|
|
7393
7438
|
Trigger phrases: "visiting <city> in <N> days", "field tour in <city>", "plan a tour in <city>", "who should I meet in <city>", "customers plus prospects in <city>", "tour itinerary".
|
|
7394
7439
|
|
|
7440
|
+
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
7441
|
+
|
|
7395
7442
|
Do NOT use for: "follow-ups only, no new prospects" \u2192 \`leadbay_followups_map\`; "new leads only" \u2192 \`leadbay_pull_leads\`; "research one account" \u2192 \`leadbay_research_lead_by_id\`.
|
|
7396
7443
|
|
|
7397
7444
|
Prefer when: user wants known accounts plus new discoveries in one geographic itinerary
|
|
7398
7445
|
|
|
7399
|
-
**Memory:** recall + capture via \`leadbay_agent_memory_*\` tools.
|
|
7400
|
-
|
|
7401
7446
|
Examples that SHOULD invoke this tool:
|
|
7402
7447
|
- "I'm flying to Limoges in 4 days \u2014 give me 3 customers, 3 qualified prospects, and 3 new high-potential."
|
|
7403
7448
|
- "Plan my tour next Tuesday in Lyon: known accounts plus discoveries."
|
|
@@ -17689,6 +17734,7 @@ export {
|
|
|
17689
17734
|
withAgentMemoryMeta,
|
|
17690
17735
|
makeAgentMemoryEntry,
|
|
17691
17736
|
makeAgentMemoryTombstone,
|
|
17737
|
+
COMPOSITE_FILE_TOOL_NAMES,
|
|
17692
17738
|
login,
|
|
17693
17739
|
listLenses,
|
|
17694
17740
|
discoverLeads,
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
AgentMemoryScopeSchema,
|
|
7
7
|
AgentMemorySourceSchema,
|
|
8
8
|
AgentMemoryTombstoneSchema,
|
|
9
|
+
COMPOSITE_FILE_TOOL_NAMES,
|
|
9
10
|
InMemoryBulkStore,
|
|
10
11
|
LeadbayClient,
|
|
11
12
|
LocalBulkStore,
|
|
@@ -124,7 +125,7 @@ import {
|
|
|
124
125
|
updateLens,
|
|
125
126
|
updateLensFilter,
|
|
126
127
|
withAgentMemoryMeta
|
|
127
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-3V3EPBLZ.js";
|
|
128
129
|
export {
|
|
129
130
|
AgentMemoryCaptureInputSchema,
|
|
130
131
|
AgentMemoryEntrySchema,
|
|
@@ -132,6 +133,7 @@ export {
|
|
|
132
133
|
AgentMemoryScopeSchema,
|
|
133
134
|
AgentMemorySourceSchema,
|
|
134
135
|
AgentMemoryTombstoneSchema,
|
|
136
|
+
COMPOSITE_FILE_TOOL_NAMES,
|
|
135
137
|
InMemoryBulkStore,
|
|
136
138
|
LeadbayClient,
|
|
137
139
|
LocalBulkStore,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leadbay/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"mcpName": "io.github.leadbay/leadbay-mcp",
|
|
5
5
|
"description": "Model Context Protocol (MCP) server for Leadbay — AI lead discovery, qualification, and enrichment for Claude Desktop, Cursor, and Claude Code.",
|
|
6
6
|
"type": "module",
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@anthropic-ai/sdk": "^0.40.0",
|
|
35
|
-
"@leadbay/core": "workspace:*"
|
|
35
|
+
"@leadbay/core": "workspace:*",
|
|
36
|
+
"@leadbay/promptforge": "workspace:*"
|
|
36
37
|
},
|
|
37
38
|
"engines": {
|
|
38
39
|
"node": ">=22"
|