supersendtx-mcp 0.6.6 → 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 +14 -13
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -133,10 +133,11 @@ function openObjectSchema(description) {
133
133
  ...description ? { description } : {}
134
134
  };
135
135
  }
136
+ var RANLA_AGENT_NAME = "Ranla";
136
137
  var TALK_READ_TOOLS = ARC_MCP_TALK_GROWTH_TOOL_NAMES.map((growthTool) => ({
137
138
  name: `arc_${growthTool}`,
138
- description: `Read-only Arc tool: ${growthTool.replace(/_/g, " ")}.`,
139
- 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)."),
140
141
  kind: "growth",
141
142
  growthTool
142
143
  }));
@@ -159,13 +160,13 @@ var SETUP_TOOLS = [
159
160
  var META_TOOLS = [
160
161
  {
161
162
  name: "arc_list_threads",
162
- description: "List Arc chat threads for this account.",
163
+ description: "List Ranla chat threads for this account.",
163
164
  inputSchema: openObjectSchema(),
164
165
  kind: "meta"
165
166
  },
166
167
  {
167
168
  name: "arc_ensure_thread",
168
- 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 }.",
169
170
  inputSchema: {
170
171
  type: "object",
171
172
  properties: {
@@ -177,12 +178,12 @@ var META_TOOLS = [
177
178
  },
178
179
  {
179
180
  name: "arc_message",
180
- 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.",
181
182
  inputSchema: {
182
183
  type: "object",
183
184
  properties: {
184
- text: { type: "string", description: "Message for Arc" },
185
- 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)" }
186
187
  },
187
188
  required: ["text"]
188
189
  },
@@ -190,13 +191,13 @@ var META_TOOLS = [
190
191
  },
191
192
  {
192
193
  name: "arc_list_approvals",
193
- description: "List pending Arc approval cards across threads.",
194
+ description: "List pending Ranla approval cards across threads.",
194
195
  inputSchema: openObjectSchema(),
195
196
  kind: "meta"
196
197
  },
197
198
  {
198
199
  name: "arc_approve",
199
- description: "Approve a pending Arc HITL card and resume the run.",
200
+ description: "Approve a pending Ranla HITL card and resume the run.",
200
201
  inputSchema: {
201
202
  type: "object",
202
203
  properties: {
@@ -208,7 +209,7 @@ var META_TOOLS = [
208
209
  },
209
210
  {
210
211
  name: "arc_reject",
211
- description: "Reject a pending Arc HITL card and resume the run.",
212
+ description: "Reject a pending Ranla HITL card and resume the run.",
212
213
  inputSchema: {
213
214
  type: "object",
214
215
  properties: {
@@ -260,7 +261,7 @@ async function callArcMcpTool(apiKey, name, args, baseUrl) {
260
261
  });
261
262
  if (!response.ok) {
262
263
  throw new Error(
263
- 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})`
264
265
  );
265
266
  }
266
267
  return response.body.result ?? response.body;
@@ -335,7 +336,7 @@ async function callArcMcpTool(apiKey, name, args, baseUrl) {
335
336
  );
336
337
  if (!response.ok && response.status !== 500) {
337
338
  throw new Error(
338
- 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})`
339
340
  );
340
341
  }
341
342
  return { threadId, ...response.body };
@@ -371,7 +372,7 @@ async function callArcMcpTool(apiKey, name, args, baseUrl) {
371
372
  return response.body;
372
373
  }
373
374
  default:
374
- throw new Error(`Unknown Arc MCP tool: ${name}`);
375
+ throw new Error(`Unknown Ranla MCP tool: ${name}`);
375
376
  }
376
377
  }
377
378
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "supersendtx-mcp",
3
- "version": "0.6.6",
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": {