@battlegrid/mcp-server 31.2.16 → 31.2.18
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/skills/EXPORT.json +4 -4
- package/skills/battlegrid-strategy-examples/SKILL.md +7 -5
- package/skills/battlegrid-strategy-examples/references/tradingview-ports.md +4 -4
- package/skills/battlegrid-trade-proposal/SKILL.md +3 -0
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.
|
|
52
|
+
export declare const PACKAGE_VERSION = "31.2.18";
|
|
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.
|
|
55
|
+
export const PACKAGE_VERSION = '31.2.18';
|
|
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.
|
|
4
|
-
"description": "BattleGrid MCP server
|
|
3
|
+
"version": "31.2.18",
|
|
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": {
|
package/skills/EXPORT.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"generator": "battlegrid-app/server/scripts/export-mcp-skills.mjs",
|
|
3
|
-
"contractVersion": "
|
|
3
|
+
"contractVersion": "55.0.0",
|
|
4
4
|
"files": {
|
|
5
5
|
"battlegrid-agent-management/SKILL.md": "b6ea75b3d838c1dbaaf3984d7e99a11c81686de2c1a1910c35699ee7e70dafa5",
|
|
6
6
|
"battlegrid-arena-play/SKILL.md": "03fa153bf82be18bf5ed01e3ba12e2cd9f99a81b08d903a77b52169e7519a182",
|
|
@@ -8,11 +8,11 @@
|
|
|
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": "
|
|
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": "
|
|
14
|
+
"battlegrid-strategy-examples/references/tradingview-ports.md": "2b13adbc137178955edcca31b6ab40c01c745a932a0750b91db8820c736700bb",
|
|
15
15
|
"battlegrid-trade-analysis/SKILL.md": "32573a67e55d735e6ee4e36b3b48c815694102704bc453c4d1c13db39551b3da",
|
|
16
|
-
"battlegrid-trade-proposal/SKILL.md": "
|
|
16
|
+
"battlegrid-trade-proposal/SKILL.md": "311af5a91576b095dcfcb3e3fc8b41e8a75d7af505222f975fde9733c633cb7e"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -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
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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,
|
|
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.
|
|
68
|
-
|
|
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-
|
|
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.
|
|
@@ -23,6 +23,9 @@ re-sorts a list, re-derives a verdict, or approves on the player's behalf.
|
|
|
23
23
|
- Read the rows **as written**: the rank, the verdict, the first failing gate, the unscorable
|
|
24
24
|
label. Never re-sort them and never re-derive a verdict from its numbers — the server's ranking
|
|
25
25
|
is the answer.
|
|
26
|
+
- The scan is the **ranking** answer, not the full gate detail. For one shortlisted coin's
|
|
27
|
+
per-direction and per-gate breakdown — candidate levels, every gate's own reading, the ATR
|
|
28
|
+
corridor — call `get_agent_coin_qualification` on up to 12 tickers. Never re-scan for it.
|
|
26
29
|
- A refused scan (`RATE_LIMITED`) is a refusal: say the scan was refused and when it can be retried
|
|
27
30
|
(`retryAfterSeconds`). Never say "nothing fits".
|
|
28
31
|
|