@sellable/mcp 0.1.503 → 0.1.504
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/api.d.ts +5 -5
- package/dist/api.js +10 -10
- package/dist/index-dev.js +0 -0
- package/dist/index.js +0 -0
- package/dist/server.js +2 -2
- package/dist/tools/campaign-fill-routing.d.ts +0 -5
- package/dist/tools/campaign-fill-routing.js +3 -13
- package/dist/tools/campaign-message-preparation.d.ts +48 -7
- package/dist/tools/campaign-message-preparation.js +44 -21
- package/dist/tools/campaign-processing.d.ts +0 -19
- package/dist/tools/campaign-processing.js +8 -31
- package/dist/tools/campaign-refill-state.d.ts +0 -5
- package/dist/tools/campaign-refill-state.js +3 -13
- package/dist/tools/leads.d.ts +47 -6
- package/dist/tools/leads.js +30 -26
- package/dist/tools/prompts.js +1 -1
- package/dist/tools/readiness.d.ts +0 -6
- package/dist/tools/readiness.js +5 -12
- package/dist/tools/refill-sends.d.ts +32 -34
- package/dist/tools/refill-sends.js +608 -67
- package/dist/tools/refill-target-plan.d.ts +0 -5
- package/dist/tools/refill-target-plan.js +65 -32
- package/dist/tools/registry.d.ts +48 -205
- package/dist/tools/scheduler-fill-capacity.d.ts +0 -5
- package/dist/tools/scheduler-fill-capacity.js +3 -13
- package/dist/tools/sender-routing.d.ts +1 -8
- package/dist/tools/sender-routing.js +3 -12
- package/dist/tools/senders.d.ts +1 -14
- package/dist/tools/senders.js +5 -31
- package/package.json +1 -1
- package/skills/refill-sends/SKILL.md +28 -49
- package/skills/refill-sends-workflow/SKILL.md +10 -15
- package/dist/tools/workspace-context.d.ts +0 -36
- package/dist/tools/workspace-context.js +0 -39
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
type RefillSendsIntent = "plain" | "active" | "evergreen";
|
|
2
2
|
type RefillSendsApprovalMode = "approve" | "mark_ready";
|
|
3
|
-
type RefillSendsExecutionMode = "manual" | "scheduled" | "yolo";
|
|
4
3
|
type RefillSendsCommandInput = {
|
|
5
4
|
yolo?: boolean;
|
|
6
|
-
executionMode?: RefillSendsExecutionMode;
|
|
7
|
-
requireWorkspace?: boolean;
|
|
8
|
-
workspaceId?: string | null;
|
|
9
5
|
senders?: string[];
|
|
10
6
|
senderIds?: string[];
|
|
11
7
|
senderNames?: string[];
|
|
@@ -27,19 +23,6 @@ export declare const refillSendsToolDefinitions: {
|
|
|
27
23
|
type: string;
|
|
28
24
|
description: string;
|
|
29
25
|
};
|
|
30
|
-
executionMode: {
|
|
31
|
-
type: string;
|
|
32
|
-
enum: string[];
|
|
33
|
-
description: string;
|
|
34
|
-
};
|
|
35
|
-
requireWorkspace: {
|
|
36
|
-
type: string;
|
|
37
|
-
description: string;
|
|
38
|
-
};
|
|
39
|
-
workspaceId: {
|
|
40
|
-
type: string;
|
|
41
|
-
description: string;
|
|
42
|
-
};
|
|
43
26
|
senders: {
|
|
44
27
|
type: string;
|
|
45
28
|
items: {
|
|
@@ -106,9 +89,6 @@ export declare function refillSendsCommand(input?: RefillSendsCommandInput): {
|
|
|
106
89
|
promptName: string;
|
|
107
90
|
workflowPromptName: string;
|
|
108
91
|
yolo: boolean;
|
|
109
|
-
executionMode: RefillSendsExecutionMode;
|
|
110
|
-
workspaceId: string | null;
|
|
111
|
-
workspaceResolution: string;
|
|
112
92
|
intent: RefillSendsIntent;
|
|
113
93
|
targetDate: string | null;
|
|
114
94
|
untilDate: string | null;
|
|
@@ -164,12 +144,11 @@ export declare function refillSendsCommand(input?: RefillSendsCommandInput): {
|
|
|
164
144
|
tableId: string | undefined;
|
|
165
145
|
intent: RefillSendsIntent;
|
|
166
146
|
approvalMode: RefillSendsApprovalMode;
|
|
167
|
-
workspaceId: string | null;
|
|
168
147
|
};
|
|
169
148
|
};
|
|
170
149
|
};
|
|
171
150
|
};
|
|
172
|
-
export declare function executeRefillSendsCommand(input?: RefillSendsCommandInput): Promise<
|
|
151
|
+
export declare function executeRefillSendsCommand(input?: RefillSendsCommandInput): Promise<{
|
|
173
152
|
autoPaidInmailRefresh: {
|
|
174
153
|
enabled: boolean;
|
|
175
154
|
status: string;
|
|
@@ -179,17 +158,21 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
|
|
|
179
158
|
refreshReceipts?: undefined;
|
|
180
159
|
attemptedSenderIds?: undefined;
|
|
181
160
|
targetPlanReread?: undefined;
|
|
182
|
-
|
|
183
|
-
|
|
161
|
+
};
|
|
162
|
+
yoloExecution: {
|
|
163
|
+
enabled: false;
|
|
164
|
+
status: "not_run_without_yolo";
|
|
165
|
+
selectedAction: null;
|
|
166
|
+
targetPlanReread: false;
|
|
167
|
+
result?: undefined;
|
|
168
|
+
refusalReason?: undefined;
|
|
169
|
+
postActionFirstAction?: undefined;
|
|
184
170
|
};
|
|
185
171
|
command: string;
|
|
186
172
|
tool: string;
|
|
187
173
|
promptName: string;
|
|
188
174
|
workflowPromptName: string;
|
|
189
175
|
yolo: boolean;
|
|
190
|
-
executionMode: RefillSendsExecutionMode;
|
|
191
|
-
workspaceId: string | null;
|
|
192
|
-
workspaceResolution: string;
|
|
193
176
|
intent: RefillSendsIntent;
|
|
194
177
|
targetDate: string | null;
|
|
195
178
|
untilDate: string | null;
|
|
@@ -245,40 +228,56 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
|
|
|
245
228
|
tableId: string | undefined;
|
|
246
229
|
intent: RefillSendsIntent;
|
|
247
230
|
approvalMode: RefillSendsApprovalMode;
|
|
248
|
-
workspaceId: string | null;
|
|
249
231
|
};
|
|
250
232
|
};
|
|
251
233
|
};
|
|
252
234
|
} | {
|
|
253
235
|
targetPlan: unknown;
|
|
254
236
|
targetPlanBeforePaidRefresh: unknown;
|
|
237
|
+
targetPlanBeforeYoloPrimitive: unknown;
|
|
255
238
|
autoPaidInmailRefresh: {
|
|
256
239
|
enabled: boolean;
|
|
257
240
|
status: string;
|
|
258
241
|
refreshedPaidInmailSenderIds: string[];
|
|
259
242
|
failedPaidInmailRefreshes: {
|
|
260
243
|
senderId: string;
|
|
244
|
+
attempts?: number;
|
|
261
245
|
error: string;
|
|
246
|
+
errors?: string[];
|
|
262
247
|
}[];
|
|
263
248
|
refreshReceipts: {
|
|
264
249
|
senderId: string;
|
|
265
250
|
actionKey: string | null;
|
|
251
|
+
attempts: number;
|
|
252
|
+
retryErrors: string[];
|
|
266
253
|
receipt: import("./senders.js").RefreshPaidInmailCreditsResponse;
|
|
267
254
|
}[];
|
|
268
255
|
attemptedSenderIds: string[];
|
|
269
256
|
targetPlanReread: boolean;
|
|
270
|
-
workspaceId: string | null;
|
|
271
|
-
workspaceResolution: string;
|
|
272
257
|
note: string;
|
|
273
258
|
};
|
|
259
|
+
yoloExecution: {
|
|
260
|
+
enabled: true;
|
|
261
|
+
status: "skipped_after_paid_refresh";
|
|
262
|
+
selectedAction: null;
|
|
263
|
+
targetPlanReread: true;
|
|
264
|
+
result?: undefined;
|
|
265
|
+
refusalReason?: undefined;
|
|
266
|
+
postActionFirstAction?: undefined;
|
|
267
|
+
} | {
|
|
268
|
+
enabled: true;
|
|
269
|
+
status: "no_action" | "read_only_reread" | "executed_and_reread" | "refused";
|
|
270
|
+
selectedAction: Record<string, unknown> | null;
|
|
271
|
+
result: unknown;
|
|
272
|
+
targetPlanReread: boolean;
|
|
273
|
+
refusalReason: string | undefined;
|
|
274
|
+
postActionFirstAction: Record<string, unknown> | null;
|
|
275
|
+
};
|
|
274
276
|
command: string;
|
|
275
277
|
tool: string;
|
|
276
278
|
promptName: string;
|
|
277
279
|
workflowPromptName: string;
|
|
278
280
|
yolo: boolean;
|
|
279
|
-
executionMode: RefillSendsExecutionMode;
|
|
280
|
-
workspaceId: string | null;
|
|
281
|
-
workspaceResolution: string;
|
|
282
281
|
intent: RefillSendsIntent;
|
|
283
282
|
targetDate: string | null;
|
|
284
283
|
untilDate: string | null;
|
|
@@ -334,7 +333,6 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
|
|
|
334
333
|
tableId: string | undefined;
|
|
335
334
|
intent: RefillSendsIntent;
|
|
336
335
|
approvalMode: RefillSendsApprovalMode;
|
|
337
|
-
workspaceId: string | null;
|
|
338
336
|
};
|
|
339
337
|
};
|
|
340
338
|
};
|