@sendinel/mcp-server 1.0.177 → 1.0.178
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/db.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export declare function runWithClient<T>(client: any, fn: () => Promise<T>, requ
|
|
|
41
41
|
actorId?: string | null;
|
|
42
42
|
oauthTokenId?: string | null;
|
|
43
43
|
chatConfirmEnabled?: boolean;
|
|
44
|
+
allowedProjectIds?: string[] | null;
|
|
44
45
|
invitationProjectIds?: string[] | null;
|
|
45
46
|
authKind?: string | null;
|
|
46
47
|
oauthClientId?: string | null;
|
|
@@ -68,6 +69,7 @@ export declare function requestContext(): {
|
|
|
68
69
|
actorId?: string | null;
|
|
69
70
|
oauthTokenId?: string | null;
|
|
70
71
|
chatConfirmEnabled?: boolean;
|
|
72
|
+
allowedProjectIds?: string[] | null;
|
|
71
73
|
invitationProjectIds?: string[] | null;
|
|
72
74
|
authKind?: string | null;
|
|
73
75
|
oauthClientId?: string | null;
|
package/build/db.js
CHANGED
|
@@ -80,6 +80,7 @@ export function requestContext() {
|
|
|
80
80
|
oauthTokenId: ctx.oauthTokenId,
|
|
81
81
|
chatConfirmEnabled: ctx.chatConfirmEnabled,
|
|
82
82
|
invitationProjectIds: ctx.invitationProjectIds,
|
|
83
|
+
allowedProjectIds: ctx.allowedProjectIds,
|
|
83
84
|
authKind: ctx.authKind,
|
|
84
85
|
oauthClientId: ctx.oauthClientId,
|
|
85
86
|
agentLabel: ctx.agentLabel,
|
|
@@ -25,6 +25,7 @@ export declare function chatConfirmConnectionEnabled(identity?: {
|
|
|
25
25
|
actorId?: string | null;
|
|
26
26
|
oauthTokenId?: string | null;
|
|
27
27
|
chatConfirmEnabled?: boolean;
|
|
28
|
+
allowedProjectIds?: string[] | null;
|
|
28
29
|
invitationProjectIds?: string[] | null;
|
|
29
30
|
authKind?: string | null;
|
|
30
31
|
oauthClientId?: string | null;
|
package/build/tools/analytics.js
CHANGED
|
@@ -309,6 +309,8 @@ export function registerAnalyticsTools(server) {
|
|
|
309
309
|
return txt(`Error: ${dbToolError(ownedProjectsError).error}`);
|
|
310
310
|
const byId = new Map();
|
|
311
311
|
for (const project of [...(directProjects ?? []), ...(ownedProjects ?? [])]) {
|
|
312
|
+
if (ctx.allowedProjectIds != null && !ctx.allowedProjectIds.includes(project.id))
|
|
313
|
+
continue;
|
|
312
314
|
if (ctx.invitationProjectIds != null && !ctx.invitationProjectIds.includes(project.id))
|
|
313
315
|
continue;
|
|
314
316
|
byId.set(project.id, project);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendinel/mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.178",
|
|
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",
|