@battlegrid/mcp-server 32.0.73 → 32.0.74

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.74";
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.74';
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.74",
4
4
  "description": "BattleGrid MCP server — play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",