@sendora/mcp 2.0.3 → 2.0.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.
- package/dist/errors.js +2 -2
- package/dist/generated/docs.json +1 -1
- package/dist/generated/screens/domain-records.html +1 -1
- package/dist/generated/screens/message-timeline.html +1 -1
- package/dist/tools/message-fields.js +1 -1
- package/dist/tools/send-input.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
|
@@ -109,7 +109,7 @@ const headersRecord = z
|
|
|
109
109
|
seen.add(lower);
|
|
110
110
|
}
|
|
111
111
|
});
|
|
112
|
-
export const customHeaders = atMost(
|
|
112
|
+
export const customHeaders = atMost(50, 'at most 50 headers per message', headersRecord);
|
|
113
113
|
const METADATA_KEY = /^[A-Za-z0-9_.-]{1,40}$/;
|
|
114
114
|
const metadataRecord = z
|
|
115
115
|
.record(z.string(), z
|
package/dist/tools/send-input.js
CHANGED
|
@@ -23,7 +23,7 @@ export const sendInput = z
|
|
|
23
23
|
html: z.string().min(1).optional().describe('The HTML part.'),
|
|
24
24
|
headers: customHeaders
|
|
25
25
|
.optional()
|
|
26
|
-
.describe('Custom headers by name, at most
|
|
26
|
+
.describe('Custom headers by name, at most 50. Headers Sendora sets itself, such as From, Subject and Content-*, are refused.'),
|
|
27
27
|
attachments: atMost(20, 'at most 20 attachments per message', z.array(attachment).max(20, 'at most 20 attachments per message'))
|
|
28
28
|
.optional()
|
|
29
29
|
.describe('At most 20, together at most 5 MB decoded.'),
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** This package's version, held equal to its package.json by a test. */
|
|
2
|
-
export const MCP_VERSION = '2.0.
|
|
2
|
+
export const MCP_VERSION = '2.0.7';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendora/mcp",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "The official MCP server for Sendora: its documentation and API for coding agents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"fflate": "^0.8.3",
|
|
40
40
|
"typescript": "~7.0.2",
|
|
41
41
|
"vitest": "^4.1.11",
|
|
42
|
-
"@sendora/api": "0.0.0",
|
|
43
42
|
"@sendora/db": "0.0.0",
|
|
44
43
|
"@sendora/domain": "0.0.0",
|
|
45
44
|
"@sendora/observability": "0.0.0",
|
|
45
|
+
"@sendora/api": "0.0.0",
|
|
46
46
|
"@sendora/site": "0.0.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|