supersendtx-mcp 0.6.5 → 0.6.7

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.
Files changed (2) hide show
  1. package/dist/index.js +15 -13
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -111,6 +111,7 @@ var ARC_MCP_TALK_GROWTH_TOOL_NAMES = [
111
111
  "list_templates",
112
112
  "get_template",
113
113
  "get_campaign_performance",
114
+ "get_campaign_evaluation",
114
115
  "list_campaign_replies",
115
116
  "get_learnings",
116
117
  "read_repo_activity",
@@ -132,10 +133,11 @@ function openObjectSchema(description) {
132
133
  ...description ? { description } : {}
133
134
  };
134
135
  }
136
+ var RANLA_AGENT_NAME = "Ranla";
135
137
  var TALK_READ_TOOLS = ARC_MCP_TALK_GROWTH_TOOL_NAMES.map((growthTool) => ({
136
138
  name: `arc_${growthTool}`,
137
- description: `Read-only Arc tool: ${growthTool.replace(/_/g, " ")}.`,
138
- inputSchema: openObjectSchema("Tool input fields (see Ranla Arc tool docs)."),
139
+ description: `Read-only Ranla tool: ${growthTool.replace(/_/g, " ")}.`,
140
+ inputSchema: openObjectSchema("Tool input fields (see Ranla tool docs)."),
139
141
  kind: "growth",
140
142
  growthTool
141
143
  }));
@@ -158,13 +160,13 @@ var SETUP_TOOLS = [
158
160
  var META_TOOLS = [
159
161
  {
160
162
  name: "arc_list_threads",
161
- description: "List Arc chat threads for this account.",
163
+ description: "List Ranla chat threads for this account.",
162
164
  inputSchema: openObjectSchema(),
163
165
  kind: "meta"
164
166
  },
165
167
  {
166
168
  name: "arc_ensure_thread",
167
- description: "Find or create a durable Arc thread for MCP (default title \u201CMCP\u201D). Returns { threadId, title }.",
169
+ description: "Find or create a durable Ranla thread for MCP (default title \u201CMCP\u201D). Returns { threadId, title }.",
168
170
  inputSchema: {
169
171
  type: "object",
170
172
  properties: {
@@ -176,12 +178,12 @@ var META_TOOLS = [
176
178
  },
177
179
  {
178
180
  name: "arc_message",
179
- description: "Send a message to Arc and wait for the turn. Use for strategy and any mutating work. Returns text plus pendingApproval when HITL is required.",
181
+ description: "Send a message to Ranla and wait for the turn. Use for strategy and any mutating work. Returns text plus pendingApproval when HITL is required.",
180
182
  inputSchema: {
181
183
  type: "object",
182
184
  properties: {
183
- text: { type: "string", description: "Message for Arc" },
184
- threadId: { type: "string", description: "Arc thread id (from arc_ensure_thread)" }
185
+ text: { type: "string", description: `Message for ${RANLA_AGENT_NAME}` },
186
+ threadId: { type: "string", description: "Ranla thread id (from arc_ensure_thread)" }
185
187
  },
186
188
  required: ["text"]
187
189
  },
@@ -189,13 +191,13 @@ var META_TOOLS = [
189
191
  },
190
192
  {
191
193
  name: "arc_list_approvals",
192
- description: "List pending Arc approval cards across threads.",
194
+ description: "List pending Ranla approval cards across threads.",
193
195
  inputSchema: openObjectSchema(),
194
196
  kind: "meta"
195
197
  },
196
198
  {
197
199
  name: "arc_approve",
198
- description: "Approve a pending Arc HITL card and resume the run.",
200
+ description: "Approve a pending Ranla HITL card and resume the run.",
199
201
  inputSchema: {
200
202
  type: "object",
201
203
  properties: {
@@ -207,7 +209,7 @@ var META_TOOLS = [
207
209
  },
208
210
  {
209
211
  name: "arc_reject",
210
- description: "Reject a pending Arc HITL card and resume the run.",
212
+ description: "Reject a pending Ranla HITL card and resume the run.",
211
213
  inputSchema: {
212
214
  type: "object",
213
215
  properties: {
@@ -259,7 +261,7 @@ async function callArcMcpTool(apiKey, name, args, baseUrl) {
259
261
  });
260
262
  if (!response.ok) {
261
263
  throw new Error(
262
- typeof response.body.error === "string" ? response.body.error : `Arc tool failed (${response.status})`
264
+ typeof response.body.error === "string" ? response.body.error : `Ranla tool failed (${response.status})`
263
265
  );
264
266
  }
265
267
  return response.body.result ?? response.body;
@@ -334,7 +336,7 @@ async function callArcMcpTool(apiKey, name, args, baseUrl) {
334
336
  );
335
337
  if (!response.ok && response.status !== 500) {
336
338
  throw new Error(
337
- typeof response.body.error === "string" ? response.body.error : `Arc message failed (${response.status})`
339
+ typeof response.body.error === "string" ? response.body.error : `Ranla message failed (${response.status})`
338
340
  );
339
341
  }
340
342
  return { threadId, ...response.body };
@@ -370,7 +372,7 @@ async function callArcMcpTool(apiKey, name, args, baseUrl) {
370
372
  return response.body;
371
373
  }
372
374
  default:
373
- throw new Error(`Unknown Arc MCP tool: ${name}`);
375
+ throw new Error(`Unknown Ranla MCP tool: ${name}`);
374
376
  }
375
377
  }
376
378
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "supersendtx-mcp",
3
- "version": "0.6.5",
4
- "description": "SuperSend TX MCP server — mail tools plus Arc agent-first tools for Cursor and Claude",
3
+ "version": "0.6.7",
4
+ "description": "SuperSend TX MCP server — mail tools plus Ranla agent-first tools for Cursor and Claude",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "bin": {