@battlegrid/mcp-server 32.0.50 → 32.0.53

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,68 @@ 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 — v140 (every count limit is the account plan's, and Bybit is no longer a spot venue)
42
+
43
+ **Breaking at v140: three outputs reshaped, one refusal widened, one metric retired.** v140 is the contract on top of
44
+ v139, and it carries two changes. Every per-account count limit — active agents, active strategies, radar coins,
45
+ additional teams — is now the account plan's, so the agent slot usage no longer names a rank. And the spot venues are
46
+ Binance and Coinbase only. Reconnect the proxy, or restart it, so discovery reads the new shapes and vocabulary.
47
+
48
+ ### Reshaped output — one reason v140 is MAJOR
49
+
50
+ - **`list_intelligence_agents` and `commit_agent_draft`** (a create's receipt) drop `slotUsage`
51
+ (`{ level, rank, limit, used, remaining }`) and serve `usage` (`{ used, limit, remaining }`) and `planCode`.
52
+ - **`get_account_state`**: `agentSlots` drops `level` and `rank` and keeps `{ used, limit, remaining }`; the state
53
+ serves `planCode` beside it.
54
+
55
+ A client reading `slotUsage`, `agentSlots.rank` or `agentSlots.level` reads nothing.
56
+
57
+ ### Widened refusal — a plan limit names itself
58
+
59
+ A create or activation refused at the plan's limit — an agent create or activation, a strategy create or restore, a
60
+ radar coin's first deployment, an additional team — is still `FORBIDDEN`, and now carries `details.reason`
61
+ `PLAN_LIMIT_REACHED`, `details.entitlement` (`agents`, `strategies`, `radarCoinPolicies` or `additionalTeams`),
62
+ `details.planLimit` and `details.planCode`. A radar coin that is already deployed is never counted, so redeploying it
63
+ still answers its revision conflict.
64
+
65
+ ### Retired — the other reason v140 is MAJOR
66
+
67
+ - **`SPOT_CLOSE_BYB` (header `bybClose`, Bybit's spot close) is gone from every authoring input**, and so is every
68
+ header derived from it (`bybClose_now`, `close_bybClose_spread`). Bybit's own record cannot recover a minute its feed
69
+ missed, so it is no longer a spot venue. The SYSTEM `venue-dislocation` template serves six columns: its
70
+ `CLOSE × spread(SPOT_CLOSE_BYB)` column was removed, and no other stored strategy, agent or section named the key.
71
+ - **Nothing else moves.** `SPOT_CLOSE_CB`, `SPOT_CLOSE_BN`, `BUY_PRES_CB` and `BUY_PRES_BN` stay. The composite already
72
+ summed only Binance and Coinbase (v139), so `SPOT_CVD`, `SPOT_AVG_TRADE` and `SPOT_DOMINANCE` serve the same values,
73
+ and a period is no longer held back waiting for Bybit's feed.
74
+ - The report catalog and the authoring catalog digest drop the key, and the preview's `vocabularyDigest` moves with
75
+ them.
76
+
77
+ ## Contract history — v139 (the spot composite sums only the venues that publish their trade history)
78
+
79
+ **Breaking at v139: one metric retired, and served values move.** v139 is the contract on top of v138. Production
80
+ moved from v138 to v140 in one deploy, so v139 was never served on its own; what it changes arrives with v140.
81
+
82
+ ### Retired — the reason v139 is MAJOR
83
+
84
+ - **`BUY_PRES_BYB` (header `bybBuyPres`, Bybit's taker-buy share) is gone from every authoring input**, and so is
85
+ every header derived from it (`bybBuyPres_now`, `bybBuyPres_rank_hi`, `cbBuyPres_bybBuyPres_spread`). Bybit
86
+ publishes no trade history, so a minute its feed missed could never be recovered. No stored strategy named it.
87
+
88
+ ### Changed values — the same schema serves a different number
89
+
90
+ - **The spot composite sums only Binance and Coinbase.** `SPOT_CVD`, `SPOT_AVG_TRADE`, `SPOT_DOMINANCE` and the
91
+ perp/spot flow reads (`PERP_SPOT_FLOW`, `PERP_SPOT_STRENGTH`, `PERP_SPOT_GAP`, `PERP_SPOT_CONFIRMS`) leave Bybit's
92
+ flow out. `SPOT_DOMINANCE` reads lower for a coin Bybit listed, and a bar in which Bybit's feed missed a minute keeps
93
+ the composite's flow where it read null. A day's `SPOT_CVD` stepped once at the deploy.
94
+
95
+ ### Re-worded text — the spot flow glosses
96
+
97
+ - `SPOT_CVD`, `SPOT_AVG_TRADE`, `SPOT_DOMINANCE` and the `spotFlow` study name the summed venues ("the listed venues
98
+ that publish their trade history (Binance, Coinbase)"). `PERP_SPOT_FLOW` and `PERP_SPOT_GAP` name the coins the spot
99
+ lane lists, and the Perp/Spot Flow section's provenance names the summed venues.
100
+ - The report catalog and the authoring catalog digest drop the key, and the preview's `vocabularyDigest` moves with
101
+ them.
102
+
41
103
  ## Contract history — v138 (TradingView's defaults, TradingView's CVD, and which values TradingView publishes)
42
104
 
43
105
  **Breaking at v138: one metric retired, one transform pairing refused, one metric added, catalog outputs widened, and
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";
50
+ export declare const PACKAGE_VERSION = "32.0.53";
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.50';
52
+ export const PACKAGE_VERSION = '32.0.53';
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.50",
3
+ "version": "32.0.53",
4
4
  "description": "BattleGrid MCP server — play crypto prediction games from AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",