@battlegrid/mcp-server 32.0.3 → 32.0.6

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
@@ -38,6 +38,43 @@ Seeing package `31.x` alongside handshake `battlegrid@33.x` — the package **be
38
38
 
39
39
  **What this changes for you:** nothing about how you call anything. Upgrading the package no longer waits on a server deploy, and a server deploy no longer strands you on a package that names the wrong contract — reconnect and the announcement follows. **Contract breaking-change notes are no longer keyed to package versions**, since a contract move is no longer a release here; the v11-and-earlier notes below are kept as history, and the live vocabulary is always discovery.
40
40
 
41
+ ## Contract history — v119 (an array names its scope once)
42
+
43
+ **Breaking at v119: a field every row repeated moves to the response, and three repeated fields are gone.** v119 is
44
+ the contract on top of v118.1. No input schema moves, so nothing you send is refused that v118.1 accepted. Reconnect
45
+ the proxy, or restart it, so discovery reads the new schemas.
46
+
47
+ ### Reshaped output — something you read moved
48
+
49
+ - **The agent and its owner** move from each row to the response as `agentId` and `userId`, on `list_gate_blocks`,
50
+ `get_agent_thought_log` and `list_entry_decisions` (`entries[]`), `get_agent_activity_feed` (`events[]`),
51
+ `get_agent_journal` (`recentThoughts[]`, `recentActivity[]`) and `list_trade_outcomes` (`outcomes[]`).
52
+ - **The agent** moves to the response as `agentId` on `list_signal_logs` and `get_public_agent_signal_logs`
53
+ (`entries[]`) and on `get_agent_automation_status` (`assignments[]`).
54
+ - **The owner** moves to the response as `userId` on `get_user_thought_log` (`entries[]`), `get_user_activity_feed`
55
+ (`events[]`), `list_pending_approvals` (`approvals[]`) and `list_intelligence_agents` (`agents[]`). Each row keeps
56
+ the agent it belongs to, and each agent keeps its own capabilities.
57
+ - **The screened agent** moves to the response as `agentId`, `agentName` and `strategyTimeframe` on
58
+ `get_agent_coin_qualification`; each of its `verdicts[]` drops them.
59
+ - **The session** moves off each row: `list_session_agent_positions` drops `marketGridSessionId` from every position,
60
+ flat and grouped, and carries it once on the response. `get_market_grid_results` drops `sessionId` from each of
61
+ `resolutions[]` and `players[]`; read `session.id`.
62
+ - An empty page still names its scope.
63
+
64
+ ### Removed fields — something you read is gone
65
+
66
+ - **A trade outcome's `createdAt`** on `list_trade_outcomes` and `get_trade_outcome_by_decision`. Read `closedAt`,
67
+ which carried the same instant.
68
+ - **A public realized trade's `outcomeId`** on `get_public_agent_realized_trades`. Read `positionId`, which is now
69
+ never null.
70
+ - **A score breakdown captain's `symbol`** on `get_market_grid_results` (under `players[]` and `playerGrids`). Read
71
+ `coinId`, which named the same coin.
72
+
73
+ ### Behaviour behind unchanged schemas
74
+
75
+ - **A UUID you send is read in its lower-case spelling,** so the id a response names is the id each of its rows
76
+ answers to, whatever case you sent it in.
77
+
41
78
  ## Contract history — v118.1 (a server fault says whether repeating is safe)
42
79
 
43
80
  **Nothing you send is refused that v118 accepted.** v118.1 is the contract on top of v118. No input schema moves.
package/dist/index.d.ts CHANGED
@@ -47,7 +47,7 @@ import { Client, StreamableHTTPClientTransport } from '@modelcontextprotocol/cli
47
47
  * being asked. Move it for a change to THIS package — a proxy fix, a dependency bump, a docs
48
48
  * correction. Never move it to track the server.
49
49
  */
50
- export declare const PACKAGE_VERSION = "32.0.3";
50
+ export declare const PACKAGE_VERSION = "32.0.6";
51
51
  export declare const DEFAULT_URL = "https://mcp.battlegrid.trade/mcp";
52
52
  export interface EnvConfig {
53
53
  apiKeys: string[];
package/dist/index.js CHANGED
@@ -49,7 +49,7 @@ import { Client, SdkHttpError, StreamableHTTPClientTransport } from '@modelconte
49
49
  * being asked. Move it for a change to THIS package — a proxy fix, a dependency bump, a docs
50
50
  * correction. Never move it to track the server.
51
51
  */
52
- export const PACKAGE_VERSION = '32.0.3';
52
+ export const PACKAGE_VERSION = '32.0.6';
53
53
  export const DEFAULT_URL = 'https://mcp.battlegrid.trade/mcp';
54
54
  const MAX_RETRIES = 3;
55
55
  const RETRY_DELAYS_MS = [2000, 4000, 8000];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@battlegrid/mcp-server",
3
- "version": "32.0.3",
3
+ "version": "32.0.6",
4
4
  "description": "BattleGrid MCP server — play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "generator": "battlegrid-app/server/scripts/export-mcp-skills.mjs",
3
- "contractVersion": "116.1.0",
3
+ "contractVersion": "119.0.0",
4
4
  "files": {
5
5
  "battlegrid-agent-management/SKILL.md": "9dc151c32c3578d06e8895c6752d7a64959bff6a6681a01d62ab65e1ea1590d1",
6
6
  "battlegrid-agent-management/references/agent-stage-examples.md": "dffcc353d61dfc7b5bb6a2b3077fc6bf8c760a34c287cafb3b59b99306f24195",