euparliamentmonitor 0.8.34 → 0.8.35

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/README.md CHANGED
@@ -124,7 +124,7 @@ import {
124
124
 
125
125
  **MCP Server Integration**: The project uses the
126
126
  [European-Parliament-MCP-Server](https://github.com/Hack23/European-Parliament-MCP-Server)
127
- v1.2.8 for accessing real EU Parliament data via the Model Context Protocol.
127
+ v1.2.9 for accessing real EU Parliament data via the Model Context Protocol.
128
128
 
129
129
  - **MCP Server Status**: ✅ Fully operational — 60+ EP data tools available
130
130
  (feeds, direct lookups, analytical tools, intelligence correlation)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "euparliamentmonitor",
3
- "version": "0.8.34",
3
+ "version": "0.8.35",
4
4
  "type": "module",
5
5
  "description": "European Parliament Intelligence Platform - Monitor political activity with systematic transparency",
6
6
  "main": "scripts/index.js",
@@ -170,7 +170,7 @@
170
170
  "node": ">=25"
171
171
  },
172
172
  "dependencies": {
173
- "european-parliament-mcp-server": "1.2.8"
173
+ "european-parliament-mcp-server": "1.2.9"
174
174
  },
175
175
  "optionalDependencies": {
176
176
  "worldbank-mcp": "1.0.1"
@@ -77,7 +77,7 @@ export declare class EuropeanParliamentMCPClient extends MCPConnection {
77
77
  /**
78
78
  * Search legislative documents
79
79
  *
80
- * @param options - Search options using v1.2.8 parameters: keyword, documentType, docId, etc.
80
+ * @param options - Search options using v1.2.9 parameters: keyword, documentType, docId, etc.
81
81
  * @returns Search results
82
82
  */
83
83
  searchDocuments(options?: SearchDocumentsOptions): Promise<MCPToolResult>;
@@ -210,14 +210,14 @@ export declare class EuropeanParliamentMCPClient extends MCPConnection {
210
210
  /**
211
211
  * Get plenary speeches and debate contributions
212
212
  *
213
- * @param options - Filter options including optional speechId, dateFrom/dateTo (v1.2.8: year removed)
213
+ * @param options - Filter options including optional speechId, dateFrom/dateTo (v1.2.9: year removed)
214
214
  * @returns Speeches data
215
215
  */
216
216
  getSpeeches(options?: GetSpeechesOptions): Promise<MCPToolResult>;
217
217
  /**
218
218
  * Get legislative procedures
219
219
  *
220
- * @param options - Filter options including optional processId (v1.2.8: year removed)
220
+ * @param options - Filter options including optional processId (v1.2.9: year removed)
221
221
  * @returns Procedures data
222
222
  */
223
223
  getProcedures(options?: GetProceduresOptions): Promise<MCPToolResult>;
@@ -231,7 +231,7 @@ export declare class EuropeanParliamentMCPClient extends MCPConnection {
231
231
  /**
232
232
  * Get European Parliament events (hearings, conferences, seminars)
233
233
  *
234
- * @param options - Filter options including optional eventId, pagination only (v1.2.8: year/dateFrom/dateTo removed — EP API /events has no date filtering)
234
+ * @param options - Filter options including optional eventId, pagination only (v1.2.9: year/dateFrom/dateTo removed — EP API /events has no date filtering)
235
235
  * @returns Events data
236
236
  */
237
237
  getEvents(options?: GetEventsOptions): Promise<MCPToolResult>;
@@ -287,7 +287,7 @@ export declare class EuropeanParliamentMCPClient extends MCPConnection {
287
287
  /**
288
288
  * Get committee documents
289
289
  *
290
- * @param options - Filter options including optional docId (v1.2.8: year removed)
290
+ * @param options - Filter options including optional docId (v1.2.9: year removed)
291
291
  * @returns Committee documents data
292
292
  */
293
293
  getCommitteeDocuments(options?: GetCommitteeDocumentsOptions): Promise<MCPToolResult>;
@@ -315,7 +315,7 @@ export declare class EuropeanParliamentMCPClient extends MCPConnection {
315
315
  /**
316
316
  * Get external documents (non-EP documents such as Council positions)
317
317
  *
318
- * @param options - Filter options including optional docId (v1.2.8: year removed)
318
+ * @param options - Filter options including optional docId (v1.2.9: year removed)
319
319
  * @returns External documents data
320
320
  */
321
321
  getExternalDocuments(options?: GetExternalDocumentsOptions): Promise<MCPToolResult>;
@@ -29,7 +29,7 @@ const SERVER_HEALTH_FALLBACK = '{"server": null, "feeds": []}';
29
29
  /**
30
30
  * Classify an error message into a diagnostic error category.
31
31
  *
32
- * Maps EP MCP Server v1.2.8 structured error codes and generic HTTP/network
32
+ * Maps EP MCP Server v1.2.9 structured error codes and generic HTTP/network
33
33
  * errors into one of six broad categories used for logging and retry decisions:
34
34
  *
35
35
  * Returned categories (priority order):
@@ -45,7 +45,7 @@ const SERVER_HEALTH_FALLBACK = '{"server": null, "feeds": []}';
45
45
  */
46
46
  function classifyToolError(message) {
47
47
  const lowerMsg = message.toLowerCase();
48
- // EP MCP Server v1.2.8 structured error codes (matched case-insensitively)
48
+ // EP MCP Server v1.2.9 structured error codes (matched case-insensitively)
49
49
  if (lowerMsg.includes('internal_error')) {
50
50
  return 'INTERNAL_ERROR';
51
51
  }
@@ -214,7 +214,7 @@ export class EuropeanParliamentMCPClient extends MCPConnection {
214
214
  /**
215
215
  * Search legislative documents
216
216
  *
217
- * @param options - Search options using v1.2.8 parameters: keyword, documentType, docId, etc.
217
+ * @param options - Search options using v1.2.9 parameters: keyword, documentType, docId, etc.
218
218
  * @returns Search results
219
219
  */
220
220
  async searchDocuments(options = {}) {
@@ -423,7 +423,7 @@ export class EuropeanParliamentMCPClient extends MCPConnection {
423
423
  /**
424
424
  * Get plenary speeches and debate contributions
425
425
  *
426
- * @param options - Filter options including optional speechId, dateFrom/dateTo (v1.2.8: year removed)
426
+ * @param options - Filter options including optional speechId, dateFrom/dateTo (v1.2.9: year removed)
427
427
  * @returns Speeches data
428
428
  */
429
429
  async getSpeeches(options = {}) {
@@ -432,7 +432,7 @@ export class EuropeanParliamentMCPClient extends MCPConnection {
432
432
  /**
433
433
  * Get legislative procedures
434
434
  *
435
- * @param options - Filter options including optional processId (v1.2.8: year removed)
435
+ * @param options - Filter options including optional processId (v1.2.9: year removed)
436
436
  * @returns Procedures data
437
437
  */
438
438
  async getProcedures(options = {}) {
@@ -450,7 +450,7 @@ export class EuropeanParliamentMCPClient extends MCPConnection {
450
450
  /**
451
451
  * Get European Parliament events (hearings, conferences, seminars)
452
452
  *
453
- * @param options - Filter options including optional eventId, pagination only (v1.2.8: year/dateFrom/dateTo removed — EP API /events has no date filtering)
453
+ * @param options - Filter options including optional eventId, pagination only (v1.2.9: year/dateFrom/dateTo removed — EP API /events has no date filtering)
454
454
  * @returns Events data
455
455
  */
456
456
  async getEvents(options = {}) {
@@ -530,7 +530,7 @@ export class EuropeanParliamentMCPClient extends MCPConnection {
530
530
  /**
531
531
  * Get committee documents
532
532
  *
533
- * @param options - Filter options including optional docId (v1.2.8: year removed)
533
+ * @param options - Filter options including optional docId (v1.2.9: year removed)
534
534
  * @returns Committee documents data
535
535
  */
536
536
  async getCommitteeDocuments(options = {}) {
@@ -566,7 +566,7 @@ export class EuropeanParliamentMCPClient extends MCPConnection {
566
566
  /**
567
567
  * Get external documents (non-EP documents such as Council positions)
568
568
  *
569
- * @param options - Filter options including optional docId (v1.2.8: year removed)
569
+ * @param options - Filter options including optional docId (v1.2.9: year removed)
570
570
  * @returns External documents data
571
571
  */
572
572
  async getExternalDocuments(options = {}) {
@@ -218,7 +218,7 @@ export interface GetCurrentMEPsOptions {
218
218
  limit?: number | undefined;
219
219
  offset?: number | undefined;
220
220
  }
221
- /** Options for getSpeeches — v1.2.8 removed `year` (EP API ignores it for /speeches) */
221
+ /** Options for getSpeeches — v1.2.9 removed `year` (EP API ignores it for /speeches) */
222
222
  export interface GetSpeechesOptions {
223
223
  speechId?: string | undefined;
224
224
  /** Filter by sitting date start (maps to sitting-date in EP API) */
@@ -228,7 +228,7 @@ export interface GetSpeechesOptions {
228
228
  limit?: number | undefined;
229
229
  offset?: number | undefined;
230
230
  }
231
- /** Options for getProcedures — v1.2.8 removed `year` (EP API ignores it for /procedures) */
231
+ /** Options for getProcedures — v1.2.9 removed `year` (EP API ignores it for /procedures) */
232
232
  export interface GetProceduresOptions {
233
233
  processId?: string | undefined;
234
234
  limit?: number | undefined;
@@ -241,7 +241,7 @@ export interface GetAdoptedTextsOptions {
241
241
  limit?: number | undefined;
242
242
  offset?: number | undefined;
243
243
  }
244
- /** Options for getEvents — v1.2.8 removed `year`, `dateFrom`, `dateTo` (EP API /events has no date filtering) */
244
+ /** Options for getEvents — v1.2.9 removed `year`, `dateFrom`, `dateTo` (EP API /events has no date filtering) */
245
245
  export interface GetEventsOptions {
246
246
  eventId?: string | undefined;
247
247
  limit?: number | undefined;
@@ -288,7 +288,7 @@ export interface GetPlenaryDocumentsOptions {
288
288
  limit?: number | undefined;
289
289
  offset?: number | undefined;
290
290
  }
291
- /** Options for getCommitteeDocuments — v1.2.8 removed `year` (EP API ignores it for /committee-documents) */
291
+ /** Options for getCommitteeDocuments — v1.2.9 removed `year` (EP API ignores it for /committee-documents) */
292
292
  export interface GetCommitteeDocumentsOptions {
293
293
  docId?: string | undefined;
294
294
  limit?: number | undefined;
@@ -311,7 +311,7 @@ export interface GetControlledVocabulariesOptions {
311
311
  limit?: number | undefined;
312
312
  offset?: number | undefined;
313
313
  }
314
- /** Options for getExternalDocuments — v1.2.8 removed `year` (EP API ignores it for /external-documents) */
314
+ /** Options for getExternalDocuments — v1.2.9 removed `year` (EP API ignores it for /external-documents) */
315
315
  export interface GetExternalDocumentsOptions {
316
316
  docId?: string | undefined;
317
317
  limit?: number | undefined;