@battlegrid/mcp-server 32.0.103 → 32.0.104
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
|
@@ -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.
|
|
50
|
+
export declare const PACKAGE_VERSION = "32.0.104";
|
|
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.
|
|
52
|
+
export const PACKAGE_VERSION = '32.0.104';
|
|
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
package/skills/EXPORT.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"generator": "battlegrid-app/server/scripts/export-mcp-skills.mjs",
|
|
3
|
-
"contractVersion": "180.
|
|
3
|
+
"contractVersion": "180.4.0",
|
|
4
4
|
"files": {
|
|
5
5
|
"battlegrid-agent-management/SKILL.md": "f0dde6b2f3dfbb340cd9bf785dc514f8f6c36cb1118be75df17016de0980ef56",
|
|
6
6
|
"battlegrid-agent-management/references/agent-stage-examples.md": "dffcc353d61dfc7b5bb6a2b3077fc6bf8c760a34c287cafb3b59b99306f24195",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"battlegrid-strategy-authoring/SKILL.md": "123acc93c01c16789c2568f8f3050ea58c8a5e693d7df1a811aa87128d0746cb",
|
|
17
17
|
"battlegrid-strategy-authoring/references/strategy-stage-examples.md": "0eb41edd013f95092f5822a922c7cdd731584892ed90da575dbb65c93a1a00b6",
|
|
18
18
|
"battlegrid-strategy-doctor/SKILL.md": "aa8c7b9b8dde043c1e3d027c2b370979ea18b45e0f7757e77164bd0fffbe8236",
|
|
19
|
-
"battlegrid-strategy-examples/SKILL.md": "
|
|
19
|
+
"battlegrid-strategy-examples/SKILL.md": "c8448bd243ef57dfe0c81292c40787e8e6cb1bc6cd18aecbe2ed349611df1ab0",
|
|
20
20
|
"battlegrid-strategy-examples/references/playbooks.md": "a08e5dd43a2fd3ff7b9eac7833331464edf6a533845824b80953e1e24422c48c",
|
|
21
21
|
"battlegrid-strategy-examples/references/recipes.md": "e24483ec52cbcedba08ed6fa7f2a28b0fde170b2d4b1876162d180538cd789f2",
|
|
22
|
-
"battlegrid-strategy-examples/references/tradingview-ports.md": "
|
|
22
|
+
"battlegrid-strategy-examples/references/tradingview-ports.md": "8eddbe31d445080cf772c357f0608c912b620583c7bc62de71ddaf98c10c8820",
|
|
23
23
|
"battlegrid-trade-analysis/SKILL.md": "67230a08ecd96aed560ea1730a7782da7f95fa6e38f7fd43d723b50e42d2b5ca",
|
|
24
24
|
"battlegrid-trade-proposal/SKILL.md": "c28436db3ae062081716d9f6e0a7d4ec99273c58423416a0cf3c17d86bd030a7"
|
|
25
25
|
}
|
|
@@ -66,8 +66,8 @@ includes the bar measured, so a close can never pass it. The offset belongs to t
|
|
|
66
66
|
never to a chain outer.
|
|
67
67
|
|
|
68
68
|
**Timeframe references are two families.** *Relative* (`anchor`/`lower`/`regime`) re-resolve
|
|
69
|
-
when the strategy timeframe changes — `regime` is the anchor's
|
|
70
|
-
anchor). *Pinned* (`{abs: "<tf>"}`) is fixed, ignores anchor retunes, suffixes the literal
|
|
69
|
+
when the strategy timeframe changes — `regime` is the anchor's regime rung, the shortest enabled timeframe at least three times
|
|
70
|
+
the anchor (12h for a 4h anchor, 2h for a 30m anchor). *Pinned* (`{abs: "<tf>"}`) is fixed, ignores anchor retunes, suffixes the literal
|
|
71
71
|
(`RSI14_1d`, `dist_SMA200_1d`, `MAalign_1d` — validated), and binds to discovery's
|
|
72
72
|
`rankedTimeframes`, a **superset** of the authorable anchor set — `{abs: "1d"}` is valid while
|
|
73
73
|
`1d` is not an anchor. `offset` steps back inside the bar set the Read selector admits, counted
|
|
@@ -95,6 +95,14 @@ rules about the columns themselves, not about porting — they live in the skill
|
|
|
95
95
|
day's opening ranges (`OR15_HIGH`/`OR15_LOW`, `OR30_HIGH`/`OR30_LOW`) and the IB extensions
|
|
96
96
|
(`IB_EXT_UP_150` … `IB_EXT_DOWN_200`). A session window (`TRADING_SESSION in ["london","newYork"]`,
|
|
97
97
|
`DAY_OF_WEEK between 1 and 5`) is an ordinary condition; the glosses state the windows.
|
|
98
|
+
- **The week's or day's high so far — `wkHigh[1]` / `dayHigh[1]`** → native as `WEEK_HIGH` / `WEEK_LOW` (the week
|
|
99
|
+
from Monday 00:00 UTC) and `DAY_HIGH` / `DAY_LOW` (the UTC day), on the strategy's anchor rung. A verb over one
|
|
100
|
+
reads the level as it stood at the previous strategy bar's close, which is Pine's
|
|
101
|
+
`inForce = timeframe.change("W") ? na : wkHigh[1]`: a BREAK of the week high is `dist_weekHi crossesAbove 0`
|
|
102
|
+
(`ta.crossover(close, inForce)`), a close at a new week high is `dist_weekHi gt 0`, and `WEEK_HIGH ×
|
|
103
|
+
levelInteraction` reads TOUCH / REJECT. Monday's first hour has no level in force, so a verb there is unreadable,
|
|
104
|
+
and a crossing is unreadable on the second hour too. Last week's high is `PWH`. `HIGH @1d` / `@1w` Developing is a
|
|
105
|
+
different read: the forming candle at its own rung, not a level met per strategy bar.
|
|
98
106
|
- **ICT / SMC (FVG + order blocks)** → `STRUCT_ZONES` is the native zone engine:
|
|
99
107
|
`zones_htf_support_type` (`bullish FVG`/`bullish order block`), `zones_htf_support_dist
|
|
100
108
|
between 0 1.5`, `_age_bars gte 3`, HTF bias required via `MAalign_htf`. A killzone is a session window
|