@battlegrid/mcp-server 32.0.50 → 32.0.51
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 +23 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,6 +38,29 @@ 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)
|
|
42
|
+
|
|
43
|
+
**Breaking at v140: three outputs reshaped, one refusal widened.** v140 is the contract on top of v139. Every
|
|
44
|
+
per-account count limit — active agents, active strategies, radar coins, additional teams — is now the account plan's,
|
|
45
|
+
so the agent slot usage no longer names a rank. Reconnect the proxy, or restart it, so discovery reads the new shapes.
|
|
46
|
+
|
|
47
|
+
### Reshaped output — the reason v140 is MAJOR
|
|
48
|
+
|
|
49
|
+
- **`list_intelligence_agents` and `commit_agent_draft`** (a create's receipt) drop `slotUsage`
|
|
50
|
+
(`{ level, rank, limit, used, remaining }`) and serve `usage` (`{ used, limit, remaining }`) and `planCode`.
|
|
51
|
+
- **`get_account_state`**: `agentSlots` drops `level` and `rank` and keeps `{ used, limit, remaining }`; the state
|
|
52
|
+
serves `planCode` beside it.
|
|
53
|
+
|
|
54
|
+
A client reading `slotUsage`, `agentSlots.rank` or `agentSlots.level` reads nothing.
|
|
55
|
+
|
|
56
|
+
### Widened refusal — a plan limit names itself
|
|
57
|
+
|
|
58
|
+
A create or activation refused at the plan's limit — an agent create or activation, a strategy create or restore, a
|
|
59
|
+
radar coin's first deployment, an additional team — is still `FORBIDDEN`, and now carries `details.reason`
|
|
60
|
+
`PLAN_LIMIT_REACHED`, `details.entitlement` (`agents`, `strategies`, `radarCoinPolicies` or `additionalTeams`),
|
|
61
|
+
`details.planLimit` and `details.planCode`. A radar coin that is already deployed is never counted, so redeploying it
|
|
62
|
+
still answers its revision conflict.
|
|
63
|
+
|
|
41
64
|
## Contract history — v138 (TradingView's defaults, TradingView's CVD, and which values TradingView publishes)
|
|
42
65
|
|
|
43
66
|
**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.51";
|
|
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.51';
|
|
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];
|