@sellable/install 0.1.10 → 0.1.11
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/bin/sellable-install.mjs +42 -12
- package/package.json +1 -1
package/bin/sellable-install.mjs
CHANGED
|
@@ -15,8 +15,8 @@ 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.
|
|
19
|
-
const CODEX_PLUGIN_COMPAT_VERSIONS = ["0.1.8", "0.1.9"];
|
|
18
|
+
const CODEX_PLUGIN_VERSION = "0.1.11";
|
|
19
|
+
const CODEX_PLUGIN_COMPAT_VERSIONS = ["0.1.8", "0.1.9", "0.1.10"];
|
|
20
20
|
const INSTALL_PACKAGE_SPEC = `@sellable/install@${CODEX_PLUGIN_VERSION}`;
|
|
21
21
|
|
|
22
22
|
function usage() {
|
|
@@ -460,9 +460,9 @@ instruction loading, file lookup, plugin cache versions, missing linked files,
|
|
|
460
460
|
or tool discovery. Start in product language:
|
|
461
461
|
|
|
462
462
|
\`\`\`text
|
|
463
|
-
I’ll build this as an approval-gated Sellable campaign. First I’ll confirm
|
|
464
|
-
|
|
465
|
-
before anything is created.
|
|
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.
|
|
466
466
|
\`\`\`
|
|
467
467
|
|
|
468
468
|
If a linked/local skill file is stale or missing, silently use the installed
|
|
@@ -515,16 +515,45 @@ Customer-facing language must call this the "quick question panel." Do not tell
|
|
|
515
515
|
customers about \`request_user_input\`, Default mode, plugin caches, prompt
|
|
516
516
|
loading, or skill file versions.
|
|
517
517
|
|
|
518
|
-
|
|
518
|
+
## Identity-First Campaign Setup
|
|
519
|
+
|
|
520
|
+
Do not treat the active Sellable workspace as the campaign subject. The
|
|
521
|
+
workspace only tells you where the campaign will be saved. Before buyer, CTA,
|
|
522
|
+
proof, or source questions, identify and confirm who the campaign is launching
|
|
523
|
+
for.
|
|
524
|
+
|
|
525
|
+
If the user supplied a LinkedIn profile, website, domain, company name, or
|
|
526
|
+
sender name in the invocation, do one lightweight lookup first:
|
|
527
|
+
|
|
528
|
+
- LinkedIn profile: call \`mcp__sellable__fetch_linkedin_profile\`.
|
|
529
|
+
- Website/domain/company: call \`mcp__sellable__fetch_company\` when possible,
|
|
530
|
+
otherwise one web lookup.
|
|
531
|
+
- Workspace sender id or known sender: call \`mcp__sellable__get_sender\` or
|
|
532
|
+
\`mcp__sellable__enrich_sender\`.
|
|
533
|
+
|
|
534
|
+
Then summarize what you found in one or two lines and ask the user to confirm
|
|
535
|
+
the launch identity before continuing.
|
|
536
|
+
|
|
537
|
+
If the user did not provide the launch identity, make the first quick question
|
|
538
|
+
panel an identity gate. Ask who we are launching for, with options like:
|
|
539
|
+
|
|
540
|
+
1. Use one of my connected Sellable senders
|
|
541
|
+
2. I’ll paste a LinkedIn profile
|
|
542
|
+
3. I’ll paste a company website/domain
|
|
543
|
+
4. Other / custom
|
|
544
|
+
|
|
545
|
+
After that answer, do the lightweight lookup, confirm the company/sender
|
|
546
|
+
context, then ask the campaign setup questions. The setup questions should use
|
|
547
|
+
the confirmed company context so they do not feel generic.
|
|
548
|
+
|
|
549
|
+
Before the identity gate, use this customer-facing shape:
|
|
519
550
|
|
|
520
551
|
\`\`\`text
|
|
521
552
|
I’m ready to build the campaign in {workspace}.
|
|
522
553
|
|
|
523
|
-
First I’
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
3. what proof or offer we should use
|
|
527
|
-
4. where we should source leads
|
|
554
|
+
First I need to confirm who we’re launching for. If you give me a LinkedIn
|
|
555
|
+
profile or company website, I’ll use that to understand the company, then I’ll
|
|
556
|
+
confirm it with you before we pick the target, offer, proof, and lead source.
|
|
528
557
|
|
|
529
558
|
Then I’ll turn that into a campaign brief for you to approve before anything is created.
|
|
530
559
|
\`\`\`
|
|
@@ -549,7 +578,8 @@ Done. Please fully quit and reopen Codex, then run:
|
|
|
549
578
|
|
|
550
579
|
$sellable:create-campaign
|
|
551
580
|
|
|
552
|
-
After that, I’ll
|
|
581
|
+
After that, I’ll confirm who we’re launching for, then ask the setup questions
|
|
582
|
+
and start the campaign brief.
|
|
553
583
|
\`\`\`
|
|
554
584
|
|
|
555
585
|
If they decline, tell them:
|