@battlegrid/mcp-server 31.2.112 → 31.2.114

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
@@ -24,6 +24,25 @@ Seeing package `31.x` alongside handshake `battlegrid@33.x` — the package **be
24
24
 
25
25
  **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.
26
26
 
27
+ ## Contract history — v114 (every paginated read takes the same cursor)
28
+
29
+ **Breaking at v114: the radar close-decision read pages by cursor, and old cursors expire.** v114 is the contract on
30
+ top of v113. Reconnect the proxy, or restart it, so discovery reads the new schemas.
31
+
32
+ ### Rejected input — something you send is no longer accepted
33
+
34
+ - **`before` on `get_radar_close_decisions`.** Omit `cursor` for the first page, then send the `nextCursor` the
35
+ previous page returned. `before` is refused as an unrecognised key naming it; nothing translates it.
36
+ - **A cursor another read served, or one served before v114,** is refused naming `cursor`. Every cursor is accepted
37
+ only by the read that wrote it; restart a held listing from its first page. Every cursor input is bounded at 2,048
38
+ characters.
39
+
40
+ ### Reshaped output — something you read moved
41
+
42
+ - **`nextBefore` → `nextCursor`** on `get_radar_close_decisions` (`null` on the last page). A page now holds at most
43
+ `limit` records — it no longer runs past `limit` to finish its oldest bar — and records within one bar order by
44
+ record id. The tool declares a large result narrowed by `limit`.
45
+
27
46
  ## Contract history — v113 (one pagination shape: an opaque cursor)
28
47
 
29
48
  **Breaking at v113: nine reads page by cursor.** v113 is the contract on top of v112. Reconnect the proxy, or restart
package/dist/index.d.ts CHANGED
@@ -48,7 +48,7 @@ import { type Implementation, type Prompt, type Resource } from '@modelcontextpr
48
48
  * being asked. Move it for a change to THIS package — a proxy fix, a dependency bump, a docs
49
49
  * correction. Never move it to track the server.
50
50
  */
51
- export declare const PACKAGE_VERSION = "31.2.112";
51
+ export declare const PACKAGE_VERSION = "31.2.114";
52
52
  export declare const DEFAULT_URL = "https://mcp.battlegrid.trade/mcp";
53
53
  export interface EnvConfig {
54
54
  apiKeys: string[];
package/dist/index.js CHANGED
@@ -51,7 +51,7 @@ import { ListToolsRequestSchema, CallToolRequestSchema, ListPromptsRequestSchema
51
51
  * being asked. Move it for a change to THIS package — a proxy fix, a dependency bump, a docs
52
52
  * correction. Never move it to track the server.
53
53
  */
54
- export const PACKAGE_VERSION = '31.2.112';
54
+ export const PACKAGE_VERSION = '31.2.114';
55
55
  export const DEFAULT_URL = 'https://mcp.battlegrid.trade/mcp';
56
56
  const MAX_RETRIES = 3;
57
57
  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": "31.2.112",
3
+ "version": "31.2.114",
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": "110.13.0",
3
+ "contractVersion": "113.0.0",
4
4
  "files": {
5
5
  "battlegrid-agent-management/SKILL.md": "9dc151c32c3578d06e8895c6752d7a64959bff6a6681a01d62ab65e1ea1590d1",
6
6
  "battlegrid-agent-management/references/agent-stage-examples.md": "dffcc353d61dfc7b5bb6a2b3077fc6bf8c760a34c287cafb3b59b99306f24195",