@sellable/mcp 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.
package/README.md CHANGED
@@ -83,14 +83,14 @@ The token is provided when you generate it. Use `list_workspaces` +
83
83
  For customer/package installs, use the public installer:
84
84
 
85
85
  ```bash
86
- npx -y @sellable/install@0.1.12 --host codex --token skt_live_your_token_here --workspace-id your_workspace_id
86
+ npx -y @sellable/install@0.1.13 --host codex --token skt_live_your_token_here --workspace-id your_workspace_id
87
87
  ```
88
88
 
89
89
  If you already have `~/.sellable/config.json`, rerun/verify without rewriting
90
90
  auth:
91
91
 
92
92
  ```bash
93
- npx -y @sellable/install@0.1.12 --host codex
93
+ npx -y @sellable/install@0.1.13 --host codex
94
94
  sellable --verify-only --host codex
95
95
  ```
96
96
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/mcp",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "type": "module",
5
5
  "description": "Sellable MCP server for Claude Code and Codex campaign workflows",
6
6
  "main": "dist/index.js",
@@ -125,53 +125,73 @@ Validated draft directory:
125
125
  - Workspace sender id or known sender: call `get_sender` or `enrich_sender`.
126
126
  Then summarize what you found in one or two lines and ask the user to confirm
127
127
  the campaign subject and sender before continuing.
128
- - If the user did not provide the launch identity, make the first quick question
129
- panel an identity gate. The point of this gate is not "pick a sender"; it is
130
- to learn who the user is / what company we are launching for, and who we
131
- should send from. Before that gate, call `list_senders` once if it is
132
- available, only so you can offer connected senders as shortcuts. The
133
- customer-facing shape should be:
128
+ - If the user did not provide the launch identity, quietly call `list_senders`
129
+ once if available. This is a shortcut to deduce who the user might be from
130
+ their Sellable API token and connected LinkedIn accounts. Do not present it as
131
+ a sender picker yet. If there is one strong likely sender, use `enrich_sender`
132
+ to infer their current or most recent company, then ask:
134
133
 
135
134
  ```text
136
- I found these connected senders in {workspace}: {sender names}.
135
+ I’m ready to build this in {workspace}. I found {matched sender} connected here.
137
136
 
138
- First I need to know who this campaign is for and who we’re sending from. If
139
- one of these connected senders is you, pick them; otherwise paste your LinkedIn
140
- URL or company website.
137
+ Is that you, and is this campaign for {company}?
141
138
  ```
142
139
 
143
- The identity gate should ask:
140
+ If there is no strong sender match, make the first quick question panel ask
141
+ for the user's LinkedIn URL or company website. The point of this gate is not
142
+ "pick a sender"; it is to learn who the user is, infer the current or most
143
+ recent company, and then confirm who we are sending from. The customer-facing
144
+ shape should be:
144
145
 
145
- 1. `Who is this campaign for?` Options: connected sender names if available,
146
- `I’ll paste a LinkedIn profile`, `I’ll paste a company website/domain`,
147
- `Other / custom`.
148
- 2. `Who should the LinkedIn messages send from?` Options:
149
- `same person/company`, connected sender names if available,
150
- `I’ll paste a different sender profile`, `Other / custom`.
146
+ ```text
147
+ I’m ready to build this in {workspace}.
148
+
149
+ First, what’s your LinkedIn URL? If you’d rather start from the company, paste
150
+ the company website instead.
151
+ ```
152
+
153
+ The LinkedIn/company identity gate should ask:
154
+
155
+ 1. `What’s your LinkedIn URL?` Options: `I’ll paste my LinkedIn profile`,
156
+ `I’ll paste the company website instead`, `Other / custom`.
157
+
158
+ After that answer, do the lightweight lookup. For a LinkedIn profile, call
159
+ `fetch_linkedin_profile` and infer the user's current or most recent company
160
+ from the profile. For a company website, call `fetch_company` when possible,
161
+ otherwise one web lookup.
151
162
 
152
- After that answer, do the lightweight lookup. For a connected sender, call
153
- `enrich_sender` and identify their current or most recent company. For a
154
- LinkedIn profile, call `fetch_linkedin_profile` and infer the current or most
155
- recent company from the profile. Then ask:
163
+ If `list_senders` did not already run, call it once after the lookup to see
164
+ whether the fetched user appears to match a connected sender. If there is a
165
+ likely match, ask:
156
166
 
157
167
  ```text
158
- Cool — I have this as {campaign subject/company}, sending from {sender}. Is that right?
168
+ Cool — are you {matched sender}, and is this campaign for {company}?
159
169
  ```
160
170
 
171
+ If there is no likely sender match, ask:
172
+
173
+ ```text
174
+ Cool — I have this campaign as {company}. Who should the LinkedIn messages send from?
175
+ ```
176
+
177
+ Sender options should include connected sender names if available, `same as
178
+ me`, `I’ll paste a different sender profile`, and `Other / custom`.
179
+
161
180
  After the user confirms the subject and sender, run one lightweight company
162
- lookup (`fetch_company` when possible, otherwise one web lookup), then ask the
163
- campaign setup questions. The setup questions should use the confirmed company
164
- context so they do not feel generic. If identity is still unavailable, use
165
- neutral/custom intake options instead of guessed vertical-specific options.
181
+ lookup if it has not already run, then ask the campaign setup questions. The
182
+ setup questions should use the confirmed company context so they do not feel
183
+ generic. If identity is still unavailable, use neutral/custom intake options
184
+ instead of guessed vertical-specific options.
166
185
 
167
186
  - Before the identity gate, use this customer-facing shape:
168
187
 
169
188
  ```text
170
189
  I’m ready to build the campaign in {workspace}.
171
190
 
172
- First I need to confirm who this campaign is for and who we’re sending from.
173
- If you already have a connected sender, I can use that to infer the company;
174
- otherwise paste a LinkedIn profile or company website and I’ll look it up.
191
+ First I’ll check whether your Sellable token already tells me who you are. If
192
+ not, I’ll ask for your LinkedIn URL or company website, look it up, then
193
+ confirm the company and sender before we pick the target, offer, proof, and
194
+ lead source.
175
195
 
176
196
  Then I’ll turn that into a campaign brief for you to approve before anything is created.
177
197
  ```
@@ -192,7 +212,8 @@ Validated draft directory:
192
212
  structured question gate, do not run source discovery, Sales Nav, Prospeo,
193
213
  Signals, Bash, Read, Write, Edit, Glob, Grep, full company research, or
194
214
  draft-directory inspection/creation. `list_senders` is allowed once before the
195
- first identity gate so the user can pick from connected senders. Do
215
+ first identity gate as a quiet token/sender inference shortcut, and once means
216
+ once: do not call it again after a LinkedIn lookup if it already ran. Do
196
217
  draft-directory setup only after the founder answers. After launch identity is
197
218
  confirmed, the setup packet must ask buyer, offer/CTA, proof, and lead source,
198
219
  and all four questions must include an `Other / custom` option.
@@ -113,7 +113,9 @@
113
113
  "identityLookup": 1,
114
114
  "companyLookupAfterIdentityConfirm": 1
115
115
  },
116
- "preferConnectedSendersFirst": true,
116
+ "quietlyCheckConnectedSendersFirst": true,
117
+ "preferUserLinkedInWhenSenderInferenceIsWeak": true,
118
+ "doNotPresentSenderPickerBeforeIdentityInference": true,
117
119
  "confirmCompanyBeforeStrategyQuestions": true,
118
120
  "mustNotInferFromNameOnly": true,
119
121
  "fallback": "ask identity gate first; use neutral/custom intake options only when identity remains unavailable"