@battlegrid/mcp-server 32.0.58 → 32.0.61

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,39 @@ 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 — v143 (a Radar deployment is one team's watch on one coin)
42
+
43
+ **Breaking at v143: one answer narrowed, one input required, outputs reshaped.** A coin may now be deployed on Radar
44
+ once per team: two teams of one account can each deploy the same coin, each with its own rules, fires, cooldown and
45
+ position. A deployment is addressed by its team and its coin. Reconnect the proxy, or restart it, so discovery reads
46
+ the new shapes.
47
+
48
+ ### Narrowed answer — the reason v143 is MAJOR
49
+
50
+ - **A Radar call naming a coin alone addresses the account's Main team's deployment of it** —
51
+ `get_radar_deployment`, `pause_radar_deployment`, `resume_radar_deployment`, `delete_radar_deployment`,
52
+ `preview_radar_resolution`, `get_radar_activity`, `get_radar_activity_summary`, `get_radar_close_decisions`, and
53
+ `stage_radar_deployment_draft`, `get_radar_deployment_draft` and `discard_radar_deployment_draft`. Before v143 a
54
+ coin had one deployment per account, whatever its team; a client that deployed a coin for another team and still
55
+ calls with the coin alone now reads Main's deployment, or none.
56
+ - **`commit_radar_deployment_draft` requires `teamId`.** A commit without it is refused by its schema, and nothing is
57
+ deployed.
58
+
59
+ ### Widened input
60
+
61
+ - Every tool above takes an optional `teamId`: the team whose deployment of the coin it addresses, the account's Main
62
+ when omitted. Another account's team answers `NOT_FOUND`. A read narrowed to an agent names the team that agent
63
+ trades on, which every `list_radar_deployments` row serves.
64
+
65
+ ### Reshaped output
66
+
67
+ - **The team beside the coin.** A deployment's `teamId` and `teamName` are always set; `pause_radar_deployment` and
68
+ `resume_radar_deployment` answer `{ teamId, revision }`; `delete_radar_deployment` and `get_radar_activity_summary`
69
+ name the `teamId`; the radar draft reads, the draft listing rows and the commit receipt name `teamId` beside
70
+ `coinId`; an agent's Radar slots in the agent hub name their `teamId`.
71
+ - **The officer's Radar targets.** `get_officer_review_context`'s Radar targets serve `teamId` and `coinId`, and a
72
+ Radar proposal's `targetId` is the deployment's key, `<teamId>:<coinId>` — pass it back as given.
73
+
41
74
  ## Contract history — v142.3 (read a metric relative to another coin)
42
75
 
43
76
  **Additive at v142.3: one transform, one column knob and one numeric unit added.** Nothing a client sends today is
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.58";
50
+ export declare const PACKAGE_VERSION = "32.0.61";
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.58';
52
+ export const PACKAGE_VERSION = '32.0.61';
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.58",
3
+ "version": "32.0.61",
4
4
  "description": "BattleGrid MCP server — play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "generator": "battlegrid-app/server/scripts/export-mcp-skills.mjs",
3
- "contractVersion": "142.2.0",
3
+ "contractVersion": "142.3.0",
4
4
  "files": {
5
5
  "battlegrid-agent-management/SKILL.md": "324ef8181bfcfc99b955d9644ed543c6ab91071153d43f77ccf0a4979b896b09",
6
6
  "battlegrid-agent-management/references/agent-stage-examples.md": "dffcc353d61dfc7b5bb6a2b3077fc6bf8c760a34c287cafb3b59b99306f24195",
@@ -17,7 +17,7 @@
17
17
  "battlegrid-strategy-doctor/SKILL.md": "24c2208cf6832f1fc34e1b1c52acd8dae10f56b9860aaf27b450a62a9fb74634",
18
18
  "battlegrid-strategy-examples/SKILL.md": "cbbc7a7271aaa9f530a11d91511f4bf35a9632aa3ab67ecd996975c65ae72625",
19
19
  "battlegrid-strategy-examples/references/playbooks.md": "59996c37eea08e7ce398e49304171939e55c968400a1603597d6737faf9e1771",
20
- "battlegrid-strategy-examples/references/recipes.md": "e1fbd1a3d1b2ef1408fef8642032c3e131954aedec6bdcefa3af6a655948e392",
20
+ "battlegrid-strategy-examples/references/recipes.md": "4136ff306f32d1e3aa612ac13a116d58df2177f619464ab2481a84f608e56cfc",
21
21
  "battlegrid-strategy-examples/references/tradingview-ports.md": "bc63e26b16458fd17b7bc567541fc9889ee857b444ccb2d3f011545635758d8f",
22
22
  "battlegrid-trade-analysis/SKILL.md": "140d847f24e98845736d4f0c2e72b318a4d235413f72f072d2fe6d0daa5f64db",
23
23
  "battlegrid-trade-proposal/SKILL.md": "bf8f3794478cdecc989020bd775c3c91744f72b440b1a90f88f6700c9a61ca24"
@@ -35,6 +35,9 @@ rather than events all live there. This document assumes them.
35
35
  | One-bar volume concentration | `{ "metric": "VOLUME", "transformId": "maxShare", "timeframe": { "rel": "lower" }, "window": 4, "bars": "closed" }` | `volBase_ltf_maxShare` |
36
36
  | Room to structure | `{ "metric": "STRUCT_ZONES", "transformId": "nearestZoneDist", "timeframe": { "rel": "regime" }, "side": "resistance" }` | `zones_htf_resist_dist` |
37
37
  | Last **closed** daily read | `{ "metric": "RSI14", "transformId": "value", "timeframe": { "abs": "1d" }, "bars": "closed" }` | `RSI14_1d` — the newest completed daily bar |
38
+ | Price in BTC (relative value) | `{ "metric": "CLOSE", "transformId": "relativeTo", "timeframe": { "rel": "anchor" } }` | `close_BTC_rel` — SOL ÷ BTC, TradingView's `SOLUSDT/BTCUSDT` |
39
+ | Stretched vs ETH | `{ "metric": "CLOSE", "transformId": "relativeTo", "chainedTransformId": "zscore", "timeframe": { "rel": "anchor" }, "instrument": "ETH", "window": 20 }` | `close_ETH_rel_z20` — the ratio's z-score; above 2 is rich vs ETH |
40
+ | Momentum lead over BTC | `{ "metric": "RSI14", "transformId": "relativeTo", "timeframe": { "rel": "anchor" } }` | `RSI14_BTC_rel` — RSI minus BTC's RSI, in points |
38
41
 
39
42
  ## Cross detection
40
43