@battlegrid/mcp-server 32.0.51 → 32.0.54
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 +44 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/skills/EXPORT.json +2 -2
- package/skills/battlegrid-agent-management/SKILL.md +3 -2
package/README.md
CHANGED
|
@@ -38,13 +38,14 @@ 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)
|
|
41
|
+
## Contract history — v140 (every count limit is the account plan's, and Bybit is no longer a spot venue)
|
|
42
42
|
|
|
43
|
-
**Breaking at v140: three outputs reshaped, one refusal widened.** v140 is the contract on top of
|
|
44
|
-
per-account count limit — active agents, active strategies, radar coins,
|
|
45
|
-
so the agent slot usage no longer names a rank.
|
|
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.
|
|
46
47
|
|
|
47
|
-
### Reshaped output —
|
|
48
|
+
### Reshaped output — one reason v140 is MAJOR
|
|
48
49
|
|
|
49
50
|
- **`list_intelligence_agents` and `commit_agent_draft`** (a create's receipt) drop `slotUsage`
|
|
50
51
|
(`{ level, rank, limit, used, remaining }`) and serve `usage` (`{ used, limit, remaining }`) and `planCode`.
|
|
@@ -61,6 +62,44 @@ radar coin's first deployment, an additional team — is still `FORBIDDEN`, and
|
|
|
61
62
|
`details.planLimit` and `details.planCode`. A radar coin that is already deployed is never counted, so redeploying it
|
|
62
63
|
still answers its revision conflict.
|
|
63
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
|
+
|
|
64
103
|
## Contract history — v138 (TradingView's defaults, TradingView's CVD, and which values TradingView publishes)
|
|
65
104
|
|
|
66
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
|
+
export declare const PACKAGE_VERSION = "32.0.54";
|
|
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.54';
|
|
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,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"generator": "battlegrid-app/server/scripts/export-mcp-skills.mjs",
|
|
3
|
-
"contractVersion": "
|
|
3
|
+
"contractVersion": "141.0.0",
|
|
4
4
|
"files": {
|
|
5
|
-
"battlegrid-agent-management/SKILL.md": "
|
|
5
|
+
"battlegrid-agent-management/SKILL.md": "324ef8181bfcfc99b955d9644ed543c6ab91071153d43f77ccf0a4979b896b09",
|
|
6
6
|
"battlegrid-agent-management/references/agent-stage-examples.md": "dffcc353d61dfc7b5bb6a2b3077fc6bf8c760a34c287cafb3b59b99306f24195",
|
|
7
7
|
"battlegrid-arena-play/SKILL.md": "fdaabcd2e5ce3946ee96e553ce2e1931a822b84f91b0c94ce86a8bde0cc1d50f",
|
|
8
8
|
"battlegrid-arena-play/references/entry-stage-examples.md": "0223f3743171ff213e943789d27590b2f65648398e85e10cd24938d5eb6af665",
|
|
@@ -103,8 +103,9 @@ team is refused. A reading with `feasible: false` is a create the
|
|
|
103
103
|
commit will refuse: say so, and stage a larger ceiling or a looser configuration first. Where the player has the create screen open, their own Create is the
|
|
104
104
|
other way to commit it.
|
|
105
105
|
|
|
106
|
-
A create spends an agent slot against the player's
|
|
107
|
-
full quota is refused there
|
|
106
|
+
A create spends an agent slot against the player's account plan, decided by the commit itself: a
|
|
107
|
+
full quota is refused there as `FORBIDDEN` with `details.reason` `PLAN_LIMIT_REACHED`, naming the
|
|
108
|
+
plan and its limit, with the draft unchanged. A retry of the same draft version after a
|
|
108
109
|
dropped response replays the original receipt, so an ambiguous retry never spends a second slot.
|
|
109
110
|
|
|
110
111
|
**When the mandate names the arena, read `get_account_state` in the same breath.** The arena needs
|