@battlegrid/mcp-server 32.0.65 → 32.0.67

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,57 @@ 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 — v146 (market breadth and the stablecoin pegs are series a section reads)
42
+
43
+ **Breaking at v146: inputs refused, one section field required, inputs and vocabularies widened.** Market breadth
44
+ and the USDT/USD and USDC/USDT pegs stop being scalar modules and become per-bar series. A report section now reads
45
+ exactly one subject: the coin being evaluated, one bound instrument (`benchmarkTicker`: a roster coin or a declared
46
+ pair), or the market at one breadth scope (`marketScope`). Reconnect the proxy, or restart it, so discovery reads the
47
+ new shapes.
48
+
49
+ ### Refused input — the reason v146 is MAJOR
50
+
51
+ - **The `get_market_context` modules `marketBreadth` and `referencePairs`** are gone. A call that asks for either is
52
+ refused.
53
+ - **The platform report modules `includeMarketBreadth` and `includeReferencePairs`** are gone from every
54
+ context-source input and output. A report that places either is refused.
55
+ - **Every condition header under the retired scalar families** (`mktUp_all` … `mktStretch_commodities`,
56
+ `usdtUsdDev_market`, `usdcUsdtDev_market`) is refused as an unknown column. Stored conditions that named one were
57
+ moved server-side onto a market or pair section of their own strategy or agent. Read the strategy again for the
58
+ section key and header each one now names (`mktDown_all` became `mktDown` on the strategy's whole-market section).
59
+ - **The prompt section kinds `market-breadth` and `reference-pairs`** no longer appear in a preview.
60
+ - **`DecisionDroppedInput.BREADTH` and `DecisionDropCause.SPANS_BARS`** leave every decision record.
61
+
62
+ ### Required input
63
+
64
+ - **Every custom section carries `marketScope`**, a breadth scope or `null`, beside `benchmarkTicker`, on
65
+ `stage_strategy_draft`, `preview_strategy_report` and `save_report_section`, and on every strategy output. Setting
66
+ both is refused: a section reads one subject.
67
+
68
+ ### Widened input
69
+
70
+ - **`benchmarkTicker` accepts the declared reference pairs `USDT_USD` and `USDC_USDT`**, matched exactly as declared.
71
+ A pair section reads `OPEN`, `HIGH`, `LOW`, `CLOSE` and the new `PAR_DEV`, the signed percentage deviation from
72
+ par.
73
+ - **`get_strategy_column_contract` takes the section's `marketScope`.**
74
+
75
+ ### Widened catalog and vocabularies
76
+
77
+ - **Fourteen metrics.** The market metrics `MKT_UP` … `MKT_UNIVERSE`, plus `MKT_ABOVE_EMA` (the share of the scope's
78
+ coins above their own EMA(50)), are legal on a market section only. `PAR_DEV` is legal on a pair section only. Every
79
+ catalog metric now carries `subjectKinds`, so a client can tell which sections a metric can be placed on before it
80
+ stages one.
81
+ - **Two zone vocabularies:** `at par / drifting / depegged` on `PAR_DEV`, and `risk-off / neutral / risk-on` on
82
+ `MKT_ABOVE_EMA`. `classifyZone` is offered on every candle-homed metric that declares a zone vocabulary, which makes
83
+ `CVD`, `CUM_VOLUME_DELTA` and `SPOT_CVD` × `classifyZone` authorable.
84
+ - **`BarFamily.REFERENCE`** joins the decided-bar shortfall and data-miss vocabularies, and
85
+ **`AgentConditionLevelRefusal.NOT_ON_SUBJECT_PRICE_AXIS`** joins `get_agent_coin_qualification`'s refusals.
86
+ - `REPORT_CATALOG_SCHEMA_VERSION` 33 → 34.
87
+
88
+ ### Digest move
89
+
90
+ - Schema hashes move on 28 tool entries; no tool is added or removed.
91
+
41
92
  ## Contract history — v143 (a Radar deployment is one team's watch on one coin)
42
93
 
43
94
  **Breaking at v143: one answer narrowed, one input required, outputs reshaped.** A coin may now be deployed on Radar
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.65";
50
+ export declare const PACKAGE_VERSION = "32.0.67";
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.65';
52
+ export const PACKAGE_VERSION = '32.0.67';
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.65",
3
+ "version": "32.0.67",
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": "146.0.0",
3
+ "contractVersion": "146.0.1",
4
4
  "files": {
5
5
  "battlegrid-agent-management/SKILL.md": "324ef8181bfcfc99b955d9644ed543c6ab91071153d43f77ccf0a4979b896b09",
6
6
  "battlegrid-agent-management/references/agent-stage-examples.md": "dffcc353d61dfc7b5bb6a2b3077fc6bf8c760a34c287cafb3b59b99306f24195",