@battlegrid/mcp-server 32.0.45 → 32.0.46

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,23 @@ 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 — v137.4 (flat windows read what TradingView reads)
42
+
43
+ **Changed values at v137.4, behind unchanged schemas.** v137.4 is the contract on top of v137.3. Nothing a client sends
44
+ is refused that v137.3 accepted, and no schema, description or digest moves. Reconnecting is not required.
45
+
46
+ ### Changed values — the same schema serves a different number
47
+
48
+ On a flat window, these indicators now read what TradingView's Pine v6 built-ins read there (indicator math revision 3).
49
+ This supersedes v137's statement that %R, CCI, Stochastic and Stoch RSI read null over a flat window, for every one but %R.
50
+ - **`K` and `D` (Stochastic %K/%D) read 0** on a window with no range, where they read null.
51
+ - **`stochRsiK` and `stochRsiD` read 0** where the RSI's own 14-bar range is exactly 0, where they read null.
52
+ - **`CCI20` holds its last reading** wherever every typical price in its 20-bar window is equal. Before, it read null
53
+ there, or ±66.67 where a float residue was left. The hold lasts for at most 190 bars, then reads null.
54
+ - **`willR14` is unchanged**: a window with no range still reads null.
55
+ - **Zones and exchange-wide ranks follow.** A flat coin now ranks on these metrics, where it had no rank. A clause such
56
+ as `K < 20` reads TRUE on a flat window, where it read FALSE.
57
+
41
58
  ## Contract history — v137.3 (the bar's traded notional in USD)
42
59
 
43
60
  **Additive at v137.3: three metrics and one chart-axis family.** v137.3 is the contract on top of v137.2. Nothing a 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.45";
50
+ export declare const PACKAGE_VERSION = "32.0.46";
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.45';
52
+ export const PACKAGE_VERSION = '32.0.46';
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.45",
3
+ "version": "32.0.46",
4
4
  "description": "BattleGrid MCP server — play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",