@sendinel/mcp-server 1.0.199 → 1.0.200
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/build/tools/warmup.js +2 -1
- package/package.json +1 -1
package/build/tools/warmup.js
CHANGED
|
@@ -13,7 +13,7 @@ export function registerWarmupTools(server) {
|
|
|
13
13
|
idempotentHint: true,
|
|
14
14
|
openWorldHint: false,
|
|
15
15
|
},
|
|
16
|
-
description: 'Get warmup status for a sending site.',
|
|
16
|
+
description: 'Get warmup status for a sending site: phase, warmup_day (null before warmup starts), daily_limit (null until a schedule sets it), current_volume, started_at, progress_pct, next_milestone, last_send_date, and idle.',
|
|
17
17
|
inputSchema: { site_id: z.string().uuid() },
|
|
18
18
|
}, async ({ site_id }) => {
|
|
19
19
|
const { data, error } = await db().from('domain_health')
|
|
@@ -44,6 +44,7 @@ export function registerWarmupTools(server) {
|
|
|
44
44
|
}
|
|
45
45
|
const yesterday = new Date(Date.now() - 86400000).toISOString().slice(0, 10);
|
|
46
46
|
return j({
|
|
47
|
+
warmup_day: data?.warmup_day ?? null,
|
|
47
48
|
phase: day >= 42 ? 'complete' : day > 0 ? 'warming' : 'not_started',
|
|
48
49
|
daily_limit: data?.warmup_daily_limit ?? null,
|
|
49
50
|
current_volume: data?.total_sent ?? 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendinel/mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.200",
|
|
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",
|