@battlegrid/mcp-server 32.0.73 → 32.0.75

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,26 @@ 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 — v146.14 (market-structure pivots are LuxAlgo's `leg()` exactly)
42
+
43
+ **Nothing refused at v146.14 that v146.13 accepted at the shipped lookback cap.** One MINOR moves served values and
44
+ widens one served maximum behind unchanged schemas. No tool, field or enum member is added or removed, and no schema
45
+ hash moves.
46
+
47
+ ### Changed values — the same schema serves a different value
48
+
49
+ - **A market-structure pivot is decided by the bars after it alone, as LuxAlgo's `leg(size)` does.** A high of
50
+ length n is a pivot when it is above every high of the n bars after it, and a low when it is below every low of
51
+ them. The bars before it are not read, so a pivot that an earlier, more extreme bar within n hid under v146.13 is
52
+ now recorded. `*_STRUCTURE_EVENT`, `*_STRUCTURE_TREND`, `*_STRUCTURE_LEVEL`, `EQH` and `EQL` can read differently
53
+ from v146.13 on the same bars. The swing-fractal metrics keep their two-sided pairs.
54
+
55
+ ### Depth need — what a column reads to publish one value
56
+
57
+ - **A structure needs `n + 1` bars and an equal flag the larger of `equalBars + 1` and 800.** At the shipped cap of
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
+ `swingLength` keeps its ceiling of 100.
60
+
41
61
  ## Contract history — v146.13 (market structure follows LuxAlgo's leg, EQH / EQL read `true`)
42
62
 
43
63
  **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.73";
50
+ export declare const PACKAGE_VERSION = "32.0.75";
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.73';
52
+ export const PACKAGE_VERSION = '32.0.75';
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.73",
3
+ "version": "32.0.75",
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": "146.14.0",
3
+ "contractVersion": "147.0.0",
4
4
  "files": {
5
5
  "battlegrid-agent-management/SKILL.md": "324ef8181bfcfc99b955d9644ed543c6ab91071153d43f77ccf0a4979b896b09",
6
6
  "battlegrid-agent-management/references/agent-stage-examples.md": "dffcc353d61dfc7b5bb6a2b3077fc6bf8c760a34c287cafb3b59b99306f24195",
@@ -13,10 +13,10 @@
13
13
  "battlegrid-radar-deployment/SKILL.md": "ef291ec096461ed2b78915adbfa41000b959b5803ae4ebef3084bff4c1e1a746",
14
14
  "battlegrid-radar-deployment/references/arena-stage-examples.md": "65af54b67c3248c53fb8911df769ad32824e1f1f1d83ffc007b42a888d5e3076",
15
15
  "battlegrid-radar-deployment/references/radar-stage-examples.md": "7a4195011aa764b106567606f7a2a8ae8e9b2bf74c36b3c74a72379969d70af8",
16
- "battlegrid-strategy-authoring/SKILL.md": "11869b767def2c3951d0f046e8dadeb5a549568399d88bb2df3844e65e3eaf73",
16
+ "battlegrid-strategy-authoring/SKILL.md": "43b6b41e605096ca5db06417961436fd62d7e96cb80a931581910c4a23c1878d",
17
17
  "battlegrid-strategy-authoring/references/strategy-stage-examples.md": "f10ecdc91f3660a708eee7a7bacefce2acbb46c9cf7e0ac1454bd54f839f39fd",
18
18
  "battlegrid-strategy-doctor/SKILL.md": "4be392e51f3b5e76ff4aa22f61700236e8b1e19dfe286aeda8ed98e48a8457ba",
19
- "battlegrid-strategy-examples/SKILL.md": "ac54a2171b3a7bcc0d3e6fa5c75bcf1ee04d5bb2cbfc0d050032d44db5a734d3",
19
+ "battlegrid-strategy-examples/SKILL.md": "a43623e2e5e2ade62d4e2dc1dfd5ce51efda7f15a4024713bc8058ff91beba07",
20
20
  "battlegrid-strategy-examples/references/playbooks.md": "59996c37eea08e7ce398e49304171939e55c968400a1603597d6737faf9e1771",
21
21
  "battlegrid-strategy-examples/references/recipes.md": "ee1b35f5341d3878ef8e8b045d0425a06fb25c76149fe841f2afe075909135f4",
22
22
  "battlegrid-strategy-examples/references/tradingview-ports.md": "ed977b6c190a74777a735cd482e65e65b92b9e8768157b65ea916cabafdf3cd9",
@@ -126,10 +126,12 @@ verdict — gates nothing unless it is itself marked `required`, and an exit rul
126
126
  Whether a sub-rule should be a building block or inlined is answered by the `strategy-examples`
127
127
  skill's **Building block or inline** paragraph. A strategy whose entry conditions include no
128
128
  required and no verdict-carrying condition never routes a trade: every coin fails first with
129
- `NO_ENTRY_CONDITION`, and its draft carries the warning of the same name. It stays a valid
130
- strategy — Market Grid reads it as context — so a strategy the player means to trade needs at least
131
- one. Before any condition is read, a coin must clear the ATR floor, `minAtrPct`, the
132
- TRADE_LEVEL_POLICY dial beside the stop-loss band.
129
+ `NO_ENTRY_CONDITION`, and its draft carries the warning of the same name. It never enters the arena
130
+ either: an arena grid may hold only the coins and directions the entry conditions admit, so an
131
+ agent bound to it sits out every session. It stays a valid strategy, so a strategy the player means
132
+ to trade or play needs at least one. Before any condition is read for a trade, a coin must clear the
133
+ ATR floor, `minAtrPct`, the TRADE_LEVEL_POLICY dial beside the stop-loss band; an arena pick is
134
+ admitted by the entry conditions alone and reads none of the trade dials.
133
135
 
134
136
  **Read the answer, not just the call.** Each of these returns one field that decides a composition
135
137
  question you would otherwise guess — and a refusal you would otherwise earn:
@@ -197,8 +197,10 @@ declares no verdict-carrying condition resolves `null` and constrains no side.
197
197
  `required: true` or carries a verdict (`UP`, `DOWN` or `NEITHER`); a building block not marked
198
198
  `required` gates nothing, and an exit rule never counts. A strategy whose conditions include neither
199
199
  never trades: every coin fails first with `NO_ENTRY_CONDITION`, before the trade levels, the ATR
200
- floor or any condition is read, and its draft carries the `NO_ENTRY_CONDITION` warning. It stays a valid strategy — Market Grid
201
- reads it as context — so this is a choice to state, never an accident. When the agent decides a
200
+ floor or any condition is read, and its draft carries the `NO_ENTRY_CONDITION` warning. It never
201
+ enters the arena either: an arena grid may hold only the coins its required conditions pass, in the
202
+ directions its verdict admits, so an agent bound to a strategy with no entry condition sits out every
203
+ session. It stays a valid strategy, so this is a choice to state, never an accident. When the agent decides a
202
204
  routed trade, its `decide_trade` call cites 1–8 of the evaluated entry conditions in
203
205
  `conditionChecklist`, and only a condition that read TRUE may be cited as `CONFIRM`.
204
206