@sellable/install 0.1.12 → 0.1.13

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.
@@ -15,8 +15,14 @@ import { createInterface } from "node:readline/promises";
15
15
  const DEFAULT_API_URL = "https://app.sellable.dev";
16
16
  const DEFAULT_SERVER_PACKAGE =
17
17
  process.env.SELLABLE_MCP_PACKAGE || "@sellable/mcp";
18
- const CODEX_PLUGIN_VERSION = "0.1.12";
19
- const CODEX_PLUGIN_COMPAT_VERSIONS = ["0.1.8", "0.1.9", "0.1.10", "0.1.11"];
18
+ const CODEX_PLUGIN_VERSION = "0.1.13";
19
+ const CODEX_PLUGIN_COMPAT_VERSIONS = [
20
+ "0.1.8",
21
+ "0.1.9",
22
+ "0.1.10",
23
+ "0.1.11",
24
+ "0.1.12",
25
+ ];
20
26
  const INSTALL_PACKAGE_SPEC = `@sellable/install@${CODEX_PLUGIN_VERSION}`;
21
27
 
22
28
  function usage() {
@@ -460,9 +466,9 @@ instruction loading, file lookup, plugin cache versions, missing linked files,
460
466
  or tool discovery. Start in product language:
461
467
 
462
468
  \`\`\`text
463
- I’ll build this as an approval-gated Sellable campaign. First I’ll confirm who
464
- we’re launching for, then I’ll use the quick question panel to collect the
465
- campaign choices before anything is created.
469
+ I’ll build this as an approval-gated Sellable campaign. First I’ll ask who you
470
+ are, use your LinkedIn or company site to understand the company, then confirm
471
+ the sender before anything is created.
466
472
  \`\`\`
467
473
 
468
474
  If a linked/local skill file is stale or missing, silently use the installed
@@ -536,54 +542,74 @@ sender name in the invocation, do one lightweight lookup first:
536
542
  Then summarize what you found in one or two lines and ask the user to confirm
537
543
  the campaign subject and sender before continuing.
538
544
 
539
- If the user did not provide the launch identity, make the first quick question
540
- panel an identity gate. The point of this gate is not "pick a sender"; it is to
541
- learn who the user is / what company we are launching for, and who we should
542
- send from. Before that gate, call \`mcp__sellable__list_senders\` once if it is
543
- available, only so you can offer connected senders as shortcuts.
545
+ If the user did not provide the launch identity, quietly call
546
+ \`mcp__sellable__list_senders\` once if available. This is a shortcut to deduce
547
+ who the user might be from their Sellable API token and connected LinkedIn
548
+ accounts. Do not present it as a sender picker yet. If there is one strong
549
+ likely sender, use \`mcp__sellable__enrich_sender\` to infer their current or
550
+ most recent company, then ask:
544
551
 
545
552
  The customer-facing shape should be:
546
553
 
547
554
  \`\`\`text
548
- I found these connected senders in {workspace}: {sender names}.
555
+ I’m ready to build this in {workspace}. I found {matched sender} connected here.
556
+
557
+ Is that you, and is this campaign for {company}?
558
+ \`\`\`
559
+
560
+ If there is no strong sender match, make the first quick question panel ask for
561
+ the user's LinkedIn URL or company website. The point of this gate is not "pick
562
+ a sender"; it is to learn who the user is, infer the current or most recent
563
+ company, and then confirm who we are sending from. The customer-facing shape
564
+ should be:
565
+
566
+ \`\`\`text
567
+ I’m ready to build this in {workspace}.
549
568
 
550
- First I need to know who this campaign is for and who we’re sending from. If
551
- one of these connected senders is you, pick them; otherwise paste your LinkedIn
552
- URL or company website.
569
+ First, what’s your LinkedIn URL? If you’d rather start from the company, paste
570
+ the company website instead.
553
571
  \`\`\`
554
572
 
555
- The identity gate should ask:
573
+ The LinkedIn/company identity gate should ask:
556
574
 
557
- 1. \`Who is this campaign for?\` Options: connected sender names if available,
558
- \`I’ll paste a LinkedIn profile\`, \`I’ll paste a company website/domain\`,
559
- \`Other / custom\`.
560
- 2. \`Who should the LinkedIn messages send from?\` Options: \`same person/company\`,
561
- connected sender names if available, \`I’ll paste a different sender profile\`,
562
- \`Other / custom\`.
575
+ 1. \`What’s your LinkedIn URL?\` Options: \`I’ll paste my LinkedIn profile\`,
576
+ \`I’ll paste the company website instead\`, \`Other / custom\`.
563
577
 
564
- After that answer, do the lightweight lookup. For a connected sender, call
565
- \`mcp__sellable__enrich_sender\` and identify their current or most recent
566
- company. For a LinkedIn profile, call
567
- \`mcp__sellable__fetch_linkedin_profile\` and infer the current or most recent
568
- company from the profile. Then ask:
578
+ After that answer, do the lightweight lookup. For a LinkedIn profile, call
579
+ \`mcp__sellable__fetch_linkedin_profile\` and infer the user's current or most
580
+ recent company from the profile. For a company website, call
581
+ \`mcp__sellable__fetch_company\` when possible, otherwise one web lookup.
582
+
583
+ If \`mcp__sellable__list_senders\` did not already run, call it once after the
584
+ lookup to see whether the fetched user appears to match a connected sender. If
585
+ there is a likely match, ask:
586
+
587
+ \`\`\`text
588
+ Cool — are you {matched sender}, and is this campaign for {company}?
589
+ \`\`\`
590
+
591
+ If there is no likely sender match, ask:
569
592
 
570
593
  \`\`\`text
571
- Cool — I have this as {campaign subject/company}, sending from {sender}. Is that right?
594
+ Cool — I have this campaign as {company}. Who should the LinkedIn messages send from?
572
595
  \`\`\`
573
596
 
574
- After the user confirms the subject and sender, run one lightweight company lookup
575
- (\`mcp__sellable__fetch_company\` when possible, otherwise one web lookup), then
576
- ask the campaign setup questions. The setup questions should use the confirmed
577
- company context so they do not feel generic.
597
+ Sender options should include connected sender names if available, \`same as
598
+ me\`, \`I’ll paste a different sender profile\`, and \`Other / custom\`.
599
+
600
+ After the user confirms the subject and sender, run one lightweight company
601
+ lookup if it has not already run, then ask the campaign setup questions. The
602
+ setup questions should use the confirmed company context so they do not feel
603
+ generic.
578
604
 
579
605
  Before the identity gate, use this customer-facing shape:
580
606
 
581
607
  \`\`\`text
582
608
  I’m ready to build the campaign in {workspace}.
583
609
 
584
- First I need to confirm who this campaign is for and who we’re sending from. If
585
- you already have a connected sender, I can use that to infer the company;
586
- otherwise paste a LinkedIn profile or company website and I’ll look it up.
610
+ First I’ll check whether your Sellable token already tells me who you are. If
611
+ not, I’ll ask for your LinkedIn URL or company website, look it up, then confirm
612
+ the company and sender before we pick the target, offer, proof, and lead source.
587
613
 
588
614
  Then I’ll turn that into a campaign brief for you to approve before anything is created.
589
615
  \`\`\`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/install",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "type": "module",
5
5
  "description": "One-command installer for Sellable MCP in Claude Code and Codex",
6
6
  "bin": {