@sellable/mcp 0.1.98 → 0.1.100
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/dist/tools/prompts.js
CHANGED
|
@@ -319,7 +319,7 @@ export function listSubskillPrompts(limit, includePublic, includeInternal) {
|
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
321
|
function markSubskillPromptLoaded(subskillName) {
|
|
322
|
-
if (subskillName === "create-campaign") {
|
|
322
|
+
if (subskillName === "create-campaign" || subskillName === "create-campaign-v2") {
|
|
323
323
|
markCreateCampaignPromptLoaded();
|
|
324
324
|
}
|
|
325
325
|
if (subskillName === "research") {
|
package/package.json
CHANGED
|
@@ -341,6 +341,25 @@ lookup if it has not already run, then ask the campaign setup questions. The
|
|
|
341
341
|
setup questions should use the confirmed company context so they do not feel
|
|
342
342
|
generic.
|
|
343
343
|
|
|
344
|
+
### Sufficient Intake Bypass
|
|
345
|
+
|
|
346
|
+
When the user's invocation or first answer already supplies the campaign
|
|
347
|
+
identity plus enough strategy context to draft the campaign, do not turn that
|
|
348
|
+
into an interview. Treat setup as complete when the request contains:
|
|
349
|
+
|
|
350
|
+
- identity or client/company context;
|
|
351
|
+
- target prospects or buyer segment;
|
|
352
|
+
- offer / CTA;
|
|
353
|
+
- proof or claims to use / avoid;
|
|
354
|
+
- lead-source preference, supplied list, or permission to find people.
|
|
355
|
+
|
|
356
|
+
In that case, do one lightweight identity/company lookup, summarize the inferred
|
|
357
|
+
direction in one or two lines, and immediately draft the campaign brief. Do not
|
|
358
|
+
ask the buyer, offer, proof, or lead-source setup questions again unless a
|
|
359
|
+
required field is missing, the supplied inputs conflict, or the campaign focus is
|
|
360
|
+
genuinely ambiguous. It is fine to include an explicit assumption line in the
|
|
361
|
+
brief; the approval gate lets the user revise it.
|
|
362
|
+
|
|
344
363
|
Before the identity gate, use this customer-facing shape:
|
|
345
364
|
|
|
346
365
|
```text
|
|
@@ -234,6 +234,15 @@ Optional debug/UAT draft directory, disabled in normal customer runs:
|
|
|
234
234
|
company page is available, do not pass it as `senderLinkedinUrl`. If a
|
|
235
235
|
`clientProspectId` is available, pass that instead.
|
|
236
236
|
|
|
237
|
+
Sufficient-intake bypass: when the invocation or first operator answer already
|
|
238
|
+
supplies identity/client context, target prospects, offer/CTA, proof guidance,
|
|
239
|
+
and lead-source preference or permission to find people, do not ask the setup
|
|
240
|
+
packet again. Do one lightweight lookup, state the inferred campaign direction
|
|
241
|
+
in one or two lines, and move directly into the campaign brief. Ask only when a
|
|
242
|
+
required field is missing, the supplied inputs conflict, or the campaign focus
|
|
243
|
+
is genuinely ambiguous. The brief approval gate is the correction point for
|
|
244
|
+
inferred assumptions.
|
|
245
|
+
|
|
237
246
|
After the user confirms the campaign identity, check whether the company
|
|
238
247
|
context implies more than one campaignable product line, service, or offer.
|
|
239
248
|
If so, ask one structured campaign-focus question before the setup packet
|
|
@@ -290,6 +299,10 @@ Optional debug/UAT draft directory, disabled in normal customer runs:
|
|
|
290
299
|
confirmed, the setup packet must
|
|
291
300
|
use the structured question gate and ask buyer, offer/CTA, proof, and lead
|
|
292
301
|
source. All four questions must include an `Other / custom` option.
|
|
302
|
+
Exception: if the initial request already satisfies the sufficient-intake
|
|
303
|
+
bypass above, skip the setup packet and draft the brief from the supplied
|
|
304
|
+
context. Do not ask first-turn setup questions just to restate choices the
|
|
305
|
+
operator already provided.
|
|
293
306
|
- After the founder answers the first strategy/source packet, explain the next
|
|
294
307
|
stage only: campaign brief creation and brief approval. Use this shape:
|
|
295
308
|
|
|
@@ -170,10 +170,30 @@
|
|
|
170
170
|
"fallback": "If WebSearch is unavailable, use available MCP profile/company/post tools, call complete_sender_research with observed counts, and carry explicit proof gaps into the setup packet.",
|
|
171
171
|
"chatRenderRule": "Use researched company positioning and proof options in the buyer/offer/proof/source setup packet; do not ask generic strategy questions from company name alone."
|
|
172
172
|
},
|
|
173
|
+
{
|
|
174
|
+
"action": "skip_strategy_packet_when_initial_context_is_sufficient",
|
|
175
|
+
"when": "after_identity_lookup_before_founder_strategy_source_packet",
|
|
176
|
+
"condition": "initial invocation or first operator answer includes identity/client context, target prospects, offer/CTA, proof guidance, and lead-source preference or permission to find people",
|
|
177
|
+
"requiredCoveredFields": [
|
|
178
|
+
"identity_or_client_context",
|
|
179
|
+
"target_prospects",
|
|
180
|
+
"offer_or_cta",
|
|
181
|
+
"proof_guidance",
|
|
182
|
+
"lead_source_preference_or_find_people_permission"
|
|
183
|
+
],
|
|
184
|
+
"effect": "mark founder_strategy_source_packet_answered and proceed to render_post_intake_progress_preamble without asking setup questions again",
|
|
185
|
+
"askOnlyWhen": [
|
|
186
|
+
"a required covered field is missing",
|
|
187
|
+
"the supplied inputs conflict",
|
|
188
|
+
"the campaign focus is genuinely ambiguous"
|
|
189
|
+
],
|
|
190
|
+
"chatRenderRule": "State the inferred campaign direction in one or two lines and draft the brief. Do not ask buyer, offer, proof, or source setup questions just to restate information the operator already supplied; the brief approval gate is the correction point."
|
|
191
|
+
},
|
|
173
192
|
{
|
|
174
193
|
"action": "ask_source_intake_after_strategy_batch",
|
|
175
194
|
"artifact": "lead-source-intake.json",
|
|
176
195
|
"optional": true,
|
|
196
|
+
"skipWhen": "skip_strategy_packet_when_initial_context_is_sufficient matched",
|
|
177
197
|
"question": "How should we get the people for this campaign?",
|
|
178
198
|
"options": [
|
|
179
199
|
"Find people for me (recommended if you don't already have your own list)",
|