@battlegrid/mcp-server 31.2.90 → 31.2.93

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,31 @@ 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 — v107.1 (an arena entry is recorded before its fee moves)
28
+
29
+ **Additive at v107.1: a paid entry can be recorded while its fee confirms.** v107.1 is the contract on top
30
+ of v107. The server now records your entry first, then sends the fee, then settles the entry on the
31
+ venue's answer, so a fee can never move for an entry that was not recorded. No input changes.
32
+
33
+ ### Widened output
34
+
35
+ - **`submit_market_grid`, `random_submit_market_grid` and `submit_agent_grid` results gain
36
+ `entryStatus`**: `ENTERED`, or `PAYMENT_PENDING` when the entry is recorded and its fee is still
37
+ confirming at the venue. A payment-pending entry plays once its fee lands before lock; otherwise it is
38
+ released, and a fee that lands after that is refunded.
39
+ - **`entryState` gains `PAYMENT_PENDING`** on `get_my_market_grid_entry`. `list_my_market_grid_entries`
40
+ shares the element schema but never returns one.
41
+
42
+ ### Refusal vocabulary
43
+
44
+ - **`details.wagerErrorCode` gains `ACCOUNT_NOT_UNIFIED`** on the three submit tools: an entry fee is
45
+ paid only from a unified-collateral account (`unifiedAccount` or `portfolioMargin`).
46
+
47
+ ### Behaviour behind unchanged schemas
48
+
49
+ - **`check_market_grid_submission` answers `hasSubmitted: true`** for a payment-pending entry.
50
+ - **`update_market_grid` refuses a payment-pending entry** with `CONFLICT` until it is in play.
51
+
27
52
  ## Contract history — v106 (the Opening Bell: a session starts at its scored candle's open)
28
53
 
29
54
  **Breaking at v106: Two-Look entry is retired. A deployment slot drops `entryStrategy`, and a
package/dist/index.d.ts CHANGED
@@ -49,7 +49,7 @@ import { type Implementation, type Prompt, type Resource } from '@modelcontextpr
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 declare const PACKAGE_VERSION = "31.2.90";
52
+ export declare const PACKAGE_VERSION = "31.2.93";
53
53
  export declare const DEFAULT_URL = "https://mcp.battlegrid.trade/mcp";
54
54
  export interface EnvConfig {
55
55
  apiKeys: string[];
package/dist/index.js CHANGED
@@ -52,7 +52,7 @@ import { ListToolsRequestSchema, CallToolRequestSchema, ListPromptsRequestSchema
52
52
  * being asked. Move it for a change to THIS package — a proxy fix, a dependency bump, a docs
53
53
  * correction. Never move it to track the server.
54
54
  */
55
- export const PACKAGE_VERSION = '31.2.90';
55
+ export const PACKAGE_VERSION = '31.2.93';
56
56
  export const DEFAULT_URL = 'https://mcp.battlegrid.trade/mcp';
57
57
  const MAX_RETRIES = 3;
58
58
  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.90",
3
+ "version": "31.2.93",
4
4
  "description": "BattleGrid MCP server — play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",