@sellable/mcp 0.1.726 → 0.1.727
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/refill-sends.d.ts +0 -617
- package/dist/tools/refill-sends.js +59 -1
- package/package.json +1 -1
|
@@ -3143,419 +3143,6 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
|
|
|
3143
3143
|
workspaceResolution: string;
|
|
3144
3144
|
intent: RefillSendsIntent;
|
|
3145
3145
|
} | {
|
|
3146
|
-
status: "blocked";
|
|
3147
|
-
blocker: string;
|
|
3148
|
-
guidance: string;
|
|
3149
|
-
conflicts: string[];
|
|
3150
|
-
runId: string | undefined;
|
|
3151
|
-
readOnly: boolean;
|
|
3152
|
-
forbiddenActions: string[];
|
|
3153
|
-
boundedAuthority: string;
|
|
3154
|
-
ok: boolean;
|
|
3155
|
-
targetDate: string | null;
|
|
3156
|
-
untilDate: string | null;
|
|
3157
|
-
horizonSendDays: number | null;
|
|
3158
|
-
fillWindow: {
|
|
3159
|
-
mode: string;
|
|
3160
|
-
targetDate: string;
|
|
3161
|
-
description: string;
|
|
3162
|
-
untilDate?: undefined;
|
|
3163
|
-
horizonSendDays?: undefined;
|
|
3164
|
-
horizonHours?: undefined;
|
|
3165
|
-
} | {
|
|
3166
|
-
mode: string;
|
|
3167
|
-
untilDate: string;
|
|
3168
|
-
description: string;
|
|
3169
|
-
targetDate?: undefined;
|
|
3170
|
-
horizonSendDays?: undefined;
|
|
3171
|
-
horizonHours?: undefined;
|
|
3172
|
-
} | {
|
|
3173
|
-
mode: string;
|
|
3174
|
-
horizonSendDays: number | null;
|
|
3175
|
-
horizonHours: number | null;
|
|
3176
|
-
description: string;
|
|
3177
|
-
targetDate?: undefined;
|
|
3178
|
-
untilDate?: undefined;
|
|
3179
|
-
};
|
|
3180
|
-
approvalMode: RefillSendsApprovalMode;
|
|
3181
|
-
campaignId: string | null;
|
|
3182
|
-
tableId: string | null;
|
|
3183
|
-
targetConfig: RefillTargetConfigV1 | null;
|
|
3184
|
-
runHandle: RefillRunHandleV1 | null;
|
|
3185
|
-
reportingContext: RefillReportingContextV2 | null;
|
|
3186
|
-
messageTemplateRevision: MessageTemplateRevisionV1 | null;
|
|
3187
|
-
senderScope: string;
|
|
3188
|
-
senderSelectors: {
|
|
3189
|
-
senders: string[];
|
|
3190
|
-
senderIds: string[];
|
|
3191
|
-
senderNames: string[];
|
|
3192
|
-
};
|
|
3193
|
-
firstOperationalSteps: string[];
|
|
3194
|
-
approvalContract: string;
|
|
3195
|
-
hostExamples: {
|
|
3196
|
-
claude: string[];
|
|
3197
|
-
codex: string[];
|
|
3198
|
-
mcpTool: {
|
|
3199
|
-
name: string;
|
|
3200
|
-
arguments: {
|
|
3201
|
-
workspaceRunState?: Record<string, unknown> | undefined;
|
|
3202
|
-
workspaceCoordinator?: boolean | undefined;
|
|
3203
|
-
messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
|
|
3204
|
-
reportingContext?: RefillReportingContextV2 | undefined;
|
|
3205
|
-
targetConfig?: RefillTargetConfigV1 | undefined;
|
|
3206
|
-
runHandle?: RefillRunHandleV1 | undefined;
|
|
3207
|
-
fence?: number | undefined;
|
|
3208
|
-
runId?: string | undefined;
|
|
3209
|
-
expectedActionKey?: string | undefined;
|
|
3210
|
-
expectedTargetShapeRevision?: string | undefined;
|
|
3211
|
-
targetDate: string | null;
|
|
3212
|
-
untilDate: string | null;
|
|
3213
|
-
horizonSendDays: number | null;
|
|
3214
|
-
campaignId: string | undefined;
|
|
3215
|
-
tableId: string | undefined;
|
|
3216
|
-
intent: RefillSendsIntent;
|
|
3217
|
-
approvalMode: RefillSendsApprovalMode;
|
|
3218
|
-
workspaceId: string | null;
|
|
3219
|
-
actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
|
|
3220
|
-
yolo: boolean;
|
|
3221
|
-
senders: string[];
|
|
3222
|
-
senderIds: string[];
|
|
3223
|
-
senderNames: string[];
|
|
3224
|
-
};
|
|
3225
|
-
};
|
|
3226
|
-
};
|
|
3227
|
-
actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
|
|
3228
|
-
command: string;
|
|
3229
|
-
tool: string;
|
|
3230
|
-
promptName: string;
|
|
3231
|
-
workflowPromptName: string;
|
|
3232
|
-
workflowAsset: {
|
|
3233
|
-
subskillName: string;
|
|
3234
|
-
assetPath: string;
|
|
3235
|
-
expectedVersion: string;
|
|
3236
|
-
};
|
|
3237
|
-
yolo: boolean;
|
|
3238
|
-
executionMode: RefillSendsExecutionMode;
|
|
3239
|
-
workspaceId: string | null;
|
|
3240
|
-
workspaceResolution: string;
|
|
3241
|
-
intent: RefillSendsIntent;
|
|
3242
|
-
} | {
|
|
3243
|
-
readOnly: boolean;
|
|
3244
|
-
mode: string;
|
|
3245
|
-
forbiddenActions: string[];
|
|
3246
|
-
boundedAuthority: string;
|
|
3247
|
-
blocker: string;
|
|
3248
|
-
workspaceId: string;
|
|
3249
|
-
guidance: string;
|
|
3250
|
-
warnings: string[];
|
|
3251
|
-
journalPath: string | null;
|
|
3252
|
-
text: string;
|
|
3253
|
-
workspaceResolution: string;
|
|
3254
|
-
status?: undefined;
|
|
3255
|
-
conflicts?: undefined;
|
|
3256
|
-
runId?: undefined;
|
|
3257
|
-
ok: boolean;
|
|
3258
|
-
targetDate: string | null;
|
|
3259
|
-
untilDate: string | null;
|
|
3260
|
-
horizonSendDays: number | null;
|
|
3261
|
-
fillWindow: {
|
|
3262
|
-
mode: string;
|
|
3263
|
-
targetDate: string;
|
|
3264
|
-
description: string;
|
|
3265
|
-
untilDate?: undefined;
|
|
3266
|
-
horizonSendDays?: undefined;
|
|
3267
|
-
horizonHours?: undefined;
|
|
3268
|
-
} | {
|
|
3269
|
-
mode: string;
|
|
3270
|
-
untilDate: string;
|
|
3271
|
-
description: string;
|
|
3272
|
-
targetDate?: undefined;
|
|
3273
|
-
horizonSendDays?: undefined;
|
|
3274
|
-
horizonHours?: undefined;
|
|
3275
|
-
} | {
|
|
3276
|
-
mode: string;
|
|
3277
|
-
horizonSendDays: number | null;
|
|
3278
|
-
horizonHours: number | null;
|
|
3279
|
-
description: string;
|
|
3280
|
-
targetDate?: undefined;
|
|
3281
|
-
untilDate?: undefined;
|
|
3282
|
-
};
|
|
3283
|
-
approvalMode: RefillSendsApprovalMode;
|
|
3284
|
-
campaignId: string | null;
|
|
3285
|
-
tableId: string | null;
|
|
3286
|
-
targetConfig: RefillTargetConfigV1 | null;
|
|
3287
|
-
runHandle: RefillRunHandleV1 | null;
|
|
3288
|
-
reportingContext: RefillReportingContextV2 | null;
|
|
3289
|
-
messageTemplateRevision: MessageTemplateRevisionV1 | null;
|
|
3290
|
-
senderScope: string;
|
|
3291
|
-
senderSelectors: {
|
|
3292
|
-
senders: string[];
|
|
3293
|
-
senderIds: string[];
|
|
3294
|
-
senderNames: string[];
|
|
3295
|
-
};
|
|
3296
|
-
firstOperationalSteps: string[];
|
|
3297
|
-
approvalContract: string;
|
|
3298
|
-
hostExamples: {
|
|
3299
|
-
claude: string[];
|
|
3300
|
-
codex: string[];
|
|
3301
|
-
mcpTool: {
|
|
3302
|
-
name: string;
|
|
3303
|
-
arguments: {
|
|
3304
|
-
workspaceRunState?: Record<string, unknown> | undefined;
|
|
3305
|
-
workspaceCoordinator?: boolean | undefined;
|
|
3306
|
-
messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
|
|
3307
|
-
reportingContext?: RefillReportingContextV2 | undefined;
|
|
3308
|
-
targetConfig?: RefillTargetConfigV1 | undefined;
|
|
3309
|
-
runHandle?: RefillRunHandleV1 | undefined;
|
|
3310
|
-
fence?: number | undefined;
|
|
3311
|
-
runId?: string | undefined;
|
|
3312
|
-
expectedActionKey?: string | undefined;
|
|
3313
|
-
expectedTargetShapeRevision?: string | undefined;
|
|
3314
|
-
targetDate: string | null;
|
|
3315
|
-
untilDate: string | null;
|
|
3316
|
-
horizonSendDays: number | null;
|
|
3317
|
-
campaignId: string | undefined;
|
|
3318
|
-
tableId: string | undefined;
|
|
3319
|
-
intent: RefillSendsIntent;
|
|
3320
|
-
approvalMode: RefillSendsApprovalMode;
|
|
3321
|
-
workspaceId: string | null;
|
|
3322
|
-
actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
|
|
3323
|
-
yolo: boolean;
|
|
3324
|
-
senders: string[];
|
|
3325
|
-
senderIds: string[];
|
|
3326
|
-
senderNames: string[];
|
|
3327
|
-
};
|
|
3328
|
-
};
|
|
3329
|
-
};
|
|
3330
|
-
actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
|
|
3331
|
-
command: string;
|
|
3332
|
-
tool: string;
|
|
3333
|
-
promptName: string;
|
|
3334
|
-
workflowPromptName: string;
|
|
3335
|
-
workflowAsset: {
|
|
3336
|
-
subskillName: string;
|
|
3337
|
-
assetPath: string;
|
|
3338
|
-
expectedVersion: string;
|
|
3339
|
-
};
|
|
3340
|
-
yolo: boolean;
|
|
3341
|
-
executionMode: RefillSendsExecutionMode;
|
|
3342
|
-
intent: RefillSendsIntent;
|
|
3343
|
-
} | {
|
|
3344
|
-
readOnly: boolean;
|
|
3345
|
-
mode: string;
|
|
3346
|
-
forbiddenActions: string[];
|
|
3347
|
-
boundedAuthority: string;
|
|
3348
|
-
warnings: any[];
|
|
3349
|
-
journalPath: string | null;
|
|
3350
|
-
text: string;
|
|
3351
|
-
workspaceId: string;
|
|
3352
|
-
workspaceResolution: string;
|
|
3353
|
-
blocker?: undefined;
|
|
3354
|
-
guidance?: undefined;
|
|
3355
|
-
status?: undefined;
|
|
3356
|
-
conflicts?: undefined;
|
|
3357
|
-
runId?: undefined;
|
|
3358
|
-
ok: boolean;
|
|
3359
|
-
targetDate: string | null;
|
|
3360
|
-
untilDate: string | null;
|
|
3361
|
-
horizonSendDays: number | null;
|
|
3362
|
-
fillWindow: {
|
|
3363
|
-
mode: string;
|
|
3364
|
-
targetDate: string;
|
|
3365
|
-
description: string;
|
|
3366
|
-
untilDate?: undefined;
|
|
3367
|
-
horizonSendDays?: undefined;
|
|
3368
|
-
horizonHours?: undefined;
|
|
3369
|
-
} | {
|
|
3370
|
-
mode: string;
|
|
3371
|
-
untilDate: string;
|
|
3372
|
-
description: string;
|
|
3373
|
-
targetDate?: undefined;
|
|
3374
|
-
horizonSendDays?: undefined;
|
|
3375
|
-
horizonHours?: undefined;
|
|
3376
|
-
} | {
|
|
3377
|
-
mode: string;
|
|
3378
|
-
horizonSendDays: number | null;
|
|
3379
|
-
horizonHours: number | null;
|
|
3380
|
-
description: string;
|
|
3381
|
-
targetDate?: undefined;
|
|
3382
|
-
untilDate?: undefined;
|
|
3383
|
-
};
|
|
3384
|
-
approvalMode: RefillSendsApprovalMode;
|
|
3385
|
-
campaignId: string | null;
|
|
3386
|
-
tableId: string | null;
|
|
3387
|
-
targetConfig: RefillTargetConfigV1 | null;
|
|
3388
|
-
runHandle: RefillRunHandleV1 | null;
|
|
3389
|
-
reportingContext: RefillReportingContextV2 | null;
|
|
3390
|
-
messageTemplateRevision: MessageTemplateRevisionV1 | null;
|
|
3391
|
-
senderScope: string;
|
|
3392
|
-
senderSelectors: {
|
|
3393
|
-
senders: string[];
|
|
3394
|
-
senderIds: string[];
|
|
3395
|
-
senderNames: string[];
|
|
3396
|
-
};
|
|
3397
|
-
firstOperationalSteps: string[];
|
|
3398
|
-
approvalContract: string;
|
|
3399
|
-
hostExamples: {
|
|
3400
|
-
claude: string[];
|
|
3401
|
-
codex: string[];
|
|
3402
|
-
mcpTool: {
|
|
3403
|
-
name: string;
|
|
3404
|
-
arguments: {
|
|
3405
|
-
workspaceRunState?: Record<string, unknown> | undefined;
|
|
3406
|
-
workspaceCoordinator?: boolean | undefined;
|
|
3407
|
-
messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
|
|
3408
|
-
reportingContext?: RefillReportingContextV2 | undefined;
|
|
3409
|
-
targetConfig?: RefillTargetConfigV1 | undefined;
|
|
3410
|
-
runHandle?: RefillRunHandleV1 | undefined;
|
|
3411
|
-
fence?: number | undefined;
|
|
3412
|
-
runId?: string | undefined;
|
|
3413
|
-
expectedActionKey?: string | undefined;
|
|
3414
|
-
expectedTargetShapeRevision?: string | undefined;
|
|
3415
|
-
targetDate: string | null;
|
|
3416
|
-
untilDate: string | null;
|
|
3417
|
-
horizonSendDays: number | null;
|
|
3418
|
-
campaignId: string | undefined;
|
|
3419
|
-
tableId: string | undefined;
|
|
3420
|
-
intent: RefillSendsIntent;
|
|
3421
|
-
approvalMode: RefillSendsApprovalMode;
|
|
3422
|
-
workspaceId: string | null;
|
|
3423
|
-
actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
|
|
3424
|
-
yolo: boolean;
|
|
3425
|
-
senders: string[];
|
|
3426
|
-
senderIds: string[];
|
|
3427
|
-
senderNames: string[];
|
|
3428
|
-
};
|
|
3429
|
-
};
|
|
3430
|
-
};
|
|
3431
|
-
actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
|
|
3432
|
-
command: string;
|
|
3433
|
-
tool: string;
|
|
3434
|
-
promptName: string;
|
|
3435
|
-
workflowPromptName: string;
|
|
3436
|
-
workflowAsset: {
|
|
3437
|
-
subskillName: string;
|
|
3438
|
-
assetPath: string;
|
|
3439
|
-
expectedVersion: string;
|
|
3440
|
-
};
|
|
3441
|
-
yolo: boolean;
|
|
3442
|
-
executionMode: RefillSendsExecutionMode;
|
|
3443
|
-
intent: RefillSendsIntent;
|
|
3444
|
-
} | {
|
|
3445
|
-
runSnapshot: unknown;
|
|
3446
|
-
readOnly: boolean;
|
|
3447
|
-
forbiddenActions: string[];
|
|
3448
|
-
boundedAuthority: string;
|
|
3449
|
-
status: "dry_run";
|
|
3450
|
-
plan: Record<string, unknown>;
|
|
3451
|
-
blocker?: undefined;
|
|
3452
|
-
guidance?: undefined;
|
|
3453
|
-
conflicts?: undefined;
|
|
3454
|
-
runId?: undefined;
|
|
3455
|
-
ok: boolean;
|
|
3456
|
-
targetDate: string | null;
|
|
3457
|
-
untilDate: string | null;
|
|
3458
|
-
horizonSendDays: number | null;
|
|
3459
|
-
fillWindow: {
|
|
3460
|
-
mode: string;
|
|
3461
|
-
targetDate: string;
|
|
3462
|
-
description: string;
|
|
3463
|
-
untilDate?: undefined;
|
|
3464
|
-
horizonSendDays?: undefined;
|
|
3465
|
-
horizonHours?: undefined;
|
|
3466
|
-
} | {
|
|
3467
|
-
mode: string;
|
|
3468
|
-
untilDate: string;
|
|
3469
|
-
description: string;
|
|
3470
|
-
targetDate?: undefined;
|
|
3471
|
-
horizonSendDays?: undefined;
|
|
3472
|
-
horizonHours?: undefined;
|
|
3473
|
-
} | {
|
|
3474
|
-
mode: string;
|
|
3475
|
-
horizonSendDays: number | null;
|
|
3476
|
-
horizonHours: number | null;
|
|
3477
|
-
description: string;
|
|
3478
|
-
targetDate?: undefined;
|
|
3479
|
-
untilDate?: undefined;
|
|
3480
|
-
};
|
|
3481
|
-
approvalMode: RefillSendsApprovalMode;
|
|
3482
|
-
campaignId: string | null;
|
|
3483
|
-
tableId: string | null;
|
|
3484
|
-
targetConfig: RefillTargetConfigV1 | null;
|
|
3485
|
-
runHandle: RefillRunHandleV1 | null;
|
|
3486
|
-
reportingContext: RefillReportingContextV2 | null;
|
|
3487
|
-
messageTemplateRevision: MessageTemplateRevisionV1 | null;
|
|
3488
|
-
senderScope: string;
|
|
3489
|
-
senderSelectors: {
|
|
3490
|
-
senders: string[];
|
|
3491
|
-
senderIds: string[];
|
|
3492
|
-
senderNames: string[];
|
|
3493
|
-
};
|
|
3494
|
-
firstOperationalSteps: string[];
|
|
3495
|
-
approvalContract: string;
|
|
3496
|
-
hostExamples: {
|
|
3497
|
-
claude: string[];
|
|
3498
|
-
codex: string[];
|
|
3499
|
-
mcpTool: {
|
|
3500
|
-
name: string;
|
|
3501
|
-
arguments: {
|
|
3502
|
-
workspaceRunState?: Record<string, unknown> | undefined;
|
|
3503
|
-
workspaceCoordinator?: boolean | undefined;
|
|
3504
|
-
messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
|
|
3505
|
-
reportingContext?: RefillReportingContextV2 | undefined;
|
|
3506
|
-
targetConfig?: RefillTargetConfigV1 | undefined;
|
|
3507
|
-
runHandle?: RefillRunHandleV1 | undefined;
|
|
3508
|
-
fence?: number | undefined;
|
|
3509
|
-
runId?: string | undefined;
|
|
3510
|
-
expectedActionKey?: string | undefined;
|
|
3511
|
-
expectedTargetShapeRevision?: string | undefined;
|
|
3512
|
-
targetDate: string | null;
|
|
3513
|
-
untilDate: string | null;
|
|
3514
|
-
horizonSendDays: number | null;
|
|
3515
|
-
campaignId: string | undefined;
|
|
3516
|
-
tableId: string | undefined;
|
|
3517
|
-
intent: RefillSendsIntent;
|
|
3518
|
-
approvalMode: RefillSendsApprovalMode;
|
|
3519
|
-
workspaceId: string | null;
|
|
3520
|
-
actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
|
|
3521
|
-
yolo: boolean;
|
|
3522
|
-
senders: string[];
|
|
3523
|
-
senderIds: string[];
|
|
3524
|
-
senderNames: string[];
|
|
3525
|
-
};
|
|
3526
|
-
};
|
|
3527
|
-
};
|
|
3528
|
-
actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
|
|
3529
|
-
command: string;
|
|
3530
|
-
tool: string;
|
|
3531
|
-
promptName: string;
|
|
3532
|
-
workflowPromptName: string;
|
|
3533
|
-
workflowAsset: {
|
|
3534
|
-
subskillName: string;
|
|
3535
|
-
assetPath: string;
|
|
3536
|
-
expectedVersion: string;
|
|
3537
|
-
};
|
|
3538
|
-
yolo: boolean;
|
|
3539
|
-
executionMode: RefillSendsExecutionMode;
|
|
3540
|
-
workspaceId: string | null;
|
|
3541
|
-
workspaceResolution: string;
|
|
3542
|
-
intent: RefillSendsIntent;
|
|
3543
|
-
} | {
|
|
3544
|
-
runSnapshot: unknown;
|
|
3545
|
-
readOnly: boolean;
|
|
3546
|
-
forbiddenActions: string[];
|
|
3547
|
-
boundedAuthority: string;
|
|
3548
|
-
status: "in_progress";
|
|
3549
|
-
runId: string;
|
|
3550
|
-
fence: number;
|
|
3551
|
-
gate: import("../refill-run-loop.js").RefillLoopGate;
|
|
3552
|
-
guidance: string;
|
|
3553
|
-
journalPath?: string | null;
|
|
3554
|
-
targetConfig: RefillTargetConfigV1 | null;
|
|
3555
|
-
runHandle: RefillRunHandleV1 | null;
|
|
3556
|
-
refillReporting?: Record<string, unknown>;
|
|
3557
|
-
blocker?: undefined;
|
|
3558
|
-
conflicts?: undefined;
|
|
3559
3146
|
ok: boolean;
|
|
3560
3147
|
targetDate: string | null;
|
|
3561
3148
|
untilDate: string | null;
|
|
@@ -3585,110 +3172,8 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
|
|
|
3585
3172
|
approvalMode: RefillSendsApprovalMode;
|
|
3586
3173
|
campaignId: string | null;
|
|
3587
3174
|
tableId: string | null;
|
|
3588
|
-
reportingContext: RefillReportingContextV2 | null;
|
|
3589
|
-
messageTemplateRevision: MessageTemplateRevisionV1 | null;
|
|
3590
|
-
senderScope: string;
|
|
3591
|
-
senderSelectors: {
|
|
3592
|
-
senders: string[];
|
|
3593
|
-
senderIds: string[];
|
|
3594
|
-
senderNames: string[];
|
|
3595
|
-
};
|
|
3596
|
-
firstOperationalSteps: string[];
|
|
3597
|
-
approvalContract: string;
|
|
3598
|
-
hostExamples: {
|
|
3599
|
-
claude: string[];
|
|
3600
|
-
codex: string[];
|
|
3601
|
-
mcpTool: {
|
|
3602
|
-
name: string;
|
|
3603
|
-
arguments: {
|
|
3604
|
-
workspaceRunState?: Record<string, unknown> | undefined;
|
|
3605
|
-
workspaceCoordinator?: boolean | undefined;
|
|
3606
|
-
messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
|
|
3607
|
-
reportingContext?: RefillReportingContextV2 | undefined;
|
|
3608
|
-
targetConfig?: RefillTargetConfigV1 | undefined;
|
|
3609
|
-
runHandle?: RefillRunHandleV1 | undefined;
|
|
3610
|
-
fence?: number | undefined;
|
|
3611
|
-
runId?: string | undefined;
|
|
3612
|
-
expectedActionKey?: string | undefined;
|
|
3613
|
-
expectedTargetShapeRevision?: string | undefined;
|
|
3614
|
-
targetDate: string | null;
|
|
3615
|
-
untilDate: string | null;
|
|
3616
|
-
horizonSendDays: number | null;
|
|
3617
|
-
campaignId: string | undefined;
|
|
3618
|
-
tableId: string | undefined;
|
|
3619
|
-
intent: RefillSendsIntent;
|
|
3620
|
-
approvalMode: RefillSendsApprovalMode;
|
|
3621
|
-
workspaceId: string | null;
|
|
3622
|
-
actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
|
|
3623
|
-
yolo: boolean;
|
|
3624
|
-
senders: string[];
|
|
3625
|
-
senderIds: string[];
|
|
3626
|
-
senderNames: string[];
|
|
3627
|
-
};
|
|
3628
|
-
};
|
|
3629
|
-
};
|
|
3630
|
-
actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
|
|
3631
|
-
command: string;
|
|
3632
|
-
tool: string;
|
|
3633
|
-
promptName: string;
|
|
3634
|
-
workflowPromptName: string;
|
|
3635
|
-
workflowAsset: {
|
|
3636
|
-
subskillName: string;
|
|
3637
|
-
assetPath: string;
|
|
3638
|
-
expectedVersion: string;
|
|
3639
|
-
};
|
|
3640
|
-
yolo: boolean;
|
|
3641
|
-
executionMode: RefillSendsExecutionMode;
|
|
3642
|
-
workspaceId: string | null;
|
|
3643
|
-
workspaceResolution: string;
|
|
3644
|
-
intent: RefillSendsIntent;
|
|
3645
|
-
} | {
|
|
3646
|
-
runSnapshot: unknown;
|
|
3647
|
-
readOnly: boolean;
|
|
3648
|
-
forbiddenActions: string[];
|
|
3649
|
-
boundedAuthority: string;
|
|
3650
|
-
status: "blocked";
|
|
3651
|
-
blocker: string;
|
|
3652
|
-
runId?: string;
|
|
3653
|
-
fence?: number;
|
|
3654
|
-
gate?: import("../refill-run-loop.js").RefillLoopGate;
|
|
3655
|
-
guidance: string;
|
|
3656
|
-
holderRunId?: string;
|
|
3657
|
-
report?: Record<string, unknown>;
|
|
3658
|
-
journalPath?: string | null;
|
|
3659
3175
|
targetConfig: RefillTargetConfigV1 | null;
|
|
3660
3176
|
runHandle: RefillRunHandleV1 | null;
|
|
3661
|
-
refillReporting?: Record<string, unknown>;
|
|
3662
|
-
conflicts?: undefined;
|
|
3663
|
-
ok: boolean;
|
|
3664
|
-
targetDate: string | null;
|
|
3665
|
-
untilDate: string | null;
|
|
3666
|
-
horizonSendDays: number | null;
|
|
3667
|
-
fillWindow: {
|
|
3668
|
-
mode: string;
|
|
3669
|
-
targetDate: string;
|
|
3670
|
-
description: string;
|
|
3671
|
-
untilDate?: undefined;
|
|
3672
|
-
horizonSendDays?: undefined;
|
|
3673
|
-
horizonHours?: undefined;
|
|
3674
|
-
} | {
|
|
3675
|
-
mode: string;
|
|
3676
|
-
untilDate: string;
|
|
3677
|
-
description: string;
|
|
3678
|
-
targetDate?: undefined;
|
|
3679
|
-
horizonSendDays?: undefined;
|
|
3680
|
-
horizonHours?: undefined;
|
|
3681
|
-
} | {
|
|
3682
|
-
mode: string;
|
|
3683
|
-
horizonSendDays: number | null;
|
|
3684
|
-
horizonHours: number | null;
|
|
3685
|
-
description: string;
|
|
3686
|
-
targetDate?: undefined;
|
|
3687
|
-
untilDate?: undefined;
|
|
3688
|
-
};
|
|
3689
|
-
approvalMode: RefillSendsApprovalMode;
|
|
3690
|
-
campaignId: string | null;
|
|
3691
|
-
tableId: string | null;
|
|
3692
3177
|
reportingContext: RefillReportingContextV2 | null;
|
|
3693
3178
|
messageTemplateRevision: MessageTemplateRevisionV1 | null;
|
|
3694
3179
|
senderScope: string;
|
|
@@ -3699,109 +3184,7 @@ export declare function executeRefillSendsCommand(input?: RefillSendsCommandInpu
|
|
|
3699
3184
|
};
|
|
3700
3185
|
firstOperationalSteps: string[];
|
|
3701
3186
|
approvalContract: string;
|
|
3702
|
-
hostExamples: {
|
|
3703
|
-
claude: string[];
|
|
3704
|
-
codex: string[];
|
|
3705
|
-
mcpTool: {
|
|
3706
|
-
name: string;
|
|
3707
|
-
arguments: {
|
|
3708
|
-
workspaceRunState?: Record<string, unknown> | undefined;
|
|
3709
|
-
workspaceCoordinator?: boolean | undefined;
|
|
3710
|
-
messageTemplateRevision?: MessageTemplateRevisionV1 | undefined;
|
|
3711
|
-
reportingContext?: RefillReportingContextV2 | undefined;
|
|
3712
|
-
targetConfig?: RefillTargetConfigV1 | undefined;
|
|
3713
|
-
runHandle?: RefillRunHandleV1 | undefined;
|
|
3714
|
-
fence?: number | undefined;
|
|
3715
|
-
runId?: string | undefined;
|
|
3716
|
-
expectedActionKey?: string | undefined;
|
|
3717
|
-
expectedTargetShapeRevision?: string | undefined;
|
|
3718
|
-
targetDate: string | null;
|
|
3719
|
-
untilDate: string | null;
|
|
3720
|
-
horizonSendDays: number | null;
|
|
3721
|
-
campaignId: string | undefined;
|
|
3722
|
-
tableId: string | undefined;
|
|
3723
|
-
intent: RefillSendsIntent;
|
|
3724
|
-
approvalMode: RefillSendsApprovalMode;
|
|
3725
|
-
workspaceId: string | null;
|
|
3726
|
-
actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
|
|
3727
|
-
yolo: boolean;
|
|
3728
|
-
senders: string[];
|
|
3729
|
-
senderIds: string[];
|
|
3730
|
-
senderNames: string[];
|
|
3731
|
-
};
|
|
3732
|
-
};
|
|
3733
|
-
};
|
|
3734
|
-
actionTypes?: ("send_invite" | "send_inmail_closed")[] | undefined;
|
|
3735
|
-
command: string;
|
|
3736
|
-
tool: string;
|
|
3737
|
-
promptName: string;
|
|
3738
|
-
workflowPromptName: string;
|
|
3739
|
-
workflowAsset: {
|
|
3740
|
-
subskillName: string;
|
|
3741
|
-
assetPath: string;
|
|
3742
|
-
expectedVersion: string;
|
|
3743
|
-
};
|
|
3744
|
-
yolo: boolean;
|
|
3745
|
-
executionMode: RefillSendsExecutionMode;
|
|
3746
|
-
workspaceId: string | null;
|
|
3747
|
-
workspaceResolution: string;
|
|
3748
|
-
intent: RefillSendsIntent;
|
|
3749
|
-
} | {
|
|
3750
|
-
runSnapshot: unknown;
|
|
3751
|
-
readOnly: boolean;
|
|
3752
3187
|
forbiddenActions: string[];
|
|
3753
|
-
boundedAuthority: string;
|
|
3754
|
-
status: "terminal";
|
|
3755
|
-
doneReason: string;
|
|
3756
|
-
report: Record<string, unknown>;
|
|
3757
|
-
runId: string;
|
|
3758
|
-
guidance?: string;
|
|
3759
|
-
journalPath?: string | null;
|
|
3760
|
-
targetConfig: RefillTargetConfigV1 | null;
|
|
3761
|
-
runHandle: RefillRunHandleV1 | null;
|
|
3762
|
-
refillReporting?: Record<string, unknown>;
|
|
3763
|
-
runState?: Record<string, unknown>;
|
|
3764
|
-
blocker?: undefined;
|
|
3765
|
-
conflicts?: undefined;
|
|
3766
|
-
ok: boolean;
|
|
3767
|
-
targetDate: string | null;
|
|
3768
|
-
untilDate: string | null;
|
|
3769
|
-
horizonSendDays: number | null;
|
|
3770
|
-
fillWindow: {
|
|
3771
|
-
mode: string;
|
|
3772
|
-
targetDate: string;
|
|
3773
|
-
description: string;
|
|
3774
|
-
untilDate?: undefined;
|
|
3775
|
-
horizonSendDays?: undefined;
|
|
3776
|
-
horizonHours?: undefined;
|
|
3777
|
-
} | {
|
|
3778
|
-
mode: string;
|
|
3779
|
-
untilDate: string;
|
|
3780
|
-
description: string;
|
|
3781
|
-
targetDate?: undefined;
|
|
3782
|
-
horizonSendDays?: undefined;
|
|
3783
|
-
horizonHours?: undefined;
|
|
3784
|
-
} | {
|
|
3785
|
-
mode: string;
|
|
3786
|
-
horizonSendDays: number | null;
|
|
3787
|
-
horizonHours: number | null;
|
|
3788
|
-
description: string;
|
|
3789
|
-
targetDate?: undefined;
|
|
3790
|
-
untilDate?: undefined;
|
|
3791
|
-
};
|
|
3792
|
-
approvalMode: RefillSendsApprovalMode;
|
|
3793
|
-
campaignId: string | null;
|
|
3794
|
-
tableId: string | null;
|
|
3795
|
-
reportingContext: RefillReportingContextV2 | null;
|
|
3796
|
-
messageTemplateRevision: MessageTemplateRevisionV1 | null;
|
|
3797
|
-
senderScope: string;
|
|
3798
|
-
senderSelectors: {
|
|
3799
|
-
senders: string[];
|
|
3800
|
-
senderIds: string[];
|
|
3801
|
-
senderNames: string[];
|
|
3802
|
-
};
|
|
3803
|
-
firstOperationalSteps: string[];
|
|
3804
|
-
approvalContract: string;
|
|
3805
3188
|
hostExamples: {
|
|
3806
3189
|
claude: string[];
|
|
3807
3190
|
codex: string[];
|
|
@@ -736,6 +736,60 @@ function workspaceCoordinatorInput(input) {
|
|
|
736
736
|
delete coordinatorInput.backgroundWait;
|
|
737
737
|
return coordinatorInput;
|
|
738
738
|
}
|
|
739
|
+
// fix(112ad): the agent-keywords broaden handoff template must carry the COMPLETE
|
|
740
|
+
// original invocation surface, not just the fence handle + campaign/table that
|
|
741
|
+
// 0b680f407 added. The run loop renders a minimal argumentsTemplate (workspaceId,
|
|
742
|
+
// runId, fence, campaignId, tableId, agentKeywords); without the window
|
|
743
|
+
// (targetDate/untilDate/horizonSendDays), the lane (actionTypes/approvalMode/
|
|
744
|
+
// intent), and the coordinator envelope (executionMode/workspaceCoordinator/
|
|
745
|
+
// workspaceRunState), the agent's filled re-invocation defaults targetDate=null ->
|
|
746
|
+
// fillWindow scheduler_forward_48h -> the re-rendered authority mismatches the
|
|
747
|
+
// fenced targetConfig -> approval_scope_changed with no safe continuation (Clover
|
|
748
|
+
// 7-29, calls 10-11). Merge the coordinator envelope UNDER the base template so the
|
|
749
|
+
// fence handle + exact target win and the missing scope fields are filled — the
|
|
750
|
+
// identical continuation contract every other coordinator handoff carries.
|
|
751
|
+
function withKeywordsHandoffScope(result, scopedInput) {
|
|
752
|
+
const report = recordValue(result.report);
|
|
753
|
+
const continuation = report ? recordValue(report.continuation) : null;
|
|
754
|
+
const template = continuation
|
|
755
|
+
? recordValue(continuation.argumentsTemplate)
|
|
756
|
+
: null;
|
|
757
|
+
if (!report || !continuation || !template)
|
|
758
|
+
return result;
|
|
759
|
+
const scopeAdditions = {
|
|
760
|
+
...(scopedInput.targetDate ? { targetDate: scopedInput.targetDate } : {}),
|
|
761
|
+
...(scopedInput.untilDate ? { untilDate: scopedInput.untilDate } : {}),
|
|
762
|
+
...(typeof scopedInput.horizonSendDays === "number"
|
|
763
|
+
? { horizonSendDays: scopedInput.horizonSendDays }
|
|
764
|
+
: {}),
|
|
765
|
+
...(scopedInput.actionTypes
|
|
766
|
+
? { actionTypes: scopedInput.actionTypes }
|
|
767
|
+
: {}),
|
|
768
|
+
...(scopedInput.approvalMode
|
|
769
|
+
? { approvalMode: scopedInput.approvalMode }
|
|
770
|
+
: {}),
|
|
771
|
+
...(scopedInput.intent ? { intent: scopedInput.intent } : {}),
|
|
772
|
+
...(scopedInput.executionMode
|
|
773
|
+
? { executionMode: scopedInput.executionMode }
|
|
774
|
+
: {}),
|
|
775
|
+
...(scopedInput.workspaceCoordinator === true
|
|
776
|
+
? { workspaceCoordinator: true }
|
|
777
|
+
: {}),
|
|
778
|
+
...(scopedInput.workspaceRunState
|
|
779
|
+
? { workspaceRunState: scopedInput.workspaceRunState }
|
|
780
|
+
: {}),
|
|
781
|
+
};
|
|
782
|
+
return {
|
|
783
|
+
...result,
|
|
784
|
+
report: {
|
|
785
|
+
...report,
|
|
786
|
+
continuation: {
|
|
787
|
+
...continuation,
|
|
788
|
+
argumentsTemplate: { ...scopeAdditions, ...template },
|
|
789
|
+
},
|
|
790
|
+
},
|
|
791
|
+
};
|
|
792
|
+
}
|
|
739
793
|
const BACKGROUND_WAIT_FAST_PATH_TTL_MS = 10 * 60 * 1000;
|
|
740
794
|
const BACKGROUND_WAIT_MIN_RETRY_MS = 5_000;
|
|
741
795
|
// Action families whose successful exact terminal means NEW ROWS landed on
|
|
@@ -3198,7 +3252,11 @@ export async function executeRefillSendsCommand(input = {}) {
|
|
|
3198
3252
|
if ("blocker" in result &&
|
|
3199
3253
|
stringValue(result.blocker) ===
|
|
3200
3254
|
"agent_supplied_signal_keywords_required") {
|
|
3201
|
-
|
|
3255
|
+
// fix(112ad): complete the handoff template with the original window + lane
|
|
3256
|
+
// + coordinator envelope so the agent's filled re-invocation re-renders the
|
|
3257
|
+
// SAME fenced target instead of defaulting to the scheduler-forward window.
|
|
3258
|
+
const scopedResult = withKeywordsHandoffScope(result, scopedInput);
|
|
3259
|
+
return { ...command, ok: false, ...scopedResult };
|
|
3202
3260
|
}
|
|
3203
3261
|
const continuationHandle = "status" in result &&
|
|
3204
3262
|
result.status === "in_progress" &&
|