@sendora/mcp 1.4.0 → 1.4.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 +6 -2
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/dist/errors.js
CHANGED
|
@@ -46,7 +46,9 @@ const hints = {
|
|
|
46
46
|
server_reserved: null,
|
|
47
47
|
server_in_flight: null,
|
|
48
48
|
request_too_large: null,
|
|
49
|
-
from_domain_not_verified: () =>
|
|
49
|
+
from_domain_not_verified: (_error, connection) => connection.kind === 'grant'
|
|
50
|
+
? `The from address's domain must be one of the account's sending domains that get_server lists as sendingDomains. An administrator adds one, which is the account's and not a server's, under Domains (Domäner) in the dashboard, ${DASHBOARD}/domains.`
|
|
51
|
+
: `The from address's domain must be one of the account's sending domains that get_server lists as sendingDomains. To add one, which is the account's and not a server's: with the account key, add_domain adds it and answers the DNS records to publish, and check_domain looks them up; or an administrator adds it under Domains (Domäner) in the dashboard, ${DASHBOARD}/domains.`,
|
|
50
52
|
stream_not_found: null,
|
|
51
53
|
stream_archived: null,
|
|
52
54
|
stream_paused: null,
|
|
@@ -59,7 +61,9 @@ const hints = {
|
|
|
59
61
|
content_expired: null,
|
|
60
62
|
content_unreadable: null,
|
|
61
63
|
recipient_suppressed: (error) => `${error.suppressed.map(({ address, reason }) => `${address} (${reason})`).join(', ')} ${error.suppressed.length === 1 ? 'is' : 'are'} on the stream's suppression list, which list_suppressions reads. A hard bounce or a manual suppression can be lifted with remove_suppression, or under the stream's Suppressions (Spärrlista) in the dashboard; a spam complaint or an unsubscribe cannot, since the recipient asked.`,
|
|
62
|
-
test_address_on_live_server: () =>
|
|
64
|
+
test_address_on_live_server: (_error, connection) => connection.kind === 'grant'
|
|
65
|
+
? 'The addresses at simulator.sendora.se act out outcomes on a test server only, and a live server refuses them: send to them from a test server this connection reaches, named in server.'
|
|
66
|
+
: 'The addresses at simulator.sendora.se act out outcomes on a test server only, and a live server refuses them: send to them with a test server key (sk_test_).',
|
|
63
67
|
mode_immutable: null,
|
|
64
68
|
stream_kind_not_allowed: null,
|
|
65
69
|
idempotency_key_mismatch: null,
|
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.4.
|
|
2
|
+
export const MCP_VERSION = '1.4.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendora/mcp",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.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",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"fflate": "^0.8.3",
|
|
38
38
|
"typescript": "~7.0.2",
|
|
39
39
|
"vitest": "^4.1.11",
|
|
40
|
-
"@sendora/api": "0.0.0",
|
|
41
40
|
"@sendora/db": "0.0.0",
|
|
42
41
|
"@sendora/domain": "0.0.0",
|
|
43
42
|
"@sendora/observability": "0.0.0",
|
|
43
|
+
"@sendora/api": "0.0.0",
|
|
44
44
|
"@sendora/site": "0.0.0"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|