@battlegrid/mcp-server 32.0.75 → 32.0.77

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
@@ -58,6 +58,58 @@ hash moves.
58
58
  64 `equalBars` serves up to 935 (was 467), and 799 at a cap of 200; above 200 an equal column is still refused.
59
59
  `swingLength` keeps its ceiling of 100.
60
60
 
61
+ ## Contract history — v147 to v147.2 (an arena deployment's member is chosen at the bell, agents leave Radar, an entry's fate is journaled)
62
+
63
+ **v147 is MAJOR: published results narrow for inputs v146.14 accepted, and one tool refuses a call it answered.**
64
+ v147.1 and v147.2 are MINOR. Nothing either refuses was accepted by the version before it.
65
+
66
+ ### Reshaped output — one reason v147 is MAJOR
67
+
68
+ - **A deployment resolution names its on-duty members, not one agent.** The RESOLVED arm drops `agentId`,
69
+ `agentDisplayName`, `agentAvatarUrl`, `matchedSlotPriority`, `matchedIsDefault`, `minConfidencePercent` and
70
+ `resolved` for `members`, a non-empty array of those fields: every matching rule on duty in priority order, the
71
+ default only when none matches. Which member plays is decided at the Opening Bell. This moves in
72
+ `preview_deployment_resolution`, `test_generate_deployment_grid`, `get_deployment_policy`,
73
+ `list_deployment_policies` and `get_deployment_policy_draft`.
74
+ - **A test generation reports the members it tried.** `test_generate_deployment_grid`'s RESOLVED result gains
75
+ `tried` (`agentId`, `agentDisplayName`, `admittedCount`, `gridSize`, `stoodAside` per member), and its
76
+ `generation` is null when every on-duty member stood aside.
77
+
78
+ ### New refusals — the other reason v147 is MAJOR
79
+
80
+ - **`generate_agent_grid` refuses an agent whose strategy admits too few coins.** When the strategy admits fewer
81
+ pool coins than the grid needs, the call is a `BAD_REQUEST` with details `{admittedCount, gridSize}`, and a
82
+ pending grid cached for that agent and session is discarded.
83
+ - **A draft slot naming an agent the caller cannot access is refused** by `preview_deployment_resolution` and
84
+ `test_generate_deployment_grid`, in any slot, not only the winning one.
85
+
86
+ ### Added tools — v147.1
87
+
88
+ - **`get_agent_radar_holdings`** (`mcp:read`) serves every Radar deployment of the caller that holds one agent,
89
+ enabled or paused, each with its server-decided withdraw `effect`.
90
+ - **`withdraw_agent_from_radar`** (`mcp:wager`) takes the agent off the holdings it names, each at the policy and
91
+ revision that read returned, and answers one outcome per holding.
92
+
93
+ ### Widened refusal — v147.1
94
+
95
+ - **A `CONFLICT`'s `details.reason` gains `RADAR_WITHDRAW_REFUSED`**, carried with `details.refusals`: one entry
96
+ per refused holding, with its own code and message.
97
+
98
+ ### Widened enum — `get_agent_activity_feed`'s `eventType`
99
+
100
+ - **v147 adds `GRID_STOOD_ASIDE`**: the agent's strategy admitted fewer coins than a grid needs, so it stood aside
101
+ before any spend. A `GRID_SKIPPED` row's `reason` is now a code from one closed vocabulary, not refusal text.
102
+ - **v147.2 adds `GRID_ENTRY_RESOLVED`**: settlement's later word on an agent's entry, with `metadata.resolution`
103
+ `ENTERED` (the fee confirmed after the submit returned), `RELEASED` (the entry could no longer be entered) or
104
+ `REFUND_REQUESTED` (a released entry's landed fee is being returned). A `GRID_SUBMITTED` row's `metadata` also
105
+ carries `entryStatus`: `ENTERED`, or `PAYMENT_PENDING` while the fee is still confirming.
106
+
107
+ ### Re-worded text — v147
108
+
109
+ - The `preview_deployment_resolution` and `test_generate_deployment_grid` descriptions state the on-duty set and
110
+ the member trial. `stage_strategy_draft`'s CONDITIONS axis and the strategies workflow card state that a
111
+ strategy without an entry condition never enters the arena.
112
+
61
113
  ## Contract history — v146.13 (market structure follows LuxAlgo's leg, EQH / EQL read `true`)
62
114
 
63
115
  **Nothing refused at v146.13 that v146.12 accepted at the shipped lookback cap.** One MINOR moves served values
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.75";
50
+ export declare const PACKAGE_VERSION = "32.0.77";
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.75';
52
+ export const PACKAGE_VERSION = '32.0.77';
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.75",
3
+ "version": "32.0.77",
4
4
  "description": "BattleGrid MCP server — play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",