@battlegrid/mcp-server 32.0.71 → 32.0.72

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,29 @@ 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.13 (market structure follows LuxAlgo's leg, EQH / EQL read `true`)
42
+
43
+ **Nothing refused at v146.13 that v146.12 accepted at the shipped lookback cap.** One MINOR moves served values
44
+ behind unchanged schemas. No tool, field or enum member is added or removed, and no schema hash moves.
45
+
46
+ ### Changed values — the same schema serves a different value
47
+
48
+ - **Market-structure highs and lows alternate, as LuxAlgo Smart Money Concepts' `leg()` does.** A pivot set records
49
+ a new swing high only after a swing low, and a new low only after a high. A bar that decides both is read as the
50
+ high. A lower low before any new high, or a higher high before any new low, no longer replaces the structure
51
+ level. So `*_STRUCTURE_EVENT`, `*_STRUCTURE_TREND` and `*_STRUCTURE_LEVEL` can read differently from v146.12 on
52
+ the same bars. Two-sided pivot detection is unchanged.
53
+ - **`EQH` and `EQL` can read `true`.** Their ATR(200) is now windowed over the 800 closed bars ending at
54
+ the deciding bar. Under v146.12 that window was the whole 1,000-bar fetch, so a flag before the newest bar read
55
+ `false` or no value. A flag is published only where the recorded pivot and the previous one on its side are both
56
+ proven in the read.
57
+
58
+ ### Depth need — what a column reads to publish one value
59
+
60
+ - **An equal flag reads at least 800 bars.** Its need is the larger of `2 × equalBars + 1` and 800, judged against
61
+ the 1,000-bar floor less the lookback cap. At the shipped cap of 64 every legal `equalBars` fits. Above a cap of
62
+ 200 an equal column is refused with `REPORT_COLUMN_DEPTH_EXCEEDED` and a `relation` domain, where v146.12 served it.
63
+
41
64
  ## Contract history — v146.1 to v146.12 (1,000-bar history, author-set lengths, pivots on five periods, market structure)
42
65
 
43
66
  **Nothing refused at v146.1 through v146.12 that v146.0.1 accepted, with one exception for a v146.11 value no client
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.71";
50
+ export declare const PACKAGE_VERSION = "32.0.72";
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.71';
52
+ export const PACKAGE_VERSION = '32.0.72';
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.71",
3
+ "version": "32.0.72",
4
4
  "description": "BattleGrid MCP server — play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",