@sellable/mcp 0.1.493 → 0.1.495

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.
@@ -3641,11 +3641,11 @@ export async function searchSignals(input) {
3641
3641
  const effectiveHeadlineICPCriteria = headlineICPCriteria && headlineICPCriteria.length > 0
3642
3642
  ? headlineICPCriteria
3643
3643
  : rubricGuidelines;
3644
- if (campaignOfferId) {
3644
+ if (campaignOfferId && searchCurrentStep) {
3645
3645
  await api.put(`/api/v2/campaign-offers/${campaignOfferId}`, {
3646
3646
  leadSourceType: "new",
3647
3647
  leadSourceProvider: "signal-discovery",
3648
- ...(searchCurrentStep ? { currentStep: searchCurrentStep } : {}),
3648
+ currentStep: searchCurrentStep,
3649
3649
  ...(currentStepTransition ? { currentStepTransition } : {}),
3650
3650
  watchNarration: buildSignalDiscoverySearchWatchNarration(),
3651
3651
  });
@@ -3661,9 +3661,9 @@ export async function searchSignals(input) {
3661
3661
  }
3662
3662
  const response = await api.post(`/api/v1/signal-discovery/search-signals`, searchRequest);
3663
3663
  const summary = summarizeSignalSearchResponse(response);
3664
- if (campaignOfferId) {
3664
+ if (campaignOfferId && searchCurrentStep) {
3665
3665
  await api.put(`/api/v2/campaign-offers/${campaignOfferId}`, {
3666
- ...(searchCurrentStep ? { currentStep: searchCurrentStep } : {}),
3666
+ currentStep: searchCurrentStep,
3667
3667
  ...(currentStepTransition ? { currentStepTransition } : {}),
3668
3668
  watchNarration: buildSignalDiscoveryResultsWatchNarration(summary.postsReturned),
3669
3669
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/mcp",
3
- "version": "0.1.493",
3
+ "version": "0.1.495",
4
4
  "type": "module",
5
5
  "description": "Sellable MCP server for Claude Code and Codex campaign workflows",
6
6
  "main": "dist/index.js",