@sendinel/mcp-server 1.0.16 → 1.0.18

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,6 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  import Anthropic from '@anthropic-ai/sdk';
3
- import { ensureReplyActionSecretConfigured, mintReplyAction, NAME_FALLBACKS, renderTemplateString as renderTemplateVars, resolveBrandTokens, } from '@sendinel/domain';
3
+ import { NAME_FALLBACKS, renderTemplateString as renderTemplateVars, resolveBrandTokens, } from '@sendinel/domain';
4
+ // Subpath import, not the barrel above -- reply-actions.ts uses node:crypto,
5
+ // and MCP-server-side that's fine (this never runs in an Edge Function), but
6
+ // keeping it off the shared barrel avoids re-creating the Edge-Function
7
+ // bundling problem this subpath was introduced to fix. See the comment in
8
+ // packages/domain/src/index.ts.
9
+ import { ensureReplyActionSecretConfigured, mintReplyAction, } from '@sendinel/domain/reply-actions';
4
10
  import { adminDb, db, requestContext } from '../db.js';
5
11
  import { getProjectId } from '../project.js';
6
12
  import { checkPlanLimit } from '../plan-limits.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendinel/mcp-server",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
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",