@battlegrid/mcp-server 31.2.17 → 31.2.19

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/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.17";
52
+ export declare const PACKAGE_VERSION = "31.2.19";
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.17';
55
+ export const PACKAGE_VERSION = '31.2.19';
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,7 +1,7 @@
1
1
  {
2
2
  "name": "@battlegrid/mcp-server",
3
- "version": "31.2.17",
4
- "description": "BattleGrid MCP server \u2014 play crypto prediction games from AI agents",
3
+ "version": "31.2.19",
4
+ "description": "BattleGrid MCP server — play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "generator": "battlegrid-app/server/scripts/export-mcp-skills.mjs",
3
- "contractVersion": "54.0.0",
3
+ "contractVersion": "55.1.0",
4
4
  "files": {
5
5
  "battlegrid-agent-management/SKILL.md": "b6ea75b3d838c1dbaaf3984d7e99a11c81686de2c1a1910c35699ee7e70dafa5",
6
6
  "battlegrid-arena-play/SKILL.md": "03fa153bf82be18bf5ed01e3ba12e2cd9f99a81b08d903a77b52169e7519a182",
@@ -8,10 +8,10 @@
8
8
  "battlegrid-radar-deployment/SKILL.md": "d2a012b154e1e529db19529bd7c3d75d069f4e410d5804add51165f0f0902b2e",
9
9
  "battlegrid-strategy-authoring/SKILL.md": "2a973a9e52832ab1e0d9bf1b6d21b8bf898899bc3a455fde223646a01e914242",
10
10
  "battlegrid-strategy-doctor/SKILL.md": "9ab3f79128ec81d3e90167c3f1ea4bd6f6b570290e5ebe2bf855195263c58239",
11
- "battlegrid-strategy-examples/SKILL.md": "316c9635219c9a732e9c4bce9918a442be8b3ad9abac16c613224951e12887a1",
11
+ "battlegrid-strategy-examples/SKILL.md": "6b7a882fedd4f63c083319ed2cd1e4354873d9dc70253217eb60ad3c23871c77",
12
12
  "battlegrid-strategy-examples/references/playbooks.md": "35c543c090d00ba19e4bcf0a80502afac7a4954643fc535de0b24381c91ecbf4",
13
13
  "battlegrid-strategy-examples/references/recipes.md": "53887daece17995543e7d3fe1bf2577fc41a6254c291acacde48d7de63853641",
14
- "battlegrid-strategy-examples/references/tradingview-ports.md": "1ff63367de1f9a9fbbcd7ecd5367137800373df47aaeb1d61fb1298d3a1924f4",
14
+ "battlegrid-strategy-examples/references/tradingview-ports.md": "2b13adbc137178955edcca31b6ab40c01c745a932a0750b91db8820c736700bb",
15
15
  "battlegrid-trade-analysis/SKILL.md": "32573a67e55d735e6ee4e36b3b48c815694102704bc453c4d1c13db39551b3da",
16
16
  "battlegrid-trade-proposal/SKILL.md": "311af5a91576b095dcfcb3e3fc8b41e8a75d7af505222f975fde9733c633cb7e"
17
17
  }
@@ -76,11 +76,13 @@ column as a TRIGGER inside a carrier, and pair it with a persistent state — a
76
76
  `MAalign` — for regime. A condition that treats an event column as a standing state is unresolved on
77
77
  nearly every bar, which is a gate that never gates.
78
78
 
79
- **`PDH` and `PDL` are anchored to `1d`.** They are catalogued price levels, so `dist_PDH gte 0`
80
- composes directly — but bind them `{abs: '1d'}`, which is the only reference the save path accepts on
81
- them, and read them from any anchor that way. (`distance` still rejects an `offset`, and a clause
82
- still compares a column against a literal; neither of those shapes is what a previous-day level
83
- needed.)
79
+ **The previous-session levels are TIMELESS.** `PDH`, `PDL`, `PDO` and the seven floor pivots
80
+ (`pivotP`, `pivotR1`–`R3`, `pivotS1`–`S3`) read the session profile, not a candle rung, so they take
81
+ no timeframe reference at all: bind them `{rel: 'anchor'}` — the default — and they serve the same
82
+ previous UTC session from any anchor. An absolute reference is REFUSED at save, including `1d`,
83
+ because there is no rung for one to select. They are catalogued price levels, so `dist_PDH gte 0`
84
+ composes directly. (`distance` still rejects an `offset`, and a clause still compares a column
85
+ against a literal; neither of those shapes is what a previous-session level needed.)
84
86
 
85
87
  ## Conditions
86
88
 
@@ -23,7 +23,7 @@ the thing itself. Most TV strategies run on the daily chart: carry that with the
23
23
  daily-strategy pattern above (pinned-1d thesis at `offset: 1` on an intraday anchor), which
24
24
  binds decisions to daily closes while the studio keeps managing risk intraday.
25
25
 
26
- Event-column behaviour, state-vs-event, `PDH`/`PDL` binding and the squeeze's anchor calibration are
26
+ Event-column behaviour, state-vs-event, previous-session-level binding and the squeeze's anchor calibration are
27
27
  rules about the columns themselves, not about porting — they live in the skill body's
28
28
  `## Header grammar` and `## Conditions`. Read those first; this document is the per-script recipes.
29
29
 
@@ -64,8 +64,8 @@ rules about the columns themselves, not about porting — they live in the skill
64
64
  `RVOL gte 1.5`; `sr_resistance_break` 3 required; turtle exits = trend preset (trail from
65
65
  1R, giveback 50). Mirror with `"breakdown low"`. **Daily-breakout variant on any anchor:**
66
66
  pin the structure at 1d — `zone_1d is "breakout high"`, `dist_donchianHi_1d gte 0` (validated).
67
- **Literal previous-day levels are native**: `dist_PDH gte 0` composes directly. Their `{abs: '1d'}`
68
- binding is stated in `## Header grammar` in the skill body.
67
+ **Literal previous-day levels are native**: `dist_PDH gte 0` composes directly. They are TIMELESS
68
+ and take `{rel: 'anchor'}` — see `## Header grammar` in the skill body.
69
69
  - **ICT / SMC (FVG + order blocks)** → `STRUCT_ZONES` is the native zone engine:
70
70
  `zones_htf_support_type` (`bullish FVG`/`bullish order block`), `zones_htf_support_dist
71
71
  between -1.5 0`, `_age_h gte 12`, HTF bias required via `MAalign_htf`; rules
@@ -79,5 +79,5 @@ rules about the columns themselves, not about porting — they live in the skill
79
79
  Parabolic SAR (`PSAR`), Keltner (`KC_UPPER`/`KC_MID`/`KC_LOWER`), daily pivots
80
80
  (`PIVOT_P`/`PIVOT_R1`–`R3`/`PIVOT_S1`–`S3`), Williams %R (`WILLR14`), Stochastic RSI
81
81
  (`STOCH_RSI14`), the TTM squeeze (`KC_SQUEEZE`), Connors RSI-2 (`RSI2`), the 9/21/50 EMAs
82
- (`EMA9`/`EMA21`/`EMA50`), and literal previous-day levels (`PDH`/`PDL`). Port these directly —
82
+ (`EMA9`/`EMA21`/`EMA50`), and literal previous-session levels (`PDH`/`PDL`/`PDO`). Port these directly —
83
83
  do not offer a substitute for a primitive the catalog serves.