@sendinel/mcp-server 1.0.208 → 1.0.209
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.
|
@@ -409,7 +409,7 @@ export async function requestApproval(action, params, apiKeyId, channelContext,
|
|
|
409
409
|
}
|
|
410
410
|
catch { /* Missing display data omits the project line. */ }
|
|
411
411
|
const approveUrl = approvalPageUrl(data.id);
|
|
412
|
-
const previewText = buildApprovalPreview({ action, params: frozenParams, summary, projectName, ...(display && 'recipient_count' in display ? { recipientCount: display.recipient_count } : {}) }).plain_summary;
|
|
412
|
+
const previewText = buildApprovalPreview({ action, params: frozenParams, summary: detailSummary, projectName, ...(display && 'recipient_count' in display ? { recipientCount: display.recipient_count } : {}) }).plain_summary;
|
|
413
413
|
if (sandboxApproved) {
|
|
414
414
|
return { requires_approval: true, approval_id: data.id, tier, action, summary, expires_at: expiresAt,
|
|
415
415
|
approve_via: 'sandbox', decided_via: 'sandbox', decided_by: null, approve_url: approveUrl, preview_text: previewText, decision_status: 'approved',
|
|
@@ -431,7 +431,7 @@ export async function requestApproval(action, params, apiKeyId, channelContext,
|
|
|
431
431
|
approve_url: approveUrl,
|
|
432
432
|
preview_text: previewText,
|
|
433
433
|
message: `${previewText}\nTap to approve: ${approveUrl}\nIt stays open for 24 hours. ${effective.channelRule === 'human_only' ? 'Use the dashboard link or a typed chat reply.' : 'In a terminal with prompts you can also answer the on-screen Accept/Decline.'}${chatGuidance}\nAfter approval: ${approvalRetryInstruction(action)}`,
|
|
434
|
-
}, { action, params: frozenParams, summary, projectName, channelRule: effective.channelRule }, getProjectId());
|
|
434
|
+
}, { action, params: frozenParams, summary: detailSummary, projectName, channelRule: effective.channelRule }, getProjectId());
|
|
435
435
|
if (result.decision_status === 'approved') {
|
|
436
436
|
return { ...result, message: approvalNext(action, result) };
|
|
437
437
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendinel/mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.209",
|
|
4
4
|
"description": "AI-controlled email operations control plane for campaigns, contacts, segments, analytics, and multi-provider sending via MCP.",
|
|
5
5
|
"mcpName": "ai.sendinel/mcp-server",
|
|
6
6
|
"type": "module",
|