@sellable/mcp 0.1.318 → 0.1.319

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.
@@ -31,6 +31,7 @@ const httpEnrichConfig = {
31
31
  endpoint: { value: "/api/v4/enrich-prospect" },
32
32
  body: { value: '{"linkedinUrl":"{{LinkedIn URL}}"}' },
33
33
  },
34
+ runCondition: "{{LinkedIn URL}} !== ''",
34
35
  };
35
36
 
36
37
  export const COMMON_BLUEPRINTS: CommonBlueprintEntry[] = [
@@ -51,7 +52,10 @@ export const COMMON_BLUEPRINTS: CommonBlueprintEntry[] = [
51
52
  id: "c3",
52
53
  type: "score_icp_mcp",
53
54
  name: "ICP Score",
54
- config: { rubric: enrichmentRubric },
55
+ config: {
56
+ rubric: enrichmentRubric,
57
+ runCondition: "{{Enrich Prospect.id}} !== ''",
58
+ },
55
59
  inputMapping: { enrichedProspectId: "c2" },
56
60
  },
57
61
  ],
@@ -78,7 +82,10 @@ export const COMMON_BLUEPRINTS: CommonBlueprintEntry[] = [
78
82
  id: "c3",
79
83
  type: "score_icp_mcp",
80
84
  name: "ICP Score",
81
- config: { rubric: enrichmentRubric },
85
+ config: {
86
+ rubric: enrichmentRubric,
87
+ runCondition: "{{Enrich Prospect.id}} !== ''",
88
+ },
82
89
  inputMapping: { enrichedProspectId: "c2" },
83
90
  },
84
91
  {
@@ -131,7 +138,10 @@ export const COMMON_BLUEPRINTS: CommonBlueprintEntry[] = [
131
138
  id: "c4",
132
139
  type: "score_icp_mcp",
133
140
  name: "ICP Score",
134
- config: { rubric: enrichmentRubric },
141
+ config: {
142
+ rubric: enrichmentRubric,
143
+ runCondition: "{{Enrich Prospect.id}} !== ''",
144
+ },
135
145
  inputMapping: { enrichedProspectId: "c3" },
136
146
  },
137
147
  {
@@ -139,13 +149,15 @@ export const COMMON_BLUEPRINTS: CommonBlueprintEntry[] = [
139
149
  type: "generate_message",
140
150
  name: "Generate Message",
141
151
  config: {
142
- runCondition: "{{ICP Score.score}} >= 70",
152
+ runCondition:
153
+ "{{Enrich Prospect.id}} !== '' && {{ICP Score.score}} >= 70",
143
154
  },
144
155
  inputMapping: {
145
156
  campaignOfferId: "c2",
146
157
  enrichedProspectId: "c3",
147
158
  },
148
- runCondition: "{{ICP Score.score}} >= 70",
159
+ runCondition:
160
+ "{{Enrich Prospect.id}} !== '' && {{ICP Score.score}} >= 70",
149
161
  },
150
162
  ],
151
163
  edges: [
@@ -196,4 +208,41 @@ export const COMMON_BLUEPRINTS: CommonBlueprintEntry[] = [
196
208
  ],
197
209
  },
198
210
  },
211
+ {
212
+ slug: "rate-limited-http-and-webhook",
213
+ description:
214
+ "Receive webhook payloads and call a rate-limited HTTP enrichment API.",
215
+ blueprint: {
216
+ columns: [
217
+ { id: "c1", type: "text", name: "Company Domain", config: {} },
218
+ {
219
+ id: "c2",
220
+ type: "inbound_webhook",
221
+ name: "Inbound Payload",
222
+ config: {
223
+ rateLimit: { maxRequests: 100, windowSeconds: 60 },
224
+ },
225
+ },
226
+ {
227
+ id: "c3",
228
+ type: "http_request",
229
+ name: "Fetch Account Context",
230
+ config: {
231
+ inputMapping: {
232
+ method: { value: "POST" },
233
+ endpoint: { value: "https://example.test/account-context" },
234
+ body: { value: '{"domain":"{{Company Domain}}"}' },
235
+ },
236
+ rateLimit: {
237
+ mode: "window",
238
+ maxRequests: 10,
239
+ windowSeconds: 60,
240
+ },
241
+ },
242
+ inputMapping: { domain: "c1" },
243
+ },
244
+ ],
245
+ edges: [{ from: "c1", to: "c3", via: "domain" }],
246
+ },
247
+ },
199
248
  ];
@@ -42,3 +42,12 @@ Use `ai_column` only when the user needs a bespoke prompt that is not covered by
42
42
  fixed enrichment, scoring, or LinkedIn action columns.
43
43
 
44
44
  See `COMMON_BLUEPRINTS[3].blueprint` in the fixture.
45
+
46
+ ## 5. Rate-Limited HTTP + Webhook (`rate-limited-http-and-webhook`)
47
+
48
+ Use `inbound_webhook.config.rateLimit` for public webhook intake and
49
+ `http_request.config.rateLimit` for outbound HTTP calls. HTTP supports rolling
50
+ window limits with `mode: "window"`, `maxRequests`, and `windowSeconds`, or
51
+ concurrency limits with `mode: "concurrency"` and `maxConcurrent`.
52
+
53
+ See `COMMON_BLUEPRINTS[4].blueprint` in the fixture.
@@ -0,0 +1,9 @@
1
+ {
2
+ "parallelMode": "wide",
3
+ "agentCount": 6,
4
+ "maxToolCallsPerAgent": 2,
5
+ "senderMaxAgents": 2,
6
+ "senderMaxToolCallsPerAgent": 3,
7
+ "progressMode": true,
8
+ "debugMode": true
9
+ }