euparliamentmonitor 1.0.3 → 1.0.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "euparliamentmonitor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "European Parliament Intelligence Platform - Monitor political activity with systematic transparency",
|
|
6
6
|
"main": "scripts/index.js",
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"node": ">=26"
|
|
198
198
|
},
|
|
199
199
|
"dependencies": {
|
|
200
|
-
"european-parliament-mcp-server": "1.3.
|
|
200
|
+
"european-parliament-mcp-server": "1.3.15",
|
|
201
201
|
"markdown-it": "^14.1.1",
|
|
202
202
|
"markdown-it-anchor": "^9.2.0",
|
|
203
203
|
"markdown-it-attrs": "^5.0.0",
|
|
@@ -6,7 +6,7 @@ import type { MCPToolResult } from '../../types/index.js';
|
|
|
6
6
|
/**
|
|
7
7
|
* Classify an error message into a diagnostic error category.
|
|
8
8
|
*
|
|
9
|
-
* Maps EP MCP Server v1.3.
|
|
9
|
+
* Maps EP MCP Server v1.3.15 structured error codes and generic HTTP/network
|
|
10
10
|
* errors into one of six broad categories used for logging and retry decisions:
|
|
11
11
|
*
|
|
12
12
|
* Returned categories (priority order):
|
|
@@ -26,7 +26,7 @@ export declare function classifyToolError(message: string): string;
|
|
|
26
26
|
* covering the two shapes historically emitted by the EP MCP server.
|
|
27
27
|
*
|
|
28
28
|
* 1. **Uniform envelope** (all feeds as of
|
|
29
|
-
* `european-parliament-mcp-server@1.3.
|
|
29
|
+
* `european-parliament-mcp-server@1.3.15`) —
|
|
30
30
|
* `{status:"unavailable", items:[], generatedAt:"..."}` established by
|
|
31
31
|
* Hack23/European-Parliament-MCP-Server#301 and extended to
|
|
32
32
|
* `get_events_feed`/`get_procedures_feed` by
|
|
@@ -4,7 +4,7 @@ import { _parseResultPayload } from './parse.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* Classify an error message into a diagnostic error category.
|
|
6
6
|
*
|
|
7
|
-
* Maps EP MCP Server v1.3.
|
|
7
|
+
* Maps EP MCP Server v1.3.15 structured error codes and generic HTTP/network
|
|
8
8
|
* errors into one of six broad categories used for logging and retry decisions:
|
|
9
9
|
*
|
|
10
10
|
* Returned categories (priority order):
|
|
@@ -55,7 +55,7 @@ export function classifyToolError(message) {
|
|
|
55
55
|
* covering the two shapes historically emitted by the EP MCP server.
|
|
56
56
|
*
|
|
57
57
|
* 1. **Uniform envelope** (all feeds as of
|
|
58
|
-
* `european-parliament-mcp-server@1.3.
|
|
58
|
+
* `european-parliament-mcp-server@1.3.15`) —
|
|
59
59
|
* `{status:"unavailable", items:[], generatedAt:"..."}` established by
|
|
60
60
|
* Hack23/European-Parliament-MCP-Server#301 and extended to
|
|
61
61
|
* `get_events_feed`/`get_procedures_feed` by
|