@sellable/mcp 0.1.768 → 0.1.769

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.
@@ -1,537 +0,0 @@
1
- import { type MessageTemplateRevisionV1, type RefillReportingContextV2, type RefillRunHandleV1, type RefillTargetConfigV1 } from "./campaign-processing.js";
2
- type RefillSendsV2Input = {
3
- workspaceId?: string;
4
- runId?: string;
5
- fence?: number;
6
- runHandle?: RefillRunHandleV1;
7
- targetConfig?: RefillTargetConfigV1;
8
- reportingContext?: RefillReportingContextV2;
9
- messageTemplateRevision?: MessageTemplateRevisionV1;
10
- dryRun?: boolean;
11
- approvalMode?: "approve" | "mark_ready";
12
- senderIds?: string[];
13
- actionTypes?: Array<"send_invite" | "send_inmail_closed">;
14
- intent?: "auto" | "evergreen" | "plain" | "active";
15
- targetDate?: string;
16
- untilDate?: string;
17
- horizonSendDays?: number;
18
- agentKeywords?: string[];
19
- runState?: Record<string, unknown>;
20
- };
21
- export declare const refillSendsV2ToolDefinitions: {
22
- name: string;
23
- description: string;
24
- inputSchema: {
25
- type: string;
26
- properties: {
27
- workspaceId: {
28
- type: string;
29
- description: string;
30
- };
31
- runId: {
32
- type: string;
33
- description: string;
34
- };
35
- fence: {
36
- type: string;
37
- description: string;
38
- };
39
- runHandle: {
40
- readonly type: "object";
41
- readonly properties: {
42
- readonly runId: {
43
- readonly type: "string";
44
- readonly minLength: 1;
45
- };
46
- readonly fence: {
47
- readonly type: "number";
48
- readonly minimum: 0;
49
- };
50
- readonly leaseOwner: {
51
- readonly type: "string";
52
- readonly minLength: 1;
53
- };
54
- };
55
- readonly required: readonly ["runId", "fence"];
56
- readonly additionalProperties: false;
57
- };
58
- targetConfig: {
59
- readonly type: "object";
60
- readonly properties: {
61
- readonly version: {
62
- readonly type: "number";
63
- readonly const: 1;
64
- };
65
- readonly workspaceId: {
66
- readonly type: "string";
67
- readonly minLength: 1;
68
- };
69
- readonly campaignId: {
70
- readonly type: "string";
71
- readonly minLength: 1;
72
- };
73
- readonly tableId: {
74
- readonly type: "string";
75
- readonly minLength: 1;
76
- };
77
- readonly senderScope: {
78
- readonly type: "object";
79
- readonly properties: {
80
- readonly senderIds: {
81
- readonly type: "array";
82
- readonly items: {
83
- readonly type: "string";
84
- };
85
- };
86
- readonly senderNames: {
87
- readonly type: "array";
88
- readonly items: {
89
- readonly type: "string";
90
- };
91
- };
92
- readonly senders: {
93
- readonly type: "array";
94
- readonly items: {
95
- readonly type: "string";
96
- };
97
- };
98
- };
99
- readonly required: readonly ["senderIds", "senderNames", "senders"];
100
- readonly additionalProperties: false;
101
- };
102
- readonly actionScope: {
103
- readonly type: "array";
104
- readonly items: {
105
- readonly type: "string";
106
- };
107
- };
108
- readonly laneScope: {
109
- readonly type: "object";
110
- readonly properties: {
111
- readonly intent: {
112
- readonly type: "string";
113
- };
114
- readonly laneKeys: {
115
- readonly type: "array";
116
- readonly items: {
117
- readonly type: "string";
118
- };
119
- };
120
- };
121
- readonly required: readonly ["intent", "laneKeys"];
122
- readonly additionalProperties: false;
123
- };
124
- readonly targetWindow: {
125
- readonly type: "object";
126
- readonly properties: {
127
- readonly targetDate: {
128
- readonly type: readonly ["string", "null"];
129
- };
130
- readonly untilDate: {
131
- readonly type: readonly ["string", "null"];
132
- };
133
- readonly horizonSendDays: {
134
- readonly type: readonly ["number", "null"];
135
- };
136
- };
137
- readonly required: readonly ["targetDate", "untilDate", "horizonSendDays"];
138
- readonly additionalProperties: false;
139
- };
140
- readonly approvalInputs: {
141
- readonly type: "object";
142
- readonly properties: {
143
- readonly approvalMode: {
144
- readonly type: "string";
145
- readonly enum: readonly ["approve", "mark_ready"];
146
- };
147
- readonly expectedActionKey: {
148
- readonly type: readonly ["string", "null"];
149
- };
150
- };
151
- readonly required: readonly ["approvalMode", "expectedActionKey"];
152
- readonly additionalProperties: false;
153
- };
154
- readonly revisionInputs: {
155
- readonly type: "object";
156
- readonly properties: {
157
- readonly planRevision: {
158
- readonly type: readonly ["string", "null"];
159
- };
160
- readonly stateRevision: {
161
- readonly type: readonly ["string", "null"];
162
- };
163
- readonly targetShapeRevision: {
164
- readonly type: readonly ["string", "null"];
165
- };
166
- };
167
- readonly required: readonly ["planRevision", "stateRevision", "targetShapeRevision"];
168
- readonly additionalProperties: false;
169
- };
170
- };
171
- readonly required: readonly ["version", "workspaceId", "campaignId", "tableId", "senderScope", "actionScope", "laneScope", "targetWindow", "approvalInputs", "revisionInputs"];
172
- readonly additionalProperties: false;
173
- };
174
- reportingContext: {
175
- readonly type: "object";
176
- readonly description: "Exact refill_reporting_context.v2 authority returned by the product. Preserve every nested field unchanged.";
177
- readonly properties: {
178
- readonly schemaVersion: {
179
- readonly type: "string";
180
- readonly const: "refill_reporting_context.v2";
181
- };
182
- readonly targetConfig: {
183
- readonly type: "object";
184
- readonly properties: {
185
- readonly version: {
186
- readonly type: "number";
187
- readonly const: 1;
188
- };
189
- readonly workspaceId: {
190
- readonly type: "string";
191
- readonly minLength: 1;
192
- };
193
- readonly campaignId: {
194
- readonly type: "string";
195
- readonly minLength: 1;
196
- };
197
- readonly tableId: {
198
- readonly type: "string";
199
- readonly minLength: 1;
200
- };
201
- readonly senderScope: {
202
- readonly type: "object";
203
- readonly properties: {
204
- readonly senderIds: {
205
- readonly type: "array";
206
- readonly items: {
207
- readonly type: "string";
208
- };
209
- };
210
- readonly senderNames: {
211
- readonly type: "array";
212
- readonly items: {
213
- readonly type: "string";
214
- };
215
- };
216
- readonly senders: {
217
- readonly type: "array";
218
- readonly items: {
219
- readonly type: "string";
220
- };
221
- };
222
- };
223
- readonly required: readonly ["senderIds", "senderNames", "senders"];
224
- readonly additionalProperties: false;
225
- };
226
- readonly actionScope: {
227
- readonly type: "array";
228
- readonly items: {
229
- readonly type: "string";
230
- };
231
- };
232
- readonly laneScope: {
233
- readonly type: "object";
234
- readonly properties: {
235
- readonly intent: {
236
- readonly type: "string";
237
- };
238
- readonly laneKeys: {
239
- readonly type: "array";
240
- readonly items: {
241
- readonly type: "string";
242
- };
243
- };
244
- };
245
- readonly required: readonly ["intent", "laneKeys"];
246
- readonly additionalProperties: false;
247
- };
248
- readonly targetWindow: {
249
- readonly type: "object";
250
- readonly properties: {
251
- readonly targetDate: {
252
- readonly type: readonly ["string", "null"];
253
- };
254
- readonly untilDate: {
255
- readonly type: readonly ["string", "null"];
256
- };
257
- readonly horizonSendDays: {
258
- readonly type: readonly ["number", "null"];
259
- };
260
- };
261
- readonly required: readonly ["targetDate", "untilDate", "horizonSendDays"];
262
- readonly additionalProperties: false;
263
- };
264
- readonly approvalInputs: {
265
- readonly type: "object";
266
- readonly properties: {
267
- readonly approvalMode: {
268
- readonly type: "string";
269
- readonly enum: readonly ["approve", "mark_ready"];
270
- };
271
- readonly expectedActionKey: {
272
- readonly type: readonly ["string", "null"];
273
- };
274
- };
275
- readonly required: readonly ["approvalMode", "expectedActionKey"];
276
- readonly additionalProperties: false;
277
- };
278
- readonly revisionInputs: {
279
- readonly type: "object";
280
- readonly properties: {
281
- readonly planRevision: {
282
- readonly type: readonly ["string", "null"];
283
- };
284
- readonly stateRevision: {
285
- readonly type: readonly ["string", "null"];
286
- };
287
- readonly targetShapeRevision: {
288
- readonly type: readonly ["string", "null"];
289
- };
290
- };
291
- readonly required: readonly ["planRevision", "stateRevision", "targetShapeRevision"];
292
- readonly additionalProperties: false;
293
- };
294
- };
295
- readonly required: readonly ["version", "workspaceId", "campaignId", "tableId", "senderScope", "actionScope", "laneScope", "targetWindow", "approvalInputs", "revisionInputs"];
296
- readonly additionalProperties: false;
297
- };
298
- readonly targetConfigDigest: {
299
- readonly type: "string";
300
- readonly minLength: 1;
301
- };
302
- readonly runHandle: {
303
- readonly type: "object";
304
- readonly properties: {
305
- readonly runId: {
306
- readonly type: "string";
307
- readonly minLength: 1;
308
- };
309
- readonly fence: {
310
- readonly type: "number";
311
- readonly minimum: 0;
312
- };
313
- readonly leaseOwner: {
314
- readonly type: "string";
315
- readonly minLength: 1;
316
- };
317
- };
318
- readonly required: readonly ["runId", "fence"];
319
- readonly additionalProperties: false;
320
- };
321
- readonly source: {
322
- readonly type: "object";
323
- };
324
- readonly readiness: {
325
- readonly type: "object";
326
- };
327
- readonly livePreparation: {
328
- readonly type: "object";
329
- };
330
- readonly liveHistory: {
331
- readonly type: "object";
332
- };
333
- readonly goals: {
334
- readonly type: "array";
335
- readonly items: {
336
- readonly type: "object";
337
- };
338
- };
339
- };
340
- readonly required: readonly ["schemaVersion", "targetConfig", "targetConfigDigest", "runHandle", "source", "readiness", "livePreparation", "liveHistory", "goals"];
341
- readonly additionalProperties: false;
342
- };
343
- messageTemplateRevision: {
344
- readonly type: "object";
345
- readonly properties: {
346
- readonly version: {
347
- readonly type: "number";
348
- readonly const: 1;
349
- };
350
- readonly source: {
351
- readonly type: "string";
352
- readonly const: "user_approved";
353
- };
354
- readonly messageTemplateRevision: {
355
- readonly type: "string";
356
- readonly minLength: 1;
357
- };
358
- readonly templateMarkdown: {
359
- readonly type: "string";
360
- readonly minLength: 1;
361
- };
362
- readonly priorTemplateAuthorityDigest: {
363
- readonly type: "string";
364
- readonly minLength: 1;
365
- };
366
- readonly nextTemplateAuthorityDigest: {
367
- readonly type: "string";
368
- readonly minLength: 1;
369
- };
370
- readonly cohortRowIds: {
371
- readonly type: "array";
372
- readonly items: {
373
- readonly type: "string";
374
- readonly minLength: 1;
375
- };
376
- readonly minItems: 1;
377
- readonly maxItems: 500;
378
- };
379
- readonly requestId: {
380
- readonly type: "string";
381
- readonly minLength: 1;
382
- };
383
- readonly effectId: {
384
- readonly type: "string";
385
- readonly minLength: 1;
386
- };
387
- readonly revisionOperationId: {
388
- readonly type: "string";
389
- readonly minLength: 1;
390
- };
391
- };
392
- readonly required: readonly ["version", "source", "messageTemplateRevision", "templateMarkdown", "priorTemplateAuthorityDigest", "nextTemplateAuthorityDigest", "cohortRowIds", "requestId", "effectId", "revisionOperationId"];
393
- readonly additionalProperties: false;
394
- };
395
- dryRun: {
396
- type: string;
397
- description: string;
398
- };
399
- approvalMode: {
400
- type: string;
401
- enum: string[];
402
- description: string;
403
- };
404
- senderIds: {
405
- type: string;
406
- items: {
407
- type: string;
408
- };
409
- };
410
- actionTypes: {
411
- type: string;
412
- items: {
413
- type: string;
414
- enum: string[];
415
- };
416
- };
417
- intent: {
418
- type: string;
419
- enum: string[];
420
- };
421
- agentKeywords: {
422
- type: string;
423
- items: {
424
- type: string;
425
- };
426
- minItems: number;
427
- maxItems: number;
428
- description: string;
429
- };
430
- };
431
- required: string[];
432
- additionalProperties: boolean;
433
- };
434
- }[];
435
- export declare function refillSendsV2Command(inputRaw: RefillSendsV2Input): Promise<{
436
- status: "blocked";
437
- blocker: string;
438
- guidance: string;
439
- conflicts: string[];
440
- runId: string | undefined;
441
- readOnly: boolean;
442
- forbiddenActions: string[];
443
- boundedAuthority: string;
444
- } | {
445
- readOnly: boolean;
446
- mode: string;
447
- forbiddenActions: string[];
448
- boundedAuthority: string;
449
- blocker: string;
450
- workspaceId: string;
451
- guidance: string;
452
- warnings: string[];
453
- journalPath: string | null;
454
- text: string;
455
- workspaceResolution: string;
456
- status?: undefined;
457
- conflicts?: undefined;
458
- runId?: undefined;
459
- } | {
460
- readOnly: boolean;
461
- mode: string;
462
- forbiddenActions: string[];
463
- boundedAuthority: string;
464
- warnings: any[];
465
- journalPath: string | null;
466
- text: string;
467
- workspaceId: string;
468
- workspaceResolution: string;
469
- blocker?: undefined;
470
- guidance?: undefined;
471
- status?: undefined;
472
- conflicts?: undefined;
473
- runId?: undefined;
474
- } | {
475
- runSnapshot: unknown;
476
- readOnly: boolean;
477
- forbiddenActions: string[];
478
- boundedAuthority: string;
479
- status: "dry_run";
480
- plan: Record<string, unknown>;
481
- blocker?: undefined;
482
- guidance?: undefined;
483
- conflicts?: undefined;
484
- runId?: undefined;
485
- } | {
486
- runSnapshot: unknown;
487
- readOnly: boolean;
488
- forbiddenActions: string[];
489
- boundedAuthority: string;
490
- status: "in_progress";
491
- runId: string;
492
- fence: number;
493
- gate: import("../refill-run-loop.js").RefillLoopGate;
494
- guidance: string;
495
- journalPath?: string | null;
496
- targetConfig?: RefillTargetConfigV1;
497
- runHandle?: RefillRunHandleV1;
498
- refillReporting?: Record<string, unknown>;
499
- blocker?: undefined;
500
- conflicts?: undefined;
501
- } | {
502
- runSnapshot: unknown;
503
- readOnly: boolean;
504
- forbiddenActions: string[];
505
- boundedAuthority: string;
506
- status: "blocked";
507
- blocker: string;
508
- runId?: string;
509
- fence?: number;
510
- gate?: import("../refill-run-loop.js").RefillLoopGate;
511
- guidance: string;
512
- holderRunId?: string;
513
- report?: Record<string, unknown>;
514
- journalPath?: string | null;
515
- targetConfig?: RefillTargetConfigV1;
516
- runHandle?: RefillRunHandleV1;
517
- refillReporting?: Record<string, unknown>;
518
- conflicts?: undefined;
519
- } | {
520
- runSnapshot: unknown;
521
- readOnly: boolean;
522
- forbiddenActions: string[];
523
- boundedAuthority: string;
524
- status: "terminal";
525
- doneReason: string;
526
- report: Record<string, unknown>;
527
- runId: string;
528
- guidance?: string;
529
- journalPath?: string | null;
530
- targetConfig?: RefillTargetConfigV1;
531
- runHandle?: RefillRunHandleV1;
532
- refillReporting?: Record<string, unknown>;
533
- runState?: Record<string, unknown>;
534
- blocker?: undefined;
535
- conflicts?: undefined;
536
- }>;
537
- export {};
@@ -1,24 +0,0 @@
1
- ---
2
- name: refill-sends-evergreen
3
- description: Deprecated alias for refill-sends-v2.
4
- visibility: public
5
- allowed-tools:
6
- - mcp__sellable__get_subskill_prompt
7
- ---
8
-
9
- # Refill Sends Evergreen
10
-
11
- Superseded by refill-sends-v2. The prompt name now redirects through
12
- `DEPRECATED_SUBSKILL_PROMPT_REPLACEMENTS`; do not call this deprecated prompt
13
- directly.
14
-
15
- Use `refill-sends-v2` instead:
16
-
17
- ```text
18
- get_subskill_prompt({ subskillName: "refill-sends-v2" })
19
- ```
20
-
21
- The alias must not strip exact `targetConfig`, server `runHandle`,
22
- `reportingContext`, canonical `refill_reporting.v2`, or an explicit
23
- `messageTemplateRevision`. It never infers revision authority from
24
- `forceRerun`.
@@ -1,25 +0,0 @@
1
- ---
2
- name: refill-sends-evergreen-workflow
3
- description: Deprecated alias for refill-sends-v2-workflow.
4
- visibility: internal
5
- allowed-tools:
6
- - mcp__sellable__get_subskill_prompt
7
- ---
8
-
9
- # Refill Sends Evergreen Workflow
10
-
11
- Superseded by refill-sends-v2-workflow. The prompt name now redirects through
12
- `DEPRECATED_SUBSKILL_PROMPT_REPLACEMENTS`; do not call this deprecated prompt or
13
- its old flow asset directly.
14
-
15
- Use `refill-sends-v2-workflow` instead:
16
-
17
- ```text
18
- get_subskill_prompt({ subskillName: "refill-sends-v2-workflow" })
19
- get_subskill_asset({ subskillName: "refill-sends-v2-workflow", assetPath: "core/flow.v1.json" })
20
- ```
21
-
22
- Alias projection is lossless: keep exact `targetConfig`, server `runHandle`,
23
- `reportingContext`, `refill_reporting.v2`, and any complete explicit
24
- user-approved `messageTemplateRevision` unchanged. Missing revision input means
25
- no revision, regardless of `forceRerun`.