@sendora/mcp 1.13.1 → 1.14.1
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 -0
- 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/broadcast-input.js +8 -0
- package/dist/tools/broadcasts.js +2 -0
- package/dist/tools/send-input.js +8 -0
- package/dist/tools/send.js +2 -0
- package/dist/tools/server.js +6 -0
- package/dist/version.js +1 -1
- package/package.json +3 -3
|
@@ -63,6 +63,14 @@ export const broadcastInput = z
|
|
|
63
63
|
metadata: metadata
|
|
64
64
|
.optional()
|
|
65
65
|
.describe('Up to 20 key-value pairs of your own, on the broadcast and on every message.'),
|
|
66
|
+
trackOpens: z
|
|
67
|
+
.boolean()
|
|
68
|
+
.optional()
|
|
69
|
+
.describe("Whether the opens of every message are tracked, whatever the stream's switch in get_server says; left out, the stream decides. true is refused until an administrator has first switched tracking on in the dashboard."),
|
|
70
|
+
trackLinks: z
|
|
71
|
+
.boolean()
|
|
72
|
+
.optional()
|
|
73
|
+
.describe("Whether the links of every message are tracked, whatever the stream's switch in get_server says; left out, the stream decides. true is refused until an administrator has first switched tracking on in the dashboard."),
|
|
66
74
|
messages: z
|
|
67
75
|
.array(entry)
|
|
68
76
|
.min(1)
|
package/dist/tools/broadcasts.js
CHANGED
|
@@ -71,6 +71,8 @@ export function broadcastRequestOf(input) {
|
|
|
71
71
|
attachments: input.attachments,
|
|
72
72
|
tag: input.tag,
|
|
73
73
|
metadata: input.metadata,
|
|
74
|
+
trackOpens: input.trackOpens,
|
|
75
|
+
trackLinks: input.trackLinks,
|
|
74
76
|
messages: input.messages,
|
|
75
77
|
};
|
|
76
78
|
if (input.text !== undefined) {
|
package/dist/tools/send-input.js
CHANGED
|
@@ -33,6 +33,14 @@ export const sendInput = z
|
|
|
33
33
|
metadata: metadata
|
|
34
34
|
.optional()
|
|
35
35
|
.describe('Up to 20 key-value pairs of your own, returned with the message and its events.'),
|
|
36
|
+
trackOpens: z
|
|
37
|
+
.boolean()
|
|
38
|
+
.optional()
|
|
39
|
+
.describe("Whether this message's opens are tracked, whatever its stream's switch in get_server says; left out, the stream decides. true is refused until an administrator has first switched tracking on in the dashboard."),
|
|
40
|
+
trackLinks: z
|
|
41
|
+
.boolean()
|
|
42
|
+
.optional()
|
|
43
|
+
.describe("Whether this message's links are tracked, whatever its stream's switch in get_server says; left out, the stream decides. true is refused until an administrator has first switched tracking on in the dashboard."),
|
|
36
44
|
waitSeconds: z
|
|
37
45
|
.number()
|
|
38
46
|
.int()
|
package/dist/tools/send.js
CHANGED
|
@@ -60,6 +60,8 @@ export function requestOf(input) {
|
|
|
60
60
|
attachments: input.attachments,
|
|
61
61
|
tag: input.tag,
|
|
62
62
|
metadata: input.metadata,
|
|
63
|
+
trackOpens: input.trackOpens,
|
|
64
|
+
trackLinks: input.trackLinks,
|
|
63
65
|
};
|
|
64
66
|
if (input.text !== undefined) {
|
|
65
67
|
return { ...fields, text: input.text, html: input.html };
|
package/dist/tools/server.js
CHANGED
|
@@ -63,6 +63,12 @@ export const streamOutput = z.object({
|
|
|
63
63
|
.int()
|
|
64
64
|
.nullable()
|
|
65
65
|
.describe('How many days an inbound stream keeps received content; null means the default of 30. Null on every other kind.'),
|
|
66
|
+
trackOpens: z
|
|
67
|
+
.boolean()
|
|
68
|
+
.describe("Whether the opens of the stream's mail are tracked, unless a message sets trackOpens. An administrator switches it in the dashboard."),
|
|
69
|
+
trackLinks: z
|
|
70
|
+
.boolean()
|
|
71
|
+
.describe("Whether the links in the stream's mail are tracked, unless a message sets trackLinks. An administrator switches it in the dashboard."),
|
|
66
72
|
});
|
|
67
73
|
export const serverOutput = z.object({
|
|
68
74
|
serverId: z.string().describe('The id the server keys, streams and messages refer to.'),
|
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 = '1.
|
|
2
|
+
export const MCP_VERSION = '1.14.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendora/mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.1",
|
|
4
4
|
"description": "The official MCP server for Sendora: its documentation and API for coding agents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@modelcontextprotocol/server": "^2.1.0",
|
|
27
27
|
"zod": "^4.6.2",
|
|
28
|
-
"@sendora/sdk": "^5.
|
|
28
|
+
"@sendora/sdk": "^5.6.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@anthropic-ai/mcpb": "2.1.2",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"vitest": "^4.1.11",
|
|
42
42
|
"@sendora/api": "0.0.0",
|
|
43
43
|
"@sendora/db": "0.0.0",
|
|
44
|
-
"@sendora/domain": "0.0.0",
|
|
45
44
|
"@sendora/observability": "0.0.0",
|
|
45
|
+
"@sendora/domain": "0.0.0",
|
|
46
46
|
"@sendora/site": "0.0.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|