@battlegrid/mcp-server 31.2.88 → 31.2.90

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,43 @@ 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 — v106 (the Opening Bell: a session starts at its scored candle's open)
28
+
29
+ **Breaking at v106: Two-Look entry is retired. A deployment slot drops `entryStrategy`, and a
30
+ deployment draft refuses one.** v106 is the contract on top of v105.5. Every automated entry now looks
31
+ once, inside the Opening Bell window: from `startsAt` (the open of the one candle a session scores)
32
+ until `lockAt` (entries close).
33
+
34
+ ### Reshaped output — something you read has moved or been removed
35
+
36
+ - **`entryStrategy` leaves every deployment slot**: `get_deployment_policy`, `list_deployment_policies`,
37
+ `get_deployment_policy_draft`, `pause_deployment_policy`, `delete_deployment_policy`,
38
+ `preview_deployment_resolution` and `test_generate_deployment_grid`.
39
+
40
+ ### Rejected input — something you send is no longer accepted
41
+
42
+ - **`stage_deployment_policy_draft` refuses `entryStrategy`** on a `RULES` rule and on the
43
+ `DEFAULT_SLOT`, as an unrecognized key. `preview_deployment_resolution`'s `SLOTS` subject and
44
+ `test_generate_deployment_grid` no longer publish the key, and they strip it if it is sent.
45
+
46
+ ### Widened output
47
+
48
+ - **Every Market Grid session surface gains `startsAt`**, the Opening Bell. That covers
49
+ `get_market_grid_session`, `list_market_grid_sessions`, `get_market_grid_results`, and a deployment's
50
+ target session and open entries. A Coin Grid summary's `startsAt` equals its `lockAt`.
51
+ - **`get_agent_prompt_context_preview`'s market context gains `startsAt` and
52
+ `millisecondsSinceOpeningBell`**, both nullable.
53
+
54
+ ### Behaviour behind unchanged schemas
55
+
56
+ - **`lockAt` keeps its name and now means "entries close"**, the end of the Opening Bell window, a
57
+ fixed fraction of the session's duration after `startsAt`. Read `startsAt` for when a session starts
58
+ or what it scores. Submitting, editing and cancelling stay open until `lockAt`.
59
+ - **`SESSION_START` rules match `startsAt`.**
60
+
61
+ A client that reads `entryStrategy` from a slot, or stages one into a deployment draft, breaks at v106,
62
+ which is why this is a MAJOR.
63
+
27
64
  ## Contract history — v103 (a column's contract carries its read size, measurement and series home)
28
65
 
29
66
  **Breaking at v103: a transform entry drops `sideRequired` and `operandRequired`, and
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.88";
52
+ export declare const PACKAGE_VERSION = "31.2.90";
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.88';
55
+ export const PACKAGE_VERSION = '31.2.90';
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.88",
3
+ "version": "31.2.90",
4
4
  "description": "BattleGrid MCP server — play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",