@mailshot/mcp 1.0.0 → 1.2.0
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/dist/index.js +1 -1
- package/dist/tools/sequences.js +3 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -214,7 +214,7 @@ server.registerTool("list_sequences", {
|
|
|
214
214
|
],
|
|
215
215
|
}));
|
|
216
216
|
server.registerTool("export_sequence", {
|
|
217
|
-
description: "Export a deployed sequence
|
|
217
|
+
description: "Export a deployed sequence - reverse-parses ASL to SequenceDefinition, fetches templates and EventBridge trigger config",
|
|
218
218
|
inputSchema: {
|
|
219
219
|
sequenceId: zod_1.z.string().describe("The sequence ID to export (kebab-case)"),
|
|
220
220
|
},
|
package/dist/tools/sequences.js
CHANGED
|
@@ -161,14 +161,14 @@ function parseSteps(states, currentStateName, prefix, stopAtState) {
|
|
|
161
161
|
current = states[mergeStateName]?.Next;
|
|
162
162
|
continue;
|
|
163
163
|
}
|
|
164
|
-
// Structural states
|
|
164
|
+
// Structural states - skip/break
|
|
165
165
|
if (name.includes("Complete") ||
|
|
166
166
|
name.includes("Done") ||
|
|
167
167
|
name.includes("Merge") ||
|
|
168
168
|
name.includes("Pass")) {
|
|
169
169
|
break;
|
|
170
170
|
}
|
|
171
|
-
// Unknown state
|
|
171
|
+
// Unknown state - skip
|
|
172
172
|
current = state.Next;
|
|
173
173
|
}
|
|
174
174
|
return steps;
|
|
@@ -326,7 +326,7 @@ async function exportSequence(config, sequenceId) {
|
|
|
326
326
|
subscriberMapping = parsed;
|
|
327
327
|
}
|
|
328
328
|
else {
|
|
329
|
-
warnings.push("Could not fully parse EventBridge input transformer
|
|
329
|
+
warnings.push("Could not fully parse EventBridge input transformer - using default subscriber mapping");
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
break;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailshot/mcp",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "MCP server for mailshot
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "MCP server for mailshot - subscriber management, engagement analytics, and system health",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@aws-sdk/util-dynamodb": "^3.996.2",
|
|
30
30
|
"liquidjs": "^10.25.0",
|
|
31
31
|
"zod": "^3.25.67",
|
|
32
|
-
"@mailshot/shared": "1.
|
|
32
|
+
"@mailshot/shared": "1.2.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsc",
|